@alpic-ai/sdk 0.0.0-dev.gc321ef0 → 0.0.0-dev.gc41ee91

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.
@@ -45,7 +45,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
45
45
  var require_delayed_stream = __commonJS({
46
46
  "../../node_modules/.pnpm/delayed-stream@1.0.0/node_modules/delayed-stream/lib/delayed_stream.js"(exports, module) {
47
47
  var Stream = __require("stream").Stream;
48
- var util4 = __require("util");
48
+ var util3 = __require("util");
49
49
  module.exports = DelayedStream;
50
50
  function DelayedStream() {
51
51
  this.source = null;
@@ -56,7 +56,7 @@ var require_delayed_stream = __commonJS({
56
56
  this._released = false;
57
57
  this._bufferedEvents = [];
58
58
  }
59
- util4.inherits(DelayedStream, Stream);
59
+ util3.inherits(DelayedStream, Stream);
60
60
  DelayedStream.create = function(source, options) {
61
61
  var delayedStream = new this();
62
62
  options = options || {};
@@ -135,7 +135,7 @@ var require_delayed_stream = __commonJS({
135
135
  // ../../node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.js
136
136
  var require_combined_stream = __commonJS({
137
137
  "../../node_modules/.pnpm/combined-stream@1.0.8/node_modules/combined-stream/lib/combined_stream.js"(exports, module) {
138
- var util4 = __require("util");
138
+ var util3 = __require("util");
139
139
  var Stream = __require("stream").Stream;
140
140
  var DelayedStream = require_delayed_stream();
141
141
  module.exports = CombinedStream;
@@ -151,7 +151,7 @@ var require_combined_stream = __commonJS({
151
151
  this._insideLoop = false;
152
152
  this._pendingNext = false;
153
153
  }
154
- util4.inherits(CombinedStream, Stream);
154
+ util3.inherits(CombinedStream, Stream);
155
155
  CombinedStream.create = function(options) {
156
156
  var combinedStream = new this();
157
157
  options = options || {};
@@ -9996,7 +9996,7 @@ var require_form_data = __commonJS({
9996
9996
  "../../node_modules/.pnpm/form-data@4.0.6/node_modules/form-data/lib/form_data.js"(exports, module) {
9997
9997
  "use strict";
9998
9998
  var CombinedStream = require_combined_stream();
9999
- var util4 = __require("util");
9999
+ var util3 = __require("util");
10000
10000
  var path = __require("path");
10001
10001
  var http3 = __require("http");
10002
10002
  var https2 = __require("https");
@@ -10025,7 +10025,7 @@ var require_form_data = __commonJS({
10025
10025
  this[option] = options[option];
10026
10026
  }
10027
10027
  }
10028
- util4.inherits(FormData3, CombinedStream);
10028
+ util3.inherits(FormData3, CombinedStream);
10029
10029
  FormData3.LINE_BREAK = "\r\n";
10030
10030
  FormData3.DEFAULT_CONTENT_TYPE = "application/octet-stream";
10031
10031
  FormData3.prototype.append = function(field, value, options) {
@@ -10907,14 +10907,14 @@ var require_supports_color = __commonJS({
10907
10907
  var require_node = __commonJS({
10908
10908
  "../../node_modules/.pnpm/debug@4.4.3_supports-color@8.1.1/node_modules/debug/src/node.js"(exports, module) {
10909
10909
  var tty = __require("tty");
10910
- var util4 = __require("util");
10910
+ var util3 = __require("util");
10911
10911
  exports.init = init;
10912
10912
  exports.log = log3;
10913
10913
  exports.formatArgs = formatArgs;
10914
10914
  exports.save = save;
10915
10915
  exports.load = load;
10916
10916
  exports.useColors = useColors;
10917
- exports.destroy = util4.deprecate(
10917
+ exports.destroy = util3.deprecate(
10918
10918
  () => {
10919
10919
  },
10920
10920
  "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."
@@ -11045,7 +11045,7 @@ var require_node = __commonJS({
11045
11045
  return (/* @__PURE__ */ new Date()).toISOString() + " ";
11046
11046
  }
11047
11047
  function log3(...args) {
11048
- return process.stderr.write(util4.formatWithOptions(exports.inspectOpts, ...args) + "\n");
11048
+ return process.stderr.write(util3.formatWithOptions(exports.inspectOpts, ...args) + "\n");
11049
11049
  }
11050
11050
  function save(namespaces) {
11051
11051
  if (namespaces) {
@@ -11068,11 +11068,11 @@ var require_node = __commonJS({
11068
11068
  var { formatters } = module.exports;
11069
11069
  formatters.o = function(v) {
11070
11070
  this.inspectOpts.colors = this.useColors;
11071
- return util4.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
11071
+ return util3.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
11072
11072
  };
11073
11073
  formatters.O = function(v) {
11074
11074
  this.inspectOpts.colors = this.useColors;
11075
- return util4.inspect(v, this.inspectOpts);
11075
+ return util3.inspect(v, this.inspectOpts);
11076
11076
  };
11077
11077
  }
11078
11078
  });
@@ -12069,34 +12069,17 @@ var require_follow_redirects = __commonJS({
12069
12069
  }
12070
12070
  });
12071
12071
 
12072
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js
12072
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/bind.js
12073
12073
  function bind(fn, thisArg) {
12074
12074
  return function wrap() {
12075
12075
  return fn.apply(thisArg, arguments);
12076
12076
  };
12077
12077
  }
12078
12078
 
12079
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js
12079
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/utils.js
12080
12080
  var { toString } = Object.prototype;
12081
12081
  var { getPrototypeOf } = Object;
12082
12082
  var { iterator, toStringTag } = Symbol;
12083
- var hasOwnProperty = (({ hasOwnProperty: hasOwnProperty2 }) => (obj, prop) => hasOwnProperty2.call(obj, prop))(Object.prototype);
12084
- var hasOwnInPrototypeChain = (thing, prop) => {
12085
- let obj = thing;
12086
- const seen = [];
12087
- while (obj != null && obj !== Object.prototype) {
12088
- if (seen.indexOf(obj) !== -1) {
12089
- return false;
12090
- }
12091
- seen.push(obj);
12092
- if (hasOwnProperty(obj, prop)) {
12093
- return true;
12094
- }
12095
- obj = getPrototypeOf(obj);
12096
- }
12097
- return false;
12098
- };
12099
- var getSafeProp = (obj, prop) => obj != null && hasOwnInPrototypeChain(obj, prop) ? obj[prop] : void 0;
12100
12083
  var kindOf = /* @__PURE__ */ ((cache) => (thing) => {
12101
12084
  const str = toString.call(thing);
12102
12085
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -12127,14 +12110,11 @@ var isNumber = typeOfTest("number");
12127
12110
  var isObject = (thing) => thing !== null && typeof thing === "object";
12128
12111
  var isBoolean = (thing) => thing === true || thing === false;
12129
12112
  var isPlainObject = (val) => {
12130
- if (!isObject(val)) {
12113
+ if (kindOf(val) !== "object") {
12131
12114
  return false;
12132
12115
  }
12133
12116
  const prototype2 = getPrototypeOf(val);
12134
- return (prototype2 === null || prototype2 === Object.prototype || getPrototypeOf(prototype2) === null) && // Treat any genuine (non-Object.prototype-polluted) Symbol.toStringTag or
12135
- // Symbol.iterator as evidence the value is a tagged/iterable type rather
12136
- // than a plain object, while ignoring keys injected onto Object.prototype.
12137
- !hasOwnInPrototypeChain(val, toStringTag) && !hasOwnInPrototypeChain(val, iterator);
12117
+ return (prototype2 === null || prototype2 === Object.prototype || Object.getPrototypeOf(prototype2) === null) && !(toStringTag in val) && !(iterator in val);
12138
12118
  };
12139
12119
  var isEmptyObject = (val) => {
12140
12120
  if (!isObject(val) || isBuffer(val)) {
@@ -12154,7 +12134,6 @@ var isReactNativeBlob = (value) => {
12154
12134
  var isReactNative = (formData) => formData && typeof formData.getParts !== "undefined";
12155
12135
  var isBlob = kindOfTest("Blob");
12156
12136
  var isFileList = kindOfTest("FileList");
12157
- var isSet = kindOfTest("Set");
12158
12137
  var isStream = (val) => isObject(val) && isFunction(val.pipe);
12159
12138
  function getGlobal() {
12160
12139
  if (typeof globalThis !== "undefined") return globalThis;
@@ -12239,7 +12218,7 @@ function merge(...objs) {
12239
12218
  if (key === "__proto__" || key === "constructor" || key === "prototype") {
12240
12219
  return;
12241
12220
  }
12242
- const targetKey = caseless && typeof key === "string" && findKey(result, key) || key;
12221
+ const targetKey = caseless && findKey(result, key) || key;
12243
12222
  const existing = hasOwnProperty(result, targetKey) ? result[targetKey] : void 0;
12244
12223
  if (isPlainObject(existing) && isPlainObject(val)) {
12245
12224
  result[targetKey] = merge(existing, val);
@@ -12252,21 +12231,7 @@ function merge(...objs) {
12252
12231
  }
12253
12232
  };
12254
12233
  for (let i = 0, l = objs.length; i < l; i++) {
12255
- const source = objs[i];
12256
- if (!source || isBuffer(source)) {
12257
- continue;
12258
- }
12259
- forEach(source, assignValue);
12260
- if (typeof source !== "object" || isArray(source)) {
12261
- continue;
12262
- }
12263
- const symbols = Object.getOwnPropertySymbols(source);
12264
- for (let j = 0; j < symbols.length; j++) {
12265
- const symbol = symbols[j];
12266
- if (propertyIsEnumerable.call(source, symbol)) {
12267
- assignValue(source[symbol], symbol);
12268
- }
12269
- }
12234
+ objs[i] && forEach(objs[i], assignValue);
12270
12235
  }
12271
12236
  return result;
12272
12237
  }
@@ -12388,7 +12353,7 @@ var toCamelCase = (str) => {
12388
12353
  return p1.toUpperCase() + p2;
12389
12354
  });
12390
12355
  };
12391
- var { propertyIsEnumerable } = Object.prototype;
12356
+ var hasOwnProperty = (({ hasOwnProperty: hasOwnProperty2 }) => (obj, prop) => hasOwnProperty2.call(obj, prop))(Object.prototype);
12392
12357
  var isRegExp = kindOfTest("RegExp");
12393
12358
  var reduceDescriptors = (obj, reducer) => {
12394
12359
  const descriptors = Object.getOwnPropertyDescriptors(obj);
@@ -12450,20 +12415,11 @@ var toJSONObject = (obj) => {
12450
12415
  }
12451
12416
  if (!("toJSON" in source)) {
12452
12417
  visited.add(source);
12453
- let target;
12454
- if (isSet(source)) {
12455
- target = [];
12456
- for (const value of source) {
12457
- const reducedValue = visit(value);
12458
- !isUndefined(reducedValue) && target.push(reducedValue);
12459
- }
12460
- } else {
12461
- target = isArray(source) ? [] : {};
12462
- forEach(source, (value, key) => {
12463
- const reducedValue = visit(value);
12464
- !isUndefined(reducedValue) && (target[key] = reducedValue);
12465
- });
12466
- }
12418
+ const target = isArray(source) ? [] : {};
12419
+ forEach(source, (value, key) => {
12420
+ const reducedValue = visit(value);
12421
+ !isUndefined(reducedValue) && (target[key] = reducedValue);
12422
+ });
12467
12423
  visited.delete(source);
12468
12424
  return target;
12469
12425
  }
@@ -12496,7 +12452,6 @@ var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
12496
12452
  })(typeof setImmediate === "function", isFunction(_global.postMessage));
12497
12453
  var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
12498
12454
  var isIterable = (thing) => thing != null && isFunction(thing[iterator]);
12499
- var isSafeIterable = (thing) => thing != null && hasOwnInPrototypeChain(thing, iterator) && isIterable(thing);
12500
12455
  var utils_default = {
12501
12456
  isArray,
12502
12457
  isArrayBuffer,
@@ -12542,8 +12497,6 @@ var utils_default = {
12542
12497
  hasOwnProperty,
12543
12498
  hasOwnProp: hasOwnProperty,
12544
12499
  // an alias to avoid ESLint no-prototype-builtins detection
12545
- hasOwnInPrototypeChain,
12546
- getSafeProp,
12547
12500
  reduceDescriptors,
12548
12501
  freezeMethods,
12549
12502
  toObjectSet,
@@ -12559,11 +12512,10 @@ var utils_default = {
12559
12512
  isThenable,
12560
12513
  setImmediate: _setImmediate,
12561
12514
  asap,
12562
- isIterable,
12563
- isSafeIterable
12515
+ isIterable
12564
12516
  };
12565
12517
 
12566
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js
12518
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseHeaders.js
12567
12519
  var ignoreDuplicateOf = utils_default.toObjectSet([
12568
12520
  "age",
12569
12521
  "authorization",
@@ -12592,24 +12544,23 @@ var parseHeaders_default = (rawHeaders) => {
12592
12544
  i = line.indexOf(":");
12593
12545
  key = line.substring(0, i).trim().toLowerCase();
12594
12546
  val = line.substring(i + 1).trim();
12595
- const hasKey = utils_default.hasOwnProp(parsed, key);
12596
- if (!key || hasKey && utils_default.hasOwnProp(ignoreDuplicateOf, key)) {
12547
+ if (!key || parsed[key] && ignoreDuplicateOf[key]) {
12597
12548
  return;
12598
12549
  }
12599
12550
  if (key === "set-cookie") {
12600
- if (hasKey) {
12551
+ if (parsed[key]) {
12601
12552
  parsed[key].push(val);
12602
12553
  } else {
12603
12554
  parsed[key] = [val];
12604
12555
  }
12605
12556
  } else {
12606
- parsed[key] = hasKey ? parsed[key] + ", " + val : val;
12557
+ parsed[key] = parsed[key] ? parsed[key] + ", " + val : val;
12607
12558
  }
12608
12559
  });
12609
12560
  return parsed;
12610
12561
  };
12611
12562
 
12612
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
12563
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/sanitizeHeaderValue.js
12613
12564
  function trimSPorHTAB(str) {
12614
12565
  let start = 0;
12615
12566
  let end = str.length;
@@ -12647,7 +12598,7 @@ function toByteStringHeaderObject(headers) {
12647
12598
  return byteStringHeaders;
12648
12599
  }
12649
12600
 
12650
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js
12601
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosHeaders.js
12651
12602
  var $internals = /* @__PURE__ */ Symbol("internals");
12652
12603
  function normalizeHeader(header) {
12653
12604
  return header && String(header).trim().toLowerCase();
@@ -12667,90 +12618,6 @@ function parseTokens(str) {
12667
12618
  }
12668
12619
  return tokens;
12669
12620
  }
12670
- var parameterNameRE = /^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;
12671
- function trimOWS(value) {
12672
- let start = 0;
12673
- let end = value.length;
12674
- while (start < end) {
12675
- const code = value.charCodeAt(start);
12676
- if (code !== 9 && code !== 32) {
12677
- break;
12678
- }
12679
- start += 1;
12680
- }
12681
- while (end > start) {
12682
- const code = value.charCodeAt(end - 1);
12683
- if (code !== 9 && code !== 32) {
12684
- break;
12685
- }
12686
- end -= 1;
12687
- }
12688
- return start === 0 && end === value.length ? value : value.slice(start, end);
12689
- }
12690
- function decodeQuotedString(value) {
12691
- const last = value.length - 1;
12692
- if (last < 1 || value.charCodeAt(0) !== 34 || value.charCodeAt(last) !== 34) {
12693
- return value;
12694
- }
12695
- let decoded = "";
12696
- for (let i = 1; i < last; i++) {
12697
- const code = value.charCodeAt(i);
12698
- if (code === 34) {
12699
- return value;
12700
- }
12701
- if (code === 92) {
12702
- i += 1;
12703
- if (i >= last) {
12704
- return value;
12705
- }
12706
- }
12707
- decoded += value[i];
12708
- }
12709
- return decoded;
12710
- }
12711
- function parseParameters(value) {
12712
- const parameters = /* @__PURE__ */ Object.create(null);
12713
- const str = String(value);
12714
- let start = 0;
12715
- let quoted = false;
12716
- let escaped = false;
12717
- function parseParameter(end) {
12718
- const part = trimOWS(str.slice(start, end));
12719
- const equals = part.indexOf("=");
12720
- if (equals < 1) {
12721
- return;
12722
- }
12723
- const name = trimOWS(part.slice(0, equals));
12724
- if (!parameterNameRE.test(name)) {
12725
- return;
12726
- }
12727
- const normalizedName = name.toLowerCase();
12728
- if (normalizedName === "__proto__" || normalizedName === "constructor" || normalizedName === "prototype") {
12729
- return;
12730
- }
12731
- const parameterValue = trimOWS(part.slice(equals + 1));
12732
- parameters[normalizedName] = decodeQuotedString(parameterValue);
12733
- }
12734
- for (let i = 0; i < str.length; i++) {
12735
- const code = str.charCodeAt(i);
12736
- if (quoted) {
12737
- if (escaped) {
12738
- escaped = false;
12739
- } else if (code === 92) {
12740
- escaped = true;
12741
- } else if (code === 34) {
12742
- quoted = false;
12743
- }
12744
- } else if (code === 34) {
12745
- quoted = true;
12746
- } else if (code === 44 || code === 59) {
12747
- parseParameter(i);
12748
- start = i + 1;
12749
- }
12750
- }
12751
- parseParameter(str.length);
12752
- return parameters;
12753
- }
12754
12621
  var isValidHeaderName = (str) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(str.trim());
12755
12622
  function matchHeaderValue(context, value, header, filter2, isHeaderNameFilter) {
12756
12623
  if (utils_default.isFunction(filter2)) {
@@ -12795,7 +12662,7 @@ var AxiosHeaders = class {
12795
12662
  function setHeader(_value, _header, _rewrite) {
12796
12663
  const lHeader = normalizeHeader(_header);
12797
12664
  if (!lHeader) {
12798
- return;
12665
+ throw new Error("header name must be a non-empty string");
12799
12666
  }
12800
12667
  const key = utils_default.findKey(self2, lHeader);
12801
12668
  if (!key || self2[key] === void 0 || _rewrite === true || _rewrite === void 0 && self2[key] !== false) {
@@ -12807,19 +12674,13 @@ var AxiosHeaders = class {
12807
12674
  setHeaders(header, valueOrRewrite);
12808
12675
  } else if (utils_default.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
12809
12676
  setHeaders(parseHeaders_default(header), valueOrRewrite);
12810
- } else if (utils_default.isObject(header) && utils_default.isSafeIterable(header)) {
12811
- let obj = /* @__PURE__ */ Object.create(null), dest, key;
12677
+ } else if (utils_default.isObject(header) && utils_default.isIterable(header)) {
12678
+ let obj = {}, dest, key;
12812
12679
  for (const entry of header) {
12813
12680
  if (!utils_default.isArray(entry)) {
12814
- throw new TypeError("Object iterator must return a key-value pair");
12815
- }
12816
- key = entry[0];
12817
- if (utils_default.hasOwnProp(obj, key)) {
12818
- dest = obj[key];
12819
- obj[key] = utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]];
12820
- } else {
12821
- obj[key] = entry[1];
12681
+ throw TypeError("Object iterator must return a key-value pair");
12822
12682
  }
12683
+ obj[key = entry[0]] = (dest = obj[key]) ? utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
12823
12684
  }
12824
12685
  setHeaders(obj, valueOrRewrite);
12825
12686
  } else {
@@ -12926,8 +12787,7 @@ var AxiosHeaders = class {
12926
12787
  return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
12927
12788
  }
12928
12789
  getSetCookie() {
12929
- const value = this.get("set-cookie");
12930
- return utils_default.isArray(value) ? value : value == null || value === false ? [] : [value];
12790
+ return this.get("set-cookie") || [];
12931
12791
  }
12932
12792
  get [Symbol.toStringTag]() {
12933
12793
  return "AxiosHeaders";
@@ -12935,9 +12795,6 @@ var AxiosHeaders = class {
12935
12795
  static from(thing) {
12936
12796
  return thing instanceof this ? thing : new this(thing);
12937
12797
  }
12938
- static parseParameters(value) {
12939
- return parseParameters(value);
12940
- }
12941
12798
  static concat(first, ...targets) {
12942
12799
  const computed = new this(first);
12943
12800
  targets.forEach((target) => computed.set(target));
@@ -12980,7 +12837,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key) => {
12980
12837
  utils_default.freezeMethods(AxiosHeaders);
12981
12838
  var AxiosHeaders_default = AxiosHeaders;
12982
12839
 
12983
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js
12840
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/AxiosError.js
12984
12841
  var REDACTED = "[REDACTED ****]";
12985
12842
  function hasOwnOrPrototypeToJSON(source) {
12986
12843
  if (utils_default.hasOwnProp(source, "toJSON")) {
@@ -13033,37 +12890,10 @@ function redactConfig(config, redactKeys) {
13033
12890
  };
13034
12891
  return visit(config);
13035
12892
  }
13036
- function stringifySafely(value) {
13037
- try {
13038
- return String(value);
13039
- } catch (err) {
13040
- return "";
13041
- }
13042
- }
13043
- function aggregateErrorMessage(error) {
13044
- const message = error.errors.map((entry) => {
13045
- try {
13046
- return entry && entry.message ? stringifySafely(entry.message) : stringifySafely(entry);
13047
- } catch (err) {
13048
- return "";
13049
- }
13050
- }).filter(Boolean).join("; ");
13051
- return message || error.name || "AggregateError";
13052
- }
13053
12893
  var AxiosError = class _AxiosError extends Error {
13054
12894
  static from(error, code, config, request, response, customProps) {
13055
- let message = error.message;
13056
- if (!message && utils_default.isArray(error.errors) && error.errors.length) {
13057
- message = aggregateErrorMessage(error);
13058
- }
13059
- const axiosError = new _AxiosError(message, code || error.code, config, request, response);
13060
- Object.defineProperty(axiosError, "cause", {
13061
- __proto__: null,
13062
- value: error,
13063
- writable: true,
13064
- enumerable: false,
13065
- configurable: true
13066
- });
12895
+ const axiosError = new _AxiosError(error.message, code || error.code, config, request, response);
12896
+ axiosError.cause = error;
13067
12897
  axiosError.name = error.name;
13068
12898
  if (error.status != null && axiosError.status == null) {
13069
12899
  axiosError.status = error.status;
@@ -13142,22 +12972,11 @@ AxiosError.ERR_INVALID_URL = "ERR_INVALID_URL";
13142
12972
  AxiosError.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
13143
12973
  var AxiosError_default = AxiosError;
13144
12974
 
13145
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/classes/FormData.js
12975
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/classes/FormData.js
13146
12976
  var import_form_data = __toESM(require_form_data(), 1);
13147
12977
  var FormData_default = import_form_data.default;
13148
12978
 
13149
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/classes/Buffer.js
13150
- var Buffer_default = {
13151
- isBufferAvailable() {
13152
- return typeof Buffer !== "undefined";
13153
- },
13154
- from(value) {
13155
- return Buffer.from(value);
13156
- }
13157
- };
13158
-
13159
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js
13160
- var DEFAULT_FORM_DATA_MAX_DEPTH = 100;
12979
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toFormData.js
13161
12980
  function isVisitable(thing) {
13162
12981
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
13163
12982
  }
@@ -13199,9 +13018,8 @@ function toFormData(obj, formData, options) {
13199
13018
  const dots = options.dots;
13200
13019
  const indexes = options.indexes;
13201
13020
  const _Blob = options.Blob || typeof Blob !== "undefined" && Blob;
13202
- const maxDepth = options.maxDepth === void 0 ? DEFAULT_FORM_DATA_MAX_DEPTH : options.maxDepth;
13021
+ const maxDepth = options.maxDepth === void 0 ? 100 : options.maxDepth;
13203
13022
  const useBlob = _Blob && utils_default.isSpecCompliantForm(formData);
13204
- const stack = [];
13205
13023
  if (!utils_default.isFunction(visitor)) {
13206
13024
  throw new TypeError("visitor must be a function");
13207
13025
  }
@@ -13217,41 +13035,10 @@ function toFormData(obj, formData, options) {
13217
13035
  throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
13218
13036
  }
13219
13037
  if (utils_default.isArrayBuffer(value) || utils_default.isTypedArray(value)) {
13220
- if (useBlob && typeof _Blob === "function") {
13221
- return new _Blob([value]);
13222
- }
13223
- if (Buffer_default && Buffer_default.isBufferAvailable()) {
13224
- return Buffer_default.from(value);
13225
- }
13226
- throw new AxiosError_default("Blob is not supported. Use a Buffer instead.", AxiosError_default.ERR_NOT_SUPPORT);
13038
+ return useBlob && typeof Blob === "function" ? new Blob([value]) : Buffer.from(value);
13227
13039
  }
13228
13040
  return value;
13229
13041
  }
13230
- function throwIfMaxDepthExceeded(depth) {
13231
- if (depth > maxDepth) {
13232
- throw new AxiosError_default(
13233
- "Object is too deeply nested (" + depth + " levels). Max depth: " + maxDepth,
13234
- AxiosError_default.ERR_FORM_DATA_DEPTH_EXCEEDED
13235
- );
13236
- }
13237
- }
13238
- function stringifyWithDepthLimit(value, depth) {
13239
- if (maxDepth === Infinity) {
13240
- return JSON.stringify(value);
13241
- }
13242
- const ancestors = [];
13243
- return JSON.stringify(value, function limitDepth(_key, currentValue) {
13244
- if (!utils_default.isObject(currentValue)) {
13245
- return currentValue;
13246
- }
13247
- while (ancestors.length && ancestors[ancestors.length - 1] !== this) {
13248
- ancestors.pop();
13249
- }
13250
- ancestors.push(currentValue);
13251
- throwIfMaxDepthExceeded(depth + ancestors.length - 1);
13252
- return currentValue;
13253
- });
13254
- }
13255
13042
  function defaultVisitor(value, key, path) {
13256
13043
  let arr = value;
13257
13044
  if (utils_default.isReactNative(formData) && utils_default.isReactNativeBlob(value)) {
@@ -13261,7 +13048,7 @@ function toFormData(obj, formData, options) {
13261
13048
  if (value && !path && typeof value === "object") {
13262
13049
  if (utils_default.endsWith(key, "{}")) {
13263
13050
  key = metaTokens ? key : key.slice(0, -2);
13264
- value = stringifyWithDepthLimit(value, 1);
13051
+ value = JSON.stringify(value);
13265
13052
  } else if (utils_default.isArray(value) && isFlatArray(value) || (utils_default.isFileList(value) || utils_default.endsWith(key, "[]")) && (arr = utils_default.toArray(value))) {
13266
13053
  key = removeBrackets(key);
13267
13054
  arr.forEach(function each(el, index) {
@@ -13280,6 +13067,7 @@ function toFormData(obj, formData, options) {
13280
13067
  formData.append(renderKey(path, key, dots), convertValue(value));
13281
13068
  return false;
13282
13069
  }
13070
+ const stack = [];
13283
13071
  const exposedHelpers = Object.assign(predicates, {
13284
13072
  defaultVisitor,
13285
13073
  convertValue,
@@ -13287,9 +13075,14 @@ function toFormData(obj, formData, options) {
13287
13075
  });
13288
13076
  function build(value, path, depth = 0) {
13289
13077
  if (utils_default.isUndefined(value)) return;
13290
- throwIfMaxDepthExceeded(depth);
13078
+ if (depth > maxDepth) {
13079
+ throw new AxiosError_default(
13080
+ "Object is too deeply nested (" + depth + " levels). Max depth: " + maxDepth,
13081
+ AxiosError_default.ERR_FORM_DATA_DEPTH_EXCEEDED
13082
+ );
13083
+ }
13291
13084
  if (stack.indexOf(value) !== -1) {
13292
- throw new Error("Circular reference detected in " + path.join("."));
13085
+ throw Error("Circular reference detected in " + path.join("."));
13293
13086
  }
13294
13087
  stack.push(value);
13295
13088
  utils_default.forEach(value, function each(el, key) {
@@ -13308,7 +13101,7 @@ function toFormData(obj, formData, options) {
13308
13101
  }
13309
13102
  var toFormData_default = toFormData;
13310
13103
 
13311
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
13104
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
13312
13105
  function encode(str) {
13313
13106
  const charMap = {
13314
13107
  "!": "%21",
@@ -13331,14 +13124,16 @@ prototype.append = function append(name, value) {
13331
13124
  this._pairs.push([name, value]);
13332
13125
  };
13333
13126
  prototype.toString = function toString2(encoder) {
13334
- const _encode = encoder ? (value) => encoder.call(this, value, encode) : encode;
13127
+ const _encode = encoder ? function(value) {
13128
+ return encoder.call(this, value, encode);
13129
+ } : encode;
13335
13130
  return this._pairs.map(function each(pair) {
13336
13131
  return _encode(pair[0]) + "=" + _encode(pair[1]);
13337
13132
  }, "").join("&");
13338
13133
  };
13339
13134
  var AxiosURLSearchParams_default = AxiosURLSearchParams;
13340
13135
 
13341
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js
13136
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/buildURL.js
13342
13137
  function encode2(val) {
13343
13138
  return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
13344
13139
  }
@@ -13346,12 +13141,11 @@ function buildURL(url2, params, options) {
13346
13141
  if (!params) {
13347
13142
  return url2;
13348
13143
  }
13349
- url2 = url2 || "";
13144
+ const _encode = options && options.encode || encode2;
13350
13145
  const _options = utils_default.isFunction(options) ? {
13351
13146
  serialize: options
13352
13147
  } : options;
13353
- const _encode = utils_default.getSafeProp(_options, "encode") || encode2;
13354
- const serializeFn = utils_default.getSafeProp(_options, "serialize");
13148
+ const serializeFn = _options && _options.serialize;
13355
13149
  let serializedParams;
13356
13150
  if (serializeFn) {
13357
13151
  serializedParams = serializeFn(params, _options);
@@ -13368,7 +13162,7 @@ function buildURL(url2, params, options) {
13368
13162
  return url2;
13369
13163
  }
13370
13164
 
13371
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js
13165
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/InterceptorManager.js
13372
13166
  var InterceptorManager = class {
13373
13167
  constructor() {
13374
13168
  this.handlers = [];
@@ -13433,24 +13227,22 @@ var InterceptorManager = class {
13433
13227
  };
13434
13228
  var InterceptorManager_default = InterceptorManager;
13435
13229
 
13436
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js
13230
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/transitional.js
13437
13231
  var transitional_default = {
13438
13232
  silentJSONParsing: true,
13439
13233
  forcedJSONParsing: true,
13440
13234
  clarifyTimeoutError: false,
13441
- legacyInterceptorReqResOrdering: true,
13442
- advertiseZstdAcceptEncoding: false,
13443
- validateStatusUndefinedResolves: true
13235
+ legacyInterceptorReqResOrdering: true
13444
13236
  };
13445
13237
 
13446
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/index.js
13238
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/index.js
13447
13239
  import crypto from "crypto";
13448
13240
 
13449
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
13241
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
13450
13242
  import url from "url";
13451
13243
  var URLSearchParams_default = url.URLSearchParams;
13452
13244
 
13453
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/index.js
13245
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/node/index.js
13454
13246
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
13455
13247
  var DIGIT = "0123456789";
13456
13248
  var ALPHABET = {
@@ -13480,7 +13272,7 @@ var node_default = {
13480
13272
  protocols: ["http", "https", "file", "data"]
13481
13273
  };
13482
13274
 
13483
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js
13275
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/common/utils.js
13484
13276
  var utils_exports = {};
13485
13277
  __export(utils_exports, {
13486
13278
  hasBrowserEnv: () => hasBrowserEnv,
@@ -13498,13 +13290,13 @@ var hasStandardBrowserWebWorkerEnv = (() => {
13498
13290
  })();
13499
13291
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
13500
13292
 
13501
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js
13293
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/platform/index.js
13502
13294
  var platform_default = {
13503
13295
  ...utils_exports,
13504
13296
  ...node_default
13505
13297
  };
13506
13298
 
13507
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js
13299
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/toURLEncodedForm.js
13508
13300
  function toURLEncodedForm(data, options) {
13509
13301
  return toFormData_default(data, new platform_default.classes.URLSearchParams(), {
13510
13302
  visitor: function(value, key, path, helpers) {
@@ -13518,25 +13310,11 @@ function toURLEncodedForm(data, options) {
13518
13310
  });
13519
13311
  }
13520
13312
 
13521
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js
13522
- var MAX_DEPTH = DEFAULT_FORM_DATA_MAX_DEPTH;
13523
- function throwIfDepthExceeded(index) {
13524
- if (index > MAX_DEPTH) {
13525
- throw new AxiosError_default(
13526
- "FormData field is too deeply nested (" + index + " levels). Max depth: " + MAX_DEPTH,
13527
- AxiosError_default.ERR_FORM_DATA_DEPTH_EXCEEDED
13528
- );
13529
- }
13530
- }
13313
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToJSON.js
13531
13314
  function parsePropPath(name) {
13532
- const path = [];
13533
- const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
13534
- let match;
13535
- while ((match = pattern.exec(name)) !== null) {
13536
- throwIfDepthExceeded(path.length);
13537
- path.push(match[0] === "[]" ? "" : match[1] || match[0]);
13538
- }
13539
- return path;
13315
+ return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
13316
+ return match[0] === "[]" ? "" : match[1] || match[0];
13317
+ });
13540
13318
  }
13541
13319
  function arrayToObject(arr) {
13542
13320
  const obj = {};
@@ -13552,7 +13330,6 @@ function arrayToObject(arr) {
13552
13330
  }
13553
13331
  function formDataToJSON(formData) {
13554
13332
  function buildPath(path, value, target, index) {
13555
- throwIfDepthExceeded(index);
13556
13333
  let name = path[index++];
13557
13334
  if (name === "__proto__") return true;
13558
13335
  const isNumericKey = Number.isFinite(+name);
@@ -13586,9 +13363,9 @@ function formDataToJSON(formData) {
13586
13363
  }
13587
13364
  var formDataToJSON_default = formDataToJSON;
13588
13365
 
13589
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js
13366
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/defaults/index.js
13590
13367
  var own = (obj, key) => obj != null && utils_default.hasOwnProp(obj, key) ? obj[key] : void 0;
13591
- function stringifySafely2(rawValue, parser, encoder) {
13368
+ function stringifySafely(rawValue, parser, encoder) {
13592
13369
  if (utils_default.isString(rawValue)) {
13593
13370
  try {
13594
13371
  (parser || JSON.parse)(rawValue);
@@ -13644,7 +13421,7 @@ var defaults = {
13644
13421
  }
13645
13422
  if (isObjectPayload || hasJSONContentType) {
13646
13423
  headers.setContentType("application/json", false);
13647
- return stringifySafely2(data);
13424
+ return stringifySafely(data);
13648
13425
  }
13649
13426
  return data;
13650
13427
  }
@@ -13703,7 +13480,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch", "query"]
13703
13480
  });
13704
13481
  var defaults_default = defaults;
13705
13482
 
13706
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/transformData.js
13483
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/transformData.js
13707
13484
  function transformData(fns, response) {
13708
13485
  const config = this || defaults_default;
13709
13486
  const context = response || config;
@@ -13716,12 +13493,12 @@ function transformData(fns, response) {
13716
13493
  return data;
13717
13494
  }
13718
13495
 
13719
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js
13496
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/isCancel.js
13720
13497
  function isCancel(value) {
13721
13498
  return !!(value && value.__CANCEL__);
13722
13499
  }
13723
13500
 
13724
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js
13501
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CanceledError.js
13725
13502
  var CanceledError = class extends AxiosError_default {
13726
13503
  /**
13727
13504
  * A `CanceledError` is an object that is thrown when an operation is canceled.
@@ -13740,7 +13517,7 @@ var CanceledError = class extends AxiosError_default {
13740
13517
  };
13741
13518
  var CanceledError_default = CanceledError;
13742
13519
 
13743
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js
13520
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/settle.js
13744
13521
  function settle(resolve, reject, response) {
13745
13522
  const validateStatus2 = response.config.validateStatus;
13746
13523
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -13756,7 +13533,7 @@ function settle(resolve, reject, response) {
13756
13533
  }
13757
13534
  }
13758
13535
 
13759
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js
13536
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAbsoluteURL.js
13760
13537
  function isAbsoluteURL(url2) {
13761
13538
  if (typeof url2 !== "string") {
13762
13539
  return false;
@@ -13764,69 +13541,15 @@ function isAbsoluteURL(url2) {
13764
13541
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
13765
13542
  }
13766
13543
 
13767
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js
13544
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/combineURLs.js
13768
13545
  function combineURLs(baseURL, relativeURL) {
13769
- if (!relativeURL) {
13770
- return baseURL;
13771
- }
13772
- let end = baseURL.length;
13773
- while (end > 0 && baseURL.charCodeAt(end - 1) === 47) {
13774
- end--;
13775
- }
13776
- return baseURL.slice(0, end) + "/" + relativeURL.replace(/^\/+/, "");
13546
+ return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
13777
13547
  }
13778
13548
 
13779
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js
13780
- var malformedHttpProtocol = /^https?:(?!\/\/)/i;
13781
- var httpProtocolControlCharacters = /[\t\n\r]/g;
13782
- function stripLeadingC0ControlOrSpace(url2) {
13783
- let i = 0;
13784
- while (i < url2.length && url2.charCodeAt(i) <= 32) {
13785
- i++;
13786
- }
13787
- return url2.slice(i);
13788
- }
13789
- function normalizeURLForProtocolCheck(url2) {
13790
- return stripLeadingC0ControlOrSpace(url2).replace(httpProtocolControlCharacters, "");
13791
- }
13792
- function redactFragment(fragment) {
13793
- if (!fragment) {
13794
- return fragment;
13795
- }
13796
- return fragment.replace(/(^|&)([^=&]*=)?[^&]+/g, (match, separator, parameterName = "") => {
13797
- return `${separator}${parameterName}${REDACTED}`;
13798
- });
13799
- }
13800
- function redactSensitiveURLParts(url2) {
13801
- const redactedURL = url2.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${REDACTED}@`);
13802
- const fragmentIndex = redactedURL.indexOf("#");
13803
- const urlWithoutFragment = fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex);
13804
- const redactedURLWithoutFragment = urlWithoutFragment.replace(
13805
- /([?&][^=&#]*=)[^&#]*/g,
13806
- `$1${REDACTED}`
13807
- );
13808
- if (fragmentIndex === -1) {
13809
- return redactedURLWithoutFragment;
13810
- }
13811
- return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;
13812
- }
13813
- function assertValidHttpProtocolURL(url2, config) {
13814
- if (typeof url2 === "string") {
13815
- const normalizedURL = normalizeURLForProtocolCheck(url2);
13816
- if (malformedHttpProtocol.test(normalizedURL)) {
13817
- throw new AxiosError_default(
13818
- `Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing "//" after protocol`,
13819
- AxiosError_default.ERR_INVALID_URL,
13820
- config
13821
- );
13822
- }
13823
- }
13824
- }
13825
- function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls, config) {
13826
- assertValidHttpProtocolURL(requestedURL, config);
13549
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/buildFullPath.js
13550
+ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
13827
13551
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
13828
13552
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls === false)) {
13829
- assertValidHttpProtocolURL(baseURL, config);
13830
13553
  return combineURLs(baseURL, requestedURL);
13831
13554
  }
13832
13555
  return requestedURL;
@@ -13899,26 +13622,26 @@ function getEnv(key) {
13899
13622
  return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
13900
13623
  }
13901
13624
 
13902
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
13625
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
13903
13626
  var import_https_proxy_agent = __toESM(require_dist(), 1);
13904
13627
  var import_follow_redirects = __toESM(require_follow_redirects(), 1);
13905
13628
  import http from "http";
13906
13629
  import https from "https";
13907
- import http22 from "http2";
13908
- import util3 from "util";
13630
+ import http2 from "http2";
13631
+ import util2 from "util";
13909
13632
  import { resolve as resolvePath } from "path";
13910
13633
  import zlib from "zlib";
13911
13634
 
13912
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js
13913
- var VERSION = "1.19.0";
13635
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/env/data.js
13636
+ var VERSION = "1.16.1";
13914
13637
 
13915
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js
13638
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/parseProtocol.js
13916
13639
  function parseProtocol(url2) {
13917
13640
  const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url2);
13918
13641
  return match && match[1] || "";
13919
13642
  }
13920
13643
 
13921
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/fromDataURI.js
13644
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/fromDataURI.js
13922
13645
  var DATA_URL_PATTERN = /^([^,;]+\/[^,;]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
13923
13646
  function fromDataURI(uri, asBlob, options) {
13924
13647
  const _Blob = options && options.Blob || platform_default.classes.Blob;
@@ -13936,13 +13659,13 @@ function fromDataURI(uri, asBlob, options) {
13936
13659
  const params = match[2];
13937
13660
  const encoding = match[3] ? "base64" : "utf8";
13938
13661
  const body = match[4];
13939
- let mime = "";
13662
+ let mime;
13940
13663
  if (type) {
13941
13664
  mime = params ? type + params : type;
13942
13665
  } else if (params) {
13943
13666
  mime = "text/plain" + params;
13944
13667
  }
13945
- const buffer = encoding === "base64" ? Buffer.from(body, "base64") : Buffer.from(decodeURIComponent(body), encoding);
13668
+ const buffer = Buffer.from(decodeURIComponent(body), encoding);
13946
13669
  if (asBlob) {
13947
13670
  if (!_Blob) {
13948
13671
  throw new AxiosError_default("Blob is not supported", AxiosError_default.ERR_NOT_SUPPORT);
@@ -13954,24 +13677,10 @@ function fromDataURI(uri, asBlob, options) {
13954
13677
  throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
13955
13678
  }
13956
13679
 
13957
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
13680
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
13958
13681
  import stream3 from "stream";
13959
13682
 
13960
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/setFormDataHeaders.js
13961
- var FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
13962
- function setFormDataHeaders(headers, formHeaders, policy) {
13963
- if (policy !== "content-only") {
13964
- headers.set(formHeaders);
13965
- return;
13966
- }
13967
- Object.entries(formHeaders || {}).forEach(([key, val]) => {
13968
- if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
13969
- headers.set(key, val);
13970
- }
13971
- });
13972
- }
13973
-
13974
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosTransformStream.js
13683
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/AxiosTransformStream.js
13975
13684
  import stream from "stream";
13976
13685
  var kInternals = /* @__PURE__ */ Symbol("internals");
13977
13686
  var AxiosTransformStream = class extends stream.Transform {
@@ -14094,14 +13803,14 @@ var AxiosTransformStream = class extends stream.Transform {
14094
13803
  };
14095
13804
  var AxiosTransformStream_default = AxiosTransformStream;
14096
13805
 
14097
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
13806
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
14098
13807
  import { EventEmitter } from "events";
14099
13808
 
14100
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToStream.js
13809
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToStream.js
14101
13810
  import util from "util";
14102
13811
  import { Readable } from "stream";
14103
13812
 
14104
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/readBlob.js
13813
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/readBlob.js
14105
13814
  var { asyncIterator } = Symbol;
14106
13815
  var readBlob = async function* (blob) {
14107
13816
  if (blob.stream) {
@@ -14116,7 +13825,7 @@ var readBlob = async function* (blob) {
14116
13825
  };
14117
13826
  var readBlob_default = readBlob;
14118
13827
 
14119
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToStream.js
13828
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/formDataToStream.js
14120
13829
  var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
14121
13830
  var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new util.TextEncoder();
14122
13831
  var CRLF = "\r\n";
@@ -14167,10 +13876,10 @@ var formDataToStream = (form, headersHandler, options) => {
14167
13876
  boundary = tag + "-" + platform_default.generateString(size, BOUNDARY_ALPHABET)
14168
13877
  } = options || {};
14169
13878
  if (!utils_default.isFormData(form)) {
14170
- throw new TypeError("FormData instance required");
13879
+ throw TypeError("FormData instance required");
14171
13880
  }
14172
13881
  if (boundary.length < 1 || boundary.length > 70) {
14173
- throw new Error("boundary must be 1-70 characters long");
13882
+ throw Error("boundary must be 1-70 characters long");
14174
13883
  }
14175
13884
  const boundaryBytes = textEncoder.encode("--" + boundary + CRLF);
14176
13885
  const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF);
@@ -14201,7 +13910,7 @@ var formDataToStream = (form, headersHandler, options) => {
14201
13910
  };
14202
13911
  var formDataToStream_default = formDataToStream;
14203
13912
 
14204
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
13913
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
14205
13914
  import stream2 from "stream";
14206
13915
  var ZlibHeaderTransformStream = class extends stream2.Transform {
14207
13916
  __transform(chunk, encoding, callback) {
@@ -14223,88 +13932,7 @@ var ZlibHeaderTransformStream = class extends stream2.Transform {
14223
13932
  };
14224
13933
  var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
14225
13934
 
14226
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/Http2Sessions.js
14227
- import http2 from "http2";
14228
- import util2 from "util";
14229
- var Http2Sessions = class {
14230
- constructor() {
14231
- this.sessions = /* @__PURE__ */ Object.create(null);
14232
- }
14233
- getSession(authority, options) {
14234
- options = Object.assign(
14235
- {
14236
- sessionTimeout: 1e3
14237
- },
14238
- options
14239
- );
14240
- let authoritySessions = this.sessions[authority];
14241
- if (authoritySessions) {
14242
- let len = authoritySessions.length;
14243
- for (let i = 0; i < len; i++) {
14244
- const [sessionHandle, sessionOptions] = authoritySessions[i];
14245
- if (!sessionHandle.destroyed && !sessionHandle.closed && util2.isDeepStrictEqual(sessionOptions, options)) {
14246
- return sessionHandle;
14247
- }
14248
- }
14249
- }
14250
- const session = http2.connect(authority, options);
14251
- let removed;
14252
- let timer;
14253
- const removeSession = () => {
14254
- if (removed) {
14255
- return;
14256
- }
14257
- removed = true;
14258
- if (timer) {
14259
- clearTimeout(timer);
14260
- timer = null;
14261
- }
14262
- let entries = authoritySessions, len = entries.length, i = len;
14263
- while (i--) {
14264
- if (entries[i][0] === session) {
14265
- if (len === 1) {
14266
- delete this.sessions[authority];
14267
- } else {
14268
- entries.splice(i, 1);
14269
- }
14270
- if (!session.closed) {
14271
- session.close();
14272
- }
14273
- return;
14274
- }
14275
- }
14276
- };
14277
- const originalRequestFn = session.request;
14278
- const { sessionTimeout } = options;
14279
- if (sessionTimeout != null) {
14280
- let streamsCount = 0;
14281
- session.request = function() {
14282
- const stream4 = originalRequestFn.apply(this, arguments);
14283
- streamsCount++;
14284
- if (timer) {
14285
- clearTimeout(timer);
14286
- timer = null;
14287
- }
14288
- stream4.once("close", () => {
14289
- if (!--streamsCount) {
14290
- timer = setTimeout(() => {
14291
- timer = null;
14292
- removeSession();
14293
- }, sessionTimeout);
14294
- }
14295
- });
14296
- return stream4;
14297
- };
14298
- }
14299
- session.once("close", removeSession);
14300
- let entry = [session, options];
14301
- authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
14302
- return session;
14303
- }
14304
- };
14305
- var Http2Sessions_default = Http2Sessions;
14306
-
14307
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/callbackify.js
13935
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/callbackify.js
14308
13936
  var callbackify = (fn, reducer) => {
14309
13937
  return utils_default.isAsyncFn(fn) ? function(...args) {
14310
13938
  const cb = args.pop();
@@ -14319,84 +13947,14 @@ var callbackify = (fn, reducer) => {
14319
13947
  };
14320
13948
  var callbackify_default = callbackify;
14321
13949
 
14322
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/shouldBypassProxy.js
14323
- var LOOPBACK_HOSTNAMES = /* @__PURE__ */ new Set(["localhost", "0.0.0.0"]);
13950
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/shouldBypassProxy.js
13951
+ var LOOPBACK_HOSTNAMES = /* @__PURE__ */ new Set(["localhost"]);
14324
13952
  var isIPv4Loopback = (host) => {
14325
13953
  const parts = host.split(".");
14326
13954
  if (parts.length !== 4) return false;
14327
13955
  if (parts[0] !== "127") return false;
14328
13956
  return parts.every((p) => /^\d+$/.test(p) && Number(p) >= 0 && Number(p) <= 255);
14329
13957
  };
14330
- var parseIPv4Octet = (text) => {
14331
- if (/^0[xX][0-9a-fA-F]+$/.test(text)) {
14332
- const n = parseInt(text.slice(2), 16);
14333
- return Number.isFinite(n) ? n : null;
14334
- }
14335
- if (text.length > 1 && /^0[0-7]+$/.test(text)) {
14336
- const n = parseInt(text, 8);
14337
- return Number.isFinite(n) ? n : null;
14338
- }
14339
- if (text.length > 1 && /^0[0-9]+$/.test(text)) {
14340
- return null;
14341
- }
14342
- if (/^[0-9]+$/.test(text)) {
14343
- const n = parseInt(text, 10);
14344
- return Number.isFinite(n) ? n : null;
14345
- }
14346
- return null;
14347
- };
14348
- var normalizeIPAddress = (host) => {
14349
- if (typeof host !== "string" || !host || host.indexOf(":") !== -1) {
14350
- return host;
14351
- }
14352
- let h = host;
14353
- if (h.charAt(0) === "[" && h.charAt(h.length - 1) === "]") {
14354
- h = h.slice(1, -1);
14355
- }
14356
- h = h.replace(/\.+$/, "");
14357
- if (!/^[0-9.xXa-fA-F]+$/.test(h)) return host;
14358
- const parts = h.split(".");
14359
- if (parts.some((p) => p === "")) return host;
14360
- if (parts.length === 4) {
14361
- const octets = parts.map(parseIPv4Octet);
14362
- if (octets.some((n) => n === null || n < 0 || n > 255)) return host;
14363
- return octets.join(".");
14364
- }
14365
- if (parts.length > 4) {
14366
- return host;
14367
- }
14368
- if (parts.length === 1) return host;
14369
- const literalOctets = parts.slice(0, -1);
14370
- const tail = parts[parts.length - 1];
14371
- const tailSlots = 4 - literalOctets.length;
14372
- const tailValue = parseIPv4Octet(tail);
14373
- if (tailValue === null) return host;
14374
- const maxTail = (1 << 8 * tailSlots) - 1;
14375
- if (tailValue < 0 || tailValue > maxTail) return host;
14376
- const tailOctets = new Array(tailSlots).fill(0);
14377
- for (let i = tailSlots - 1, v = tailValue; i >= 0; i--, v >>= 8) {
14378
- tailOctets[i] = v & 255;
14379
- }
14380
- const literal = literalOctets.map(parseIPv4Octet);
14381
- if (literal.some((n) => n === null || n < 0 || n > 255)) return host;
14382
- return [...literal, ...tailOctets].join(".");
14383
- };
14384
- var isIPv6ZeroGroup = (group) => /^0{1,4}$/.test(group);
14385
- var isIPv6Unspecified = (host) => {
14386
- if (host === "::") return true;
14387
- const compressionIndex = host.indexOf("::");
14388
- if (compressionIndex !== -1) {
14389
- if (compressionIndex !== host.lastIndexOf("::")) return false;
14390
- const left = host.slice(0, compressionIndex);
14391
- const right = host.slice(compressionIndex + 2);
14392
- const leftGroups = left ? left.split(":") : [];
14393
- const rightGroups = right ? right.split(":") : [];
14394
- const explicitGroups = leftGroups.length + rightGroups.length;
14395
- return explicitGroups < 8 && leftGroups.every(isIPv6ZeroGroup) && rightGroups.every(isIPv6ZeroGroup);
14396
- }
14397
- const groups = host.split(":");
14398
- return groups.length === 8 && groups.every(isIPv6ZeroGroup);
14399
- };
14400
13958
  var isIPv6Loopback = (host) => {
14401
13959
  if (host === "::1") return true;
14402
13960
  const v4MappedDotted = host.match(/^::ffff:(\d+\.\d+\.\d+\.\d+)$/i);
@@ -14419,7 +13977,6 @@ var isLoopback = (host) => {
14419
13977
  if (!host) return false;
14420
13978
  if (LOOPBACK_HOSTNAMES.has(host)) return true;
14421
13979
  if (isIPv4Loopback(host)) return true;
14422
- if (isIPv6Unspecified(host)) return true;
14423
13980
  return isIPv6Loopback(host);
14424
13981
  };
14425
13982
  var DEFAULT_PORTS2 = {
@@ -14472,12 +14029,7 @@ var normalizeNoProxyHost = (hostname) => {
14472
14029
  if (hostname.charAt(0) === "[" && hostname.charAt(hostname.length - 1) === "]") {
14473
14030
  hostname = hostname.slice(1, -1);
14474
14031
  }
14475
- const trimmed = hostname.replace(/\.+$/, "");
14476
- const ipv4 = normalizeIPAddress(trimmed);
14477
- if (ipv4 !== trimmed) {
14478
- return ipv4;
14479
- }
14480
- return unmapIPv4MappedIPv6(trimmed);
14032
+ return unmapIPv4MappedIPv6(hostname.replace(/\.+$/, ""));
14481
14033
  };
14482
14034
  function shouldBypassProxy(location) {
14483
14035
  let parsed;
@@ -14499,9 +14051,6 @@ function shouldBypassProxy(location) {
14499
14051
  if (!entry) {
14500
14052
  return false;
14501
14053
  }
14502
- if (entry === "*") {
14503
- return true;
14504
- }
14505
14054
  let [entryHost, entryPort] = parseNoProxyEntry(entry);
14506
14055
  entryHost = normalizeNoProxyHost(entryHost);
14507
14056
  if (!entryHost) {
@@ -14520,7 +14069,7 @@ function shouldBypassProxy(location) {
14520
14069
  });
14521
14070
  }
14522
14071
 
14523
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js
14072
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/speedometer.js
14524
14073
  function speedometer(samplesCount, min) {
14525
14074
  samplesCount = samplesCount || 10;
14526
14075
  const bytes = new Array(samplesCount);
@@ -14556,7 +14105,7 @@ function speedometer(samplesCount, min) {
14556
14105
  }
14557
14106
  var speedometer_default = speedometer;
14558
14107
 
14559
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js
14108
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/throttle.js
14560
14109
  function throttle(fn, freq) {
14561
14110
  let timestamp = 0;
14562
14111
  let threshold = 1e3 / freq;
@@ -14591,7 +14140,7 @@ function throttle(fn, freq) {
14591
14140
  }
14592
14141
  var throttle_default = throttle;
14593
14142
 
14594
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js
14143
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/progressEventReducer.js
14595
14144
  var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
14596
14145
  let bytesNotified = 0;
14597
14146
  const _speedometer = speedometer_default(50, 250);
@@ -14601,7 +14150,7 @@ var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
14601
14150
  }
14602
14151
  const rawLoaded = e.loaded;
14603
14152
  const total = e.lengthComputable ? e.total : void 0;
14604
- const loaded = Math.max(0, total != null ? Math.min(rawLoaded, total) : rawLoaded);
14153
+ const loaded = total != null ? Math.min(rawLoaded, total) : rawLoaded;
14605
14154
  const progressBytes = Math.max(0, loaded - bytesNotified);
14606
14155
  const rate = _speedometer(progressBytes);
14607
14156
  bytesNotified = Math.max(bytesNotified, loaded);
@@ -14630,66 +14179,10 @@ var progressEventDecorator = (total, throttled) => {
14630
14179
  throttled[1]
14631
14180
  ];
14632
14181
  };
14633
- var asyncDecorator = (fn, scheduler = utils_default.asap) => (...args) => scheduler(() => fn(...args));
14182
+ var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
14634
14183
 
14635
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
14636
- var isHexDigit = (charCode) => charCode >= 48 && charCode <= 57 || charCode >= 65 && charCode <= 70 || charCode >= 97 && charCode <= 102;
14637
- var isPercentEncodedByte = (str, i, len) => i + 2 < len && isHexDigit(str.charCodeAt(i + 1)) && isHexDigit(str.charCodeAt(i + 2));
14638
- var hexValue = (charCode) => charCode <= 57 ? charCode - 48 : (charCode & 223) - 55;
14639
- var isBase64Char = (charCode) => charCode >= 65 && charCode <= 90 || // A-Z
14640
- charCode >= 97 && charCode <= 122 || // a-z
14641
- charCode >= 48 && charCode <= 57 || // 0-9
14642
- charCode === 43 || // +
14643
- charCode === 47 || // /
14644
- charCode === 45 || // - (base64url)
14645
- charCode === 95;
14646
- var isBase64Whitespace = (charCode) => charCode === 9 || charCode === 10 || charCode === 12 || charCode === 13 || charCode === 32;
14647
- var base64Bytes = (significant) => {
14648
- const groups = Math.floor(significant / 4);
14649
- const remainder = significant % 4;
14650
- return groups * 3 + (remainder === 2 ? 1 : remainder === 3 ? 2 : 0);
14651
- };
14652
- var estimateBase64BufferAllocation = (body) => {
14653
- const len = body.length;
14654
- let padding = 0;
14655
- if (len > 0 && body.charCodeAt(len - 1) === 61) {
14656
- padding++;
14657
- if (len > 1 && body.charCodeAt(len - 2) === 61) {
14658
- padding++;
14659
- }
14660
- }
14661
- return Math.floor((len - padding) * 3 / 4);
14662
- };
14663
- var estimatePercentDecodedBase64Bytes = (body) => {
14664
- const len = body.length;
14665
- let significant = 0;
14666
- let padding = 0;
14667
- let invalid = false;
14668
- for (let i = 0; i < len; i++) {
14669
- let code = body.charCodeAt(i);
14670
- if (code === 37 && isPercentEncodedByte(body, i, len)) {
14671
- code = hexValue(body.charCodeAt(i + 1)) * 16 + hexValue(body.charCodeAt(i + 2));
14672
- i += 2;
14673
- }
14674
- if (isBase64Whitespace(code)) {
14675
- continue;
14676
- }
14677
- if (code === 61) {
14678
- padding++;
14679
- continue;
14680
- }
14681
- if (!isBase64Char(code) || padding > 0) {
14682
- invalid = true;
14683
- continue;
14684
- }
14685
- significant++;
14686
- }
14687
- if (invalid || padding > 2 || padding > 0 && (significant + padding) % 4 !== 0 || significant % 4 === 1) {
14688
- return estimateBase64BufferAllocation(body);
14689
- }
14690
- return base64Bytes(significant);
14691
- };
14692
- var estimateDataURLBytes = (url2, estimateBase64) => {
14184
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
14185
+ function estimateDataURLDecodedBytes(url2) {
14693
14186
  if (!url2 || typeof url2 !== "string") return 0;
14694
14187
  if (!url2.startsWith("data:")) return 0;
14695
14188
  const comma = url2.indexOf(",");
@@ -14698,15 +14191,51 @@ var estimateDataURLBytes = (url2, estimateBase64) => {
14698
14191
  const body = url2.slice(comma + 1);
14699
14192
  const isBase64 = /;base64/i.test(meta);
14700
14193
  if (isBase64) {
14701
- return estimateBase64(body);
14194
+ let effectiveLen = body.length;
14195
+ const len = body.length;
14196
+ for (let i = 0; i < len; i++) {
14197
+ if (body.charCodeAt(i) === 37 && i + 2 < len) {
14198
+ const a = body.charCodeAt(i + 1);
14199
+ const b = body.charCodeAt(i + 2);
14200
+ 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);
14201
+ if (isHex) {
14202
+ effectiveLen -= 2;
14203
+ i += 2;
14204
+ }
14205
+ }
14206
+ }
14207
+ let pad = 0;
14208
+ let idx = len - 1;
14209
+ const tailIsPct3D = (j) => j >= 2 && body.charCodeAt(j - 2) === 37 && // '%'
14210
+ body.charCodeAt(j - 1) === 51 && // '3'
14211
+ (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100);
14212
+ if (idx >= 0) {
14213
+ if (body.charCodeAt(idx) === 61) {
14214
+ pad++;
14215
+ idx--;
14216
+ } else if (tailIsPct3D(idx)) {
14217
+ pad++;
14218
+ idx -= 3;
14219
+ }
14220
+ }
14221
+ if (pad === 1 && idx >= 0) {
14222
+ if (body.charCodeAt(idx) === 61) {
14223
+ pad++;
14224
+ } else if (tailIsPct3D(idx)) {
14225
+ pad++;
14226
+ }
14227
+ }
14228
+ const groups = Math.floor(effectiveLen / 4);
14229
+ const bytes2 = groups * 3 - (pad || 0);
14230
+ return bytes2 > 0 ? bytes2 : 0;
14231
+ }
14232
+ if (typeof Buffer !== "undefined" && typeof Buffer.byteLength === "function") {
14233
+ return Buffer.byteLength(body, "utf8");
14702
14234
  }
14703
14235
  let bytes = 0;
14704
14236
  for (let i = 0, len = body.length; i < len; i++) {
14705
14237
  const c = body.charCodeAt(i);
14706
- if (c === 37 && isPercentEncodedByte(body, i, len)) {
14707
- bytes += 1;
14708
- i += 2;
14709
- } else if (c < 128) {
14238
+ if (c < 128) {
14710
14239
  bytes += 1;
14711
14240
  } else if (c < 2048) {
14712
14241
  bytes += 2;
@@ -14723,19 +14252,9 @@ var estimateDataURLBytes = (url2, estimateBase64) => {
14723
14252
  }
14724
14253
  }
14725
14254
  return bytes;
14726
- };
14727
- function estimateDataURLDecodedBytes(url2) {
14728
- const fragmentIndex = typeof url2 === "string" ? url2.indexOf("#") : -1;
14729
- return estimateDataURLBytes(
14730
- fragmentIndex === -1 ? url2 : url2.slice(0, fragmentIndex),
14731
- estimatePercentDecodedBase64Bytes
14732
- );
14733
- }
14734
- function estimateDataURLBufferAllocation(url2) {
14735
- return estimateDataURLBytes(url2, estimateBase64BufferAllocation);
14736
14255
  }
14737
14256
 
14738
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
14257
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/http.js
14739
14258
  var zlibOptions = {
14740
14259
  flush: zlib.constants.Z_SYNC_FLUSH,
14741
14260
  finishFlush: zlib.constants.Z_SYNC_FLUSH
@@ -14744,51 +14263,26 @@ var brotliOptions = {
14744
14263
  flush: zlib.constants.BROTLI_OPERATION_FLUSH,
14745
14264
  finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
14746
14265
  };
14747
- var zstdOptions = {
14748
- flush: zlib.constants.ZSTD_e_flush,
14749
- finishFlush: zlib.constants.ZSTD_e_flush
14750
- };
14751
14266
  var isBrotliSupported = utils_default.isFunction(zlib.createBrotliDecompress);
14752
- var isZstdSupported = utils_default.isFunction(zlib.createZstdDecompress);
14753
- var ACCEPT_ENCODING = "gzip, compress, deflate" + (isBrotliSupported ? ", br" : "");
14754
- var ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ", zstd" : "");
14755
- var scheduleProgress = typeof process !== "undefined" && process.nextTick ? process.nextTick.bind(process) : utils_default.asap;
14756
14267
  var { http: httpFollow, https: httpsFollow } = import_follow_redirects.default;
14757
14268
  var isHttps = /https:?/;
14269
+ var FORM_DATA_CONTENT_HEADERS = ["content-type", "content-length"];
14270
+ function setFormDataHeaders(headers, formHeaders, policy) {
14271
+ if (policy !== "content-only") {
14272
+ headers.set(formHeaders);
14273
+ return;
14274
+ }
14275
+ Object.entries(formHeaders).forEach(([key, val]) => {
14276
+ if (FORM_DATA_CONTENT_HEADERS.includes(key.toLowerCase())) {
14277
+ headers.set(key, val);
14278
+ }
14279
+ });
14280
+ }
14758
14281
  var kAxiosSocketListener = /* @__PURE__ */ Symbol("axios.http.socketListener");
14759
14282
  var kAxiosCurrentReq = /* @__PURE__ */ Symbol("axios.http.currentReq");
14760
14283
  var kAxiosInstalledTunnel = /* @__PURE__ */ Symbol("axios.http.installedTunnel");
14761
14284
  var tunnelingAgentCache = /* @__PURE__ */ new Map();
14762
14285
  var tunnelingAgentCacheUser = /* @__PURE__ */ new WeakMap();
14763
- var NODE_NATIVE_ENV_PROXY_SUPPORT = {
14764
- 22: 21,
14765
- 24: 5
14766
- };
14767
- function isNodeNativeEnvProxySupported(nodeVersion = process.versions && process.versions.node) {
14768
- if (!nodeVersion) {
14769
- return false;
14770
- }
14771
- const [major, minor] = nodeVersion.split(".").map((part) => Number(part));
14772
- if (!Number.isInteger(major) || !Number.isInteger(minor)) {
14773
- return false;
14774
- }
14775
- if (major > 24) {
14776
- return true;
14777
- }
14778
- return NODE_NATIVE_ENV_PROXY_SUPPORT[major] != null && minor >= NODE_NATIVE_ENV_PROXY_SUPPORT[major];
14779
- }
14780
- function isNodeEnvProxyEnabled(agent, nodeVersion = process.versions && process.versions.node) {
14781
- if (!isNodeNativeEnvProxySupported(nodeVersion)) {
14782
- return false;
14783
- }
14784
- const agentOptions = agent && agent.options;
14785
- return Boolean(
14786
- agentOptions && utils_default.hasOwnProp(agentOptions, "proxyEnv") && agentOptions.proxyEnv != null
14787
- );
14788
- }
14789
- function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) {
14790
- return isHttps.test(options.protocol) ? configHttpsAgent || https.globalAgent : configHttpAgent || http.globalAgent;
14791
- }
14792
14286
  function getTunnelingAgent(agentOptions, userHttpsAgent) {
14793
14287
  const key = agentOptions.protocol + "//" + agentOptions.hostname + ":" + (agentOptions.port || "") + "#" + (agentOptions.auth || "");
14794
14288
  const cache = userHttpsAgent ? tunnelingAgentCacheUser.get(userHttpsAgent) || tunnelingAgentCacheUser.set(userHttpsAgent, /* @__PURE__ */ new Map()).get(userHttpsAgent) : tunnelingAgentCache;
@@ -14796,13 +14290,6 @@ function getTunnelingAgent(agentOptions, userHttpsAgent) {
14796
14290
  if (agent) return agent;
14797
14291
  const merged = userHttpsAgent && userHttpsAgent.options ? { ...userHttpsAgent.options, ...agentOptions } : agentOptions;
14798
14292
  agent = new import_https_proxy_agent.default(merged);
14799
- if (userHttpsAgent && userHttpsAgent.options) {
14800
- const originTLSOptions = { ...userHttpsAgent.options };
14801
- const callback = agent.callback;
14802
- agent.callback = function axiosTunnelingAgentCallback(req, opts) {
14803
- return callback.call(this, req, { ...originTLSOptions, ...opts });
14804
- };
14805
- }
14806
14293
  agent[kAxiosInstalledTunnel] = true;
14807
14294
  cache.set(key, agent);
14808
14295
  return agent;
@@ -14824,45 +14311,90 @@ var flushOnFinish = (stream4, [throttled, flush]) => {
14824
14311
  stream4.on("end", flush).on("error", flush);
14825
14312
  return throttled;
14826
14313
  };
14827
- var http2Sessions = new Http2Sessions_default();
14314
+ var Http2Sessions = class {
14315
+ constructor() {
14316
+ this.sessions = /* @__PURE__ */ Object.create(null);
14317
+ }
14318
+ getSession(authority, options) {
14319
+ options = Object.assign(
14320
+ {
14321
+ sessionTimeout: 1e3
14322
+ },
14323
+ options
14324
+ );
14325
+ let authoritySessions = this.sessions[authority];
14326
+ if (authoritySessions) {
14327
+ let len = authoritySessions.length;
14328
+ for (let i = 0; i < len; i++) {
14329
+ const [sessionHandle, sessionOptions] = authoritySessions[i];
14330
+ if (!sessionHandle.destroyed && !sessionHandle.closed && util2.isDeepStrictEqual(sessionOptions, options)) {
14331
+ return sessionHandle;
14332
+ }
14333
+ }
14334
+ }
14335
+ const session = http2.connect(authority, options);
14336
+ let removed;
14337
+ const removeSession = () => {
14338
+ if (removed) {
14339
+ return;
14340
+ }
14341
+ removed = true;
14342
+ let entries = authoritySessions, len = entries.length, i = len;
14343
+ while (i--) {
14344
+ if (entries[i][0] === session) {
14345
+ if (len === 1) {
14346
+ delete this.sessions[authority];
14347
+ } else {
14348
+ entries.splice(i, 1);
14349
+ }
14350
+ if (!session.closed) {
14351
+ session.close();
14352
+ }
14353
+ return;
14354
+ }
14355
+ }
14356
+ };
14357
+ const originalRequestFn = session.request;
14358
+ const { sessionTimeout } = options;
14359
+ if (sessionTimeout != null) {
14360
+ let timer;
14361
+ let streamsCount = 0;
14362
+ session.request = function() {
14363
+ const stream4 = originalRequestFn.apply(this, arguments);
14364
+ streamsCount++;
14365
+ if (timer) {
14366
+ clearTimeout(timer);
14367
+ timer = null;
14368
+ }
14369
+ stream4.once("close", () => {
14370
+ if (!--streamsCount) {
14371
+ timer = setTimeout(() => {
14372
+ timer = null;
14373
+ removeSession();
14374
+ }, sessionTimeout);
14375
+ }
14376
+ });
14377
+ return stream4;
14378
+ };
14379
+ }
14380
+ session.once("close", removeSession);
14381
+ let entry = [session, options];
14382
+ authoritySessions ? authoritySessions.push(entry) : authoritySessions = this.sessions[authority] = [entry];
14383
+ return session;
14384
+ }
14385
+ };
14386
+ var http2Sessions = new Http2Sessions();
14828
14387
  function dispatchBeforeRedirect(options, responseDetails, requestDetails) {
14829
14388
  if (options.beforeRedirects.proxy) {
14830
14389
  options.beforeRedirects.proxy(options);
14831
14390
  }
14832
- if (options.beforeRedirects.auth) {
14833
- options.beforeRedirects.auth(options);
14834
- }
14835
- if (options.beforeRedirects.sensitiveHeaders) {
14836
- options.beforeRedirects.sensitiveHeaders(options, requestDetails);
14837
- }
14838
14391
  if (options.beforeRedirects.config) {
14839
14392
  options.beforeRedirects.config(options, responseDetails, requestDetails);
14840
14393
  }
14841
14394
  }
14842
- function stripMatchingHeaders(headers, sensitiveSet) {
14843
- if (!headers) {
14844
- return;
14845
- }
14846
- Object.keys(headers).forEach((header) => {
14847
- if (sensitiveSet.has(header.toLowerCase())) {
14848
- delete headers[header];
14849
- }
14850
- });
14851
- }
14852
- function isSameOriginRedirect(redirectOptions, requestDetails) {
14853
- if (!requestDetails) {
14854
- return false;
14855
- }
14856
- try {
14857
- return new URL(requestDetails.url).origin === new URL(redirectOptions.href).origin;
14858
- } catch (e) {
14859
- return false;
14860
- }
14861
- }
14862
- function setProxy(options, configProxy, location, isRedirect, configHttpsAgent, configHttpAgent) {
14395
+ function setProxy(options, configProxy, location, isRedirect, configHttpsAgent) {
14863
14396
  let proxy = configProxy;
14864
- const proxyEnvAgent = getProxyEnvAgent(options, configHttpAgent, configHttpsAgent);
14865
- if (!proxy && proxy !== false && !isNodeEnvProxyEnabled(proxyEnvAgent)) {
14397
+ if (!proxy && proxy !== false) {
14866
14398
  const proxyUrl = getProxyForUrl(location);
14867
14399
  if (proxyUrl) {
14868
14400
  if (!shouldBypassProxy(location)) {
@@ -14953,14 +14485,7 @@ function setProxy(options, configProxy, location, isRedirect, configHttpsAgent,
14953
14485
  }
14954
14486
  }
14955
14487
  options.beforeRedirects.proxy = function beforeRedirect(redirectOptions) {
14956
- setProxy(
14957
- redirectOptions,
14958
- configProxy,
14959
- redirectOptions.href,
14960
- true,
14961
- configHttpsAgent,
14962
- configHttpAgent
14963
- );
14488
+ setProxy(redirectOptions, configProxy, redirectOptions.href, true, configHttpsAgent);
14964
14489
  };
14965
14490
  }
14966
14491
  var isHttpAdapterSupported = typeof process !== "undefined" && utils_default.kindOf(process) === "process";
@@ -14999,7 +14524,7 @@ var http2Transport = {
14999
14524
  const authority = options.protocol + "//" + options.hostname + ":" + (options.port || (options.protocol === "https:" ? 443 : 80));
15000
14525
  const { http2Options, headers } = options;
15001
14526
  const session = http2Sessions.getSession(authority, http2Options);
15002
- const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = http22.constants;
14527
+ const { HTTP2_HEADER_SCHEME, HTTP2_HEADER_METHOD, HTTP2_HEADER_PATH, HTTP2_HEADER_STATUS } = http2.constants;
15003
14528
  const http2Headers = {
15004
14529
  [HTTP2_HEADER_SCHEME]: options.protocol.replace(":", ""),
15005
14530
  [HTTP2_HEADER_METHOD]: options.method,
@@ -15023,25 +14548,16 @@ var http2Transport = {
15023
14548
  };
15024
14549
  var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15025
14550
  return wrapAsync(async function dispatchHttpRequest(resolve, reject, onDone) {
15026
- const own2 = (key) => utils_default.getSafeProp(config, key);
15027
- const transitional2 = own2("transitional") || transitional_default;
14551
+ const own2 = (key) => utils_default.hasOwnProp(config, key) ? config[key] : void 0;
15028
14552
  let data = own2("data");
15029
14553
  let lookup = own2("lookup");
15030
14554
  let family = own2("family");
15031
14555
  let httpVersion = own2("httpVersion");
15032
14556
  if (httpVersion === void 0) httpVersion = 1;
15033
14557
  let http2Options = own2("http2Options");
15034
- const httpAgent = own2("httpAgent");
15035
- const httpsAgent = own2("httpsAgent");
15036
- const configProxy = own2("proxy");
15037
14558
  const responseType = own2("responseType");
15038
14559
  const responseEncoding = own2("responseEncoding");
15039
- const socketPath = own2("socketPath");
15040
- const method = own2("method").toUpperCase();
15041
- const maxRedirects = own2("maxRedirects");
15042
- const maxBodyLength = own2("maxBodyLength");
15043
- const maxContentLength = own2("maxContentLength");
15044
- const decompress = own2("decompress");
14560
+ const method = config.method.toUpperCase();
15045
14561
  let isDone;
15046
14562
  let rejected = false;
15047
14563
  let req;
@@ -15074,6 +14590,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15074
14590
  !reason || reason.type ? new CanceledError_default(null, config, req) : reason
15075
14591
  );
15076
14592
  } catch (err) {
14593
+ console.warn("emit error", err);
15077
14594
  }
15078
14595
  }
15079
14596
  function clearConnectPhaseTimer() {
@@ -15083,11 +14600,10 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15083
14600
  }
15084
14601
  }
15085
14602
  function createTimeoutError() {
15086
- const configTimeout = own2("timeout");
15087
- let timeoutErrorMessage = configTimeout ? "timeout of " + configTimeout + "ms exceeded" : "timeout exceeded";
15088
- const configTimeoutErrorMessage = own2("timeoutErrorMessage");
15089
- if (configTimeoutErrorMessage) {
15090
- timeoutErrorMessage = configTimeoutErrorMessage;
14603
+ let timeoutErrorMessage = config.timeout ? "timeout of " + config.timeout + "ms exceeded" : "timeout exceeded";
14604
+ const transitional2 = config.transitional || transitional_default;
14605
+ if (config.timeoutErrorMessage) {
14606
+ timeoutErrorMessage = config.timeoutErrorMessage;
15091
14607
  }
15092
14608
  return new AxiosError_default(
15093
14609
  timeoutErrorMessage,
@@ -15131,18 +14647,17 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15131
14647
  onFinished();
15132
14648
  }
15133
14649
  });
15134
- const fullPath = buildFullPath(own2("baseURL"), own2("url"), own2("allowAbsoluteUrls"), config);
15135
- const urlBase = socketPath ? "http://localhost" : platform_default.hasBrowserEnv ? platform_default.origin : void 0;
15136
- const parsed = new URL(fullPath, urlBase);
14650
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
14651
+ const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
15137
14652
  const protocol = parsed.protocol || supportedProtocols[0];
15138
14653
  if (protocol === "data:") {
15139
- if (maxContentLength > -1) {
15140
- const dataUrl = String(own2("url") || fullPath || "");
15141
- const estimated = estimateDataURLBufferAllocation(dataUrl);
15142
- if (estimated > maxContentLength) {
14654
+ if (config.maxContentLength > -1) {
14655
+ const dataUrl = String(config.url || fullPath || "");
14656
+ const estimated = estimateDataURLDecodedBytes(dataUrl);
14657
+ if (estimated > config.maxContentLength) {
15143
14658
  return reject(
15144
14659
  new AxiosError_default(
15145
- "maxContentLength size of " + maxContentLength + " exceeded",
14660
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
15146
14661
  AxiosError_default.ERR_BAD_RESPONSE,
15147
14662
  config
15148
14663
  )
@@ -15159,7 +14674,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15159
14674
  });
15160
14675
  }
15161
14676
  try {
15162
- convertedData = fromDataURI(own2("url"), responseType === "blob", {
14677
+ convertedData = fromDataURI(config.url, responseType === "blob", {
15163
14678
  Blob: config.env && config.env.Blob
15164
14679
  });
15165
14680
  } catch (err) {
@@ -15208,7 +14723,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15208
14723
  setFormDataHeaders(headers, data.getHeaders(), own2("formDataHeaderPolicy"));
15209
14724
  if (!headers.hasContentLength()) {
15210
14725
  try {
15211
- const knownLength = await util3.promisify(data.getLength).call(data);
14726
+ const knownLength = await util2.promisify(data.getLength).call(data);
15212
14727
  Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
15213
14728
  } catch (e) {
15214
14729
  }
@@ -15233,7 +14748,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15233
14748
  );
15234
14749
  }
15235
14750
  headers.setContentLength(data.length, false);
15236
- if (maxBodyLength > -1 && data.length > maxBodyLength) {
14751
+ if (config.maxBodyLength > -1 && data.length > config.maxBodyLength) {
15237
14752
  return reject(
15238
14753
  new AxiosError_default(
15239
14754
  "Request body larger than maxBodyLength limit",
@@ -15269,7 +14784,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15269
14784
  data,
15270
14785
  progressEventDecorator(
15271
14786
  contentLength,
15272
- progressEventReducer(asyncDecorator(onUploadProgress, scheduleProgress), false, 3)
14787
+ progressEventReducer(asyncDecorator(onUploadProgress), false, 3)
15273
14788
  )
15274
14789
  )
15275
14790
  );
@@ -15277,11 +14792,11 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15277
14792
  let auth = void 0;
15278
14793
  const configAuth = own2("auth");
15279
14794
  if (configAuth) {
15280
- const username = utils_default.getSafeProp(configAuth, "username") || "";
15281
- const password = utils_default.getSafeProp(configAuth, "password") || "";
14795
+ const username = configAuth.username || "";
14796
+ const password = configAuth.password || "";
15282
14797
  auth = username + ":" + password;
15283
14798
  }
15284
- if (!auth && (parsed.username || parsed.password)) {
14799
+ if (!auth && parsed.username) {
15285
14800
  const urlUsername = decodeURIComponentSafe(parsed.username);
15286
14801
  const urlPassword = decodeURIComponentSafe(parsed.password);
15287
14802
  auth = urlUsername + ":" + urlPassword;
@@ -15291,27 +14806,26 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15291
14806
  try {
15292
14807
  path = buildURL(
15293
14808
  parsed.pathname + parsed.search,
15294
- own2("params"),
15295
- own2("paramsSerializer")
14809
+ config.params,
14810
+ config.paramsSerializer
15296
14811
  ).replace(/^\?/, "");
15297
14812
  } catch (err) {
15298
- return reject(
15299
- AxiosError_default.from(err, AxiosError_default.ERR_BAD_REQUEST, config, null, null, {
15300
- url: own2("url"),
15301
- exists: true
15302
- })
15303
- );
14813
+ const customErr = new Error(err.message);
14814
+ customErr.config = config;
14815
+ customErr.url = config.url;
14816
+ customErr.exists = true;
14817
+ return reject(customErr);
15304
14818
  }
15305
14819
  headers.set(
15306
14820
  "Accept-Encoding",
15307
- utils_default.hasOwnProp(transitional2, "advertiseZstdAcceptEncoding") && transitional2.advertiseZstdAcceptEncoding === true ? ACCEPT_ENCODING_WITH_ZSTD : ACCEPT_ENCODING,
14821
+ "gzip, compress, deflate" + (isBrotliSupported ? ", br" : ""),
15308
14822
  false
15309
14823
  );
15310
14824
  const options = Object.assign(/* @__PURE__ */ Object.create(null), {
15311
14825
  path,
15312
14826
  method,
15313
14827
  headers: toByteStringHeaderObject(headers),
15314
- agents: { http: httpAgent, https: httpsAgent },
14828
+ agents: { http: config.httpAgent, https: config.httpsAgent },
15315
14829
  auth,
15316
14830
  protocol,
15317
14831
  family,
@@ -15320,48 +14834,45 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15320
14834
  http2Options
15321
14835
  });
15322
14836
  !utils_default.isUndefined(lookup) && (options.lookup = lookup);
15323
- if (socketPath) {
15324
- if (typeof socketPath !== "string") {
14837
+ if (config.socketPath) {
14838
+ if (typeof config.socketPath !== "string") {
15325
14839
  return reject(
15326
14840
  new AxiosError_default("socketPath must be a string", AxiosError_default.ERR_BAD_OPTION_VALUE, config)
15327
14841
  );
15328
14842
  }
15329
- const allowedSocketPaths = own2("allowedSocketPaths");
15330
- if (allowedSocketPaths != null) {
15331
- const allowed = Array.isArray(allowedSocketPaths) ? allowedSocketPaths : [allowedSocketPaths];
15332
- const resolvedSocket = resolvePath(socketPath);
14843
+ if (config.allowedSocketPaths != null) {
14844
+ const allowed = Array.isArray(config.allowedSocketPaths) ? config.allowedSocketPaths : [config.allowedSocketPaths];
14845
+ const resolvedSocket = resolvePath(config.socketPath);
15333
14846
  const isAllowed = allowed.some(
15334
14847
  (entry) => typeof entry === "string" && resolvePath(entry) === resolvedSocket
15335
14848
  );
15336
14849
  if (!isAllowed) {
15337
14850
  return reject(
15338
14851
  new AxiosError_default(
15339
- `socketPath "${socketPath}" is not permitted by allowedSocketPaths`,
14852
+ `socketPath "${config.socketPath}" is not permitted by allowedSocketPaths`,
15340
14853
  AxiosError_default.ERR_BAD_OPTION_VALUE,
15341
14854
  config
15342
14855
  )
15343
14856
  );
15344
14857
  }
15345
14858
  }
15346
- options.socketPath = socketPath;
14859
+ options.socketPath = config.socketPath;
15347
14860
  } else {
15348
14861
  options.hostname = parsed.hostname.startsWith("[") ? parsed.hostname.slice(1, -1) : parsed.hostname;
15349
14862
  options.port = parsed.port;
15350
14863
  setProxy(
15351
14864
  options,
15352
- configProxy,
14865
+ config.proxy,
15353
14866
  protocol + "//" + parsed.hostname + (parsed.port ? ":" + parsed.port : "") + options.path,
15354
14867
  false,
15355
- httpsAgent,
15356
- httpAgent
14868
+ config.httpsAgent
15357
14869
  );
15358
14870
  }
15359
14871
  let transport;
15360
14872
  let isNativeTransport = false;
15361
- let transportEnforcesMaxBodyLength = false;
15362
14873
  const isHttpsRequest = isHttps.test(options.protocol);
15363
14874
  if (options.agent == null) {
15364
- options.agent = isHttpsRequest ? httpsAgent : httpAgent;
14875
+ options.agent = isHttpsRequest ? config.httpsAgent : config.httpAgent;
15365
14876
  }
15366
14877
  if (isHttp2) {
15367
14878
  transport = http2Transport;
@@ -15369,69 +14880,22 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15369
14880
  const configTransport = own2("transport");
15370
14881
  if (configTransport) {
15371
14882
  transport = configTransport;
15372
- } else if (maxRedirects === 0) {
14883
+ } else if (config.maxRedirects === 0) {
15373
14884
  transport = isHttpsRequest ? https : http;
15374
14885
  isNativeTransport = true;
15375
14886
  } else {
15376
- transportEnforcesMaxBodyLength = true;
15377
- options.sensitiveHeaders = [];
15378
- if (maxRedirects) {
15379
- options.maxRedirects = maxRedirects;
14887
+ if (config.maxRedirects) {
14888
+ options.maxRedirects = config.maxRedirects;
15380
14889
  }
15381
14890
  const configBeforeRedirect = own2("beforeRedirect");
15382
14891
  if (configBeforeRedirect) {
15383
14892
  options.beforeRedirects.config = configBeforeRedirect;
15384
14893
  }
15385
- if (auth) {
15386
- const requestOrigin = parsed.origin;
15387
- const authToRestore = auth;
15388
- options.beforeRedirects.auth = function beforeRedirectAuth(redirectOptions) {
15389
- try {
15390
- if (new URL(redirectOptions.href).origin === requestOrigin) {
15391
- redirectOptions.auth = authToRestore;
15392
- }
15393
- } catch (e) {
15394
- }
15395
- };
15396
- }
15397
- const sensitiveHeaders = own2("sensitiveHeaders");
15398
- if (sensitiveHeaders != null) {
15399
- if (!utils_default.isArray(sensitiveHeaders)) {
15400
- return reject(
15401
- new AxiosError_default(
15402
- "sensitiveHeaders must be an array of strings",
15403
- AxiosError_default.ERR_BAD_OPTION_VALUE,
15404
- config
15405
- )
15406
- );
15407
- }
15408
- const sensitiveSet = /* @__PURE__ */ new Set();
15409
- for (const header of sensitiveHeaders) {
15410
- if (!utils_default.isString(header)) {
15411
- return reject(
15412
- new AxiosError_default(
15413
- "sensitiveHeaders must be an array of strings",
15414
- AxiosError_default.ERR_BAD_OPTION_VALUE,
15415
- config
15416
- )
15417
- );
15418
- }
15419
- sensitiveSet.add(header.toLowerCase());
15420
- }
15421
- if (sensitiveSet.size) {
15422
- options.sensitiveHeaders = Array.from(sensitiveSet);
15423
- options.beforeRedirects.sensitiveHeaders = function beforeRedirectSensitiveHeaders(redirectOptions, requestDetails) {
15424
- if (!isSameOriginRedirect(redirectOptions, requestDetails)) {
15425
- stripMatchingHeaders(redirectOptions.headers, sensitiveSet);
15426
- }
15427
- };
15428
- }
15429
- }
15430
14894
  transport = isHttpsRequest ? httpsFollow : httpFollow;
15431
14895
  }
15432
14896
  }
15433
- if (maxBodyLength > -1) {
15434
- options.maxBodyLength = maxBodyLength;
14897
+ if (config.maxBodyLength > -1) {
14898
+ options.maxBodyLength = config.maxBodyLength;
15435
14899
  } else {
15436
14900
  options.maxBodyLength = Infinity;
15437
14901
  }
@@ -15451,7 +14915,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15451
14915
  transformStream,
15452
14916
  progressEventDecorator(
15453
14917
  responseLength,
15454
- progressEventReducer(asyncDecorator(onDownloadProgress, scheduleProgress), true, 3)
14918
+ progressEventReducer(asyncDecorator(onDownloadProgress), true, 3)
15455
14919
  )
15456
14920
  )
15457
14921
  );
@@ -15459,7 +14923,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15459
14923
  }
15460
14924
  let responseStream = res;
15461
14925
  const lastRequest = res.req || req;
15462
- if (decompress !== false && res.headers["content-encoding"]) {
14926
+ if (config.decompress !== false && res.headers["content-encoding"]) {
15463
14927
  if (method === "HEAD" || res.statusCode === 204) {
15464
14928
  delete res.headers["content-encoding"];
15465
14929
  }
@@ -15482,13 +14946,6 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15482
14946
  streams.push(zlib.createBrotliDecompress(brotliOptions));
15483
14947
  delete res.headers["content-encoding"];
15484
14948
  }
15485
- break;
15486
- case "zstd":
15487
- if (isZstdSupported) {
15488
- streams.push(zlib.createZstdDecompress(zstdOptions));
15489
- delete res.headers["content-encoding"];
15490
- }
15491
- break;
15492
14949
  }
15493
14950
  }
15494
14951
  responseStream = streams.length > 1 ? stream3.pipeline(streams, utils_default.noop) : streams[0];
@@ -15500,8 +14957,8 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15500
14957
  request: lastRequest
15501
14958
  };
15502
14959
  if (responseType === "stream") {
15503
- if (maxContentLength > -1) {
15504
- const limit = maxContentLength;
14960
+ if (config.maxContentLength > -1) {
14961
+ const limit = config.maxContentLength;
15505
14962
  const source = responseStream;
15506
14963
  async function* enforceMaxContentLength() {
15507
14964
  let totalResponseBytes = 0;
@@ -15530,12 +14987,12 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15530
14987
  responseStream.on("data", function handleStreamData(chunk) {
15531
14988
  responseBuffer.push(chunk);
15532
14989
  totalResponseBytes += chunk.length;
15533
- if (maxContentLength > -1 && totalResponseBytes > maxContentLength) {
14990
+ if (config.maxContentLength > -1 && totalResponseBytes > config.maxContentLength) {
15534
14991
  rejected = true;
15535
14992
  responseStream.destroy();
15536
14993
  abort(
15537
14994
  new AxiosError_default(
15538
- "maxContentLength size of " + maxContentLength + " exceeded",
14995
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
15539
14996
  AxiosError_default.ERR_BAD_RESPONSE,
15540
14997
  config,
15541
14998
  lastRequest
@@ -15596,9 +15053,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15596
15053
  });
15597
15054
  const boundSockets = /* @__PURE__ */ new Set();
15598
15055
  req.on("socket", function handleRequestSocket(socket) {
15599
- if (typeof socket.setKeepAlive === "function") {
15600
- socket.setKeepAlive(true, 1e3 * 60);
15601
- }
15056
+ socket.setKeepAlive(true, 1e3 * 60);
15602
15057
  if (!socket[kAxiosSocketListener]) {
15603
15058
  socket.on("error", function handleSocketError(err) {
15604
15059
  const current = socket[kAxiosCurrentReq];
@@ -15620,8 +15075,8 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15620
15075
  }
15621
15076
  boundSockets.clear();
15622
15077
  });
15623
- if (own2("timeout")) {
15624
- const timeout = parseInt(own2("timeout"), 10);
15078
+ if (config.timeout) {
15079
+ const timeout = parseInt(config.timeout, 10);
15625
15080
  if (Number.isNaN(timeout)) {
15626
15081
  abort(
15627
15082
  new AxiosError_default(
@@ -15660,8 +15115,8 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15660
15115
  }
15661
15116
  });
15662
15117
  let uploadStream = data;
15663
- if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) {
15664
- const limit = maxBodyLength;
15118
+ if (config.maxBodyLength > -1 && config.maxRedirects === 0) {
15119
+ const limit = config.maxBodyLength;
15665
15120
  let bytesSent = 0;
15666
15121
  uploadStream = stream3.pipeline(
15667
15122
  [
@@ -15697,7 +15152,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
15697
15152
  });
15698
15153
  };
15699
15154
 
15700
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js
15155
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isURLSameOrigin.js
15701
15156
  var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PURE__ */ ((origin2, isMSIE) => (url2) => {
15702
15157
  url2 = new URL(url2, platform_default.origin);
15703
15158
  return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
@@ -15706,7 +15161,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? /* @__PUR
15706
15161
  platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
15707
15162
  ) : () => true;
15708
15163
 
15709
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js
15164
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/cookies.js
15710
15165
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
15711
15166
  // Standard browser envs support document.cookie
15712
15167
  {
@@ -15737,11 +15192,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
15737
15192
  const cookie = cookies[i].replace(/^\s+/, "");
15738
15193
  const eq = cookie.indexOf("=");
15739
15194
  if (eq !== -1 && cookie.slice(0, eq) === name) {
15740
- try {
15741
- return decodeURIComponent(cookie.slice(eq + 1));
15742
- } catch (e) {
15743
- return cookie.slice(eq + 1);
15744
- }
15195
+ return decodeURIComponent(cookie.slice(eq + 1));
15745
15196
  }
15746
15197
  }
15747
15198
  return null;
@@ -15763,20 +15214,9 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
15763
15214
  }
15764
15215
  );
15765
15216
 
15766
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js
15217
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/mergeConfig.js
15767
15218
  var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? { ...thing } : thing;
15768
- var ownEnumerableKeys = (thing) => {
15769
- if (Object.getOwnPropertySymbols && Object.getOwnPropertyDescriptor) {
15770
- return Object.keys(thing).concat(
15771
- Object.getOwnPropertySymbols(thing).filter(
15772
- (symbol) => Object.getOwnPropertyDescriptor(thing, symbol).enumerable
15773
- )
15774
- );
15775
- }
15776
- return Object.keys(thing);
15777
- };
15778
15219
  function mergeConfig(config1, config2) {
15779
- config1 = config1 || {};
15780
15220
  config2 = config2 || {};
15781
15221
  const config = /* @__PURE__ */ Object.create(null);
15782
15222
  Object.defineProperty(config, "hasOwnProperty", {
@@ -15817,23 +15257,6 @@ function mergeConfig(config1, config2) {
15817
15257
  return getMergedValue(void 0, a);
15818
15258
  }
15819
15259
  }
15820
- function getMergedTransitionalOption(prop) {
15821
- const transitional2 = utils_default.hasOwnProp(config2, "transitional") ? config2.transitional : void 0;
15822
- if (!utils_default.isUndefined(transitional2)) {
15823
- if (utils_default.isPlainObject(transitional2)) {
15824
- if (utils_default.hasOwnProp(transitional2, prop)) {
15825
- return transitional2[prop];
15826
- }
15827
- } else {
15828
- return void 0;
15829
- }
15830
- }
15831
- const transitional1 = utils_default.hasOwnProp(config1, "transitional") ? config1.transitional : void 0;
15832
- if (utils_default.isPlainObject(transitional1) && utils_default.hasOwnProp(transitional1, prop)) {
15833
- return transitional1[prop];
15834
- }
15835
- return void 0;
15836
- }
15837
15260
  function mergeDirectKeys(a, b, prop) {
15838
15261
  if (utils_default.hasOwnProp(config2, prop)) {
15839
15262
  return getMergedValue(a, b);
@@ -15873,7 +15296,7 @@ function mergeConfig(config1, config2) {
15873
15296
  validateStatus: mergeDirectKeys,
15874
15297
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
15875
15298
  };
15876
- utils_default.forEach(ownEnumerableKeys({ ...config1, ...config2 }), function computeConfigValue(prop) {
15299
+ utils_default.forEach(Object.keys({ ...config1, ...config2 }), function computeConfigValue(prop) {
15877
15300
  if (prop === "__proto__" || prop === "constructor" || prop === "prototype") return;
15878
15301
  const merge2 = utils_default.hasOwnProp(mergeMap, prop) ? mergeMap[prop] : mergeDeepProperties;
15879
15302
  const a = utils_default.hasOwnProp(config1, prop) ? config1[prop] : void 0;
@@ -15881,22 +15304,27 @@ function mergeConfig(config1, config2) {
15881
15304
  const configValue = merge2(a, b, prop);
15882
15305
  utils_default.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config[prop] = configValue);
15883
15306
  });
15884
- if (utils_default.hasOwnProp(config2, "validateStatus") && utils_default.isUndefined(config2.validateStatus) && getMergedTransitionalOption("validateStatusUndefinedResolves") === false) {
15885
- if (utils_default.hasOwnProp(config1, "validateStatus")) {
15886
- config.validateStatus = getMergedValue(void 0, config1.validateStatus);
15887
- } else {
15888
- delete config.validateStatus;
15889
- }
15890
- }
15891
15307
  return config;
15892
15308
  }
15893
15309
 
15894
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js
15310
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/resolveConfig.js
15311
+ var FORM_DATA_CONTENT_HEADERS2 = ["content-type", "content-length"];
15312
+ function setFormDataHeaders2(headers, formHeaders, policy) {
15313
+ if (policy !== "content-only") {
15314
+ headers.set(formHeaders);
15315
+ return;
15316
+ }
15317
+ Object.entries(formHeaders).forEach(([key, val]) => {
15318
+ if (FORM_DATA_CONTENT_HEADERS2.includes(key.toLowerCase())) {
15319
+ headers.set(key, val);
15320
+ }
15321
+ });
15322
+ }
15895
15323
  var encodeUTF8 = (str) => encodeURIComponent(str).replace(
15896
15324
  /%([0-9A-F]{2})/gi,
15897
15325
  (_, hex) => String.fromCharCode(parseInt(hex, 16))
15898
15326
  );
15899
- function resolveConfig(config) {
15327
+ var resolveConfig_default = (config) => {
15900
15328
  const newConfig = mergeConfig({}, config);
15901
15329
  const own2 = (key) => utils_default.hasOwnProp(newConfig, key) ? newConfig[key] : void 0;
15902
15330
  const data = own2("data");
@@ -15910,27 +15338,21 @@ function resolveConfig(config) {
15910
15338
  const url2 = own2("url");
15911
15339
  newConfig.headers = headers = AxiosHeaders_default.from(headers);
15912
15340
  newConfig.url = buildURL(
15913
- buildFullPath(baseURL, url2, allowAbsoluteUrls, newConfig),
15914
- own2("params"),
15915
- own2("paramsSerializer")
15341
+ buildFullPath(baseURL, url2, allowAbsoluteUrls),
15342
+ config.params,
15343
+ config.paramsSerializer
15916
15344
  );
15917
15345
  if (auth) {
15918
- const username = utils_default.getSafeProp(auth, "username") || "";
15919
- const password = utils_default.getSafeProp(auth, "password") || "";
15920
- try {
15921
- headers.set(
15922
- "Authorization",
15923
- "Basic " + btoa(username + ":" + (password ? encodeUTF8(password) : ""))
15924
- );
15925
- } catch (e) {
15926
- throw AxiosError_default.from(e, AxiosError_default.ERR_BAD_OPTION_VALUE, config);
15927
- }
15346
+ headers.set(
15347
+ "Authorization",
15348
+ "Basic " + btoa((auth.username || "") + ":" + (auth.password ? encodeUTF8(auth.password) : ""))
15349
+ );
15928
15350
  }
15929
15351
  if (utils_default.isFormData(data)) {
15930
- if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv || utils_default.isReactNative(data)) {
15352
+ if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) {
15931
15353
  headers.setContentType(void 0);
15932
15354
  } else if (utils_default.isFunction(data.getHeaders)) {
15933
- setFormDataHeaders(headers, data.getHeaders(), own2("formDataHeaderPolicy"));
15355
+ setFormDataHeaders2(headers, data.getHeaders(), own2("formDataHeaderPolicy"));
15934
15356
  }
15935
15357
  }
15936
15358
  if (platform_default.hasStandardBrowserEnv) {
@@ -15946,10 +15368,9 @@ function resolveConfig(config) {
15946
15368
  }
15947
15369
  }
15948
15370
  return newConfig;
15949
- }
15950
- var resolveConfig_default = resolveConfig;
15371
+ };
15951
15372
 
15952
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js
15373
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/xhr.js
15953
15374
  var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
15954
15375
  var xhr_default = isXHRAdapterSupported && function(config) {
15955
15376
  return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -16089,14 +15510,13 @@ var xhr_default = isXHRAdapterSupported && function(config) {
16089
15510
  config
16090
15511
  )
16091
15512
  );
16092
- done();
16093
15513
  return;
16094
15514
  }
16095
15515
  request.send(requestData || null);
16096
15516
  });
16097
15517
  };
16098
15518
 
16099
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js
15519
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/composeSignals.js
16100
15520
  var composeSignals = (signals, timeout) => {
16101
15521
  signals = signals ? signals.filter(Boolean) : [];
16102
15522
  if (!timeout && !signals.length) {
@@ -16129,23 +15549,14 @@ var composeSignals = (signals, timeout) => {
16129
15549
  });
16130
15550
  signals = null;
16131
15551
  };
16132
- signals.forEach((signal2) => {
16133
- if (aborted) {
16134
- return;
16135
- }
16136
- if (signal2.aborted) {
16137
- onabort.call(signal2);
16138
- return;
16139
- }
16140
- signal2.addEventListener("abort", onabort, { once: true });
16141
- });
15552
+ signals.forEach((signal2) => signal2.addEventListener("abort", onabort));
16142
15553
  const { signal } = controller;
16143
15554
  signal.unsubscribe = () => utils_default.asap(unsubscribe);
16144
15555
  return signal;
16145
15556
  };
16146
15557
  var composeSignals_default = composeSignals;
16147
15558
 
16148
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js
15559
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/trackStream.js
16149
15560
  var streamChunk = function* (chunk, chunkSize) {
16150
15561
  let len = chunk.byteLength;
16151
15562
  if (!chunkSize || len < chunkSize) {
@@ -16225,23 +15636,9 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
16225
15636
  );
16226
15637
  };
16227
15638
 
16228
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js
15639
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/fetch.js
16229
15640
  var DEFAULT_CHUNK_SIZE = 64 * 1024;
16230
15641
  var { isFunction: isFunction2 } = utils_default;
16231
- var encodeUTF82 = (str) => encodeURIComponent(str).replace(
16232
- /%([0-9A-F]{2})/gi,
16233
- (_, hex) => String.fromCharCode(parseInt(hex, 16))
16234
- );
16235
- var decodeURIComponentSafe2 = (value) => {
16236
- if (!utils_default.isString(value)) {
16237
- return value;
16238
- }
16239
- try {
16240
- return decodeURIComponent(value);
16241
- } catch (error) {
16242
- return value;
16243
- }
16244
- };
16245
15642
  var test = (fn, ...args) => {
16246
15643
  try {
16247
15644
  return !!fn(...args);
@@ -16249,14 +15646,6 @@ var test = (fn, ...args) => {
16249
15646
  return false;
16250
15647
  }
16251
15648
  };
16252
- var maybeWithAuthCredentials = (url2) => {
16253
- const protocolIndex = url2.indexOf("://");
16254
- let urlToCheck = url2;
16255
- if (protocolIndex !== -1) {
16256
- urlToCheck = urlToCheck.slice(protocolIndex + 3);
16257
- }
16258
- return urlToCheck.includes("@") || urlToCheck.includes(":");
16259
- };
16260
15649
  var factory = (env) => {
16261
15650
  const globalObject = utils_default.global !== void 0 && utils_default.global !== null ? utils_default.global : globalThis;
16262
15651
  const { ReadableStream: ReadableStream2, TextEncoder: TextEncoder2 } = globalObject;
@@ -16361,7 +15750,6 @@ var factory = (env) => {
16361
15750
  } = resolveConfig_default(config);
16362
15751
  const hasMaxContentLength = utils_default.isNumber(maxContentLength) && maxContentLength > -1;
16363
15752
  const hasMaxBodyLength = utils_default.isNumber(maxBodyLength) && maxBodyLength > -1;
16364
- const own2 = (key) => utils_default.hasOwnProp(config, key) ? config[key] : void 0;
16365
15753
  let _fetch = envFetch || fetch;
16366
15754
  responseType = responseType ? (responseType + "").toLowerCase() : "text";
16367
15755
  let composedSignal = composeSignals_default(
@@ -16373,47 +15761,7 @@ var factory = (env) => {
16373
15761
  composedSignal.unsubscribe();
16374
15762
  });
16375
15763
  let requestContentLength;
16376
- let pendingBodyError = null;
16377
- const maxBodyLengthError = () => new AxiosError_default(
16378
- "Request body larger than maxBodyLength limit",
16379
- AxiosError_default.ERR_BAD_REQUEST,
16380
- config,
16381
- request
16382
- );
16383
15764
  try {
16384
- let auth = void 0;
16385
- const configAuth = own2("auth");
16386
- if (configAuth) {
16387
- const username = utils_default.getSafeProp(configAuth, "username") || "";
16388
- const password = utils_default.getSafeProp(configAuth, "password") || "";
16389
- auth = {
16390
- username,
16391
- password
16392
- };
16393
- }
16394
- if (maybeWithAuthCredentials(url2)) {
16395
- const parsedURL = new URL(url2, platform_default.origin);
16396
- if (!auth && (parsedURL.username || parsedURL.password)) {
16397
- const urlUsername = decodeURIComponentSafe2(parsedURL.username);
16398
- const urlPassword = decodeURIComponentSafe2(parsedURL.password);
16399
- auth = {
16400
- username: urlUsername,
16401
- password: urlPassword
16402
- };
16403
- }
16404
- if (parsedURL.username || parsedURL.password) {
16405
- parsedURL.username = "";
16406
- parsedURL.password = "";
16407
- url2 = parsedURL.href;
16408
- }
16409
- }
16410
- if (auth) {
16411
- headers.delete("authorization");
16412
- headers.set(
16413
- "Authorization",
16414
- "Basic " + btoa(encodeUTF82((auth.username || "") + ":" + (auth.password || "")))
16415
- );
16416
- }
16417
15765
  if (hasMaxContentLength && typeof url2 === "string" && url2.startsWith("data:")) {
16418
15766
  const estimated = estimateDataURLDecodedBytes(url2);
16419
15767
  if (estimated > maxContentLength) {
@@ -16426,55 +15774,33 @@ var factory = (env) => {
16426
15774
  }
16427
15775
  }
16428
15776
  if (hasMaxBodyLength && method !== "get" && method !== "head") {
16429
- const outboundLength = await getBodyLength(data);
16430
- if (typeof outboundLength === "number" && isFinite(outboundLength)) {
16431
- requestContentLength = outboundLength;
16432
- if (outboundLength > maxBodyLength) {
16433
- throw maxBodyLengthError();
16434
- }
15777
+ const outboundLength = await resolveBodyLength(headers, data);
15778
+ if (typeof outboundLength === "number" && isFinite(outboundLength) && outboundLength > maxBodyLength) {
15779
+ throw new AxiosError_default(
15780
+ "Request body larger than maxBodyLength limit",
15781
+ AxiosError_default.ERR_BAD_REQUEST,
15782
+ config,
15783
+ request
15784
+ );
16435
15785
  }
16436
15786
  }
16437
- const mustEnforceStreamBody = hasMaxBodyLength && (utils_default.isReadableStream(data) || utils_default.isStream(data));
16438
- const trackRequestStream = (stream4, onProgress, flush) => trackStream(
16439
- stream4,
16440
- DEFAULT_CHUNK_SIZE,
16441
- (loadedBytes) => {
16442
- if (hasMaxBodyLength && loadedBytes > maxBodyLength) {
16443
- throw pendingBodyError = maxBodyLengthError();
16444
- }
16445
- onProgress && onProgress(loadedBytes);
16446
- },
16447
- flush
16448
- );
16449
- if (supportsRequestStream && method !== "get" && method !== "head" && (onUploadProgress || mustEnforceStreamBody)) {
16450
- requestContentLength = requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;
16451
- if (requestContentLength !== 0 || mustEnforceStreamBody) {
16452
- let _request = new Request(url2, {
16453
- method: "POST",
16454
- body: data,
16455
- duplex: "half"
16456
- });
16457
- let contentTypeHeader;
16458
- if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
16459
- headers.setContentType(contentTypeHeader);
16460
- }
16461
- if (_request.body) {
16462
- const [onProgress, flush] = onUploadProgress && progressEventDecorator(
16463
- requestContentLength,
16464
- progressEventReducer(asyncDecorator(onUploadProgress))
16465
- ) || [];
16466
- data = trackRequestStream(_request.body, onProgress, flush);
16467
- }
15787
+ if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = await resolveBodyLength(headers, data)) !== 0) {
15788
+ let _request = new Request(url2, {
15789
+ method: "POST",
15790
+ body: data,
15791
+ duplex: "half"
15792
+ });
15793
+ let contentTypeHeader;
15794
+ if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
15795
+ headers.setContentType(contentTypeHeader);
15796
+ }
15797
+ if (_request.body) {
15798
+ const [onProgress, flush] = progressEventDecorator(
15799
+ requestContentLength,
15800
+ progressEventReducer(asyncDecorator(onUploadProgress))
15801
+ );
15802
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
16468
15803
  }
16469
- } else if (mustEnforceStreamBody && !isRequestSupported && isReadableStreamSupported && method !== "get" && method !== "head") {
16470
- data = trackRequestStream(data);
16471
- } else if (mustEnforceStreamBody && isRequestSupported && !supportsRequestStream && method !== "get" && method !== "head") {
16472
- throw new AxiosError_default(
16473
- "Stream request bodies are not supported by the current fetch implementation",
16474
- AxiosError_default.ERR_NOT_SUPPORT,
16475
- config,
16476
- request
16477
- );
16478
15804
  }
16479
15805
  if (!utils_default.isString(withCredentials)) {
16480
15806
  withCredentials = withCredentials ? "include" : "omit";
@@ -16498,9 +15824,8 @@ var factory = (env) => {
16498
15824
  };
16499
15825
  request = isRequestSupported && new Request(url2, resolvedOptions);
16500
15826
  let response = await (isRequestSupported ? _fetch(request, fetchOptions) : _fetch(url2, resolvedOptions));
16501
- const responseHeaders = AxiosHeaders_default.from(response.headers);
16502
15827
  if (hasMaxContentLength) {
16503
- const declaredLength = utils_default.toFiniteNumber(responseHeaders.getContentLength());
15828
+ const declaredLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
16504
15829
  if (declaredLength != null && declaredLength > maxContentLength) {
16505
15830
  throw new AxiosError_default(
16506
15831
  "maxContentLength size of " + maxContentLength + " exceeded",
@@ -16516,7 +15841,7 @@ var factory = (env) => {
16516
15841
  ["status", "statusText", "headers"].forEach((prop) => {
16517
15842
  options[prop] = response[prop];
16518
15843
  });
16519
- const responseContentLength = utils_default.toFiniteNumber(responseHeaders.getContentLength());
15844
+ const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
16520
15845
  const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
16521
15846
  responseContentLength,
16522
15847
  progressEventReducer(asyncDecorator(onDownloadProgress), true)
@@ -16586,41 +15911,22 @@ var factory = (env) => {
16586
15911
  const canceledError = composedSignal.reason;
16587
15912
  canceledError.config = config;
16588
15913
  request && (canceledError.request = request);
16589
- if (err !== canceledError) {
16590
- Object.defineProperty(canceledError, "cause", {
16591
- __proto__: null,
16592
- value: err,
16593
- writable: true,
16594
- enumerable: false,
16595
- configurable: true
16596
- });
16597
- }
15914
+ err !== canceledError && (canceledError.cause = err);
16598
15915
  throw canceledError;
16599
15916
  }
16600
- if (pendingBodyError) {
16601
- request && !pendingBodyError.request && (pendingBodyError.request = request);
16602
- throw pendingBodyError;
16603
- }
16604
- if (err instanceof AxiosError_default) {
16605
- request && !err.request && (err.request = request);
16606
- throw err;
16607
- }
16608
15917
  if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
16609
- const networkError = new AxiosError_default(
16610
- "Network Error",
16611
- AxiosError_default.ERR_NETWORK,
16612
- config,
16613
- request,
16614
- err && err.response
15918
+ throw Object.assign(
15919
+ new AxiosError_default(
15920
+ "Network Error",
15921
+ AxiosError_default.ERR_NETWORK,
15922
+ config,
15923
+ request,
15924
+ err && err.response
15925
+ ),
15926
+ {
15927
+ cause: err.cause || err
15928
+ }
16615
15929
  );
16616
- Object.defineProperty(networkError, "cause", {
16617
- __proto__: null,
16618
- value: err.cause || err,
16619
- writable: true,
16620
- enumerable: false,
16621
- configurable: true
16622
- });
16623
- throw networkError;
16624
15930
  }
16625
15931
  throw AxiosError_default.from(err, err && err.code, config, request, err && err.response);
16626
15932
  }
@@ -16642,7 +15948,7 @@ var getFetch = (config) => {
16642
15948
  };
16643
15949
  var adapter = getFetch();
16644
15950
 
16645
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js
15951
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/adapters/adapters.js
16646
15952
  var knownAdapters = {
16647
15953
  http: http_default,
16648
15954
  xhr: xhr_default,
@@ -16689,7 +15995,7 @@ function getAdapter(adapters, config) {
16689
15995
  let s = length ? reasons.length > 1 ? "since :\n" + reasons.map(renderReason).join("\n") : " " + renderReason(reasons[0]) : "as no adapter specified";
16690
15996
  throw new AxiosError_default(
16691
15997
  `There is no suitable adapter to dispatch the request ` + s,
16692
- AxiosError_default.ERR_NOT_SUPPORT
15998
+ "ERR_NOT_SUPPORT"
16693
15999
  );
16694
16000
  }
16695
16001
  return adapter2;
@@ -16707,7 +16013,7 @@ var adapters_default = {
16707
16013
  adapters: knownAdapters
16708
16014
  };
16709
16015
 
16710
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js
16016
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/dispatchRequest.js
16711
16017
  function throwIfCancellationRequested(config) {
16712
16018
  if (config.cancelToken) {
16713
16019
  config.cancelToken.throwIfRequested();
@@ -16758,7 +16064,7 @@ function dispatchRequest(config) {
16758
16064
  );
16759
16065
  }
16760
16066
 
16761
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js
16067
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/validator.js
16762
16068
  var validators = {};
16763
16069
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
16764
16070
  validators[type] = function validator(thing) {
@@ -16796,7 +16102,7 @@ validators.spelling = function spelling(correctSpelling) {
16796
16102
  };
16797
16103
  };
16798
16104
  function assertOptions(options, schema, allowUnknown) {
16799
- if (typeof options !== "object" || options === null) {
16105
+ if (typeof options !== "object") {
16800
16106
  throw new AxiosError_default("options must be an object", AxiosError_default.ERR_BAD_OPTION_VALUE);
16801
16107
  }
16802
16108
  const keys = Object.keys(options);
@@ -16825,7 +16131,7 @@ var validator_default = {
16825
16131
  validators
16826
16132
  };
16827
16133
 
16828
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/Axios.js
16134
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/core/Axios.js
16829
16135
  var validators2 = validator_default.validators;
16830
16136
  var Axios = class {
16831
16137
  constructor(instanceConfig) {
@@ -16890,9 +16196,7 @@ var Axios = class {
16890
16196
  silentJSONParsing: validators2.transitional(validators2.boolean),
16891
16197
  forcedJSONParsing: validators2.transitional(validators2.boolean),
16892
16198
  clarifyTimeoutError: validators2.transitional(validators2.boolean),
16893
- legacyInterceptorReqResOrdering: validators2.transitional(validators2.boolean),
16894
- advertiseZstdAcceptEncoding: validators2.transitional(validators2.boolean),
16895
- validateStatusUndefinedResolves: validators2.transitional(validators2.boolean)
16199
+ legacyInterceptorReqResOrdering: validators2.transitional(validators2.boolean)
16896
16200
  },
16897
16201
  false
16898
16202
  );
@@ -16972,31 +16276,16 @@ var Axios = class {
16972
16276
  const onFulfilled = requestInterceptorChain[i++];
16973
16277
  const onRejected = requestInterceptorChain[i++];
16974
16278
  try {
16975
- newConfig = onFulfilled ? onFulfilled(newConfig) : newConfig;
16279
+ newConfig = onFulfilled(newConfig);
16976
16280
  } catch (error) {
16977
- if (!onRejected) {
16978
- promise = Promise.reject(error);
16979
- break;
16980
- }
16981
- try {
16982
- const rejectedResult = onRejected.call(this, error);
16983
- if (utils_default.isThenable(rejectedResult)) {
16984
- promise = Promise.resolve(rejectedResult).then(
16985
- () => dispatchRequest.call(this, newConfig)
16986
- );
16987
- }
16988
- } catch (rejectedError) {
16989
- promise = Promise.reject(rejectedError);
16990
- }
16281
+ onRejected.call(this, error);
16991
16282
  break;
16992
16283
  }
16993
16284
  }
16994
- if (!promise) {
16995
- try {
16996
- promise = dispatchRequest.call(this, newConfig);
16997
- } catch (error) {
16998
- promise = Promise.reject(error);
16999
- }
16285
+ try {
16286
+ promise = dispatchRequest.call(this, newConfig);
16287
+ } catch (error) {
16288
+ return Promise.reject(error);
17000
16289
  }
17001
16290
  i = 0;
17002
16291
  len = responseInterceptorChain.length;
@@ -17007,7 +16296,7 @@ var Axios = class {
17007
16296
  }
17008
16297
  getUri(config) {
17009
16298
  config = mergeConfig(this.defaults, config);
17010
- const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls, config);
16299
+ const fullPath = buildFullPath(config.baseURL, config.url, config.allowAbsoluteUrls);
17011
16300
  return buildURL(fullPath, config.params, config.paramsSerializer);
17012
16301
  }
17013
16302
  };
@@ -17017,7 +16306,7 @@ utils_default.forEach(["delete", "get", "head", "options"], function forEachMeth
17017
16306
  mergeConfig(config || {}, {
17018
16307
  method,
17019
16308
  url: url2,
17020
- data: config && utils_default.hasOwnProp(config, "data") ? config.data : void 0
16309
+ data: (config || {}).data
17021
16310
  })
17022
16311
  );
17023
16312
  };
@@ -17044,7 +16333,7 @@ utils_default.forEach(["post", "put", "patch", "query"], function forEachMethodW
17044
16333
  });
17045
16334
  var Axios_default = Axios;
17046
16335
 
17047
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js
16336
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/cancel/CancelToken.js
17048
16337
  var CancelToken = class _CancelToken {
17049
16338
  constructor(executor) {
17050
16339
  if (typeof executor !== "function") {
@@ -17142,19 +16431,19 @@ var CancelToken = class _CancelToken {
17142
16431
  };
17143
16432
  var CancelToken_default = CancelToken;
17144
16433
 
17145
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js
16434
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/spread.js
17146
16435
  function spread(callback) {
17147
16436
  return function wrap(arr) {
17148
16437
  return callback.apply(null, arr);
17149
16438
  };
17150
16439
  }
17151
16440
 
17152
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js
16441
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/isAxiosError.js
17153
16442
  function isAxiosError(payload) {
17154
16443
  return utils_default.isObject(payload) && payload.isAxiosError === true;
17155
16444
  }
17156
16445
 
17157
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js
16446
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/helpers/HttpStatusCode.js
17158
16447
  var HttpStatusCode = {
17159
16448
  Continue: 100,
17160
16449
  SwitchingProtocols: 101,
@@ -17219,7 +16508,6 @@ var HttpStatusCode = {
17219
16508
  LoopDetected: 508,
17220
16509
  NotExtended: 510,
17221
16510
  NetworkAuthenticationRequired: 511,
17222
- WebServerReturnsAnUnknownError: 520,
17223
16511
  WebServerIsDown: 521,
17224
16512
  ConnectionTimedOut: 522,
17225
16513
  OriginIsUnreachable: 523,
@@ -17232,7 +16520,7 @@ Object.entries(HttpStatusCode).forEach(([key, value]) => {
17232
16520
  });
17233
16521
  var HttpStatusCode_default = HttpStatusCode;
17234
16522
 
17235
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/axios.js
16523
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/lib/axios.js
17236
16524
  function createInstance(defaultConfig) {
17237
16525
  const context = new Axios_default(defaultConfig);
17238
16526
  const instance = bind(Axios_default.prototype.request, context);
@@ -17265,7 +16553,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
17265
16553
  axios.default = axios;
17266
16554
  var axios_default = axios;
17267
16555
 
17268
- // ../../node_modules/.pnpm/axios@1.19.0_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/index.js
16556
+ // ../../node_modules/.pnpm/axios@1.16.1_debug@4.4.3_supports-color@8.1.1__supports-color@8.1.1/node_modules/axios/index.js
17269
16557
  var {
17270
16558
  Axios: Axios2,
17271
16559
  AxiosError: AxiosError2,