@mastra/teams 0.1.2-alpha.2 → 0.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -14,7 +14,7 @@ var __esmMin = (fn, res, err) => () => {
14
14
  throw err = [e], e;
15
15
  }
16
16
  };
17
- var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
17
+ var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
18
18
  var __exportAll = (all, no_symbols) => {
19
19
  let target = {};
20
20
  for (var name in all) __defProp(target, name, {
@@ -34,7 +34,7 @@ var __copyProps = (to, from, except, desc) => {
34
34
  }
35
35
  return to;
36
36
  };
37
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
37
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule || !__hasOwnProp.call(mod, "default") ? __defProp(target, "default", {
38
38
  value: mod,
39
39
  enumerable: true
40
40
  }) : target, mod));
@@ -57,6 +57,7 @@ tty = __toESM(tty, 1);
57
57
  let os = require("os");
58
58
  os = __toESM(os, 1);
59
59
  let path = require("path");
60
+ path = __toESM(path, 1);
60
61
  let url = require("url");
61
62
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/mdast-util-to-string/4.0.0/3001db021a790b37432b62272503499c0eaa2fb2c605e9dc3d1a5e4620151f66/node_modules/mdast-util-to-string/lib/index.js
62
63
  /**
@@ -1821,14 +1822,15 @@ function markdownTable(table, options) {
1821
1822
  const size = longestCellByColumn[columnIndex] - (sizes[columnIndex] || 0);
1822
1823
  const code = alignments[columnIndex];
1823
1824
  if (code === 114) before = " ".repeat(size);
1824
- else if (code === 99) if (size % 2) {
1825
- before = " ".repeat(size / 2 + .5);
1826
- after = " ".repeat(size / 2 - .5);
1827
- } else {
1828
- before = " ".repeat(size / 2);
1829
- after = before;
1830
- }
1831
- else after = " ".repeat(size);
1825
+ else if (code === 99) {
1826
+ if (size % 2) {
1827
+ before = " ".repeat(size / 2 + .5);
1828
+ after = " ".repeat(size / 2 - .5);
1829
+ } else {
1830
+ before = " ".repeat(size / 2);
1831
+ after = before;
1832
+ }
1833
+ } else after = " ".repeat(size);
1832
1834
  }
1833
1835
  if (settings.delimiterStart !== false && !columnIndex) line.push("|");
1834
1836
  if (settings.padding !== false && !(settings.alignDelimiters === false && cell === "") && (settings.delimiterStart !== false || columnIndex)) line.push(" ");
@@ -7012,7 +7014,7 @@ const domain = {
7012
7014
  tokenize: tokenizeDomain,
7013
7015
  partial: true
7014
7016
  };
7015
- const path$7 = {
7017
+ const path$1 = {
7016
7018
  tokenize: tokenizePath,
7017
7019
  partial: true
7018
7020
  };
@@ -7208,7 +7210,7 @@ function tokenizeWwwAutolink(effects, ok, nok) {
7208
7210
  if (code !== 87 && code !== 119 || !previousWww.call(self, self.previous) || previousUnbalanced(self.events)) return nok(code);
7209
7211
  effects.enter("literalAutolink");
7210
7212
  effects.enter("literalAutolinkWww");
7211
- return effects.check(wwwPrefix, effects.attempt(domain, effects.attempt(path$7, wwwAfter), nok), nok)(code);
7213
+ return effects.check(wwwPrefix, effects.attempt(domain, effects.attempt(path$1, wwwAfter), nok), nok)(code);
7212
7214
  }
7213
7215
  /**
7214
7216
  * After a www autolink literal.
@@ -7317,7 +7319,7 @@ function tokenizeProtocolAutolink(effects, ok, nok) {
7317
7319
  * @type {State}
7318
7320
  */
7319
7321
  function afterProtocol(code) {
7320
- return code === null || asciiControl(code) || markdownLineEndingOrSpace(code) || unicodeWhitespace(code) || unicodePunctuation(code) ? nok(code) : effects.attempt(domain, effects.attempt(path$7, protocolAfter), nok)(code);
7322
+ return code === null || asciiControl(code) || markdownLineEndingOrSpace(code) || unicodeWhitespace(code) || unicodePunctuation(code) ? nok(code) : effects.attempt(domain, effects.attempt(path$1, protocolAfter), nok)(code);
7321
7323
  }
7322
7324
  /**
7323
7325
  * After a protocol autolink literal.
@@ -10124,7 +10126,9 @@ function factoryLabel(effects, ok, nok, type, markerType, stringType) {
10124
10126
  * @type {State}
10125
10127
  */
10126
10128
  function atBreak(code) {
10127
- if (size > 999 || code === null || code === 91 || code === 93 && !seen || code === 94 && !size && "_hiddenFootnoteSupport" in self.parser.constructs) return nok(code);
10129
+ if (size > 999 || code === null || code === 91 || code === 93 && !seen ||
10130
+ /* c8 ignore next 3 */
10131
+ code === 94 && !size && "_hiddenFootnoteSupport" in self.parser.constructs) return nok(code);
10128
10132
  if (code === 93) {
10129
10133
  effects.exit(stringType);
10130
10134
  effects.enter(markerType);
@@ -14602,19 +14606,21 @@ function resolveTable(events, context) {
14602
14606
  }
14603
14607
  cell[2] = index;
14604
14608
  }
14605
- } else if (token.type === "tableCellDivider") if (inFirstCellAwaitingPipe) inFirstCellAwaitingPipe = false;
14606
- else {
14607
- if (lastCell[1] !== 0) {
14608
- cell[0] = cell[1];
14609
- currentCell = flushCell(map, context, lastCell, rowKind, void 0, currentCell);
14609
+ } else if (token.type === "tableCellDivider") {
14610
+ if (inFirstCellAwaitingPipe) inFirstCellAwaitingPipe = false;
14611
+ else {
14612
+ if (lastCell[1] !== 0) {
14613
+ cell[0] = cell[1];
14614
+ currentCell = flushCell(map, context, lastCell, rowKind, void 0, currentCell);
14615
+ }
14616
+ lastCell = cell;
14617
+ cell = [
14618
+ lastCell[1],
14619
+ index,
14620
+ 0,
14621
+ 0
14622
+ ];
14610
14623
  }
14611
- lastCell = cell;
14612
- cell = [
14613
- lastCell[1],
14614
- index,
14615
- 0,
14616
- 0
14617
- ];
14618
14624
  }
14619
14625
  } else if (token.type === "tableHead") {
14620
14626
  afterHeadAwaitingFirstBodyRow = true;
@@ -16424,8 +16430,10 @@ function compiler(options) {
16424
16430
  /** @type {Array<number>} */
16425
16431
  const listStack = [];
16426
16432
  let index = -1;
16427
- while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") if (events[index][0] === "enter") listStack.push(index);
16428
- else index = prepareList(events, listStack.pop(), index);
16433
+ while (++index < events.length) if (events[index][1].type === "listOrdered" || events[index][1].type === "listUnordered") {
16434
+ if (events[index][0] === "enter") listStack.push(index);
16435
+ else index = prepareList(events, listStack.pop(), index);
16436
+ }
16429
16437
  index = -1;
16430
16438
  while (++index < events.length) {
16431
16439
  const handler = config[events[index][0]];
@@ -16615,8 +16623,10 @@ function compiler(options) {
16615
16623
  start: token.start,
16616
16624
  end: token.end
16617
16625
  }) + "): it’s not open");
16618
- else if (open[0].type !== token.type) if (onExitError) onExitError.call(this, token, open[0]);
16619
- else (open[1] || defaultOnError).call(this, token, open[0]);
16626
+ else if (open[0].type !== token.type) {
16627
+ if (onExitError) onExitError.call(this, token, open[0]);
16628
+ else (open[1] || defaultOnError).call(this, token, open[0]);
16629
+ }
16620
16630
  node.position.end = point(token.end);
16621
16631
  }
16622
16632
  /**
@@ -17467,9 +17477,11 @@ function wrap$1(middleware, callback) {
17467
17477
  if (fnExpectsCallback && called) throw exception;
17468
17478
  return done(exception);
17469
17479
  }
17470
- if (!fnExpectsCallback) if (result && result.then && typeof result.then === "function") result.then(then, done);
17471
- else if (result instanceof Error) done(result);
17472
- else then(result);
17480
+ if (!fnExpectsCallback) {
17481
+ if (result && result.then && typeof result.then === "function") result.then(then, done);
17482
+ else if (result instanceof Error) done(result);
17483
+ else then(result);
17484
+ }
17473
17485
  }
17474
17486
  /**
17475
17487
  * Call `callback`, only once.
@@ -17581,13 +17593,15 @@ var VFileMessage = class extends Error {
17581
17593
  /** @type {Options} */
17582
17594
  let options = {};
17583
17595
  let legacyCause = false;
17584
- if (optionsOrParentOrPlace) if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
17585
- else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
17586
- else if ("type" in optionsOrParentOrPlace) options = {
17587
- ancestors: [optionsOrParentOrPlace],
17588
- place: optionsOrParentOrPlace.position
17589
- };
17590
- else options = { ...optionsOrParentOrPlace };
17596
+ if (optionsOrParentOrPlace) {
17597
+ if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
17598
+ else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
17599
+ else if ("type" in optionsOrParentOrPlace) options = {
17600
+ ancestors: [optionsOrParentOrPlace],
17601
+ place: optionsOrParentOrPlace.position
17602
+ };
17603
+ else options = { ...optionsOrParentOrPlace };
17604
+ }
17591
17605
  if (typeof causeOrReason === "string") reason = causeOrReason;
17592
17606
  else if (!options.cause && causeOrReason) {
17593
17607
  legacyCause = true;
@@ -19230,9 +19244,10 @@ const unified = new class Processor extends CallableInstance {
19230
19244
  const namespace = this.namespace;
19231
19245
  assertUnfrozen("use", this.frozen);
19232
19246
  if (value === null || value === void 0) {} else if (typeof value === "function") addPlugin(value, parameters);
19233
- else if (typeof value === "object") if (Array.isArray(value)) addList(value);
19234
- else addPreset(value);
19235
- else throw new TypeError("Expected usable value, not `" + value + "`");
19247
+ else if (typeof value === "object") {
19248
+ if (Array.isArray(value)) addList(value);
19249
+ else addPreset(value);
19250
+ } else throw new TypeError("Expected usable value, not `" + value + "`");
19236
19251
  return this;
19237
19252
  /**
19238
19253
  * @param {Pluggable} value
@@ -19240,11 +19255,12 @@ const unified = new class Processor extends CallableInstance {
19240
19255
  */
19241
19256
  function add(value) {
19242
19257
  if (typeof value === "function") addPlugin(value, []);
19243
- else if (typeof value === "object") if (Array.isArray(value)) {
19244
- const [plugin, ...parameters] = value;
19245
- addPlugin(plugin, parameters);
19246
- } else addPreset(value);
19247
- else throw new TypeError("Expected usable value, not `" + value + "`");
19258
+ else if (typeof value === "object") {
19259
+ if (Array.isArray(value)) {
19260
+ const [plugin, ...parameters] = value;
19261
+ addPlugin(plugin, parameters);
19262
+ } else addPreset(value);
19263
+ } else throw new TypeError("Expected usable value, not `" + value + "`");
19248
19264
  }
19249
19265
  /**
19250
19266
  * @param {Preset} result
@@ -20646,7 +20662,7 @@ function mapButtonStyle(style, platform) {
20646
20662
  function escapeTableCell(value) {
20647
20663
  return value.replace(/\\/g, "\\\\").replace(/\|/g, "\\|").replace(/\n/g, " ");
20648
20664
  }
20649
- var LIMIT = 25 * 1024 * 1024;
20665
+ var LIMIT = 26214400;
20650
20666
  var REDIRECTS = 5;
20651
20667
  var TIMEOUT = 3e4;
20652
20668
  var STATUSES = /* @__PURE__ */ new Set([
@@ -20885,19 +20901,19 @@ var require_events$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
20885
20901
  //#endregion
20886
20902
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/delayed-stream/1.0.0/eb76f31b83715e6793df4a1cf7bfdda57710f7927327069f4386365ce007f0e2/node_modules/delayed-stream/lib/delayed_stream.js
20887
20903
  var require_delayed_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20888
- var Stream$6 = require("stream").Stream;
20889
- var util$10 = require("util");
20904
+ var Stream = require("stream").Stream;
20905
+ var util = require("util");
20890
20906
  module.exports = DelayedStream;
20891
20907
  function DelayedStream() {
20892
20908
  this.source = null;
20893
20909
  this.dataSize = 0;
20894
- this.maxDataSize = 1024 * 1024;
20910
+ this.maxDataSize = 1048576;
20895
20911
  this.pauseStream = true;
20896
20912
  this._maxDataSizeExceeded = false;
20897
20913
  this._released = false;
20898
20914
  this._bufferedEvents = [];
20899
20915
  }
20900
- util$10.inherits(DelayedStream, Stream$6);
20916
+ util.inherits(DelayedStream, Stream);
20901
20917
  DelayedStream.create = function(source, options) {
20902
20918
  var delayedStream = new this();
20903
20919
  options = options || {};
@@ -20937,7 +20953,7 @@ var require_delayed_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =>
20937
20953
  this._bufferedEvents = [];
20938
20954
  };
20939
20955
  DelayedStream.prototype.pipe = function() {
20940
- var r = Stream$6.prototype.pipe.apply(this, arguments);
20956
+ var r = Stream.prototype.pipe.apply(this, arguments);
20941
20957
  this.resume();
20942
20958
  return r;
20943
20959
  };
@@ -20963,15 +20979,15 @@ var require_delayed_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =>
20963
20979
  //#endregion
20964
20980
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/combined-stream/1.0.8/f32a4037e58912bcc4f7f58589bd0099fab7ad7ae9e88460192f2f71d0c885d0/node_modules/combined-stream/lib/combined_stream.js
20965
20981
  var require_combined_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
20966
- var util$9 = require("util");
20967
- var Stream$5 = require("stream").Stream;
20982
+ var util = require("util");
20983
+ var Stream = require("stream").Stream;
20968
20984
  var DelayedStream = require_delayed_stream();
20969
20985
  module.exports = CombinedStream;
20970
20986
  function CombinedStream() {
20971
20987
  this.writable = false;
20972
20988
  this.readable = true;
20973
20989
  this.dataSize = 0;
20974
- this.maxDataSize = 2 * 1024 * 1024;
20990
+ this.maxDataSize = 2097152;
20975
20991
  this.pauseStreams = true;
20976
20992
  this._released = false;
20977
20993
  this._streams = [];
@@ -20979,34 +20995,34 @@ var require_combined_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =
20979
20995
  this._insideLoop = false;
20980
20996
  this._pendingNext = false;
20981
20997
  }
20982
- util$9.inherits(CombinedStream, Stream$5);
20998
+ util.inherits(CombinedStream, Stream);
20983
20999
  CombinedStream.create = function(options) {
20984
21000
  var combinedStream = new this();
20985
21001
  options = options || {};
20986
21002
  for (var option in options) combinedStream[option] = options[option];
20987
21003
  return combinedStream;
20988
21004
  };
20989
- CombinedStream.isStreamLike = function(stream$10) {
20990
- return typeof stream$10 !== "function" && typeof stream$10 !== "string" && typeof stream$10 !== "boolean" && typeof stream$10 !== "number" && !Buffer.isBuffer(stream$10);
21005
+ CombinedStream.isStreamLike = function(stream) {
21006
+ return typeof stream !== "function" && typeof stream !== "string" && typeof stream !== "boolean" && typeof stream !== "number" && !Buffer.isBuffer(stream);
20991
21007
  };
20992
- CombinedStream.prototype.append = function(stream$11) {
20993
- if (CombinedStream.isStreamLike(stream$11)) {
20994
- if (!(stream$11 instanceof DelayedStream)) {
20995
- var newStream = DelayedStream.create(stream$11, {
21008
+ CombinedStream.prototype.append = function(stream) {
21009
+ if (CombinedStream.isStreamLike(stream)) {
21010
+ if (!(stream instanceof DelayedStream)) {
21011
+ var newStream = DelayedStream.create(stream, {
20996
21012
  maxDataSize: Infinity,
20997
21013
  pauseStream: this.pauseStreams
20998
21014
  });
20999
- stream$11.on("data", this._checkDataSize.bind(this));
21000
- stream$11 = newStream;
21015
+ stream.on("data", this._checkDataSize.bind(this));
21016
+ stream = newStream;
21001
21017
  }
21002
- this._handleErrors(stream$11);
21003
- if (this.pauseStreams) stream$11.pause();
21018
+ this._handleErrors(stream);
21019
+ if (this.pauseStreams) stream.pause();
21004
21020
  }
21005
- this._streams.push(stream$11);
21021
+ this._streams.push(stream);
21006
21022
  return this;
21007
21023
  };
21008
21024
  CombinedStream.prototype.pipe = function(dest, options) {
21009
- Stream$5.prototype.pipe.call(this, dest, options);
21025
+ Stream.prototype.pipe.call(this, dest, options);
21010
21026
  this.resume();
21011
21027
  return dest;
21012
21028
  };
@@ -21027,37 +21043,37 @@ var require_combined_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =
21027
21043
  }
21028
21044
  };
21029
21045
  CombinedStream.prototype._realGetNext = function() {
21030
- var stream$12 = this._streams.shift();
21031
- if (typeof stream$12 == "undefined") {
21046
+ var stream = this._streams.shift();
21047
+ if (typeof stream == "undefined") {
21032
21048
  this.end();
21033
21049
  return;
21034
21050
  }
21035
- if (typeof stream$12 !== "function") {
21036
- this._pipeNext(stream$12);
21051
+ if (typeof stream !== "function") {
21052
+ this._pipeNext(stream);
21037
21053
  return;
21038
21054
  }
21039
- stream$12(function(stream$13) {
21040
- if (CombinedStream.isStreamLike(stream$13)) {
21041
- stream$13.on("data", this._checkDataSize.bind(this));
21042
- this._handleErrors(stream$13);
21055
+ stream(function(stream) {
21056
+ if (CombinedStream.isStreamLike(stream)) {
21057
+ stream.on("data", this._checkDataSize.bind(this));
21058
+ this._handleErrors(stream);
21043
21059
  }
21044
- this._pipeNext(stream$13);
21060
+ this._pipeNext(stream);
21045
21061
  }.bind(this));
21046
21062
  };
21047
- CombinedStream.prototype._pipeNext = function(stream$14) {
21048
- this._currentStream = stream$14;
21049
- if (CombinedStream.isStreamLike(stream$14)) {
21050
- stream$14.on("end", this._getNext.bind(this));
21051
- stream$14.pipe(this, { end: false });
21063
+ CombinedStream.prototype._pipeNext = function(stream) {
21064
+ this._currentStream = stream;
21065
+ if (CombinedStream.isStreamLike(stream)) {
21066
+ stream.on("end", this._getNext.bind(this));
21067
+ stream.pipe(this, { end: false });
21052
21068
  return;
21053
21069
  }
21054
- var value = stream$14;
21070
+ var value = stream;
21055
21071
  this.write(value);
21056
21072
  this._getNext();
21057
21073
  };
21058
- CombinedStream.prototype._handleErrors = function(stream$15) {
21074
+ CombinedStream.prototype._handleErrors = function(stream) {
21059
21075
  var self = this;
21060
- stream$15.on("error", function(err) {
21076
+ stream.on("error", function(err) {
21061
21077
  self._emitError(err);
21062
21078
  });
21063
21079
  };
@@ -21100,9 +21116,9 @@ var require_combined_stream = /* @__PURE__ */ __commonJSMin(((exports, module) =
21100
21116
  CombinedStream.prototype._updateDataSize = function() {
21101
21117
  this.dataSize = 0;
21102
21118
  var self = this;
21103
- this._streams.forEach(function(stream$16) {
21104
- if (!stream$16.dataSize) return;
21105
- self.dataSize += stream$16.dataSize;
21119
+ this._streams.forEach(function(stream) {
21120
+ if (!stream.dataSize) return;
21121
+ self.dataSize += stream.dataSize;
21106
21122
  });
21107
21123
  if (this._currentStream && this._currentStream.dataSize) this.dataSize += this._currentStream.dataSize;
21108
21124
  };
@@ -28184,7 +28200,7 @@ var require_mime_types$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
28184
28200
  * @private
28185
28201
  */
28186
28202
  var db = require_mime_db$1();
28187
- var extname$1 = require("path").extname;
28203
+ var extname = require("path").extname;
28188
28204
  /**
28189
28205
  * Module variables.
28190
28206
  * @private
@@ -28252,9 +28268,9 @@ var require_mime_types$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
28252
28268
  * @param {string} path
28253
28269
  * @return {boolean|string}
28254
28270
  */
28255
- function lookup(path$38) {
28256
- if (!path$38 || typeof path$38 !== "string") return false;
28257
- var extension = extname$1("x." + path$38).toLowerCase().substr(1);
28271
+ function lookup(path) {
28272
+ if (!path || typeof path !== "string") return false;
28273
+ var extension = extname("x." + path).toLowerCase().substr(1);
28258
28274
  if (!extension) return false;
28259
28275
  return exports.types[extension] || false;
28260
28276
  }
@@ -28588,14 +28604,14 @@ var require_populate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28588
28604
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/form-data/4.0.6/244d199f05f769bca6fa5f1c0cf8843139c442eca307b71cbb729946ac847440/node_modules/form-data/lib/form_data.js
28589
28605
  var require_form_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28590
28606
  var CombinedStream = require_combined_stream();
28591
- var util$8 = require("util");
28592
- var path$6 = require("path");
28593
- var http$7 = require("http");
28594
- var https$4 = require("https");
28607
+ var util = require("util");
28608
+ var path = require("path");
28609
+ var http = require("http");
28610
+ var https = require("https");
28595
28611
  var parseUrl = require("url").parse;
28596
- var fs$3 = require("fs");
28597
- var Stream$4 = require("stream").Stream;
28598
- var crypto$7 = require("crypto");
28612
+ var fs = require("fs");
28613
+ var Stream = require("stream").Stream;
28614
+ var crypto = require("crypto");
28599
28615
  var mime = require_mime_types$1();
28600
28616
  var asynckit = require_asynckit();
28601
28617
  var setToStringTag = require_es_set_tostringtag();
@@ -28629,7 +28645,7 @@ var require_form_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28629
28645
  options = options || {};
28630
28646
  for (var option in options) this[option] = options[option];
28631
28647
  }
28632
- util$8.inherits(FormData, CombinedStream);
28648
+ util.inherits(FormData, CombinedStream);
28633
28649
  FormData.LINE_BREAK = "\r\n";
28634
28650
  FormData.DEFAULT_CONTENT_TYPE = "application/octet-stream";
28635
28651
  FormData.prototype.append = function(field, value, options) {
@@ -28655,19 +28671,20 @@ var require_form_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28655
28671
  else if (typeof value === "string") valueLength = Buffer.byteLength(value);
28656
28672
  this._valueLength += valueLength;
28657
28673
  this._overheadLength += Buffer.byteLength(header) + FormData.LINE_BREAK.length;
28658
- if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream$4)) return;
28674
+ if (!value || !value.path && !(value.readable && hasOwn(value, "httpVersion")) && !(value instanceof Stream)) return;
28659
28675
  if (!options.knownLength) this._valuesToMeasure.push(value);
28660
28676
  };
28661
28677
  FormData.prototype._lengthRetriever = function(value, callback) {
28662
- if (hasOwn(value, "fd")) if (value.end != void 0 && value.end != Infinity && value.start != void 0) callback(null, value.end + 1 - (value.start ? value.start : 0));
28663
- else fs$3.stat(value.path, function(err, stat) {
28664
- if (err) {
28665
- callback(err);
28666
- return;
28667
- }
28668
- callback(null, stat.size - (value.start ? value.start : 0));
28669
- });
28670
- else if (hasOwn(value, "httpVersion")) callback(null, Number(value.headers["content-length"]));
28678
+ if (hasOwn(value, "fd")) {
28679
+ if (value.end != void 0 && value.end != Infinity && value.start != void 0) callback(null, value.end + 1 - (value.start ? value.start : 0));
28680
+ else fs.stat(value.path, function(err, stat) {
28681
+ if (err) {
28682
+ callback(err);
28683
+ return;
28684
+ }
28685
+ callback(null, stat.size - (value.start ? value.start : 0));
28686
+ });
28687
+ } else if (hasOwn(value, "httpVersion")) callback(null, Number(value.headers["content-length"]));
28671
28688
  else if (hasOwn(value, "httpModule")) {
28672
28689
  value.on("response", function(response) {
28673
28690
  value.pause();
@@ -28697,9 +28714,9 @@ var require_form_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28697
28714
  };
28698
28715
  FormData.prototype._getContentDisposition = function(value, options) {
28699
28716
  var filename;
28700
- if (typeof options.filepath === "string") filename = path$6.normalize(options.filepath).replace(/\\/g, "/");
28701
- else if (options.filename || value && (value.name || value.path)) filename = path$6.basename(options.filename || value && (value.name || value.path));
28702
- else if (value && value.readable && hasOwn(value, "httpVersion")) filename = path$6.basename(value.client._httpMessage.path || "");
28717
+ if (typeof options.filepath === "string") filename = path.normalize(options.filepath).replace(/\\/g, "/");
28718
+ else if (options.filename || value && (value.name || value.path)) filename = path.basename(options.filename || value && (value.name || value.path));
28719
+ else if (value && value.readable && hasOwn(value, "httpVersion")) filename = path.basename(value.client._httpMessage.path || "");
28703
28720
  if (filename) return "filename=\"" + escapeHeaderParam(filename) + "\"";
28704
28721
  };
28705
28722
  FormData.prototype._getContentType = function(value, options) {
@@ -28746,7 +28763,7 @@ var require_form_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28746
28763
  return Buffer.concat([dataBuffer, Buffer.from(this._lastBoundary())]);
28747
28764
  };
28748
28765
  FormData.prototype._generateBoundary = function() {
28749
- this._boundary = "--------------------------" + crypto$7.randomBytes(12).toString("hex");
28766
+ this._boundary = "--------------------------" + crypto.randomBytes(12).toString("hex");
28750
28767
  };
28751
28768
  FormData.prototype.getLengthSync = function() {
28752
28769
  var knownLength = this._overheadLength + this._valueLength;
@@ -28794,8 +28811,8 @@ var require_form_data = /* @__PURE__ */ __commonJSMin(((exports, module) => {
28794
28811
  if (!options.port) options.port = options.protocol === "https:" ? 443 : 80;
28795
28812
  }
28796
28813
  options.headers = this.getHeaders(params.headers);
28797
- if (options.protocol === "https:") request = https$4.request(options);
28798
- else request = http$7.request(options);
28814
+ if (options.protocol === "https:") request = https.request(options);
28815
+ else request = http.request(options);
28799
28816
  this.getLength(function(err, length) {
28800
28817
  if (err && err !== "Unknown stream") {
28801
28818
  this._error(err);
@@ -29088,15 +29105,16 @@ var require_common = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29088
29105
  let templateIndex = 0;
29089
29106
  let starIndex = -1;
29090
29107
  let matchIndex = 0;
29091
- while (searchIndex < search.length) if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) if (template[templateIndex] === "*") {
29092
- starIndex = templateIndex;
29093
- matchIndex = searchIndex;
29094
- templateIndex++;
29095
- } else {
29096
- searchIndex++;
29097
- templateIndex++;
29098
- }
29099
- else if (starIndex !== -1) {
29108
+ while (searchIndex < search.length) if (templateIndex < template.length && (template[templateIndex] === search[searchIndex] || template[templateIndex] === "*")) {
29109
+ if (template[templateIndex] === "*") {
29110
+ starIndex = templateIndex;
29111
+ matchIndex = searchIndex;
29112
+ templateIndex++;
29113
+ } else {
29114
+ searchIndex++;
29115
+ templateIndex++;
29116
+ }
29117
+ } else if (starIndex !== -1) {
29100
29118
  templateIndex = starIndex + 1;
29101
29119
  matchIndex++;
29102
29120
  searchIndex = matchIndex;
@@ -29453,8 +29471,8 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29453
29471
  /**
29454
29472
  * Module dependencies.
29455
29473
  */
29456
- const tty$1 = require("tty");
29457
- const util$7 = require("util");
29474
+ const tty = require("tty");
29475
+ const util = require("util");
29458
29476
  /**
29459
29477
  * This is the Node.js implementation of `debug()`.
29460
29478
  */
@@ -29464,7 +29482,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29464
29482
  exports.save = save;
29465
29483
  exports.load = load;
29466
29484
  exports.useColors = useColors;
29467
- exports.destroy = util$7.deprecate(() => {}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
29485
+ exports.destroy = util.deprecate(() => {}, "Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
29468
29486
  /**
29469
29487
  * Colors.
29470
29488
  */
@@ -29580,7 +29598,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29580
29598
  * Is stdout a TTY? Colored output is enabled when `true`.
29581
29599
  */
29582
29600
  function useColors() {
29583
- return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty$1.isatty(process.stderr.fd);
29601
+ return "colors" in exports.inspectOpts ? Boolean(exports.inspectOpts.colors) : tty.isatty(process.stderr.fd);
29584
29602
  }
29585
29603
  /**
29586
29604
  * Adds ANSI color escape codes if enabled.
@@ -29605,7 +29623,7 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29605
29623
  * Invokes `util.formatWithOptions()` with the specified arguments and writes to stderr.
29606
29624
  */
29607
29625
  function log(...args) {
29608
- return process.stderr.write(util$7.formatWithOptions(exports.inspectOpts, ...args) + "\n");
29626
+ return process.stderr.write(util.formatWithOptions(exports.inspectOpts, ...args) + "\n");
29609
29627
  }
29610
29628
  /**
29611
29629
  * Save `namespaces`.
@@ -29644,14 +29662,14 @@ var require_node = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29644
29662
  */
29645
29663
  formatters.o = function(v) {
29646
29664
  this.inspectOpts.colors = this.useColors;
29647
- return util$7.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
29665
+ return util.inspect(v, this.inspectOpts).split("\n").map((str) => str.trim()).join(" ");
29648
29666
  };
29649
29667
  /**
29650
29668
  * Map %O to `util.inspect()`, allowing multiple lines if needed.
29651
29669
  */
29652
29670
  formatters.O = function(v) {
29653
29671
  this.inspectOpts.colors = this.useColors;
29654
- return util$7.inspect(v, this.inspectOpts);
29672
+ return util.inspect(v, this.inspectOpts);
29655
29673
  };
29656
29674
  }));
29657
29675
  //#endregion
@@ -29682,11 +29700,11 @@ var require_promisify = /* @__PURE__ */ __commonJSMin(((exports) => {
29682
29700
  }));
29683
29701
  //#endregion
29684
29702
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/agent-base/6.0.2/fd726bb5805efcfbdcaab00a0b7a7ac18cf594453a956be17ddae2e014076d37/node_modules/agent-base/dist/src/index.js
29685
- var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29686
- var __importDefault = exports && exports.__importDefault || function(mod) {
29703
+ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module, this$29) => {
29704
+ var __importDefault = this$29 && this$29.__importDefault || function(mod) {
29687
29705
  return mod && mod.__esModule ? mod : { "default": mod };
29688
29706
  };
29689
- const events_1$2 = require("events");
29707
+ const events_1 = require("events");
29690
29708
  const debug_1 = __importDefault(require_src$2());
29691
29709
  const promisify_1 = __importDefault(require_promisify());
29692
29710
  const debug = debug_1.default("agent-base");
@@ -29709,7 +29727,7 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29709
29727
  * @param {Function} callback
29710
29728
  * @api public
29711
29729
  */
29712
- class Agent extends events_1$2.EventEmitter {
29730
+ class Agent extends events_1.EventEmitter {
29713
29731
  constructor(callback, _opts) {
29714
29732
  super();
29715
29733
  let opts = _opts;
@@ -29810,10 +29828,12 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29810
29828
  onerror(/* @__PURE__ */ new Error("`callback` is not defined"));
29811
29829
  return;
29812
29830
  }
29813
- if (!this.promisifiedCallback) if (this.callback.length >= 3) {
29814
- debug("Converting legacy callback function to promise");
29815
- this.promisifiedCallback = promisify_1.default(this.callback);
29816
- } else this.promisifiedCallback = this.callback;
29831
+ if (!this.promisifiedCallback) {
29832
+ if (this.callback.length >= 3) {
29833
+ debug("Converting legacy callback function to promise");
29834
+ this.promisifiedCallback = promisify_1.default(this.callback);
29835
+ } else this.promisifiedCallback = this.callback;
29836
+ }
29817
29837
  if (typeof timeoutMs === "number" && timeoutMs > 0) timeoutId = setTimeout(ontimeout, timeoutMs);
29818
29838
  if ("port" in opts && typeof opts.port !== "number") opts.port = Number(opts.port);
29819
29839
  try {
@@ -29838,8 +29858,8 @@ var require_src$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
29838
29858
  }));
29839
29859
  //#endregion
29840
29860
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/https-proxy-agent/5.0.1/de6951b6584b71a2c60c1fe809bf1d80202eeb7a56388ddebb3b11d1ca1a8018/node_modules/https-proxy-agent/dist/parse-proxy-response.js
29841
- var require_parse_proxy_response = /* @__PURE__ */ __commonJSMin(((exports) => {
29842
- var __importDefault = exports && exports.__importDefault || function(mod) {
29861
+ var require_parse_proxy_response = /* @__PURE__ */ __commonJSMin(((exports, module, this$28) => {
29862
+ var __importDefault = this$28 && this$28.__importDefault || function(mod) {
29843
29863
  return mod && mod.__esModule ? mod : { "default": mod };
29844
29864
  };
29845
29865
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -29897,8 +29917,8 @@ var require_parse_proxy_response = /* @__PURE__ */ __commonJSMin(((exports) => {
29897
29917
  }));
29898
29918
  //#endregion
29899
29919
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/https-proxy-agent/5.0.1/de6951b6584b71a2c60c1fe809bf1d80202eeb7a56388ddebb3b11d1ca1a8018/node_modules/https-proxy-agent/dist/agent.js
29900
- var require_agent = /* @__PURE__ */ __commonJSMin(((exports) => {
29901
- var __awaiter = exports && exports.__awaiter || function(thisArg, _arguments, P, generator) {
29920
+ var require_agent = /* @__PURE__ */ __commonJSMin(((exports, module, this$27) => {
29921
+ var __awaiter = this$27 && this$27.__awaiter || function(thisArg, _arguments, P, generator) {
29902
29922
  function adopt(value) {
29903
29923
  return value instanceof P ? value : new P(function(resolve) {
29904
29924
  resolve(value);
@@ -29925,14 +29945,14 @@ var require_agent = /* @__PURE__ */ __commonJSMin(((exports) => {
29925
29945
  step((generator = generator.apply(thisArg, _arguments || [])).next());
29926
29946
  });
29927
29947
  };
29928
- var __importDefault = exports && exports.__importDefault || function(mod) {
29948
+ var __importDefault = this$27 && this$27.__importDefault || function(mod) {
29929
29949
  return mod && mod.__esModule ? mod : { "default": mod };
29930
29950
  };
29931
29951
  Object.defineProperty(exports, "__esModule", { value: true });
29932
29952
  const net_1 = __importDefault(require("net"));
29933
29953
  const tls_1 = __importDefault(require("tls"));
29934
29954
  const url_1 = __importDefault(require("url"));
29935
- const assert_1$1 = __importDefault(require("assert"));
29955
+ const assert_1 = __importDefault(require("assert"));
29936
29956
  const debug_1 = __importDefault(require_src$2());
29937
29957
  const agent_base_1 = require_src$1();
29938
29958
  const parse_proxy_response_1 = __importDefault(require_parse_proxy_response());
@@ -30016,7 +30036,7 @@ var require_agent = /* @__PURE__ */ __commonJSMin(((exports) => {
30016
30036
  fakeSocket.readable = true;
30017
30037
  req.once("socket", (s) => {
30018
30038
  debug("replaying proxy buffer for failed request");
30019
- assert_1$1.default(s.listenerCount("data") > 0);
30039
+ assert_1.default(s.listenerCount("data") > 0);
30020
30040
  s.push(buffered);
30021
30041
  s.push(null);
30022
30042
  });
@@ -30043,8 +30063,8 @@ var require_agent = /* @__PURE__ */ __commonJSMin(((exports) => {
30043
30063
  }));
30044
30064
  //#endregion
30045
30065
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/https-proxy-agent/5.0.1/de6951b6584b71a2c60c1fe809bf1d80202eeb7a56388ddebb3b11d1ca1a8018/node_modules/https-proxy-agent/dist/index.js
30046
- var require_dist$8 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
30047
- const agent_1 = (exports && exports.__importDefault || function(mod) {
30066
+ var require_dist$8 = /* @__PURE__ */ __commonJSMin(((exports, module, this$26) => {
30067
+ const agent_1 = (this$26 && this$26.__importDefault || function(mod) {
30048
30068
  return mod && mod.__esModule ? mod : { "default": mod };
30049
30069
  })(require_agent());
30050
30070
  function createHttpsProxyAgent(opts) {
@@ -30073,10 +30093,10 @@ var require_debug$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
30073
30093
  //#endregion
30074
30094
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/follow-redirects/1.16.1/eeaf1aadeaf388aa62ee62351ad4c7c2ed64e8d67dc8042628f4bf298c293ba3/node_modules/follow-redirects/index.js
30075
30095
  var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module) => {
30076
- var url$4 = require("url");
30077
- var URL = url$4.URL;
30078
- var http$6 = require("http");
30079
- var https$3 = require("https");
30096
+ var url = require("url");
30097
+ var URL = url.URL;
30098
+ var http = require("http");
30099
+ var https = require("https");
30080
30100
  var Writable = require("stream").Writable;
30081
30101
  var assert = require("assert");
30082
30102
  var debug = require_debug$1();
@@ -30305,7 +30325,7 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30305
30325
  var request = this._currentRequest = nativeProtocol.request(this._options, this._onNativeResponse);
30306
30326
  request._redirectable = this;
30307
30327
  for (var event of events) request.on(event, eventHandlers[event]);
30308
- this._currentUrl = /^\//.test(this._options.path) ? url$4.format(this._options) : this._options.path;
30328
+ this._currentUrl = /^\//.test(this._options.path) ? url.format(this._options) : this._options.path;
30309
30329
  if (this._isRedirect) {
30310
30330
  var i = 0;
30311
30331
  var self = this;
@@ -30354,7 +30374,7 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30354
30374
  var currentHostHeader = removeMatchingHeaders(/^host$/i, this._options.headers);
30355
30375
  var currentUrlParts = parseUrl(this._currentUrl);
30356
30376
  var currentHost = currentHostHeader || currentUrlParts.host;
30357
- var currentUrl = /^\w+:/.test(location) ? this._currentUrl : url$4.format(Object.assign(currentUrlParts, { host: currentHost }));
30377
+ var currentUrl = /^\w+:/.test(location) ? this._currentUrl : url.format(Object.assign(currentUrlParts, { host: currentHost }));
30358
30378
  var redirectUrl = resolveUrl(location, currentUrl);
30359
30379
  debug("redirecting to", redirectUrl.href);
30360
30380
  this._isRedirect = true;
@@ -30376,15 +30396,15 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30376
30396
  this._performRequest();
30377
30397
  };
30378
30398
  function wrap(protocols) {
30379
- var exports$17 = {
30399
+ var exports = {
30380
30400
  maxRedirects: 21,
30381
- maxBodyLength: 10 * 1024 * 1024
30401
+ maxBodyLength: 10485760
30382
30402
  };
30383
30403
  var nativeProtocols = {};
30384
30404
  Object.keys(protocols).forEach(function(scheme) {
30385
30405
  var protocol = scheme + ":";
30386
30406
  var nativeProtocol = nativeProtocols[protocol] = protocols[scheme];
30387
- var wrappedProtocol = exports$17[scheme] = Object.create(nativeProtocol);
30407
+ var wrappedProtocol = exports[scheme] = Object.create(nativeProtocol);
30388
30408
  function request(input, options, callback) {
30389
30409
  if (isURL(input)) input = spreadUrlObject(input);
30390
30410
  else if (isString(input)) input = spreadUrlObject(parseUrl(input));
@@ -30398,8 +30418,8 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30398
30418
  options = null;
30399
30419
  }
30400
30420
  options = Object.assign({
30401
- maxRedirects: exports$17.maxRedirects,
30402
- maxBodyLength: exports$17.maxBodyLength
30421
+ maxRedirects: exports.maxRedirects,
30422
+ maxBodyLength: exports.maxBodyLength
30403
30423
  }, input, options);
30404
30424
  options.nativeProtocols = nativeProtocols;
30405
30425
  if (!isString(options.host) && !isString(options.hostname)) options.hostname = "::1";
@@ -30427,7 +30447,7 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30427
30447
  }
30428
30448
  });
30429
30449
  });
30430
- return exports$17;
30450
+ return exports;
30431
30451
  }
30432
30452
  function noop() {}
30433
30453
  function parseUrl(input) {
@@ -30435,14 +30455,14 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30435
30455
  // istanbul ignore else
30436
30456
  if (useNativeURL) parsed = new URL(input);
30437
30457
  else {
30438
- parsed = validateUrl(url$4.parse(input));
30458
+ parsed = validateUrl(url.parse(input));
30439
30459
  if (!isString(parsed.protocol)) throw new InvalidUrlError({ input });
30440
30460
  }
30441
30461
  return parsed;
30442
30462
  }
30443
30463
  function resolveUrl(relative, base) {
30444
30464
  // istanbul ignore next
30445
- return useNativeURL ? new URL(relative, base) : parseUrl(url$4.resolve(base, relative));
30465
+ return useNativeURL ? new URL(relative, base) : parseUrl(url.resolve(base, relative));
30446
30466
  }
30447
30467
  function validateUrl(input) {
30448
30468
  if (/^\[/.test(input.hostname) && !/^\[[:0-9a-f]+\]$/i.test(input.hostname)) throw new InvalidUrlError({ input: input.href || input });
@@ -30515,8 +30535,8 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30515
30535
  return regex.replace(/[[\]\\/()*+?.^$|]/g, "\\$&");
30516
30536
  }
30517
30537
  module.exports = wrap({
30518
- http: http$6,
30519
- https: https$3
30538
+ http,
30539
+ https
30520
30540
  });
30521
30541
  module.exports.wrap = wrap;
30522
30542
  }));
@@ -30525,17 +30545,17 @@ var require_follow_redirects = /* @__PURE__ */ __commonJSMin(((exports, module)
30525
30545
  /*! Axios v1.20.0 Copyright (c) 2026 Matt Zabriskie and contributors */
30526
30546
  var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
30527
30547
  var FormData$1 = require_form_data();
30528
- var crypto$6 = require("crypto");
30529
- var url$3 = require("url");
30548
+ var crypto = require("crypto");
30549
+ var url = require("url");
30530
30550
  var HttpsProxyAgent = require_dist$8();
30531
- var http$5 = require("http");
30532
- var https$2 = require("https");
30551
+ var http = require("http");
30552
+ var https = require("https");
30533
30553
  var http2 = require("http2");
30534
- var util$6 = require("util");
30535
- var path$5 = require("path");
30554
+ var util = require("util");
30555
+ var path = require("path");
30536
30556
  var followRedirects = require_follow_redirects();
30537
- var zlib$2 = require("zlib");
30538
- var stream$1 = require("stream");
30557
+ var zlib = require("zlib");
30558
+ var stream = require("stream");
30539
30559
  var events = require("events");
30540
30560
  /**
30541
30561
  * Create a bound version of a function with a specified `this` context
@@ -31446,9 +31466,10 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
31446
31466
  val = line.substring(i + 1).trim();
31447
31467
  const hasKey = utils$1.hasOwnProp(parsed, key);
31448
31468
  if (!key || hasKey && utils$1.hasOwnProp(ignoreDuplicateOf, key)) return;
31449
- if (key === "set-cookie") if (hasKey) parsed[key].push(val);
31450
- else parsed[key] = [val];
31451
- else parsed[key] = hasKey ? parsed[key] + ", " + val : val;
31469
+ if (key === "set-cookie") {
31470
+ if (hasKey) parsed[key].push(val);
31471
+ else parsed[key] = [val];
31472
+ } else parsed[key] = hasKey ? parsed[key] + ", " + val : val;
31452
31473
  });
31453
31474
  return parsed;
31454
31475
  };
@@ -31929,9 +31950,9 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
31929
31950
  *
31930
31951
  * @returns {string} The path to the current key.
31931
31952
  */
31932
- function renderKey(path$31, key, dots) {
31933
- if (!path$31) return key;
31934
- return path$31.concat(key).map(function each(token, i) {
31953
+ function renderKey(path, key, dots) {
31954
+ if (!path) return key;
31955
+ return path.concat(key).map(function each(token, i) {
31935
31956
  token = removeBrackets(token);
31936
31957
  return !dots && i ? "[" + token + "]" : token;
31937
31958
  }).join(dots ? "." : "");
@@ -32023,13 +32044,13 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32023
32044
  *
32024
32045
  * @returns {boolean} return true to visit the each prop of the value recursively
32025
32046
  */
32026
- function defaultVisitor(value, key, path$32) {
32047
+ function defaultVisitor(value, key, path) {
32027
32048
  let arr = value;
32028
32049
  if (utils$1.isReactNative(formData) && utils$1.isReactNativeBlob(value)) {
32029
- formData.append(renderKey(path$32, key, dots), convertValue(value));
32050
+ formData.append(renderKey(path, key, dots), convertValue(value));
32030
32051
  return false;
32031
32052
  }
32032
- if (value && !path$32 && typeof value === "object") {
32053
+ if (value && !path && typeof value === "object") {
32033
32054
  if (utils$1.endsWith(key, "{}")) {
32034
32055
  key = metaTokens ? key : key.slice(0, -2);
32035
32056
  value = stringifyWithDepthLimit(value, 1);
@@ -32042,7 +32063,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32042
32063
  }
32043
32064
  }
32044
32065
  if (isVisitable(value)) return true;
32045
- formData.append(renderKey(path$32, key, dots), convertValue(value));
32066
+ formData.append(renderKey(path, key, dots), convertValue(value));
32046
32067
  return false;
32047
32068
  }
32048
32069
  const exposedHelpers = Object.assign(predicates, {
@@ -32050,13 +32071,13 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32050
32071
  convertValue,
32051
32072
  isVisitable
32052
32073
  });
32053
- function build(value, path$33, depth = 0) {
32074
+ function build(value, path, depth = 0) {
32054
32075
  if (utils$1.isUndefined(value)) return;
32055
32076
  throwIfMaxDepthExceeded(depth);
32056
- if (stack.indexOf(value) !== -1) throw new Error("Circular reference detected in " + path$33.join("."));
32077
+ if (stack.indexOf(value) !== -1) throw new Error("Circular reference detected in " + path.join("."));
32057
32078
  stack.push(value);
32058
32079
  utils$1.forEach(value, function each(el, key) {
32059
- if ((!(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path$33, exposedHelpers)) === true) build(el, path$33 ? path$33.concat(key) : [key], depth + 1);
32080
+ if ((!(utils$1.isUndefined(el) || el === null) && visitor.call(formData, el, utils$1.isString(key) ? key.trim() : key, path, exposedHelpers)) === true) build(el, path ? path.concat(key) : [key], depth + 1);
32060
32081
  });
32061
32082
  stack.pop();
32062
32083
  }
@@ -32127,9 +32148,9 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32127
32148
  *
32128
32149
  * @returns {string} The formatted url
32129
32150
  */
32130
- function buildURL(url$9, params, options) {
32131
- if (!params) return url$9;
32132
- url$9 = url$9 || "";
32151
+ function buildURL(url, params, options) {
32152
+ if (!params) return url;
32153
+ url = url || "";
32133
32154
  const _options = utils$1.isFunction(options) ? { serialize: options } : options;
32134
32155
  const _encode = utils$1.getSafeProp(_options, "encode") || encode;
32135
32156
  const serializeFn = utils$1.getSafeProp(_options, "serialize");
@@ -32137,11 +32158,11 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32137
32158
  if (serializeFn) serializedParams = serializeFn(params, _options);
32138
32159
  else serializedParams = utils$1.isURLSearchParams(params) ? params.toString() : new AxiosURLSearchParams(params, _options).toString(_encode);
32139
32160
  if (serializedParams) {
32140
- const hashmarkIndex = url$9.indexOf("#");
32141
- if (hashmarkIndex !== -1) url$9 = url$9.slice(0, hashmarkIndex);
32142
- url$9 += (url$9.indexOf("?") === -1 ? "?" : "&") + serializedParams;
32161
+ const hashmarkIndex = url.indexOf("#");
32162
+ if (hashmarkIndex !== -1) url = url.slice(0, hashmarkIndex);
32163
+ url += (url.indexOf("?") === -1 ? "?" : "&") + serializedParams;
32143
32164
  }
32144
- return url$9;
32165
+ return url;
32145
32166
  }
32146
32167
  const $internals = Symbol("internals");
32147
32168
  function countHandlers(handlers) {
@@ -32157,10 +32178,12 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32157
32178
  if (handlers !== internals.handlersRef) {
32158
32179
  internals.handlersRef = handlers;
32159
32180
  internals.handlerEntries.clear();
32160
- } else if (length !== internals.handlersLength) if (!length) internals.handlerEntries.clear();
32161
- else internals.handlerEntries.forEach(function removeStaleEntry(entry, id) {
32162
- if (handlers[entry.index] !== entry.handler) internals.handlerEntries.delete(id);
32163
- });
32181
+ } else if (length !== internals.handlersLength) {
32182
+ if (!length) internals.handlerEntries.clear();
32183
+ else internals.handlerEntries.forEach(function removeStaleEntry(entry, id) {
32184
+ if (handlers[entry.index] !== entry.handler) internals.handlerEntries.delete(id);
32185
+ });
32186
+ }
32164
32187
  internals.handlersLength = length;
32165
32188
  }
32166
32189
  var InterceptorManager = class {
@@ -32269,7 +32292,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32269
32292
  advertiseZstdAcceptEncoding: false,
32270
32293
  validateStatusUndefinedResolves: true
32271
32294
  };
32272
- var URLSearchParams = url$3.URLSearchParams;
32295
+ var URLSearchParams = url.URLSearchParams;
32273
32296
  const ALPHA = "abcdefghijklmnopqrstuvwxyz";
32274
32297
  const DIGIT = "0123456789";
32275
32298
  const ALPHABET = {
@@ -32281,7 +32304,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32281
32304
  let str = "";
32282
32305
  const { length } = alphabet;
32283
32306
  const randomValues = new Uint32Array(size);
32284
- crypto$6.randomFillSync(randomValues);
32307
+ crypto.randomFillSync(randomValues);
32285
32308
  for (let i = 0; i < size; i++) str += alphabet[randomValues[i] % length];
32286
32309
  return str;
32287
32310
  };
@@ -32351,7 +32374,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32351
32374
  };
32352
32375
  function toURLEncodedForm(data, options) {
32353
32376
  return toFormData(data, new platform.classes.URLSearchParams(), {
32354
- visitor: function(value, key, path$34, helpers) {
32377
+ visitor: function(value, key, path, helpers) {
32355
32378
  if (platform.isNode && utils$1.isBuffer(value)) {
32356
32379
  this.append(key, value.toString("base64"));
32357
32380
  return false;
@@ -32373,14 +32396,14 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32373
32396
  * @returns An array of strings.
32374
32397
  */
32375
32398
  function parsePropPath(name) {
32376
- const path$35 = [];
32399
+ const path = [];
32377
32400
  const pattern = /[^.[\]]+|\[([^.[\]]*)]/g;
32378
32401
  let match;
32379
32402
  while ((match = pattern.exec(name)) !== null) {
32380
- throwIfDepthExceeded(path$35.length);
32381
- path$35.push(match[0] === "[]" ? "" : match[1] || match[0]);
32403
+ throwIfDepthExceeded(path.length);
32404
+ path.push(match[0] === "[]" ? "" : match[1] || match[0]);
32382
32405
  }
32383
- return path$35;
32406
+ return path;
32384
32407
  }
32385
32408
  /**
32386
32409
  * Convert an array to an object.
@@ -32409,12 +32432,12 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32409
32432
  * @returns {Object<string, any> | null} The converted object.
32410
32433
  */
32411
32434
  function formDataToJSON(formData) {
32412
- function buildPath(path$36, value, target, index) {
32435
+ function buildPath(path, value, target, index) {
32413
32436
  throwIfDepthExceeded(index);
32414
- let name = path$36[index++];
32437
+ let name = path[index++];
32415
32438
  if (name === "__proto__") return true;
32416
32439
  const isNumericKey = Number.isFinite(+name);
32417
- const isLast = index >= path$36.length;
32440
+ const isLast = index >= path.length;
32418
32441
  name = !name && utils$1.isArray(target) ? target.length : name;
32419
32442
  if (isLast) {
32420
32443
  if (utils$1.hasOwnProp(target, name)) target[name] = utils$1.isArray(target[name]) ? target[name].concat(value) : [target[name], value];
@@ -32422,7 +32445,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32422
32445
  return !isNumericKey;
32423
32446
  }
32424
32447
  if (!utils$1.hasOwnProp(target, name) || !utils$1.isObject(target[name])) target[name] = [];
32425
- if (buildPath(path$36, value, target[name], index) && utils$1.isArray(target[name])) target[name] = arrayToObject(target[name]);
32448
+ if (buildPath(path, value, target[name], index) && utils$1.isArray(target[name])) target[name] = arrayToObject(target[name]);
32426
32449
  return !isNumericKey;
32427
32450
  }
32428
32451
  if (utils$1.isFormData(formData) && utils$1.isFunction(formData.entries)) {
@@ -32604,9 +32627,9 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32604
32627
  *
32605
32628
  * @returns {boolean} True if the specified URL is absolute, otherwise false
32606
32629
  */
32607
- function isAbsoluteURL(url$10) {
32608
- if (typeof url$10 !== "string") return false;
32609
- return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url$10);
32630
+ function isAbsoluteURL(url) {
32631
+ if (typeof url !== "string") return false;
32632
+ return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(url);
32610
32633
  }
32611
32634
  /**
32612
32635
  * Creates a new URL by combining the specified URLs
@@ -32630,11 +32653,11 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32630
32653
  *
32631
32654
  * @returns {string}
32632
32655
  */
32633
- function normalizeURLForProtocolCheck(url$11) {
32634
- if (typeof url$11 !== "string") return url$11;
32656
+ function normalizeURLForProtocolCheck(url) {
32657
+ if (typeof url !== "string") return url;
32635
32658
  let start = 0;
32636
- while (start < url$11.length && url$11.charCodeAt(start) <= 32) start++;
32637
- return url$11.slice(start).replace(urlParserControlCharacters, "");
32659
+ while (start < url.length && url.charCodeAt(start) <= 32) start++;
32660
+ return url.slice(start).replace(urlParserControlCharacters, "");
32638
32661
  }
32639
32662
  const malformedHttpProtocol = /^https?:(?!\/\/)/i;
32640
32663
  function redactFragment(fragment) {
@@ -32643,16 +32666,16 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32643
32666
  return `${separator}${parameterName}${REDACTED}`;
32644
32667
  });
32645
32668
  }
32646
- function redactSensitiveURLParts(url$12) {
32647
- const redactedURL = url$12.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${REDACTED}@`);
32669
+ function redactSensitiveURLParts(url) {
32670
+ const redactedURL = url.replace(/^(https?:\/{0,2})[^/?#]*@/i, `$1${REDACTED}@`);
32648
32671
  const fragmentIndex = redactedURL.indexOf("#");
32649
32672
  const redactedURLWithoutFragment = (fragmentIndex === -1 ? redactedURL : redactedURL.slice(0, fragmentIndex)).replace(/([?&][^=&#]*=)[^&#]*/g, `$1${REDACTED}`);
32650
32673
  if (fragmentIndex === -1) return redactedURLWithoutFragment;
32651
32674
  return `${redactedURLWithoutFragment}#${redactFragment(redactedURL.slice(fragmentIndex + 1))}`;
32652
32675
  }
32653
- function assertValidHttpProtocolURL(url$13, config) {
32654
- if (typeof url$13 === "string") {
32655
- const normalizedURL = normalizeURLForProtocolCheck(url$13);
32676
+ function assertValidHttpProtocolURL(url, config) {
32677
+ if (typeof url === "string") {
32678
+ const normalizedURL = normalizeURLForProtocolCheck(url);
32656
32679
  if (malformedHttpProtocol.test(normalizedURL)) throw new AxiosError(`Invalid URL ${JSON.stringify(redactSensitiveURLParts(normalizedURL))}: missing "//" after protocol`, AxiosError.ERR_INVALID_URL, config);
32657
32680
  }
32658
32681
  }
@@ -32696,8 +32719,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32696
32719
  * @return {string} The URL of the proxy that should handle the request to the
32697
32720
  * given URL. If no proxy is set, this will be an empty string.
32698
32721
  */
32699
- function getProxyForUrl(url$14) {
32700
- var parsedUrl = (typeof url$14 === "string" ? parseUrl(url$14) : url$14) || {};
32722
+ function getProxyForUrl(url) {
32723
+ var parsedUrl = (typeof url === "string" ? parseUrl(url) : url) || {};
32701
32724
  var proto = parsedUrl.protocol;
32702
32725
  var hostname = parsedUrl.host;
32703
32726
  var port = parsedUrl.port;
@@ -32744,8 +32767,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32744
32767
  return process.env[key.toLowerCase()] || process.env[key.toUpperCase()] || "";
32745
32768
  }
32746
32769
  const VERSION = "1.20.0";
32747
- function parseProtocol(url$15) {
32748
- const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url$15);
32770
+ function parseProtocol(url) {
32771
+ const match = /^([-+\w]{1,25}):(?:\/\/)?/.exec(url);
32749
32772
  return match && match[1] || "";
32750
32773
  }
32751
32774
  const DATA_URL_PATTERN = /^([^,;/]+\/[^,;/]+)?((?:;[^,;=]+=[^,;]+)*)(;base64)?,([\s\S]*)$/;
@@ -32805,11 +32828,11 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32805
32828
  });
32806
32829
  }
32807
32830
  const kInternals = Symbol("internals");
32808
- var AxiosTransformStream = class extends stream$1.Transform {
32831
+ var AxiosTransformStream = class extends stream.Transform {
32809
32832
  constructor(options) {
32810
32833
  options = utils$1.toFlatObject(options, {
32811
32834
  maxRate: 0,
32812
- chunkSize: 64 * 1024,
32835
+ chunkSize: 65536,
32813
32836
  minChunkSize: 100,
32814
32837
  timeWindow: 500,
32815
32838
  ticksRate: 2,
@@ -32904,7 +32927,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32904
32927
  else yield blob;
32905
32928
  };
32906
32929
  const BOUNDARY_ALPHABET = platform.ALPHABET.ALPHA_DIGIT + "-_";
32907
- const textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new util$6.TextEncoder();
32930
+ const textEncoder = typeof TextEncoder === "function" ? new TextEncoder() : new util.TextEncoder();
32908
32931
  const CRLF = "\r\n";
32909
32932
  const CRLF_BYTES = textEncoder.encode(CRLF);
32910
32933
  const CRLF_BYTES_COUNT = 2;
@@ -32956,7 +32979,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32956
32979
  const computedHeaders = { "Content-Type": `multipart/form-data; boundary=${boundary}` };
32957
32980
  if (Number.isFinite(contentLength)) computedHeaders["Content-Length"] = contentLength;
32958
32981
  headersHandler && headersHandler(computedHeaders);
32959
- return stream$1.Readable.from(async function* () {
32982
+ return stream.Readable.from(async function* () {
32960
32983
  for (const part of parts) {
32961
32984
  yield boundaryBytes;
32962
32985
  yield* part.encode();
@@ -32964,7 +32987,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32964
32987
  yield footerBytes;
32965
32988
  }());
32966
32989
  };
32967
- var ZlibHeaderTransformStream = class extends stream$1.Transform {
32990
+ var ZlibHeaderTransformStream = class extends stream.Transform {
32968
32991
  __transform(chunk, encoding, callback) {
32969
32992
  this.push(chunk);
32970
32993
  callback();
@@ -32993,7 +33016,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
32993
33016
  let len = authoritySessions.length;
32994
33017
  for (let i = 0; i < len; i++) {
32995
33018
  const [sessionHandle, sessionOptions] = authoritySessions[i];
32996
- if (!sessionHandle.destroyed && !sessionHandle.closed && util$6.isDeepStrictEqual(sessionOptions, options)) return sessionHandle;
33019
+ if (!sessionHandle.destroyed && !sessionHandle.closed && util.isDeepStrictEqual(sessionOptions, options)) return sessionHandle;
32997
33020
  }
32998
33021
  }
32999
33022
  const session = http2.connect(authority, options);
@@ -33019,19 +33042,19 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33019
33042
  if (sessionTimeout != null) {
33020
33043
  let streamsCount = 0;
33021
33044
  session.request = function() {
33022
- const stream$5 = originalRequestFn.apply(this, arguments);
33045
+ const stream = originalRequestFn.apply(this, arguments);
33023
33046
  streamsCount++;
33024
33047
  if (timer) {
33025
33048
  clearTimeout(timer);
33026
33049
  timer = null;
33027
33050
  }
33028
- stream$5.once("close", () => {
33051
+ stream.once("close", () => {
33029
33052
  if (!--streamsCount) timer = setTimeout(() => {
33030
33053
  timer = null;
33031
33054
  removeSession();
33032
33055
  }, sessionTimeout);
33033
33056
  });
33034
- return stream$5;
33057
+ return stream;
33035
33058
  };
33036
33059
  }
33037
33060
  session.once("close", removeSession);
@@ -33484,13 +33507,13 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33484
33507
  if (invalid || padding > 2 || padding > 0 && (significant + padding) % 4 !== 0 || significant % 4 === 1) return estimateBase64BufferAllocation(body);
33485
33508
  return base64Bytes(significant);
33486
33509
  };
33487
- const estimateDataURLBytes = (url$16, estimateBase64) => {
33488
- if (!url$16 || typeof url$16 !== "string") return 0;
33489
- if (!url$16.startsWith("data:")) return 0;
33490
- const comma = url$16.indexOf(",");
33510
+ const estimateDataURLBytes = (url, estimateBase64) => {
33511
+ if (!url || typeof url !== "string") return 0;
33512
+ if (!url.startsWith("data:")) return 0;
33513
+ const comma = url.indexOf(",");
33491
33514
  if (comma < 0) return 0;
33492
- const meta = url$16.slice(5, comma);
33493
- const body = url$16.slice(comma + 1);
33515
+ const meta = url.slice(5, comma);
33516
+ const body = url.slice(comma + 1);
33494
33517
  if (/;base64/i.test(meta)) return estimateBase64(body);
33495
33518
  let bytes = 0;
33496
33519
  for (let i = 0, len = body.length; i < len; i++) {
@@ -33516,9 +33539,9 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33516
33539
  * @param {string} url
33517
33540
  * @returns {number}
33518
33541
  */
33519
- function estimateDataURLDecodedBytes(url$17) {
33520
- const fragmentIndex = typeof url$17 === "string" ? url$17.indexOf("#") : -1;
33521
- return estimateDataURLBytes(fragmentIndex === -1 ? url$17 : url$17.slice(0, fragmentIndex), estimatePercentDecodedBase64Bytes);
33542
+ function estimateDataURLDecodedBytes(url) {
33543
+ const fragmentIndex = typeof url === "string" ? url.indexOf("#") : -1;
33544
+ return estimateDataURLBytes(fragmentIndex === -1 ? url : url.slice(0, fragmentIndex), estimatePercentDecodedBase64Bytes);
33522
33545
  }
33523
33546
  /**
33524
33547
  * Estimate the Buffer backing allocation used by Node's raw base64 decoder.
@@ -33526,23 +33549,23 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33526
33549
  * @param {string} url
33527
33550
  * @returns {number}
33528
33551
  */
33529
- function estimateDataURLBufferAllocation(url$18) {
33530
- return estimateDataURLBytes(url$18, estimateBase64BufferAllocation);
33552
+ function estimateDataURLBufferAllocation(url) {
33553
+ return estimateDataURLBytes(url, estimateBase64BufferAllocation);
33531
33554
  }
33532
33555
  const zlibOptions = {
33533
- flush: zlib$2.constants.Z_SYNC_FLUSH,
33534
- finishFlush: zlib$2.constants.Z_SYNC_FLUSH
33556
+ flush: zlib.constants.Z_SYNC_FLUSH,
33557
+ finishFlush: zlib.constants.Z_SYNC_FLUSH
33535
33558
  };
33536
33559
  const brotliOptions = {
33537
- flush: zlib$2.constants.BROTLI_OPERATION_FLUSH,
33538
- finishFlush: zlib$2.constants.BROTLI_OPERATION_FLUSH
33560
+ flush: zlib.constants.BROTLI_OPERATION_FLUSH,
33561
+ finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH
33539
33562
  };
33540
33563
  const zstdOptions = {
33541
- flush: zlib$2.constants.ZSTD_e_flush,
33542
- finishFlush: zlib$2.constants.ZSTD_e_flush
33564
+ flush: zlib.constants.ZSTD_e_flush,
33565
+ finishFlush: zlib.constants.ZSTD_e_flush
33543
33566
  };
33544
- const isBrotliSupported = utils$1.isFunction(zlib$2.createBrotliDecompress);
33545
- const isZstdSupported = utils$1.isFunction(zlib$2.createZstdDecompress);
33567
+ const isBrotliSupported = utils$1.isFunction(zlib.createBrotliDecompress);
33568
+ const isZstdSupported = utils$1.isFunction(zlib.createZstdDecompress);
33546
33569
  const ACCEPT_ENCODING = "gzip, compress, deflate" + (isBrotliSupported ? ", br" : "");
33547
33570
  const ACCEPT_ENCODING_WITH_ZSTD = ACCEPT_ENCODING + (isZstdSupported ? ", zstd" : "");
33548
33571
  const scheduleProgress = typeof process !== "undefined" && process.nextTick ? process.nextTick.bind(process) : utils$1.asap;
@@ -33574,7 +33597,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33574
33597
  return Boolean(agentOptions && utils$1.hasOwnProp(agentOptions, "proxyEnv") && agentOptions.proxyEnv != null);
33575
33598
  }
33576
33599
  function getProxyEnvAgent(options, configHttpAgent, configHttpsAgent) {
33577
- return isHttps.test(options.protocol) ? configHttpsAgent || https$2.globalAgent : configHttpAgent || http$5.globalAgent;
33600
+ return isHttps.test(options.protocol) ? configHttpsAgent || https.globalAgent : configHttpAgent || http.globalAgent;
33578
33601
  }
33579
33602
  function getTunnelingAgent(agentOptions, userHttpsAgent) {
33580
33603
  const key = agentOptions.protocol + "//" + agentOptions.hostname + ":" + (agentOptions.port || "") + "#" + (agentOptions.auth || "");
@@ -33610,8 +33633,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33610
33633
  return value;
33611
33634
  }
33612
33635
  };
33613
- const flushOnFinish = (stream$6, [throttled, flush]) => {
33614
- stream$6.on("end", flush).on("error", flush);
33636
+ const flushOnFinish = (stream, [throttled, flush]) => {
33637
+ stream.on("end", flush).on("error", flush);
33615
33638
  return throttled;
33616
33639
  };
33617
33640
  const http2Sessions = new Http2Sessions();
@@ -33875,8 +33898,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33875
33898
  return;
33876
33899
  }
33877
33900
  const { data } = response;
33878
- if (data instanceof stream$1.Readable || data instanceof stream$1.Duplex) {
33879
- const offListeners = stream$1.finished(data, () => {
33901
+ if (data instanceof stream.Readable || data instanceof stream.Duplex) {
33902
+ const offListeners = stream.finished(data, () => {
33880
33903
  offListeners();
33881
33904
  onFinished();
33882
33905
  });
@@ -33905,7 +33928,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33905
33928
  if (responseType === "text") {
33906
33929
  convertedData = convertedData.toString(responseEncoding);
33907
33930
  if (!responseEncoding || responseEncoding === "utf8") convertedData = utils$1.stripBOM(convertedData);
33908
- } else if (responseType === "stream") convertedData = stream$1.Readable.from(convertedData);
33931
+ } else if (responseType === "stream") convertedData = stream.Readable.from(convertedData);
33909
33932
  return settle(resolve, reject, {
33910
33933
  data: convertedData,
33911
33934
  status: 200,
@@ -33932,13 +33955,13 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33932
33955
  } else if (utils$1.isFormData(data) && utils$1.isFunction(data.getHeaders) && data.getHeaders !== Object.prototype.getHeaders) {
33933
33956
  setFormDataHeaders(headers, data.getHeaders(), own("formDataHeaderPolicy"));
33934
33957
  if (!headers.hasContentLength()) try {
33935
- const knownLength = await util$6.promisify(data.getLength).call(data);
33958
+ const knownLength = await util.promisify(data.getLength).call(data);
33936
33959
  Number.isFinite(knownLength) && knownLength >= 0 && headers.setContentLength(knownLength);
33937
33960
  } catch (e) {}
33938
33961
  } else if (utils$1.isBlob(data) || utils$1.isFile(data)) {
33939
33962
  data.size && headers.setContentType(data.type || "application/octet-stream");
33940
33963
  headers.setContentLength(data.size || 0);
33941
- data = stream$1.Readable.from(readBlob(data));
33964
+ data = stream.Readable.from(readBlob(data));
33942
33965
  } else if (data && !utils$1.isStream(data)) {
33943
33966
  if (Buffer.isBuffer(data));
33944
33967
  else if (utils$1.isArrayBuffer(data)) data = Buffer.from(new Uint8Array(data));
@@ -33953,8 +33976,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
33953
33976
  maxDownloadRate = maxRate[1];
33954
33977
  } else maxUploadRate = maxDownloadRate = maxRate;
33955
33978
  if (data && (onUploadProgress || maxUploadRate)) {
33956
- if (!utils$1.isStream(data)) data = stream$1.Readable.from(data, { objectMode: false });
33957
- data = stream$1.pipeline([data, new AxiosTransformStream({ maxRate: utils$1.toFiniteNumber(maxUploadRate) })], utils$1.noop);
33979
+ if (!utils$1.isStream(data)) data = stream.Readable.from(data, { objectMode: false });
33980
+ data = stream.pipeline([data, new AxiosTransformStream({ maxRate: utils$1.toFiniteNumber(maxUploadRate) })], utils$1.noop);
33958
33981
  onUploadProgress && data.on("progress", flushOnFinish(data, progressEventDecorator(contentLength, progressEventReducer(asyncDecorator(onUploadProgress, scheduleProgress), false, 3))));
33959
33982
  }
33960
33983
  let auth = void 0;
@@ -34004,8 +34027,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34004
34027
  const allowedSocketPaths = own("allowedSocketPaths");
34005
34028
  if (allowedSocketPaths != null) {
34006
34029
  const allowed = Array.isArray(allowedSocketPaths) ? allowedSocketPaths : [allowedSocketPaths];
34007
- const resolvedSocket = path$5.resolve(socketPath);
34008
- if (!allowed.some((entry) => typeof entry === "string" && path$5.resolve(entry) === resolvedSocket)) return reject(new AxiosError(`socketPath "${socketPath}" is not permitted by allowedSocketPaths`, AxiosError.ERR_BAD_OPTION_VALUE, config));
34030
+ const resolvedSocket = path.resolve(socketPath);
34031
+ if (!allowed.some((entry) => typeof entry === "string" && path.resolve(entry) === resolvedSocket)) return reject(new AxiosError(`socketPath "${socketPath}" is not permitted by allowedSocketPaths`, AxiosError.ERR_BAD_OPTION_VALUE, config));
34009
34032
  }
34010
34033
  options.socketPath = socketPath;
34011
34034
  } else {
@@ -34025,7 +34048,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34025
34048
  const configTransport = own("transport");
34026
34049
  if (configTransport) transport = configTransport;
34027
34050
  else if (maxRedirects === 0) {
34028
- transport = isHttpsRequest ? https$2 : http$5;
34051
+ transport = isHttpsRequest ? https : http;
34029
34052
  isNativeTransport = true;
34030
34053
  } else {
34031
34054
  transportEnforcesMaxBodyLength = true;
@@ -34082,29 +34105,27 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34082
34105
  case "x-gzip":
34083
34106
  case "compress":
34084
34107
  case "x-compress":
34085
- streams.push(zlib$2.createUnzip(zlibOptions));
34108
+ streams.push(zlib.createUnzip(zlibOptions));
34086
34109
  delete res.headers["content-encoding"];
34087
34110
  break;
34088
34111
  case "deflate":
34089
34112
  streams.push(new ZlibHeaderTransformStream());
34090
- streams.push(zlib$2.createUnzip(zlibOptions));
34113
+ streams.push(zlib.createUnzip(zlibOptions));
34091
34114
  delete res.headers["content-encoding"];
34092
34115
  break;
34093
34116
  case "br":
34094
34117
  if (isBrotliSupported) {
34095
- streams.push(zlib$2.createBrotliDecompress(brotliOptions));
34096
- delete res.headers["content-encoding"];
34097
- }
34098
- break;
34099
- case "zstd":
34100
- if (isZstdSupported) {
34101
- streams.push(zlib$2.createZstdDecompress(zstdOptions));
34118
+ streams.push(zlib.createBrotliDecompress(brotliOptions));
34102
34119
  delete res.headers["content-encoding"];
34103
34120
  }
34104
34121
  break;
34122
+ case "zstd": if (isZstdSupported) {
34123
+ streams.push(zlib.createZstdDecompress(zstdOptions));
34124
+ delete res.headers["content-encoding"];
34125
+ }
34105
34126
  }
34106
34127
  }
34107
- responseStream = streams.length > 1 ? stream$1.pipeline(streams, utils$1.noop) : streams[0];
34128
+ responseStream = streams.length > 1 ? stream.pipeline(streams, utils$1.noop) : streams[0];
34108
34129
  const response = {
34109
34130
  status: res.statusCode,
34110
34131
  statusText: res.statusMessage,
@@ -34124,7 +34145,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34124
34145
  yield chunk;
34125
34146
  }
34126
34147
  }
34127
- responseStream = stream$1.Readable.from(enforceMaxContentLength(), { objectMode: false });
34148
+ responseStream = stream.Readable.from(enforceMaxContentLength(), { objectMode: false });
34128
34149
  }
34129
34150
  response.data = responseStream;
34130
34151
  settle(resolve, reject, response);
@@ -34180,7 +34201,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34180
34201
  });
34181
34202
  const boundSockets = /* @__PURE__ */ new Set();
34182
34203
  req.on("socket", function handleRequestSocket(socket) {
34183
- if (typeof socket.setKeepAlive === "function") socket.setKeepAlive(true, 1e3 * 60);
34204
+ if (typeof socket.setKeepAlive === "function") socket.setKeepAlive(true, 6e4);
34184
34205
  if (!socket[kAxiosSocketListener]) {
34185
34206
  socket.on("error", handleSocketError);
34186
34207
  socket[kAxiosSocketListener] = true;
@@ -34223,7 +34244,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34223
34244
  if (maxBodyLength > -1 && !transportEnforcesMaxBodyLength) {
34224
34245
  const limit = maxBodyLength;
34225
34246
  let bytesSent = 0;
34226
- uploadStream = stream$1.pipeline([data, new stream$1.Transform({ transform(chunk, _enc, cb) {
34247
+ uploadStream = stream.pipeline([data, new stream.Transform({ transform(chunk, _enc, cb) {
34227
34248
  bytesSent += chunk.length;
34228
34249
  if (bytesSent > limit) return cb(new AxiosError("Request body larger than maxBodyLength limit", AxiosError.ERR_BAD_REQUEST, config, req));
34229
34250
  cb(null, chunk);
@@ -34239,16 +34260,16 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34239
34260
  }
34240
34261
  });
34241
34262
  };
34242
- var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url$19) => {
34243
- url$19 = new URL(url$19, platform.origin);
34244
- return origin.protocol === url$19.protocol && origin.host === url$19.host && (isMSIE || origin.port === url$19.port);
34263
+ var isURLSameOrigin = platform.hasStandardBrowserEnv ? ((origin, isMSIE) => (url) => {
34264
+ url = new URL(url, platform.origin);
34265
+ return origin.protocol === url.protocol && origin.host === url.host && (isMSIE || origin.port === url.port);
34245
34266
  })(new URL(platform.origin), platform.navigator && /(msie|trident)/i.test(platform.navigator.userAgent)) : () => true;
34246
34267
  var cookies = platform.hasStandardBrowserEnv ? {
34247
- write(name, value, expires, path$37, domain, secure, sameSite) {
34268
+ write(name, value, expires, path, domain, secure, sameSite) {
34248
34269
  if (typeof document === "undefined") return;
34249
34270
  const cookie = [`${name}=${encodeURIComponent(value)}`];
34250
34271
  if (utils$1.isNumber(expires)) cookie.push(`expires=${new Date(expires).toUTCString()}`);
34251
- if (utils$1.isString(path$37)) cookie.push(`path=${path$37}`);
34272
+ if (utils$1.isString(path)) cookie.push(`path=${path}`);
34252
34273
  if (utils$1.isString(domain)) cookie.push(`domain=${domain}`);
34253
34274
  if (secure === true) cookie.push("secure");
34254
34275
  if (utils$1.isString(sameSite)) cookie.push(`SameSite=${sameSite}`);
@@ -34322,9 +34343,11 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34322
34343
  }
34323
34344
  function getMergedTransitionalOption(prop) {
34324
34345
  const transitional2 = utils$1.hasOwnProp(config2, "transitional") ? config2.transitional : void 0;
34325
- if (!utils$1.isUndefined(transitional2)) if (utils$1.isPlainObject(transitional2)) {
34326
- if (utils$1.hasOwnProp(transitional2, prop)) return transitional2[prop];
34327
- } else return;
34346
+ if (!utils$1.isUndefined(transitional2)) {
34347
+ if (utils$1.isPlainObject(transitional2)) {
34348
+ if (utils$1.hasOwnProp(transitional2, prop)) return transitional2[prop];
34349
+ } else return;
34350
+ }
34328
34351
  const transitional1 = utils$1.hasOwnProp(config1, "transitional") ? config1.transitional : void 0;
34329
34352
  if (utils$1.isPlainObject(transitional1) && utils$1.hasOwnProp(transitional1, prop)) return transitional1[prop];
34330
34353
  }
@@ -34373,8 +34396,10 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34373
34396
  const configValue = merge(utils$1.hasOwnProp(config1, prop) ? config1[prop] : void 0, utils$1.hasOwnProp(config2, prop) ? config2[prop] : void 0, prop);
34374
34397
  utils$1.isUndefined(configValue) && merge !== mergeDirectKeys || (config[prop] = configValue);
34375
34398
  });
34376
- if (utils$1.hasOwnProp(config2, "validateStatus") && utils$1.isUndefined(config2.validateStatus) && getMergedTransitionalOption("validateStatusUndefinedResolves") === false) if (utils$1.hasOwnProp(config1, "validateStatus")) config.validateStatus = getMergedValue(void 0, config1.validateStatus);
34377
- else delete config.validateStatus;
34399
+ if (utils$1.hasOwnProp(config2, "validateStatus") && utils$1.isUndefined(config2.validateStatus) && getMergedTransitionalOption("validateStatusUndefinedResolves") === false) {
34400
+ if (utils$1.hasOwnProp(config1, "validateStatus")) config.validateStatus = getMergedValue(void 0, config1.validateStatus);
34401
+ else delete config.validateStatus;
34402
+ }
34378
34403
  return config;
34379
34404
  }
34380
34405
  /**
@@ -34397,9 +34422,9 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34397
34422
  const auth = own("auth");
34398
34423
  const baseURL = own("baseURL");
34399
34424
  const allowAbsoluteUrls = own("allowAbsoluteUrls");
34400
- const url$20 = own("url");
34425
+ const url = own("url");
34401
34426
  newConfig.headers = headers = AxiosHeaders.from(headers);
34402
- newConfig.url = buildURL(buildFullPath(baseURL, url$20, allowAbsoluteUrls, newConfig), own("params"), own("paramsSerializer"));
34427
+ newConfig.url = buildURL(buildFullPath(baseURL, url, allowAbsoluteUrls, newConfig), own("params"), own("paramsSerializer"));
34403
34428
  if (auth) {
34404
34429
  const username = utils$1.getSafeProp(auth, "username") || "";
34405
34430
  const password = utils$1.getSafeProp(auth, "password") || "";
@@ -34592,12 +34617,12 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34592
34617
  const readBytes = async function* (iterable, chunkSize) {
34593
34618
  for await (const chunk of readStream(iterable)) yield* streamChunk(chunk, chunkSize);
34594
34619
  };
34595
- const readStream = async function* (stream$7) {
34596
- if (stream$7[Symbol.asyncIterator]) {
34597
- yield* stream$7;
34620
+ const readStream = async function* (stream) {
34621
+ if (stream[Symbol.asyncIterator]) {
34622
+ yield* stream;
34598
34623
  return;
34599
34624
  }
34600
- const reader = stream$7.getReader();
34625
+ const reader = stream.getReader();
34601
34626
  try {
34602
34627
  for (;;) {
34603
34628
  const { done, value } = await reader.read();
@@ -34608,8 +34633,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34608
34633
  await reader.cancel();
34609
34634
  }
34610
34635
  };
34611
- const trackStream = (stream$8, chunkSize, onProgress, onFinish) => {
34612
- const iterator = readBytes(stream$8, chunkSize);
34636
+ const trackStream = (stream, chunkSize, onProgress, onFinish) => {
34637
+ const iterator = readBytes(stream, chunkSize);
34613
34638
  let bytes = 0;
34614
34639
  let done;
34615
34640
  let _onFinish = (e) => {
@@ -34641,7 +34666,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34641
34666
  }
34642
34667
  }, { highWaterMark: 2 });
34643
34668
  };
34644
- const DEFAULT_CHUNK_SIZE = 64 * 1024;
34669
+ const DEFAULT_CHUNK_SIZE = 65536;
34645
34670
  const DEFAULT_REQUEST_OPTIONS = {
34646
34671
  cache: "default",
34647
34672
  redirect: "follow",
@@ -34678,9 +34703,9 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34678
34703
  return false;
34679
34704
  }
34680
34705
  };
34681
- const maybeWithAuthCredentials = (url$21) => {
34682
- const protocolIndex = url$21.indexOf("://");
34683
- let urlToCheck = url$21;
34706
+ const maybeWithAuthCredentials = (url) => {
34707
+ const protocolIndex = url.indexOf("://");
34708
+ let urlToCheck = url;
34684
34709
  if (protocolIndex !== -1) urlToCheck = urlToCheck.slice(protocolIndex + 3);
34685
34710
  return urlToCheck.includes("@") || urlToCheck.includes(":");
34686
34711
  };
@@ -34745,7 +34770,7 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34745
34770
  return length == null ? getBodyLength(body) : length;
34746
34771
  };
34747
34772
  return async (config) => {
34748
- let { url: url$22, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions, maxContentLength, maxBodyLength, maxRedirects } = resolveConfig(config);
34773
+ let { url, method, data, signal, cancelToken, timeout, onDownloadProgress, onUploadProgress, responseType, headers, withCredentials = "same-origin", fetchOptions, maxContentLength, maxBodyLength, maxRedirects } = resolveConfig(config);
34749
34774
  const hasMaxContentLength = utils$1.isNumber(maxContentLength) && maxContentLength > -1;
34750
34775
  const hasMaxBodyLength = utils$1.isNumber(maxBodyLength) && maxBodyLength > -1;
34751
34776
  const own = (key) => utils$1.hasOwnProp(config, key) ? config[key] : void 0;
@@ -34766,8 +34791,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34766
34791
  username: utils$1.getSafeProp(configAuth, "username") || "",
34767
34792
  password: utils$1.getSafeProp(configAuth, "password") || ""
34768
34793
  };
34769
- if (maybeWithAuthCredentials(url$22)) {
34770
- const parsedURL = new URL(url$22, platform.origin);
34794
+ if (maybeWithAuthCredentials(url)) {
34795
+ const parsedURL = new URL(url, platform.origin);
34771
34796
  if (!auth && (parsedURL.username || parsedURL.password)) auth = {
34772
34797
  username: decodeURIComponentSafe(parsedURL.username),
34773
34798
  password: decodeURIComponentSafe(parsedURL.password)
@@ -34775,15 +34800,15 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34775
34800
  if (parsedURL.username || parsedURL.password) {
34776
34801
  parsedURL.username = "";
34777
34802
  parsedURL.password = "";
34778
- url$22 = parsedURL.href;
34803
+ url = parsedURL.href;
34779
34804
  }
34780
34805
  }
34781
34806
  if (auth) {
34782
34807
  headers.delete("authorization");
34783
34808
  headers.set("Authorization", "Basic " + btoa(encodeUTF8((auth.username || "") + ":" + (auth.password || ""))));
34784
34809
  }
34785
- if (hasMaxContentLength && typeof url$22 === "string" && url$22.startsWith("data:")) {
34786
- if (estimateDataURLDecodedBytes(url$22) > maxContentLength) throw new AxiosError("maxContentLength size of " + maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, request);
34810
+ if (hasMaxContentLength && typeof url === "string" && url.startsWith("data:")) {
34811
+ if (estimateDataURLDecodedBytes(url) > maxContentLength) throw new AxiosError("maxContentLength size of " + maxContentLength + " exceeded", AxiosError.ERR_BAD_RESPONSE, config, request);
34787
34812
  }
34788
34813
  if (hasMaxBodyLength && method !== "get" && method !== "head") {
34789
34814
  const outboundLength = await getBodyLength(data);
@@ -34793,14 +34818,14 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34793
34818
  }
34794
34819
  }
34795
34820
  const mustEnforceStreamBody = hasMaxBodyLength && (utils$1.isReadableStream(data) || utils$1.isStream(data));
34796
- const trackRequestStream = (stream$9, onProgress, flush) => trackStream(stream$9, DEFAULT_CHUNK_SIZE, (loadedBytes) => {
34821
+ const trackRequestStream = (stream, onProgress, flush) => trackStream(stream, DEFAULT_CHUNK_SIZE, (loadedBytes) => {
34797
34822
  if (hasMaxBodyLength && loadedBytes > maxBodyLength) throw pendingBodyError = maxBodyLengthError();
34798
34823
  onProgress && onProgress(loadedBytes);
34799
34824
  }, flush);
34800
34825
  if (supportsRequestStream && method !== "get" && method !== "head" && (onUploadProgress || mustEnforceStreamBody)) {
34801
34826
  requestContentLength = requestContentLength == null ? await resolveBodyLength(headers, data) : requestContentLength;
34802
34827
  if (requestContentLength !== 0 || mustEnforceStreamBody) {
34803
- let _request = new Request(url$22, {
34828
+ let _request = new Request(url, {
34804
34829
  method: "POST",
34805
34830
  body: data,
34806
34831
  duplex: "half"
@@ -34849,8 +34874,8 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
34849
34874
  resolvedOptions.redirect = "manual";
34850
34875
  if (safeFetchOptions) safeFetchOptions.redirect = "manual";
34851
34876
  }
34852
- request = isRequestSupported && new Request(url$22, resolvedOptions);
34853
- let response = await (isRequestSupported ? _fetch(request, safeFetchOptions) : _fetch(url$22, resolvedOptions));
34877
+ request = isRequestSupported && new Request(url, resolvedOptions);
34878
+ let response = await (isRequestSupported ? _fetch(request, safeFetchOptions) : _fetch(url, resolvedOptions));
34854
34879
  const responseHeaders = AxiosHeaders.from(response.headers);
34855
34880
  if (hasMaxContentLength) {
34856
34881
  const declaredLength = utils$1.toFiniteNumber(responseHeaders.getContentLength());
@@ -35238,11 +35263,13 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35238
35263
  advertiseZstdAcceptEncoding: validators.transitional(validators.boolean),
35239
35264
  validateStatusUndefinedResolves: validators.transitional(validators.boolean)
35240
35265
  }, false);
35241
- if (paramsSerializer != null) if (utils$1.isFunction(paramsSerializer)) config.paramsSerializer = { serialize: paramsSerializer };
35242
- else validator.assertOptions(paramsSerializer, {
35243
- encode: validators.function,
35244
- serialize: validators.function
35245
- }, true);
35266
+ if (paramsSerializer != null) {
35267
+ if (utils$1.isFunction(paramsSerializer)) config.paramsSerializer = { serialize: paramsSerializer };
35268
+ else validator.assertOptions(paramsSerializer, {
35269
+ encode: validators.function,
35270
+ serialize: validators.function
35271
+ }, true);
35272
+ }
35246
35273
  if (config.allowAbsoluteUrls !== void 0);
35247
35274
  else if (this.defaults.allowAbsoluteUrls !== void 0) config.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls;
35248
35275
  else config.allowAbsoluteUrls = true;
@@ -35323,10 +35350,10 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35323
35350
  "head",
35324
35351
  "options"
35325
35352
  ], function forEachMethodNoData(method) {
35326
- Axios.prototype[method] = function(url$23, config) {
35353
+ Axios.prototype[method] = function(url, config) {
35327
35354
  return this.request(mergeConfig(config || {}, {
35328
35355
  method,
35329
- url: url$23,
35356
+ url,
35330
35357
  data: config && utils$1.hasOwnProp(config, "data") ? config.data : void 0
35331
35358
  }));
35332
35359
  };
@@ -35338,11 +35365,11 @@ var require_axios = /* @__PURE__ */ __commonJSMin(((exports, module) => {
35338
35365
  "query"
35339
35366
  ], function forEachMethodWithData(method) {
35340
35367
  function generateHTTPMethod(isForm) {
35341
- return function httpMethod(url$24, data, config) {
35368
+ return function httpMethod(url, data, config) {
35342
35369
  return this.request(mergeConfig(config || {}, {
35343
35370
  method,
35344
35371
  headers: isForm ? { "Content-Type": "multipart/form-data" } : {},
35345
- url: url$24,
35372
+ url,
35346
35373
  data
35347
35374
  }));
35348
35375
  };
@@ -38494,8 +38521,10 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
38494
38521
  while ((tmpSc = tmpSc.get(sentinel)) !== void 0 && !findFlag) {
38495
38522
  var pos = tmpSc.get(object);
38496
38523
  step += 1;
38497
- if (typeof pos !== "undefined") if (pos === step) throw new RangeError("Cyclic object value");
38498
- else findFlag = true;
38524
+ if (typeof pos !== "undefined") {
38525
+ if (pos === step) throw new RangeError("Cyclic object value");
38526
+ else findFlag = true;
38527
+ }
38499
38528
  if (typeof tmpSc.get(sentinel) === "undefined") step = 0;
38500
38529
  }
38501
38530
  obj = typeof filter === "function" ? filter(prefix, obj) : obj;
@@ -38613,8 +38642,10 @@ var require_stringify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
38613
38642
  }
38614
38643
  var joined = keys.join(options.delimiter);
38615
38644
  var prefix = options.addQueryPrefix === true ? "?" : "";
38616
- if (options.charsetSentinel) if (options.charset === "iso-8859-1") prefix += "utf8=%26%2310003%3B" + options.delimiter;
38617
- else prefix += "utf8=%E2%9C%93" + options.delimiter;
38645
+ if (options.charsetSentinel) {
38646
+ if (options.charset === "iso-8859-1") prefix += "utf8=%26%2310003%3B" + options.delimiter;
38647
+ else prefix += "utf8=%E2%9C%93" + options.delimiter;
38648
+ }
38618
38649
  return joined.length > 0 ? prefix + joined : "";
38619
38650
  };
38620
38651
  }));
@@ -38726,9 +38757,10 @@ var require_parse$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
38726
38757
  for (var i = chain.length - 1; i >= 0; --i) {
38727
38758
  var obj;
38728
38759
  var root = chain[i];
38729
- if (root === "[]" && options.parseArrays) if (utils.isOverflow(leaf)) obj = leaf;
38730
- else obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils.combine([], leaf, options.arrayLimit, options.plainObjects, options.throwOnLimitExceeded);
38731
- else {
38760
+ if (root === "[]" && options.parseArrays) {
38761
+ if (utils.isOverflow(leaf)) obj = leaf;
38762
+ else obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils.combine([], leaf, options.arrayLimit, options.plainObjects, options.throwOnLimitExceeded);
38763
+ } else {
38732
38764
  obj = options.plainObjects ? { __proto__: null } : {};
38733
38765
  var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
38734
38766
  var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
@@ -55605,7 +55637,7 @@ var require_json_web_token = /* @__PURE__ */ __commonJSMin(((exports) => {
55605
55637
  this._value = value;
55606
55638
  this._payload = jwtDecode.jwtDecode(value);
55607
55639
  }
55608
- isExpired(bufferMs = 1e3 * 60 * 5) {
55640
+ isExpired(bufferMs = 3e5) {
55609
55641
  if (!this.expiration) return false;
55610
55642
  return this.expiration < Date.now() + bufferMs;
55611
55643
  }
@@ -56585,7 +56617,6 @@ var require_Reflect = /* @__PURE__ */ __commonJSMin((() => {
56585
56617
  default:
56586
56618
  if (rest === void 0) rest = new _Set();
56587
56619
  rest.add(provider);
56588
- break;
56589
56620
  }
56590
56621
  }
56591
56622
  function getProviderNoCache(O, P) {
@@ -57208,8 +57239,8 @@ var require_decorators = /* @__PURE__ */ __commonJSMin(((exports) => {
57208
57239
  }));
57209
57240
  //#endregion
57210
57241
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/types/plugin/index.js
57211
- var require_plugin$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
57212
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
57242
+ var require_plugin$1 = /* @__PURE__ */ __commonJSMin(((exports, module, this$25) => {
57243
+ var __createBinding = this$25 && this$25.__createBinding || (Object.create ? (function(o, m, k, k2) {
57213
57244
  if (k2 === void 0) k2 = k;
57214
57245
  var desc = Object.getOwnPropertyDescriptor(m, k);
57215
57246
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -57223,8 +57254,8 @@ var require_plugin$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
57223
57254
  if (k2 === void 0) k2 = k;
57224
57255
  o[k2] = m[k];
57225
57256
  }));
57226
- var __exportStar = exports && exports.__exportStar || function(m, exports$16) {
57227
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$16, p)) __createBinding(exports$16, m, p);
57257
+ var __exportStar = this$25 && this$25.__exportStar || function(m, exports) {
57258
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
57228
57259
  };
57229
57260
  Object.defineProperty(exports, "__esModule", { value: true });
57230
57261
  __exportStar(require_plugin$3(), exports);
@@ -57304,8 +57335,8 @@ var require_union_to_intersection = /* @__PURE__ */ __commonJSMin(((exports) =>
57304
57335
  }));
57305
57336
  //#endregion
57306
57337
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/types/index.js
57307
- var require_types$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
57308
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
57338
+ var require_types$1 = /* @__PURE__ */ __commonJSMin(((exports, module, this$24) => {
57339
+ var __createBinding = this$24 && this$24.__createBinding || (Object.create ? (function(o, m, k, k2) {
57309
57340
  if (k2 === void 0) k2 = k;
57310
57341
  var desc = Object.getOwnPropertyDescriptor(m, k);
57311
57342
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -57319,8 +57350,8 @@ var require_types$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
57319
57350
  if (k2 === void 0) k2 = k;
57320
57351
  o[k2] = m[k];
57321
57352
  }));
57322
- var __exportStar = exports && exports.__exportStar || function(m, exports$15) {
57323
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$15, p)) __createBinding(exports$15, m, p);
57353
+ var __exportStar = this$24 && this$24.__exportStar || function(m, exports) {
57354
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
57324
57355
  };
57325
57356
  Object.defineProperty(exports, "__esModule", { value: true });
57326
57357
  __exportStar(require_app_events$1(), exports);
@@ -57334,8 +57365,8 @@ var require_types$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
57334
57365
  }));
57335
57366
  //#endregion
57336
57367
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/utils/asserts.js
57337
- var require_asserts = /* @__PURE__ */ __commonJSMin(((exports) => {
57338
- var __importDefault = exports && exports.__importDefault || function(mod) {
57368
+ var require_asserts = /* @__PURE__ */ __commonJSMin(((exports, module, this$23) => {
57369
+ var __importDefault = this$23 && this$23.__importDefault || function(mod) {
57339
57370
  return mod && mod.__esModule ? mod : { "default": mod };
57340
57371
  };
57341
57372
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -57383,8 +57414,8 @@ var require_retry = /* @__PURE__ */ __commonJSMin(((exports) => {
57383
57414
  }));
57384
57415
  //#endregion
57385
57416
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/utils/promises/index.js
57386
- var require_promises = /* @__PURE__ */ __commonJSMin(((exports) => {
57387
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
57417
+ var require_promises = /* @__PURE__ */ __commonJSMin(((exports, module, this$22) => {
57418
+ var __createBinding = this$22 && this$22.__createBinding || (Object.create ? (function(o, m, k, k2) {
57388
57419
  if (k2 === void 0) k2 = k;
57389
57420
  var desc = Object.getOwnPropertyDescriptor(m, k);
57390
57421
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -57398,8 +57429,8 @@ var require_promises = /* @__PURE__ */ __commonJSMin(((exports) => {
57398
57429
  if (k2 === void 0) k2 = k;
57399
57430
  o[k2] = m[k];
57400
57431
  }));
57401
- var __exportStar = exports && exports.__exportStar || function(m, exports$14) {
57402
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$14, p)) __createBinding(exports$14, m, p);
57432
+ var __exportStar = this$22 && this$22.__exportStar || function(m, exports) {
57433
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
57403
57434
  };
57404
57435
  Object.defineProperty(exports, "__esModule", { value: true });
57405
57436
  __exportStar(require_retry(), exports);
@@ -57479,8 +57510,8 @@ var require_tenant = /* @__PURE__ */ __commonJSMin(((exports) => {
57479
57510
  }));
57480
57511
  //#endregion
57481
57512
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/utils/index.js
57482
- var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
57483
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
57513
+ var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports, module, this$21) => {
57514
+ var __createBinding = this$21 && this$21.__createBinding || (Object.create ? (function(o, m, k, k2) {
57484
57515
  if (k2 === void 0) k2 = k;
57485
57516
  var desc = Object.getOwnPropertyDescriptor(m, k);
57486
57517
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -57494,7 +57525,7 @@ var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
57494
57525
  if (k2 === void 0) k2 = k;
57495
57526
  o[k2] = m[k];
57496
57527
  }));
57497
- var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
57528
+ var __setModuleDefault = this$21 && this$21.__setModuleDefault || (Object.create ? (function(o, v) {
57498
57529
  Object.defineProperty(o, "default", {
57499
57530
  enumerable: true,
57500
57531
  value: v
@@ -57502,7 +57533,7 @@ var require_utils$3 = /* @__PURE__ */ __commonJSMin(((exports) => {
57502
57533
  }) : function(o, v) {
57503
57534
  o["default"] = v;
57504
57535
  });
57505
- var __importStar = exports && exports.__importStar || (function() {
57536
+ var __importStar = this$21 && this$21.__importStar || (function() {
57506
57537
  var ownKeys = function(o) {
57507
57538
  ownKeys = Object.getOwnPropertyNames || function(o) {
57508
57539
  var ar = [];
@@ -58128,8 +58159,8 @@ var require_error = /* @__PURE__ */ __commonJSMin(((exports) => {
58128
58159
  }));
58129
58160
  //#endregion
58130
58161
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/events/index.js
58131
- var require_events = /* @__PURE__ */ __commonJSMin(((exports) => {
58132
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
58162
+ var require_events = /* @__PURE__ */ __commonJSMin(((exports, module, this$20) => {
58163
+ var __createBinding = this$20 && this$20.__createBinding || (Object.create ? (function(o, m, k, k2) {
58133
58164
  if (k2 === void 0) k2 = k;
58134
58165
  var desc = Object.getOwnPropertyDescriptor(m, k);
58135
58166
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -58143,8 +58174,8 @@ var require_events = /* @__PURE__ */ __commonJSMin(((exports) => {
58143
58174
  if (k2 === void 0) k2 = k;
58144
58175
  o[k2] = m[k];
58145
58176
  }));
58146
- var __exportStar = exports && exports.__exportStar || function(m, exports$13) {
58147
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$13, p)) __createBinding(exports$13, m, p);
58177
+ var __exportStar = this$20 && this$20.__exportStar || function(m, exports) {
58178
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
58148
58179
  };
58149
58180
  Object.defineProperty(exports, "__esModule", { value: true });
58150
58181
  exports.allIEventKeys = void 0;
@@ -58506,8 +58537,8 @@ var require_download = /* @__PURE__ */ __commonJSMin(((exports) => {
58506
58537
  return Buffer.concat(kept).toString("utf8");
58507
58538
  }
58508
58539
  /** Iterate a web stream so {@link readBoundedUtf8} can stop early, which `Response.text()` gives no opportunity to do. */
58509
- async function* streamChunks(stream$3) {
58510
- const reader = stream$3.getReader();
58540
+ async function* streamChunks(stream) {
58541
+ const reader = stream.getReader();
58511
58542
  try {
58512
58543
  for (;;) {
58513
58544
  const { done, value } = await reader.read();
@@ -58692,8 +58723,8 @@ var require_download = /* @__PURE__ */ __commonJSMin(((exports) => {
58692
58723
  /**
58693
58724
  * Read a byte stream to completion into a single `Uint8Array`.
58694
58725
  */
58695
- async function collectStream(stream$4) {
58696
- const reader = stream$4.getReader();
58726
+ async function collectStream(stream) {
58727
+ const reader = stream.getReader();
58697
58728
  const chunks = [];
58698
58729
  let total = 0;
58699
58730
  try {
@@ -59084,8 +59115,8 @@ var require_telemetry$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
59084
59115
  }));
59085
59116
  //#endregion
59086
59117
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/diagnostics/helpers.js
59087
- var require_helpers = /* @__PURE__ */ __commonJSMin(((exports) => {
59088
- var __importDefault = exports && exports.__importDefault || function(mod) {
59118
+ var require_helpers = /* @__PURE__ */ __commonJSMin(((exports, module, this$19) => {
59119
+ var __importDefault = this$19 && this$19.__importDefault || function(mod) {
59089
59120
  return mod && mod.__esModule ? mod : { "default": mod };
59090
59121
  };
59091
59122
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -59349,9 +59380,9 @@ var require_oauth = /* @__PURE__ */ __commonJSMin(((exports) => {
59349
59380
  exports.OAuthFlow = class OAuthFlow {
59350
59381
  connectionName;
59351
59382
  options;
59352
- static PENDING_TTL_MS = 300 * 1e3;
59383
+ static PENDING_TTL_MS = 3e5;
59353
59384
  static MAX_PENDING_ENTRIES = 1e3;
59354
- static EXCHANGE_TTL_MS = 300 * 1e3;
59385
+ static EXCHANGE_TTL_MS = 3e5;
59355
59386
  static MAX_EXCHANGE_ENTRIES = 1e3;
59356
59387
  static EXCHANGE_STATE_KEY = "__oauth:exchanges";
59357
59388
  signInCompleteHandler;
@@ -59678,8 +59709,10 @@ var require_oauth = /* @__PURE__ */ __commonJSMin(((exports) => {
59678
59709
  if (!conversationState) return {};
59679
59710
  const stored = conversationState.get(OAuthFlow.EXCHANGE_STATE_KEY) ?? {};
59680
59711
  const current = Object.fromEntries(Object.entries(stored).filter(([, timestamp]) => Number.isFinite(timestamp) && now - timestamp < OAuthFlow.EXCHANGE_TTL_MS).sort(([, left], [, right]) => right - left).slice(0, OAuthFlow.MAX_EXCHANGE_ENTRIES));
59681
- if (Object.keys(current).length !== Object.keys(stored).length) if (Object.keys(current).length === 0) conversationState.delete(OAuthFlow.EXCHANGE_STATE_KEY);
59682
- else conversationState.set(OAuthFlow.EXCHANGE_STATE_KEY, current);
59712
+ if (Object.keys(current).length !== Object.keys(stored).length) {
59713
+ if (Object.keys(current).length === 0) conversationState.delete(OAuthFlow.EXCHANGE_STATE_KEY);
59714
+ else conversationState.set(OAuthFlow.EXCHANGE_STATE_KEY, current);
59715
+ }
59683
59716
  return current;
59684
59717
  }
59685
59718
  };
@@ -59933,8 +59966,8 @@ var require_function = /* @__PURE__ */ __commonJSMin(((exports) => {
59933
59966
  }));
59934
59967
  //#endregion
59935
59968
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/contexts/index.js
59936
- var require_contexts = /* @__PURE__ */ __commonJSMin(((exports) => {
59937
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
59969
+ var require_contexts = /* @__PURE__ */ __commonJSMin(((exports, module, this$18) => {
59970
+ var __createBinding = this$18 && this$18.__createBinding || (Object.create ? (function(o, m, k, k2) {
59938
59971
  if (k2 === void 0) k2 = k;
59939
59972
  var desc = Object.getOwnPropertyDescriptor(m, k);
59940
59973
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -59948,8 +59981,8 @@ var require_contexts = /* @__PURE__ */ __commonJSMin(((exports) => {
59948
59981
  if (k2 === void 0) k2 = k;
59949
59982
  o[k2] = m[k];
59950
59983
  }));
59951
- var __exportStar = exports && exports.__exportStar || function(m, exports$12) {
59952
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$12, p)) __createBinding(exports$12, m, p);
59984
+ var __exportStar = this$18 && this$18.__exportStar || function(m, exports) {
59985
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
59953
59986
  };
59954
59987
  Object.defineProperty(exports, "__esModule", { value: true });
59955
59988
  __exportStar(require_activity$1(), exports);
@@ -60537,8 +60570,8 @@ var require_container$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
60537
60570
  }));
60538
60571
  //#endregion
60539
60572
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/container/index.js
60540
- var require_container$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
60541
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
60573
+ var require_container$1 = /* @__PURE__ */ __commonJSMin(((exports, module, this$17) => {
60574
+ var __createBinding = this$17 && this$17.__createBinding || (Object.create ? (function(o, m, k, k2) {
60542
60575
  if (k2 === void 0) k2 = k;
60543
60576
  var desc = Object.getOwnPropertyDescriptor(m, k);
60544
60577
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -60552,8 +60585,8 @@ var require_container$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
60552
60585
  if (k2 === void 0) k2 = k;
60553
60586
  o[k2] = m[k];
60554
60587
  }));
60555
- var __exportStar = exports && exports.__exportStar || function(m, exports$11) {
60556
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$11, p)) __createBinding(exports$11, m, p);
60588
+ var __exportStar = this$17 && this$17.__exportStar || function(m, exports) {
60589
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
60557
60590
  };
60558
60591
  Object.defineProperty(exports, "__esModule", { value: true });
60559
60592
  __exportStar(require_container$2(), exports);
@@ -61080,10 +61113,10 @@ var require_inherits_browser = /* @__PURE__ */ __commonJSMin(((exports, module)
61080
61113
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/inherits/2.0.4/3ed134d32829ca149a6c475be3507d0f5d7d58b7bb2c1b0fb4c43b3e2f7ba5d2/node_modules/inherits/inherits.js
61081
61114
  var require_inherits = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61082
61115
  try {
61083
- var util$5 = require("util");
61116
+ var util = require("util");
61084
61117
  /* istanbul ignore next */
61085
- if (typeof util$5.inherits !== "function") throw "";
61086
- module.exports = util$5.inherits;
61118
+ if (typeof util.inherits !== "function") throw "";
61119
+ module.exports = util.inherits;
61087
61120
  } catch (e) {
61088
61121
  /* istanbul ignore next */
61089
61122
  module.exports = require_inherits_browser();
@@ -61285,7 +61318,7 @@ var require_http_errors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61285
61318
  * Populate the exports object with constructors for every error class.
61286
61319
  * @private
61287
61320
  */
61288
- function populateConstructorExports(exports$10, codes, HttpError) {
61321
+ function populateConstructorExports(exports, codes, HttpError) {
61289
61322
  codes.forEach(function forEachCode(code) {
61290
61323
  var CodeError;
61291
61324
  var name = toIdentifier(statuses.message[code]);
@@ -61293,13 +61326,11 @@ var require_http_errors = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61293
61326
  case 400:
61294
61327
  CodeError = createClientErrorConstructor(HttpError, name, code);
61295
61328
  break;
61296
- case 500:
61297
- CodeError = createServerErrorConstructor(HttpError, name, code);
61298
- break;
61329
+ case 500: CodeError = createServerErrorConstructor(HttpError, name, code);
61299
61330
  }
61300
61331
  if (CodeError) {
61301
- exports$10[code] = CodeError;
61302
- exports$10[name] = CodeError;
61332
+ exports[code] = CodeError;
61333
+ exports[name] = CodeError;
61303
61334
  }
61304
61335
  });
61305
61336
  }
@@ -61389,12 +61420,14 @@ var require_bytes = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61389
61420
  var decimalPlaces = options && options.decimalPlaces !== void 0 ? options.decimalPlaces : 2;
61390
61421
  var fixedDecimals = Boolean(options && options.fixedDecimals);
61391
61422
  var unit = options && options.unit || "";
61392
- if (!unit || !map[unit.toLowerCase()]) if (mag >= map.pb) unit = "PB";
61393
- else if (mag >= map.tb) unit = "TB";
61394
- else if (mag >= map.gb) unit = "GB";
61395
- else if (mag >= map.mb) unit = "MB";
61396
- else if (mag >= map.kb) unit = "KB";
61397
- else unit = "B";
61423
+ if (!unit || !map[unit.toLowerCase()]) {
61424
+ if (mag >= map.pb) unit = "PB";
61425
+ else if (mag >= map.tb) unit = "TB";
61426
+ else if (mag >= map.gb) unit = "GB";
61427
+ else if (mag >= map.mb) unit = "MB";
61428
+ else if (mag >= map.kb) unit = "KB";
61429
+ else unit = "B";
61430
+ }
61398
61431
  var str = (value / map[unit.toLowerCase()]).toFixed(decimalPlaces);
61399
61432
  if (!fixedDecimals) str = str.replace(formatDecimalsRegExp, "$1");
61400
61433
  if (thousandsSeparator) str = str.split(".").map(function(s, i) {
@@ -61758,10 +61791,10 @@ var require_shared = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61758
61791
  //#endregion
61759
61792
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@socketregistry/safer-buffer/1.0.10/41025762acbb9a06703fd8c193e1cc701bd3f907227d931fc38c3386b3bcf2cc/node_modules/@socketregistry/safer-buffer/safer.js
61760
61793
  var require_safer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61761
- const { Blob: BlobCtor, Buffer: UnsafeBuffer$1, File: FileCtor, INSPECT_MAX_BYTES, atob: atobFn, btoa: btoaFn, constants, isAscii, isUtf8, kMaxLength, kStringMaxLength, resolveObjectURL, transcode } = require("buffer");
61794
+ const { Blob: BlobCtor, Buffer: UnsafeBuffer, File: FileCtor, INSPECT_MAX_BYTES, atob: atobFn, btoa: btoaFn, constants, isAscii, isUtf8, kMaxLength, kStringMaxLength, resolveObjectURL, transcode } = require("buffer");
61762
61795
  const { builtinBufferExportsDescMap } = require_shared();
61763
- const Safer = { prototype: UnsafeBuffer$1.prototype };
61764
- for (const key of Reflect.ownKeys(UnsafeBuffer$1)) if (key !== "allocUnsafe" && key !== "allocUnsafeSlow" && key !== "prototype") Safer[key] = UnsafeBuffer$1[key];
61796
+ const Safer = { prototype: UnsafeBuffer.prototype };
61797
+ for (const key of Reflect.ownKeys(UnsafeBuffer)) if (key !== "allocUnsafe" && key !== "allocUnsafeSlow" && key !== "prototype") Safer[key] = UnsafeBuffer[key];
61765
61798
  module.exports = {
61766
61799
  INSPECT_MAX_BYTES,
61767
61800
  Blob: BlobCtor,
@@ -61822,8 +61855,8 @@ var require_bom_handling = /* @__PURE__ */ __commonJSMin(((exports) => {
61822
61855
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/iconv-lite/0.7.3/559fe1fe47600da1841a840bf3681c9d58ce71862475d45fc99f0416b07c1d61/node_modules/iconv-lite/lib/helpers/merge-exports.js
61823
61856
  var require_merge_exports = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61824
61857
  var hasOwn = typeof Object.hasOwn === "undefined" ? Function.call.bind(Object.prototype.hasOwnProperty) : Object.hasOwn;
61825
- function mergeModules(target, module$1) {
61826
- for (var key in module$1) if (hasOwn(module$1, key)) target[key] = module$1[key];
61858
+ function mergeModules(target, module) {
61859
+ for (var key in module) if (hasOwn(module, key)) target[key] = module[key];
61827
61860
  }
61828
61861
  module.exports = mergeModules;
61829
61862
  }));
@@ -61949,9 +61982,11 @@ var require_internal = /* @__PURE__ */ __commonJSMin(((exports, module) => {
61949
61982
  acc = acc << 6 | curByte & 63;
61950
61983
  contBytes--;
61951
61984
  accBytes++;
61952
- if (contBytes === 0) if (accBytes === 2 && acc < 128 && acc > 0) res += this.defaultCharUnicode;
61953
- else if (accBytes === 3 && acc < 2048) res += this.defaultCharUnicode;
61954
- else res += String.fromCharCode(acc);
61985
+ if (contBytes === 0) {
61986
+ if (accBytes === 2 && acc < 128 && acc > 0) res += this.defaultCharUnicode;
61987
+ else if (accBytes === 3 && acc < 2048) res += this.defaultCharUnicode;
61988
+ else res += String.fromCharCode(acc);
61989
+ }
61955
61990
  } else res += this.defaultCharUnicode;
61956
61991
  }
61957
61992
  this.acc = acc;
@@ -62024,15 +62059,17 @@ var require_utf32 = /* @__PURE__ */ __commonJSMin(((exports) => {
62024
62059
  var code = src.readUInt16LE(i);
62025
62060
  var isHighSurrogate = code >= 55296 && code < 56320;
62026
62061
  var isLowSurrogate = code >= 56320 && code < 57344;
62027
- if (this.highSurrogate) if (isHighSurrogate || !isLowSurrogate) {
62028
- write32.call(dst, this.highSurrogate, offset);
62029
- offset += 4;
62030
- } else {
62031
- var codepoint = (this.highSurrogate - 55296 << 10 | code - 56320) + 65536;
62032
- write32.call(dst, codepoint, offset);
62033
- offset += 4;
62034
- this.highSurrogate = 0;
62035
- continue;
62062
+ if (this.highSurrogate) {
62063
+ if (isHighSurrogate || !isLowSurrogate) {
62064
+ write32.call(dst, this.highSurrogate, offset);
62065
+ offset += 4;
62066
+ } else {
62067
+ var codepoint = (this.highSurrogate - 55296 << 10 | code - 56320) + 65536;
62068
+ write32.call(dst, codepoint, offset);
62069
+ offset += 4;
62070
+ this.highSurrogate = 0;
62071
+ continue;
62072
+ }
62036
62073
  }
62037
62074
  if (isHighSurrogate) this.highSurrogate = code;
62038
62075
  else {
@@ -63331,18 +63368,20 @@ var require_dbcs_codec = /* @__PURE__ */ __commonJSMin(((exports) => {
63331
63368
  var uCode = nextChar;
63332
63369
  nextChar = -1;
63333
63370
  }
63334
- if (uCode >= 55296 && uCode < 57344) if (uCode < 56320) if (leadSurrogate === -1) {
63335
- leadSurrogate = uCode;
63336
- continue;
63337
- } else {
63338
- leadSurrogate = uCode;
63339
- uCode = UNASSIGNED;
63340
- }
63341
- else if (leadSurrogate !== -1) {
63342
- uCode = 65536 + (leadSurrogate - 55296) * 1024 + (uCode - 56320);
63343
- leadSurrogate = -1;
63344
- } else uCode = UNASSIGNED;
63345
- else if (leadSurrogate !== -1) {
63371
+ if (uCode >= 55296 && uCode < 57344) {
63372
+ if (uCode < 56320) {
63373
+ if (leadSurrogate === -1) {
63374
+ leadSurrogate = uCode;
63375
+ continue;
63376
+ } else {
63377
+ leadSurrogate = uCode;
63378
+ uCode = UNASSIGNED;
63379
+ }
63380
+ } else if (leadSurrogate !== -1) {
63381
+ uCode = 65536 + (leadSurrogate - 55296) * 1024 + (uCode - 56320);
63382
+ leadSurrogate = -1;
63383
+ } else uCode = UNASSIGNED;
63384
+ } else if (leadSurrogate !== -1) {
63346
63385
  nextChar = uCode;
63347
63386
  uCode = UNASSIGNED;
63348
63387
  leadSurrogate = -1;
@@ -63410,10 +63449,12 @@ var require_dbcs_codec = /* @__PURE__ */ __commonJSMin(((exports) => {
63410
63449
  var j = 0;
63411
63450
  if (this.seqObj) {
63412
63451
  var dbcsCode = this.seqObj[DEF_CHAR];
63413
- if (dbcsCode !== void 0) if (dbcsCode < 256) newBuf[j++] = dbcsCode;
63414
- else {
63415
- newBuf[j++] = dbcsCode >> 8;
63416
- newBuf[j++] = dbcsCode & 255;
63452
+ if (dbcsCode !== void 0) {
63453
+ if (dbcsCode < 256) newBuf[j++] = dbcsCode;
63454
+ else {
63455
+ newBuf[j++] = dbcsCode >> 8;
63456
+ newBuf[j++] = dbcsCode & 255;
63457
+ }
63417
63458
  }
63418
63459
  this.seqObj = void 0;
63419
63460
  }
@@ -78601,9 +78642,9 @@ var require_mime_types = /* @__PURE__ */ __commonJSMin(((exports) => {
78601
78642
  * @param {string} path
78602
78643
  * @return {false|string}
78603
78644
  */
78604
- function lookup(path$30) {
78605
- if (!path$30 || typeof path$30 !== "string") return false;
78606
- var extension = extname("x." + path$30).toLowerCase().slice(1);
78645
+ function lookup(path) {
78646
+ if (!path || typeof path !== "string") return false;
78647
+ var extension = extname("x." + path).toLowerCase().slice(1);
78607
78648
  if (!extension) return false;
78608
78649
  return exports.types[extension] || false;
78609
78650
  }
@@ -78992,7 +79033,7 @@ var require_read = /* @__PURE__ */ __commonJSMin(((exports, module) => {
78992
79033
  const getBody = (init_dist(), __toCommonJS(dist_exports)).default || (init_dist(), __toCommonJS(dist_exports));
78993
79034
  const iconv = require_lib$2();
78994
79035
  const onFinished = require_on_finished();
78995
- const zlib$1 = require("zlib");
79036
+ const zlib = require("zlib");
78996
79037
  const hasBody = require_type_is().hasBody;
78997
79038
  const { getCharset } = require_utils$2();
78998
79039
  /**
@@ -79136,13 +79177,13 @@ var require_read = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79136
79177
  switch (encoding) {
79137
79178
  case "deflate":
79138
79179
  debug("inflate body");
79139
- return zlib$1.createInflate();
79180
+ return zlib.createInflate();
79140
79181
  case "gzip":
79141
79182
  debug("gunzip body");
79142
- return zlib$1.createGunzip();
79183
+ return zlib.createGunzip();
79143
79184
  case "br":
79144
79185
  debug("brotli decompress body");
79145
- return zlib$1.createBrotliDecompress();
79186
+ return zlib.createBrotliDecompress();
79146
79187
  default: throw createError(415, "unsupported content encoding \"" + encoding + "\"", {
79147
79188
  encoding,
79148
79189
  type: "encoding.unsupported"
@@ -79667,9 +79708,9 @@ var require_parseurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79667
79708
  * Module dependencies.
79668
79709
  * @private
79669
79710
  */
79670
- var url$2 = require("url");
79671
- var parse = url$2.parse;
79672
- var Url = url$2.Url;
79711
+ var url = require("url");
79712
+ var parse = url.parse;
79713
+ var Url = url.Url;
79673
79714
  /**
79674
79715
  * Module exports.
79675
79716
  * @public
@@ -79684,12 +79725,12 @@ var require_parseurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79684
79725
  * @public
79685
79726
  */
79686
79727
  function parseurl(req) {
79687
- var url$5 = req.url;
79688
- if (url$5 === void 0) return;
79728
+ var url = req.url;
79729
+ if (url === void 0) return;
79689
79730
  var parsed = req._parsedUrl;
79690
- if (fresh(url$5, parsed)) return parsed;
79691
- parsed = fastparse(url$5);
79692
- parsed._raw = url$5;
79731
+ if (fresh(url, parsed)) return parsed;
79732
+ parsed = fastparse(url);
79733
+ parsed._raw = url;
79693
79734
  return req._parsedUrl = parsed;
79694
79735
  }
79695
79736
  /**
@@ -79700,12 +79741,12 @@ var require_parseurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79700
79741
  * @public
79701
79742
  */
79702
79743
  function originalurl(req) {
79703
- var url$6 = req.originalUrl;
79704
- if (typeof url$6 !== "string") return parseurl(req);
79744
+ var url = req.originalUrl;
79745
+ if (typeof url !== "string") return parseurl(req);
79705
79746
  var parsed = req._parsedOriginalUrl;
79706
- if (fresh(url$6, parsed)) return parsed;
79707
- parsed = fastparse(url$6);
79708
- parsed._raw = url$6;
79747
+ if (fresh(url, parsed)) return parsed;
79748
+ parsed = fastparse(url);
79749
+ parsed._raw = url;
79709
79750
  return req._parsedOriginalUrl = parsed;
79710
79751
  }
79711
79752
  /**
@@ -79737,15 +79778,15 @@ var require_parseurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79737
79778
  case 160:
79738
79779
  case 65279: return parse(str);
79739
79780
  }
79740
- var url$7 = Url !== void 0 ? new Url() : {};
79741
- url$7.path = str;
79742
- url$7.href = str;
79743
- url$7.pathname = pathname;
79781
+ var url = Url !== void 0 ? new Url() : {};
79782
+ url.path = str;
79783
+ url.href = str;
79784
+ url.pathname = pathname;
79744
79785
  if (search !== null) {
79745
- url$7.query = query;
79746
- url$7.search = search;
79786
+ url.query = query;
79787
+ url.search = search;
79747
79788
  }
79748
- return url$7;
79789
+ return url;
79749
79790
  }
79750
79791
  /**
79751
79792
  * Determine if parsed is still fresh for url.
@@ -79755,8 +79796,8 @@ var require_parseurl = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79755
79796
  * @return {boolean}
79756
79797
  * @private
79757
79798
  */
79758
- function fresh(url$8, parsedUrl) {
79759
- return typeof parsedUrl === "object" && parsedUrl !== null && (Url === void 0 || parsedUrl instanceof Url) && parsedUrl._raw === url$8;
79799
+ function fresh(url, parsedUrl) {
79800
+ return typeof parsedUrl === "object" && parsedUrl !== null && (Url === void 0 || parsedUrl instanceof Url) && parsedUrl._raw === url;
79760
79801
  }
79761
79802
  }));
79762
79803
  //#endregion
@@ -79957,17 +79998,17 @@ var require_view = /* @__PURE__ */ __commonJSMin(((exports, module) => {
79957
79998
  * @private
79958
79999
  */
79959
80000
  var debug = require_src$2()("express:view");
79960
- var path$4 = require("path");
79961
- var fs$2 = require("fs");
80001
+ var path = require("path");
80002
+ var fs = require("fs");
79962
80003
  /**
79963
80004
  * Module variables.
79964
80005
  * @private
79965
80006
  */
79966
- var dirname = path$4.dirname;
79967
- var basename = path$4.basename;
79968
- var extname = path$4.extname;
79969
- var join = path$4.join;
79970
- var resolve = path$4.resolve;
80007
+ var dirname = path.dirname;
80008
+ var basename = path.basename;
80009
+ var extname = path.extname;
80010
+ var join = path.join;
80011
+ var resolve = path.resolve;
79971
80012
  /**
79972
80013
  * Module exports.
79973
80014
  * @public
@@ -80015,17 +80056,17 @@ var require_view = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80015
80056
  * @private
80016
80057
  */
80017
80058
  View.prototype.lookup = function lookup(name) {
80018
- var path$27;
80059
+ var path;
80019
80060
  var roots = [].concat(this.root);
80020
80061
  debug("lookup \"%s\"", name);
80021
- for (var i = 0; i < roots.length && !path$27; i++) {
80062
+ for (var i = 0; i < roots.length && !path; i++) {
80022
80063
  var root = roots[i];
80023
80064
  var loc = resolve(root, name);
80024
80065
  var dir = dirname(loc);
80025
80066
  var file = basename(loc);
80026
- path$27 = this.resolve(dir, file);
80067
+ path = this.resolve(dir, file);
80027
80068
  }
80028
- return path$27;
80069
+ return path;
80029
80070
  };
80030
80071
  /**
80031
80072
  * Render with the given options.
@@ -80057,12 +80098,12 @@ var require_view = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80057
80098
  */
80058
80099
  View.prototype.resolve = function resolve(dir, file) {
80059
80100
  var ext = this.ext;
80060
- var path$28 = join(dir, file);
80061
- var stat = tryStat(path$28);
80062
- if (stat && stat.isFile()) return path$28;
80063
- path$28 = join(dir, basename(file, ext), "index" + ext);
80064
- stat = tryStat(path$28);
80065
- if (stat && stat.isFile()) return path$28;
80101
+ var path = join(dir, file);
80102
+ var stat = tryStat(path);
80103
+ if (stat && stat.isFile()) return path;
80104
+ path = join(dir, basename(file, ext), "index" + ext);
80105
+ stat = tryStat(path);
80106
+ if (stat && stat.isFile()) return path;
80066
80107
  };
80067
80108
  /**
80068
80109
  * Return a stat, maybe.
@@ -80071,10 +80112,10 @@ var require_view = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80071
80112
  * @return {fs.Stats}
80072
80113
  * @private
80073
80114
  */
80074
- function tryStat(path$29) {
80075
- debug("stat \"%s\"", path$29);
80115
+ function tryStat(path) {
80116
+ debug("stat \"%s\"", path);
80076
80117
  try {
80077
- return fs$2.statSync(path$29);
80118
+ return fs.statSync(path);
80078
80119
  } catch (e) {
80079
80120
  return;
80080
80121
  }
@@ -80242,7 +80283,7 @@ var require_etag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80242
80283
  * Module dependencies.
80243
80284
  * @private
80244
80285
  */
80245
- var crypto$5 = require("crypto");
80286
+ var crypto = require("crypto");
80246
80287
  var Stats = require("fs").Stats;
80247
80288
  /**
80248
80289
  * Module variables.
@@ -80258,7 +80299,7 @@ var require_etag = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80258
80299
  */
80259
80300
  function entitytag(entity) {
80260
80301
  if (entity.length === 0) return "\"0-2jmj7l5rSw0yVb/vlWAYkK/YBwk\"";
80261
- var hash = crypto$5.createHash("sha1").update(entity, "utf8").digest("base64").substring(0, 27);
80302
+ var hash = crypto.createHash("sha1").update(entity, "utf8").digest("base64").substring(0, 27);
80262
80303
  return "\"" + (typeof entity === "string" ? Buffer.byteLength(entity, "utf8") : entity.length).toString(16) + "-" + hash + "\"";
80263
80304
  }
80264
80305
  /**
@@ -80354,9 +80395,7 @@ var require_forwarded = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80354
80395
  if (start !== end) list.push(header.substring(start, end));
80355
80396
  start = end = i;
80356
80397
  break;
80357
- default:
80358
- start = i;
80359
- break;
80398
+ default: start = i;
80360
80399
  }
80361
80400
  if (start !== end) list.push(header.substring(start, end));
80362
80401
  return list;
@@ -80364,7 +80403,7 @@ var require_forwarded = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80364
80403
  }));
80365
80404
  //#endregion
80366
80405
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/ipaddr.js/1.9.1/3125cdfb40664fffa3b433c83e5219044e4642217555afa6e471282cc4177a3a/node_modules/ipaddr.js/lib/ipaddr.js
80367
- var require_ipaddr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
80406
+ var require_ipaddr = /* @__PURE__ */ __commonJSMin(((exports, module, this$16) => {
80368
80407
  (function() {
80369
80408
  var expandIPv6, ipaddr = {}, ipv4Part, ipv4Regexes, ipv6Part, ipv6Regexes, matchCIDR, root = this, zoneIndex;
80370
80409
  if (typeof module !== "undefined" && module !== null && module.exports) module.exports = ipaddr;
@@ -81031,7 +81070,7 @@ var require_ipaddr = /* @__PURE__ */ __commonJSMin(((exports, module) => {
81031
81070
  if (addr.kind() === "ipv6" && addr.isIPv4MappedAddress()) return addr.toIPv4Address();
81032
81071
  else return addr;
81033
81072
  };
81034
- }).call(exports);
81073
+ }).call(this$16);
81035
81074
  }));
81036
81075
  //#endregion
81037
81076
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/proxy-addr/2.0.8/c4bc45db15d9bd1d049d26dd2b6052d13d6c0d38e7cd517e8787999b5523655b/node_modules/proxy-addr/index.js
@@ -81255,19 +81294,19 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
81255
81294
  * Module dependencies.
81256
81295
  * @api private
81257
81296
  */
81258
- var { METHODS: METHODS$2 } = require("http");
81297
+ var { METHODS } = require("http");
81259
81298
  var contentType = require_content_type();
81260
81299
  var etag = require_etag();
81261
81300
  var mime = require_mime_types();
81262
81301
  var proxyaddr = require_proxy_addr();
81263
81302
  var qs = require_lib$3();
81264
81303
  var querystring = require("querystring");
81265
- const { Buffer: Buffer$4 } = require("buffer");
81304
+ const { Buffer } = require("buffer");
81266
81305
  /**
81267
81306
  * A list of lowercased HTTP methods that are supported by Node.js.
81268
81307
  * @api private
81269
81308
  */
81270
- exports.methods = METHODS$2.map((method) => method.toLowerCase());
81309
+ exports.methods = METHODS.map((method) => method.toLowerCase());
81271
81310
  /**
81272
81311
  * Return strong ETag for `body`.
81273
81312
  *
@@ -81433,7 +81472,7 @@ var require_utils$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
81433
81472
  */
81434
81473
  function createETagGenerator(options) {
81435
81474
  return function generateETag(body, encoding) {
81436
- return etag(!Buffer$4.isBuffer(body) ? Buffer$4.from(body, encoding) : body, options);
81475
+ return etag(!Buffer.isBuffer(body) ? Buffer.from(body, encoding) : body, options);
81437
81476
  };
81438
81477
  }
81439
81478
  /**
@@ -82079,14 +82118,14 @@ var require_route = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82079
82118
  */
82080
82119
  const debug = require_src$2()("router:route");
82081
82120
  const Layer = require_layer();
82082
- const { METHODS: METHODS$1 } = require("http");
82121
+ const { METHODS } = require("http");
82083
82122
  /**
82084
82123
  * Module variables.
82085
82124
  * @private
82086
82125
  */
82087
82126
  const slice = Array.prototype.slice;
82088
82127
  const flatten = Array.prototype.flat;
82089
- const methods = METHODS$1.map((method) => method.toLowerCase());
82128
+ const methods = METHODS.map((method) => method.toLowerCase());
82090
82129
  /**
82091
82130
  * Expose `Route`.
82092
82131
  */
@@ -82696,12 +82735,12 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82696
82735
  var finalhandler = require_finalhandler();
82697
82736
  var debug = require_src$2()("express:application");
82698
82737
  var View = require_view();
82699
- var http$4 = require("http");
82738
+ var http = require("http");
82700
82739
  var methods = require_utils$1().methods;
82701
82740
  var compileETag = require_utils$1().compileETag;
82702
82741
  var compileQueryParser = require_utils$1().compileQueryParser;
82703
82742
  var compileTrust = require_utils$1().compileTrust;
82704
- var resolve$1 = require("path").resolve;
82743
+ var resolve = require("path").resolve;
82705
82744
  var once = require_once();
82706
82745
  var Router = require_router$2();
82707
82746
  /**
@@ -82777,7 +82816,7 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82777
82816
  this.mountpath = "/";
82778
82817
  this.locals.settings = this.settings;
82779
82818
  this.set("view", View);
82780
- this.set("views", resolve$1("views"));
82819
+ this.set("views", resolve("views"));
82781
82820
  this.set("jsonp callback name", "callback");
82782
82821
  if (env === "production") this.enable("view cache");
82783
82822
  };
@@ -82813,24 +82852,24 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82813
82852
  */
82814
82853
  app.use = function use(fn) {
82815
82854
  var offset = 0;
82816
- var path$22 = "/";
82855
+ var path = "/";
82817
82856
  if (typeof fn !== "function") {
82818
82857
  var arg = fn;
82819
82858
  while (Array.isArray(arg) && arg.length !== 0) arg = arg[0];
82820
82859
  if (typeof arg !== "function") {
82821
82860
  offset = 1;
82822
- path$22 = fn;
82861
+ path = fn;
82823
82862
  }
82824
82863
  }
82825
82864
  var fns = flatten.call(slice.call(arguments, offset), Infinity);
82826
82865
  if (fns.length === 0) throw new TypeError("app.use() requires a middleware function");
82827
82866
  var router = this.router;
82828
82867
  fns.forEach(function(fn) {
82829
- if (!fn || !fn.handle || !fn.set) return router.use(path$22, fn);
82830
- debug(".use app under %s", path$22);
82831
- fn.mountpath = path$22;
82868
+ if (!fn || !fn.handle || !fn.set) return router.use(path, fn);
82869
+ debug(".use app under %s", path);
82870
+ fn.mountpath = path;
82832
82871
  fn.parent = this;
82833
- router.use(path$22, function mounted_app(req, res, next) {
82872
+ router.use(path, function mounted_app(req, res, next) {
82834
82873
  var orig = req.app;
82835
82874
  fn.handle(req, res, function(err) {
82836
82875
  Object.setPrototypeOf(req, orig.request);
@@ -82851,8 +82890,8 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82851
82890
  *
82852
82891
  * @public
82853
82892
  */
82854
- app.route = function route(path$23) {
82855
- return this.router.route(path$23);
82893
+ app.route = function route(path) {
82894
+ return this.router.route(path);
82856
82895
  };
82857
82896
  /**
82858
82897
  * Register the given template engine callback `fn`
@@ -82943,7 +82982,6 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82943
82982
  configurable: true,
82944
82983
  value: false
82945
82984
  });
82946
- break;
82947
82985
  }
82948
82986
  return this;
82949
82987
  };
@@ -82960,7 +82998,7 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
82960
82998
  * @return {String}
82961
82999
  * @private
82962
83000
  */
82963
- app.path = function path$24() {
83001
+ app.path = function path() {
82964
83002
  return this.parent ? this.parent.path() + this.mountpath : "";
82965
83003
  };
82966
83004
  /**
@@ -83021,9 +83059,9 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
83021
83059
  * Delegate `.VERB(...)` calls to `router.VERB(...)`.
83022
83060
  */
83023
83061
  methods.forEach(function(method) {
83024
- app[method] = function(path$25) {
83025
- if (method === "get" && arguments.length === 1) return this.set(path$25);
83026
- var route = this.route(path$25);
83062
+ app[method] = function(path) {
83063
+ if (method === "get" && arguments.length === 1) return this.set(path);
83064
+ var route = this.route(path);
83027
83065
  route[method].apply(route, slice.call(arguments, 1));
83028
83066
  return this;
83029
83067
  };
@@ -83037,8 +83075,8 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
83037
83075
  * @return {app} for chaining
83038
83076
  * @public
83039
83077
  */
83040
- app.all = function all(path$26) {
83041
- var route = this.route(path$26);
83078
+ app.all = function all(path) {
83079
+ var route = this.route(path);
83042
83080
  var args = slice.call(arguments, 1);
83043
83081
  for (var i = 0; i < methods.length; i++) route[methods[i]].apply(route, args);
83044
83082
  return this;
@@ -83113,7 +83151,7 @@ var require_application = /* @__PURE__ */ __commonJSMin(((exports, module) => {
83113
83151
  * @public
83114
83152
  */
83115
83153
  app.listen = function listen() {
83116
- var server = http$4.createServer(this);
83154
+ var server = http.createServer(this);
83117
83155
  var args = slice.call(arguments);
83118
83156
  if (typeof args[args.length - 1] === "function") {
83119
83157
  var done = args[args.length - 1] = once(args[args.length - 1]);
@@ -83644,10 +83682,12 @@ var require_mediaType = /* @__PURE__ */ __commonJSMin(((exports, module) => {
83644
83682
  if (spec.subtype.toLowerCase() == p.subtype.toLowerCase()) s |= 2;
83645
83683
  else if (spec.subtype != "*") return null;
83646
83684
  var keys = Object.keys(spec.params);
83647
- if (keys.length > 0) if (keys.every(function(k) {
83648
- return spec.params[k] == "*" || (spec.params[k] || "").toLowerCase() == (p.params[k] || "").toLowerCase();
83649
- })) s |= 1;
83650
- else return null;
83685
+ if (keys.length > 0) {
83686
+ if (keys.every(function(k) {
83687
+ return spec.params[k] == "*" || (spec.params[k] || "").toLowerCase() == (p.params[k] || "").toLowerCase();
83688
+ })) s |= 1;
83689
+ else return null;
83690
+ }
83651
83691
  return {
83652
83692
  i: index,
83653
83693
  o: spec.i,
@@ -84055,9 +84095,7 @@ var require_fresh = /* @__PURE__ */ __commonJSMin(((exports, module) => {
84055
84095
  list.push(str.substring(start, end));
84056
84096
  start = end = i + 1;
84057
84097
  break;
84058
- default:
84059
- end = i + 1;
84060
- break;
84098
+ default: end = i + 1;
84061
84099
  }
84062
84100
  list.push(str.substring(start, end));
84063
84101
  return list;
@@ -84196,7 +84234,7 @@ var require_request$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
84196
84234
  var accepts = require_accepts();
84197
84235
  var isIP = require("net").isIP;
84198
84236
  var typeis = require_type_is();
84199
- var http$3 = require("http");
84237
+ var http = require("http");
84200
84238
  var fresh = require_fresh();
84201
84239
  var parseRange = require_range_parser();
84202
84240
  var parse = require_parseurl();
@@ -84205,7 +84243,7 @@ var require_request$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
84205
84243
  * Request prototype.
84206
84244
  * @public
84207
84245
  */
84208
- var req = Object.create(http$3.IncomingMessage.prototype);
84246
+ var req = Object.create(http.IncomingMessage.prototype);
84209
84247
  /**
84210
84248
  * Module exports.
84211
84249
  * @public
@@ -84930,7 +84968,7 @@ var require_cookie_signature = /* @__PURE__ */ __commonJSMin(((exports) => {
84930
84968
  /**
84931
84969
  * Module dependencies.
84932
84970
  */
84933
- var crypto$4 = require("crypto");
84971
+ var crypto = require("crypto");
84934
84972
  /**
84935
84973
  * Sign the given `val` with `secret`.
84936
84974
  *
@@ -84942,7 +84980,7 @@ var require_cookie_signature = /* @__PURE__ */ __commonJSMin(((exports) => {
84942
84980
  exports.sign = function(val, secret) {
84943
84981
  if ("string" != typeof val) throw new TypeError("Cookie value must be provided as a string.");
84944
84982
  if (null == secret) throw new TypeError("Secret key must be provided.");
84945
- return val + "." + crypto$4.createHmac("sha256", secret).update(val).digest("base64").replace(/\=+$/, "");
84983
+ return val + "." + crypto.createHmac("sha256", secret).update(val).digest("base64").replace(/\=+$/, "");
84946
84984
  };
84947
84985
  /**
84948
84986
  * Unsign and decode the given `input` with `secret`,
@@ -84957,7 +84995,7 @@ var require_cookie_signature = /* @__PURE__ */ __commonJSMin(((exports) => {
84957
84995
  if ("string" != typeof input) throw new TypeError("Signed cookie string must be provided.");
84958
84996
  if (null == secret) throw new TypeError("Secret key must be provided.");
84959
84997
  var tentativeValue = input.slice(0, input.lastIndexOf(".")), expectedInput = exports.sign(tentativeValue, secret), expectedBuffer = Buffer.from(expectedInput), inputBuffer = Buffer.from(input);
84960
- return expectedBuffer.length === inputBuffer.length && crypto$4.timingSafeEqual(expectedBuffer, inputBuffer) ? tentativeValue : false;
84998
+ return expectedBuffer.length === inputBuffer.length && crypto.timingSafeEqual(expectedBuffer, inputBuffer) ? tentativeValue : false;
84961
84999
  };
84962
85000
  }));
84963
85001
  //#endregion
@@ -85198,7 +85236,6 @@ var require_dist$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
85198
85236
  if (!val) break;
85199
85237
  const sameSite = val.toLowerCase();
85200
85238
  if (sameSite === "lax" || sameSite === "strict" || sameSite === "none") setCookie.sameSite = sameSite;
85201
- break;
85202
85239
  }
85203
85240
  index = endIdx + 1;
85204
85241
  }
@@ -85272,24 +85309,24 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85272
85309
  var escapeHtml = require_escape_html();
85273
85310
  var etag = require_etag();
85274
85311
  var fresh = require_fresh();
85275
- var fs$1 = require("fs");
85312
+ var fs = require("fs");
85276
85313
  var mime = require_mime_types();
85277
85314
  var ms = require_ms();
85278
85315
  var onFinished = require_on_finished();
85279
85316
  var parseRange = require_range_parser();
85280
- var path$3 = require("path");
85317
+ var path = require("path");
85281
85318
  var statuses = require_statuses();
85282
- var Stream$3 = require("stream");
85283
- var util$4 = require("util");
85319
+ var Stream = require("stream");
85320
+ var util = require("util");
85284
85321
  /**
85285
85322
  * Path function references.
85286
85323
  * @private
85287
85324
  */
85288
- var extname = path$3.extname;
85289
- var join = path$3.join;
85290
- var normalize = path$3.normalize;
85291
- var resolve = path$3.resolve;
85292
- var sep = path$3.sep;
85325
+ var extname = path.extname;
85326
+ var join = path.join;
85327
+ var normalize = path.normalize;
85328
+ var resolve = path.resolve;
85329
+ var sep = path.sep;
85293
85330
  /**
85294
85331
  * Regular expression for identifying a bytes Range header.
85295
85332
  * @private
@@ -85299,7 +85336,7 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85299
85336
  * Maximum value allowed for the max age.
85300
85337
  * @private
85301
85338
  */
85302
- var MAX_MAXAGE = 3600 * 24 * 365 * 1e3;
85339
+ var MAX_MAXAGE = 31536e6;
85303
85340
  /**
85304
85341
  * Regular expression to match a path with a directory up component.
85305
85342
  * @private
@@ -85319,8 +85356,8 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85319
85356
  * @return {SendStream}
85320
85357
  * @public
85321
85358
  */
85322
- function send(req, path$11, options) {
85323
- return new SendStream(req, path$11, options);
85359
+ function send(req, path, options) {
85360
+ return new SendStream(req, path, options);
85324
85361
  }
85325
85362
  /**
85326
85363
  * Initialize a `SendStream` with the given `path`.
@@ -85330,11 +85367,11 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85330
85367
  * @param {object} [options]
85331
85368
  * @private
85332
85369
  */
85333
- function SendStream(req, path$12, options) {
85334
- Stream$3.call(this);
85370
+ function SendStream(req, path, options) {
85371
+ Stream.call(this);
85335
85372
  var opts = options || {};
85336
85373
  this.options = opts;
85337
- this.path = path$12;
85374
+ this.path = path;
85338
85375
  this.req = req;
85339
85376
  this._acceptRanges = opts.acceptRanges !== void 0 ? Boolean(opts.acceptRanges) : true;
85340
85377
  this._cacheControl = opts.cacheControl !== void 0 ? Boolean(opts.cacheControl) : true;
@@ -85353,7 +85390,7 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85353
85390
  /**
85354
85391
  * Inherits from `Stream`.
85355
85392
  */
85356
- util$4.inherits(SendStream, Stream$3);
85393
+ util.inherits(SendStream, Stream);
85357
85394
  /**
85358
85395
  * Emit error with `status`.
85359
85396
  *
@@ -85474,9 +85511,7 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85474
85511
  case "ENOTDIR":
85475
85512
  this.error(404, error);
85476
85513
  break;
85477
- default:
85478
- this.error(500, error);
85479
- break;
85514
+ default: this.error(500, error);
85480
85515
  }
85481
85516
  };
85482
85517
  /**
@@ -85512,10 +85547,10 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85512
85547
  * @param {string} path
85513
85548
  * @private
85514
85549
  */
85515
- SendStream.prototype.redirect = function redirect(path$13) {
85550
+ SendStream.prototype.redirect = function redirect(path) {
85516
85551
  var res = this.res;
85517
85552
  if (hasListeners(this, "directory")) {
85518
- this.emit("directory", res, path$13);
85553
+ this.emit("directory", res, path);
85519
85554
  return;
85520
85555
  }
85521
85556
  if (this.hasTrailingSlash()) {
@@ -85542,36 +85577,36 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85542
85577
  SendStream.prototype.pipe = function pipe(res) {
85543
85578
  var root = this._root;
85544
85579
  this.res = res;
85545
- var path$14 = decode(this.path);
85546
- if (path$14 === -1) {
85580
+ var path = decode(this.path);
85581
+ if (path === -1) {
85547
85582
  this.error(400);
85548
85583
  return res;
85549
85584
  }
85550
- if (~path$14.indexOf("\0")) {
85585
+ if (~path.indexOf("\0")) {
85551
85586
  this.error(400);
85552
85587
  return res;
85553
85588
  }
85554
85589
  var parts;
85555
85590
  if (root !== null) {
85556
- if (path$14) path$14 = normalize("." + sep + path$14);
85557
- if (UP_PATH_REGEXP.test(path$14)) {
85558
- debug("malicious path \"%s\"", path$14);
85591
+ if (path) path = normalize("." + sep + path);
85592
+ if (UP_PATH_REGEXP.test(path)) {
85593
+ debug("malicious path \"%s\"", path);
85559
85594
  this.error(403);
85560
85595
  return res;
85561
85596
  }
85562
- parts = path$14.split(sep);
85563
- path$14 = normalize(join(root, path$14));
85597
+ parts = path.split(sep);
85598
+ path = normalize(join(root, path));
85564
85599
  } else {
85565
- if (UP_PATH_REGEXP.test(path$14)) {
85566
- debug("malicious path \"%s\"", path$14);
85600
+ if (UP_PATH_REGEXP.test(path)) {
85601
+ debug("malicious path \"%s\"", path);
85567
85602
  this.error(403);
85568
85603
  return res;
85569
85604
  }
85570
- parts = normalize(path$14).split(sep);
85571
- path$14 = resolve(path$14);
85605
+ parts = normalize(path).split(sep);
85606
+ path = resolve(path);
85572
85607
  }
85573
85608
  if (containsDotFile(parts)) {
85574
- debug("%s dotfile \"%s\"", this._dotfiles, path$14);
85609
+ debug("%s dotfile \"%s\"", this._dotfiles, path);
85575
85610
  switch (this._dotfiles) {
85576
85611
  case "allow": break;
85577
85612
  case "deny":
@@ -85583,10 +85618,10 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85583
85618
  }
85584
85619
  }
85585
85620
  if (this._index.length && this.hasTrailingSlash()) {
85586
- this.sendIndex(path$14);
85621
+ this.sendIndex(path);
85587
85622
  return res;
85588
85623
  }
85589
- this.sendFile(path$14);
85624
+ this.sendFile(path);
85590
85625
  return res;
85591
85626
  };
85592
85627
  /**
@@ -85595,7 +85630,7 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85595
85630
  * @param {String} path
85596
85631
  * @api public
85597
85632
  */
85598
- SendStream.prototype.send = function send(path$15, stat) {
85633
+ SendStream.prototype.send = function send(path, stat) {
85599
85634
  var len = stat.size;
85600
85635
  var options = this.options;
85601
85636
  var opts = {};
@@ -85607,9 +85642,9 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85607
85642
  this.headersAlreadySent();
85608
85643
  return;
85609
85644
  }
85610
- debug("pipe \"%s\"", path$15);
85611
- this.setHeader(path$15, stat);
85612
- this.type(path$15);
85645
+ debug("pipe \"%s\"", path);
85646
+ this.setHeader(path, stat);
85647
+ this.type(path);
85613
85648
  if (this.isConditionalGET()) {
85614
85649
  if (this.isPreconditionFailure()) {
85615
85650
  this.error(412);
@@ -85652,7 +85687,7 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85652
85687
  res.end();
85653
85688
  return;
85654
85689
  }
85655
- this.stream(path$15, opts);
85690
+ this.stream(path, opts);
85656
85691
  };
85657
85692
  /**
85658
85693
  * Transfer file for `path`.
@@ -85660,24 +85695,24 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85660
85695
  * @param {String} path
85661
85696
  * @api private
85662
85697
  */
85663
- SendStream.prototype.sendFile = function sendFile(path$16) {
85698
+ SendStream.prototype.sendFile = function sendFile(path) {
85664
85699
  var i = 0;
85665
85700
  var self = this;
85666
- debug("stat \"%s\"", path$16);
85667
- fs$1.stat(path$16, function onstat(err, stat) {
85668
- var pathEndsWithSep = path$16[path$16.length - 1] === sep;
85669
- if (err && err.code === "ENOENT" && !extname(path$16) && !pathEndsWithSep) return next(err);
85701
+ debug("stat \"%s\"", path);
85702
+ fs.stat(path, function onstat(err, stat) {
85703
+ var pathEndsWithSep = path[path.length - 1] === sep;
85704
+ if (err && err.code === "ENOENT" && !extname(path) && !pathEndsWithSep) return next(err);
85670
85705
  if (err) return self.onStatError(err);
85671
- if (stat.isDirectory()) return self.redirect(path$16);
85706
+ if (stat.isDirectory()) return self.redirect(path);
85672
85707
  if (pathEndsWithSep) return self.error(404);
85673
- self.emit("file", path$16, stat);
85674
- self.send(path$16, stat);
85708
+ self.emit("file", path, stat);
85709
+ self.send(path, stat);
85675
85710
  });
85676
85711
  function next(err) {
85677
85712
  if (self._extensions.length <= i) return err ? self.onStatError(err) : self.error(404);
85678
- var p = path$16 + "." + self._extensions[i++];
85713
+ var p = path + "." + self._extensions[i++];
85679
85714
  debug("stat \"%s\"", p);
85680
- fs$1.stat(p, function(err, stat) {
85715
+ fs.stat(p, function(err, stat) {
85681
85716
  if (err) return next(err);
85682
85717
  if (stat.isDirectory()) return next();
85683
85718
  self.emit("file", p, stat);
@@ -85691,7 +85726,7 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85691
85726
  * @param {String} path
85692
85727
  * @api private
85693
85728
  */
85694
- SendStream.prototype.sendIndex = function sendIndex(path$17) {
85729
+ SendStream.prototype.sendIndex = function sendIndex(path) {
85695
85730
  var i = -1;
85696
85731
  var self = this;
85697
85732
  function next(err) {
@@ -85699,9 +85734,9 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85699
85734
  if (err) return self.onStatError(err);
85700
85735
  return self.error(404);
85701
85736
  }
85702
- var p = join(path$17, self._index[i]);
85737
+ var p = join(path, self._index[i]);
85703
85738
  debug("stat \"%s\"", p);
85704
- fs$1.stat(p, function(err, stat) {
85739
+ fs.stat(p, function(err, stat) {
85705
85740
  if (err) return next(err);
85706
85741
  if (stat.isDirectory()) return next();
85707
85742
  self.emit("file", p, stat);
@@ -85717,21 +85752,21 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85717
85752
  * @param {Object} options
85718
85753
  * @api private
85719
85754
  */
85720
- SendStream.prototype.stream = function stream(path$18, options) {
85755
+ SendStream.prototype.stream = function stream(path, options) {
85721
85756
  var self = this;
85722
85757
  var res = this.res;
85723
- var stream$2 = fs$1.createReadStream(path$18, options);
85724
- this.emit("stream", stream$2);
85725
- stream$2.pipe(res);
85758
+ var stream = fs.createReadStream(path, options);
85759
+ this.emit("stream", stream);
85760
+ stream.pipe(res);
85726
85761
  function cleanup() {
85727
- stream$2.destroy();
85762
+ stream.destroy();
85728
85763
  }
85729
85764
  onFinished(res, cleanup);
85730
- stream$2.on("error", function onerror(err) {
85765
+ stream.on("error", function onerror(err) {
85731
85766
  cleanup();
85732
85767
  self.onStatError(err);
85733
85768
  });
85734
- stream$2.on("end", function onend() {
85769
+ stream.on("end", function onend() {
85735
85770
  self.emit("end");
85736
85771
  });
85737
85772
  };
@@ -85742,10 +85777,10 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85742
85777
  * @param {String} path
85743
85778
  * @api private
85744
85779
  */
85745
- SendStream.prototype.type = function type(path$19) {
85780
+ SendStream.prototype.type = function type(path) {
85746
85781
  var res = this.res;
85747
85782
  if (res.getHeader("Content-Type")) return;
85748
- var ext = extname(path$19);
85783
+ var ext = extname(path);
85749
85784
  var type = mime.contentType(ext) || "application/octet-stream";
85750
85785
  debug("content-type %s", type);
85751
85786
  res.setHeader("Content-Type", type);
@@ -85758,9 +85793,9 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85758
85793
  * @param {Object} stat
85759
85794
  * @api private
85760
85795
  */
85761
- SendStream.prototype.setHeader = function setHeader(path$20, stat) {
85796
+ SendStream.prototype.setHeader = function setHeader(path, stat) {
85762
85797
  var res = this.res;
85763
- this.emit("headers", res, path$20, stat);
85798
+ this.emit("headers", res, path, stat);
85764
85799
  if (this._acceptRanges && !res.getHeader("Accept-Ranges")) {
85765
85800
  debug("accept ranges");
85766
85801
  res.setHeader("Accept-Ranges", "bytes");
@@ -85853,9 +85888,9 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85853
85888
  * @param {String} path
85854
85889
  * @api private
85855
85890
  */
85856
- function decode(path$21) {
85891
+ function decode(path) {
85857
85892
  try {
85858
- return decodeURIComponent(path$21);
85893
+ return decodeURIComponent(path);
85859
85894
  } catch (err) {
85860
85895
  return -1;
85861
85896
  }
@@ -85914,9 +85949,7 @@ var require_send = /* @__PURE__ */ __commonJSMin(((exports, module) => {
85914
85949
  if (start !== end) list.push(str.substring(start, end));
85915
85950
  start = end = i + 1;
85916
85951
  break;
85917
- default:
85918
- end = i + 1;
85919
- break;
85952
+ default: end = i + 1;
85920
85953
  }
85921
85954
  if (start !== end) list.push(str.substring(start, end));
85922
85955
  return list;
@@ -86005,9 +86038,7 @@ var require_vary = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86005
86038
  list.push(header.substring(start, end));
86006
86039
  start = end = i + 1;
86007
86040
  break;
86008
- default:
86009
- end = i + 1;
86010
- break;
86041
+ default: end = i + 1;
86011
86042
  }
86012
86043
  list.push(header.substring(start, end));
86013
86044
  return list;
@@ -86043,10 +86074,10 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86043
86074
  var deprecate = require_depd()("express");
86044
86075
  var encodeUrl = require_encodeurl();
86045
86076
  var escapeHtml = require_escape_html();
86046
- var http$2 = require("http");
86077
+ var http = require("http");
86047
86078
  var onFinished = require_on_finished();
86048
86079
  var mime = require_mime_types();
86049
- var path$2 = require("path");
86080
+ var path = require("path");
86050
86081
  var pathIsAbsolute = require("path").isAbsolute;
86051
86082
  var statuses = require_statuses();
86052
86083
  var sign = require_cookie_signature().sign;
@@ -86055,15 +86086,15 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86055
86086
  var setCharset = require_utils$1().setCharset;
86056
86087
  var cookie = require_dist$1();
86057
86088
  var send = require_send();
86058
- var extname = path$2.extname;
86059
- var resolve = path$2.resolve;
86089
+ var extname = path.extname;
86090
+ var resolve = path.resolve;
86060
86091
  var vary = require_vary();
86061
- const { Buffer: Buffer$3 } = require("buffer");
86092
+ const { Buffer } = require("buffer");
86062
86093
  /**
86063
86094
  * Response prototype.
86064
86095
  * @public
86065
86096
  */
86066
- var res = Object.create(http$2.ServerResponse.prototype);
86097
+ var res = Object.create(http.ServerResponse.prototype);
86067
86098
  /**
86068
86099
  * Module exports.
86069
86100
  * @public
@@ -86139,12 +86170,10 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86139
86170
  break;
86140
86171
  case "boolean":
86141
86172
  case "number":
86142
- case "object":
86143
- if (chunk === null) chunk = "";
86144
- else if (ArrayBuffer.isView(chunk)) {
86145
- if (!this.get("Content-Type")) this.type("bin");
86146
- } else return this.json(chunk);
86147
- break;
86173
+ case "object": if (chunk === null) chunk = "";
86174
+ else if (ArrayBuffer.isView(chunk)) {
86175
+ if (!this.get("Content-Type")) this.type("bin");
86176
+ } else return this.json(chunk);
86148
86177
  }
86149
86178
  if (typeof chunk === "string") {
86150
86179
  encoding = "utf8";
@@ -86155,10 +86184,10 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86155
86184
  var generateETag = !this.get("ETag") && typeof etagFn === "function";
86156
86185
  var len;
86157
86186
  if (chunk !== void 0) {
86158
- if (Buffer$3.isBuffer(chunk)) len = chunk.length;
86159
- else if (!generateETag && chunk.length < 1e3) len = Buffer$3.byteLength(chunk, encoding);
86187
+ if (Buffer.isBuffer(chunk)) len = chunk.length;
86188
+ else if (!generateETag && chunk.length < 1e3) len = Buffer.byteLength(chunk, encoding);
86160
86189
  else {
86161
- chunk = Buffer$3.from(chunk, encoding);
86190
+ chunk = Buffer.from(chunk, encoding);
86162
86191
  encoding = void 0;
86163
86192
  len = chunk.length;
86164
86193
  }
@@ -86293,20 +86322,20 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86293
86322
  *
86294
86323
  * @public
86295
86324
  */
86296
- res.sendFile = function sendFile(path$9, options, callback) {
86325
+ res.sendFile = function sendFile(path, options, callback) {
86297
86326
  var done = callback;
86298
86327
  var req = this.req;
86299
86328
  var res = this;
86300
86329
  var next = req.next;
86301
86330
  var opts = options || {};
86302
- if (!path$9) throw new TypeError("path argument is required to res.sendFile");
86303
- if (typeof path$9 !== "string") throw new TypeError("path must be a string to res.sendFile");
86331
+ if (!path) throw new TypeError("path argument is required to res.sendFile");
86332
+ if (typeof path !== "string") throw new TypeError("path must be a string to res.sendFile");
86304
86333
  if (typeof options === "function") {
86305
86334
  done = options;
86306
86335
  opts = {};
86307
86336
  }
86308
- if (!opts.root && !pathIsAbsolute(path$9)) throw new TypeError("path must be absolute or specify root to res.sendFile");
86309
- var pathname = encodeURI(path$9);
86337
+ if (!opts.root && !pathIsAbsolute(path)) throw new TypeError("path must be absolute or specify root to res.sendFile");
86338
+ var pathname = encodeURI(path);
86310
86339
  opts.etag = this.app.enabled("etag");
86311
86340
  sendfile(res, send(req, pathname, opts), opts, function(err) {
86312
86341
  if (done) return done(err);
@@ -86331,7 +86360,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86331
86360
  *
86332
86361
  * @public
86333
86362
  */
86334
- res.download = function download(path$10, filename, options, callback) {
86363
+ res.download = function download(path, filename, options, callback) {
86335
86364
  var done = callback;
86336
86365
  var name = filename;
86337
86366
  var opts = options || null;
@@ -86347,7 +86376,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86347
86376
  name = null;
86348
86377
  opts = filename;
86349
86378
  }
86350
- var headers = { "Content-Disposition": contentDisposition(name || path$10) };
86379
+ var headers = { "Content-Disposition": contentDisposition(name || path) };
86351
86380
  if (opts && opts.headers) {
86352
86381
  var keys = Object.keys(opts.headers);
86353
86382
  for (var i = 0; i < keys.length; i++) {
@@ -86357,7 +86386,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86357
86386
  }
86358
86387
  opts = Object.create(opts);
86359
86388
  opts.headers = headers;
86360
- var fullPath = !opts.root ? resolve(path$10) : path$10;
86389
+ var fullPath = !opts.root ? resolve(path) : path;
86361
86390
  return this.sendFile(fullPath, opts, done);
86362
86391
  };
86363
86392
  /**
@@ -86643,7 +86672,7 @@ var require_response = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86643
86672
  }
86644
86673
  });
86645
86674
  this.status(status);
86646
- this.set("Content-Length", Buffer$3.byteLength(body));
86675
+ this.set("Content-Length", Buffer.byteLength(body));
86647
86676
  if (this.req.method === "HEAD") this.end();
86648
86677
  else this.end(body);
86649
86678
  };
@@ -86795,7 +86824,7 @@ var require_serve_static = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86795
86824
  var parseUrl = require_parseurl();
86796
86825
  var resolve = require("path").resolve;
86797
86826
  var send = require_send();
86798
- var url$1 = require("url");
86827
+ var url = require("url");
86799
86828
  /**
86800
86829
  * Module exports.
86801
86830
  * @public
@@ -86829,9 +86858,9 @@ var require_serve_static = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86829
86858
  }
86830
86859
  var forwardError = !fallthrough;
86831
86860
  var originalUrl = parseUrl.original(req);
86832
- var path$8 = parseUrl(req).pathname;
86833
- if (path$8 === "/" && originalUrl.pathname.substr(-1) !== "/") path$8 = "";
86834
- var stream = send(req, path$8, opts);
86861
+ var path = parseUrl(req).pathname;
86862
+ if (path === "/" && originalUrl.pathname.substr(-1) !== "/") path = "";
86863
+ var stream = send(req, path, opts);
86835
86864
  stream.on("directory", onDirectory);
86836
86865
  if (setHeaders) stream.on("headers", setHeaders);
86837
86866
  if (fallthrough) stream.on("file", function onFile() {
@@ -86887,7 +86916,7 @@ var require_serve_static = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86887
86916
  var originalUrl = parseUrl.original(this.req);
86888
86917
  originalUrl.path = null;
86889
86918
  originalUrl.pathname = collapseLeadingSlashes(originalUrl.pathname + "/");
86890
- var loc = encodeUrl(url$1.format(originalUrl));
86919
+ var loc = encodeUrl(url.format(originalUrl));
86891
86920
  var doc = createHtmlDocument("Redirecting", "Redirecting to " + escapeHtml(loc));
86892
86921
  res.statusCode = 301;
86893
86922
  res.setHeader("Content-Type", "text/html; charset=UTF-8");
@@ -86984,13 +87013,13 @@ var require_express$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
86984
87013
  }));
86985
87014
  //#endregion
86986
87015
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/http/express-adapter.js
86987
- var require_express_adapter = /* @__PURE__ */ __commonJSMin(((exports) => {
86988
- var __importDefault = exports && exports.__importDefault || function(mod) {
87016
+ var require_express_adapter = /* @__PURE__ */ __commonJSMin(((exports, module, this$15) => {
87017
+ var __importDefault = this$15 && this$15.__importDefault || function(mod) {
86989
87018
  return mod && mod.__esModule ? mod : { "default": mod };
86990
87019
  };
86991
87020
  Object.defineProperty(exports, "__esModule", { value: true });
86992
87021
  exports.ExpressAdapter = void 0;
86993
- const http_1$1 = __importDefault(require("http"));
87022
+ const http_1 = __importDefault(require("http"));
86994
87023
  const express_1 = __importDefault(require_express$1());
86995
87024
  const teams_common_1 = require_dist$7();
86996
87025
  /**
@@ -87015,14 +87044,14 @@ var require_express_adapter = /* @__PURE__ */ __commonJSMin(((exports) => {
87015
87044
  logger;
87016
87045
  onError;
87017
87046
  constructor(serverOrApp, options) {
87018
- if (serverOrApp instanceof http_1$1.default.Server) {
87047
+ if (serverOrApp instanceof http_1.default.Server) {
87019
87048
  this.express = (0, express_1.default)();
87020
87049
  this.server = serverOrApp;
87021
87050
  this.server.on("request", this.express);
87022
87051
  } else if (typeof serverOrApp === "function") this.express = serverOrApp;
87023
87052
  else {
87024
87053
  this.express = (0, express_1.default)();
87025
- this.server = http_1$1.default.createServer(this.express);
87054
+ this.server = http_1.default.createServer(this.express);
87026
87055
  }
87027
87056
  this.logger = options?.logger ?? new teams_common_1.ConsoleLogger("ExpressAdapter");
87028
87057
  this.onError = options?.onError;
@@ -87127,8 +87156,8 @@ var require_safe_buffer = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87127
87156
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/jws/4.0.1/0a661d0b9f80c28c4072b5266838150bbcfe5502e11e24e887e73b91e6cd5ce6/node_modules/jws/lib/data-stream.js
87128
87157
  var require_data_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87129
87158
  var Buffer = require_safe_buffer().Buffer;
87130
- var Stream$2 = require("stream");
87131
- var util$3 = require("util");
87159
+ var Stream = require("stream");
87160
+ var util = require("util");
87132
87161
  function DataStream(data) {
87133
87162
  this.buffer = null;
87134
87163
  this.writable = true;
@@ -87154,7 +87183,7 @@ var require_data_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87154
87183
  }
87155
87184
  throw new TypeError("Unexpected data type (" + typeof data + ")");
87156
87185
  }
87157
- util$3.inherits(DataStream, Stream$2);
87186
+ util.inherits(DataStream, Stream);
87158
87187
  DataStream.prototype.write = function write(data) {
87159
87188
  this.buffer = Buffer.concat([this.buffer, Buffer.from(data)]);
87160
87189
  this.emit("data", data);
@@ -87287,25 +87316,25 @@ var require_ecdsa_sig_formatter = /* @__PURE__ */ __commonJSMin(((exports, modul
87287
87316
  //#endregion
87288
87317
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/buffer-equal-constant-time/1.0.1/5df1e4f1a5e0132bb59cb4b9007b8d0979a8807313c6440b0815af117680c18e/node_modules/buffer-equal-constant-time/index.js
87289
87318
  var require_buffer_equal_constant_time = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87290
- var Buffer$2 = require("buffer").Buffer;
87319
+ var Buffer = require("buffer").Buffer;
87291
87320
  var SlowBuffer = require("buffer").SlowBuffer;
87292
87321
  module.exports = bufferEq;
87293
87322
  function bufferEq(a, b) {
87294
- if (!Buffer$2.isBuffer(a) || !Buffer$2.isBuffer(b)) return false;
87323
+ if (!Buffer.isBuffer(a) || !Buffer.isBuffer(b)) return false;
87295
87324
  if (a.length !== b.length) return false;
87296
87325
  var c = 0;
87297
87326
  for (var i = 0; i < a.length; i++) c |= a[i] ^ b[i];
87298
87327
  return c === 0;
87299
87328
  }
87300
87329
  bufferEq.install = function() {
87301
- Buffer$2.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {
87330
+ Buffer.prototype.equal = SlowBuffer.prototype.equal = function equal(that) {
87302
87331
  return bufferEq(this, that);
87303
87332
  };
87304
87333
  };
87305
- var origBufEqual = Buffer$2.prototype.equal;
87334
+ var origBufEqual = Buffer.prototype.equal;
87306
87335
  var origSlowBufEqual = SlowBuffer.prototype.equal;
87307
87336
  bufferEq.restore = function() {
87308
- Buffer$2.prototype.equal = origBufEqual;
87337
+ Buffer.prototype.equal = origBufEqual;
87309
87338
  SlowBuffer.prototype.equal = origSlowBufEqual;
87310
87339
  };
87311
87340
  }));
@@ -87313,14 +87342,14 @@ var require_buffer_equal_constant_time = /* @__PURE__ */ __commonJSMin(((exports
87313
87342
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/jwa/2.0.1/095d7d065d7f9f85d014b6505654aaa53d68a55f85a893d34426ec6d6e2c70e2/node_modules/jwa/index.js
87314
87343
  var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87315
87344
  var Buffer = require_safe_buffer().Buffer;
87316
- var crypto$3 = require("crypto");
87345
+ var crypto = require("crypto");
87317
87346
  var formatEcdsa = require_ecdsa_sig_formatter();
87318
- var util$2 = require("util");
87347
+ var util = require("util");
87319
87348
  var MSG_INVALID_ALGORITHM = "\"%s\" is not a valid algorithm.\n Supported algorithms are:\n \"HS256\", \"HS384\", \"HS512\", \"RS256\", \"RS384\", \"RS512\", \"PS256\", \"PS384\", \"PS512\", \"ES256\", \"ES384\", \"ES512\" and \"none\".";
87320
87349
  var MSG_INVALID_SECRET = "secret must be a string or buffer";
87321
87350
  var MSG_INVALID_VERIFIER_KEY = "key must be a string or a buffer";
87322
87351
  var MSG_INVALID_SIGNER_KEY = "key must be a string, a buffer or an object";
87323
- var supportsKeyObjects = typeof crypto$3.createPublicKey === "function";
87352
+ var supportsKeyObjects = typeof crypto.createPublicKey === "function";
87324
87353
  if (supportsKeyObjects) {
87325
87354
  MSG_INVALID_VERIFIER_KEY += " or a KeyObject";
87326
87355
  MSG_INVALID_SECRET += "or a KeyObject";
@@ -87359,7 +87388,7 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87359
87388
  }
87360
87389
  function typeError(template) {
87361
87390
  var args = [].slice.call(arguments, 1);
87362
- var errMsg = util$2.format.bind(util$2, template).apply(null, args);
87391
+ var errMsg = util.format.bind(util, template).apply(null, args);
87363
87392
  return new TypeError(errMsg);
87364
87393
  }
87365
87394
  function bufferOrString(obj) {
@@ -87373,14 +87402,14 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87373
87402
  return function sign(thing, secret) {
87374
87403
  checkIsSecretKey(secret);
87375
87404
  thing = normalizeInput(thing);
87376
- var hmac = crypto$3.createHmac("sha" + bits, secret);
87405
+ var hmac = crypto.createHmac("sha" + bits, secret);
87377
87406
  return fromBase64((hmac.update(thing), hmac.digest("base64")));
87378
87407
  };
87379
87408
  }
87380
87409
  var bufferEqual;
87381
- var timingSafeEqual = "timingSafeEqual" in crypto$3 ? function timingSafeEqual(a, b) {
87410
+ var timingSafeEqual = "timingSafeEqual" in crypto ? function timingSafeEqual(a, b) {
87382
87411
  if (a.byteLength !== b.byteLength) return false;
87383
- return crypto$3.timingSafeEqual(a, b);
87412
+ return crypto.timingSafeEqual(a, b);
87384
87413
  } : function timingSafeEqual(a, b) {
87385
87414
  if (!bufferEqual) bufferEqual = require_buffer_equal_constant_time();
87386
87415
  return bufferEqual(a, b);
@@ -87395,7 +87424,7 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87395
87424
  return function sign(thing, privateKey) {
87396
87425
  checkIsPrivateKey(privateKey);
87397
87426
  thing = normalizeInput(thing);
87398
- var signer = crypto$3.createSign("RSA-SHA" + bits);
87427
+ var signer = crypto.createSign("RSA-SHA" + bits);
87399
87428
  return fromBase64((signer.update(thing), signer.sign(privateKey, "base64")));
87400
87429
  };
87401
87430
  }
@@ -87404,7 +87433,7 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87404
87433
  checkIsPublicKey(publicKey);
87405
87434
  thing = normalizeInput(thing);
87406
87435
  signature = toBase64(signature);
87407
- var verifier = crypto$3.createVerify("RSA-SHA" + bits);
87436
+ var verifier = crypto.createVerify("RSA-SHA" + bits);
87408
87437
  verifier.update(thing);
87409
87438
  return verifier.verify(publicKey, signature, "base64");
87410
87439
  };
@@ -87413,11 +87442,11 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87413
87442
  return function sign(thing, privateKey) {
87414
87443
  checkIsPrivateKey(privateKey);
87415
87444
  thing = normalizeInput(thing);
87416
- var signer = crypto$3.createSign("RSA-SHA" + bits);
87445
+ var signer = crypto.createSign("RSA-SHA" + bits);
87417
87446
  return fromBase64((signer.update(thing), signer.sign({
87418
87447
  key: privateKey,
87419
- padding: crypto$3.constants.RSA_PKCS1_PSS_PADDING,
87420
- saltLength: crypto$3.constants.RSA_PSS_SALTLEN_DIGEST
87448
+ padding: crypto.constants.RSA_PKCS1_PSS_PADDING,
87449
+ saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST
87421
87450
  }, "base64")));
87422
87451
  };
87423
87452
  }
@@ -87426,12 +87455,12 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87426
87455
  checkIsPublicKey(publicKey);
87427
87456
  thing = normalizeInput(thing);
87428
87457
  signature = toBase64(signature);
87429
- var verifier = crypto$3.createVerify("RSA-SHA" + bits);
87458
+ var verifier = crypto.createVerify("RSA-SHA" + bits);
87430
87459
  verifier.update(thing);
87431
87460
  return verifier.verify({
87432
87461
  key: publicKey,
87433
- padding: crypto$3.constants.RSA_PKCS1_PSS_PADDING,
87434
- saltLength: crypto$3.constants.RSA_PSS_SALTLEN_DIGEST
87462
+ padding: crypto.constants.RSA_PKCS1_PSS_PADDING,
87463
+ saltLength: crypto.constants.RSA_PSS_SALTLEN_DIGEST
87435
87464
  }, signature, "base64");
87436
87465
  };
87437
87466
  }
@@ -87488,10 +87517,10 @@ var require_jwa = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87488
87517
  //#endregion
87489
87518
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/jws/4.0.1/0a661d0b9f80c28c4072b5266838150bbcfe5502e11e24e887e73b91e6cd5ce6/node_modules/jws/lib/tostring.js
87490
87519
  var require_tostring = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87491
- var Buffer$1 = require("buffer").Buffer;
87520
+ var Buffer = require("buffer").Buffer;
87492
87521
  module.exports = function toString(obj) {
87493
87522
  if (typeof obj === "string") return obj;
87494
- if (typeof obj === "number" || Buffer$1.isBuffer(obj)) return obj.toString();
87523
+ if (typeof obj === "number" || Buffer.isBuffer(obj)) return obj.toString();
87495
87524
  return JSON.stringify(obj);
87496
87525
  };
87497
87526
  }));
@@ -87501,9 +87530,9 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87501
87530
  var Buffer = require_safe_buffer().Buffer;
87502
87531
  var DataStream = require_data_stream();
87503
87532
  var jwa = require_jwa();
87504
- var Stream$1 = require("stream");
87533
+ var Stream = require("stream");
87505
87534
  var toString = require_tostring();
87506
- var util$1 = require("util");
87535
+ var util = require("util");
87507
87536
  function base64url(string, encoding) {
87508
87537
  return Buffer.from(string, encoding).toString("base64").replace(/=/g, "").replace(/\+/g, "-").replace(/\//g, "_");
87509
87538
  }
@@ -87511,7 +87540,7 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87511
87540
  encoding = encoding || "utf8";
87512
87541
  var encodedHeader = base64url(toString(header), "binary");
87513
87542
  var encodedPayload = base64url(toString(payload), encoding);
87514
- return util$1.format("%s.%s", encodedHeader, encodedPayload);
87543
+ return util.format("%s.%s", encodedHeader, encodedPayload);
87515
87544
  }
87516
87545
  function jwsSign(opts) {
87517
87546
  var header = opts.header;
@@ -87521,7 +87550,7 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87521
87550
  var algo = jwa(header.alg);
87522
87551
  var securedInput = jwsSecuredInput(header, payload, encoding);
87523
87552
  var signature = algo.sign(securedInput, secretOrKey);
87524
- return util$1.format("%s.%s", securedInput, signature);
87553
+ return util.format("%s.%s", securedInput, signature);
87525
87554
  }
87526
87555
  function SignStream(opts) {
87527
87556
  var secret = opts.secret;
@@ -87541,7 +87570,7 @@ var require_sign_stream = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87541
87570
  if (!this.secret.writable && this.readable) this.sign();
87542
87571
  }.bind(this));
87543
87572
  }
87544
- util$1.inherits(SignStream, Stream$1);
87573
+ util.inherits(SignStream, Stream);
87545
87574
  SignStream.prototype.sign = function sign() {
87546
87575
  try {
87547
87576
  var signature = jwsSign({
@@ -87776,14 +87805,12 @@ var require_timespan = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87776
87805
  //#endregion
87777
87806
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/semver/7.8.5/50b76942b76b1567bb275b07b36d4efd1f7bc678ee222317e6ec7ff2c047c60d/node_modules/semver/internal/constants.js
87778
87807
  var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87779
- const SEMVER_SPEC_VERSION = "2.0.0";
87780
- const MAX_LENGTH = 256;
87781
- const MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;
87782
87808
  module.exports = {
87783
- MAX_LENGTH,
87809
+ MAX_LENGTH: 256,
87784
87810
  MAX_SAFE_COMPONENT_LENGTH: 16,
87785
- MAX_SAFE_BUILD_LENGTH: MAX_LENGTH - 6,
87786
- MAX_SAFE_INTEGER,
87811
+ MAX_SAFE_BUILD_LENGTH: 250,
87812
+ MAX_SAFE_INTEGER: Number.MAX_SAFE_INTEGER ||
87813
+ /* istanbul ignore next */ 9007199254740991,
87787
87814
  RELEASE_TYPES: [
87788
87815
  "major",
87789
87816
  "premajor",
@@ -87793,7 +87820,7 @@ var require_constants = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87793
87820
  "prepatch",
87794
87821
  "prerelease"
87795
87822
  ],
87796
- SEMVER_SPEC_VERSION,
87823
+ SEMVER_SPEC_VERSION: "2.0.0",
87797
87824
  FLAG_INCLUDE_PRERELEASE: 1,
87798
87825
  FLAG_LOOSE: 2
87799
87826
  };
@@ -87931,9 +87958,10 @@ var require_semver$1 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
87931
87958
  module.exports = class SemVer {
87932
87959
  constructor(version, options) {
87933
87960
  options = parseOptions(options);
87934
- if (version instanceof SemVer) if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;
87935
- else version = version.version;
87936
- else if (typeof version !== "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
87961
+ if (version instanceof SemVer) {
87962
+ if (version.loose === !!options.loose && version.includePrerelease === !!options.includePrerelease) return version;
87963
+ else version = version.version;
87964
+ } else if (typeof version !== "string") throw new TypeError(`Invalid version. Must be a string. Got type "${typeof version}".`);
87937
87965
  if (version.length > MAX_LENGTH) throw new TypeError(`version is longer than ${MAX_LENGTH} characters`);
87938
87966
  debug("SemVer", version, options);
87939
87967
  this.options = options;
@@ -88386,9 +88414,7 @@ var require_truncate = /* @__PURE__ */ __commonJSMin(((exports, module) => {
88386
88414
  version.minor = 0;
88387
88415
  version.patch = 0;
88388
88416
  break;
88389
- case "minor":
88390
- version.patch = 0;
88391
- break;
88417
+ case "minor": version.patch = 0;
88392
88418
  }
88393
88419
  return version.format();
88394
88420
  };
@@ -88437,8 +88463,10 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
88437
88463
  module.exports = class Range {
88438
88464
  constructor(range, options) {
88439
88465
  options = parseOptions(options);
88440
- if (range instanceof Range) if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;
88441
- else return new Range(range.raw, options);
88466
+ if (range instanceof Range) {
88467
+ if (range.loose === !!options.loose && range.includePrerelease === !!options.includePrerelease) return range;
88468
+ else return new Range(range.raw, options);
88469
+ }
88442
88470
  if (range instanceof Comparator) {
88443
88471
  this.raw = range.value;
88444
88472
  this.set = [[range]];
@@ -88608,18 +88636,21 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
88608
88636
  let ret;
88609
88637
  if (isX(M)) ret = "";
88610
88638
  else if (isX(m)) ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`;
88611
- else if (isX(p)) if (M === "0") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
88612
- else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
88613
- else if (pr) {
88639
+ else if (isX(p)) {
88640
+ if (M === "0") ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`;
88641
+ else ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`;
88642
+ } else if (pr) {
88614
88643
  debug("replaceCaret pr", pr);
88615
- if (M === "0") if (m === "0") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
88616
- else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
88617
- else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
88644
+ if (M === "0") {
88645
+ if (m === "0") ret = `>=${M}.${m}.${p}-${pr} <${M}.${m}.${+p + 1}-0`;
88646
+ else ret = `>=${M}.${m}.${p}-${pr} <${M}.${+m + 1}.0-0`;
88647
+ } else ret = `>=${M}.${m}.${p}-${pr} <${+M + 1}.0.0-0`;
88618
88648
  } else {
88619
88649
  debug("no pr");
88620
- if (M === "0") if (m === "0") ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
88621
- else ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
88622
- else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
88650
+ if (M === "0") {
88651
+ if (m === "0") ret = `>=${M}.${m}.${p} <${M}.${m}.${+p + 1}-0`;
88652
+ else ret = `>=${M}.${m}.${p} <${M}.${+m + 1}.0-0`;
88653
+ } else ret = `>=${M}.${m}.${p} <${+M + 1}.0.0-0`;
88623
88654
  }
88624
88655
  debug("caret return", ret);
88625
88656
  return ret;
@@ -88641,9 +88672,10 @@ var require_range = /* @__PURE__ */ __commonJSMin(((exports, module) => {
88641
88672
  const anyX = xp;
88642
88673
  if (gtlt === "=" && anyX) gtlt = "";
88643
88674
  pr = options.includePrerelease ? "-0" : "";
88644
- if (xM) if (gtlt === ">" || gtlt === "<") ret = "<0.0.0-0";
88645
- else ret = "*";
88646
- else if (gtlt && anyX) {
88675
+ if (xM) {
88676
+ if (gtlt === ">" || gtlt === "<") ret = "<0.0.0-0";
88677
+ else ret = "*";
88678
+ } else if (gtlt && anyX) {
88647
88679
  if (xm) m = 0;
88648
88680
  p = 0;
88649
88681
  if (gtlt === ">") {
@@ -88717,8 +88749,10 @@ var require_comparator = /* @__PURE__ */ __commonJSMin(((exports, module) => {
88717
88749
  }
88718
88750
  constructor(comp, options) {
88719
88751
  options = parseOptions(options);
88720
- if (comp instanceof Comparator) if (comp.loose === !!options.loose) return comp;
88721
- else comp = comp.value;
88752
+ if (comp instanceof Comparator) {
88753
+ if (comp.loose === !!options.loose) return comp;
88754
+ else comp = comp.value;
88755
+ }
88722
88756
  comp = comp.trim().split(/\s+/).join(" ");
88723
88757
  debug("comparator", comp, options);
88724
88758
  this.options = options;
@@ -89038,11 +89072,15 @@ var require_subset = /* @__PURE__ */ __commonJSMin(((exports, module) => {
89038
89072
  const minimumVersion = [new Comparator(">=0.0.0")];
89039
89073
  const simpleSubset = (sub, dom, options) => {
89040
89074
  if (sub === dom) return true;
89041
- if (sub.length === 1 && sub[0].semver === ANY) if (dom.length === 1 && dom[0].semver === ANY) return true;
89042
- else if (options.includePrerelease) sub = minimumVersionWithPreRelease;
89043
- else sub = minimumVersion;
89044
- if (dom.length === 1 && dom[0].semver === ANY) if (options.includePrerelease) return true;
89045
- else dom = minimumVersion;
89075
+ if (sub.length === 1 && sub[0].semver === ANY) {
89076
+ if (dom.length === 1 && dom[0].semver === ANY) return true;
89077
+ else if (options.includePrerelease) sub = minimumVersionWithPreRelease;
89078
+ else sub = minimumVersion;
89079
+ }
89080
+ if (dom.length === 1 && dom[0].semver === ANY) {
89081
+ if (options.includePrerelease) return true;
89082
+ else dom = minimumVersion;
89083
+ }
89046
89084
  const eqSet = /* @__PURE__ */ new Set();
89047
89085
  let gt, lt;
89048
89086
  for (const c of sub) if (c.operator === ">" || c.operator === ">=") gt = higherGT(gt, c, options);
@@ -89216,14 +89254,12 @@ var require_validateAsymmetricKey = /* @__PURE__ */ __commonJSMin(((exports, mod
89216
89254
  const allowedCurve = allowedCurves[algorithm];
89217
89255
  if (keyCurve !== allowedCurve) throw new Error(`"alg" parameter "${algorithm}" requires curve "${allowedCurve}".`);
89218
89256
  break;
89219
- case "rsa-pss":
89220
- if (RSA_PSS_KEY_DETAILS_SUPPORTED) {
89221
- const length = parseInt(algorithm.slice(-3), 10);
89222
- const { hashAlgorithm, mgf1HashAlgorithm, saltLength } = key.asymmetricKeyDetails;
89223
- if (hashAlgorithm !== `sha${length}` || mgf1HashAlgorithm !== hashAlgorithm) throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${algorithm}.`);
89224
- if (saltLength !== void 0 && saltLength > length >> 3) throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${algorithm}.`);
89225
- }
89226
- break;
89257
+ case "rsa-pss": if (RSA_PSS_KEY_DETAILS_SUPPORTED) {
89258
+ const length = parseInt(algorithm.slice(-3), 10);
89259
+ const { hashAlgorithm, mgf1HashAlgorithm, saltLength } = key.asymmetricKeyDetails;
89260
+ if (hashAlgorithm !== `sha${length}` || mgf1HashAlgorithm !== hashAlgorithm) throw new Error(`Invalid key for this operation, its RSA-PSS parameters do not meet the requirements of "alg" ${algorithm}.`);
89261
+ if (saltLength !== void 0 && saltLength > length >> 3) throw new Error(`Invalid key for this operation, its RSA-PSS parameter saltLength does not meet the requirements of "alg" ${algorithm}.`);
89262
+ }
89227
89263
  }
89228
89264
  };
89229
89265
  }));
@@ -89243,7 +89279,7 @@ var require_verify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
89243
89279
  const validateAsymmetricKey = require_validateAsymmetricKey();
89244
89280
  const PS_SUPPORTED = require_psSupported();
89245
89281
  const jws = require_jws();
89246
- const { KeyObject: KeyObject$1, createSecretKey: createSecretKey$1, createPublicKey } = require("crypto");
89282
+ const { KeyObject, createSecretKey, createPublicKey } = require("crypto");
89247
89283
  const PUB_KEY_ALGS = [
89248
89284
  "RS256",
89249
89285
  "RS384",
@@ -89310,19 +89346,21 @@ var require_verify = /* @__PURE__ */ __commonJSMin(((exports, module) => {
89310
89346
  if (!hasSignature && secretOrPublicKey) return done(new JsonWebTokenError("jwt signature is required"));
89311
89347
  if (hasSignature && !secretOrPublicKey) return done(new JsonWebTokenError("secret or public key must be provided"));
89312
89348
  if (!hasSignature && !options.algorithms) return done(new JsonWebTokenError("please specify \"none\" in \"algorithms\" to verify unsigned tokens"));
89313
- if (secretOrPublicKey != null && !(secretOrPublicKey instanceof KeyObject$1)) try {
89349
+ if (secretOrPublicKey != null && !(secretOrPublicKey instanceof KeyObject)) try {
89314
89350
  secretOrPublicKey = createPublicKey(secretOrPublicKey);
89315
89351
  } catch (_) {
89316
89352
  try {
89317
- secretOrPublicKey = createSecretKey$1(typeof secretOrPublicKey === "string" ? Buffer.from(secretOrPublicKey) : secretOrPublicKey);
89353
+ secretOrPublicKey = createSecretKey(typeof secretOrPublicKey === "string" ? Buffer.from(secretOrPublicKey) : secretOrPublicKey);
89318
89354
  } catch (_) {
89319
89355
  return done(new JsonWebTokenError("secretOrPublicKey is not valid key material"));
89320
89356
  }
89321
89357
  }
89322
- if (!options.algorithms) if (secretOrPublicKey.type === "secret") options.algorithms = HS_ALGS;
89323
- else if (["rsa", "rsa-pss"].includes(secretOrPublicKey.asymmetricKeyType)) options.algorithms = RSA_KEY_ALGS;
89324
- else if (secretOrPublicKey.asymmetricKeyType === "ec") options.algorithms = EC_KEY_ALGS;
89325
- else options.algorithms = PUB_KEY_ALGS;
89358
+ if (!options.algorithms) {
89359
+ if (secretOrPublicKey.type === "secret") options.algorithms = HS_ALGS;
89360
+ else if (["rsa", "rsa-pss"].includes(secretOrPublicKey.asymmetricKeyType)) options.algorithms = RSA_KEY_ALGS;
89361
+ else if (secretOrPublicKey.asymmetricKeyType === "ec") options.algorithms = EC_KEY_ALGS;
89362
+ else options.algorithms = PUB_KEY_ALGS;
89363
+ }
89326
89364
  if (options.algorithms.indexOf(decodedToken.header.alg) === -1) return done(new JsonWebTokenError("invalid algorithm"));
89327
89365
  if (header.alg.startsWith("HS") && secretOrPublicKey.type !== "secret") return done(new JsonWebTokenError(`secretOrPublicKey must be a symmetric key when using ${header.alg}`));
89328
89366
  else if (/^(?:RS|PS|ES)/.test(header.alg) && secretOrPublicKey.type !== "public") return done(new JsonWebTokenError(`secretOrPublicKey must be an asymmetric key when using ${header.alg}`));
@@ -89397,7 +89435,7 @@ var require_lodash_includes = /* @__PURE__ */ __commonJSMin(((exports, module) =
89397
89435
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
89398
89436
  */
89399
89437
  /** Used as references for various `Number` constants. */
89400
- var INFINITY = Infinity;
89438
+ var INFINITY = 1 / 0;
89401
89439
  var MAX_SAFE_INTEGER = 9007199254740991;
89402
89440
  var MAX_INTEGER = 17976931348623157e292;
89403
89441
  var NAN = NaN;
@@ -90097,7 +90135,7 @@ var require_lodash_isinteger = /* @__PURE__ */ __commonJSMin(((exports, module)
90097
90135
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
90098
90136
  */
90099
90137
  /** Used as references for various `Number` constants. */
90100
- var INFINITY = Infinity;
90138
+ var INFINITY = 1 / 0;
90101
90139
  var MAX_INTEGER = 17976931348623157e292;
90102
90140
  var NAN = NaN;
90103
90141
  /** `Object#toString` result references. */
@@ -90617,7 +90655,7 @@ var require_lodash_once = /* @__PURE__ */ __commonJSMin(((exports, module) => {
90617
90655
  /** Used as the `TypeError` message for "Functions" methods. */
90618
90656
  var FUNC_ERROR_TEXT = "Expected a function";
90619
90657
  /** Used as references for various `Number` constants. */
90620
- var INFINITY = Infinity;
90658
+ var INFINITY = 1 / 0;
90621
90659
  var MAX_INTEGER = 17976931348623157e292;
90622
90660
  var NAN = NaN;
90623
90661
  /** `Object#toString` result references. */
@@ -91876,7 +91914,7 @@ function assertNoEncryptedKey(encryptedKey) {
91876
91914
  if (encryptedKey !== void 0) throw new JWEInvalid("Encountered unexpected JWE Encrypted Key");
91877
91915
  }
91878
91916
  function validateMaxPBES2Count(value) {
91879
- if (value !== void 0 && value !== Infinity && (!Number.isSafeInteger(value) || value < 1)) throw new TypeError("maxPBES2Count must be a positive safe integer or Infinity");
91917
+ if (value !== void 0 && value !== 1 / 0 && (!Number.isSafeInteger(value) || value < 1)) throw new TypeError("maxPBES2Count must be a positive safe integer or Infinity");
91880
91918
  }
91881
91919
  async function decryptKeyManagement(entry, enc, key, encryptedKey, joseHeader, maxPBES2Count) {
91882
91920
  const { alg } = entry, mode = entry.mode;
@@ -92011,7 +92049,7 @@ function validateZip(joseHeader, protectedHeader) {
92011
92049
  function supported(name) {
92012
92050
  if (typeof globalThis[name] > "u") throw new JOSENotSupported(`JWE "zip" (Compression Algorithm) Header Parameter requires the ${name} API.`);
92013
92051
  }
92014
- async function transform(stream, input, maxLength = Infinity) {
92052
+ async function transform(stream, input, maxLength = 1 / 0) {
92015
92053
  const writer = stream.writable.getWriter();
92016
92054
  writer.write(input).catch(() => {}), writer.close().catch(() => {});
92017
92055
  const chunks = [];
@@ -92020,7 +92058,7 @@ async function transform(stream, input, maxLength = Infinity) {
92020
92058
  for (;;) {
92021
92059
  const { value, done } = await reader.read();
92022
92060
  if (done) break;
92023
- if (chunks.push(value), length += value.byteLength, maxLength !== Infinity && length > maxLength) throw new JWEInvalid("Decompressed plaintext exceeded the configured limit");
92061
+ if (chunks.push(value), length += value.byteLength, maxLength !== 1 / 0 && length > maxLength) throw new JWEInvalid("Decompressed plaintext exceeded the configured limit");
92024
92062
  }
92025
92063
  return concat(...chunks);
92026
92064
  }
@@ -92158,7 +92196,7 @@ async function decryptJWE(jwe, shared, key, token = shareJWE(jwe)) {
92158
92196
  if (joseHeader.zip === "DEF") {
92159
92197
  const decompressionLimit = maxDecompressedLength ?? 25e4;
92160
92198
  if (decompressionLimit === 0) throw new JOSENotSupported("JWE \"zip\" (Compression Algorithm) Header Parameter is not supported.");
92161
- if (decompressionLimit !== Infinity && (!Number.isSafeInteger(decompressionLimit) || decompressionLimit < 1)) throw new TypeError("maxDecompressedLength must be 0, a positive safe integer, or Infinity");
92199
+ if (decompressionLimit !== 1 / 0 && (!Number.isSafeInteger(decompressionLimit) || decompressionLimit < 1)) throw new TypeError("maxDecompressedLength must be 0, a positive safe integer, or Infinity");
92162
92200
  plaintext = await decompress(plaintext, decompressionLimit).catch((cause) => {
92163
92201
  throw cause instanceof JWEInvalid ? cause : new JWEInvalid("Failed to decompress plaintext", { cause });
92164
92202
  });
@@ -93971,8 +94009,8 @@ var require_ArgumentError = /* @__PURE__ */ __commonJSMin(((exports, module) =>
93971
94009
  //#endregion
93972
94010
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/jwks-rsa/4.1.0/bb83254515dc3a9a46440b437bb15d3e368303eb27a3ac6d211fa8ed4faa0d75/node_modules/jwks-rsa/src/wrappers/request.js
93973
94011
  var require_request = /* @__PURE__ */ __commonJSMin(((exports, module) => {
93974
- const http$1 = require("http");
93975
- const https$1 = require("https");
94012
+ const http = require("http");
94013
+ const https = require("https");
93976
94014
  const ArgumentError = require_ArgumentError();
93977
94015
  module.exports.default = (options) => {
93978
94016
  if (options.fetcher) return options.fetcher(options.uri);
@@ -93993,7 +94031,7 @@ var require_request = /* @__PURE__ */ __commonJSMin(((exports, module) => {
93993
94031
  ...options.timeout && { timeout: options.timeout },
93994
94032
  ...options.agent && { agent: options.agent }
93995
94033
  };
93996
- const httpRequest = (protocol === "https:" ? https$1 : http$1).request(requestOptions, (res) => {
94034
+ const httpRequest = (protocol === "https:" ? https : http).request(requestOptions, (res) => {
93997
94035
  let rawData = "";
93998
94036
  res.setEncoding("utf8");
93999
94037
  res.on("data", (chunk) => {
@@ -94198,7 +94236,7 @@ var require_index_min = /* @__PURE__ */ __commonJSMin(((exports) => {
94198
94236
  }
94199
94237
  }
94200
94238
  getRemainingTTL(t) {
94201
- return this.#s.has(t) ? Infinity : 0;
94239
+ return this.#s.has(t) ? 1 / 0 : 0;
94202
94240
  }
94203
94241
  #k() {
94204
94242
  let t = new W(this.#o), e = new W(this.#o);
@@ -94240,7 +94278,7 @@ var require_index_min = /* @__PURE__ */ __commonJSMin(((exports) => {
94240
94278
  };
94241
94279
  let l = (h) => {
94242
94280
  let r = t[h], c = e[h];
94243
- if (!r || !c) return Infinity;
94281
+ if (!r || !c) return 1 / 0;
94244
94282
  return r - ((n || o()) - c);
94245
94283
  };
94246
94284
  this.#p = (h) => {
@@ -94682,16 +94720,6 @@ var require_index_min = /* @__PURE__ */ __commonJSMin(((exports) => {
94682
94720
  //#endregion
94683
94721
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/lodash.clonedeep/4.5.0/78a01dc7c32d5fe6d7cd169a556d54e84209878c914bdf06758b297581e6a191/node_modules/lodash.clonedeep/index.js
94684
94722
  var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module) => {
94685
- /**
94686
- * lodash (Custom Build) <https://lodash.com/>
94687
- * Build: `lodash modularize exports="npm" -o ./`
94688
- * Copyright jQuery Foundation and other contributors <https://jquery.org/>
94689
- * Released under MIT license <https://lodash.com/license>
94690
- * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
94691
- * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
94692
- */
94693
- /** Used as the size to enable large array optimizations. */
94694
- var LARGE_ARRAY_SIZE = 200;
94695
94723
  /** Used to stand-in for `undefined` hash values. */
94696
94724
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
94697
94725
  /** Used as references for various `Number` constants. */
@@ -95278,7 +95306,7 @@ var require_lodash_clonedeep = /* @__PURE__ */ __commonJSMin(((exports, module)
95278
95306
  var cache = this.__data__;
95279
95307
  if (cache instanceof ListCache) {
95280
95308
  var pairs = cache.__data__;
95281
- if (!Map || pairs.length < LARGE_ARRAY_SIZE - 1) {
95309
+ if (!Map || pairs.length < 199) {
95282
95310
  pairs.push([key, value]);
95283
95311
  return this;
95284
95312
  }
@@ -96150,14 +96178,14 @@ var require_freeze = /* @__PURE__ */ __commonJSMin(((exports) => {
96150
96178
  }));
96151
96179
  //#endregion
96152
96180
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/lru-memoizer/3.0.0/fce5d6f046692d2a243f1bf3ff744fa33e45323db88955306b427b4dc4317cc2/node_modules/lru-memoizer/lib/sync.js
96153
- var require_sync = /* @__PURE__ */ __commonJSMin(((exports) => {
96154
- var __importDefault = exports && exports.__importDefault || function(mod) {
96181
+ var require_sync = /* @__PURE__ */ __commonJSMin(((exports, module, this$14) => {
96182
+ var __importDefault = this$14 && this$14.__importDefault || function(mod) {
96155
96183
  return mod && mod.__esModule ? mod : { "default": mod };
96156
96184
  };
96157
96185
  Object.defineProperty(exports, "__esModule", { value: true });
96158
96186
  exports.syncMemoizer = void 0;
96159
96187
  const lru_cache_1 = require_index_min();
96160
- const events_1$1 = require("events");
96188
+ const events_1 = require("events");
96161
96189
  const lodash_clonedeep_1 = __importDefault(require_lodash_clonedeep());
96162
96190
  const freeze_1 = require_freeze();
96163
96191
  function syncMemoizer(options) {
@@ -96168,7 +96196,7 @@ var require_sync = /* @__PURE__ */ __commonJSMin(((exports) => {
96168
96196
  const itemTTL = options.itemTTL;
96169
96197
  const freeze = options.freeze;
96170
96198
  const clone = options.clone;
96171
- const emitter = new events_1$1.EventEmitter();
96199
+ const emitter = new events_1.EventEmitter();
96172
96200
  const defaultResult = Object.assign({
96173
96201
  del,
96174
96202
  reset: () => cache.clear(),
@@ -96189,10 +96217,14 @@ var require_sync = /* @__PURE__ */ __commonJSMin(((exports) => {
96189
96217
  }
96190
96218
  function processResult(result) {
96191
96219
  let res = result;
96192
- if (clone) if (isPromise(res)) res = res.then(lodash_clonedeep_1.default);
96193
- else res = (0, lodash_clonedeep_1.default)(res);
96194
- if (freeze) if (isPromise(res)) res = res.then(freeze_1.deepFreeze);
96195
- else (0, freeze_1.deepFreeze)(res);
96220
+ if (clone) {
96221
+ if (isPromise(res)) res = res.then(lodash_clonedeep_1.default);
96222
+ else res = (0, lodash_clonedeep_1.default)(res);
96223
+ }
96224
+ if (freeze) {
96225
+ if (isPromise(res)) res = res.then(freeze_1.deepFreeze);
96226
+ else (0, freeze_1.deepFreeze)(res);
96227
+ }
96196
96228
  return res;
96197
96229
  }
96198
96230
  const result = function(...args) {
@@ -96218,8 +96250,8 @@ var require_sync = /* @__PURE__ */ __commonJSMin(((exports) => {
96218
96250
  }));
96219
96251
  //#endregion
96220
96252
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@/lru-memoizer/3.0.0/fce5d6f046692d2a243f1bf3ff744fa33e45323db88955306b427b4dc4317cc2/node_modules/lru-memoizer/lib/async.js
96221
- var require_async = /* @__PURE__ */ __commonJSMin(((exports) => {
96222
- var __importDefault = exports && exports.__importDefault || function(mod) {
96253
+ var require_async = /* @__PURE__ */ __commonJSMin(((exports, module, this$13) => {
96254
+ var __importDefault = this$13 && this$13.__importDefault || function(mod) {
96223
96255
  return mod && mod.__esModule ? mod : { "default": mod };
96224
96256
  };
96225
96257
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -96316,7 +96348,7 @@ var require_cache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
96316
96348
  const logger = require_src$2()("jwks");
96317
96349
  const memoizer = require_lib$1();
96318
96350
  const { LRUCache } = require_index_min();
96319
- const { promisify, callbackify: callbackify$1 } = require("util");
96351
+ const { promisify, callbackify } = require("util");
96320
96352
  function cacheWrapper(client, { cacheMaxEntries = 5, cacheMaxAge = 6e5, cacheMaxAgeFallback, onStaleCacheFallback }) {
96321
96353
  logger(`Configured caching of signing keys. Max: ${cacheMaxEntries} / Age: ${cacheMaxAge}${cacheMaxAgeFallback ? ` / Fallback: ${cacheMaxAgeFallback}` : ""}`);
96322
96354
  /**
@@ -96333,7 +96365,7 @@ var require_cache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
96333
96365
  if (cacheMaxAgeFallback) {
96334
96366
  const staleCache = new LRUCache({ max: cacheMaxEntries });
96335
96367
  const getSigningKey = client.getSigningKey.bind(client);
96336
- load = callbackify$1(async (kid) => {
96368
+ load = callbackify(async (kid) => {
96337
96369
  try {
96338
96370
  const key = await getSigningKey(kid);
96339
96371
  staleCache.set(kid, {
@@ -96354,7 +96386,7 @@ var require_cache = /* @__PURE__ */ __commonJSMin(((exports, module) => {
96354
96386
  throw err;
96355
96387
  }
96356
96388
  });
96357
- } else load = callbackify$1(client.getSigningKey.bind(client));
96389
+ } else load = callbackify(client.getSigningKey.bind(client));
96358
96390
  return promisify(memoizer({
96359
96391
  hash: (kid) => kid,
96360
96392
  load,
@@ -96391,14 +96423,14 @@ var require_tokenBucket = /* @__PURE__ */ __commonJSMin(((exports, module) => {
96391
96423
  break;
96392
96424
  case "min":
96393
96425
  case "minute":
96394
- this.interval = 1e3 * 60;
96426
+ this.interval = 6e4;
96395
96427
  break;
96396
96428
  case "hr":
96397
96429
  case "hour":
96398
- this.interval = 1e3 * 60 * 60;
96430
+ this.interval = 36e5;
96399
96431
  break;
96400
96432
  case "day":
96401
- this.interval = 1e3 * 60 * 60 * 24;
96433
+ this.interval = 864e5;
96402
96434
  break;
96403
96435
  default: throw new Error("Invaid interval " + interval);
96404
96436
  }
@@ -96968,8 +97000,8 @@ var require_src = /* @__PURE__ */ __commonJSMin(((exports, module) => {
96968
97000
  }));
96969
97001
  //#endregion
96970
97002
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/middleware/auth/jwt-validator.js
96971
- var require_jwt_validator = /* @__PURE__ */ __commonJSMin(((exports) => {
96972
- var __importDefault = exports && exports.__importDefault || function(mod) {
97003
+ var require_jwt_validator = /* @__PURE__ */ __commonJSMin(((exports, module, this$12) => {
97004
+ var __importDefault = this$12 && this$12.__importDefault || function(mod) {
96973
97005
  return mod && mod.__esModule ? mod : { "default": mod };
96974
97006
  };
96975
97007
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -97566,8 +97598,8 @@ var require_with_remote_function_jwt_validation = /* @__PURE__ */ __commonJSMin(
97566
97598
  }));
97567
97599
  //#endregion
97568
97600
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/middleware/index.js
97569
- var require_middleware = /* @__PURE__ */ __commonJSMin(((exports) => {
97570
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
97601
+ var require_middleware = /* @__PURE__ */ __commonJSMin(((exports, module, this$11) => {
97602
+ var __createBinding = this$11 && this$11.__createBinding || (Object.create ? (function(o, m, k, k2) {
97571
97603
  if (k2 === void 0) k2 = k;
97572
97604
  var desc = Object.getOwnPropertyDescriptor(m, k);
97573
97605
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -97581,8 +97613,8 @@ var require_middleware = /* @__PURE__ */ __commonJSMin(((exports) => {
97581
97613
  if (k2 === void 0) k2 = k;
97582
97614
  o[k2] = m[k];
97583
97615
  }));
97584
- var __exportStar = exports && exports.__exportStar || function(m, exports$9) {
97585
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$9, p)) __createBinding(exports$9, m, p);
97616
+ var __exportStar = this$11 && this$11.__exportStar || function(m, exports) {
97617
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
97586
97618
  };
97587
97619
  Object.defineProperty(exports, "__esModule", { value: true });
97588
97620
  exports.RemoteFunctionValidator = exports.JwtValidator = exports.createEntraTokenValidator = exports.InboundActivityTokenValidator = void 0;
@@ -97950,8 +97982,8 @@ var require_widget_calltool = /* @__PURE__ */ __commonJSMin(((exports) => {
97950
97982
  }));
97951
97983
  //#endregion
97952
97984
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/routes/invoke/index.js
97953
- var require_invoke = /* @__PURE__ */ __commonJSMin(((exports) => {
97954
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
97985
+ var require_invoke = /* @__PURE__ */ __commonJSMin(((exports, module, this$10) => {
97986
+ var __createBinding = this$10 && this$10.__createBinding || (Object.create ? (function(o, m, k, k2) {
97955
97987
  if (k2 === void 0) k2 = k;
97956
97988
  var desc = Object.getOwnPropertyDescriptor(m, k);
97957
97989
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -97965,8 +97997,8 @@ var require_invoke = /* @__PURE__ */ __commonJSMin(((exports) => {
97965
97997
  if (k2 === void 0) k2 = k;
97966
97998
  o[k2] = m[k];
97967
97999
  }));
97968
- var __exportStar = exports && exports.__exportStar || function(m, exports$8) {
97969
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$8, p)) __createBinding(exports$8, m, p);
98000
+ var __exportStar = this$10 && this$10.__exportStar || function(m, exports) {
98001
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
97970
98002
  };
97971
98003
  Object.defineProperty(exports, "__esModule", { value: true });
97972
98004
  exports.INVOKE_ALIASES = void 0;
@@ -98019,8 +98051,8 @@ var require_message_update = /* @__PURE__ */ __commonJSMin(((exports) => {
98019
98051
  }));
98020
98052
  //#endregion
98021
98053
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/routes/index.js
98022
- var require_routes = /* @__PURE__ */ __commonJSMin(((exports) => {
98023
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
98054
+ var require_routes = /* @__PURE__ */ __commonJSMin(((exports, module, this$9) => {
98055
+ var __createBinding = this$9 && this$9.__createBinding || (Object.create ? (function(o, m, k, k2) {
98024
98056
  if (k2 === void 0) k2 = k;
98025
98057
  var desc = Object.getOwnPropertyDescriptor(m, k);
98026
98058
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -98034,8 +98066,8 @@ var require_routes = /* @__PURE__ */ __commonJSMin(((exports) => {
98034
98066
  if (k2 === void 0) k2 = k;
98035
98067
  o[k2] = m[k];
98036
98068
  }));
98037
- var __exportStar = exports && exports.__exportStar || function(m, exports$7) {
98038
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$7, p)) __createBinding(exports$7, m, p);
98069
+ var __exportStar = this$9 && this$9.__exportStar || function(m, exports) {
98070
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
98039
98071
  };
98040
98072
  Object.defineProperty(exports, "__esModule", { value: true });
98041
98073
  __exportStar(require_activity(), exports);
@@ -98134,8 +98166,8 @@ var require_router$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
98134
98166
  }));
98135
98167
  //#endregion
98136
98168
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/router/index.js
98137
- var require_router = /* @__PURE__ */ __commonJSMin(((exports) => {
98138
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
98169
+ var require_router = /* @__PURE__ */ __commonJSMin(((exports, module, this$8) => {
98170
+ var __createBinding = this$8 && this$8.__createBinding || (Object.create ? (function(o, m, k, k2) {
98139
98171
  if (k2 === void 0) k2 = k;
98140
98172
  var desc = Object.getOwnPropertyDescriptor(m, k);
98141
98173
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -98149,8 +98181,8 @@ var require_router = /* @__PURE__ */ __commonJSMin(((exports) => {
98149
98181
  if (k2 === void 0) k2 = k;
98150
98182
  o[k2] = m[k];
98151
98183
  }));
98152
- var __exportStar = exports && exports.__exportStar || function(m, exports$6) {
98153
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$6, p)) __createBinding(exports$6, m, p);
98184
+ var __exportStar = this$8 && this$8.__exportStar || function(m, exports) {
98185
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
98154
98186
  };
98155
98187
  Object.defineProperty(exports, "__esModule", { value: true });
98156
98188
  __exportStar(require_router$1(), exports);
@@ -98537,11 +98569,11 @@ var require_state = /* @__PURE__ */ __commonJSMin(((exports) => {
98537
98569
  /*! @azure/msal-node v5.6.0 2026-08-18 */
98538
98570
  var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
98539
98571
  var node_crypto = require("crypto");
98540
- var crypto$2 = require("crypto");
98572
+ var crypto = require("crypto");
98541
98573
  var jwt = require_jsonwebtoken();
98542
98574
  var http = require("http");
98543
98575
  var fs = require("fs");
98544
- var path$1 = require("path");
98576
+ var path = require("path");
98545
98577
  /**
98546
98578
  * This class serializes cache entities to be saved into in-memory object types defined internally
98547
98579
  * @internal
@@ -98890,7 +98922,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
98890
98922
  const CLIENT_INFO = "client_info";
98891
98923
  const THE_FAMILY_ID = "1";
98892
98924
  const AUTHORITY_METADATA_CACHE_KEY = "authority-metadata";
98893
- const AUTHORITY_METADATA_REFRESH_TIME_SECONDS = 3600 * 24;
98925
+ const AUTHORITY_METADATA_REFRESH_TIME_SECONDS = 86400;
98894
98926
  const AuthorityMetadataSource = {
98895
98927
  CONFIG: "config",
98896
98928
  CACHE: "cache",
@@ -103614,9 +103646,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
103614
103646
  logger.verbose(`Could not parse home account ID for CCS Header: '${e}'`, "");
103615
103647
  }
103616
103648
  break;
103617
- case CcsCredentialType.UPN:
103618
- headers[HeaderNames.CCS_HEADER] = `UPN: ${ccsCred.credential}`;
103619
- break;
103649
+ case CcsCredentialType.UPN: headers[HeaderNames.CCS_HEADER] = `UPN: ${ccsCred.credential}`;
103620
103650
  }
103621
103651
  return headers;
103622
103652
  }
@@ -103793,8 +103823,10 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
103793
103823
  if (!request.popKid) reqCnfData = (await invokeAsync(popTokenGenerator.generateCnf.bind(popTokenGenerator), PopTokenGenerateCnf, this.logger, this.performanceClient, request.correlationId)(request, this.logger)).reqCnfString;
103794
103824
  else reqCnfData = this.cryptoUtils.encodeKid(request.popKid);
103795
103825
  addPopToken(parameters, reqCnfData);
103796
- } else if (request.authenticationScheme === AuthenticationScheme.SSH) if (request.sshJwk) addSshJwk(parameters, request.sshJwk);
103797
- else throw createClientConfigurationError(missingSshJwk, request.correlationId);
103826
+ } else if (request.authenticationScheme === AuthenticationScheme.SSH) {
103827
+ if (request.sshJwk) addSshJwk(parameters, request.sshJwk);
103828
+ else throw createClientConfigurationError(missingSshJwk, request.correlationId);
103829
+ }
103798
103830
  let ccsCred = void 0;
103799
103831
  if (request.clientInfo) try {
103800
103832
  const clientInfo = buildClientInfo(request.clientInfo, this.cryptoUtils.base64Decode);
@@ -103814,9 +103846,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
103814
103846
  this.logger.verbose(`Could not parse home account ID for CCS Header: '${e}'`, request.correlationId);
103815
103847
  }
103816
103848
  break;
103817
- case CcsCredentialType.UPN:
103818
- addCcsUpn(parameters, ccsCred.credential);
103819
- break;
103849
+ case CcsCredentialType.UPN: addCcsUpn(parameters, ccsCred.credential);
103820
103850
  }
103821
103851
  if (request.embeddedClientId) addBrokerParameters(parameters, this.config.authOptions.clientId, this.config.authOptions.redirectUri);
103822
103852
  if (request.extraParameters) addExtraParameters(parameters, request.extraParameters);
@@ -104069,8 +104099,10 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
104069
104099
  if (!request.popKid) reqCnfData = (await invokeAsync(popTokenGenerator.generateCnf.bind(popTokenGenerator), PopTokenGenerateCnf, this.logger, this.performanceClient, request.correlationId)(request, this.logger)).reqCnfString;
104070
104100
  else reqCnfData = this.cryptoUtils.encodeKid(request.popKid);
104071
104101
  addPopToken(parameters, reqCnfData);
104072
- } else if (request.authenticationScheme === AuthenticationScheme.SSH) if (request.sshJwk) addSshJwk(parameters, request.sshJwk);
104073
- else throw createClientConfigurationError(missingSshJwk, request.correlationId);
104102
+ } else if (request.authenticationScheme === AuthenticationScheme.SSH) {
104103
+ if (request.sshJwk) addSshJwk(parameters, request.sshJwk);
104104
+ else throw createClientConfigurationError(missingSshJwk, request.correlationId);
104105
+ }
104074
104106
  if (this.config.systemOptions.preventCorsPreflight && request.ccsCredential) switch (request.ccsCredential.type) {
104075
104107
  case CcsCredentialType.HOME_ACCOUNT_ID:
104076
104108
  try {
@@ -104079,9 +104111,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
104079
104111
  this.logger.verbose(`Could not parse home account ID for CCS Header: '${e}'`, request.correlationId);
104080
104112
  }
104081
104113
  break;
104082
- case CcsCredentialType.UPN:
104083
- addCcsUpn(parameters, request.ccsCredential.credential);
104084
- break;
104114
+ case CcsCredentialType.UPN: addCcsUpn(parameters, request.ccsCredential.credential);
104085
104115
  }
104086
104116
  if (request.embeddedClientId) addBrokerParameters(parameters, this.config.authOptions.clientId, this.config.authOptions.redirectUri);
104087
104117
  if (request.extraParameters) addExtraParameters(parameters, { ...request.extraParameters });
@@ -104174,11 +104204,13 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
104174
104204
  lastRequests.errors.shift();
104175
104205
  }
104176
104206
  lastRequests.failedRequests.push(this.apiId, this.correlationId);
104177
- if (error instanceof Error && !!error && error.toString()) if (error instanceof AuthError) if (error.subError) lastRequests.errors.push(error.subError);
104178
- else if (error.errorCode) lastRequests.errors.push(error.errorCode);
104179
- else lastRequests.errors.push(error.toString());
104180
- else lastRequests.errors.push(error.toString());
104181
- else lastRequests.errors.push(SERVER_TELEM_UNKNOWN_ERROR);
104207
+ if (error instanceof Error && !!error && error.toString()) {
104208
+ if (error instanceof AuthError) {
104209
+ if (error.subError) lastRequests.errors.push(error.subError);
104210
+ else if (error.errorCode) lastRequests.errors.push(error.errorCode);
104211
+ else lastRequests.errors.push(error.toString());
104212
+ } else lastRequests.errors.push(error.toString());
104213
+ } else lastRequests.errors.push(SERVER_TELEM_UNKNOWN_ERROR);
104182
104214
  this.cacheManager.setServerTelemetry(this.telemetryCacheKey, lastRequests, this.correlationId);
104183
104215
  } catch {}
104184
104216
  }
@@ -105128,7 +105160,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
105128
105160
  * @param buffer
105129
105161
  */
105130
105162
  sha256(buffer) {
105131
- return crypto$2.createHash(Hash.SHA256).update(buffer).digest();
105163
+ return crypto.createHash(Hash.SHA256).update(buffer).digest();
105132
105164
  }
105133
105165
  };
105134
105166
  /**
@@ -105156,7 +105188,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
105156
105188
  const charArr = [];
105157
105189
  const maxNumber = 256 - 256 % CharSet.CV_CHARSET.length;
105158
105190
  while (charArr.length <= RANDOM_OCTET_SIZE) {
105159
- const byte = crypto$2.randomBytes(1)[0];
105191
+ const byte = crypto.randomBytes(1)[0];
105160
105192
  if (byte >= maxNumber) continue;
105161
105193
  const index = byte % CharSet.CV_CHARSET.length;
105162
105194
  charArr.push(CharSet.CV_CHARSET[index]);
@@ -105282,7 +105314,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
105282
105314
  const value = components[key];
105283
105315
  input += `${Buffer.byteLength(key, "utf8")}:${key}${Buffer.byteLength(value, "utf8")}:${value}`;
105284
105316
  }
105285
- return crypto$2.createHash("sha256").update(input, "utf8").digest("base64url");
105317
+ return crypto.createHash("sha256").update(input, "utf8").digest("base64url");
105286
105318
  }
105287
105319
  function generateCredentialKey(credential, hash) {
105288
105320
  const familyId = credential.credentialType === CredentialType.REFRESH_TOKEN && credential.familyId || credential.clientId;
@@ -106747,14 +106779,15 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
106747
106779
  sshKid: request.sshKid
106748
106780
  };
106749
106781
  const response = await this.executePostToTokenEndpoint(endpoint, requestBody, headers, thumbprint, request.correlationId);
106750
- if (response.body && response.body.error) if (response.body.error === AUTHORIZATION_PENDING) {
106751
- this.logger.info("Authorization pending. Continue polling.", request.correlationId);
106752
- await delay(pollingIntervalMilli);
106782
+ if (response.body && response.body.error) {
106783
+ if (response.body.error === AUTHORIZATION_PENDING) {
106784
+ this.logger.info("Authorization pending. Continue polling.", request.correlationId);
106785
+ await delay(pollingIntervalMilli);
106786
+ } else {
106787
+ this.logger.info("Unexpected error in polling from the server", request.correlationId);
106788
+ throw createAuthError(postRequestFailed, request.correlationId, response.body.error);
106789
+ }
106753
106790
  } else {
106754
- this.logger.info("Unexpected error in polling from the server", request.correlationId);
106755
- throw createAuthError(postRequestFailed, request.correlationId, response.body.error);
106756
- }
106757
- else {
106758
106791
  this.logger.verbose("Authorization completed successfully. Polling stopped.", request.correlationId);
106759
106792
  return response.body;
106760
106793
  }
@@ -106808,10 +106841,12 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
106808
106841
  */
106809
106842
  constructor(configuration) {
106810
106843
  super(configuration);
106811
- if (this.config.broker.nativeBrokerPlugin) if (this.config.broker.nativeBrokerPlugin.isBrokerAvailable) {
106812
- this.nativeBrokerPlugin = this.config.broker.nativeBrokerPlugin;
106813
- this.nativeBrokerPlugin.setLogger(this.config.system.loggerOptions);
106814
- } else this.logger.warning("NativeBroker implementation was provided but the broker is unavailable.", "");
106844
+ if (this.config.broker.nativeBrokerPlugin) {
106845
+ if (this.config.broker.nativeBrokerPlugin.isBrokerAvailable) {
106846
+ this.nativeBrokerPlugin = this.config.broker.nativeBrokerPlugin;
106847
+ this.nativeBrokerPlugin.setLogger(this.config.system.loggerOptions);
106848
+ } else this.logger.warning("NativeBroker implementation was provided but the broker is unavailable.", "");
106849
+ }
106815
106850
  this.skus = ServerTelemetryManager.makeExtraSkuString({
106816
106851
  libraryName: Constants.MSAL_SKU,
106817
106852
  libraryVersion: version
@@ -107492,8 +107527,10 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
107492
107527
  if (Object.values(AADAuthority).includes(tenantId)) throw createClientAuthError(missingTenantIdError, validRequest.correlationId);
107493
107528
  const ENV_MSAL_FORCE_REGION = process.env[MSAL_FORCE_REGION];
107494
107529
  let region;
107495
- if (validRequest.azureRegion !== "DisableMsalForceRegion") if (!validRequest.azureRegion && ENV_MSAL_FORCE_REGION) region = ENV_MSAL_FORCE_REGION;
107496
- else region = validRequest.azureRegion;
107530
+ if (validRequest.azureRegion !== "DisableMsalForceRegion") {
107531
+ if (!validRequest.azureRegion && ENV_MSAL_FORCE_REGION) region = ENV_MSAL_FORCE_REGION;
107532
+ else region = validRequest.azureRegion;
107533
+ }
107497
107534
  const azureRegionConfiguration = {
107498
107535
  azureRegion: region,
107499
107536
  environmentRegion: process.env[REGION_ENVIRONMENT_VARIABLE]
@@ -107686,7 +107723,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
107686
107723
  if (response.body.expires_on) {
107687
107724
  if (isIso8601(response.body.expires_on)) response.body.expires_on = new Date(response.body.expires_on).getTime() / 1e3;
107688
107725
  expiresIn = response.body.expires_on - nowSeconds();
107689
- if (expiresIn > 2 * 3600) refreshIn = expiresIn / 2;
107726
+ if (expiresIn > 7200) refreshIn = expiresIn / 2;
107690
107727
  }
107691
107728
  return {
107692
107729
  status: response.status,
@@ -108132,7 +108169,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
108132
108169
  const secretFilePath = wwwAuthHeader.split("Basic realm=")[1];
108133
108170
  if (!SUPPORTED_AZURE_ARC_PLATFORMS.hasOwnProperty(process.platform)) throw createManagedIdentityError(platformNotSupported, "");
108134
108171
  const expectedSecretFilePath = SUPPORTED_AZURE_ARC_PLATFORMS[process.platform];
108135
- const fileName = path$1.basename(secretFilePath);
108172
+ const fileName = path.basename(secretFilePath);
108136
108173
  if (!fileName.endsWith(".key")) throw createManagedIdentityError(invalidFileExtension, "");
108137
108174
  if (expectedSecretFilePath + fileName !== secretFilePath) throw createManagedIdentityError(invalidFilePath, "");
108138
108175
  let secretFileSize;
@@ -108283,7 +108320,7 @@ var require_msal_node = /* @__PURE__ */ __commonJSMin(((exports) => {
108283
108320
  const MIN_EXPONENTIAL_BACKOFF_MS = 1e3;
108284
108321
  const MAX_EXPONENTIAL_BACKOFF_MS = 4e3;
108285
108322
  const EXPONENTIAL_DELTA_BACKOFF_MS = 2e3;
108286
- const HTTP_STATUS_GONE_RETRY_AFTER_MS = 10 * 1e3;
108323
+ const HTTP_STATUS_GONE_RETRY_AFTER_MS = 1e4;
108287
108324
  var ImdsRetryPolicy = class ImdsRetryPolicy {
108288
108325
  constructor() {
108289
108326
  this.exponentialRetryStrategy = new ExponentialRetryStrategy(ImdsRetryPolicy.MIN_EXPONENTIAL_BACKOFF_MS, ImdsRetryPolicy.MAX_EXPONENTIAL_BACKOFF_MS, ImdsRetryPolicy.EXPONENTIAL_DELTA_BACKOFF_MS);
@@ -108984,21 +109021,23 @@ var require_token_manager = /* @__PURE__ */ __commonJSMin(((exports) => {
108984
109021
  tenantId,
108985
109022
  token
108986
109023
  };
108987
- } else if (clientId && !clientSecret) if (managedIdentityClientId == null || managedIdentityClientId.toLowerCase() === clientId.toLowerCase()) {
108988
- this.logger.debug("Using user managed identity auth");
108989
- return {
108990
- clientId,
108991
- tenantId
108992
- };
108993
- } else {
108994
- const identityType = managedIdentityClientId === "system" ? "system" : "user";
108995
- this.logger.debug(`Using Federated Identity Credentials auth (${identityType})`);
108996
- return {
108997
- clientId,
108998
- tenantId,
108999
- managedIdentityClientId,
109000
- managedIdentityType: identityType
109001
- };
109024
+ } else if (clientId && !clientSecret) {
109025
+ if (managedIdentityClientId == null || managedIdentityClientId.toLowerCase() === clientId.toLowerCase()) {
109026
+ this.logger.debug("Using user managed identity auth");
109027
+ return {
109028
+ clientId,
109029
+ tenantId
109030
+ };
109031
+ } else {
109032
+ const identityType = managedIdentityClientId === "system" ? "system" : "user";
109033
+ this.logger.debug(`Using Federated Identity Credentials auth (${identityType})`);
109034
+ return {
109035
+ clientId,
109036
+ tenantId,
109037
+ managedIdentityClientId,
109038
+ managedIdentityType: identityType
109039
+ };
109040
+ }
109002
109041
  }
109003
109042
  }
109004
109043
  async getToken(scope, tenantId) {
@@ -109097,15 +109136,16 @@ var require_token_manager = /* @__PURE__ */ __commonJSMin(((exports) => {
109097
109136
  }
109098
109137
  getManagedIdentityClient(credentials) {
109099
109138
  if (this.managedIdentityClient) return this.managedIdentityClient;
109100
- if (isFederatedIdentityCredentials(credentials)) if (credentials.managedIdentityType === "user") this.managedIdentityClient = new msal_node_1.ManagedIdentityApplication({
109101
- managedIdentityIdParams: { userAssignedClientId: credentials.managedIdentityClientId },
109102
- system: { loggerOptions: this.buildLoggerOptions() }
109103
- });
109104
- else this.managedIdentityClient = new msal_node_1.ManagedIdentityApplication({
109105
- managedIdentityIdParams: void 0,
109106
- system: { loggerOptions: this.buildLoggerOptions() }
109107
- });
109108
- else this.managedIdentityClient = new msal_node_1.ManagedIdentityApplication({
109139
+ if (isFederatedIdentityCredentials(credentials)) {
109140
+ if (credentials.managedIdentityType === "user") this.managedIdentityClient = new msal_node_1.ManagedIdentityApplication({
109141
+ managedIdentityIdParams: { userAssignedClientId: credentials.managedIdentityClientId },
109142
+ system: { loggerOptions: this.buildLoggerOptions() }
109143
+ });
109144
+ else this.managedIdentityClient = new msal_node_1.ManagedIdentityApplication({
109145
+ managedIdentityIdParams: void 0,
109146
+ system: { loggerOptions: this.buildLoggerOptions() }
109147
+ });
109148
+ } else this.managedIdentityClient = new msal_node_1.ManagedIdentityApplication({
109109
109149
  managedIdentityIdParams: { userAssignedClientId: credentials.clientId },
109110
109150
  system: { loggerOptions: this.buildLoggerOptions() }
109111
109151
  });
@@ -109187,8 +109227,8 @@ var require_env = /* @__PURE__ */ __commonJSMin(((exports) => {
109187
109227
  }));
109188
109228
  //#endregion
109189
109229
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/app.js
109190
- var require_app = /* @__PURE__ */ __commonJSMin(((exports) => {
109191
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
109230
+ var require_app = /* @__PURE__ */ __commonJSMin(((exports, module, this$7) => {
109231
+ var __createBinding = this$7 && this$7.__createBinding || (Object.create ? (function(o, m, k, k2) {
109192
109232
  if (k2 === void 0) k2 = k;
109193
109233
  var desc = Object.getOwnPropertyDescriptor(m, k);
109194
109234
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -109202,7 +109242,7 @@ var require_app = /* @__PURE__ */ __commonJSMin(((exports) => {
109202
109242
  if (k2 === void 0) k2 = k;
109203
109243
  o[k2] = m[k];
109204
109244
  }));
109205
- var __setModuleDefault = exports && exports.__setModuleDefault || (Object.create ? (function(o, v) {
109245
+ var __setModuleDefault = this$7 && this$7.__setModuleDefault || (Object.create ? (function(o, v) {
109206
109246
  Object.defineProperty(o, "default", {
109207
109247
  enumerable: true,
109208
109248
  value: v
@@ -109210,7 +109250,7 @@ var require_app = /* @__PURE__ */ __commonJSMin(((exports) => {
109210
109250
  }) : function(o, v) {
109211
109251
  o["default"] = v;
109212
109252
  });
109213
- var __importStar = exports && exports.__importStar || (function() {
109253
+ var __importStar = this$7 && this$7.__importStar || (function() {
109214
109254
  var ownKeys = function(o) {
109215
109255
  ownKeys = Object.getOwnPropertyNames || function(o) {
109216
109256
  var ar = [];
@@ -109229,7 +109269,7 @@ var require_app = /* @__PURE__ */ __commonJSMin(((exports) => {
109229
109269
  return result;
109230
109270
  };
109231
109271
  })();
109232
- var __importDefault = exports && exports.__importDefault || function(mod) {
109272
+ var __importDefault = this$7 && this$7.__importDefault || function(mod) {
109233
109273
  return mod && mod.__esModule ? mod : { "default": mod };
109234
109274
  };
109235
109275
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -109905,17 +109945,17 @@ var require_lib = /* @__PURE__ */ __commonJSMin(((exports, module) => {
109905
109945
  }));
109906
109946
  //#endregion
109907
109947
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/plugins/http/plugin.js
109908
- var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
109909
- var __decorate = exports && exports.__decorate || function(decorators, target, key, desc) {
109948
+ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports, module, this$6) => {
109949
+ var __decorate = this$6 && this$6.__decorate || function(decorators, target, key, desc) {
109910
109950
  var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
109911
109951
  if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
109912
109952
  else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
109913
109953
  return c > 3 && r && Object.defineProperty(target, key, r), r;
109914
109954
  };
109915
- var __metadata = exports && exports.__metadata || function(k, v) {
109955
+ var __metadata = this$6 && this$6.__metadata || function(k, v) {
109916
109956
  if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
109917
109957
  };
109918
- var __importDefault = exports && exports.__importDefault || function(mod) {
109958
+ var __importDefault = this$6 && this$6.__importDefault || function(mod) {
109919
109959
  return mod && mod.__esModule ? mod : { "default": mod };
109920
109960
  };
109921
109961
  Object.defineProperty(exports, "__esModule", { value: true });
@@ -109993,8 +110033,8 @@ var require_plugin = /* @__PURE__ */ __commonJSMin(((exports) => {
109993
110033
  }));
109994
110034
  //#endregion
109995
110035
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/plugins/http/index.js
109996
- var require_http = /* @__PURE__ */ __commonJSMin(((exports) => {
109997
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
110036
+ var require_http = /* @__PURE__ */ __commonJSMin(((exports, module, this$5) => {
110037
+ var __createBinding = this$5 && this$5.__createBinding || (Object.create ? (function(o, m, k, k2) {
109998
110038
  if (k2 === void 0) k2 = k;
109999
110039
  var desc = Object.getOwnPropertyDescriptor(m, k);
110000
110040
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -110008,16 +110048,16 @@ var require_http = /* @__PURE__ */ __commonJSMin(((exports) => {
110008
110048
  if (k2 === void 0) k2 = k;
110009
110049
  o[k2] = m[k];
110010
110050
  }));
110011
- var __exportStar = exports && exports.__exportStar || function(m, exports$5) {
110012
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$5, p)) __createBinding(exports$5, m, p);
110051
+ var __exportStar = this$5 && this$5.__exportStar || function(m, exports) {
110052
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
110013
110053
  };
110014
110054
  Object.defineProperty(exports, "__esModule", { value: true });
110015
110055
  __exportStar(require_plugin(), exports);
110016
110056
  }));
110017
110057
  //#endregion
110018
110058
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/plugins/index.js
110019
- var require_plugins = /* @__PURE__ */ __commonJSMin(((exports) => {
110020
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
110059
+ var require_plugins = /* @__PURE__ */ __commonJSMin(((exports, module, this$4) => {
110060
+ var __createBinding = this$4 && this$4.__createBinding || (Object.create ? (function(o, m, k, k2) {
110021
110061
  if (k2 === void 0) k2 = k;
110022
110062
  var desc = Object.getOwnPropertyDescriptor(m, k);
110023
110063
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -110031,8 +110071,8 @@ var require_plugins = /* @__PURE__ */ __commonJSMin(((exports) => {
110031
110071
  if (k2 === void 0) k2 = k;
110032
110072
  o[k2] = m[k];
110033
110073
  }));
110034
- var __exportStar = exports && exports.__exportStar || function(m, exports$4) {
110035
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$4, p)) __createBinding(exports$4, m, p);
110074
+ var __exportStar = this$4 && this$4.__exportStar || function(m, exports) {
110075
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
110036
110076
  };
110037
110077
  Object.defineProperty(exports, "__esModule", { value: true });
110038
110078
  __exportStar(require_http(), exports);
@@ -110044,8 +110084,8 @@ var require_types = /* @__PURE__ */ __commonJSMin(((exports) => {
110044
110084
  }));
110045
110085
  //#endregion
110046
110086
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/files/index.js
110047
- var require_files = /* @__PURE__ */ __commonJSMin(((exports) => {
110048
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
110087
+ var require_files = /* @__PURE__ */ __commonJSMin(((exports, module, this$3) => {
110088
+ var __createBinding = this$3 && this$3.__createBinding || (Object.create ? (function(o, m, k, k2) {
110049
110089
  if (k2 === void 0) k2 = k;
110050
110090
  var desc = Object.getOwnPropertyDescriptor(m, k);
110051
110091
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -110059,8 +110099,8 @@ var require_files = /* @__PURE__ */ __commonJSMin(((exports) => {
110059
110099
  if (k2 === void 0) k2 = k;
110060
110100
  o[k2] = m[k];
110061
110101
  }));
110062
- var __exportStar = exports && exports.__exportStar || function(m, exports$3) {
110063
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$3, p)) __createBinding(exports$3, m, p);
110102
+ var __exportStar = this$3 && this$3.__exportStar || function(m, exports) {
110103
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
110064
110104
  };
110065
110105
  Object.defineProperty(exports, "__esModule", { value: true });
110066
110106
  __exportStar(require_types(), exports);
@@ -110068,8 +110108,8 @@ var require_files = /* @__PURE__ */ __commonJSMin(((exports) => {
110068
110108
  }));
110069
110109
  //#endregion
110070
110110
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/diagnostics/index.js
110071
- var require_diagnostics = /* @__PURE__ */ __commonJSMin(((exports) => {
110072
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
110111
+ var require_diagnostics = /* @__PURE__ */ __commonJSMin(((exports, module, this$2) => {
110112
+ var __createBinding = this$2 && this$2.__createBinding || (Object.create ? (function(o, m, k, k2) {
110073
110113
  if (k2 === void 0) k2 = k;
110074
110114
  var desc = Object.getOwnPropertyDescriptor(m, k);
110075
110115
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -110083,8 +110123,8 @@ var require_diagnostics = /* @__PURE__ */ __commonJSMin(((exports) => {
110083
110123
  if (k2 === void 0) k2 = k;
110084
110124
  o[k2] = m[k];
110085
110125
  }));
110086
- var __exportStar = exports && exports.__exportStar || function(m, exports$2) {
110087
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$2, p)) __createBinding(exports$2, m, p);
110126
+ var __exportStar = this$2 && this$2.__exportStar || function(m, exports) {
110127
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
110088
110128
  };
110089
110129
  Object.defineProperty(exports, "__esModule", { value: true });
110090
110130
  exports.withAgent365Baggage = exports.createAgent365Scope = exports.Agent365BaggageKeys = void 0;
@@ -110494,8 +110534,8 @@ var require_html_widget = /* @__PURE__ */ __commonJSMin(((exports) => {
110494
110534
  }));
110495
110535
  //#endregion
110496
110536
  //#region ../../../../../setup-pnpm/node_modules/.bin/store/v11/links/@microsoft/teams.apps/2.1.0/0429c6a35ebd654a89728cc8d1f94645b613689d90171526e2c113de91ce6652/node_modules/@microsoft/teams.apps/dist/index.js
110497
- var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
110498
- var __createBinding = exports && exports.__createBinding || (Object.create ? (function(o, m, k, k2) {
110537
+ var require_dist = /* @__PURE__ */ __commonJSMin(((exports, module, this$1) => {
110538
+ var __createBinding = this$1 && this$1.__createBinding || (Object.create ? (function(o, m, k, k2) {
110499
110539
  if (k2 === void 0) k2 = k;
110500
110540
  var desc = Object.getOwnPropertyDescriptor(m, k);
110501
110541
  if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) desc = {
@@ -110509,8 +110549,8 @@ var require_dist = /* @__PURE__ */ __commonJSMin(((exports) => {
110509
110549
  if (k2 === void 0) k2 = k;
110510
110550
  o[k2] = m[k];
110511
110551
  }));
110512
- var __exportStar = exports && exports.__exportStar || function(m, exports$1) {
110513
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports$1, p)) __createBinding(exports$1, m, p);
110552
+ var __exportStar = this$1 && this$1.__exportStar || function(m, exports) {
110553
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
110514
110554
  };
110515
110555
  Object.defineProperty(exports, "__esModule", { value: true });
110516
110556
  exports.tryGetWidgetModelContext = exports.validateSecurityPolicy = exports.injectWidgetProtocol = exports.buildHtmlWidgetMessage = exports.buildHtmlWidgetMarkdown = exports.toThreadedConversationId = exports.OAuthFlow = exports.DEFAULT_OAUTH_SETTINGS = void 0;
@@ -110963,8 +111003,6 @@ function convertActionsToElements(element) {
110963
111003
  case "radio_select":
110964
111004
  hasInputs = true;
110965
111005
  elements.push(convertRadioSelectToElement(child));
110966
- break;
110967
- default: break;
110968
111006
  }
110969
111007
  if (hasInputs && !hasButtons) actions.push(new import_dist$2.SubmitAction({
110970
111008
  title: "Submit",
@@ -111017,10 +111055,11 @@ function convertButtonToAction(button) {
111017
111055
  value: button.value
111018
111056
  };
111019
111057
  if (button.actionType === "modal") data.msteams = { type: "task/fetch" };
111020
- return new import_dist$2.SubmitAction({
111058
+ const options = {
111021
111059
  ...actionOptions(button),
111022
111060
  data
111023
- });
111061
+ };
111062
+ return new import_dist$2.SubmitAction(options);
111024
111063
  }
111025
111064
  function convertLinkButtonToAction(button) {
111026
111065
  const options = actionOptions(button);
@@ -111046,13 +111085,16 @@ function convertTableToElement(element) {
111046
111085
  weight: "Bolder",
111047
111086
  wrap: true
111048
111087
  })).withOptions({ width: "stretch" }));
111049
- return new import_dist$2.Container(new import_dist$2.ColumnSet().withColumns(...headerColumns), ...element.rows.map((row) => {
111088
+ const headerRow = new import_dist$2.ColumnSet().withColumns(...headerColumns);
111089
+ const dataRows = element.rows.map((row) => {
111050
111090
  const cols = row.map((cell) => new import_dist$2.Column(new import_dist$2.TextBlock(convertEmoji(cell), { wrap: true })).withOptions({ width: "stretch" }));
111051
111091
  return new import_dist$2.ColumnSet().withColumns(...cols);
111052
- }));
111092
+ });
111093
+ return new import_dist$2.Container(headerRow, ...dataRows);
111053
111094
  }
111054
111095
  function convertFieldsToElement(element) {
111055
- return new import_dist$2.FactSet(...element.children.map((field) => new import_dist$2.Fact(convertEmoji(field.label), convertEmoji(field.value))));
111096
+ const facts = element.children.map((field) => new import_dist$2.Fact(convertEmoji(field.label), convertEmoji(field.value)));
111097
+ return new import_dist$2.FactSet(...facts);
111056
111098
  }
111057
111099
  function toAppOptions(config) {
111058
111100
  if (config.certificate) throw new Error("Certificate-based authentication is not yet supported by the Teams SDK adapter. Use appPassword (client secret), federated (workload identity), or token (custom token factory) authentication instead.");
@@ -111197,12 +111239,14 @@ var TeamsGraphReader = class {
111197
111239
  });
111198
111240
  const messages = this.mapGraphMessages(graphMessages, threadId);
111199
111241
  let nextCursor;
111200
- if (hasMoreMessages && graphMessages.length > 0) if (direction === "forward") {
111201
- const lastMsg = graphMessages.at(-1);
111202
- if (lastMsg?.createdDateTime) nextCursor = lastMsg.createdDateTime;
111203
- } else {
111204
- const oldestMsg = graphMessages[0];
111205
- if (oldestMsg?.createdDateTime) nextCursor = oldestMsg.createdDateTime;
111242
+ if (hasMoreMessages && graphMessages.length > 0) {
111243
+ if (direction === "forward") {
111244
+ const lastMsg = graphMessages.at(-1);
111245
+ if (lastMsg?.createdDateTime) nextCursor = lastMsg.createdDateTime;
111246
+ } else {
111247
+ const oldestMsg = graphMessages[0];
111248
+ if (oldestMsg?.createdDateTime) nextCursor = oldestMsg.createdDateTime;
111249
+ }
111206
111250
  }
111207
111251
  return {
111208
111252
  messages,
@@ -111287,12 +111331,14 @@ var TeamsGraphReader = class {
111287
111331
  }
111288
111332
  const messages = this.mapGraphMessages(graphMessages, channelId);
111289
111333
  let nextCursor;
111290
- if (hasMoreMessages && graphMessages.length > 0) if (direction === "forward") {
111291
- const lastMsg = graphMessages.at(-1);
111292
- if (lastMsg?.createdDateTime) nextCursor = lastMsg.createdDateTime;
111293
- } else {
111294
- const oldestMsg = graphMessages[0];
111295
- if (oldestMsg?.createdDateTime) nextCursor = oldestMsg.createdDateTime;
111334
+ if (hasMoreMessages && graphMessages.length > 0) {
111335
+ if (direction === "forward") {
111336
+ const lastMsg = graphMessages.at(-1);
111337
+ if (lastMsg?.createdDateTime) nextCursor = lastMsg.createdDateTime;
111338
+ } else {
111339
+ const oldestMsg = graphMessages[0];
111340
+ if (oldestMsg?.createdDateTime) nextCursor = oldestMsg.createdDateTime;
111341
+ }
111296
111342
  }
111297
111343
  return {
111298
111344
  messages,
@@ -111506,12 +111552,14 @@ var TeamsGraphReader = class {
111506
111552
  });
111507
111553
  const messages = this.mapGraphMessages(graphMessages, threadId);
111508
111554
  let nextCursor;
111509
- if (hasMoreMessages && graphMessages.length > 0) if (direction === "forward") {
111510
- const lastMsg = graphMessages.at(-1);
111511
- if (lastMsg?.createdDateTime) nextCursor = lastMsg.createdDateTime;
111512
- } else {
111513
- const oldestMsg = graphMessages[0];
111514
- if (oldestMsg?.createdDateTime) nextCursor = oldestMsg.createdDateTime;
111555
+ if (hasMoreMessages && graphMessages.length > 0) {
111556
+ if (direction === "forward") {
111557
+ const lastMsg = graphMessages.at(-1);
111558
+ if (lastMsg?.createdDateTime) nextCursor = lastMsg.createdDateTime;
111559
+ } else {
111560
+ const oldestMsg = graphMessages[0];
111561
+ if (oldestMsg?.createdDateTime) nextCursor = oldestMsg.createdDateTime;
111562
+ }
111515
111563
  }
111516
111564
  return {
111517
111565
  messages,
@@ -111741,7 +111789,7 @@ function modalChildToAdaptiveElements(child) {
111741
111789
  }
111742
111790
  }
111743
111791
  function textInputToAdaptive(input) {
111744
- return new import_dist$2.TextInput({
111792
+ const options = {
111745
111793
  id: input.id,
111746
111794
  label: convertEmoji2(input.label),
111747
111795
  isMultiline: input.multiline ?? false,
@@ -111749,19 +111797,21 @@ function textInputToAdaptive(input) {
111749
111797
  placeholder: input.placeholder,
111750
111798
  value: input.initialValue,
111751
111799
  maxLength: input.maxLength
111752
- });
111800
+ };
111801
+ return new import_dist$2.TextInput(options);
111753
111802
  }
111754
111803
  function dateInputToAdaptive(input) {
111755
- return new import_dist$2.DateInput({
111804
+ const options = {
111756
111805
  id: input.id,
111757
111806
  label: convertEmoji2(input.label),
111758
111807
  isRequired: !(input.optional ?? false),
111759
111808
  placeholder: input.placeholder,
111760
111809
  value: input.initialValue
111761
- });
111810
+ };
111811
+ return new import_dist$2.DateInput(options);
111762
111812
  }
111763
111813
  function numberInputToAdaptive(input) {
111764
- return new import_dist$2.NumberInput({
111814
+ const options = {
111765
111815
  id: input.id,
111766
111816
  label: convertEmoji2(input.label),
111767
111817
  isRequired: !(input.optional ?? false),
@@ -111769,7 +111819,8 @@ function numberInputToAdaptive(input) {
111769
111819
  value: input.initialValue,
111770
111820
  min: input.min,
111771
111821
  max: input.max
111772
- });
111822
+ };
111823
+ return new import_dist$2.NumberInput(options);
111773
111824
  }
111774
111825
  function selectToAdaptive(select) {
111775
111826
  const choices = select.options.map((opt) => new import_dist$2.Choice({
@@ -111807,7 +111858,8 @@ function textToAdaptive(text) {
111807
111858
  return new import_dist$2.TextBlock(convertEmoji2(text.content), options);
111808
111859
  }
111809
111860
  function fieldsToAdaptive(fields) {
111810
- return new import_dist$2.FactSet(...fields.children.map((field) => new import_dist$2.Fact(convertEmoji2(field.label), convertEmoji2(field.value))));
111861
+ const facts = fields.children.map((field) => new import_dist$2.Fact(convertEmoji2(field.label), convertEmoji2(field.value)));
111862
+ return new import_dist$2.FactSet(...facts);
111811
111863
  }
111812
111864
  function parseDialogSubmitValues(data) {
111813
111865
  if (!data) return {
@@ -111877,9 +111929,9 @@ function modalResponseToTaskModuleResponse(response, logger, contextId) {
111877
111929
  }
111878
111930
  var MESSAGEID_CAPTURE_PATTERN = /messageid=(\d+)/;
111879
111931
  var MESSAGEID_STRIP_PATTERN2 = /;messageid=\d+/;
111880
- var CACHE_TTL_MS = 720 * 60 * 60 * 1e3;
111881
- var USER_INFO_CACHE_TTL_MS = 3600 * 1e3;
111882
- var USER_INFO_NEGATIVE_CACHE_TTL_MS = 300 * 1e3;
111932
+ var CACHE_TTL_MS = 2592e6;
111933
+ var USER_INFO_CACHE_TTL_MS = 36e5;
111934
+ var USER_INFO_NEGATIVE_CACHE_TTL_MS = 3e5;
111883
111935
  var USER_INFO_NEGATIVE_SENTINEL = "unresolvable";
111884
111936
  var DEFAULT_DIALOG_OPEN_TIMEOUT_MS = 5e3;
111885
111937
  var TEAMS_REACTION_ALIASES = {
@@ -112959,7 +113011,8 @@ var TeamsAdapter = class {
112959
113011
  handleTeamsError(error, "postChannelMessage");
112960
113012
  }
112961
113013
  }
112962
- const activity = new import_dist.MessageActivity(convertEmojiPlaceholders(this.formatConverter.renderPostable(message), "teams"));
113014
+ const text = convertEmojiPlaceholders(this.formatConverter.renderPostable(message), "teams");
113015
+ const activity = new import_dist.MessageActivity(text);
112963
113016
  activity.textFormat = "markdown";
112964
113017
  if (fileAttachments.length > 0) activity.attachments = fileAttachments;
112965
113018
  try {