@modern-js/bff-generator 3.7.48 → 3.7.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +576 -417
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -18432,9 +18432,9 @@ var require_iterate = __commonJS({
18432
18432
  var async = require_async();
18433
18433
  var abort = require_abort();
18434
18434
  module2.exports = iterate;
18435
- function iterate(list, iterator, state, callback) {
18435
+ function iterate(list, iterator2, state, callback) {
18436
18436
  var key2 = state["keyedList"] ? state["keyedList"][state.index] : state.index;
18437
- state.jobs[key2] = runJob(iterator, key2, list[key2], function(error, output) {
18437
+ state.jobs[key2] = runJob(iterator2, key2, list[key2], function(error, output) {
18438
18438
  if (!(key2 in state.jobs)) {
18439
18439
  return;
18440
18440
  }
@@ -18447,12 +18447,12 @@ var require_iterate = __commonJS({
18447
18447
  callback(error, state.results);
18448
18448
  });
18449
18449
  }
18450
- function runJob(iterator, key2, item, callback) {
18450
+ function runJob(iterator2, key2, item, callback) {
18451
18451
  var aborter;
18452
- if (iterator.length == 2) {
18453
- aborter = iterator(item, async(callback));
18452
+ if (iterator2.length == 2) {
18453
+ aborter = iterator2(item, async(callback));
18454
18454
  } else {
18455
- aborter = iterator(item, key2, async(callback));
18455
+ aborter = iterator2(item, key2, async(callback));
18456
18456
  }
18457
18457
  return aborter;
18458
18458
  }
@@ -18508,10 +18508,10 @@ var require_parallel = __commonJS({
18508
18508
  var initState = require_state();
18509
18509
  var terminator = require_terminator();
18510
18510
  module2.exports = parallel;
18511
- function parallel(list, iterator, callback) {
18511
+ function parallel(list, iterator2, callback) {
18512
18512
  var state = initState(list);
18513
18513
  while (state.index < (state["keyedList"] || list).length) {
18514
- iterate(list, iterator, state, function(error, result) {
18514
+ iterate(list, iterator2, state, function(error, result) {
18515
18515
  if (error) {
18516
18516
  callback(error, result);
18517
18517
  return;
@@ -18538,16 +18538,16 @@ var require_serialOrdered = __commonJS({
18538
18538
  module2.exports = serialOrdered;
18539
18539
  module2.exports.ascending = ascending;
18540
18540
  module2.exports.descending = descending;
18541
- function serialOrdered(list, iterator, sortMethod, callback) {
18541
+ function serialOrdered(list, iterator2, sortMethod, callback) {
18542
18542
  var state = initState(list, sortMethod);
18543
- iterate(list, iterator, state, function iteratorHandler(error, result) {
18543
+ iterate(list, iterator2, state, function iteratorHandler(error, result) {
18544
18544
  if (error) {
18545
18545
  callback(error, result);
18546
18546
  return;
18547
18547
  }
18548
18548
  state.index++;
18549
18549
  if (state.index < (state["keyedList"] || list).length) {
18550
- iterate(list, iterator, state, iteratorHandler);
18550
+ iterate(list, iterator2, state, iteratorHandler);
18551
18551
  return;
18552
18552
  }
18553
18553
  callback(null, state.results);
@@ -18569,8 +18569,8 @@ var require_serial = __commonJS({
18569
18569
  "use strict";
18570
18570
  var serialOrdered = require_serialOrdered();
18571
18571
  module2.exports = serial;
18572
- function serial(list, iterator, callback) {
18573
- return serialOrdered(list, iterator, null, callback);
18572
+ function serial(list, iterator2, callback) {
18573
+ return serialOrdered(list, iterator2, null, callback);
18574
18574
  }
18575
18575
  }
18576
18576
  });
@@ -19410,32 +19410,32 @@ var require_es_set_tostringtag = __commonJS({
19410
19410
  var hasToStringTag = require_shams2()();
19411
19411
  var hasOwn = require_hasown();
19412
19412
  var $TypeError = require_type();
19413
- var toStringTag = hasToStringTag ? Symbol.toStringTag : null;
19413
+ var toStringTag2 = hasToStringTag ? Symbol.toStringTag : null;
19414
19414
  module2.exports = function setToStringTag(object, value) {
19415
19415
  var overrideIfSet = arguments.length > 2 && !!arguments[2] && arguments[2].force;
19416
19416
  var nonConfigurable = arguments.length > 2 && !!arguments[2] && arguments[2].nonConfigurable;
19417
19417
  if (typeof overrideIfSet !== "undefined" && typeof overrideIfSet !== "boolean" || typeof nonConfigurable !== "undefined" && typeof nonConfigurable !== "boolean") {
19418
19418
  throw new $TypeError("if provided, the `overrideIfSet` and `nonConfigurable` options must be booleans");
19419
19419
  }
19420
- if (toStringTag && (overrideIfSet || !hasOwn(object, toStringTag))) {
19420
+ if (toStringTag2 && (overrideIfSet || !hasOwn(object, toStringTag2))) {
19421
19421
  if ($defineProperty) {
19422
- $defineProperty(object, toStringTag, {
19422
+ $defineProperty(object, toStringTag2, {
19423
19423
  configurable: !nonConfigurable,
19424
19424
  enumerable: false,
19425
19425
  value,
19426
19426
  writable: false
19427
19427
  });
19428
19428
  } else {
19429
- object[toStringTag] = value;
19429
+ object[toStringTag2] = value;
19430
19430
  }
19431
19431
  }
19432
19432
  };
19433
19433
  }
19434
19434
  });
19435
19435
 
19436
- // ../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/populate.js
19436
+ // ../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.js
19437
19437
  var require_populate = __commonJS({
19438
- "../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/populate.js"(exports, module2) {
19438
+ "../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/populate.js"(exports, module2) {
19439
19439
  "use strict";
19440
19440
  module2.exports = function(dst, src) {
19441
19441
  Object.keys(src).forEach(function(prop) {
@@ -19446,9 +19446,9 @@ var require_populate = __commonJS({
19446
19446
  }
19447
19447
  });
19448
19448
 
19449
- // ../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js
19449
+ // ../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.js
19450
19450
  var require_form_data = __commonJS({
19451
- "../../../../node_modules/.pnpm/form-data@4.0.2/node_modules/form-data/lib/form_data.js"(exports, module2) {
19451
+ "../../../../node_modules/.pnpm/form-data@4.0.4/node_modules/form-data/lib/form_data.js"(exports, module2) {
19452
19452
  "use strict";
19453
19453
  var CombinedStream = require_combined_stream();
19454
19454
  var util4 = require("util");
@@ -19458,12 +19458,12 @@ var require_form_data = __commonJS({
19458
19458
  var parseUrl = require("url").parse;
19459
19459
  var fs2 = require("fs");
19460
19460
  var Stream = require("stream").Stream;
19461
+ var crypto2 = require("crypto");
19461
19462
  var mime = require_mime_types();
19462
19463
  var asynckit = require_asynckit();
19463
19464
  var setToStringTag = require_es_set_tostringtag();
19465
+ var hasOwn = require_hasown();
19464
19466
  var populate = require_populate();
19465
- module2.exports = FormData3;
19466
- util4.inherits(FormData3, CombinedStream);
19467
19467
  function FormData3(options) {
19468
19468
  if (!(this instanceof FormData3)) {
19469
19469
  return new FormData3(options);
@@ -19477,16 +19477,17 @@ var require_form_data = __commonJS({
19477
19477
  this[option] = options[option];
19478
19478
  }
19479
19479
  }
19480
+ util4.inherits(FormData3, CombinedStream);
19480
19481
  FormData3.LINE_BREAK = "\r\n";
19481
19482
  FormData3.DEFAULT_CONTENT_TYPE = "application/octet-stream";
19482
19483
  FormData3.prototype.append = function(field, value, options) {
19483
19484
  options = options || {};
19484
- if (typeof options == "string") {
19485
+ if (typeof options === "string") {
19485
19486
  options = { filename: options };
19486
19487
  }
19487
19488
  var append2 = CombinedStream.prototype.append.bind(this);
19488
- if (typeof value == "number") {
19489
- value = "" + value;
19489
+ if (typeof value === "number" || value == null) {
19490
+ value = String(value);
19490
19491
  }
19491
19492
  if (Array.isArray(value)) {
19492
19493
  this._error(new Error("Arrays are not supported."));
@@ -19502,7 +19503,7 @@ var require_form_data = __commonJS({
19502
19503
  FormData3.prototype._trackLength = function(header, value, options) {
19503
19504
  var valueLength = 0;
19504
19505
  if (options.knownLength != null) {
19505
- valueLength += +options.knownLength;
19506
+ valueLength += Number(options.knownLength);
19506
19507
  } else if (Buffer.isBuffer(value)) {
19507
19508
  valueLength = value.length;
19508
19509
  } else if (typeof value === "string") {
@@ -19510,7 +19511,7 @@ var require_form_data = __commonJS({
19510
19511
  }
19511
19512
  this._valueLength += valueLength;
19512
19513
  this._overheadLength += Buffer.byteLength(header) + FormData3.LINE_BREAK.length;
19513
- if (!value || !value.path && !(value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) && !(value instanceof Stream)) {
19514
+ if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream)) {
19514
19515
  return;
19515
19516
  }
19516
19517
  if (!options.knownLength) {
@@ -19518,26 +19519,25 @@ var require_form_data = __commonJS({
19518
19519
  }
19519
19520
  };
19520
19521
  FormData3.prototype._lengthRetriever = function(value, callback) {
19521
- if (Object.prototype.hasOwnProperty.call(value, "fd")) {
19522
+ if (hasOwn(value, "fd")) {
19522
19523
  if (value.end != void 0 && value.end != Infinity && value.start != void 0) {
19523
19524
  callback(null, value.end + 1 - (value.start ? value.start : 0));
19524
19525
  } else {
19525
19526
  fs2.stat(value.path, function(err, stat) {
19526
- var fileSize;
19527
19527
  if (err) {
19528
19528
  callback(err);
19529
19529
  return;
19530
19530
  }
19531
- fileSize = stat.size - (value.start ? value.start : 0);
19531
+ var fileSize = stat.size - (value.start ? value.start : 0);
19532
19532
  callback(null, fileSize);
19533
19533
  });
19534
19534
  }
19535
- } else if (Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
19536
- callback(null, +value.headers["content-length"]);
19537
- } else if (Object.prototype.hasOwnProperty.call(value, "httpModule")) {
19535
+ } else if (hasOwn(value, "httpVersion")) {
19536
+ callback(null, Number(value.headers["content-length"]));
19537
+ } else if (hasOwn(value, "httpModule")) {
19538
19538
  value.on("response", function(response) {
19539
19539
  value.pause();
19540
- callback(null, +response.headers["content-length"]);
19540
+ callback(null, Number(response.headers["content-length"]));
19541
19541
  });
19542
19542
  value.resume();
19543
19543
  } else {
@@ -19545,7 +19545,7 @@ var require_form_data = __commonJS({
19545
19545
  }
19546
19546
  };
19547
19547
  FormData3.prototype._multiPartHeader = function(field, value, options) {
19548
- if (typeof options.header == "string") {
19548
+ if (typeof options.header === "string") {
19549
19549
  return options.header;
19550
19550
  }
19551
19551
  var contentDisposition = this._getContentDisposition(value, options);
@@ -19557,12 +19557,12 @@ var require_form_data = __commonJS({
19557
19557
  // if no content type. allow it to be empty array
19558
19558
  "Content-Type": [].concat(contentType || [])
19559
19559
  };
19560
- if (typeof options.header == "object") {
19560
+ if (typeof options.header === "object") {
19561
19561
  populate(headers, options.header);
19562
19562
  }
19563
19563
  var header;
19564
19564
  for (var prop in headers) {
19565
- if (Object.prototype.hasOwnProperty.call(headers, prop)) {
19565
+ if (hasOwn(headers, prop)) {
19566
19566
  header = headers[prop];
19567
19567
  if (header == null) {
19568
19568
  continue;
@@ -19578,34 +19578,33 @@ var require_form_data = __commonJS({
19578
19578
  return "--" + this.getBoundary() + FormData3.LINE_BREAK + contents + FormData3.LINE_BREAK;
19579
19579
  };
19580
19580
  FormData3.prototype._getContentDisposition = function(value, options) {
19581
- var filename, contentDisposition;
19581
+ var filename;
19582
19582
  if (typeof options.filepath === "string") {
19583
19583
  filename = path6.normalize(options.filepath).replace(/\\/g, "/");
19584
- } else if (options.filename || value.name || value.path) {
19585
- filename = path6.basename(options.filename || value.name || value.path);
19586
- } else if (value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
19584
+ } else if (options.filename || value && (value.name || value.path)) {
19585
+ filename = path6.basename(options.filename || value && (value.name || value.path));
19586
+ } else if (value && value.readable && hasOwn(value, "httpVersion")) {
19587
19587
  filename = path6.basename(value.client._httpMessage.path || "");
19588
19588
  }
19589
19589
  if (filename) {
19590
- contentDisposition = 'filename="' + filename + '"';
19590
+ return 'filename="' + filename + '"';
19591
19591
  }
19592
- return contentDisposition;
19593
19592
  };
19594
19593
  FormData3.prototype._getContentType = function(value, options) {
19595
19594
  var contentType = options.contentType;
19596
- if (!contentType && value.name) {
19595
+ if (!contentType && value && value.name) {
19597
19596
  contentType = mime.lookup(value.name);
19598
19597
  }
19599
- if (!contentType && value.path) {
19598
+ if (!contentType && value && value.path) {
19600
19599
  contentType = mime.lookup(value.path);
19601
19600
  }
19602
- if (!contentType && value.readable && Object.prototype.hasOwnProperty.call(value, "httpVersion")) {
19601
+ if (!contentType && value && value.readable && hasOwn(value, "httpVersion")) {
19603
19602
  contentType = value.headers["content-type"];
19604
19603
  }
19605
19604
  if (!contentType && (options.filepath || options.filename)) {
19606
19605
  contentType = mime.lookup(options.filepath || options.filename);
19607
19606
  }
19608
- if (!contentType && typeof value == "object") {
19607
+ if (!contentType && value && typeof value === "object") {
19609
19608
  contentType = FormData3.DEFAULT_CONTENT_TYPE;
19610
19609
  }
19611
19610
  return contentType;
@@ -19629,13 +19628,16 @@ var require_form_data = __commonJS({
19629
19628
  "content-type": "multipart/form-data; boundary=" + this.getBoundary()
19630
19629
  };
19631
19630
  for (header in userHeaders) {
19632
- if (Object.prototype.hasOwnProperty.call(userHeaders, header)) {
19631
+ if (hasOwn(userHeaders, header)) {
19633
19632
  formHeaders[header.toLowerCase()] = userHeaders[header];
19634
19633
  }
19635
19634
  }
19636
19635
  return formHeaders;
19637
19636
  };
19638
19637
  FormData3.prototype.setBoundary = function(boundary) {
19638
+ if (typeof boundary !== "string") {
19639
+ throw new TypeError("FormData boundary must be a string");
19640
+ }
19639
19641
  this._boundary = boundary;
19640
19642
  };
19641
19643
  FormData3.prototype.getBoundary = function() {
@@ -19662,11 +19664,7 @@ var require_form_data = __commonJS({
19662
19664
  return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
19663
19665
  };
19664
19666
  FormData3.prototype._generateBoundary = function() {
19665
- var boundary = "--------------------------";
19666
- for (var i = 0; i < 24; i++) {
19667
- boundary += Math.floor(Math.random() * 10).toString(16);
19668
- }
19669
- this._boundary = boundary;
19667
+ this._boundary = "--------------------------" + crypto2.randomBytes(12).toString("hex");
19670
19668
  };
19671
19669
  FormData3.prototype.getLengthSync = function() {
19672
19670
  var knownLength = this._overheadLength + this._valueLength;
@@ -19706,8 +19704,10 @@ var require_form_data = __commonJS({
19706
19704
  });
19707
19705
  };
19708
19706
  FormData3.prototype.submit = function(params, cb) {
19709
- var request, options, defaults2 = { method: "post" };
19710
- if (typeof params == "string") {
19707
+ var request;
19708
+ var options;
19709
+ var defaults2 = { method: "post" };
19710
+ if (typeof params === "string") {
19711
19711
  params = parseUrl(params);
19712
19712
  options = populate({
19713
19713
  port: params.port,
@@ -19718,11 +19718,11 @@ var require_form_data = __commonJS({
19718
19718
  } else {
19719
19719
  options = populate(params, defaults2);
19720
19720
  if (!options.port) {
19721
- options.port = options.protocol == "https:" ? 443 : 80;
19721
+ options.port = options.protocol === "https:" ? 443 : 80;
19722
19722
  }
19723
19723
  }
19724
19724
  options.headers = this.getHeaders(params.headers);
19725
- if (options.protocol == "https:") {
19725
+ if (options.protocol === "https:") {
19726
19726
  request = https2.request(options);
19727
19727
  } else {
19728
19728
  request = http2.request(options);
@@ -19761,6 +19761,7 @@ var require_form_data = __commonJS({
19761
19761
  return "[object FormData]";
19762
19762
  };
19763
19763
  setToStringTag(FormData3, "FormData");
19764
+ module2.exports = FormData3;
19764
19765
  }
19765
19766
  });
19766
19767
 
@@ -19834,9 +19835,9 @@ var require_proxy_from_env = __commonJS({
19834
19835
  }
19835
19836
  });
19836
19837
 
19837
- // ../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/debug.js
19838
+ // ../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/debug.js
19838
19839
  var require_debug2 = __commonJS({
19839
- "../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/debug.js"(exports, module2) {
19840
+ "../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/debug.js"(exports, module2) {
19840
19841
  "use strict";
19841
19842
  var debug;
19842
19843
  module2.exports = function() {
@@ -19855,9 +19856,9 @@ var require_debug2 = __commonJS({
19855
19856
  }
19856
19857
  });
19857
19858
 
19858
- // ../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/index.js
19859
+ // ../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/index.js
19859
19860
  var require_follow_redirects = __commonJS({
19860
- "../../../../node_modules/.pnpm/follow-redirects@1.15.9_debug@4.3.7/node_modules/follow-redirects/index.js"(exports, module2) {
19861
+ "../../../../node_modules/.pnpm/follow-redirects@1.15.11_debug@4.3.7/node_modules/follow-redirects/index.js"(exports, module2) {
19861
19862
  "use strict";
19862
19863
  var url2 = require("url");
19863
19864
  var URL2 = url2.URL;
@@ -19869,7 +19870,7 @@ var require_follow_redirects = __commonJS({
19869
19870
  (function detectUnsupportedEnvironment() {
19870
19871
  var looksLikeNode = typeof process !== "undefined";
19871
19872
  var looksLikeBrowser = typeof window !== "undefined" && typeof document !== "undefined";
19872
- var looksLikeV8 = isFunction3(Error.captureStackTrace);
19873
+ var looksLikeV8 = isFunction4(Error.captureStackTrace);
19873
19874
  if (!looksLikeNode && (looksLikeBrowser || !looksLikeV8)) {
19874
19875
  console.warn("The follow-redirects package should be excluded from browser builds.");
19875
19876
  }
@@ -19964,7 +19965,7 @@ var require_follow_redirects = __commonJS({
19964
19965
  if (!isString5(data) && !isBuffer2(data)) {
19965
19966
  throw new TypeError("data should be a string, Buffer or Uint8Array");
19966
19967
  }
19967
- if (isFunction3(encoding)) {
19968
+ if (isFunction4(encoding)) {
19968
19969
  callback = encoding;
19969
19970
  encoding = null;
19970
19971
  }
@@ -19984,10 +19985,10 @@ var require_follow_redirects = __commonJS({
19984
19985
  }
19985
19986
  };
19986
19987
  RedirectableRequest.prototype.end = function(data, encoding, callback) {
19987
- if (isFunction3(data)) {
19988
+ if (isFunction4(data)) {
19988
19989
  callback = data;
19989
19990
  data = encoding = null;
19990
- } else if (isFunction3(encoding)) {
19991
+ } else if (isFunction4(encoding)) {
19991
19992
  callback = encoding;
19992
19993
  encoding = null;
19993
19994
  }
@@ -20188,7 +20189,7 @@ var require_follow_redirects = __commonJS({
20188
20189
  if (redirectUrl.protocol !== currentUrlParts.protocol && redirectUrl.protocol !== "https:" || redirectUrl.host !== currentHost && !isSubdomain(redirectUrl.host, currentHost)) {
20189
20190
  removeMatchingHeaders(/^(?:(?:proxy-)?authorization|cookie)$/i, this._options.headers);
20190
20191
  }
20191
- if (isFunction3(beforeRedirect)) {
20192
+ if (isFunction4(beforeRedirect)) {
20192
20193
  var responseDetails = {
20193
20194
  headers: response.headers,
20194
20195
  statusCode
@@ -20223,7 +20224,7 @@ var require_follow_redirects = __commonJS({
20223
20224
  options = validateUrl(input);
20224
20225
  input = { protocol };
20225
20226
  }
20226
- if (isFunction3(options)) {
20227
+ if (isFunction4(options)) {
20227
20228
  callback = options;
20228
20229
  options = null;
20229
20230
  }
@@ -20303,7 +20304,7 @@ var require_follow_redirects = __commonJS({
20303
20304
  }
20304
20305
  function createErrorType(code, message, baseClass) {
20305
20306
  function CustomError(properties) {
20306
- if (isFunction3(Error.captureStackTrace)) {
20307
+ if (isFunction4(Error.captureStackTrace)) {
20307
20308
  Error.captureStackTrace(this, this.constructor);
20308
20309
  }
20309
20310
  Object.assign(this, properties || {});
@@ -20338,7 +20339,7 @@ var require_follow_redirects = __commonJS({
20338
20339
  function isString5(value) {
20339
20340
  return typeof value === "string" || value instanceof String;
20340
20341
  }
20341
- function isFunction3(value) {
20342
+ function isFunction4(value) {
20342
20343
  return typeof value === "function";
20343
20344
  }
20344
20345
  function isBuffer2(value) {
@@ -23960,7 +23961,7 @@ var require_async_iterator = __commonJS({
23960
23961
  }), _Object$setPrototypeO), AsyncIteratorPrototype);
23961
23962
  var createReadableStreamAsyncIterator = function createReadableStreamAsyncIterator2(stream4) {
23962
23963
  var _Object$create;
23963
- var iterator = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
23964
+ var iterator2 = Object.create(ReadableStreamAsyncIteratorPrototype, (_Object$create = {}, _defineProperty(_Object$create, kStream, {
23964
23965
  value: stream4,
23965
23966
  writable: true
23966
23967
  }), _defineProperty(_Object$create, kLastResolve, {
@@ -23977,43 +23978,43 @@ var require_async_iterator = __commonJS({
23977
23978
  writable: true
23978
23979
  }), _defineProperty(_Object$create, kHandlePromise, {
23979
23980
  value: function value(resolve, reject) {
23980
- var data = iterator[kStream].read();
23981
+ var data = iterator2[kStream].read();
23981
23982
  if (data) {
23982
- iterator[kLastPromise] = null;
23983
- iterator[kLastResolve] = null;
23984
- iterator[kLastReject] = null;
23983
+ iterator2[kLastPromise] = null;
23984
+ iterator2[kLastResolve] = null;
23985
+ iterator2[kLastReject] = null;
23985
23986
  resolve(createIterResult(data, false));
23986
23987
  } else {
23987
- iterator[kLastResolve] = resolve;
23988
- iterator[kLastReject] = reject;
23988
+ iterator2[kLastResolve] = resolve;
23989
+ iterator2[kLastReject] = reject;
23989
23990
  }
23990
23991
  },
23991
23992
  writable: true
23992
23993
  }), _Object$create));
23993
- iterator[kLastPromise] = null;
23994
+ iterator2[kLastPromise] = null;
23994
23995
  finished(stream4, function(err) {
23995
23996
  if (err && err.code !== "ERR_STREAM_PREMATURE_CLOSE") {
23996
- var reject = iterator[kLastReject];
23997
+ var reject = iterator2[kLastReject];
23997
23998
  if (reject !== null) {
23998
- iterator[kLastPromise] = null;
23999
- iterator[kLastResolve] = null;
24000
- iterator[kLastReject] = null;
23999
+ iterator2[kLastPromise] = null;
24000
+ iterator2[kLastResolve] = null;
24001
+ iterator2[kLastReject] = null;
24001
24002
  reject(err);
24002
24003
  }
24003
- iterator[kError] = err;
24004
+ iterator2[kError] = err;
24004
24005
  return;
24005
24006
  }
24006
- var resolve = iterator[kLastResolve];
24007
+ var resolve = iterator2[kLastResolve];
24007
24008
  if (resolve !== null) {
24008
- iterator[kLastPromise] = null;
24009
- iterator[kLastResolve] = null;
24010
- iterator[kLastReject] = null;
24009
+ iterator2[kLastPromise] = null;
24010
+ iterator2[kLastResolve] = null;
24011
+ iterator2[kLastReject] = null;
24011
24012
  resolve(createIterResult(void 0, true));
24012
24013
  }
24013
- iterator[kEnded] = true;
24014
+ iterator2[kEnded] = true;
24014
24015
  });
24015
- stream4.on("readable", onReadable.bind(null, iterator));
24016
- return iterator;
24016
+ stream4.on("readable", onReadable.bind(null, iterator2));
24017
+ return iterator2;
24017
24018
  };
24018
24019
  module2.exports = createReadableStreamAsyncIterator;
24019
24020
  }
@@ -24100,13 +24101,13 @@ var require_from = __commonJS({
24100
24101
  }
24101
24102
  var ERR_INVALID_ARG_TYPE = require_errors().codes.ERR_INVALID_ARG_TYPE;
24102
24103
  function from(Readable2, iterable, opts) {
24103
- var iterator;
24104
+ var iterator2;
24104
24105
  if (iterable && typeof iterable.next === "function") {
24105
- iterator = iterable;
24106
+ iterator2 = iterable;
24106
24107
  } else if (iterable && iterable[Symbol.asyncIterator])
24107
- iterator = iterable[Symbol.asyncIterator]();
24108
+ iterator2 = iterable[Symbol.asyncIterator]();
24108
24109
  else if (iterable && iterable[Symbol.iterator])
24109
- iterator = iterable[Symbol.iterator]();
24110
+ iterator2 = iterable[Symbol.iterator]();
24110
24111
  else
24111
24112
  throw new ERR_INVALID_ARG_TYPE("iterable", ["Iterable"], iterable);
24112
24113
  var readable = new Readable2(_objectSpread({
@@ -24125,7 +24126,7 @@ var require_from = __commonJS({
24125
24126
  function _next2() {
24126
24127
  _next2 = _asyncToGenerator(function* () {
24127
24128
  try {
24128
- var _yield$iterator$next = yield iterator.next(), value = _yield$iterator$next.value, done = _yield$iterator$next.done;
24129
+ var _yield$iterator$next = yield iterator2.next(), value = _yield$iterator$next.value, done = _yield$iterator$next.done;
24129
24130
  if (done) {
24130
24131
  readable.push(null);
24131
24132
  } else if (readable.push(yield value)) {
@@ -26654,15 +26655,15 @@ var require_utils4 = __commonJS({
26654
26655
  }
26655
26656
  var toString7 = Object.prototype.toString;
26656
26657
  exports.toString = toString7;
26657
- var isFunction3 = function isFunction4(value) {
26658
+ var isFunction4 = function isFunction5(value) {
26658
26659
  return typeof value === "function";
26659
26660
  };
26660
- if (isFunction3(/x/)) {
26661
- exports.isFunction = isFunction3 = function(value) {
26661
+ if (isFunction4(/x/)) {
26662
+ exports.isFunction = isFunction4 = function(value) {
26662
26663
  return typeof value === "function" && toString7.call(value) === "[object Function]";
26663
26664
  };
26664
26665
  }
26665
- exports.isFunction = isFunction3;
26666
+ exports.isFunction = isFunction4;
26666
26667
  var isArray4 = Array.isArray || function(value) {
26667
26668
  return value && typeof value === "object" ? toString7.call(value) === "[object Array]" : false;
26668
26669
  };
@@ -26850,8 +26851,8 @@ var require_each = __commonJS({
26850
26851
  }
26851
26852
  } else if (typeof Symbol === "function" && context[Symbol.iterator]) {
26852
26853
  var newContext = [];
26853
- var iterator = context[Symbol.iterator]();
26854
- for (var it = iterator.next(); !it.done; it = iterator.next()) {
26854
+ var iterator2 = context[Symbol.iterator]();
26855
+ for (var it = iterator2.next(); !it.done; it = iterator2.next()) {
26855
26856
  newContext.push(it.value);
26856
26857
  }
26857
26858
  context = newContext;
@@ -32539,12 +32540,12 @@ var require_lodash = __commonJS({
32539
32540
  }
32540
32541
  var isArray4 = Array.isArray;
32541
32542
  function isArrayLike(value) {
32542
- return value != null && isLength(value.length) && !isFunction3(value);
32543
+ return value != null && isLength(value.length) && !isFunction4(value);
32543
32544
  }
32544
32545
  function isArrayLikeObject(value) {
32545
32546
  return isObjectLike(value) && isArrayLike(value);
32546
32547
  }
32547
- function isFunction3(value) {
32548
+ function isFunction4(value) {
32548
32549
  var tag = isObject5(value) ? objectToString.call(value) : "";
32549
32550
  return tag == funcTag || tag == genTag;
32550
32551
  }
@@ -32606,7 +32607,7 @@ var require_lodash2 = __commonJS({
32606
32607
  function objectToString(value) {
32607
32608
  return nativeObjectToString.call(value);
32608
32609
  }
32609
- function isFunction3(value) {
32610
+ function isFunction4(value) {
32610
32611
  if (!isObject5(value)) {
32611
32612
  return false;
32612
32613
  }
@@ -32617,7 +32618,7 @@ var require_lodash2 = __commonJS({
32617
32618
  var type = typeof value;
32618
32619
  return value != null && (type == "object" || type == "function");
32619
32620
  }
32620
- module2.exports = isFunction3;
32621
+ module2.exports = isFunction4;
32621
32622
  }
32622
32623
  });
32623
32624
 
@@ -33023,7 +33024,7 @@ var require_lodash5 = __commonJS({
33023
33024
  if (!isObject5(value) || isMasked(value)) {
33024
33025
  return false;
33025
33026
  }
33026
- var pattern = isFunction3(value) ? reIsNative : reIsHostCtor;
33027
+ var pattern = isFunction4(value) ? reIsNative : reIsHostCtor;
33027
33028
  return pattern.test(toSource(value));
33028
33029
  }
33029
33030
  function baseIsTypedArray(value) {
@@ -33087,7 +33088,7 @@ var require_lodash5 = __commonJS({
33087
33088
  newValue = objValue;
33088
33089
  if (isArguments(objValue)) {
33089
33090
  newValue = toPlainObject(objValue);
33090
- } else if (!isObject5(objValue) || isFunction3(objValue)) {
33091
+ } else if (!isObject5(objValue) || isFunction4(objValue)) {
33091
33092
  newValue = initCloneObject(srcValue);
33092
33093
  }
33093
33094
  } else {
@@ -33315,13 +33316,13 @@ var require_lodash5 = __commonJS({
33315
33316
  };
33316
33317
  var isArray4 = Array.isArray;
33317
33318
  function isArrayLike(value) {
33318
- return value != null && isLength(value.length) && !isFunction3(value);
33319
+ return value != null && isLength(value.length) && !isFunction4(value);
33319
33320
  }
33320
33321
  function isArrayLikeObject(value) {
33321
33322
  return isObjectLike(value) && isArrayLike(value);
33322
33323
  }
33323
33324
  var isBuffer2 = nativeIsBuffer || stubFalse;
33324
- function isFunction3(value) {
33325
+ function isFunction4(value) {
33325
33326
  if (!isObject5(value)) {
33326
33327
  return false;
33327
33328
  }
@@ -34299,14 +34300,14 @@ var require_isFunction = __commonJS({
34299
34300
  var funcTag = "[object Function]";
34300
34301
  var genTag = "[object GeneratorFunction]";
34301
34302
  var proxyTag = "[object Proxy]";
34302
- function isFunction3(value) {
34303
+ function isFunction4(value) {
34303
34304
  if (!isObject5(value)) {
34304
34305
  return false;
34305
34306
  }
34306
34307
  var tag = baseGetTag(value);
34307
34308
  return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
34308
34309
  }
34309
- module2.exports = isFunction3;
34310
+ module2.exports = isFunction4;
34310
34311
  }
34311
34312
  });
34312
34313
 
@@ -34363,7 +34364,7 @@ var require_toSource = __commonJS({
34363
34364
  var require_baseIsNative = __commonJS({
34364
34365
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/_baseIsNative.js"(exports, module2) {
34365
34366
  "use strict";
34366
- var isFunction3 = require_isFunction();
34367
+ var isFunction4 = require_isFunction();
34367
34368
  var isMasked = require_isMasked();
34368
34369
  var isObject5 = require_isObject();
34369
34370
  var toSource = require_toSource();
@@ -34380,7 +34381,7 @@ var require_baseIsNative = __commonJS({
34380
34381
  if (!isObject5(value) || isMasked(value)) {
34381
34382
  return false;
34382
34383
  }
34383
- var pattern = isFunction3(value) ? reIsNative : reIsHostCtor;
34384
+ var pattern = isFunction4(value) ? reIsNative : reIsHostCtor;
34384
34385
  return pattern.test(toSource(value));
34385
34386
  }
34386
34387
  module2.exports = baseIsNative;
@@ -35109,10 +35110,10 @@ var require_isFunction2 = __commonJS({
35109
35110
  "use strict";
35110
35111
  Object.defineProperty(exports, "__esModule", { value: true });
35111
35112
  exports.isFunction = void 0;
35112
- function isFunction3(value) {
35113
+ function isFunction4(value) {
35113
35114
  return typeof value === "function";
35114
35115
  }
35115
- exports.isFunction = isFunction3;
35116
+ exports.isFunction = isFunction4;
35116
35117
  }
35117
35118
  });
35118
35119
 
@@ -37842,10 +37843,10 @@ var require_isIterable = __commonJS({
37842
37843
  exports.isIterable = void 0;
37843
37844
  var iterator_1 = require_iterator2();
37844
37845
  var isFunction_1 = require_isFunction2();
37845
- function isIterable(input) {
37846
+ function isIterable2(input) {
37846
37847
  return isFunction_1.isFunction(input === null || input === void 0 ? void 0 : input[iterator_1.iterator]);
37847
37848
  }
37848
- exports.isIterable = isIterable;
37849
+ exports.isIterable = isIterable2;
37849
37850
  }
37850
37851
  });
37851
37852
 
@@ -38480,15 +38481,15 @@ var require_scheduleIterable = __commonJS({
38480
38481
  var executeSchedule_1 = require_executeSchedule();
38481
38482
  function scheduleIterable(input, scheduler) {
38482
38483
  return new Observable_1.Observable(function(subscriber) {
38483
- var iterator;
38484
+ var iterator2;
38484
38485
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38485
- iterator = input[iterator_1.iterator]();
38486
+ iterator2 = input[iterator_1.iterator]();
38486
38487
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38487
38488
  var _a2;
38488
38489
  var value;
38489
38490
  var done;
38490
38491
  try {
38491
- _a2 = iterator.next(), value = _a2.value, done = _a2.done;
38492
+ _a2 = iterator2.next(), value = _a2.value, done = _a2.done;
38492
38493
  } catch (err) {
38493
38494
  subscriber.error(err);
38494
38495
  return;
@@ -38501,7 +38502,7 @@ var require_scheduleIterable = __commonJS({
38501
38502
  }, 0, true);
38502
38503
  });
38503
38504
  return function() {
38504
- return isFunction_1.isFunction(iterator === null || iterator === void 0 ? void 0 : iterator.return) && iterator.return();
38505
+ return isFunction_1.isFunction(iterator2 === null || iterator2 === void 0 ? void 0 : iterator2.return) && iterator2.return();
38505
38506
  };
38506
38507
  });
38507
38508
  }
@@ -38523,9 +38524,9 @@ var require_scheduleAsyncIterable = __commonJS({
38523
38524
  }
38524
38525
  return new Observable_1.Observable(function(subscriber) {
38525
38526
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38526
- var iterator = input[Symbol.asyncIterator]();
38527
+ var iterator2 = input[Symbol.asyncIterator]();
38527
38528
  executeSchedule_1.executeSchedule(subscriber, scheduler, function() {
38528
- iterator.next().then(function(result) {
38529
+ iterator2.next().then(function(result) {
38529
38530
  if (result.done) {
38530
38531
  subscriber.complete();
38531
38532
  } else {
@@ -45603,10 +45604,10 @@ var require_isLength = __commonJS({
45603
45604
  var require_isArrayLike2 = __commonJS({
45604
45605
  "../../../../node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/isArrayLike.js"(exports, module2) {
45605
45606
  "use strict";
45606
- var isFunction3 = require_isFunction();
45607
+ var isFunction4 = require_isFunction();
45607
45608
  var isLength = require_isLength();
45608
45609
  function isArrayLike(value) {
45609
- return value != null && isLength(value.length) && !isFunction3(value);
45610
+ return value != null && isLength(value.length) && !isFunction4(value);
45610
45611
  }
45611
45612
  module2.exports = isArrayLike;
45612
45613
  }
@@ -59075,15 +59076,15 @@ var require_inquirer = __commonJS({
59075
59076
  var require_esprima = __commonJS({
59076
59077
  "../../../../node_modules/.pnpm/esprima@4.0.1/node_modules/esprima/dist/esprima.js"(exports, module2) {
59077
59078
  "use strict";
59078
- (function webpackUniversalModuleDefinition(root2, factory) {
59079
+ (function webpackUniversalModuleDefinition(root2, factory2) {
59079
59080
  if (typeof exports === "object" && typeof module2 === "object")
59080
- module2.exports = factory();
59081
+ module2.exports = factory2();
59081
59082
  else if (typeof define === "function" && define.amd)
59082
- define([], factory);
59083
+ define([], factory2);
59083
59084
  else if (typeof exports === "object")
59084
- exports["esprima"] = factory();
59085
+ exports["esprima"] = factory2();
59085
59086
  else
59086
- root2["esprima"] = factory();
59087
+ root2["esprima"] = factory2();
59087
59088
  })(exports, function() {
59088
59089
  return (
59089
59090
  /******/
@@ -65363,10 +65364,10 @@ var require_util3 = __commonJS({
65363
65364
  return objectToString(e) === "[object Error]" || e instanceof Error;
65364
65365
  }
65365
65366
  exports.isError = isError;
65366
- function isFunction3(arg) {
65367
+ function isFunction4(arg) {
65367
65368
  return typeof arg === "function";
65368
65369
  }
65369
- exports.isFunction = isFunction3;
65370
+ exports.isFunction = isFunction4;
65370
65371
  function isPrimitive(arg) {
65371
65372
  return arg === null || typeof arg === "boolean" || typeof arg === "number" || typeof arg === "string" || typeof arg === "symbol" || // ES6 symbol
65372
65373
  typeof arg === "undefined";
@@ -66763,7 +66764,7 @@ var require_stringify = __commonJS({
66763
66764
  var {
66764
66765
  isArray: isArray4,
66765
66766
  isObject: isObject5,
66766
- isFunction: isFunction3,
66767
+ isFunction: isFunction4,
66767
66768
  isNumber: isNumber2,
66768
66769
  isString: isString5
66769
66770
  } = require_util3();
@@ -66906,10 +66907,10 @@ var require_stringify = __commonJS({
66906
66907
  };
66907
66908
  function stringify4(key2, holder, gap) {
66908
66909
  let value = holder[key2];
66909
- if (isObject5(value) && isFunction3(value.toJSON)) {
66910
+ if (isObject5(value) && isFunction4(value.toJSON)) {
66910
66911
  value = value.toJSON(key2);
66911
66912
  }
66912
- if (isFunction3(replacer)) {
66913
+ if (isFunction4(replacer)) {
66913
66914
  value = replacer.call(holder, key2, value);
66914
66915
  }
66915
66916
  switch (typeof value) {
@@ -66944,7 +66945,7 @@ var require_stringify = __commonJS({
66944
66945
  if (!indent_) {
66945
66946
  return JSON.stringify(value, replacer_);
66946
66947
  }
66947
- if (!isFunction3(replacer_) && !isArray4(replacer_)) {
66948
+ if (!isFunction4(replacer_) && !isArray4(replacer_)) {
66948
66949
  replacer_ = null;
66949
66950
  }
66950
66951
  replacer = replacer_;
@@ -70270,9 +70271,9 @@ var require_lodash6 = __commonJS({
70270
70271
  function hasUnicodeWord(string) {
70271
70272
  return reHasUnicodeWord.test(string);
70272
70273
  }
70273
- function iteratorToArray(iterator) {
70274
+ function iteratorToArray(iterator2) {
70274
70275
  var data, result = [];
70275
- while (!(data = iterator.next()).done) {
70276
+ while (!(data = iterator2.next()).done) {
70276
70277
  result.push(data.value);
70277
70278
  }
70278
70279
  return result;
@@ -70996,7 +70997,7 @@ var require_lodash6 = __commonJS({
70996
70997
  }
70997
70998
  function baseFunctions(object, props) {
70998
70999
  return arrayFilter(props, function(key2) {
70999
- return isFunction3(object[key2]);
71000
+ return isFunction4(object[key2]);
71000
71001
  });
71001
71002
  }
71002
71003
  function baseGet(object, path6) {
@@ -71159,7 +71160,7 @@ var require_lodash6 = __commonJS({
71159
71160
  if (!isObject5(value) || isMasked(value)) {
71160
71161
  return false;
71161
71162
  }
71162
- var pattern = isFunction3(value) ? reIsNative : reIsHostCtor;
71163
+ var pattern = isFunction4(value) ? reIsNative : reIsHostCtor;
71163
71164
  return pattern.test(toSource(value));
71164
71165
  }
71165
71166
  function baseIsRegExp(value) {
@@ -71281,7 +71282,7 @@ var require_lodash6 = __commonJS({
71281
71282
  newValue = objValue;
71282
71283
  if (isArguments(objValue)) {
71283
71284
  newValue = toPlainObject(objValue);
71284
- } else if (!isObject5(objValue) || isFunction3(objValue)) {
71285
+ } else if (!isObject5(objValue) || isFunction4(objValue)) {
71285
71286
  newValue = initCloneObject(srcValue);
71286
71287
  }
71287
71288
  } else {
@@ -72605,7 +72606,7 @@ var require_lodash6 = __commonJS({
72605
72606
  function isMasked(func) {
72606
72607
  return !!maskSrcKey && maskSrcKey in func;
72607
72608
  }
72608
- var isMaskable = coreJsData ? isFunction3 : stubFalse;
72609
+ var isMaskable = coreJsData ? isFunction4 : stubFalse;
72609
72610
  function isPrototype(value) {
72610
72611
  var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
72611
72612
  return value === proto;
@@ -73718,7 +73719,7 @@ var require_lodash6 = __commonJS({
73718
73719
  var isArray4 = Array2.isArray;
73719
73720
  var isArrayBuffer2 = nodeIsArrayBuffer ? baseUnary(nodeIsArrayBuffer) : baseIsArrayBuffer;
73720
73721
  function isArrayLike(value) {
73721
- return value != null && isLength(value.length) && !isFunction3(value);
73722
+ return value != null && isLength(value.length) && !isFunction4(value);
73722
73723
  }
73723
73724
  function isArrayLikeObject(value) {
73724
73725
  return isObjectLike(value) && isArrayLike(value);
@@ -73770,7 +73771,7 @@ var require_lodash6 = __commonJS({
73770
73771
  function isFinite2(value) {
73771
73772
  return typeof value == "number" && nativeIsFinite(value);
73772
73773
  }
73773
- function isFunction3(value) {
73774
+ function isFunction4(value) {
73774
73775
  if (!isObject5(value)) {
73775
73776
  return false;
73776
73777
  }
@@ -74093,7 +74094,7 @@ var require_lodash6 = __commonJS({
74093
74094
  index = length;
74094
74095
  value = defaultValue;
74095
74096
  }
74096
- object = isFunction3(value) ? value.call(object) : value;
74097
+ object = isFunction4(value) ? value.call(object) : value;
74097
74098
  }
74098
74099
  return object;
74099
74100
  }
@@ -74114,7 +74115,7 @@ var require_lodash6 = __commonJS({
74114
74115
  if (isArrLike) {
74115
74116
  accumulator = isArr4 ? new Ctor() : [];
74116
74117
  } else if (isObject5(object)) {
74117
- accumulator = isFunction3(Ctor) ? baseCreate(getPrototype(object)) : {};
74118
+ accumulator = isFunction4(Ctor) ? baseCreate(getPrototype(object)) : {};
74118
74119
  } else {
74119
74120
  accumulator = {};
74120
74121
  }
@@ -74534,7 +74535,7 @@ var require_lodash6 = __commonJS({
74534
74535
  object = this;
74535
74536
  methodNames = baseFunctions(source2, keys(source2));
74536
74537
  }
74537
- var chain2 = !(isObject5(options) && "chain" in options) || !!options.chain, isFunc = isFunction3(object);
74538
+ var chain2 = !(isObject5(options) && "chain" in options) || !!options.chain, isFunc = isFunction4(object);
74538
74539
  arrayEach(methodNames, function(methodName) {
74539
74540
  var func = source2[methodName];
74540
74541
  object[methodName] = func;
@@ -74869,7 +74870,7 @@ var require_lodash6 = __commonJS({
74869
74870
  lodash.isEqualWith = isEqualWith;
74870
74871
  lodash.isError = isError;
74871
74872
  lodash.isFinite = isFinite2;
74872
- lodash.isFunction = isFunction3;
74873
+ lodash.isFunction = isFunction4;
74873
74874
  lodash.isInteger = isInteger;
74874
74875
  lodash.isLength = isLength;
74875
74876
  lodash.isMap = isMap2;
@@ -76084,16 +76085,17 @@ var CATCHE_VALIDITY_PREIOD = 7 * 24 * 3600 * 1e3;
76084
76085
  // ../../../../node_modules/.pnpm/@modern-js+codesmith-utils@2.6.8/node_modules/@modern-js/codesmith-utils/dist/esm/semver.js
76085
76086
  var import_semver = __toESM(require_semver2());
76086
76087
 
76087
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
76088
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/bind.js
76088
76089
  function bind(fn, thisArg) {
76089
76090
  return function wrap() {
76090
76091
  return fn.apply(thisArg, arguments);
76091
76092
  };
76092
76093
  }
76093
76094
 
76094
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/utils.js
76095
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/utils.js
76095
76096
  var { toString } = Object.prototype;
76096
76097
  var { getPrototypeOf } = Object;
76098
+ var { iterator, toStringTag } = Symbol;
76097
76099
  var kindOf = ((cache) => (thing) => {
76098
76100
  const str = toString.call(thing);
76099
76101
  return cache[str] || (cache[str] = str.slice(8, -1).toLowerCase());
@@ -76128,7 +76130,17 @@ var isPlainObject = (val) => {
76128
76130
  return false;
76129
76131
  }
76130
76132
  const prototype3 = getPrototypeOf(val);
76131
- return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(Symbol.toStringTag in val) && !(Symbol.iterator in val);
76133
+ return (prototype3 === null || prototype3 === Object.prototype || Object.getPrototypeOf(prototype3) === null) && !(toStringTag in val) && !(iterator in val);
76134
+ };
76135
+ var isEmptyObject = (val) => {
76136
+ if (!isObject(val) || isBuffer(val)) {
76137
+ return false;
76138
+ }
76139
+ try {
76140
+ return Object.keys(val).length === 0 && Object.getPrototypeOf(val) === Object.prototype;
76141
+ } catch (e) {
76142
+ return false;
76143
+ }
76132
76144
  };
76133
76145
  var isDate = kindOfTest("Date");
76134
76146
  var isFile = kindOfTest("File");
@@ -76157,6 +76169,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
76157
76169
  fn.call(null, obj[i], i, obj);
76158
76170
  }
76159
76171
  } else {
76172
+ if (isBuffer(obj)) {
76173
+ return;
76174
+ }
76160
76175
  const keys = allOwnKeys ? Object.getOwnPropertyNames(obj) : Object.keys(obj);
76161
76176
  const len = keys.length;
76162
76177
  let key2;
@@ -76167,6 +76182,9 @@ function forEach(obj, fn, { allOwnKeys = false } = {}) {
76167
76182
  }
76168
76183
  }
76169
76184
  function findKey(obj, key2) {
76185
+ if (isBuffer(obj)) {
76186
+ return null;
76187
+ }
76170
76188
  key2 = key2.toLowerCase();
76171
76189
  const keys = Object.keys(obj);
76172
76190
  let i = keys.length;
@@ -76186,7 +76204,7 @@ var _global = (() => {
76186
76204
  })();
76187
76205
  var isContextDefined = (context) => !isUndefined(context) && context !== _global;
76188
76206
  function merge() {
76189
- const { caseless } = isContextDefined(this) && this || {};
76207
+ const { caseless, skipUndefined } = isContextDefined(this) && this || {};
76190
76208
  const result = {};
76191
76209
  const assignValue = (val, key2) => {
76192
76210
  const targetKey = caseless && findKey(result, key2) || key2;
@@ -76197,7 +76215,9 @@ function merge() {
76197
76215
  } else if (isArray(val)) {
76198
76216
  result[targetKey] = val.slice();
76199
76217
  } else {
76200
- result[targetKey] = val;
76218
+ if (!skipUndefined || !isUndefined(val)) {
76219
+ result[targetKey] = val;
76220
+ }
76201
76221
  }
76202
76222
  };
76203
76223
  for (let i = 0, l = arguments.length; i < l; i++) {
@@ -76280,10 +76300,10 @@ var isTypedArray = ((TypedArray) => {
76280
76300
  };
76281
76301
  })(typeof Uint8Array !== "undefined" && getPrototypeOf(Uint8Array));
76282
76302
  var forEachEntry = (obj, fn) => {
76283
- const generator = obj && obj[Symbol.iterator];
76284
- const iterator = generator.call(obj);
76303
+ const generator = obj && obj[iterator];
76304
+ const _iterator = generator.call(obj);
76285
76305
  let result;
76286
- while ((result = iterator.next()) && !result.done) {
76306
+ while ((result = _iterator.next()) && !result.done) {
76287
76307
  const pair = result.value;
76288
76308
  fn.call(obj, pair[0], pair[1]);
76289
76309
  }
@@ -76354,7 +76374,7 @@ var toFiniteNumber = (value, defaultValue) => {
76354
76374
  return value != null && Number.isFinite(value = +value) ? value : defaultValue;
76355
76375
  };
76356
76376
  function isSpecCompliantForm(thing) {
76357
- return !!(thing && isFunction(thing.append) && thing[Symbol.toStringTag] === "FormData" && thing[Symbol.iterator]);
76377
+ return !!(thing && isFunction(thing.append) && thing[toStringTag] === "FormData" && thing[iterator]);
76358
76378
  }
76359
76379
  var toJSONObject = (obj) => {
76360
76380
  const stack2 = new Array(10);
@@ -76363,6 +76383,9 @@ var toJSONObject = (obj) => {
76363
76383
  if (stack2.indexOf(source2) >= 0) {
76364
76384
  return;
76365
76385
  }
76386
+ if (isBuffer(source2)) {
76387
+ return source2;
76388
+ }
76366
76389
  if (!("toJSON" in source2)) {
76367
76390
  stack2[i] = source2;
76368
76391
  const target = isArray(source2) ? [] : {};
@@ -76400,6 +76423,7 @@ var _setImmediate = ((setImmediateSupported, postMessageSupported) => {
76400
76423
  isFunction(_global.postMessage)
76401
76424
  );
76402
76425
  var asap = typeof queueMicrotask !== "undefined" ? queueMicrotask.bind(_global) : typeof process !== "undefined" && process.nextTick || _setImmediate;
76426
+ var isIterable = (thing) => thing != null && isFunction(thing[iterator]);
76403
76427
  var utils_default = {
76404
76428
  isArray,
76405
76429
  isArrayBuffer,
@@ -76411,6 +76435,7 @@ var utils_default = {
76411
76435
  isBoolean,
76412
76436
  isObject,
76413
76437
  isPlainObject,
76438
+ isEmptyObject,
76414
76439
  isReadableStream,
76415
76440
  isRequest,
76416
76441
  isResponse,
@@ -76456,10 +76481,11 @@ var utils_default = {
76456
76481
  isAsyncFn,
76457
76482
  isThenable,
76458
76483
  setImmediate: _setImmediate,
76459
- asap
76484
+ asap,
76485
+ isIterable
76460
76486
  };
76461
76487
 
76462
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
76488
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosError.js
76463
76489
  function AxiosError(message, code, config, request, response) {
76464
76490
  Error.call(this);
76465
76491
  if (Error.captureStackTrace) {
@@ -76526,19 +76552,23 @@ AxiosError.from = (error, code, config, request, response, customProps) => {
76526
76552
  }, (prop) => {
76527
76553
  return prop !== "isAxiosError";
76528
76554
  });
76529
- AxiosError.call(axiosError, error.message, code, config, request, response);
76530
- axiosError.cause = error;
76531
- axiosError.name = error.name;
76555
+ const msg = error && error.message ? error.message : "Error";
76556
+ const errCode = code == null && error ? error.code : code;
76557
+ AxiosError.call(axiosError, msg, errCode, config, request, response);
76558
+ if (error && axiosError.cause == null) {
76559
+ Object.defineProperty(axiosError, "cause", { value: error, configurable: true });
76560
+ }
76561
+ axiosError.name = error && error.name || "Error";
76532
76562
  customProps && Object.assign(axiosError, customProps);
76533
76563
  return axiosError;
76534
76564
  };
76535
76565
  var AxiosError_default = AxiosError;
76536
76566
 
76537
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
76567
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/FormData.js
76538
76568
  var import_form_data = __toESM(require_form_data());
76539
76569
  var FormData_default = import_form_data.default;
76540
76570
 
76541
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
76571
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toFormData.js
76542
76572
  function isVisitable(thing) {
76543
76573
  return utils_default.isPlainObject(thing) || utils_default.isArray(thing);
76544
76574
  }
@@ -76586,6 +76616,9 @@ function toFormData(obj, formData, options) {
76586
76616
  if (utils_default.isDate(value)) {
76587
76617
  return value.toISOString();
76588
76618
  }
76619
+ if (utils_default.isBoolean(value)) {
76620
+ return value.toString();
76621
+ }
76589
76622
  if (!useBlob && utils_default.isBlob(value)) {
76590
76623
  throw new AxiosError_default("Blob is not supported. Use a Buffer instead.");
76591
76624
  }
@@ -76653,7 +76686,7 @@ function toFormData(obj, formData, options) {
76653
76686
  }
76654
76687
  var toFormData_default = toFormData;
76655
76688
 
76656
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
76689
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosURLSearchParams.js
76657
76690
  function encode(str) {
76658
76691
  const charMap = {
76659
76692
  "!": "%21",
@@ -76686,9 +76719,9 @@ prototype2.toString = function toString2(encoder) {
76686
76719
  };
76687
76720
  var AxiosURLSearchParams_default = AxiosURLSearchParams;
76688
76721
 
76689
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
76722
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/buildURL.js
76690
76723
  function encode2(val) {
76691
- return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
76724
+ return encodeURIComponent(val).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+");
76692
76725
  }
76693
76726
  function buildURL(url2, params, options) {
76694
76727
  if (!params) {
@@ -76717,7 +76750,7 @@ function buildURL(url2, params, options) {
76717
76750
  return url2;
76718
76751
  }
76719
76752
 
76720
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
76753
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/InterceptorManager.js
76721
76754
  var InterceptorManager = class {
76722
76755
  constructor() {
76723
76756
  this.handlers = [];
@@ -76781,21 +76814,21 @@ var InterceptorManager = class {
76781
76814
  };
76782
76815
  var InterceptorManager_default = InterceptorManager;
76783
76816
 
76784
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
76817
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/transitional.js
76785
76818
  var transitional_default = {
76786
76819
  silentJSONParsing: true,
76787
76820
  forcedJSONParsing: true,
76788
76821
  clarifyTimeoutError: false
76789
76822
  };
76790
76823
 
76791
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76824
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76792
76825
  var import_crypto = __toESM(require("crypto"));
76793
76826
 
76794
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
76827
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/classes/URLSearchParams.js
76795
76828
  var import_url = __toESM(require("url"));
76796
76829
  var URLSearchParams_default = import_url.default.URLSearchParams;
76797
76830
 
76798
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76831
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/node/index.js
76799
76832
  var ALPHA = "abcdefghijklmnopqrstuvwxyz";
76800
76833
  var DIGIT = "0123456789";
76801
76834
  var ALPHABET = {
@@ -76825,7 +76858,7 @@ var node_default = {
76825
76858
  protocols: ["http", "https", "file", "data"]
76826
76859
  };
76827
76860
 
76828
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
76861
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/common/utils.js
76829
76862
  var utils_exports = {};
76830
76863
  __export(utils_exports, {
76831
76864
  hasBrowserEnv: () => hasBrowserEnv,
@@ -76843,12 +76876,12 @@ var hasStandardBrowserWebWorkerEnv = (() => {
76843
76876
  })();
76844
76877
  var origin = hasBrowserEnv && window.location.href || "http://localhost";
76845
76878
 
76846
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/platform/index.js
76879
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/platform/index.js
76847
76880
  var platform_default = __spreadValues(__spreadValues({}, utils_exports), node_default);
76848
76881
 
76849
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
76882
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/toURLEncodedForm.js
76850
76883
  function toURLEncodedForm(data, options) {
76851
- return toFormData_default(data, new platform_default.classes.URLSearchParams(), Object.assign({
76884
+ return toFormData_default(data, new platform_default.classes.URLSearchParams(), __spreadValues({
76852
76885
  visitor: function(value, key2, path6, helpers) {
76853
76886
  if (platform_default.isNode && utils_default.isBuffer(value)) {
76854
76887
  this.append(key2, value.toString("base64"));
@@ -76859,7 +76892,7 @@ function toURLEncodedForm(data, options) {
76859
76892
  }, options));
76860
76893
  }
76861
76894
 
76862
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
76895
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToJSON.js
76863
76896
  function parsePropPath(name) {
76864
76897
  return utils_default.matchAll(/\w+|\[(\w*)]/g, name).map((match) => {
76865
76898
  return match[0] === "[]" ? "" : match[1] || match[0];
@@ -76913,7 +76946,7 @@ function formDataToJSON(formData) {
76913
76946
  }
76914
76947
  var formDataToJSON_default = formDataToJSON;
76915
76948
 
76916
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/defaults/index.js
76949
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/defaults/index.js
76917
76950
  function stringifySafely(rawValue, parser, encoder) {
76918
76951
  if (utils_default.isString(rawValue)) {
76919
76952
  try {
@@ -76982,7 +77015,7 @@ var defaults = {
76982
77015
  const silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
76983
77016
  const strictJSONParsing = !silentJSONParsing && JSONRequested;
76984
77017
  try {
76985
- return JSON.parse(data);
77018
+ return JSON.parse(data, this.parseReviver);
76986
77019
  } catch (e) {
76987
77020
  if (strictJSONParsing) {
76988
77021
  if (e.name === "SyntaxError") {
@@ -77022,7 +77055,7 @@ utils_default.forEach(["delete", "get", "head", "post", "put", "patch"], (method
77022
77055
  });
77023
77056
  var defaults_default = defaults;
77024
77057
 
77025
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
77058
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseHeaders.js
77026
77059
  var ignoreDuplicateOf = utils_default.toObjectSet([
77027
77060
  "age",
77028
77061
  "authorization",
@@ -77067,7 +77100,7 @@ var parseHeaders_default = (rawHeaders) => {
77067
77100
  return parsed;
77068
77101
  };
77069
77102
 
77070
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
77103
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/AxiosHeaders.js
77071
77104
  var $internals = Symbol("internals");
77072
77105
  function normalizeHeader(header) {
77073
77106
  return header && String(header).trim().toLowerCase();
@@ -77141,10 +77174,15 @@ var AxiosHeaders = class {
77141
77174
  setHeaders(header, valueOrRewrite);
77142
77175
  } else if (utils_default.isString(header) && (header = header.trim()) && !isValidHeaderName(header)) {
77143
77176
  setHeaders(parseHeaders_default(header), valueOrRewrite);
77144
- } else if (utils_default.isHeaders(header)) {
77145
- for (const [key2, value] of header.entries()) {
77146
- setHeader(value, key2, rewrite);
77177
+ } else if (utils_default.isObject(header) && utils_default.isIterable(header)) {
77178
+ let obj = {}, dest, key2;
77179
+ for (const entry of header) {
77180
+ if (!utils_default.isArray(entry)) {
77181
+ throw TypeError("Object iterator must return a key-value pair");
77182
+ }
77183
+ obj[key2 = entry[0]] = (dest = obj[key2]) ? utils_default.isArray(dest) ? [...dest, entry[1]] : [dest, entry[1]] : entry[1];
77147
77184
  }
77185
+ setHeaders(obj, valueOrRewrite);
77148
77186
  } else {
77149
77187
  header != null && setHeader(valueOrRewrite, header, rewrite);
77150
77188
  }
@@ -77248,6 +77286,9 @@ var AxiosHeaders = class {
77248
77286
  toString() {
77249
77287
  return Object.entries(this.toJSON()).map(([header, value]) => header + ": " + value).join("\n");
77250
77288
  }
77289
+ getSetCookie() {
77290
+ return this.get("set-cookie") || [];
77291
+ }
77251
77292
  get [Symbol.toStringTag]() {
77252
77293
  return "AxiosHeaders";
77253
77294
  }
@@ -77289,7 +77330,7 @@ utils_default.reduceDescriptors(AxiosHeaders.prototype, ({ value }, key2) => {
77289
77330
  utils_default.freezeMethods(AxiosHeaders);
77290
77331
  var AxiosHeaders_default = AxiosHeaders;
77291
77332
 
77292
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/transformData.js
77333
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/transformData.js
77293
77334
  function transformData(fns, response) {
77294
77335
  const config = this || defaults_default;
77295
77336
  const context = response || config;
@@ -77302,12 +77343,12 @@ function transformData(fns, response) {
77302
77343
  return data;
77303
77344
  }
77304
77345
 
77305
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
77346
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/isCancel.js
77306
77347
  function isCancel(value) {
77307
77348
  return !!(value && value.__CANCEL__);
77308
77349
  }
77309
77350
 
77310
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
77351
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CanceledError.js
77311
77352
  function CanceledError(message, config, request) {
77312
77353
  AxiosError_default.call(this, message == null ? "canceled" : message, AxiosError_default.ERR_CANCELED, config, request);
77313
77354
  this.name = "CanceledError";
@@ -77317,7 +77358,7 @@ utils_default.inherits(CanceledError, AxiosError_default, {
77317
77358
  });
77318
77359
  var CanceledError_default = CanceledError;
77319
77360
 
77320
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/settle.js
77361
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/settle.js
77321
77362
  function settle(resolve, reject, response) {
77322
77363
  const validateStatus2 = response.config.validateStatus;
77323
77364
  if (!response.status || !validateStatus2 || validateStatus2(response.status)) {
@@ -77333,17 +77374,17 @@ function settle(resolve, reject, response) {
77333
77374
  }
77334
77375
  }
77335
77376
 
77336
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
77377
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAbsoluteURL.js
77337
77378
  function isAbsoluteURL(url2) {
77338
77379
  return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url2);
77339
77380
  }
77340
77381
 
77341
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
77382
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/combineURLs.js
77342
77383
  function combineURLs(baseURL, relativeURL) {
77343
77384
  return relativeURL ? baseURL.replace(/\/?\/$/, "") + "/" + relativeURL.replace(/^\/+/, "") : baseURL;
77344
77385
  }
77345
77386
 
77346
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
77387
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/buildFullPath.js
77347
77388
  function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
77348
77389
  let isRelativeUrl = !isAbsoluteURL(requestedURL);
77349
77390
  if (baseURL && (isRelativeUrl || allowAbsoluteUrls == false)) {
@@ -77352,7 +77393,7 @@ function buildFullPath(baseURL, requestedURL, allowAbsoluteUrls) {
77352
77393
  return requestedURL;
77353
77394
  }
77354
77395
 
77355
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77396
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77356
77397
  var import_proxy_from_env = __toESM(require_proxy_from_env());
77357
77398
  var import_http = __toESM(require("http"));
77358
77399
  var import_https = __toESM(require("https"));
@@ -77360,16 +77401,16 @@ var import_util2 = __toESM(require("util"));
77360
77401
  var import_follow_redirects = __toESM(require_follow_redirects());
77361
77402
  var import_zlib = __toESM(require("zlib"));
77362
77403
 
77363
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/env/data.js
77364
- var VERSION = "1.8.4";
77404
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/env/data.js
77405
+ var VERSION = "1.12.0";
77365
77406
 
77366
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
77407
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/parseProtocol.js
77367
77408
  function parseProtocol(url2) {
77368
77409
  const match = /^([-+\w]{1,25})(:?\/\/|:)/.exec(url2);
77369
77410
  return match && match[1] || "";
77370
77411
  }
77371
77412
 
77372
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
77413
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/fromDataURI.js
77373
77414
  var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
77374
77415
  function fromDataURI(uri, asBlob, options) {
77375
77416
  const _Blob = options && options.Blob || platform_default.classes.Blob;
@@ -77398,10 +77439,10 @@ function fromDataURI(uri, asBlob, options) {
77398
77439
  throw new AxiosError_default("Unsupported protocol " + protocol, AxiosError_default.ERR_NOT_SUPPORT);
77399
77440
  }
77400
77441
 
77401
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77442
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77402
77443
  var import_stream4 = __toESM(require("stream"));
77403
77444
 
77404
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
77445
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/AxiosTransformStream.js
77405
77446
  var import_stream = __toESM(require("stream"));
77406
77447
  var kInternals = Symbol("internals");
77407
77448
  var AxiosTransformStream = class extends import_stream.default.Transform {
@@ -77516,14 +77557,14 @@ var AxiosTransformStream = class extends import_stream.default.Transform {
77516
77557
  };
77517
77558
  var AxiosTransformStream_default = AxiosTransformStream;
77518
77559
 
77519
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77560
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77520
77561
  var import_events = require("events");
77521
77562
 
77522
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77563
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77523
77564
  var import_util = __toESM(require("util"));
77524
77565
  var import_stream2 = require("stream");
77525
77566
 
77526
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
77567
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/readBlob.js
77527
77568
  var { asyncIterator } = Symbol;
77528
77569
  var readBlob = function(blob) {
77529
77570
  return __asyncGenerator(this, null, function* () {
@@ -77540,7 +77581,7 @@ var readBlob = function(blob) {
77540
77581
  };
77541
77582
  var readBlob_default = readBlob;
77542
77583
 
77543
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77584
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/formDataToStream.js
77544
77585
  var BOUNDARY_ALPHABET = platform_default.ALPHABET.ALPHA_DIGIT + "-_";
77545
77586
  var textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new import_util.default.TextEncoder();
77546
77587
  var CRLF = "\r\n";
@@ -77595,7 +77636,7 @@ var formDataToStream = (form, headersHandler, options) => {
77595
77636
  throw Error("boundary must be 10-70 characters long");
77596
77637
  }
77597
77638
  const boundaryBytes = textEncoder.encode("--" + boundary + CRLF);
77598
- const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF + CRLF);
77639
+ const footerBytes = textEncoder.encode("--" + boundary + "--" + CRLF);
77599
77640
  let contentLength = footerBytes.byteLength;
77600
77641
  const parts = Array.from(form.entries()).map(([name, value]) => {
77601
77642
  const part = new FormDataPart(name, value);
@@ -77623,7 +77664,7 @@ var formDataToStream = (form, headersHandler, options) => {
77623
77664
  };
77624
77665
  var formDataToStream_default = formDataToStream;
77625
77666
 
77626
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
77667
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/ZlibHeaderTransformStream.js
77627
77668
  var import_stream3 = __toESM(require("stream"));
77628
77669
  var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
77629
77670
  __transform(chunk, encoding, callback) {
@@ -77645,7 +77686,7 @@ var ZlibHeaderTransformStream = class extends import_stream3.default.Transform {
77645
77686
  };
77646
77687
  var ZlibHeaderTransformStream_default = ZlibHeaderTransformStream;
77647
77688
 
77648
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
77689
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/callbackify.js
77649
77690
  var callbackify = (fn, reducer) => {
77650
77691
  return utils_default.isAsyncFn(fn) ? function(...args) {
77651
77692
  const cb = args.pop();
@@ -77660,7 +77701,7 @@ var callbackify = (fn, reducer) => {
77660
77701
  };
77661
77702
  var callbackify_default = callbackify;
77662
77703
 
77663
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
77704
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/speedometer.js
77664
77705
  function speedometer(samplesCount, min) {
77665
77706
  samplesCount = samplesCount || 10;
77666
77707
  const bytes = new Array(samplesCount);
@@ -77696,7 +77737,7 @@ function speedometer(samplesCount, min) {
77696
77737
  }
77697
77738
  var speedometer_default = speedometer;
77698
77739
 
77699
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
77740
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/throttle.js
77700
77741
  function throttle(fn, freq) {
77701
77742
  let timestamp = 0;
77702
77743
  let threshold = 1e3 / freq;
@@ -77709,7 +77750,7 @@ function throttle(fn, freq) {
77709
77750
  clearTimeout(timer);
77710
77751
  timer = null;
77711
77752
  }
77712
- fn.apply(null, args);
77753
+ fn(...args);
77713
77754
  };
77714
77755
  const throttled = (...args) => {
77715
77756
  const now = Date.now();
@@ -77731,7 +77772,7 @@ function throttle(fn, freq) {
77731
77772
  }
77732
77773
  var throttle_default = throttle;
77733
77774
 
77734
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
77775
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/progressEventReducer.js
77735
77776
  var progressEventReducer = (listener, isDownloadStream, freq = 3) => {
77736
77777
  let bytesNotified = 0;
77737
77778
  const _speedometer = speedometer_default(50, 250);
@@ -77766,7 +77807,61 @@ var progressEventDecorator = (total, throttled) => {
77766
77807
  };
77767
77808
  var asyncDecorator = (fn) => (...args) => utils_default.asap(() => fn(...args));
77768
77809
 
77769
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77810
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/estimateDataURLDecodedBytes.js
77811
+ function estimateDataURLDecodedBytes(url2) {
77812
+ if (!url2 || typeof url2 !== "string")
77813
+ return 0;
77814
+ if (!url2.startsWith("data:"))
77815
+ return 0;
77816
+ const comma = url2.indexOf(",");
77817
+ if (comma < 0)
77818
+ return 0;
77819
+ const meta = url2.slice(5, comma);
77820
+ const body = url2.slice(comma + 1);
77821
+ const isBase64 = /;base64/i.test(meta);
77822
+ if (isBase64) {
77823
+ let effectiveLen = body.length;
77824
+ const len = body.length;
77825
+ for (let i = 0; i < len; i++) {
77826
+ if (body.charCodeAt(i) === 37 && i + 2 < len) {
77827
+ const a = body.charCodeAt(i + 1);
77828
+ const b = body.charCodeAt(i + 2);
77829
+ 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);
77830
+ if (isHex) {
77831
+ effectiveLen -= 2;
77832
+ i += 2;
77833
+ }
77834
+ }
77835
+ }
77836
+ let pad = 0;
77837
+ let idx = len - 1;
77838
+ const tailIsPct3D = (j) => j >= 2 && body.charCodeAt(j - 2) === 37 && // '%'
77839
+ body.charCodeAt(j - 1) === 51 && // '3'
77840
+ (body.charCodeAt(j) === 68 || body.charCodeAt(j) === 100);
77841
+ if (idx >= 0) {
77842
+ if (body.charCodeAt(idx) === 61) {
77843
+ pad++;
77844
+ idx--;
77845
+ } else if (tailIsPct3D(idx)) {
77846
+ pad++;
77847
+ idx -= 3;
77848
+ }
77849
+ }
77850
+ if (pad === 1 && idx >= 0) {
77851
+ if (body.charCodeAt(idx) === 61) {
77852
+ pad++;
77853
+ } else if (tailIsPct3D(idx)) {
77854
+ pad++;
77855
+ }
77856
+ }
77857
+ const groups = Math.floor(effectiveLen / 4);
77858
+ const bytes = groups * 3 - (pad || 0);
77859
+ return bytes > 0 ? bytes : 0;
77860
+ }
77861
+ return Buffer.byteLength(body, "utf8");
77862
+ }
77863
+
77864
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/http.js
77770
77865
  var zlibOptions = {
77771
77866
  flush: import_zlib.default.constants.Z_SYNC_FLUSH,
77772
77867
  finishFlush: import_zlib.default.constants.Z_SYNC_FLUSH
@@ -77910,6 +78005,17 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
77910
78005
  const parsed = new URL(fullPath, platform_default.hasBrowserEnv ? platform_default.origin : void 0);
77911
78006
  const protocol = parsed.protocol || supportedProtocols[0];
77912
78007
  if (protocol === "data:") {
78008
+ if (config.maxContentLength > -1) {
78009
+ const dataUrl = String(config.url || fullPath || "");
78010
+ const estimated = estimateDataURLDecodedBytes(dataUrl);
78011
+ if (estimated > config.maxContentLength) {
78012
+ return reject(new AxiosError_default(
78013
+ "maxContentLength size of " + config.maxContentLength + " exceeded",
78014
+ AxiosError_default.ERR_BAD_RESPONSE,
78015
+ config
78016
+ ));
78017
+ }
78018
+ }
77913
78019
  let convertedData;
77914
78020
  if (method !== "GET") {
77915
78021
  return settle(resolve, reject, {
@@ -78272,7 +78378,7 @@ var http_default = isHttpAdapterSupported && function httpAdapter(config) {
78272
78378
  });
78273
78379
  };
78274
78380
 
78275
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
78381
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isURLSameOrigin.js
78276
78382
  var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2, isMSIE) => (url2) => {
78277
78383
  url2 = new URL(url2, platform_default.origin);
78278
78384
  return origin2.protocol === url2.protocol && origin2.host === url2.host && (isMSIE || origin2.port === url2.port);
@@ -78281,7 +78387,7 @@ var isURLSameOrigin_default = platform_default.hasStandardBrowserEnv ? ((origin2
78281
78387
  platform_default.navigator && /(msie|trident)/i.test(platform_default.navigator.userAgent)
78282
78388
  ) : () => true;
78283
78389
 
78284
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
78390
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/cookies.js
78285
78391
  var cookies_default = platform_default.hasStandardBrowserEnv ? (
78286
78392
  // Standard browser envs support document.cookie
78287
78393
  {
@@ -78314,7 +78420,7 @@ var cookies_default = platform_default.hasStandardBrowserEnv ? (
78314
78420
  }
78315
78421
  );
78316
78422
 
78317
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
78423
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/mergeConfig.js
78318
78424
  var headersToObject = (thing) => thing instanceof AxiosHeaders_default ? __spreadValues({}, thing) : thing;
78319
78425
  function mergeConfig(config1, config2) {
78320
78426
  config2 = config2 || {};
@@ -78386,7 +78492,7 @@ function mergeConfig(config1, config2) {
78386
78492
  validateStatus: mergeDirectKeys,
78387
78493
  headers: (a, b, prop) => mergeDeepProperties(headersToObject(a), headersToObject(b), prop, true)
78388
78494
  };
78389
- utils_default.forEach(Object.keys(Object.assign({}, config1, config2)), function computeConfigValue(prop) {
78495
+ utils_default.forEach(Object.keys(__spreadValues(__spreadValues({}, config1), config2)), function computeConfigValue(prop) {
78390
78496
  const merge4 = mergeMap[prop] || mergeDeepProperties;
78391
78497
  const configValue = merge4(config1[prop], config2[prop], prop);
78392
78498
  utils_default.isUndefined(configValue) && merge4 !== mergeDirectKeys || (config[prop] = configValue);
@@ -78394,7 +78500,7 @@ function mergeConfig(config1, config2) {
78394
78500
  return config;
78395
78501
  }
78396
78502
 
78397
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
78503
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/resolveConfig.js
78398
78504
  var resolveConfig_default = (config) => {
78399
78505
  const newConfig = mergeConfig({}, config);
78400
78506
  let { data, withXSRFToken, xsrfHeaderName, xsrfCookieName, headers, auth } = newConfig;
@@ -78406,13 +78512,17 @@ var resolveConfig_default = (config) => {
78406
78512
  "Basic " + btoa((auth.username || "") + ":" + (auth.password ? unescape(encodeURIComponent(auth.password)) : ""))
78407
78513
  );
78408
78514
  }
78409
- let contentType;
78410
78515
  if (utils_default.isFormData(data)) {
78411
78516
  if (platform_default.hasStandardBrowserEnv || platform_default.hasStandardBrowserWebWorkerEnv) {
78412
78517
  headers.setContentType(void 0);
78413
- } else if ((contentType = headers.getContentType()) !== false) {
78414
- const [type, ...tokens] = contentType ? contentType.split(";").map((token2) => token2.trim()).filter(Boolean) : [];
78415
- headers.setContentType([type || "multipart/form-data", ...tokens].join("; "));
78518
+ } else if (utils_default.isFunction(data.getHeaders)) {
78519
+ const formHeaders = data.getHeaders();
78520
+ const allowedHeaders = ["content-type", "content-length"];
78521
+ Object.entries(formHeaders).forEach(([key2, val]) => {
78522
+ if (allowedHeaders.includes(key2.toLowerCase())) {
78523
+ headers.set(key2, val);
78524
+ }
78525
+ });
78416
78526
  }
78417
78527
  }
78418
78528
  if (platform_default.hasStandardBrowserEnv) {
@@ -78427,7 +78537,7 @@ var resolveConfig_default = (config) => {
78427
78537
  return newConfig;
78428
78538
  };
78429
78539
 
78430
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
78540
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/xhr.js
78431
78541
  var isXHRAdapterSupported = typeof XMLHttpRequest !== "undefined";
78432
78542
  var xhr_default = isXHRAdapterSupported && function(config) {
78433
78543
  return new Promise(function dispatchXhrRequest(resolve, reject) {
@@ -78492,8 +78602,11 @@ var xhr_default = isXHRAdapterSupported && function(config) {
78492
78602
  reject(new AxiosError_default("Request aborted", AxiosError_default.ECONNABORTED, config, request));
78493
78603
  request = null;
78494
78604
  };
78495
- request.onerror = function handleError() {
78496
- reject(new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request));
78605
+ request.onerror = function handleError(event) {
78606
+ const msg = event && event.message ? event.message : "Network Error";
78607
+ const err = new AxiosError_default(msg, AxiosError_default.ERR_NETWORK, config, request);
78608
+ err.event = event || null;
78609
+ reject(err);
78497
78610
  request = null;
78498
78611
  };
78499
78612
  request.ontimeout = function handleTimeout() {
@@ -78554,7 +78667,7 @@ var xhr_default = isXHRAdapterSupported && function(config) {
78554
78667
  });
78555
78668
  };
78556
78669
 
78557
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
78670
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/composeSignals.js
78558
78671
  var composeSignals = (signals, timeout) => {
78559
78672
  const { length } = signals = signals ? signals.filter(Boolean) : [];
78560
78673
  if (timeout || length) {
@@ -78590,7 +78703,7 @@ var composeSignals = (signals, timeout) => {
78590
78703
  };
78591
78704
  var composeSignals_default = composeSignals;
78592
78705
 
78593
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
78706
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/trackStream.js
78594
78707
  var streamChunk = function* (chunk, chunkSize) {
78595
78708
  let len = chunk.byteLength;
78596
78709
  if (!chunkSize || len < chunkSize) {
@@ -78645,7 +78758,7 @@ var readStream = function(stream4) {
78645
78758
  });
78646
78759
  };
78647
78760
  var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
78648
- const iterator = readBytes(stream4, chunkSize);
78761
+ const iterator2 = readBytes(stream4, chunkSize);
78649
78762
  let bytes = 0;
78650
78763
  let done;
78651
78764
  let _onFinish = (e) => {
@@ -78658,7 +78771,7 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
78658
78771
  pull(controller) {
78659
78772
  return __async(this, null, function* () {
78660
78773
  try {
78661
- const { done: done2, value } = yield iterator.next();
78774
+ const { done: done2, value } = yield iterator2.next();
78662
78775
  if (done2) {
78663
78776
  _onFinish();
78664
78777
  controller.close();
@@ -78678,19 +78791,25 @@ var trackStream = (stream4, chunkSize, onProgress, onFinish) => {
78678
78791
  },
78679
78792
  cancel(reason) {
78680
78793
  _onFinish(reason);
78681
- return iterator.return();
78794
+ return iterator2.return();
78682
78795
  }
78683
78796
  }, {
78684
78797
  highWaterMark: 2
78685
78798
  });
78686
78799
  };
78687
78800
 
78688
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
78689
- var isFetchSupported = typeof fetch === "function" && typeof Request === "function" && typeof Response === "function";
78690
- var isReadableStreamSupported = isFetchSupported && typeof ReadableStream === "function";
78691
- var encodeText = isFetchSupported && (typeof TextEncoder === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder()) : (str) => __async(void 0, null, function* () {
78692
- return new Uint8Array(yield new Response(str).arrayBuffer());
78693
- }));
78801
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/fetch.js
78802
+ var DEFAULT_CHUNK_SIZE = 64 * 1024;
78803
+ var { isFunction: isFunction2 } = utils_default;
78804
+ var globalFetchAPI = (({ fetch, Request, Response }) => ({
78805
+ fetch,
78806
+ Request,
78807
+ Response
78808
+ }))(utils_default.global);
78809
+ var {
78810
+ ReadableStream: ReadableStream2,
78811
+ TextEncoder: TextEncoder2
78812
+ } = utils_default.global;
78694
78813
  var test = (fn, ...args) => {
78695
78814
  try {
78696
78815
  return !!fn(...args);
@@ -78698,163 +78817,203 @@ var test = (fn, ...args) => {
78698
78817
  return false;
78699
78818
  }
78700
78819
  };
78701
- var supportsRequestStream = isReadableStreamSupported && test(() => {
78702
- let duplexAccessed = false;
78703
- const hasContentType = new Request(platform_default.origin, {
78704
- body: new ReadableStream(),
78705
- method: "POST",
78706
- get duplex() {
78707
- duplexAccessed = true;
78708
- return "half";
78709
- }
78710
- }).headers.has("Content-Type");
78711
- return duplexAccessed && !hasContentType;
78712
- });
78713
- var DEFAULT_CHUNK_SIZE = 64 * 1024;
78714
- var supportsResponseStream = isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
78715
- var resolvers = {
78716
- stream: supportsResponseStream && ((res) => res.body)
78717
- };
78718
- isFetchSupported && ((res) => {
78719
- ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
78720
- !resolvers[type] && (resolvers[type] = utils_default.isFunction(res[type]) ? (res2) => res2[type]() : (_, config) => {
78721
- throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
78722
- });
78723
- });
78724
- })(new Response());
78725
- var getBodyLength = (body) => __async(void 0, null, function* () {
78726
- if (body == null) {
78727
- return 0;
78728
- }
78729
- if (utils_default.isBlob(body)) {
78730
- return body.size;
78820
+ var factory = (env) => {
78821
+ const { fetch, Request, Response } = Object.assign({}, globalFetchAPI, env);
78822
+ const isFetchSupported = isFunction2(fetch);
78823
+ const isRequestSupported = isFunction2(Request);
78824
+ const isResponseSupported = isFunction2(Response);
78825
+ if (!isFetchSupported) {
78826
+ return false;
78731
78827
  }
78732
- if (utils_default.isSpecCompliantForm(body)) {
78733
- const _request = new Request(platform_default.origin, {
78828
+ const isReadableStreamSupported = isFetchSupported && isFunction2(ReadableStream2);
78829
+ const encodeText = isFetchSupported && (typeof TextEncoder2 === "function" ? ((encoder) => (str) => encoder.encode(str))(new TextEncoder2()) : (str) => __async(void 0, null, function* () {
78830
+ return new Uint8Array(yield new Request(str).arrayBuffer());
78831
+ }));
78832
+ const supportsRequestStream = isRequestSupported && isReadableStreamSupported && test(() => {
78833
+ let duplexAccessed = false;
78834
+ const hasContentType = new Request(platform_default.origin, {
78835
+ body: new ReadableStream2(),
78734
78836
  method: "POST",
78735
- body
78736
- });
78737
- return (yield _request.arrayBuffer()).byteLength;
78738
- }
78739
- if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
78740
- return body.byteLength;
78741
- }
78742
- if (utils_default.isURLSearchParams(body)) {
78743
- body = body + "";
78744
- }
78745
- if (utils_default.isString(body)) {
78746
- return (yield encodeText(body)).byteLength;
78747
- }
78748
- });
78749
- var resolveBodyLength = (headers, body) => __async(void 0, null, function* () {
78750
- const length = utils_default.toFiniteNumber(headers.getContentLength());
78751
- return length == null ? getBodyLength(body) : length;
78752
- });
78753
- var fetch_default = isFetchSupported && ((config) => __async(void 0, null, function* () {
78754
- let {
78755
- url: url2,
78756
- method,
78757
- data,
78758
- signal,
78759
- cancelToken,
78760
- timeout,
78761
- onDownloadProgress,
78762
- onUploadProgress,
78763
- responseType,
78764
- headers,
78765
- withCredentials = "same-origin",
78766
- fetchOptions
78767
- } = resolveConfig_default(config);
78768
- responseType = responseType ? (responseType + "").toLowerCase() : "text";
78769
- let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
78770
- let request;
78771
- const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
78772
- composedSignal.unsubscribe();
78837
+ get duplex() {
78838
+ duplexAccessed = true;
78839
+ return "half";
78840
+ }
78841
+ }).headers.has("Content-Type");
78842
+ return duplexAccessed && !hasContentType;
78773
78843
  });
78774
- let requestContentLength;
78775
- try {
78776
- if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = yield resolveBodyLength(headers, data)) !== 0) {
78777
- let _request = new Request(url2, {
78778
- method: "POST",
78779
- body: data,
78780
- duplex: "half"
78844
+ const supportsResponseStream = isResponseSupported && isReadableStreamSupported && test(() => utils_default.isReadableStream(new Response("").body));
78845
+ const resolvers = {
78846
+ stream: supportsResponseStream && ((res) => res.body)
78847
+ };
78848
+ isFetchSupported && (() => {
78849
+ ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((type) => {
78850
+ !resolvers[type] && (resolvers[type] = (res, config) => {
78851
+ let method = res && res[type];
78852
+ if (method) {
78853
+ return method.call(res);
78854
+ }
78855
+ throw new AxiosError_default(`Response type '${type}' is not supported`, AxiosError_default.ERR_NOT_SUPPORT, config);
78781
78856
  });
78782
- let contentTypeHeader;
78783
- if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
78784
- headers.setContentType(contentTypeHeader);
78785
- }
78786
- if (_request.body) {
78787
- const [onProgress, flush] = progressEventDecorator(
78788
- requestContentLength,
78789
- progressEventReducer(asyncDecorator(onUploadProgress))
78790
- );
78791
- data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
78792
- }
78857
+ });
78858
+ })();
78859
+ const getBodyLength = (body) => __async(void 0, null, function* () {
78860
+ if (body == null) {
78861
+ return 0;
78793
78862
  }
78794
- if (!utils_default.isString(withCredentials)) {
78795
- withCredentials = withCredentials ? "include" : "omit";
78863
+ if (utils_default.isBlob(body)) {
78864
+ return body.size;
78796
78865
  }
78797
- const isCredentialsSupported = "credentials" in Request.prototype;
78798
- request = new Request(url2, __spreadProps(__spreadValues({}, fetchOptions), {
78799
- signal: composedSignal,
78800
- method: method.toUpperCase(),
78801
- headers: headers.normalize().toJSON(),
78802
- body: data,
78803
- duplex: "half",
78804
- credentials: isCredentialsSupported ? withCredentials : void 0
78805
- }));
78806
- let response = yield fetch(request);
78807
- const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
78808
- if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
78809
- const options = {};
78810
- ["status", "statusText", "headers"].forEach((prop) => {
78811
- options[prop] = response[prop];
78866
+ if (utils_default.isSpecCompliantForm(body)) {
78867
+ const _request = new Request(platform_default.origin, {
78868
+ method: "POST",
78869
+ body
78812
78870
  });
78813
- const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
78814
- const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
78815
- responseContentLength,
78816
- progressEventReducer(asyncDecorator(onDownloadProgress), true)
78817
- ) || [];
78818
- response = new Response(
78819
- trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
78820
- flush && flush();
78821
- unsubscribe && unsubscribe();
78822
- }),
78823
- options
78824
- );
78871
+ return (yield _request.arrayBuffer()).byteLength;
78825
78872
  }
78826
- responseType = responseType || "text";
78827
- let responseData = yield resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
78828
- !isStreamResponse && unsubscribe && unsubscribe();
78829
- return yield new Promise((resolve, reject) => {
78830
- settle(resolve, reject, {
78831
- data: responseData,
78832
- headers: AxiosHeaders_default.from(response.headers),
78833
- status: response.status,
78834
- statusText: response.statusText,
78835
- config,
78836
- request
78837
- });
78873
+ if (utils_default.isArrayBufferView(body) || utils_default.isArrayBuffer(body)) {
78874
+ return body.byteLength;
78875
+ }
78876
+ if (utils_default.isURLSearchParams(body)) {
78877
+ body = body + "";
78878
+ }
78879
+ if (utils_default.isString(body)) {
78880
+ return (yield encodeText(body)).byteLength;
78881
+ }
78882
+ });
78883
+ const resolveBodyLength = (headers, body) => __async(void 0, null, function* () {
78884
+ const length = utils_default.toFiniteNumber(headers.getContentLength());
78885
+ return length == null ? getBodyLength(body) : length;
78886
+ });
78887
+ return (config) => __async(void 0, null, function* () {
78888
+ let {
78889
+ url: url2,
78890
+ method,
78891
+ data,
78892
+ signal,
78893
+ cancelToken,
78894
+ timeout,
78895
+ onDownloadProgress,
78896
+ onUploadProgress,
78897
+ responseType,
78898
+ headers,
78899
+ withCredentials = "same-origin",
78900
+ fetchOptions
78901
+ } = resolveConfig_default(config);
78902
+ responseType = responseType ? (responseType + "").toLowerCase() : "text";
78903
+ let composedSignal = composeSignals_default([signal, cancelToken && cancelToken.toAbortSignal()], timeout);
78904
+ let request = null;
78905
+ const unsubscribe = composedSignal && composedSignal.unsubscribe && (() => {
78906
+ composedSignal.unsubscribe();
78838
78907
  });
78839
- } catch (err) {
78840
- unsubscribe && unsubscribe();
78841
- if (err && err.name === "TypeError" && /fetch/i.test(err.message)) {
78842
- throw Object.assign(
78843
- new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
78844
- {
78845
- cause: err.cause || err
78908
+ let requestContentLength;
78909
+ try {
78910
+ if (onUploadProgress && supportsRequestStream && method !== "get" && method !== "head" && (requestContentLength = yield resolveBodyLength(headers, data)) !== 0) {
78911
+ let _request = new Request(url2, {
78912
+ method: "POST",
78913
+ body: data,
78914
+ duplex: "half"
78915
+ });
78916
+ let contentTypeHeader;
78917
+ if (utils_default.isFormData(data) && (contentTypeHeader = _request.headers.get("content-type"))) {
78918
+ headers.setContentType(contentTypeHeader);
78919
+ }
78920
+ if (_request.body) {
78921
+ const [onProgress, flush] = progressEventDecorator(
78922
+ requestContentLength,
78923
+ progressEventReducer(asyncDecorator(onUploadProgress))
78924
+ );
78925
+ data = trackStream(_request.body, DEFAULT_CHUNK_SIZE, onProgress, flush);
78846
78926
  }
78847
- );
78927
+ }
78928
+ if (!utils_default.isString(withCredentials)) {
78929
+ withCredentials = withCredentials ? "include" : "omit";
78930
+ }
78931
+ const isCredentialsSupported = isRequestSupported && "credentials" in Request.prototype;
78932
+ const resolvedOptions = __spreadProps(__spreadValues({}, fetchOptions), {
78933
+ signal: composedSignal,
78934
+ method: method.toUpperCase(),
78935
+ headers: headers.normalize().toJSON(),
78936
+ body: data,
78937
+ duplex: "half",
78938
+ credentials: isCredentialsSupported ? withCredentials : void 0
78939
+ });
78940
+ request = isRequestSupported && new Request(url2, resolvedOptions);
78941
+ let response = yield isRequestSupported ? fetch(request, fetchOptions) : fetch(url2, resolvedOptions);
78942
+ const isStreamResponse = supportsResponseStream && (responseType === "stream" || responseType === "response");
78943
+ if (supportsResponseStream && (onDownloadProgress || isStreamResponse && unsubscribe)) {
78944
+ const options = {};
78945
+ ["status", "statusText", "headers"].forEach((prop) => {
78946
+ options[prop] = response[prop];
78947
+ });
78948
+ const responseContentLength = utils_default.toFiniteNumber(response.headers.get("content-length"));
78949
+ const [onProgress, flush] = onDownloadProgress && progressEventDecorator(
78950
+ responseContentLength,
78951
+ progressEventReducer(asyncDecorator(onDownloadProgress), true)
78952
+ ) || [];
78953
+ response = new Response(
78954
+ trackStream(response.body, DEFAULT_CHUNK_SIZE, onProgress, () => {
78955
+ flush && flush();
78956
+ unsubscribe && unsubscribe();
78957
+ }),
78958
+ options
78959
+ );
78960
+ }
78961
+ responseType = responseType || "text";
78962
+ let responseData = yield resolvers[utils_default.findKey(resolvers, responseType) || "text"](response, config);
78963
+ !isStreamResponse && unsubscribe && unsubscribe();
78964
+ return yield new Promise((resolve, reject) => {
78965
+ settle(resolve, reject, {
78966
+ data: responseData,
78967
+ headers: AxiosHeaders_default.from(response.headers),
78968
+ status: response.status,
78969
+ statusText: response.statusText,
78970
+ config,
78971
+ request
78972
+ });
78973
+ });
78974
+ } catch (err) {
78975
+ unsubscribe && unsubscribe();
78976
+ if (err && err.name === "TypeError" && /Load failed|fetch/i.test(err.message)) {
78977
+ throw Object.assign(
78978
+ new AxiosError_default("Network Error", AxiosError_default.ERR_NETWORK, config, request),
78979
+ {
78980
+ cause: err.cause || err
78981
+ }
78982
+ );
78983
+ }
78984
+ throw AxiosError_default.from(err, err && err.code, config, request);
78848
78985
  }
78849
- throw AxiosError_default.from(err, err && err.code, config, request);
78986
+ });
78987
+ };
78988
+ var seedCache = /* @__PURE__ */ new Map();
78989
+ var getFetch = (config) => {
78990
+ let env = utils_default.merge.call({
78991
+ skipUndefined: true
78992
+ }, globalFetchAPI, config ? config.env : null);
78993
+ const { fetch, Request, Response } = env;
78994
+ const seeds = [
78995
+ Request,
78996
+ Response,
78997
+ fetch
78998
+ ];
78999
+ let len = seeds.length, i = len, seed, target, map2 = seedCache;
79000
+ while (i--) {
79001
+ seed = seeds[i];
79002
+ target = map2.get(seed);
79003
+ target === void 0 && map2.set(seed, target = i ? /* @__PURE__ */ new Map() : factory(env));
79004
+ map2 = target;
78850
79005
  }
78851
- }));
79006
+ return target;
79007
+ };
79008
+ var adapter = getFetch();
78852
79009
 
78853
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
79010
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/adapters/adapters.js
78854
79011
  var knownAdapters = {
78855
79012
  http: http_default,
78856
79013
  xhr: xhr_default,
78857
- fetch: fetch_default
79014
+ fetch: {
79015
+ get: getFetch
79016
+ }
78858
79017
  };
78859
79018
  utils_default.forEach(knownAdapters, (fn, value) => {
78860
79019
  if (fn) {
@@ -78866,30 +79025,30 @@ utils_default.forEach(knownAdapters, (fn, value) => {
78866
79025
  }
78867
79026
  });
78868
79027
  var renderReason = (reason) => `- ${reason}`;
78869
- var isResolvedHandle = (adapter) => utils_default.isFunction(adapter) || adapter === null || adapter === false;
79028
+ var isResolvedHandle = (adapter2) => utils_default.isFunction(adapter2) || adapter2 === null || adapter2 === false;
78870
79029
  var adapters_default = {
78871
- getAdapter: (adapters) => {
79030
+ getAdapter: (adapters, config) => {
78872
79031
  adapters = utils_default.isArray(adapters) ? adapters : [adapters];
78873
79032
  const { length } = adapters;
78874
79033
  let nameOrAdapter;
78875
- let adapter;
79034
+ let adapter2;
78876
79035
  const rejectedReasons = {};
78877
79036
  for (let i = 0; i < length; i++) {
78878
79037
  nameOrAdapter = adapters[i];
78879
79038
  let id;
78880
- adapter = nameOrAdapter;
79039
+ adapter2 = nameOrAdapter;
78881
79040
  if (!isResolvedHandle(nameOrAdapter)) {
78882
- adapter = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
78883
- if (adapter === void 0) {
79041
+ adapter2 = knownAdapters[(id = String(nameOrAdapter)).toLowerCase()];
79042
+ if (adapter2 === void 0) {
78884
79043
  throw new AxiosError_default(`Unknown adapter '${id}'`);
78885
79044
  }
78886
79045
  }
78887
- if (adapter) {
79046
+ if (adapter2 && (utils_default.isFunction(adapter2) || (adapter2 = adapter2.get(config)))) {
78888
79047
  break;
78889
79048
  }
78890
- rejectedReasons[id || "#" + i] = adapter;
79049
+ rejectedReasons[id || "#" + i] = adapter2;
78891
79050
  }
78892
- if (!adapter) {
79051
+ if (!adapter2) {
78893
79052
  const reasons = Object.entries(rejectedReasons).map(
78894
79053
  ([id, state]) => `adapter ${id} ` + (state === false ? "is not supported by the environment" : "is not available in the build")
78895
79054
  );
@@ -78899,12 +79058,12 @@ var adapters_default = {
78899
79058
  "ERR_NOT_SUPPORT"
78900
79059
  );
78901
79060
  }
78902
- return adapter;
79061
+ return adapter2;
78903
79062
  },
78904
79063
  adapters: knownAdapters
78905
79064
  };
78906
79065
 
78907
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
79066
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/dispatchRequest.js
78908
79067
  function throwIfCancellationRequested(config) {
78909
79068
  if (config.cancelToken) {
78910
79069
  config.cancelToken.throwIfRequested();
@@ -78923,8 +79082,8 @@ function dispatchRequest(config) {
78923
79082
  if (["post", "put", "patch"].indexOf(config.method) !== -1) {
78924
79083
  config.headers.setContentType("application/x-www-form-urlencoded", false);
78925
79084
  }
78926
- const adapter = adapters_default.getAdapter(config.adapter || defaults_default.adapter);
78927
- return adapter(config).then(function onAdapterResolution(response) {
79085
+ const adapter2 = adapters_default.getAdapter(config.adapter || defaults_default.adapter, config);
79086
+ return adapter2(config).then(function onAdapterResolution(response) {
78928
79087
  throwIfCancellationRequested(config);
78929
79088
  response.data = transformData.call(
78930
79089
  config,
@@ -78949,7 +79108,7 @@ function dispatchRequest(config) {
78949
79108
  });
78950
79109
  }
78951
79110
 
78952
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
79111
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/validator.js
78953
79112
  var validators = {};
78954
79113
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((type, i) => {
78955
79114
  validators[type] = function validator(thing) {
@@ -79013,11 +79172,11 @@ var validator_default = {
79013
79172
  validators
79014
79173
  };
79015
79174
 
79016
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/core/Axios.js
79175
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/core/Axios.js
79017
79176
  var validators2 = validator_default.validators;
79018
79177
  var Axios = class {
79019
79178
  constructor(instanceConfig) {
79020
- this.defaults = instanceConfig;
79179
+ this.defaults = instanceConfig || {};
79021
79180
  this.interceptors = {
79022
79181
  request: new InterceptorManager_default(),
79023
79182
  response: new InterceptorManager_default()
@@ -79121,8 +79280,8 @@ var Axios = class {
79121
79280
  let len;
79122
79281
  if (!synchronousRequestInterceptors) {
79123
79282
  const chain = [dispatchRequest.bind(this), void 0];
79124
- chain.unshift.apply(chain, requestInterceptorChain);
79125
- chain.push.apply(chain, responseInterceptorChain);
79283
+ chain.unshift(...requestInterceptorChain);
79284
+ chain.push(...responseInterceptorChain);
79126
79285
  len = chain.length;
79127
79286
  promise = Promise.resolve(config);
79128
79287
  while (i < len) {
@@ -79188,7 +79347,7 @@ utils_default.forEach(["post", "put", "patch"], function forEachMethodWithData(m
79188
79347
  });
79189
79348
  var Axios_default = Axios;
79190
79349
 
79191
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
79350
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/cancel/CancelToken.js
79192
79351
  var CancelToken = class _CancelToken {
79193
79352
  constructor(executor) {
79194
79353
  if (typeof executor !== "function") {
@@ -79287,19 +79446,19 @@ var CancelToken = class _CancelToken {
79287
79446
  };
79288
79447
  var CancelToken_default = CancelToken;
79289
79448
 
79290
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
79449
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/spread.js
79291
79450
  function spread(callback) {
79292
79451
  return function wrap(arr) {
79293
79452
  return callback.apply(null, arr);
79294
79453
  };
79295
79454
  }
79296
79455
 
79297
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
79456
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/isAxiosError.js
79298
79457
  function isAxiosError(payload) {
79299
79458
  return utils_default.isObject(payload) && payload.isAxiosError === true;
79300
79459
  }
79301
79460
 
79302
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
79461
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/helpers/HttpStatusCode.js
79303
79462
  var HttpStatusCode = {
79304
79463
  Continue: 100,
79305
79464
  SwitchingProtocols: 101,
@@ -79370,7 +79529,7 @@ Object.entries(HttpStatusCode).forEach(([key2, value]) => {
79370
79529
  });
79371
79530
  var HttpStatusCode_default = HttpStatusCode;
79372
79531
 
79373
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/lib/axios.js
79532
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/lib/axios.js
79374
79533
  function createInstance(defaultConfig) {
79375
79534
  const context = new Axios_default(defaultConfig);
79376
79535
  const instance = bind(Axios_default.prototype.request, context);
@@ -79403,7 +79562,7 @@ axios.HttpStatusCode = HttpStatusCode_default;
79403
79562
  axios.default = axios;
79404
79563
  var axios_default = axios;
79405
79564
 
79406
- // ../../../../node_modules/.pnpm/axios@1.8.4_debug@4.3.7/node_modules/axios/index.js
79565
+ // ../../../../node_modules/.pnpm/axios@1.12.0_debug@4.3.7/node_modules/axios/index.js
79407
79566
  var {
79408
79567
  Axios: Axios2,
79409
79568
  AxiosError: AxiosError2,
@@ -80288,17 +80447,17 @@ var isRegExp2 = isType("RegExp");
80288
80447
  var toArr = function(val) {
80289
80448
  return isArr(val) ? val : val ? [val] : [];
80290
80449
  };
80291
- function each(val, iterator, revert) {
80450
+ function each(val, iterator2, revert) {
80292
80451
  if (isArr(val) || isStr(val)) {
80293
80452
  if (revert) {
80294
80453
  for (var i = val.length - 1; i >= 0; i--) {
80295
- if (iterator(val[i], i) === false) {
80454
+ if (iterator2(val[i], i) === false) {
80296
80455
  return;
80297
80456
  }
80298
80457
  }
80299
80458
  } else {
80300
80459
  for (var i = 0; i < val.length; i++) {
80301
- if (iterator(val[i], i) === false) {
80460
+ if (iterator2(val[i], i) === false) {
80302
80461
  return;
80303
80462
  }
80304
80463
  }
@@ -80307,17 +80466,17 @@ function each(val, iterator, revert) {
80307
80466
  var key2 = void 0;
80308
80467
  for (key2 in val) {
80309
80468
  if (Object.hasOwnProperty.call(val, key2)) {
80310
- if (iterator(val[key2], key2) === false) {
80469
+ if (iterator2(val[key2], key2) === false) {
80311
80470
  return;
80312
80471
  }
80313
80472
  }
80314
80473
  }
80315
80474
  }
80316
80475
  }
80317
- function map(val, iterator, revert) {
80476
+ function map(val, iterator2, revert) {
80318
80477
  var res = isArr(val) || isStr(val) ? [] : {};
80319
80478
  each(val, function(item, key2) {
80320
- var value = iterator(item, key2);
80479
+ var value = iterator2(item, key2);
80321
80480
  if (isArr(res)) {
80322
80481
  ;
80323
80482
  res.push(value);
@@ -80327,10 +80486,10 @@ function map(val, iterator, revert) {
80327
80486
  }, revert);
80328
80487
  return res;
80329
80488
  }
80330
- function reduce(val, iterator, accumulator, revert) {
80489
+ function reduce(val, iterator2, accumulator, revert) {
80331
80490
  var result = accumulator;
80332
80491
  each(val, function(item, key2) {
80333
- result = iterator(result, item, key2);
80492
+ result = iterator2(result, item, key2);
80334
80493
  }, revert);
80335
80494
  return result;
80336
80495
  }
@@ -83083,10 +83242,10 @@ function findObservable(target, key2, value) {
83083
83242
  }
83084
83243
  return value;
83085
83244
  }
83086
- function patchIterator(target, key2, iterator, isEntries) {
83087
- var originalNext = iterator.next;
83088
- iterator.next = function() {
83089
- var _a2 = originalNext.call(iterator), done = _a2.done, value = _a2.value;
83245
+ function patchIterator(target, key2, iterator2, isEntries) {
83246
+ var originalNext = iterator2.next;
83247
+ iterator2.next = function() {
83248
+ var _a2 = originalNext.call(iterator2), done = _a2.done, value = _a2.value;
83090
83249
  if (!done) {
83091
83250
  if (isEntries) {
83092
83251
  value[1] = findObservable(target, key2, value[1]);
@@ -83096,7 +83255,7 @@ function patchIterator(target, key2, iterator, isEntries) {
83096
83255
  }
83097
83256
  return { done, value };
83098
83257
  };
83099
- return iterator;
83258
+ return iterator2;
83100
83259
  }
83101
83260
  var instrumentations = (_a = {
83102
83261
  has: function(key2) {
@@ -83184,22 +83343,22 @@ var instrumentations = (_a = {
83184
83343
  var target = ProxyRaw.get(this);
83185
83344
  var proto = Reflect.getPrototypeOf(this);
83186
83345
  bindTargetKeyWithCurrentReaction({ target, type: "iterate" });
83187
- var iterator = proto.values.apply(target, arguments);
83188
- return patchIterator(target, "", iterator, false);
83346
+ var iterator2 = proto.values.apply(target, arguments);
83347
+ return patchIterator(target, "", iterator2, false);
83189
83348
  },
83190
83349
  entries: function() {
83191
83350
  var target = ProxyRaw.get(this);
83192
83351
  var proto = Reflect.getPrototypeOf(this);
83193
83352
  bindTargetKeyWithCurrentReaction({ target, type: "iterate" });
83194
- var iterator = proto.entries.apply(target, arguments);
83195
- return patchIterator(target, "", iterator, true);
83353
+ var iterator2 = proto.entries.apply(target, arguments);
83354
+ return patchIterator(target, "", iterator2, true);
83196
83355
  }
83197
83356
  }, _a[Symbol.iterator] = function() {
83198
83357
  var target = ProxyRaw.get(this);
83199
83358
  var proto = Reflect.getPrototypeOf(this);
83200
83359
  bindTargetKeyWithCurrentReaction({ target, type: "iterate" });
83201
- var iterator = proto[Symbol.iterator].apply(target, arguments);
83202
- return patchIterator(target, "", iterator, target instanceof Map);
83360
+ var iterator2 = proto[Symbol.iterator].apply(target, arguments);
83361
+ return patchIterator(target, "", iterator2, target instanceof Map);
83203
83362
  }, Object.defineProperty(_a, "size", {
83204
83363
  get: function() {
83205
83364
  var target = ProxyRaw.get(this);