@kevisual/cli 0.1.30 → 0.1.31

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.
@@ -873,7 +873,7 @@ var require_dist_cjs8 = __commonJS((exports) => {
873
873
  });
874
874
  });
875
875
 
876
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js
876
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js
877
877
  var require_ChecksumStream = __commonJS((exports) => {
878
878
  Object.defineProperty(exports, "__esModule", { value: true });
879
879
  exports.ChecksumStream = undefined;
@@ -937,7 +937,7 @@ var require_ChecksumStream = __commonJS((exports) => {
937
937
  exports.ChecksumStream = ChecksumStream;
938
938
  });
939
939
 
940
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js
940
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js
941
941
  var require_stream_type_check = __commonJS((exports) => {
942
942
  Object.defineProperty(exports, "__esModule", { value: true });
943
943
  exports.isBlob = exports.isReadableStream = undefined;
@@ -949,7 +949,7 @@ var require_stream_type_check = __commonJS((exports) => {
949
949
  exports.isBlob = isBlob;
950
950
  });
951
951
 
952
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js
952
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js
953
953
  var require_ChecksumStream_browser = __commonJS((exports) => {
954
954
  Object.defineProperty(exports, "__esModule", { value: true });
955
955
  exports.ChecksumStream = undefined;
@@ -960,7 +960,7 @@ var require_ChecksumStream_browser = __commonJS((exports) => {
960
960
  exports.ChecksumStream = ChecksumStream;
961
961
  });
962
962
 
963
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js
963
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js
964
964
  var require_createChecksumStream_browser = __commonJS((exports) => {
965
965
  Object.defineProperty(exports, "__esModule", { value: true });
966
966
  exports.createChecksumStream = undefined;
@@ -1000,7 +1000,7 @@ var require_createChecksumStream_browser = __commonJS((exports) => {
1000
1000
  exports.createChecksumStream = createChecksumStream;
1001
1001
  });
1002
1002
 
1003
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js
1003
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js
1004
1004
  var require_createChecksumStream = __commonJS((exports) => {
1005
1005
  Object.defineProperty(exports, "__esModule", { value: true });
1006
1006
  exports.createChecksumStream = createChecksumStream;
@@ -1015,7 +1015,7 @@ var require_createChecksumStream = __commonJS((exports) => {
1015
1015
  }
1016
1016
  });
1017
1017
 
1018
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js
1018
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js
1019
1019
  var require_ByteArrayCollector = __commonJS((exports) => {
1020
1020
  Object.defineProperty(exports, "__esModule", { value: true });
1021
1021
  exports.ByteArrayCollector = undefined;
@@ -1055,7 +1055,7 @@ var require_ByteArrayCollector = __commonJS((exports) => {
1055
1055
  exports.ByteArrayCollector = ByteArrayCollector;
1056
1056
  });
1057
1057
 
1058
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js
1058
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js
1059
1059
  var require_createBufferedReadableStream = __commonJS((exports) => {
1060
1060
  Object.defineProperty(exports, "__esModule", { value: true });
1061
1061
  exports.createBufferedReadable = undefined;
@@ -1158,7 +1158,7 @@ var require_createBufferedReadableStream = __commonJS((exports) => {
1158
1158
  }
1159
1159
  });
1160
1160
 
1161
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js
1161
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js
1162
1162
  var require_createBufferedReadable = __commonJS((exports) => {
1163
1163
  Object.defineProperty(exports, "__esModule", { value: true });
1164
1164
  exports.createBufferedReadable = createBufferedReadable;
@@ -1220,7 +1220,7 @@ var require_createBufferedReadable = __commonJS((exports) => {
1220
1220
  }
1221
1221
  });
1222
1222
 
1223
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js
1223
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js
1224
1224
  var require_getAwsChunkedEncodingStream_browser = __commonJS((exports) => {
1225
1225
  Object.defineProperty(exports, "__esModule", { value: true });
1226
1226
  exports.getAwsChunkedEncodingStream = undefined;
@@ -1254,7 +1254,7 @@ ${value}\r
1254
1254
  exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream;
1255
1255
  });
1256
1256
 
1257
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js
1257
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js
1258
1258
  var require_getAwsChunkedEncodingStream = __commonJS((exports) => {
1259
1259
  Object.defineProperty(exports, "__esModule", { value: true });
1260
1260
  exports.getAwsChunkedEncodingStream = getAwsChunkedEncodingStream;
@@ -1300,7 +1300,7 @@ var require_getAwsChunkedEncodingStream = __commonJS((exports) => {
1300
1300
  }
1301
1301
  });
1302
1302
 
1303
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js
1303
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js
1304
1304
  var require_headStream_browser = __commonJS((exports) => {
1305
1305
  Object.defineProperty(exports, "__esModule", { value: true });
1306
1306
  exports.headStream = headStream;
@@ -1336,7 +1336,7 @@ var require_headStream_browser = __commonJS((exports) => {
1336
1336
  }
1337
1337
  });
1338
1338
 
1339
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/headStream.js
1339
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/headStream.js
1340
1340
  var require_headStream = __commonJS((exports) => {
1341
1341
  Object.defineProperty(exports, "__esModule", { value: true });
1342
1342
  exports.headStream = undefined;
@@ -1416,14 +1416,13 @@ var require_dist_cjs10 = __commonJS((exports) => {
1416
1416
  exports.buildQueryString = buildQueryString;
1417
1417
  });
1418
1418
 
1419
- // ../node_modules/.pnpm/@smithy+node-http-handler@4.4.16/node_modules/@smithy/node-http-handler/dist-cjs/index.js
1419
+ // ../node_modules/.pnpm/@smithy+node-http-handler@4.5.0/node_modules/@smithy/node-http-handler/dist-cjs/index.js
1420
1420
  var require_dist_cjs11 = __commonJS((exports) => {
1421
1421
  var protocolHttp = require_dist_cjs2();
1422
1422
  var querystringBuilder = require_dist_cjs10();
1423
- var http4 = __require("http");
1424
- var https3 = __require("https");
1425
- var stream = __require("stream");
1426
- var http22 = __require("http2");
1423
+ var node_https = __require("node:https");
1424
+ var node_stream = __require("node:stream");
1425
+ var http22 = __require("node:http2");
1427
1426
  function buildAbortError(abortSignal) {
1428
1427
  const reason = abortSignal && typeof abortSignal === "object" && "reason" in abortSignal ? abortSignal.reason : undefined;
1429
1428
  if (reason) {
@@ -1579,7 +1578,7 @@ var require_dist_cjs11 = __commonJS((exports) => {
1579
1578
  }
1580
1579
  }
1581
1580
  function writeBody(httpRequest, body) {
1582
- if (body instanceof stream.Readable) {
1581
+ if (body instanceof node_stream.Readable) {
1583
1582
  body.pipe(httpRequest);
1584
1583
  return;
1585
1584
  }
@@ -1605,6 +1604,8 @@ var require_dist_cjs11 = __commonJS((exports) => {
1605
1604
  httpRequest.end();
1606
1605
  }
1607
1606
  var DEFAULT_REQUEST_TIMEOUT = 0;
1607
+ var hAgent = undefined;
1608
+ var hRequest = undefined;
1608
1609
 
1609
1610
  class NodeHttpHandler {
1610
1611
  config;
@@ -1652,33 +1653,6 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
1652
1653
  }
1653
1654
  });
1654
1655
  }
1655
- resolveDefaultConfig(options) {
1656
- const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger: logger2 } = options || {};
1657
- const keepAlive = true;
1658
- const maxSockets = 50;
1659
- return {
1660
- connectionTimeout,
1661
- requestTimeout,
1662
- socketTimeout,
1663
- socketAcquisitionWarningTimeout,
1664
- throwOnRequestTimeout,
1665
- httpAgent: (() => {
1666
- if (httpAgent instanceof http4.Agent || typeof httpAgent?.destroy === "function") {
1667
- this.externalAgent = true;
1668
- return httpAgent;
1669
- }
1670
- return new http4.Agent({ keepAlive, maxSockets, ...httpAgent });
1671
- })(),
1672
- httpsAgent: (() => {
1673
- if (httpsAgent instanceof https3.Agent || typeof httpsAgent?.destroy === "function") {
1674
- this.externalAgent = true;
1675
- return httpsAgent;
1676
- }
1677
- return new https3.Agent({ keepAlive, maxSockets, ...httpsAgent });
1678
- })(),
1679
- logger: logger2
1680
- };
1681
- }
1682
1656
  destroy() {
1683
1657
  this.config?.httpAgent?.destroy();
1684
1658
  this.config?.httpsAgent?.destroy();
@@ -1687,8 +1661,12 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
1687
1661
  if (!this.config) {
1688
1662
  this.config = await this.configProvider;
1689
1663
  }
1664
+ const config2 = this.config;
1665
+ const isSSL = request.protocol === "https:";
1666
+ if (!isSSL && !this.config.httpAgent) {
1667
+ this.config.httpAgent = await this.config.httpAgentProvider();
1668
+ }
1690
1669
  return new Promise((_resolve, _reject) => {
1691
- const config2 = this.config;
1692
1670
  let writeRequestBodyPromise = undefined;
1693
1671
  const timeouts = [];
1694
1672
  const resolve = async (arg) => {
@@ -1706,12 +1684,11 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
1706
1684
  reject(abortError);
1707
1685
  return;
1708
1686
  }
1709
- const isSSL = request.protocol === "https:";
1710
1687
  const headers = request.headers ?? {};
1711
1688
  const expectContinue = (headers.Expect ?? headers.expect) === "100-continue";
1712
1689
  let agent = isSSL ? config2.httpsAgent : config2.httpAgent;
1713
1690
  if (expectContinue && !this.externalAgent) {
1714
- agent = new (isSSL ? https3.Agent : http4.Agent)({
1691
+ agent = new (isSSL ? node_https.Agent : hAgent)({
1715
1692
  keepAlive: false,
1716
1693
  maxSockets: Infinity
1717
1694
  });
@@ -1748,7 +1725,7 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
1748
1725
  agent,
1749
1726
  auth
1750
1727
  };
1751
- const requestFunc = isSSL ? https3.request : http4.request;
1728
+ const requestFunc = isSSL ? node_https.request : hRequest;
1752
1729
  const req = requestFunc(nodeHttpsOptions, (res) => {
1753
1730
  const httpResponse = new protocolHttp.HttpResponse({
1754
1731
  statusCode: res.statusCode || -1,
@@ -1808,6 +1785,36 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
1808
1785
  httpHandlerConfigs() {
1809
1786
  return this.config ?? {};
1810
1787
  }
1788
+ resolveDefaultConfig(options) {
1789
+ const { requestTimeout, connectionTimeout, socketTimeout, socketAcquisitionWarningTimeout, httpAgent, httpsAgent, throwOnRequestTimeout, logger: logger2 } = options || {};
1790
+ const keepAlive = true;
1791
+ const maxSockets = 50;
1792
+ return {
1793
+ connectionTimeout,
1794
+ requestTimeout,
1795
+ socketTimeout,
1796
+ socketAcquisitionWarningTimeout,
1797
+ throwOnRequestTimeout,
1798
+ httpAgentProvider: async () => {
1799
+ const { Agent, request } = await import("node:http");
1800
+ hRequest = request;
1801
+ hAgent = Agent;
1802
+ if (httpAgent instanceof hAgent || typeof httpAgent?.destroy === "function") {
1803
+ this.externalAgent = true;
1804
+ return httpAgent;
1805
+ }
1806
+ return new hAgent({ keepAlive, maxSockets, ...httpAgent });
1807
+ },
1808
+ httpsAgent: (() => {
1809
+ if (httpsAgent instanceof node_https.Agent || typeof httpsAgent?.destroy === "function") {
1810
+ this.externalAgent = true;
1811
+ return httpsAgent;
1812
+ }
1813
+ return new node_https.Agent({ keepAlive, maxSockets, ...httpsAgent });
1814
+ })(),
1815
+ logger: logger2
1816
+ };
1817
+ }
1811
1818
  }
1812
1819
 
1813
1820
  class NodeHttp2ConnectionPool {
@@ -2085,21 +2092,21 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
2085
2092
  }
2086
2093
  }
2087
2094
 
2088
- class Collector extends stream.Writable {
2095
+ class Collector extends node_stream.Writable {
2089
2096
  bufferedBytes = [];
2090
2097
  _write(chunk, encoding, callback) {
2091
2098
  this.bufferedBytes.push(chunk);
2092
2099
  callback();
2093
2100
  }
2094
2101
  }
2095
- var streamCollector = (stream2) => {
2096
- if (isReadableStreamInstance(stream2)) {
2097
- return collectReadableStream(stream2);
2102
+ var streamCollector = (stream) => {
2103
+ if (isReadableStreamInstance(stream)) {
2104
+ return collectReadableStream(stream);
2098
2105
  }
2099
2106
  return new Promise((resolve, reject) => {
2100
2107
  const collector = new Collector;
2101
- stream2.pipe(collector);
2102
- stream2.on("error", (err) => {
2108
+ stream.pipe(collector);
2109
+ stream.on("error", (err) => {
2103
2110
  collector.end();
2104
2111
  reject(err);
2105
2112
  });
@@ -2110,10 +2117,10 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
2110
2117
  });
2111
2118
  });
2112
2119
  };
2113
- var isReadableStreamInstance = (stream2) => typeof ReadableStream === "function" && stream2 instanceof ReadableStream;
2114
- async function collectReadableStream(stream2) {
2120
+ var isReadableStreamInstance = (stream) => typeof ReadableStream === "function" && stream instanceof ReadableStream;
2121
+ async function collectReadableStream(stream) {
2115
2122
  const chunks = [];
2116
- const reader = stream2.getReader();
2123
+ const reader = stream.getReader();
2117
2124
  let isDone = false;
2118
2125
  let length = 0;
2119
2126
  while (!isDone) {
@@ -2402,7 +2409,7 @@ var require_dist_cjs13 = __commonJS((exports) => {
2402
2409
  exports.toHex = toHex;
2403
2410
  });
2404
2411
 
2405
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js
2412
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js
2406
2413
  var require_sdk_stream_mixin_browser = __commonJS((exports) => {
2407
2414
  Object.defineProperty(exports, "__esModule", { value: true });
2408
2415
  exports.sdkStreamMixin = undefined;
@@ -2467,7 +2474,7 @@ var require_sdk_stream_mixin_browser = __commonJS((exports) => {
2467
2474
  var isBlobInstance = (stream) => typeof Blob === "function" && stream instanceof Blob;
2468
2475
  });
2469
2476
 
2470
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js
2477
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js
2471
2478
  var require_sdk_stream_mixin = __commonJS((exports) => {
2472
2479
  Object.defineProperty(exports, "__esModule", { value: true });
2473
2480
  exports.sdkStreamMixin = undefined;
@@ -2522,7 +2529,7 @@ var require_sdk_stream_mixin = __commonJS((exports) => {
2522
2529
  exports.sdkStreamMixin = sdkStreamMixin;
2523
2530
  });
2524
2531
 
2525
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js
2532
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js
2526
2533
  var require_splitStream_browser = __commonJS((exports) => {
2527
2534
  Object.defineProperty(exports, "__esModule", { value: true });
2528
2535
  exports.splitStream = splitStream;
@@ -2535,7 +2542,7 @@ var require_splitStream_browser = __commonJS((exports) => {
2535
2542
  }
2536
2543
  });
2537
2544
 
2538
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/splitStream.js
2545
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/splitStream.js
2539
2546
  var require_splitStream = __commonJS((exports) => {
2540
2547
  Object.defineProperty(exports, "__esModule", { value: true });
2541
2548
  exports.splitStream = splitStream;
@@ -2554,7 +2561,7 @@ var require_splitStream = __commonJS((exports) => {
2554
2561
  }
2555
2562
  });
2556
2563
 
2557
- // ../node_modules/.pnpm/@smithy+util-stream@4.5.19/node_modules/@smithy/util-stream/dist-cjs/index.js
2564
+ // ../node_modules/.pnpm/@smithy+util-stream@4.5.20/node_modules/@smithy/util-stream/dist-cjs/index.js
2558
2565
  var require_dist_cjs14 = __commonJS((exports) => {
2559
2566
  var utilBase64 = require_dist_cjs8();
2560
2567
  var utilUtf8 = require_dist_cjs7();
@@ -2698,7 +2705,7 @@ var require_dist_cjs16 = __commonJS((exports) => {
2698
2705
  exports.parseUrl = parseUrl;
2699
2706
  });
2700
2707
 
2701
- // ../node_modules/.pnpm/@smithy+core@3.23.11/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
2708
+ // ../node_modules/.pnpm/@smithy+core@3.23.12/node_modules/@smithy/core/dist-cjs/submodules/endpoints/index.js
2702
2709
  var require_endpoints = __commonJS((exports) => {
2703
2710
  var urlParser = require_dist_cjs16();
2704
2711
  var toEndpointV1 = (endpoint) => {
@@ -2720,7 +2727,7 @@ var require_endpoints = __commonJS((exports) => {
2720
2727
  exports.toEndpointV1 = toEndpointV1;
2721
2728
  });
2722
2729
 
2723
- // ../node_modules/.pnpm/@smithy+core@3.23.11/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
2730
+ // ../node_modules/.pnpm/@smithy+core@3.23.12/node_modules/@smithy/core/dist-cjs/submodules/schema/index.js
2724
2731
  var require_schema = __commonJS((exports) => {
2725
2732
  var protocolHttp = require_dist_cjs2();
2726
2733
  var utilMiddleware = require_dist_cjs4();
@@ -4015,7 +4022,7 @@ var require_dist_cjs17 = __commonJS((exports) => {
4015
4022
  exports.v4 = v4;
4016
4023
  });
4017
4024
 
4018
- // ../node_modules/.pnpm/@smithy+core@3.23.11/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
4025
+ // ../node_modules/.pnpm/@smithy+core@3.23.12/node_modules/@smithy/core/dist-cjs/submodules/serde/index.js
4019
4026
  var require_serde = __commonJS((exports) => {
4020
4027
  var uuid3 = require_dist_cjs17();
4021
4028
  var copyDocumentWithTransform = (source, schemaRef, transform2 = (_) => _) => source;
@@ -4687,7 +4694,7 @@ var require_serde = __commonJS((exports) => {
4687
4694
  exports.strictParseShort = strictParseShort;
4688
4695
  });
4689
4696
 
4690
- // ../node_modules/.pnpm/@smithy+core@3.23.11/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
4697
+ // ../node_modules/.pnpm/@smithy+core@3.23.12/node_modules/@smithy/core/dist-cjs/submodules/event-streams/index.js
4691
4698
  var require_event_streams = __commonJS((exports) => {
4692
4699
  var utilUtf8 = require_dist_cjs7();
4693
4700
 
@@ -4928,7 +4935,7 @@ var require_event_streams = __commonJS((exports) => {
4928
4935
  exports.EventStreamSerde = EventStreamSerde;
4929
4936
  });
4930
4937
 
4931
- // ../node_modules/.pnpm/@smithy+core@3.23.11/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
4938
+ // ../node_modules/.pnpm/@smithy+core@3.23.12/node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js
4932
4939
  var require_protocols = __commonJS((exports) => {
4933
4940
  var utilStream = require_dist_cjs14();
4934
4941
  var schema = require_schema();
@@ -5767,7 +5774,7 @@ var require_protocols = __commonJS((exports) => {
5767
5774
  exports.resolvedPath = resolvedPath;
5768
5775
  });
5769
5776
 
5770
- // ../node_modules/.pnpm/@smithy+core@3.23.11/node_modules/@smithy/core/dist-cjs/index.js
5777
+ // ../node_modules/.pnpm/@smithy+core@3.23.12/node_modules/@smithy/core/dist-cjs/index.js
5771
5778
  var require_dist_cjs18 = __commonJS((exports) => {
5772
5779
  var types = require_dist_cjs();
5773
5780
  var utilMiddleware = require_dist_cjs4();
@@ -6205,7 +6212,7 @@ var require_dist_cjs19 = __commonJS((exports) => {
6205
6212
  exports.memoize = memoize;
6206
6213
  });
6207
6214
 
6208
- // ../node_modules/.pnpm/@aws-sdk+core@3.973.20/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
6215
+ // ../node_modules/.pnpm/@aws-sdk+core@3.973.21/node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js
6209
6216
  var require_client = __commonJS((exports) => {
6210
6217
  var state = {
6211
6218
  warningEmitted: false
@@ -6806,7 +6813,7 @@ var require_dist_cjs21 = __commonJS((exports) => {
6806
6813
  exports.calculateBodyLength = calculateBodyLength;
6807
6814
  });
6808
6815
 
6809
- // ../node_modules/.pnpm/@smithy+core@3.23.11/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
6816
+ // ../node_modules/.pnpm/@smithy+core@3.23.12/node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js
6810
6817
  var require_cbor = __commonJS((exports) => {
6811
6818
  var serde = require_serde();
6812
6819
  var utilUtf8 = require_dist_cjs7();
@@ -8099,7 +8106,7 @@ var require_dist_cjs22 = __commonJS((exports) => {
8099
8106
  exports.constructStack = constructStack;
8100
8107
  });
8101
8108
 
8102
- // ../node_modules/.pnpm/@smithy+smithy-client@4.12.5/node_modules/@smithy/smithy-client/dist-cjs/index.js
8109
+ // ../node_modules/.pnpm/@smithy+smithy-client@4.12.6/node_modules/@smithy/smithy-client/dist-cjs/index.js
8103
8110
  var require_dist_cjs23 = __commonJS((exports) => {
8104
8111
  var middlewareStack = require_dist_cjs22();
8105
8112
  var protocols = require_protocols();
@@ -8697,37 +8704,37 @@ var require_dist_cjs23 = __commonJS((exports) => {
8697
8704
  });
8698
8705
  });
8699
8706
 
8700
- // ../node_modules/.pnpm/fast-xml-parser@5.4.1/node_modules/fast-xml-parser/lib/fxp.cjs
8707
+ // ../node_modules/.pnpm/fast-xml-parser@5.5.6/node_modules/fast-xml-parser/lib/fxp.cjs
8701
8708
  var require_fxp = __commonJS((exports, module) => {
8702
8709
  (() => {
8703
- var t = { d: (e2, n2) => {
8704
- for (var i2 in n2)
8705
- t.o(n2, i2) && !t.o(e2, i2) && Object.defineProperty(e2, i2, { enumerable: true, get: n2[i2] });
8710
+ var t = { d: (e2, i2) => {
8711
+ for (var n2 in i2)
8712
+ t.o(i2, n2) && !t.o(e2, n2) && Object.defineProperty(e2, n2, { enumerable: true, get: i2[n2] });
8706
8713
  }, o: (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), r: (t2) => {
8707
8714
  typeof Symbol != "undefined" && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t2, "__esModule", { value: true });
8708
8715
  } }, e = {};
8709
- t.r(e), t.d(e, { XMLBuilder: () => gt3, XMLParser: () => it, XMLValidator: () => xt });
8710
- const n = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", i = new RegExp("^[" + n + "][" + n + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
8716
+ t.r(e), t.d(e, { XMLBuilder: () => Ot, XMLParser: () => ft, XMLValidator: () => $t });
8717
+ const i = ":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", n = new RegExp("^[" + i + "][" + i + "\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");
8711
8718
  function s(t2, e2) {
8712
- const n2 = [];
8713
- let i2 = e2.exec(t2);
8714
- for (;i2; ) {
8719
+ const i2 = [];
8720
+ let n2 = e2.exec(t2);
8721
+ for (;n2; ) {
8715
8722
  const s2 = [];
8716
- s2.startIndex = e2.lastIndex - i2[0].length;
8717
- const r2 = i2.length;
8723
+ s2.startIndex = e2.lastIndex - n2[0].length;
8724
+ const r2 = n2.length;
8718
8725
  for (let t3 = 0;t3 < r2; t3++)
8719
- s2.push(i2[t3]);
8720
- n2.push(s2), i2 = e2.exec(t2);
8726
+ s2.push(n2[t3]);
8727
+ i2.push(s2), n2 = e2.exec(t2);
8721
8728
  }
8722
- return n2;
8729
+ return i2;
8723
8730
  }
8724
8731
  const r = function(t2) {
8725
- return !(i.exec(t2) == null);
8726
- }, o = { allowBooleanAttributes: false, unpairedTags: [] };
8727
- function a(t2, e2) {
8728
- e2 = Object.assign({}, o, e2);
8729
- const n2 = [];
8730
- let i2 = false, s2 = false;
8732
+ return !(n.exec(t2) == null);
8733
+ }, o = ["hasOwnProperty", "toString", "valueOf", "__defineGetter__", "__defineSetter__", "__lookupGetter__", "__lookupSetter__"], a = ["__proto__", "constructor", "prototype"], h = { allowBooleanAttributes: false, unpairedTags: [] };
8734
+ function l(t2, e2) {
8735
+ e2 = Object.assign({}, h, e2);
8736
+ const i2 = [];
8737
+ let n2 = false, s2 = false;
8731
8738
  t2[0] === "\uFEFF" && (t2 = t2.substr(1));
8732
8739
  for (let r2 = 0;r2 < t2.length; r2++)
8733
8740
  if (t2[r2] === "<" && t2[r2 + 1] === "?") {
@@ -8735,14 +8742,14 @@ var require_fxp = __commonJS((exports, module) => {
8735
8742
  return r2;
8736
8743
  } else {
8737
8744
  if (t2[r2] !== "<") {
8738
- if (l(t2[r2]))
8745
+ if (p(t2[r2]))
8739
8746
  continue;
8740
- return m("InvalidChar", "char '" + t2[r2] + "' is not expected.", N(t2, r2));
8747
+ return b("InvalidChar", "char '" + t2[r2] + "' is not expected.", w(t2, r2));
8741
8748
  }
8742
8749
  {
8743
8750
  let o2 = r2;
8744
8751
  if (r2++, t2[r2] === "!") {
8745
- r2 = d(t2, r2);
8752
+ r2 = c(t2, r2);
8746
8753
  continue;
8747
8754
  }
8748
8755
  {
@@ -8752,48 +8759,48 @@ var require_fxp = __commonJS((exports, module) => {
8752
8759
  for (;r2 < t2.length && t2[r2] !== ">" && t2[r2] !== " " && t2[r2] !== "\t" && t2[r2] !== `
8753
8760
  ` && t2[r2] !== "\r"; r2++)
8754
8761
  h2 += t2[r2];
8755
- if (h2 = h2.trim(), h2[h2.length - 1] === "/" && (h2 = h2.substring(0, h2.length - 1), r2--), !b(h2)) {
8762
+ if (h2 = h2.trim(), h2[h2.length - 1] === "/" && (h2 = h2.substring(0, h2.length - 1), r2--), !y(h2)) {
8756
8763
  let e3;
8757
- return e3 = h2.trim().length === 0 ? "Invalid space after '<'." : "Tag '" + h2 + "' is an invalid name.", m("InvalidTag", e3, N(t2, r2));
8764
+ return e3 = h2.trim().length === 0 ? "Invalid space after '<'." : "Tag '" + h2 + "' is an invalid name.", b("InvalidTag", e3, w(t2, r2));
8758
8765
  }
8759
- const p2 = c(t2, r2);
8760
- if (p2 === false)
8761
- return m("InvalidAttr", "Attributes for '" + h2 + "' have open quote.", N(t2, r2));
8762
- let f2 = p2.value;
8763
- if (r2 = p2.index, f2[f2.length - 1] === "/") {
8764
- const n3 = r2 - f2.length;
8765
- f2 = f2.substring(0, f2.length - 1);
8766
- const s3 = g(f2, e2);
8766
+ const l2 = g(t2, r2);
8767
+ if (l2 === false)
8768
+ return b("InvalidAttr", "Attributes for '" + h2 + "' have open quote.", w(t2, r2));
8769
+ let d2 = l2.value;
8770
+ if (r2 = l2.index, d2[d2.length - 1] === "/") {
8771
+ const i3 = r2 - d2.length;
8772
+ d2 = d2.substring(0, d2.length - 1);
8773
+ const s3 = x(d2, e2);
8767
8774
  if (s3 !== true)
8768
- return m(s3.err.code, s3.err.msg, N(t2, n3 + s3.err.line));
8769
- i2 = true;
8775
+ return b(s3.err.code, s3.err.msg, w(t2, i3 + s3.err.line));
8776
+ n2 = true;
8770
8777
  } else if (a2) {
8771
- if (!p2.tagClosed)
8772
- return m("InvalidTag", "Closing tag '" + h2 + "' doesn't have proper closing.", N(t2, r2));
8773
- if (f2.trim().length > 0)
8774
- return m("InvalidTag", "Closing tag '" + h2 + "' can't have attributes or invalid starting.", N(t2, o2));
8775
- if (n2.length === 0)
8776
- return m("InvalidTag", "Closing tag '" + h2 + "' has not been opened.", N(t2, o2));
8778
+ if (!l2.tagClosed)
8779
+ return b("InvalidTag", "Closing tag '" + h2 + "' doesn't have proper closing.", w(t2, r2));
8780
+ if (d2.trim().length > 0)
8781
+ return b("InvalidTag", "Closing tag '" + h2 + "' can't have attributes or invalid starting.", w(t2, o2));
8782
+ if (i2.length === 0)
8783
+ return b("InvalidTag", "Closing tag '" + h2 + "' has not been opened.", w(t2, o2));
8777
8784
  {
8778
- const e3 = n2.pop();
8785
+ const e3 = i2.pop();
8779
8786
  if (h2 !== e3.tagName) {
8780
- let n3 = N(t2, e3.tagStartPos);
8781
- return m("InvalidTag", "Expected closing tag '" + e3.tagName + "' (opened in line " + n3.line + ", col " + n3.col + ") instead of closing tag '" + h2 + "'.", N(t2, o2));
8787
+ let i3 = w(t2, e3.tagStartPos);
8788
+ return b("InvalidTag", "Expected closing tag '" + e3.tagName + "' (opened in line " + i3.line + ", col " + i3.col + ") instead of closing tag '" + h2 + "'.", w(t2, o2));
8782
8789
  }
8783
- n2.length == 0 && (s2 = true);
8790
+ i2.length == 0 && (s2 = true);
8784
8791
  }
8785
8792
  } else {
8786
- const a3 = g(f2, e2);
8793
+ const a3 = x(d2, e2);
8787
8794
  if (a3 !== true)
8788
- return m(a3.err.code, a3.err.msg, N(t2, r2 - f2.length + a3.err.line));
8795
+ return b(a3.err.code, a3.err.msg, w(t2, r2 - d2.length + a3.err.line));
8789
8796
  if (s2 === true)
8790
- return m("InvalidXml", "Multiple possible root nodes found.", N(t2, r2));
8791
- e2.unpairedTags.indexOf(h2) !== -1 || n2.push({ tagName: h2, tagStartPos: o2 }), i2 = true;
8797
+ return b("InvalidXml", "Multiple possible root nodes found.", w(t2, r2));
8798
+ e2.unpairedTags.indexOf(h2) !== -1 || i2.push({ tagName: h2, tagStartPos: o2 }), n2 = true;
8792
8799
  }
8793
8800
  for (r2++;r2 < t2.length; r2++)
8794
8801
  if (t2[r2] === "<") {
8795
8802
  if (t2[r2 + 1] === "!") {
8796
- r2++, r2 = d(t2, r2);
8803
+ r2++, r2 = c(t2, r2);
8797
8804
  continue;
8798
8805
  }
8799
8806
  if (t2[r2 + 1] !== "?")
@@ -8801,29 +8808,29 @@ var require_fxp = __commonJS((exports, module) => {
8801
8808
  if (r2 = u(t2, ++r2), r2.err)
8802
8809
  return r2;
8803
8810
  } else if (t2[r2] === "&") {
8804
- const e3 = x(t2, r2);
8811
+ const e3 = N(t2, r2);
8805
8812
  if (e3 == -1)
8806
- return m("InvalidChar", "char '&' is not expected.", N(t2, r2));
8813
+ return b("InvalidChar", "char '&' is not expected.", w(t2, r2));
8807
8814
  r2 = e3;
8808
- } else if (s2 === true && !l(t2[r2]))
8809
- return m("InvalidXml", "Extra text at the end", N(t2, r2));
8815
+ } else if (s2 === true && !p(t2[r2]))
8816
+ return b("InvalidXml", "Extra text at the end", w(t2, r2));
8810
8817
  t2[r2] === "<" && r2--;
8811
8818
  }
8812
8819
  }
8813
8820
  }
8814
- return i2 ? n2.length == 1 ? m("InvalidTag", "Unclosed tag '" + n2[0].tagName + "'.", N(t2, n2[0].tagStartPos)) : !(n2.length > 0) || m("InvalidXml", "Invalid '" + JSON.stringify(n2.map((t3) => t3.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }) : m("InvalidXml", "Start tag expected.", 1);
8821
+ return n2 ? i2.length == 1 ? b("InvalidTag", "Unclosed tag '" + i2[0].tagName + "'.", w(t2, i2[0].tagStartPos)) : !(i2.length > 0) || b("InvalidXml", "Invalid '" + JSON.stringify(i2.map((t3) => t3.tagName), null, 4).replace(/\r?\n/g, "") + "' found.", { line: 1, col: 1 }) : b("InvalidXml", "Start tag expected.", 1);
8815
8822
  }
8816
- function l(t2) {
8823
+ function p(t2) {
8817
8824
  return t2 === " " || t2 === "\t" || t2 === `
8818
8825
  ` || t2 === "\r";
8819
8826
  }
8820
8827
  function u(t2, e2) {
8821
- const n2 = e2;
8828
+ const i2 = e2;
8822
8829
  for (;e2 < t2.length; e2++)
8823
8830
  if (t2[e2] == "?" || t2[e2] == " ") {
8824
- const i2 = t2.substr(n2, e2 - n2);
8825
- if (e2 > 5 && i2 === "xml")
8826
- return m("InvalidXml", "XML declaration allowed only at the start of the document.", N(t2, e2));
8831
+ const n2 = t2.substr(i2, e2 - i2);
8832
+ if (e2 > 5 && n2 === "xml")
8833
+ return b("InvalidXml", "XML declaration allowed only at the start of the document.", w(t2, e2));
8827
8834
  if (t2[e2] == "?" && t2[e2 + 1] == ">") {
8828
8835
  e2++;
8829
8836
  break;
@@ -8832,7 +8839,7 @@ var require_fxp = __commonJS((exports, module) => {
8832
8839
  }
8833
8840
  return e2;
8834
8841
  }
8835
- function d(t2, e2) {
8842
+ function c(t2, e2) {
8836
8843
  if (t2.length > e2 + 5 && t2[e2 + 1] === "-" && t2[e2 + 2] === "-") {
8837
8844
  for (e2 += 3;e2 < t2.length; e2++)
8838
8845
  if (t2[e2] === "-" && t2[e2 + 1] === "-" && t2[e2 + 2] === ">") {
@@ -8840,11 +8847,11 @@ var require_fxp = __commonJS((exports, module) => {
8840
8847
  break;
8841
8848
  }
8842
8849
  } else if (t2.length > e2 + 8 && t2[e2 + 1] === "D" && t2[e2 + 2] === "O" && t2[e2 + 3] === "C" && t2[e2 + 4] === "T" && t2[e2 + 5] === "Y" && t2[e2 + 6] === "P" && t2[e2 + 7] === "E") {
8843
- let n2 = 1;
8850
+ let i2 = 1;
8844
8851
  for (e2 += 8;e2 < t2.length; e2++)
8845
8852
  if (t2[e2] === "<")
8846
- n2++;
8847
- else if (t2[e2] === ">" && (n2--, n2 === 0))
8853
+ i2++;
8854
+ else if (t2[e2] === ">" && (i2--, i2 === 0))
8848
8855
  break;
8849
8856
  } else if (t2.length > e2 + 9 && t2[e2 + 1] === "[" && t2[e2 + 2] === "C" && t2[e2 + 3] === "D" && t2[e2 + 4] === "A" && t2[e2 + 5] === "T" && t2[e2 + 6] === "A" && t2[e2 + 7] === "[") {
8850
8857
  for (e2 += 8;e2 < t2.length; e2++)
@@ -8855,96 +8862,107 @@ var require_fxp = __commonJS((exports, module) => {
8855
8862
  }
8856
8863
  return e2;
8857
8864
  }
8858
- const h = '"', p = "'";
8859
- function c(t2, e2) {
8860
- let n2 = "", i2 = "", s2 = false;
8865
+ const d = '"', f = "'";
8866
+ function g(t2, e2) {
8867
+ let i2 = "", n2 = "", s2 = false;
8861
8868
  for (;e2 < t2.length; e2++) {
8862
- if (t2[e2] === h || t2[e2] === p)
8863
- i2 === "" ? i2 = t2[e2] : i2 !== t2[e2] || (i2 = "");
8864
- else if (t2[e2] === ">" && i2 === "") {
8869
+ if (t2[e2] === d || t2[e2] === f)
8870
+ n2 === "" ? n2 = t2[e2] : n2 !== t2[e2] || (n2 = "");
8871
+ else if (t2[e2] === ">" && n2 === "") {
8865
8872
  s2 = true;
8866
8873
  break;
8867
8874
  }
8868
- n2 += t2[e2];
8875
+ i2 += t2[e2];
8869
8876
  }
8870
- return i2 === "" && { value: n2, index: e2, tagClosed: s2 };
8877
+ return n2 === "" && { value: i2, index: e2, tagClosed: s2 };
8871
8878
  }
8872
- const f = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
8873
- function g(t2, e2) {
8874
- const n2 = s(t2, f), i2 = {};
8875
- for (let t3 = 0;t3 < n2.length; t3++) {
8876
- if (n2[t3][1].length === 0)
8877
- return m("InvalidAttr", "Attribute '" + n2[t3][2] + "' has no space in starting.", y(n2[t3]));
8878
- if (n2[t3][3] !== undefined && n2[t3][4] === undefined)
8879
- return m("InvalidAttr", "Attribute '" + n2[t3][2] + "' is without value.", y(n2[t3]));
8880
- if (n2[t3][3] === undefined && !e2.allowBooleanAttributes)
8881
- return m("InvalidAttr", "boolean attribute '" + n2[t3][2] + "' is not allowed.", y(n2[t3]));
8882
- const s2 = n2[t3][2];
8879
+ const m = new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`, "g");
8880
+ function x(t2, e2) {
8881
+ const i2 = s(t2, m), n2 = {};
8882
+ for (let t3 = 0;t3 < i2.length; t3++) {
8883
+ if (i2[t3][1].length === 0)
8884
+ return b("InvalidAttr", "Attribute '" + i2[t3][2] + "' has no space in starting.", v(i2[t3]));
8885
+ if (i2[t3][3] !== undefined && i2[t3][4] === undefined)
8886
+ return b("InvalidAttr", "Attribute '" + i2[t3][2] + "' is without value.", v(i2[t3]));
8887
+ if (i2[t3][3] === undefined && !e2.allowBooleanAttributes)
8888
+ return b("InvalidAttr", "boolean attribute '" + i2[t3][2] + "' is not allowed.", v(i2[t3]));
8889
+ const s2 = i2[t3][2];
8883
8890
  if (!E(s2))
8884
- return m("InvalidAttr", "Attribute '" + s2 + "' is an invalid name.", y(n2[t3]));
8885
- if (Object.prototype.hasOwnProperty.call(i2, s2))
8886
- return m("InvalidAttr", "Attribute '" + s2 + "' is repeated.", y(n2[t3]));
8887
- i2[s2] = 1;
8891
+ return b("InvalidAttr", "Attribute '" + s2 + "' is an invalid name.", v(i2[t3]));
8892
+ if (Object.prototype.hasOwnProperty.call(n2, s2))
8893
+ return b("InvalidAttr", "Attribute '" + s2 + "' is repeated.", v(i2[t3]));
8894
+ n2[s2] = 1;
8888
8895
  }
8889
8896
  return true;
8890
8897
  }
8891
- function x(t2, e2) {
8898
+ function N(t2, e2) {
8892
8899
  if (t2[++e2] === ";")
8893
8900
  return -1;
8894
8901
  if (t2[e2] === "#")
8895
8902
  return function(t3, e3) {
8896
- let n3 = /\d/;
8897
- for (t3[e3] === "x" && (e3++, n3 = /[\da-fA-F]/);e3 < t3.length; e3++) {
8903
+ let i3 = /\d/;
8904
+ for (t3[e3] === "x" && (e3++, i3 = /[\da-fA-F]/);e3 < t3.length; e3++) {
8898
8905
  if (t3[e3] === ";")
8899
8906
  return e3;
8900
- if (!t3[e3].match(n3))
8907
+ if (!t3[e3].match(i3))
8901
8908
  break;
8902
8909
  }
8903
8910
  return -1;
8904
8911
  }(t2, ++e2);
8905
- let n2 = 0;
8906
- for (;e2 < t2.length; e2++, n2++)
8907
- if (!(t2[e2].match(/\w/) && n2 < 20)) {
8912
+ let i2 = 0;
8913
+ for (;e2 < t2.length; e2++, i2++)
8914
+ if (!(t2[e2].match(/\w/) && i2 < 20)) {
8908
8915
  if (t2[e2] === ";")
8909
8916
  break;
8910
8917
  return -1;
8911
8918
  }
8912
8919
  return e2;
8913
8920
  }
8914
- function m(t2, e2, n2) {
8915
- return { err: { code: t2, msg: e2, line: n2.line || n2, col: n2.col } };
8921
+ function b(t2, e2, i2) {
8922
+ return { err: { code: t2, msg: e2, line: i2.line || i2, col: i2.col } };
8916
8923
  }
8917
8924
  function E(t2) {
8918
8925
  return r(t2);
8919
8926
  }
8920
- function b(t2) {
8927
+ function y(t2) {
8921
8928
  return r(t2);
8922
8929
  }
8923
- function N(t2, e2) {
8924
- const n2 = t2.substring(0, e2).split(/\r?\n/);
8925
- return { line: n2.length, col: n2[n2.length - 1].length + 1 };
8930
+ function w(t2, e2) {
8931
+ const i2 = t2.substring(0, e2).split(/\r?\n/);
8932
+ return { line: i2.length, col: i2[i2.length - 1].length + 1 };
8926
8933
  }
8927
- function y(t2) {
8934
+ function v(t2) {
8928
8935
  return t2.startIndex + t2[1].length;
8929
8936
  }
8930
- const T = { preserveOrder: false, attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, removeNSPrefix: false, allowBooleanAttributes: false, parseTagValue: true, parseAttributeValue: false, trimValues: true, cdataPropName: false, numberParseOptions: { hex: true, leadingZeros: true, eNotation: true }, tagValueProcessor: function(t2, e2) {
8937
+ const T = (t2) => o.includes(t2) ? "__" + t2 : t2, P = { preserveOrder: false, attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, removeNSPrefix: false, allowBooleanAttributes: false, parseTagValue: true, parseAttributeValue: false, trimValues: true, cdataPropName: false, numberParseOptions: { hex: true, leadingZeros: true, eNotation: true }, tagValueProcessor: function(t2, e2) {
8931
8938
  return e2;
8932
8939
  }, attributeValueProcessor: function(t2, e2) {
8933
8940
  return e2;
8934
- }, stopNodes: [], alwaysCreateTextNode: false, isArray: () => false, commentPropName: false, unpairedTags: [], processEntities: true, htmlEntities: false, ignoreDeclaration: false, ignorePiTags: false, transformTagName: false, transformAttributeName: false, updateTag: function(t2, e2, n2) {
8941
+ }, stopNodes: [], alwaysCreateTextNode: false, isArray: () => false, commentPropName: false, unpairedTags: [], processEntities: true, htmlEntities: false, ignoreDeclaration: false, ignorePiTags: false, transformTagName: false, transformAttributeName: false, updateTag: function(t2, e2, i2) {
8935
8942
  return t2;
8936
- }, captureMetaData: false, maxNestedTags: 100, strictReservedNames: true };
8937
- function w(t2) {
8938
- return typeof t2 == "boolean" ? { enabled: t2, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1000, maxExpandedLength: 1e5, allowedTags: null, tagFilter: null } : typeof t2 == "object" && t2 !== null ? { enabled: t2.enabled !== false, maxEntitySize: t2.maxEntitySize ?? 1e4, maxExpansionDepth: t2.maxExpansionDepth ?? 10, maxTotalExpansions: t2.maxTotalExpansions ?? 1000, maxExpandedLength: t2.maxExpandedLength ?? 1e5, allowedTags: t2.allowedTags ?? null, tagFilter: t2.tagFilter ?? null } : w(true);
8943
+ }, captureMetaData: false, maxNestedTags: 100, strictReservedNames: true, jPath: true, onDangerousProperty: T };
8944
+ function S(t2, e2) {
8945
+ if (typeof t2 != "string")
8946
+ return;
8947
+ const i2 = t2.toLowerCase();
8948
+ if (o.some((t3) => i2 === t3.toLowerCase()))
8949
+ throw new Error(`[SECURITY] Invalid ${e2}: "${t2}" is a reserved JavaScript keyword that could cause prototype pollution`);
8950
+ if (a.some((t3) => i2 === t3.toLowerCase()))
8951
+ throw new Error(`[SECURITY] Invalid ${e2}: "${t2}" is a reserved JavaScript keyword that could cause prototype pollution`);
8939
8952
  }
8940
- const v = function(t2) {
8941
- const e2 = Object.assign({}, T, t2);
8942
- return e2.processEntities = w(e2.processEntities), e2;
8953
+ function A(t2) {
8954
+ return typeof t2 == "boolean" ? { enabled: t2, maxEntitySize: 1e4, maxExpansionDepth: 10, maxTotalExpansions: 1000, maxExpandedLength: 1e5, maxEntityCount: 100, allowedTags: null, tagFilter: null } : typeof t2 == "object" && t2 !== null ? { enabled: t2.enabled !== false, maxEntitySize: t2.maxEntitySize ?? 1e4, maxExpansionDepth: t2.maxExpansionDepth ?? 10, maxTotalExpansions: t2.maxTotalExpansions ?? 1000, maxExpandedLength: t2.maxExpandedLength ?? 1e5, maxEntityCount: t2.maxEntityCount ?? 100, allowedTags: t2.allowedTags ?? null, tagFilter: t2.tagFilter ?? null } : A(true);
8955
+ }
8956
+ const C = function(t2) {
8957
+ const e2 = Object.assign({}, P, t2), i2 = [{ value: e2.attributeNamePrefix, name: "attributeNamePrefix" }, { value: e2.attributesGroupName, name: "attributesGroupName" }, { value: e2.textNodeName, name: "textNodeName" }, { value: e2.cdataPropName, name: "cdataPropName" }, { value: e2.commentPropName, name: "commentPropName" }];
8958
+ for (const { value: t3, name: e3 } of i2)
8959
+ t3 && S(t3, e3);
8960
+ return e2.onDangerousProperty === null && (e2.onDangerousProperty = T), e2.processEntities = A(e2.processEntities), e2.stopNodes && Array.isArray(e2.stopNodes) && (e2.stopNodes = e2.stopNodes.map((t3) => typeof t3 == "string" && t3.startsWith("*.") ? ".." + t3.substring(2) : t3)), e2;
8943
8961
  };
8944
8962
  let O;
8945
8963
  O = typeof Symbol != "function" ? "@@xmlMetadata" : Symbol("XML Node Metadata");
8946
8964
 
8947
- class I {
8965
+ class $ {
8948
8966
  constructor(t2) {
8949
8967
  this.tagname = t2, this.child = [], this[":@"] = Object.create(null);
8950
8968
  }
@@ -8959,236 +8977,478 @@ var require_fxp = __commonJS((exports, module) => {
8959
8977
  }
8960
8978
  }
8961
8979
 
8962
- class P {
8980
+ class I {
8963
8981
  constructor(t2) {
8964
8982
  this.suppressValidationErr = !t2, this.options = t2;
8965
8983
  }
8966
8984
  readDocType(t2, e2) {
8967
- const n2 = Object.create(null);
8985
+ const i2 = Object.create(null);
8986
+ let n2 = 0;
8968
8987
  if (t2[e2 + 3] !== "O" || t2[e2 + 4] !== "C" || t2[e2 + 5] !== "T" || t2[e2 + 6] !== "Y" || t2[e2 + 7] !== "P" || t2[e2 + 8] !== "E")
8969
8988
  throw new Error("Invalid Tag instead of DOCTYPE");
8970
8989
  {
8971
8990
  e2 += 9;
8972
- let i2 = 1, s2 = false, r2 = false, o2 = "";
8991
+ let s2 = 1, r2 = false, o2 = false, a2 = "";
8973
8992
  for (;e2 < t2.length; e2++)
8974
- if (t2[e2] !== "<" || r2)
8993
+ if (t2[e2] !== "<" || o2)
8975
8994
  if (t2[e2] === ">") {
8976
- if (r2 ? t2[e2 - 1] === "-" && t2[e2 - 2] === "-" && (r2 = false, i2--) : i2--, i2 === 0)
8995
+ if (o2 ? t2[e2 - 1] === "-" && t2[e2 - 2] === "-" && (o2 = false, s2--) : s2--, s2 === 0)
8977
8996
  break;
8978
8997
  } else
8979
- t2[e2] === "[" ? s2 = true : o2 += t2[e2];
8998
+ t2[e2] === "[" ? r2 = true : a2 += t2[e2];
8980
8999
  else {
8981
- if (s2 && S(t2, "!ENTITY", e2)) {
8982
- let i3, s3;
8983
- if (e2 += 7, [i3, s3, e2] = this.readEntityExp(t2, e2 + 1, this.suppressValidationErr), s3.indexOf("&") === -1) {
8984
- const t3 = i3.replace(/[.\-+*:]/g, "\\.");
8985
- n2[i3] = { regx: RegExp(`&${t3};`, "g"), val: s3 };
9000
+ if (r2 && _(t2, "!ENTITY", e2)) {
9001
+ let s3, r3;
9002
+ if (e2 += 7, [s3, r3, e2] = this.readEntityExp(t2, e2 + 1, this.suppressValidationErr), r3.indexOf("&") === -1) {
9003
+ if (this.options.enabled !== false && this.options.maxEntityCount && n2 >= this.options.maxEntityCount)
9004
+ throw new Error(`Entity count (${n2 + 1}) exceeds maximum allowed (${this.options.maxEntityCount})`);
9005
+ const t3 = s3.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
9006
+ i2[s3] = { regx: RegExp(`&${t3};`, "g"), val: r3 }, n2++;
8986
9007
  }
8987
- } else if (s2 && S(t2, "!ELEMENT", e2)) {
9008
+ } else if (r2 && _(t2, "!ELEMENT", e2)) {
8988
9009
  e2 += 8;
8989
- const { index: n3 } = this.readElementExp(t2, e2 + 1);
8990
- e2 = n3;
8991
- } else if (s2 && S(t2, "!ATTLIST", e2))
9010
+ const { index: i3 } = this.readElementExp(t2, e2 + 1);
9011
+ e2 = i3;
9012
+ } else if (r2 && _(t2, "!ATTLIST", e2))
8992
9013
  e2 += 8;
8993
- else if (s2 && S(t2, "!NOTATION", e2)) {
9014
+ else if (r2 && _(t2, "!NOTATION", e2)) {
8994
9015
  e2 += 9;
8995
- const { index: n3 } = this.readNotationExp(t2, e2 + 1, this.suppressValidationErr);
8996
- e2 = n3;
9016
+ const { index: i3 } = this.readNotationExp(t2, e2 + 1, this.suppressValidationErr);
9017
+ e2 = i3;
8997
9018
  } else {
8998
- if (!S(t2, "!--", e2))
9019
+ if (!_(t2, "!--", e2))
8999
9020
  throw new Error("Invalid DOCTYPE");
9000
- r2 = true;
9021
+ o2 = true;
9001
9022
  }
9002
- i2++, o2 = "";
9023
+ s2++, a2 = "";
9003
9024
  }
9004
- if (i2 !== 0)
9025
+ if (s2 !== 0)
9005
9026
  throw new Error("Unclosed DOCTYPE");
9006
9027
  }
9007
- return { entities: n2, i: e2 };
9028
+ return { entities: i2, i: e2 };
9008
9029
  }
9009
9030
  readEntityExp(t2, e2) {
9010
- e2 = A(t2, e2);
9011
- let n2 = "";
9031
+ e2 = j(t2, e2);
9032
+ let i2 = "";
9012
9033
  for (;e2 < t2.length && !/\s/.test(t2[e2]) && t2[e2] !== '"' && t2[e2] !== "'"; )
9013
- n2 += t2[e2], e2++;
9014
- if (C(n2), e2 = A(t2, e2), !this.suppressValidationErr) {
9034
+ i2 += t2[e2], e2++;
9035
+ if (D(i2), e2 = j(t2, e2), !this.suppressValidationErr) {
9015
9036
  if (t2.substring(e2, e2 + 6).toUpperCase() === "SYSTEM")
9016
9037
  throw new Error("External entities are not supported");
9017
9038
  if (t2[e2] === "%")
9018
9039
  throw new Error("Parameter entities are not supported");
9019
9040
  }
9020
- let i2 = "";
9021
- if ([e2, i2] = this.readIdentifierVal(t2, e2, "entity"), this.options.enabled !== false && this.options.maxEntitySize && i2.length > this.options.maxEntitySize)
9022
- throw new Error(`Entity "${n2}" size (${i2.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);
9023
- return [n2, i2, --e2];
9041
+ let n2 = "";
9042
+ if ([e2, n2] = this.readIdentifierVal(t2, e2, "entity"), this.options.enabled !== false && this.options.maxEntitySize && n2.length > this.options.maxEntitySize)
9043
+ throw new Error(`Entity "${i2}" size (${n2.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);
9044
+ return [i2, n2, --e2];
9024
9045
  }
9025
9046
  readNotationExp(t2, e2) {
9026
- e2 = A(t2, e2);
9027
- let n2 = "";
9047
+ e2 = j(t2, e2);
9048
+ let i2 = "";
9028
9049
  for (;e2 < t2.length && !/\s/.test(t2[e2]); )
9029
- n2 += t2[e2], e2++;
9030
- !this.suppressValidationErr && C(n2), e2 = A(t2, e2);
9031
- const i2 = t2.substring(e2, e2 + 6).toUpperCase();
9032
- if (!this.suppressValidationErr && i2 !== "SYSTEM" && i2 !== "PUBLIC")
9033
- throw new Error(`Expected SYSTEM or PUBLIC, found "${i2}"`);
9034
- e2 += i2.length, e2 = A(t2, e2);
9050
+ i2 += t2[e2], e2++;
9051
+ !this.suppressValidationErr && D(i2), e2 = j(t2, e2);
9052
+ const n2 = t2.substring(e2, e2 + 6).toUpperCase();
9053
+ if (!this.suppressValidationErr && n2 !== "SYSTEM" && n2 !== "PUBLIC")
9054
+ throw new Error(`Expected SYSTEM or PUBLIC, found "${n2}"`);
9055
+ e2 += n2.length, e2 = j(t2, e2);
9035
9056
  let s2 = null, r2 = null;
9036
- if (i2 === "PUBLIC")
9037
- [e2, s2] = this.readIdentifierVal(t2, e2, "publicIdentifier"), t2[e2 = A(t2, e2)] !== '"' && t2[e2] !== "'" || ([e2, r2] = this.readIdentifierVal(t2, e2, "systemIdentifier"));
9038
- else if (i2 === "SYSTEM" && ([e2, r2] = this.readIdentifierVal(t2, e2, "systemIdentifier"), !this.suppressValidationErr && !r2))
9057
+ if (n2 === "PUBLIC")
9058
+ [e2, s2] = this.readIdentifierVal(t2, e2, "publicIdentifier"), t2[e2 = j(t2, e2)] !== '"' && t2[e2] !== "'" || ([e2, r2] = this.readIdentifierVal(t2, e2, "systemIdentifier"));
9059
+ else if (n2 === "SYSTEM" && ([e2, r2] = this.readIdentifierVal(t2, e2, "systemIdentifier"), !this.suppressValidationErr && !r2))
9039
9060
  throw new Error("Missing mandatory system identifier for SYSTEM notation");
9040
- return { notationName: n2, publicIdentifier: s2, systemIdentifier: r2, index: --e2 };
9061
+ return { notationName: i2, publicIdentifier: s2, systemIdentifier: r2, index: --e2 };
9041
9062
  }
9042
- readIdentifierVal(t2, e2, n2) {
9043
- let i2 = "";
9063
+ readIdentifierVal(t2, e2, i2) {
9064
+ let n2 = "";
9044
9065
  const s2 = t2[e2];
9045
9066
  if (s2 !== '"' && s2 !== "'")
9046
9067
  throw new Error(`Expected quoted string, found "${s2}"`);
9047
9068
  for (e2++;e2 < t2.length && t2[e2] !== s2; )
9048
- i2 += t2[e2], e2++;
9069
+ n2 += t2[e2], e2++;
9049
9070
  if (t2[e2] !== s2)
9050
- throw new Error(`Unterminated ${n2} value`);
9051
- return [++e2, i2];
9071
+ throw new Error(`Unterminated ${i2} value`);
9072
+ return [++e2, n2];
9052
9073
  }
9053
9074
  readElementExp(t2, e2) {
9054
- e2 = A(t2, e2);
9055
- let n2 = "";
9056
- for (;e2 < t2.length && !/\s/.test(t2[e2]); )
9057
- n2 += t2[e2], e2++;
9058
- if (!this.suppressValidationErr && !r(n2))
9059
- throw new Error(`Invalid element name: "${n2}"`);
9075
+ e2 = j(t2, e2);
9060
9076
  let i2 = "";
9061
- if (t2[e2 = A(t2, e2)] === "E" && S(t2, "MPTY", e2))
9077
+ for (;e2 < t2.length && !/\s/.test(t2[e2]); )
9078
+ i2 += t2[e2], e2++;
9079
+ if (!this.suppressValidationErr && !r(i2))
9080
+ throw new Error(`Invalid element name: "${i2}"`);
9081
+ let n2 = "";
9082
+ if (t2[e2 = j(t2, e2)] === "E" && _(t2, "MPTY", e2))
9062
9083
  e2 += 4;
9063
- else if (t2[e2] === "A" && S(t2, "NY", e2))
9084
+ else if (t2[e2] === "A" && _(t2, "NY", e2))
9064
9085
  e2 += 2;
9065
9086
  else if (t2[e2] === "(") {
9066
9087
  for (e2++;e2 < t2.length && t2[e2] !== ")"; )
9067
- i2 += t2[e2], e2++;
9088
+ n2 += t2[e2], e2++;
9068
9089
  if (t2[e2] !== ")")
9069
9090
  throw new Error("Unterminated content model");
9070
9091
  } else if (!this.suppressValidationErr)
9071
9092
  throw new Error(`Invalid Element Expression, found "${t2[e2]}"`);
9072
- return { elementName: n2, contentModel: i2.trim(), index: e2 };
9093
+ return { elementName: i2, contentModel: n2.trim(), index: e2 };
9073
9094
  }
9074
9095
  readAttlistExp(t2, e2) {
9075
- e2 = A(t2, e2);
9076
- let n2 = "";
9077
- for (;e2 < t2.length && !/\s/.test(t2[e2]); )
9078
- n2 += t2[e2], e2++;
9079
- C(n2), e2 = A(t2, e2);
9096
+ e2 = j(t2, e2);
9080
9097
  let i2 = "";
9081
9098
  for (;e2 < t2.length && !/\s/.test(t2[e2]); )
9082
9099
  i2 += t2[e2], e2++;
9083
- if (!C(i2))
9084
- throw new Error(`Invalid attribute name: "${i2}"`);
9085
- e2 = A(t2, e2);
9100
+ D(i2), e2 = j(t2, e2);
9101
+ let n2 = "";
9102
+ for (;e2 < t2.length && !/\s/.test(t2[e2]); )
9103
+ n2 += t2[e2], e2++;
9104
+ if (!D(n2))
9105
+ throw new Error(`Invalid attribute name: "${n2}"`);
9106
+ e2 = j(t2, e2);
9086
9107
  let s2 = "";
9087
9108
  if (t2.substring(e2, e2 + 8).toUpperCase() === "NOTATION") {
9088
- if (s2 = "NOTATION", t2[e2 = A(t2, e2 += 8)] !== "(")
9109
+ if (s2 = "NOTATION", t2[e2 = j(t2, e2 += 8)] !== "(")
9089
9110
  throw new Error(`Expected '(', found "${t2[e2]}"`);
9090
9111
  e2++;
9091
- let n3 = [];
9112
+ let i3 = [];
9092
9113
  for (;e2 < t2.length && t2[e2] !== ")"; ) {
9093
- let i3 = "";
9114
+ let n3 = "";
9094
9115
  for (;e2 < t2.length && t2[e2] !== "|" && t2[e2] !== ")"; )
9095
- i3 += t2[e2], e2++;
9096
- if (i3 = i3.trim(), !C(i3))
9097
- throw new Error(`Invalid notation name: "${i3}"`);
9098
- n3.push(i3), t2[e2] === "|" && (e2++, e2 = A(t2, e2));
9116
+ n3 += t2[e2], e2++;
9117
+ if (n3 = n3.trim(), !D(n3))
9118
+ throw new Error(`Invalid notation name: "${n3}"`);
9119
+ i3.push(n3), t2[e2] === "|" && (e2++, e2 = j(t2, e2));
9099
9120
  }
9100
9121
  if (t2[e2] !== ")")
9101
9122
  throw new Error("Unterminated list of notations");
9102
- e2++, s2 += " (" + n3.join("|") + ")";
9123
+ e2++, s2 += " (" + i3.join("|") + ")";
9103
9124
  } else {
9104
9125
  for (;e2 < t2.length && !/\s/.test(t2[e2]); )
9105
9126
  s2 += t2[e2], e2++;
9106
- const n3 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
9107
- if (!this.suppressValidationErr && !n3.includes(s2.toUpperCase()))
9127
+ const i3 = ["CDATA", "ID", "IDREF", "IDREFS", "ENTITY", "ENTITIES", "NMTOKEN", "NMTOKENS"];
9128
+ if (!this.suppressValidationErr && !i3.includes(s2.toUpperCase()))
9108
9129
  throw new Error(`Invalid attribute type: "${s2}"`);
9109
9130
  }
9110
- e2 = A(t2, e2);
9131
+ e2 = j(t2, e2);
9111
9132
  let r2 = "";
9112
- return t2.substring(e2, e2 + 8).toUpperCase() === "#REQUIRED" ? (r2 = "#REQUIRED", e2 += 8) : t2.substring(e2, e2 + 7).toUpperCase() === "#IMPLIED" ? (r2 = "#IMPLIED", e2 += 7) : [e2, r2] = this.readIdentifierVal(t2, e2, "ATTLIST"), { elementName: n2, attributeName: i2, attributeType: s2, defaultValue: r2, index: e2 };
9133
+ return t2.substring(e2, e2 + 8).toUpperCase() === "#REQUIRED" ? (r2 = "#REQUIRED", e2 += 8) : t2.substring(e2, e2 + 7).toUpperCase() === "#IMPLIED" ? (r2 = "#IMPLIED", e2 += 7) : [e2, r2] = this.readIdentifierVal(t2, e2, "ATTLIST"), { elementName: i2, attributeName: n2, attributeType: s2, defaultValue: r2, index: e2 };
9113
9134
  }
9114
9135
  }
9115
- const A = (t2, e2) => {
9136
+ const j = (t2, e2) => {
9116
9137
  for (;e2 < t2.length && /\s/.test(t2[e2]); )
9117
9138
  e2++;
9118
9139
  return e2;
9119
9140
  };
9120
- function S(t2, e2, n2) {
9121
- for (let i2 = 0;i2 < e2.length; i2++)
9122
- if (e2[i2] !== t2[n2 + i2 + 1])
9141
+ function _(t2, e2, i2) {
9142
+ for (let n2 = 0;n2 < e2.length; n2++)
9143
+ if (e2[n2] !== t2[i2 + n2 + 1])
9123
9144
  return false;
9124
9145
  return true;
9125
9146
  }
9126
- function C(t2) {
9147
+ function D(t2) {
9127
9148
  if (r(t2))
9128
9149
  return t2;
9129
9150
  throw new Error(`Invalid entity name ${t2}`);
9130
9151
  }
9131
- const $ = /^[-+]?0x[a-fA-F0-9]+$/, V = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, D = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true };
9132
- const j = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
9152
+ const V = /^[-+]?0x[a-fA-F0-9]+$/, k = /^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/, F = { hex: true, leadingZeros: true, decimalPoint: ".", eNotation: true };
9153
+ const L = /^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;
9154
+
9155
+ class M {
9156
+ constructor(t2 = {}) {
9157
+ this.separator = t2.separator || ".", this.path = [], this.siblingStacks = [];
9158
+ }
9159
+ push(t2, e2 = null, i2 = null) {
9160
+ this.path.length > 0 && (this.path[this.path.length - 1].values = undefined);
9161
+ const n2 = this.path.length;
9162
+ this.siblingStacks[n2] || (this.siblingStacks[n2] = new Map);
9163
+ const s2 = this.siblingStacks[n2], r2 = i2 ? `${i2}:${t2}` : t2, o2 = s2.get(r2) || 0;
9164
+ let a2 = 0;
9165
+ for (const t3 of s2.values())
9166
+ a2 += t3;
9167
+ s2.set(r2, o2 + 1);
9168
+ const h2 = { tag: t2, position: a2, counter: o2 };
9169
+ i2 != null && (h2.namespace = i2), e2 != null && (h2.values = e2), this.path.push(h2);
9170
+ }
9171
+ pop() {
9172
+ if (this.path.length === 0)
9173
+ return;
9174
+ const t2 = this.path.pop();
9175
+ return this.siblingStacks.length > this.path.length + 1 && (this.siblingStacks.length = this.path.length + 1), t2;
9176
+ }
9177
+ updateCurrent(t2) {
9178
+ if (this.path.length > 0) {
9179
+ const e2 = this.path[this.path.length - 1];
9180
+ t2 != null && (e2.values = t2);
9181
+ }
9182
+ }
9183
+ getCurrentTag() {
9184
+ return this.path.length > 0 ? this.path[this.path.length - 1].tag : undefined;
9185
+ }
9186
+ getCurrentNamespace() {
9187
+ return this.path.length > 0 ? this.path[this.path.length - 1].namespace : undefined;
9188
+ }
9189
+ getAttrValue(t2) {
9190
+ if (this.path.length === 0)
9191
+ return;
9192
+ const e2 = this.path[this.path.length - 1];
9193
+ return e2.values?.[t2];
9194
+ }
9195
+ hasAttr(t2) {
9196
+ if (this.path.length === 0)
9197
+ return false;
9198
+ const e2 = this.path[this.path.length - 1];
9199
+ return e2.values !== undefined && t2 in e2.values;
9200
+ }
9201
+ getPosition() {
9202
+ return this.path.length === 0 ? -1 : this.path[this.path.length - 1].position ?? 0;
9203
+ }
9204
+ getCounter() {
9205
+ return this.path.length === 0 ? -1 : this.path[this.path.length - 1].counter ?? 0;
9206
+ }
9207
+ getIndex() {
9208
+ return this.getPosition();
9209
+ }
9210
+ getDepth() {
9211
+ return this.path.length;
9212
+ }
9213
+ toString(t2, e2 = true) {
9214
+ const i2 = t2 || this.separator;
9215
+ return this.path.map((t3) => e2 && t3.namespace ? `${t3.namespace}:${t3.tag}` : t3.tag).join(i2);
9216
+ }
9217
+ toArray() {
9218
+ return this.path.map((t2) => t2.tag);
9219
+ }
9220
+ reset() {
9221
+ this.path = [], this.siblingStacks = [];
9222
+ }
9223
+ matches(t2) {
9224
+ const e2 = t2.segments;
9225
+ return e2.length !== 0 && (t2.hasDeepWildcard() ? this._matchWithDeepWildcard(e2) : this._matchSimple(e2));
9226
+ }
9227
+ _matchSimple(t2) {
9228
+ if (this.path.length !== t2.length)
9229
+ return false;
9230
+ for (let e2 = 0;e2 < t2.length; e2++) {
9231
+ const i2 = t2[e2], n2 = this.path[e2], s2 = e2 === this.path.length - 1;
9232
+ if (!this._matchSegment(i2, n2, s2))
9233
+ return false;
9234
+ }
9235
+ return true;
9236
+ }
9237
+ _matchWithDeepWildcard(t2) {
9238
+ let e2 = this.path.length - 1, i2 = t2.length - 1;
9239
+ for (;i2 >= 0 && e2 >= 0; ) {
9240
+ const n2 = t2[i2];
9241
+ if (n2.type === "deep-wildcard") {
9242
+ if (i2--, i2 < 0)
9243
+ return true;
9244
+ const n3 = t2[i2];
9245
+ let s2 = false;
9246
+ for (let t3 = e2;t3 >= 0; t3--) {
9247
+ const r2 = t3 === this.path.length - 1;
9248
+ if (this._matchSegment(n3, this.path[t3], r2)) {
9249
+ e2 = t3 - 1, i2--, s2 = true;
9250
+ break;
9251
+ }
9252
+ }
9253
+ if (!s2)
9254
+ return false;
9255
+ } else {
9256
+ const t3 = e2 === this.path.length - 1;
9257
+ if (!this._matchSegment(n2, this.path[e2], t3))
9258
+ return false;
9259
+ e2--, i2--;
9260
+ }
9261
+ }
9262
+ return i2 < 0;
9263
+ }
9264
+ _matchSegment(t2, e2, i2) {
9265
+ if (t2.tag !== "*" && t2.tag !== e2.tag)
9266
+ return false;
9267
+ if (t2.namespace !== undefined && t2.namespace !== "*" && t2.namespace !== e2.namespace)
9268
+ return false;
9269
+ if (t2.attrName !== undefined) {
9270
+ if (!i2)
9271
+ return false;
9272
+ if (!e2.values || !(t2.attrName in e2.values))
9273
+ return false;
9274
+ if (t2.attrValue !== undefined) {
9275
+ const i3 = e2.values[t2.attrName];
9276
+ if (String(i3) !== String(t2.attrValue))
9277
+ return false;
9278
+ }
9279
+ }
9280
+ if (t2.position !== undefined) {
9281
+ if (!i2)
9282
+ return false;
9283
+ const n2 = e2.counter ?? 0;
9284
+ if (t2.position === "first" && n2 !== 0)
9285
+ return false;
9286
+ if (t2.position === "odd" && n2 % 2 != 1)
9287
+ return false;
9288
+ if (t2.position === "even" && n2 % 2 != 0)
9289
+ return false;
9290
+ if (t2.position === "nth" && n2 !== t2.positionValue)
9291
+ return false;
9292
+ }
9293
+ return true;
9294
+ }
9295
+ snapshot() {
9296
+ return { path: this.path.map((t2) => ({ ...t2 })), siblingStacks: this.siblingStacks.map((t2) => new Map(t2)) };
9297
+ }
9298
+ restore(t2) {
9299
+ this.path = t2.path.map((t3) => ({ ...t3 })), this.siblingStacks = t2.siblingStacks.map((t3) => new Map(t3));
9300
+ }
9301
+ }
9133
9302
 
9134
- class L {
9303
+ class G {
9304
+ constructor(t2, e2 = {}) {
9305
+ this.pattern = t2, this.separator = e2.separator || ".", this.segments = this._parse(t2), this._hasDeepWildcard = this.segments.some((t3) => t3.type === "deep-wildcard"), this._hasAttributeCondition = this.segments.some((t3) => t3.attrName !== undefined), this._hasPositionSelector = this.segments.some((t3) => t3.position !== undefined);
9306
+ }
9307
+ _parse(t2) {
9308
+ const e2 = [];
9309
+ let i2 = 0, n2 = "";
9310
+ for (;i2 < t2.length; )
9311
+ t2[i2] === this.separator ? i2 + 1 < t2.length && t2[i2 + 1] === this.separator ? (n2.trim() && (e2.push(this._parseSegment(n2.trim())), n2 = ""), e2.push({ type: "deep-wildcard" }), i2 += 2) : (n2.trim() && e2.push(this._parseSegment(n2.trim())), n2 = "", i2++) : (n2 += t2[i2], i2++);
9312
+ return n2.trim() && e2.push(this._parseSegment(n2.trim())), e2;
9313
+ }
9314
+ _parseSegment(t2) {
9315
+ const e2 = { type: "tag" };
9316
+ let i2 = null, n2 = t2;
9317
+ const s2 = t2.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);
9318
+ if (s2 && (n2 = s2[1] + s2[3], s2[2])) {
9319
+ const t3 = s2[2].slice(1, -1);
9320
+ t3 && (i2 = t3);
9321
+ }
9322
+ let r2, o2, a2 = n2;
9323
+ if (n2.includes("::")) {
9324
+ const e3 = n2.indexOf("::");
9325
+ if (r2 = n2.substring(0, e3).trim(), a2 = n2.substring(e3 + 2).trim(), !r2)
9326
+ throw new Error(`Invalid namespace in pattern: ${t2}`);
9327
+ }
9328
+ let h2 = null;
9329
+ if (a2.includes(":")) {
9330
+ const t3 = a2.lastIndexOf(":"), e3 = a2.substring(0, t3).trim(), i3 = a2.substring(t3 + 1).trim();
9331
+ ["first", "last", "odd", "even"].includes(i3) || /^nth\(\d+\)$/.test(i3) ? (o2 = e3, h2 = i3) : o2 = a2;
9332
+ } else
9333
+ o2 = a2;
9334
+ if (!o2)
9335
+ throw new Error(`Invalid segment pattern: ${t2}`);
9336
+ if (e2.tag = o2, r2 && (e2.namespace = r2), i2)
9337
+ if (i2.includes("=")) {
9338
+ const t3 = i2.indexOf("=");
9339
+ e2.attrName = i2.substring(0, t3).trim(), e2.attrValue = i2.substring(t3 + 1).trim();
9340
+ } else
9341
+ e2.attrName = i2.trim();
9342
+ if (h2) {
9343
+ const t3 = h2.match(/^nth\((\d+)\)$/);
9344
+ t3 ? (e2.position = "nth", e2.positionValue = parseInt(t3[1], 10)) : e2.position = h2;
9345
+ }
9346
+ return e2;
9347
+ }
9348
+ get length() {
9349
+ return this.segments.length;
9350
+ }
9351
+ hasDeepWildcard() {
9352
+ return this._hasDeepWildcard;
9353
+ }
9354
+ hasAttributeCondition() {
9355
+ return this._hasAttributeCondition;
9356
+ }
9357
+ hasPositionSelector() {
9358
+ return this._hasPositionSelector;
9359
+ }
9360
+ toString() {
9361
+ return this.pattern;
9362
+ }
9363
+ }
9364
+ function R(t2, e2) {
9365
+ if (!t2)
9366
+ return {};
9367
+ const i2 = e2.attributesGroupName ? t2[e2.attributesGroupName] : t2;
9368
+ if (!i2)
9369
+ return {};
9370
+ const n2 = {};
9371
+ for (const t3 in i2)
9372
+ t3.startsWith(e2.attributeNamePrefix) ? n2[t3.substring(e2.attributeNamePrefix.length)] = i2[t3] : n2[t3] = i2[t3];
9373
+ return n2;
9374
+ }
9375
+ function U(t2) {
9376
+ if (!t2 || typeof t2 != "string")
9377
+ return;
9378
+ const e2 = t2.indexOf(":");
9379
+ if (e2 !== -1 && e2 > 0) {
9380
+ const i2 = t2.substring(0, e2);
9381
+ if (i2 !== "xmlns")
9382
+ return i2;
9383
+ }
9384
+ }
9385
+
9386
+ class B {
9135
9387
  constructor(t2) {
9136
9388
  var e2;
9137
- if (this.options = t2, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "¢" }, pound: { regex: /&(pound|#163);/g, val: "£" }, yen: { regex: /&(yen|#165);/g, val: "¥" }, euro: { regex: /&(euro|#8364);/g, val: "€" }, copyright: { regex: /&(copy|#169);/g, val: "©" }, reg: { regex: /&(reg|#174);/g, val: "®" }, inr: { regex: /&(inr|#8377);/g, val: "₹" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t3, e3) => K(e3, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t3, e3) => K(e3, 16, "&#x") } }, this.addExternalEntities = F, this.parseXml = R, this.parseTextData = M, this.resolveNameSpace = k, this.buildAttributesMap = U, this.isItStopNode = X, this.replaceEntitiesValue = Y, this.readStopNodeData = q, this.saveTextToParentTag = G, this.addChild = B, this.ignoreAttributesFn = typeof (e2 = this.options.ignoreAttributes) == "function" ? e2 : Array.isArray(e2) ? (t3) => {
9138
- for (const n2 of e2) {
9139
- if (typeof n2 == "string" && t3 === n2)
9389
+ if (this.options = t2, this.currentNode = null, this.tagsNodeStack = [], this.docTypeEntities = {}, this.lastEntities = { apos: { regex: /&(apos|#39|#x27);/g, val: "'" }, gt: { regex: /&(gt|#62|#x3E);/g, val: ">" }, lt: { regex: /&(lt|#60|#x3C);/g, val: "<" }, quot: { regex: /&(quot|#34|#x22);/g, val: '"' } }, this.ampEntity = { regex: /&(amp|#38|#x26);/g, val: "&" }, this.htmlEntities = { space: { regex: /&(nbsp|#160);/g, val: " " }, cent: { regex: /&(cent|#162);/g, val: "¢" }, pound: { regex: /&(pound|#163);/g, val: "£" }, yen: { regex: /&(yen|#165);/g, val: "¥" }, euro: { regex: /&(euro|#8364);/g, val: "€" }, copyright: { regex: /&(copy|#169);/g, val: "©" }, reg: { regex: /&(reg|#174);/g, val: "®" }, inr: { regex: /&(inr|#8377);/g, val: "₹" }, num_dec: { regex: /&#([0-9]{1,7});/g, val: (t3, e3) => st(e3, 10, "&#") }, num_hex: { regex: /&#x([0-9a-fA-F]{1,6});/g, val: (t3, e3) => st(e3, 16, "&#x") } }, this.addExternalEntities = W, this.parseXml = Z, this.parseTextData = Y, this.resolveNameSpace = X, this.buildAttributesMap = q, this.isItStopNode = H, this.replaceEntitiesValue = K, this.readStopNodeData = it, this.saveTextToParentTag = Q, this.addChild = J, this.ignoreAttributesFn = typeof (e2 = this.options.ignoreAttributes) == "function" ? e2 : Array.isArray(e2) ? (t3) => {
9390
+ for (const i2 of e2) {
9391
+ if (typeof i2 == "string" && t3 === i2)
9140
9392
  return true;
9141
- if (n2 instanceof RegExp && n2.test(t3))
9393
+ if (i2 instanceof RegExp && i2.test(t3))
9142
9394
  return true;
9143
9395
  }
9144
- } : () => false, this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.options.stopNodes && this.options.stopNodes.length > 0) {
9145
- this.stopNodesExact = new Set, this.stopNodesWildcard = new Set;
9396
+ } : () => false, this.entityExpansionCount = 0, this.currentExpandedLength = 0, this.matcher = new M, this.isCurrentNodeStopNode = false, this.options.stopNodes && this.options.stopNodes.length > 0) {
9397
+ this.stopNodeExpressions = [];
9146
9398
  for (let t3 = 0;t3 < this.options.stopNodes.length; t3++) {
9147
9399
  const e3 = this.options.stopNodes[t3];
9148
- typeof e3 == "string" && (e3.startsWith("*.") ? this.stopNodesWildcard.add(e3.substring(2)) : this.stopNodesExact.add(e3));
9400
+ typeof e3 == "string" ? this.stopNodeExpressions.push(new G(e3)) : e3 instanceof G && this.stopNodeExpressions.push(e3);
9149
9401
  }
9150
9402
  }
9151
9403
  }
9152
9404
  }
9153
- function F(t2) {
9405
+ function W(t2) {
9154
9406
  const e2 = Object.keys(t2);
9155
- for (let n2 = 0;n2 < e2.length; n2++) {
9156
- const i2 = e2[n2], s2 = i2.replace(/[.\-+*:]/g, "\\.");
9157
- this.lastEntities[i2] = { regex: new RegExp("&" + s2 + ";", "g"), val: t2[i2] };
9407
+ for (let i2 = 0;i2 < e2.length; i2++) {
9408
+ const n2 = e2[i2], s2 = n2.replace(/[.\-+*:]/g, "\\.");
9409
+ this.lastEntities[n2] = { regex: new RegExp("&" + s2 + ";", "g"), val: t2[n2] };
9158
9410
  }
9159
9411
  }
9160
- function M(t2, e2, n2, i2, s2, r2, o2) {
9161
- if (t2 !== undefined && (this.options.trimValues && !i2 && (t2 = t2.trim()), t2.length > 0)) {
9162
- o2 || (t2 = this.replaceEntitiesValue(t2, e2, n2));
9163
- const i3 = this.options.tagValueProcessor(e2, t2, n2, s2, r2);
9164
- return i3 == null ? t2 : typeof i3 != typeof t2 || i3 !== t2 ? i3 : this.options.trimValues || t2.trim() === t2 ? Z(t2, this.options.parseTagValue, this.options.numberParseOptions) : t2;
9412
+ function Y(t2, e2, i2, n2, s2, r2, o2) {
9413
+ if (t2 !== undefined && (this.options.trimValues && !n2 && (t2 = t2.trim()), t2.length > 0)) {
9414
+ o2 || (t2 = this.replaceEntitiesValue(t2, e2, i2));
9415
+ const n3 = this.options.jPath ? i2.toString() : i2, a2 = this.options.tagValueProcessor(e2, t2, n3, s2, r2);
9416
+ return a2 == null ? t2 : typeof a2 != typeof t2 || a2 !== t2 ? a2 : this.options.trimValues || t2.trim() === t2 ? nt(t2, this.options.parseTagValue, this.options.numberParseOptions) : t2;
9165
9417
  }
9166
9418
  }
9167
- function k(t2) {
9419
+ function X(t2) {
9168
9420
  if (this.options.removeNSPrefix) {
9169
- const e2 = t2.split(":"), n2 = t2.charAt(0) === "/" ? "/" : "";
9421
+ const e2 = t2.split(":"), i2 = t2.charAt(0) === "/" ? "/" : "";
9170
9422
  if (e2[0] === "xmlns")
9171
9423
  return "";
9172
- e2.length === 2 && (t2 = n2 + e2[1]);
9424
+ e2.length === 2 && (t2 = i2 + e2[1]);
9173
9425
  }
9174
9426
  return t2;
9175
9427
  }
9176
- const _ = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
9177
- function U(t2, e2, n2) {
9428
+ const z2 = new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`, "gm");
9429
+ function q(t2, e2, i2) {
9178
9430
  if (this.options.ignoreAttributes !== true && typeof t2 == "string") {
9179
- const i2 = s(t2, _), r2 = i2.length, o2 = {};
9431
+ const n2 = s(t2, z2), r2 = n2.length, o2 = {}, a2 = {};
9180
9432
  for (let t3 = 0;t3 < r2; t3++) {
9181
- const s2 = this.resolveNameSpace(i2[t3][1]);
9182
- if (this.ignoreAttributesFn(s2, e2))
9433
+ const s2 = this.resolveNameSpace(n2[t3][1]), r3 = n2[t3][4];
9434
+ if (s2.length && r3 !== undefined) {
9435
+ let t4 = r3;
9436
+ this.options.trimValues && (t4 = t4.trim()), t4 = this.replaceEntitiesValue(t4, i2, e2), a2[s2] = t4;
9437
+ }
9438
+ }
9439
+ Object.keys(a2).length > 0 && typeof e2 == "object" && e2.updateCurrent && e2.updateCurrent(a2);
9440
+ for (let t3 = 0;t3 < r2; t3++) {
9441
+ const s2 = this.resolveNameSpace(n2[t3][1]), r3 = this.options.jPath ? e2.toString() : e2;
9442
+ if (this.ignoreAttributesFn(s2, r3))
9183
9443
  continue;
9184
- let r3 = i2[t3][4], a2 = this.options.attributeNamePrefix + s2;
9444
+ let a3 = n2[t3][4], h2 = this.options.attributeNamePrefix + s2;
9185
9445
  if (s2.length)
9186
- if (this.options.transformAttributeName && (a2 = this.options.transformAttributeName(a2)), a2 === "__proto__" && (a2 = "#__proto__"), r3 !== undefined) {
9187
- this.options.trimValues && (r3 = r3.trim()), r3 = this.replaceEntitiesValue(r3, n2, e2);
9188
- const t4 = this.options.attributeValueProcessor(s2, r3, e2);
9189
- o2[a2] = t4 == null ? r3 : typeof t4 != typeof r3 || t4 !== r3 ? t4 : Z(r3, this.options.parseAttributeValue, this.options.numberParseOptions);
9446
+ if (this.options.transformAttributeName && (h2 = this.options.transformAttributeName(h2)), h2 = ot(h2, this.options), a3 !== undefined) {
9447
+ this.options.trimValues && (a3 = a3.trim()), a3 = this.replaceEntitiesValue(a3, i2, e2);
9448
+ const t4 = this.options.jPath ? e2.toString() : e2, n3 = this.options.attributeValueProcessor(s2, a3, t4);
9449
+ o2[h2] = n3 == null ? a3 : typeof n3 != typeof a3 || n3 !== a3 ? n3 : nt(a3, this.options.parseAttributeValue, this.options.numberParseOptions);
9190
9450
  } else
9191
- this.options.allowBooleanAttributes && (o2[a2] = true);
9451
+ this.options.allowBooleanAttributes && (o2[h2] = true);
9192
9452
  }
9193
9453
  if (!Object.keys(o2).length)
9194
9454
  return;
@@ -9199,227 +9459,239 @@ var require_fxp = __commonJS((exports, module) => {
9199
9459
  return o2;
9200
9460
  }
9201
9461
  }
9202
- const R = function(t2) {
9462
+ const Z = function(t2) {
9203
9463
  t2 = t2.replace(/\r\n?/g, `
9204
9464
  `);
9205
- const e2 = new I("!xml");
9206
- let n2 = e2, i2 = "", s2 = "";
9207
- this.entityExpansionCount = 0, this.currentExpandedLength = 0;
9208
- const r2 = new P(this.options.processEntities);
9209
- for (let o2 = 0;o2 < t2.length; o2++)
9210
- if (t2[o2] === "<")
9211
- if (t2[o2 + 1] === "/") {
9212
- const e3 = z2(t2, ">", o2, "Closing Tag is not closed.");
9213
- let r3 = t2.substring(o2 + 2, e3).trim();
9465
+ const e2 = new $("!xml");
9466
+ let i2 = e2, n2 = "";
9467
+ this.matcher.reset(), this.entityExpansionCount = 0, this.currentExpandedLength = 0;
9468
+ const s2 = new I(this.options.processEntities);
9469
+ for (let r2 = 0;r2 < t2.length; r2++)
9470
+ if (t2[r2] === "<")
9471
+ if (t2[r2 + 1] === "/") {
9472
+ const e3 = tt(t2, ">", r2, "Closing Tag is not closed.");
9473
+ let s3 = t2.substring(r2 + 2, e3).trim();
9214
9474
  if (this.options.removeNSPrefix) {
9215
- const t3 = r3.indexOf(":");
9216
- t3 !== -1 && (r3 = r3.substr(t3 + 1));
9475
+ const t3 = s3.indexOf(":");
9476
+ t3 !== -1 && (s3 = s3.substr(t3 + 1));
9217
9477
  }
9218
- this.options.transformTagName && (r3 = this.options.transformTagName(r3)), n2 && (i2 = this.saveTextToParentTag(i2, n2, s2));
9219
- const a2 = s2.substring(s2.lastIndexOf(".") + 1);
9220
- if (r3 && this.options.unpairedTags.indexOf(r3) !== -1)
9221
- throw new Error(`Unpaired tag can not be used as closing tag: </${r3}>`);
9222
- let l2 = 0;
9223
- a2 && this.options.unpairedTags.indexOf(a2) !== -1 ? (l2 = s2.lastIndexOf(".", s2.lastIndexOf(".") - 1), this.tagsNodeStack.pop()) : l2 = s2.lastIndexOf("."), s2 = s2.substring(0, l2), n2 = this.tagsNodeStack.pop(), i2 = "", o2 = e3;
9224
- } else if (t2[o2 + 1] === "?") {
9225
- let e3 = W(t2, o2, false, "?>");
9478
+ s3 = rt(this.options.transformTagName, s3, "", this.options).tagName, i2 && (n2 = this.saveTextToParentTag(n2, i2, this.matcher));
9479
+ const o2 = this.matcher.getCurrentTag();
9480
+ if (s3 && this.options.unpairedTags.indexOf(s3) !== -1)
9481
+ throw new Error(`Unpaired tag can not be used as closing tag: </${s3}>`);
9482
+ o2 && this.options.unpairedTags.indexOf(o2) !== -1 && (this.matcher.pop(), this.tagsNodeStack.pop()), this.matcher.pop(), this.isCurrentNodeStopNode = false, i2 = this.tagsNodeStack.pop(), n2 = "", r2 = e3;
9483
+ } else if (t2[r2 + 1] === "?") {
9484
+ let e3 = et(t2, r2, false, "?>");
9226
9485
  if (!e3)
9227
9486
  throw new Error("Pi Tag is not closed.");
9228
- if (i2 = this.saveTextToParentTag(i2, n2, s2), this.options.ignoreDeclaration && e3.tagName === "?xml" || this.options.ignorePiTags)
9487
+ if (n2 = this.saveTextToParentTag(n2, i2, this.matcher), this.options.ignoreDeclaration && e3.tagName === "?xml" || this.options.ignorePiTags)
9229
9488
  ;
9230
9489
  else {
9231
- const t3 = new I(e3.tagName);
9232
- t3.add(this.options.textNodeName, ""), e3.tagName !== e3.tagExp && e3.attrExpPresent && (t3[":@"] = this.buildAttributesMap(e3.tagExp, s2, e3.tagName)), this.addChild(n2, t3, s2, o2);
9490
+ const t3 = new $(e3.tagName);
9491
+ t3.add(this.options.textNodeName, ""), e3.tagName !== e3.tagExp && e3.attrExpPresent && (t3[":@"] = this.buildAttributesMap(e3.tagExp, this.matcher, e3.tagName)), this.addChild(i2, t3, this.matcher, r2);
9233
9492
  }
9234
- o2 = e3.closeIndex + 1;
9235
- } else if (t2.substr(o2 + 1, 3) === "!--") {
9236
- const e3 = z2(t2, "-->", o2 + 4, "Comment is not closed.");
9493
+ r2 = e3.closeIndex + 1;
9494
+ } else if (t2.substr(r2 + 1, 3) === "!--") {
9495
+ const e3 = tt(t2, "-->", r2 + 4, "Comment is not closed.");
9237
9496
  if (this.options.commentPropName) {
9238
- const r3 = t2.substring(o2 + 4, e3 - 2);
9239
- i2 = this.saveTextToParentTag(i2, n2, s2), n2.add(this.options.commentPropName, [{ [this.options.textNodeName]: r3 }]);
9497
+ const s3 = t2.substring(r2 + 4, e3 - 2);
9498
+ n2 = this.saveTextToParentTag(n2, i2, this.matcher), i2.add(this.options.commentPropName, [{ [this.options.textNodeName]: s3 }]);
9240
9499
  }
9241
- o2 = e3;
9242
- } else if (t2.substr(o2 + 1, 2) === "!D") {
9243
- const e3 = r2.readDocType(t2, o2);
9244
- this.docTypeEntities = e3.entities, o2 = e3.i;
9245
- } else if (t2.substr(o2 + 1, 2) === "![") {
9246
- const e3 = z2(t2, "]]>", o2, "CDATA is not closed.") - 2, r3 = t2.substring(o2 + 9, e3);
9247
- i2 = this.saveTextToParentTag(i2, n2, s2);
9248
- let a2 = this.parseTextData(r3, n2.tagname, s2, true, false, true, true);
9249
- a2 == null && (a2 = ""), this.options.cdataPropName ? n2.add(this.options.cdataPropName, [{ [this.options.textNodeName]: r3 }]) : n2.add(this.options.textNodeName, a2), o2 = e3 + 2;
9500
+ r2 = e3;
9501
+ } else if (t2.substr(r2 + 1, 2) === "!D") {
9502
+ const e3 = s2.readDocType(t2, r2);
9503
+ this.docTypeEntities = e3.entities, r2 = e3.i;
9504
+ } else if (t2.substr(r2 + 1, 2) === "![") {
9505
+ const e3 = tt(t2, "]]>", r2, "CDATA is not closed.") - 2, s3 = t2.substring(r2 + 9, e3);
9506
+ n2 = this.saveTextToParentTag(n2, i2, this.matcher);
9507
+ let o2 = this.parseTextData(s3, i2.tagname, this.matcher, true, false, true, true);
9508
+ o2 == null && (o2 = ""), this.options.cdataPropName ? i2.add(this.options.cdataPropName, [{ [this.options.textNodeName]: s3 }]) : i2.add(this.options.textNodeName, o2), r2 = e3 + 2;
9250
9509
  } else {
9251
- let r3 = W(t2, o2, this.options.removeNSPrefix), a2 = r3.tagName;
9252
- const l2 = r3.rawTagName;
9253
- let { tagExp: u2, attrExpPresent: d2, closeIndex: h2 } = r3;
9254
- if (this.options.transformTagName) {
9255
- const t3 = this.options.transformTagName(a2);
9256
- u2 === a2 && (u2 = t3), a2 = t3;
9510
+ let s3 = et(t2, r2, this.options.removeNSPrefix);
9511
+ if (!s3) {
9512
+ const e3 = t2.substring(Math.max(0, r2 - 50), Math.min(t2.length, r2 + 50));
9513
+ throw new Error(`readTagExp returned undefined at position ${r2}. Context: "${e3}"`);
9257
9514
  }
9258
- if (this.options.strictReservedNames && (a2 === this.options.commentPropName || a2 === this.options.cdataPropName))
9259
- throw new Error(`Invalid tag name: ${a2}`);
9260
- n2 && i2 && n2.tagname !== "!xml" && (i2 = this.saveTextToParentTag(i2, n2, s2, false));
9261
- const p2 = n2;
9262
- p2 && this.options.unpairedTags.indexOf(p2.tagname) !== -1 && (n2 = this.tagsNodeStack.pop(), s2 = s2.substring(0, s2.lastIndexOf("."))), a2 !== e2.tagname && (s2 += s2 ? "." + a2 : a2);
9263
- const c2 = o2;
9264
- if (this.isItStopNode(this.stopNodesExact, this.stopNodesWildcard, s2, a2)) {
9515
+ let o2 = s3.tagName;
9516
+ const a2 = s3.rawTagName;
9517
+ let { tagExp: h2, attrExpPresent: l2, closeIndex: p2 } = s3;
9518
+ if ({ tagName: o2, tagExp: h2 } = rt(this.options.transformTagName, o2, h2, this.options), this.options.strictReservedNames && (o2 === this.options.commentPropName || o2 === this.options.cdataPropName))
9519
+ throw new Error(`Invalid tag name: ${o2}`);
9520
+ i2 && n2 && i2.tagname !== "!xml" && (n2 = this.saveTextToParentTag(n2, i2, this.matcher, false));
9521
+ const u2 = i2;
9522
+ u2 && this.options.unpairedTags.indexOf(u2.tagname) !== -1 && (i2 = this.tagsNodeStack.pop(), this.matcher.pop());
9523
+ let c2 = false;
9524
+ h2.length > 0 && h2.lastIndexOf("/") === h2.length - 1 && (c2 = true, o2[o2.length - 1] === "/" ? (o2 = o2.substr(0, o2.length - 1), h2 = o2) : h2 = h2.substr(0, h2.length - 1), l2 = o2 !== h2);
9525
+ let d2, f2 = null, g2 = {};
9526
+ d2 = U(a2), o2 !== e2.tagname && this.matcher.push(o2, {}, d2), o2 !== h2 && l2 && (f2 = this.buildAttributesMap(h2, this.matcher, o2), f2 && (g2 = R(f2, this.options))), o2 !== e2.tagname && (this.isCurrentNodeStopNode = this.isItStopNode(this.stopNodeExpressions, this.matcher));
9527
+ const m2 = r2;
9528
+ if (this.isCurrentNodeStopNode) {
9265
9529
  let e3 = "";
9266
- if (u2.length > 0 && u2.lastIndexOf("/") === u2.length - 1)
9267
- a2[a2.length - 1] === "/" ? (a2 = a2.substr(0, a2.length - 1), s2 = s2.substr(0, s2.length - 1), u2 = a2) : u2 = u2.substr(0, u2.length - 1), o2 = r3.closeIndex;
9268
- else if (this.options.unpairedTags.indexOf(a2) !== -1)
9269
- o2 = r3.closeIndex;
9530
+ if (c2)
9531
+ r2 = s3.closeIndex;
9532
+ else if (this.options.unpairedTags.indexOf(o2) !== -1)
9533
+ r2 = s3.closeIndex;
9270
9534
  else {
9271
- const n3 = this.readStopNodeData(t2, l2, h2 + 1);
9272
- if (!n3)
9273
- throw new Error(`Unexpected end of ${l2}`);
9274
- o2 = n3.i, e3 = n3.tagContent;
9535
+ const i3 = this.readStopNodeData(t2, a2, p2 + 1);
9536
+ if (!i3)
9537
+ throw new Error(`Unexpected end of ${a2}`);
9538
+ r2 = i3.i, e3 = i3.tagContent;
9275
9539
  }
9276
- const i3 = new I(a2);
9277
- a2 !== u2 && d2 && (i3[":@"] = this.buildAttributesMap(u2, s2, a2)), e3 && (e3 = this.parseTextData(e3, a2, s2, true, d2, true, true)), s2 = s2.substr(0, s2.lastIndexOf(".")), i3.add(this.options.textNodeName, e3), this.addChild(n2, i3, s2, c2);
9540
+ const n3 = new $(o2);
9541
+ f2 && (n3[":@"] = f2), n3.add(this.options.textNodeName, e3), this.matcher.pop(), this.isCurrentNodeStopNode = false, this.addChild(i2, n3, this.matcher, m2);
9278
9542
  } else {
9279
- if (u2.length > 0 && u2.lastIndexOf("/") === u2.length - 1) {
9280
- if (a2[a2.length - 1] === "/" ? (a2 = a2.substr(0, a2.length - 1), s2 = s2.substr(0, s2.length - 1), u2 = a2) : u2 = u2.substr(0, u2.length - 1), this.options.transformTagName) {
9281
- const t4 = this.options.transformTagName(a2);
9282
- u2 === a2 && (u2 = t4), a2 = t4;
9283
- }
9284
- const t3 = new I(a2);
9285
- a2 !== u2 && d2 && (t3[":@"] = this.buildAttributesMap(u2, s2, a2)), this.addChild(n2, t3, s2, c2), s2 = s2.substr(0, s2.lastIndexOf("."));
9543
+ if (c2) {
9544
+ ({ tagName: o2, tagExp: h2 } = rt(this.options.transformTagName, o2, h2, this.options));
9545
+ const t3 = new $(o2);
9546
+ f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.matcher, m2), this.matcher.pop(), this.isCurrentNodeStopNode = false;
9286
9547
  } else {
9287
- if (this.options.unpairedTags.indexOf(a2) !== -1) {
9288
- const t3 = new I(a2);
9289
- a2 !== u2 && d2 && (t3[":@"] = this.buildAttributesMap(u2, s2)), this.addChild(n2, t3, s2, c2), s2 = s2.substr(0, s2.lastIndexOf(".")), o2 = r3.closeIndex;
9548
+ if (this.options.unpairedTags.indexOf(o2) !== -1) {
9549
+ const t3 = new $(o2);
9550
+ f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.matcher, m2), this.matcher.pop(), this.isCurrentNodeStopNode = false, r2 = s3.closeIndex;
9290
9551
  continue;
9291
9552
  }
9292
9553
  {
9293
- const t3 = new I(a2);
9554
+ const t3 = new $(o2);
9294
9555
  if (this.tagsNodeStack.length > this.options.maxNestedTags)
9295
9556
  throw new Error("Maximum nested tags exceeded");
9296
- this.tagsNodeStack.push(n2), a2 !== u2 && d2 && (t3[":@"] = this.buildAttributesMap(u2, s2, a2)), this.addChild(n2, t3, s2, c2), n2 = t3;
9557
+ this.tagsNodeStack.push(i2), f2 && (t3[":@"] = f2), this.addChild(i2, t3, this.matcher, m2), i2 = t3;
9297
9558
  }
9298
9559
  }
9299
- i2 = "", o2 = h2;
9560
+ n2 = "", r2 = p2;
9300
9561
  }
9301
9562
  }
9302
9563
  else
9303
- i2 += t2[o2];
9564
+ n2 += t2[r2];
9304
9565
  return e2.child;
9305
9566
  };
9306
- function B(t2, e2, n2, i2) {
9307
- this.options.captureMetaData || (i2 = undefined);
9308
- const s2 = this.options.updateTag(e2.tagname, n2, e2[":@"]);
9309
- s2 === false || (typeof s2 == "string" ? (e2.tagname = s2, t2.addChild(e2, i2)) : t2.addChild(e2, i2));
9567
+ function J(t2, e2, i2, n2) {
9568
+ this.options.captureMetaData || (n2 = undefined);
9569
+ const s2 = this.options.jPath ? i2.toString() : i2, r2 = this.options.updateTag(e2.tagname, s2, e2[":@"]);
9570
+ r2 === false || (typeof r2 == "string" ? (e2.tagname = r2, t2.addChild(e2, n2)) : t2.addChild(e2, n2));
9310
9571
  }
9311
- const Y = function(t2, e2, n2) {
9312
- if (t2.indexOf("&") === -1)
9313
- return t2;
9314
- const i2 = this.options.processEntities;
9315
- if (!i2.enabled)
9316
- return t2;
9317
- if (i2.allowedTags && !i2.allowedTags.includes(e2))
9572
+ function K(t2, e2, i2) {
9573
+ const n2 = this.options.processEntities;
9574
+ if (!n2 || !n2.enabled)
9318
9575
  return t2;
9319
- if (i2.tagFilter && !i2.tagFilter(e2, n2))
9320
- return t2;
9321
- for (let e3 in this.docTypeEntities) {
9322
- const n3 = this.docTypeEntities[e3], s2 = t2.match(n3.regx);
9576
+ if (n2.allowedTags) {
9577
+ const s2 = this.options.jPath ? i2.toString() : i2;
9578
+ if (!(Array.isArray(n2.allowedTags) ? n2.allowedTags.includes(e2) : n2.allowedTags(e2, s2)))
9579
+ return t2;
9580
+ }
9581
+ if (n2.tagFilter) {
9582
+ const s2 = this.options.jPath ? i2.toString() : i2;
9583
+ if (!n2.tagFilter(e2, s2))
9584
+ return t2;
9585
+ }
9586
+ for (const e3 of Object.keys(this.docTypeEntities)) {
9587
+ const i3 = this.docTypeEntities[e3], s2 = t2.match(i3.regx);
9323
9588
  if (s2) {
9324
- if (this.entityExpansionCount += s2.length, i2.maxTotalExpansions && this.entityExpansionCount > i2.maxTotalExpansions)
9325
- throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${i2.maxTotalExpansions}`);
9589
+ if (this.entityExpansionCount += s2.length, n2.maxTotalExpansions && this.entityExpansionCount > n2.maxTotalExpansions)
9590
+ throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n2.maxTotalExpansions}`);
9326
9591
  const e4 = t2.length;
9327
- if (t2 = t2.replace(n3.regx, n3.val), i2.maxExpandedLength && (this.currentExpandedLength += t2.length - e4, this.currentExpandedLength > i2.maxExpandedLength))
9328
- throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${i2.maxExpandedLength}`);
9592
+ if (t2 = t2.replace(i3.regx, i3.val), n2.maxExpandedLength && (this.currentExpandedLength += t2.length - e4, this.currentExpandedLength > n2.maxExpandedLength))
9593
+ throw new Error(`Total expanded content size exceeded: ${this.currentExpandedLength} > ${n2.maxExpandedLength}`);
9329
9594
  }
9330
9595
  }
9331
- if (t2.indexOf("&") === -1)
9332
- return t2;
9333
- for (let e3 in this.lastEntities) {
9334
- const n3 = this.lastEntities[e3];
9335
- t2 = t2.replace(n3.regex, n3.val);
9596
+ for (const e3 of Object.keys(this.lastEntities)) {
9597
+ const i3 = this.lastEntities[e3], s2 = t2.match(i3.regex);
9598
+ if (s2 && (this.entityExpansionCount += s2.length, n2.maxTotalExpansions && this.entityExpansionCount > n2.maxTotalExpansions))
9599
+ throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n2.maxTotalExpansions}`);
9600
+ t2 = t2.replace(i3.regex, i3.val);
9336
9601
  }
9337
9602
  if (t2.indexOf("&") === -1)
9338
9603
  return t2;
9339
9604
  if (this.options.htmlEntities)
9340
- for (let e3 in this.htmlEntities) {
9341
- const n3 = this.htmlEntities[e3];
9342
- t2 = t2.replace(n3.regex, n3.val);
9605
+ for (const e3 of Object.keys(this.htmlEntities)) {
9606
+ const i3 = this.htmlEntities[e3], s2 = t2.match(i3.regex);
9607
+ if (s2 && (this.entityExpansionCount += s2.length, n2.maxTotalExpansions && this.entityExpansionCount > n2.maxTotalExpansions))
9608
+ throw new Error(`Entity expansion limit exceeded: ${this.entityExpansionCount} > ${n2.maxTotalExpansions}`);
9609
+ t2 = t2.replace(i3.regex, i3.val);
9343
9610
  }
9344
9611
  return t2.replace(this.ampEntity.regex, this.ampEntity.val);
9345
- };
9346
- function G(t2, e2, n2, i2) {
9347
- return t2 && (i2 === undefined && (i2 = e2.child.length === 0), (t2 = this.parseTextData(t2, e2.tagname, n2, false, !!e2[":@"] && Object.keys(e2[":@"]).length !== 0, i2)) !== undefined && t2 !== "" && e2.add(this.options.textNodeName, t2), t2 = ""), t2;
9348
9612
  }
9349
- function X(t2, e2, n2, i2) {
9350
- return !(!e2 || !e2.has(i2)) || !(!t2 || !t2.has(n2));
9613
+ function Q(t2, e2, i2, n2) {
9614
+ return t2 && (n2 === undefined && (n2 = e2.child.length === 0), (t2 = this.parseTextData(t2, e2.tagname, i2, false, !!e2[":@"] && Object.keys(e2[":@"]).length !== 0, n2)) !== undefined && t2 !== "" && e2.add(this.options.textNodeName, t2), t2 = ""), t2;
9351
9615
  }
9352
- function z2(t2, e2, n2, i2) {
9353
- const s2 = t2.indexOf(e2, n2);
9616
+ function H(t2, e2) {
9617
+ if (!t2 || t2.length === 0)
9618
+ return false;
9619
+ for (let i2 = 0;i2 < t2.length; i2++)
9620
+ if (e2.matches(t2[i2]))
9621
+ return true;
9622
+ return false;
9623
+ }
9624
+ function tt(t2, e2, i2, n2) {
9625
+ const s2 = t2.indexOf(e2, i2);
9354
9626
  if (s2 === -1)
9355
- throw new Error(i2);
9627
+ throw new Error(n2);
9356
9628
  return s2 + e2.length - 1;
9357
9629
  }
9358
- function W(t2, e2, n2, i2 = ">") {
9359
- const s2 = function(t3, e3, n3 = ">") {
9360
- let i3, s3 = "";
9630
+ function et(t2, e2, i2, n2 = ">") {
9631
+ const s2 = function(t3, e3, i3 = ">") {
9632
+ let n3, s3 = "";
9361
9633
  for (let r3 = e3;r3 < t3.length; r3++) {
9362
9634
  let e4 = t3[r3];
9363
- if (i3)
9364
- e4 === i3 && (i3 = "");
9635
+ if (n3)
9636
+ e4 === n3 && (n3 = "");
9365
9637
  else if (e4 === '"' || e4 === "'")
9366
- i3 = e4;
9367
- else if (e4 === n3[0]) {
9368
- if (!n3[1])
9638
+ n3 = e4;
9639
+ else if (e4 === i3[0]) {
9640
+ if (!i3[1])
9369
9641
  return { data: s3, index: r3 };
9370
- if (t3[r3 + 1] === n3[1])
9642
+ if (t3[r3 + 1] === i3[1])
9371
9643
  return { data: s3, index: r3 };
9372
9644
  } else
9373
9645
  e4 === "\t" && (e4 = " ");
9374
9646
  s3 += e4;
9375
9647
  }
9376
- }(t2, e2 + 1, i2);
9648
+ }(t2, e2 + 1, n2);
9377
9649
  if (!s2)
9378
9650
  return;
9379
9651
  let r2 = s2.data;
9380
9652
  const o2 = s2.index, a2 = r2.search(/\s/);
9381
- let l2 = r2, u2 = true;
9382
- a2 !== -1 && (l2 = r2.substring(0, a2), r2 = r2.substring(a2 + 1).trimStart());
9383
- const d2 = l2;
9384
- if (n2) {
9385
- const t3 = l2.indexOf(":");
9386
- t3 !== -1 && (l2 = l2.substr(t3 + 1), u2 = l2 !== s2.data.substr(t3 + 1));
9653
+ let h2 = r2, l2 = true;
9654
+ a2 !== -1 && (h2 = r2.substring(0, a2), r2 = r2.substring(a2 + 1).trimStart());
9655
+ const p2 = h2;
9656
+ if (i2) {
9657
+ const t3 = h2.indexOf(":");
9658
+ t3 !== -1 && (h2 = h2.substr(t3 + 1), l2 = h2 !== s2.data.substr(t3 + 1));
9387
9659
  }
9388
- return { tagName: l2, tagExp: r2, closeIndex: o2, attrExpPresent: u2, rawTagName: d2 };
9660
+ return { tagName: h2, tagExp: r2, closeIndex: o2, attrExpPresent: l2, rawTagName: p2 };
9389
9661
  }
9390
- function q(t2, e2, n2) {
9391
- const i2 = n2;
9662
+ function it(t2, e2, i2) {
9663
+ const n2 = i2;
9392
9664
  let s2 = 1;
9393
- for (;n2 < t2.length; n2++)
9394
- if (t2[n2] === "<")
9395
- if (t2[n2 + 1] === "/") {
9396
- const r2 = z2(t2, ">", n2, `${e2} is not closed`);
9397
- if (t2.substring(n2 + 2, r2).trim() === e2 && (s2--, s2 === 0))
9398
- return { tagContent: t2.substring(i2, n2), i: r2 };
9399
- n2 = r2;
9400
- } else if (t2[n2 + 1] === "?")
9401
- n2 = z2(t2, "?>", n2 + 1, "StopNode is not closed.");
9402
- else if (t2.substr(n2 + 1, 3) === "!--")
9403
- n2 = z2(t2, "-->", n2 + 3, "StopNode is not closed.");
9404
- else if (t2.substr(n2 + 1, 2) === "![")
9405
- n2 = z2(t2, "]]>", n2, "StopNode is not closed.") - 2;
9665
+ for (;i2 < t2.length; i2++)
9666
+ if (t2[i2] === "<")
9667
+ if (t2[i2 + 1] === "/") {
9668
+ const r2 = tt(t2, ">", i2, `${e2} is not closed`);
9669
+ if (t2.substring(i2 + 2, r2).trim() === e2 && (s2--, s2 === 0))
9670
+ return { tagContent: t2.substring(n2, i2), i: r2 };
9671
+ i2 = r2;
9672
+ } else if (t2[i2 + 1] === "?")
9673
+ i2 = tt(t2, "?>", i2 + 1, "StopNode is not closed.");
9674
+ else if (t2.substr(i2 + 1, 3) === "!--")
9675
+ i2 = tt(t2, "-->", i2 + 3, "StopNode is not closed.");
9676
+ else if (t2.substr(i2 + 1, 2) === "![")
9677
+ i2 = tt(t2, "]]>", i2, "StopNode is not closed.") - 2;
9406
9678
  else {
9407
- const i3 = W(t2, n2, ">");
9408
- i3 && ((i3 && i3.tagName) === e2 && i3.tagExp[i3.tagExp.length - 1] !== "/" && s2++, n2 = i3.closeIndex);
9679
+ const n3 = et(t2, i2, ">");
9680
+ n3 && ((n3 && n3.tagName) === e2 && n3.tagExp[n3.tagExp.length - 1] !== "/" && s2++, i2 = n3.closeIndex);
9409
9681
  }
9410
9682
  }
9411
- function Z(t2, e2, n2) {
9683
+ function nt(t2, e2, i2) {
9412
9684
  if (e2 && typeof t2 == "string") {
9413
9685
  const e3 = t2.trim();
9414
9686
  return e3 === "true" || e3 !== "false" && function(t3, e4 = {}) {
9415
- if (e4 = Object.assign({}, D, e4), !t3 || typeof t3 != "string")
9687
+ if (e4 = Object.assign({}, F, e4), !t3 || typeof t3 != "string")
9416
9688
  return t3;
9417
- let n3 = t3.trim();
9418
- if (e4.skipLike !== undefined && e4.skipLike.test(n3))
9689
+ let i3 = t3.trim();
9690
+ if (e4.skipLike !== undefined && e4.skipLike.test(i3))
9419
9691
  return t3;
9420
9692
  if (t3 === "0")
9421
9693
  return 0;
9422
- if (e4.hex && $.test(n3))
9694
+ if (e4.hex && V.test(i3))
9423
9695
  return function(t4) {
9424
9696
  if (parseInt)
9425
9697
  return parseInt(t4, 16);
@@ -9428,99 +9700,130 @@ var require_fxp = __commonJS((exports, module) => {
9428
9700
  if (window && window.parseInt)
9429
9701
  return window.parseInt(t4, 16);
9430
9702
  throw new Error("parseInt, Number.parseInt, window.parseInt are not supported");
9431
- }(n3);
9432
- if (n3.includes("e") || n3.includes("E"))
9433
- return function(t4, e5, n4) {
9434
- if (!n4.eNotation)
9703
+ }(i3);
9704
+ if (i3.includes("e") || i3.includes("E"))
9705
+ return function(t4, e5, i4) {
9706
+ if (!i4.eNotation)
9435
9707
  return t4;
9436
- const i3 = e5.match(j);
9437
- if (i3) {
9438
- let s2 = i3[1] || "";
9439
- const r2 = i3[3].indexOf("e") === -1 ? "E" : "e", o2 = i3[2], a2 = s2 ? t4[o2.length + 1] === r2 : t4[o2.length] === r2;
9440
- return o2.length > 1 && a2 ? t4 : o2.length !== 1 || !i3[3].startsWith(`.${r2}`) && i3[3][0] !== r2 ? n4.leadingZeros && !a2 ? (e5 = (i3[1] || "") + i3[3], Number(e5)) : t4 : Number(e5);
9708
+ const n3 = e5.match(L);
9709
+ if (n3) {
9710
+ let s2 = n3[1] || "";
9711
+ const r2 = n3[3].indexOf("e") === -1 ? "E" : "e", o2 = n3[2], a2 = s2 ? t4[o2.length + 1] === r2 : t4[o2.length] === r2;
9712
+ return o2.length > 1 && a2 ? t4 : o2.length !== 1 || !n3[3].startsWith(`.${r2}`) && n3[3][0] !== r2 ? i4.leadingZeros && !a2 ? (e5 = (n3[1] || "") + n3[3], Number(e5)) : t4 : Number(e5);
9441
9713
  }
9442
9714
  return t4;
9443
- }(t3, n3, e4);
9715
+ }(t3, i3, e4);
9444
9716
  {
9445
- const s2 = V.exec(n3);
9717
+ const s2 = k.exec(i3);
9446
9718
  if (s2) {
9447
9719
  const r2 = s2[1] || "", o2 = s2[2];
9448
- let a2 = (i2 = s2[3]) && i2.indexOf(".") !== -1 ? ((i2 = i2.replace(/0+$/, "")) === "." ? i2 = "0" : i2[0] === "." ? i2 = "0" + i2 : i2[i2.length - 1] === "." && (i2 = i2.substring(0, i2.length - 1)), i2) : i2;
9449
- const l2 = r2 ? t3[o2.length + 1] === "." : t3[o2.length] === ".";
9450
- if (!e4.leadingZeros && (o2.length > 1 || o2.length === 1 && !l2))
9720
+ let a2 = (n2 = s2[3]) && n2.indexOf(".") !== -1 ? ((n2 = n2.replace(/0+$/, "")) === "." ? n2 = "0" : n2[0] === "." ? n2 = "0" + n2 : n2[n2.length - 1] === "." && (n2 = n2.substring(0, n2.length - 1)), n2) : n2;
9721
+ const h2 = r2 ? t3[o2.length + 1] === "." : t3[o2.length] === ".";
9722
+ if (!e4.leadingZeros && (o2.length > 1 || o2.length === 1 && !h2))
9451
9723
  return t3;
9452
9724
  {
9453
- const i3 = Number(n3), s3 = String(i3);
9454
- if (i3 === 0)
9455
- return i3;
9725
+ const n3 = Number(i3), s3 = String(n3);
9726
+ if (n3 === 0)
9727
+ return n3;
9456
9728
  if (s3.search(/[eE]/) !== -1)
9457
- return e4.eNotation ? i3 : t3;
9458
- if (n3.indexOf(".") !== -1)
9459
- return s3 === "0" || s3 === a2 || s3 === `${r2}${a2}` ? i3 : t3;
9460
- let l3 = o2 ? a2 : n3;
9461
- return o2 ? l3 === s3 || r2 + l3 === s3 ? i3 : t3 : l3 === s3 || l3 === r2 + s3 ? i3 : t3;
9729
+ return e4.eNotation ? n3 : t3;
9730
+ if (i3.indexOf(".") !== -1)
9731
+ return s3 === "0" || s3 === a2 || s3 === `${r2}${a2}` ? n3 : t3;
9732
+ let h3 = o2 ? a2 : i3;
9733
+ return o2 ? h3 === s3 || r2 + h3 === s3 ? n3 : t3 : h3 === s3 || h3 === r2 + s3 ? n3 : t3;
9462
9734
  }
9463
9735
  }
9464
9736
  return t3;
9465
9737
  }
9466
- var i2;
9467
- }(t2, n2);
9738
+ var n2;
9739
+ }(t2, i2);
9468
9740
  }
9469
9741
  return t2 !== undefined ? t2 : "";
9470
9742
  }
9471
- function K(t2, e2, n2) {
9472
- const i2 = Number.parseInt(t2, e2);
9473
- return i2 >= 0 && i2 <= 1114111 ? String.fromCodePoint(i2) : n2 + t2 + ";";
9743
+ function st(t2, e2, i2) {
9744
+ const n2 = Number.parseInt(t2, e2);
9745
+ return n2 >= 0 && n2 <= 1114111 ? String.fromCodePoint(n2) : i2 + t2 + ";";
9746
+ }
9747
+ function rt(t2, e2, i2, n2) {
9748
+ if (t2) {
9749
+ const n3 = t2(e2);
9750
+ i2 === e2 && (i2 = n3), e2 = n3;
9751
+ }
9752
+ return { tagName: e2 = ot(e2, n2), tagExp: i2 };
9753
+ }
9754
+ function ot(t2, e2) {
9755
+ if (a.includes(t2))
9756
+ throw new Error(`[SECURITY] Invalid name: "${t2}" is a reserved JavaScript keyword that could cause prototype pollution`);
9757
+ return o.includes(t2) ? e2.onDangerousProperty(t2) : t2;
9758
+ }
9759
+ const at = $.getMetaDataSymbol();
9760
+ function ht(t2, e2) {
9761
+ if (!t2 || typeof t2 != "object")
9762
+ return {};
9763
+ if (!e2)
9764
+ return t2;
9765
+ const i2 = {};
9766
+ for (const n2 in t2)
9767
+ n2.startsWith(e2) ? i2[n2.substring(e2.length)] = t2[n2] : i2[n2] = t2[n2];
9768
+ return i2;
9474
9769
  }
9475
- const Q = I.getMetaDataSymbol();
9476
- function J(t2, e2) {
9477
- return H(t2, e2);
9770
+ function lt(t2, e2, i2) {
9771
+ return pt(t2, e2, i2);
9478
9772
  }
9479
- function H(t2, e2, n2) {
9480
- let i2;
9773
+ function pt(t2, e2, i2) {
9774
+ let n2;
9481
9775
  const s2 = {};
9482
9776
  for (let r2 = 0;r2 < t2.length; r2++) {
9483
- const o2 = t2[r2], a2 = tt(o2);
9484
- let l2 = "";
9485
- if (l2 = n2 === undefined ? a2 : n2 + "." + a2, a2 === e2.textNodeName)
9486
- i2 === undefined ? i2 = o2[a2] : i2 += "" + o2[a2];
9777
+ const o2 = t2[r2], a2 = ut(o2);
9778
+ if (a2 !== undefined && a2 !== e2.textNodeName) {
9779
+ const t3 = ht(o2[":@"] || {}, e2.attributeNamePrefix);
9780
+ i2.push(a2, t3);
9781
+ }
9782
+ if (a2 === e2.textNodeName)
9783
+ n2 === undefined ? n2 = o2[a2] : n2 += "" + o2[a2];
9487
9784
  else {
9488
9785
  if (a2 === undefined)
9489
9786
  continue;
9490
9787
  if (o2[a2]) {
9491
- let t3 = H(o2[a2], e2, l2);
9492
- const n3 = nt(t3, e2);
9493
- o2[":@"] ? et(t3, o2[":@"], l2, e2) : Object.keys(t3).length !== 1 || t3[e2.textNodeName] === undefined || e2.alwaysCreateTextNode ? Object.keys(t3).length === 0 && (e2.alwaysCreateTextNode ? t3[e2.textNodeName] = "" : t3 = "") : t3 = t3[e2.textNodeName], o2[Q] !== undefined && typeof t3 == "object" && t3 !== null && (t3[Q] = o2[Q]), s2[a2] !== undefined && Object.prototype.hasOwnProperty.call(s2, a2) ? (Array.isArray(s2[a2]) || (s2[a2] = [s2[a2]]), s2[a2].push(t3)) : e2.isArray(a2, l2, n3) ? s2[a2] = [t3] : s2[a2] = t3;
9788
+ let t3 = pt(o2[a2], e2, i2);
9789
+ const n3 = dt(t3, e2);
9790
+ if (o2[":@"] ? ct(t3, o2[":@"], i2, e2) : Object.keys(t3).length !== 1 || t3[e2.textNodeName] === undefined || e2.alwaysCreateTextNode ? Object.keys(t3).length === 0 && (e2.alwaysCreateTextNode ? t3[e2.textNodeName] = "" : t3 = "") : t3 = t3[e2.textNodeName], o2[at] !== undefined && typeof t3 == "object" && t3 !== null && (t3[at] = o2[at]), s2[a2] !== undefined && Object.prototype.hasOwnProperty.call(s2, a2))
9791
+ Array.isArray(s2[a2]) || (s2[a2] = [s2[a2]]), s2[a2].push(t3);
9792
+ else {
9793
+ const r3 = e2.jPath ? i2.toString() : i2;
9794
+ e2.isArray(a2, r3, n3) ? s2[a2] = [t3] : s2[a2] = t3;
9795
+ }
9796
+ a2 !== undefined && a2 !== e2.textNodeName && i2.pop();
9494
9797
  }
9495
9798
  }
9496
9799
  }
9497
- return typeof i2 == "string" ? i2.length > 0 && (s2[e2.textNodeName] = i2) : i2 !== undefined && (s2[e2.textNodeName] = i2), s2;
9800
+ return typeof n2 == "string" ? n2.length > 0 && (s2[e2.textNodeName] = n2) : n2 !== undefined && (s2[e2.textNodeName] = n2), s2;
9498
9801
  }
9499
- function tt(t2) {
9802
+ function ut(t2) {
9500
9803
  const e2 = Object.keys(t2);
9501
9804
  for (let t3 = 0;t3 < e2.length; t3++) {
9502
- const n2 = e2[t3];
9503
- if (n2 !== ":@")
9504
- return n2;
9805
+ const i2 = e2[t3];
9806
+ if (i2 !== ":@")
9807
+ return i2;
9505
9808
  }
9506
9809
  }
9507
- function et(t2, e2, n2, i2) {
9810
+ function ct(t2, e2, i2, n2) {
9508
9811
  if (e2) {
9509
9812
  const s2 = Object.keys(e2), r2 = s2.length;
9510
9813
  for (let o2 = 0;o2 < r2; o2++) {
9511
- const r3 = s2[o2];
9512
- i2.isArray(r3, n2 + "." + r3, true, true) ? t2[r3] = [e2[r3]] : t2[r3] = e2[r3];
9814
+ const r3 = s2[o2], a2 = r3.startsWith(n2.attributeNamePrefix) ? r3.substring(n2.attributeNamePrefix.length) : r3, h2 = n2.jPath ? i2.toString() + "." + a2 : i2;
9815
+ n2.isArray(r3, h2, true, true) ? t2[r3] = [e2[r3]] : t2[r3] = e2[r3];
9513
9816
  }
9514
9817
  }
9515
9818
  }
9516
- function nt(t2, e2) {
9517
- const { textNodeName: n2 } = e2, i2 = Object.keys(t2).length;
9518
- return i2 === 0 || !(i2 !== 1 || !t2[n2] && typeof t2[n2] != "boolean" && t2[n2] !== 0);
9819
+ function dt(t2, e2) {
9820
+ const { textNodeName: i2 } = e2, n2 = Object.keys(t2).length;
9821
+ return n2 === 0 || !(n2 !== 1 || !t2[i2] && typeof t2[i2] != "boolean" && t2[i2] !== 0);
9519
9822
  }
9520
9823
 
9521
- class it {
9824
+ class ft {
9522
9825
  constructor(t2) {
9523
- this.externalEntities = {}, this.options = v(t2);
9826
+ this.externalEntities = {}, this.options = C(t2);
9524
9827
  }
9525
9828
  parse(t2, e2) {
9526
9829
  if (typeof t2 != "string" && t2.toString)
@@ -9529,14 +9832,14 @@ var require_fxp = __commonJS((exports, module) => {
9529
9832
  throw new Error("XML data is accepted in String or Bytes[] form.");
9530
9833
  if (e2) {
9531
9834
  e2 === true && (e2 = {});
9532
- const n3 = a(t2, e2);
9533
- if (n3 !== true)
9534
- throw Error(`${n3.err.msg}:${n3.err.line}:${n3.err.col}`);
9835
+ const i3 = l(t2, e2);
9836
+ if (i3 !== true)
9837
+ throw Error(`${i3.err.msg}:${i3.err.line}:${i3.err.col}`);
9535
9838
  }
9536
- const n2 = new L(this.options);
9537
- n2.addExternalEntities(this.externalEntities);
9538
- const i2 = n2.parseXml(t2);
9539
- return this.options.preserveOrder || i2 === undefined ? i2 : J(i2, this.options);
9839
+ const i2 = new B(this.options);
9840
+ i2.addExternalEntities(this.externalEntities);
9841
+ const n2 = i2.parseXml(t2);
9842
+ return this.options.preserveOrder || n2 === undefined ? n2 : lt(n2, this.options, i2.matcher);
9540
9843
  }
9541
9844
  addEntity(t2, e2) {
9542
9845
  if (e2.indexOf("&") !== -1)
@@ -9548,209 +9851,378 @@ var require_fxp = __commonJS((exports, module) => {
9548
9851
  this.externalEntities[t2] = e2;
9549
9852
  }
9550
9853
  static getMetaDataSymbol() {
9551
- return I.getMetaDataSymbol();
9854
+ return $.getMetaDataSymbol();
9552
9855
  }
9553
9856
  }
9554
- function st(t2, e2) {
9555
- let n2 = "";
9556
- return e2.format && e2.indentBy.length > 0 && (n2 = `
9557
- `), rt(t2, e2, "", n2);
9857
+ function gt3(t2, e2) {
9858
+ let i2 = "";
9859
+ e2.format && e2.indentBy.length > 0 && (i2 = `
9860
+ `);
9861
+ const n2 = [];
9862
+ if (e2.stopNodes && Array.isArray(e2.stopNodes))
9863
+ for (let t3 = 0;t3 < e2.stopNodes.length; t3++) {
9864
+ const i3 = e2.stopNodes[t3];
9865
+ typeof i3 == "string" ? n2.push(new G(i3)) : i3 instanceof G && n2.push(i3);
9866
+ }
9867
+ return mt(t2, e2, i2, new M, n2);
9558
9868
  }
9559
- function rt(t2, e2, n2, i2) {
9560
- let s2 = "", r2 = false;
9869
+ function mt(t2, e2, i2, n2, s2) {
9870
+ let r2 = "", o2 = false;
9871
+ if (e2.maxNestedTags && n2.getDepth() > e2.maxNestedTags)
9872
+ throw new Error("Maximum nested tags exceeded");
9561
9873
  if (!Array.isArray(t2)) {
9562
9874
  if (t2 != null) {
9563
- let n3 = t2.toString();
9564
- return n3 = ut(n3, e2), n3;
9875
+ let i3 = t2.toString();
9876
+ return i3 = vt(i3, e2), i3;
9565
9877
  }
9566
9878
  return "";
9567
9879
  }
9568
- for (let o2 = 0;o2 < t2.length; o2++) {
9569
- const a2 = t2[o2], l2 = ot(a2);
9880
+ for (let a2 = 0;a2 < t2.length; a2++) {
9881
+ const h2 = t2[a2], l2 = Et(h2);
9570
9882
  if (l2 === undefined)
9571
9883
  continue;
9572
- let u2 = "";
9573
- if (u2 = n2.length === 0 ? l2 : `${n2}.${l2}`, l2 === e2.textNodeName) {
9574
- let t3 = a2[l2];
9575
- lt(u2, e2) || (t3 = e2.tagValueProcessor(l2, t3), t3 = ut(t3, e2)), r2 && (s2 += i2), s2 += t3, r2 = false;
9884
+ const p2 = xt(h2[":@"], e2);
9885
+ n2.push(l2, p2);
9886
+ const u2 = wt(n2, s2);
9887
+ if (l2 === e2.textNodeName) {
9888
+ let t3 = h2[l2];
9889
+ u2 || (t3 = e2.tagValueProcessor(l2, t3), t3 = vt(t3, e2)), o2 && (r2 += i2), r2 += t3, o2 = false, n2.pop();
9576
9890
  continue;
9577
9891
  }
9578
9892
  if (l2 === e2.cdataPropName) {
9579
- r2 && (s2 += i2), s2 += `<![CDATA[${a2[l2][0][e2.textNodeName]}]]>`, r2 = false;
9893
+ o2 && (r2 += i2), r2 += `<![CDATA[${h2[l2][0][e2.textNodeName]}]]>`, o2 = false, n2.pop();
9580
9894
  continue;
9581
9895
  }
9582
9896
  if (l2 === e2.commentPropName) {
9583
- s2 += i2 + `<!--${a2[l2][0][e2.textNodeName]}-->`, r2 = true;
9897
+ r2 += i2 + `<!--${h2[l2][0][e2.textNodeName]}-->`, o2 = true, n2.pop();
9584
9898
  continue;
9585
9899
  }
9586
9900
  if (l2[0] === "?") {
9587
- const t3 = at(a2[":@"], e2), n3 = l2 === "?xml" ? "" : i2;
9588
- let o3 = a2[l2][0][e2.textNodeName];
9589
- o3 = o3.length !== 0 ? " " + o3 : "", s2 += n3 + `<${l2}${o3}${t3}?>`, r2 = true;
9901
+ const t3 = yt(h2[":@"], e2, u2), s3 = l2 === "?xml" ? "" : i2;
9902
+ let a3 = h2[l2][0][e2.textNodeName];
9903
+ a3 = a3.length !== 0 ? " " + a3 : "", r2 += s3 + `<${l2}${a3}${t3}?>`, o2 = true, n2.pop();
9590
9904
  continue;
9591
9905
  }
9592
- let d2 = i2;
9593
- d2 !== "" && (d2 += e2.indentBy);
9594
- const h2 = i2 + `<${l2}${at(a2[":@"], e2)}`, p2 = rt(a2[l2], e2, u2, d2);
9595
- e2.unpairedTags.indexOf(l2) !== -1 ? e2.suppressUnpairedNode ? s2 += h2 + ">" : s2 += h2 + "/>" : p2 && p2.length !== 0 || !e2.suppressEmptyNode ? p2 && p2.endsWith(">") ? s2 += h2 + `>${p2}${i2}</${l2}>` : (s2 += h2 + ">", p2 && i2 !== "" && (p2.includes("/>") || p2.includes("</")) ? s2 += i2 + e2.indentBy + p2 + i2 : s2 += p2, s2 += `</${l2}>`) : s2 += h2 + "/>", r2 = true;
9906
+ let c2 = i2;
9907
+ c2 !== "" && (c2 += e2.indentBy);
9908
+ const d2 = i2 + `<${l2}${yt(h2[":@"], e2, u2)}`;
9909
+ let f2;
9910
+ f2 = u2 ? Nt(h2[l2], e2) : mt(h2[l2], e2, c2, n2, s2), e2.unpairedTags.indexOf(l2) !== -1 ? e2.suppressUnpairedNode ? r2 += d2 + ">" : r2 += d2 + "/>" : f2 && f2.length !== 0 || !e2.suppressEmptyNode ? f2 && f2.endsWith(">") ? r2 += d2 + `>${f2}${i2}</${l2}>` : (r2 += d2 + ">", f2 && i2 !== "" && (f2.includes("/>") || f2.includes("</")) ? r2 += i2 + e2.indentBy + f2 + i2 : r2 += f2, r2 += `</${l2}>`) : r2 += d2 + "/>", o2 = true, n2.pop();
9596
9911
  }
9597
- return s2;
9912
+ return r2;
9598
9913
  }
9599
- function ot(t2) {
9914
+ function xt(t2, e2) {
9915
+ if (!t2 || e2.ignoreAttributes)
9916
+ return null;
9917
+ const i2 = {};
9918
+ let n2 = false;
9919
+ for (let s2 in t2)
9920
+ Object.prototype.hasOwnProperty.call(t2, s2) && (i2[s2.startsWith(e2.attributeNamePrefix) ? s2.substr(e2.attributeNamePrefix.length) : s2] = t2[s2], n2 = true);
9921
+ return n2 ? i2 : null;
9922
+ }
9923
+ function Nt(t2, e2) {
9924
+ if (!Array.isArray(t2))
9925
+ return t2 != null ? t2.toString() : "";
9926
+ let i2 = "";
9927
+ for (let n2 = 0;n2 < t2.length; n2++) {
9928
+ const s2 = t2[n2], r2 = Et(s2);
9929
+ if (r2 === e2.textNodeName)
9930
+ i2 += s2[r2];
9931
+ else if (r2 === e2.cdataPropName)
9932
+ i2 += s2[r2][0][e2.textNodeName];
9933
+ else if (r2 === e2.commentPropName)
9934
+ i2 += s2[r2][0][e2.textNodeName];
9935
+ else {
9936
+ if (r2 && r2[0] === "?")
9937
+ continue;
9938
+ if (r2) {
9939
+ const t3 = bt(s2[":@"], e2), n3 = Nt(s2[r2], e2);
9940
+ n3 && n3.length !== 0 ? i2 += `<${r2}${t3}>${n3}</${r2}>` : i2 += `<${r2}${t3}/>`;
9941
+ }
9942
+ }
9943
+ }
9944
+ return i2;
9945
+ }
9946
+ function bt(t2, e2) {
9947
+ let i2 = "";
9948
+ if (t2 && !e2.ignoreAttributes)
9949
+ for (let n2 in t2) {
9950
+ if (!Object.prototype.hasOwnProperty.call(t2, n2))
9951
+ continue;
9952
+ let s2 = t2[n2];
9953
+ s2 === true && e2.suppressBooleanAttributes ? i2 += ` ${n2.substr(e2.attributeNamePrefix.length)}` : i2 += ` ${n2.substr(e2.attributeNamePrefix.length)}="${s2}"`;
9954
+ }
9955
+ return i2;
9956
+ }
9957
+ function Et(t2) {
9600
9958
  const e2 = Object.keys(t2);
9601
- for (let n2 = 0;n2 < e2.length; n2++) {
9602
- const i2 = e2[n2];
9603
- if (Object.prototype.hasOwnProperty.call(t2, i2) && i2 !== ":@")
9604
- return i2;
9959
+ for (let i2 = 0;i2 < e2.length; i2++) {
9960
+ const n2 = e2[i2];
9961
+ if (Object.prototype.hasOwnProperty.call(t2, n2) && n2 !== ":@")
9962
+ return n2;
9605
9963
  }
9606
9964
  }
9607
- function at(t2, e2) {
9965
+ function yt(t2, e2, i2) {
9608
9966
  let n2 = "";
9609
9967
  if (t2 && !e2.ignoreAttributes)
9610
- for (let i2 in t2) {
9611
- if (!Object.prototype.hasOwnProperty.call(t2, i2))
9968
+ for (let s2 in t2) {
9969
+ if (!Object.prototype.hasOwnProperty.call(t2, s2))
9612
9970
  continue;
9613
- let s2 = e2.attributeValueProcessor(i2, t2[i2]);
9614
- s2 = ut(s2, e2), s2 === true && e2.suppressBooleanAttributes ? n2 += ` ${i2.substr(e2.attributeNamePrefix.length)}` : n2 += ` ${i2.substr(e2.attributeNamePrefix.length)}="${s2}"`;
9971
+ let r2;
9972
+ i2 ? r2 = t2[s2] : (r2 = e2.attributeValueProcessor(s2, t2[s2]), r2 = vt(r2, e2)), r2 === true && e2.suppressBooleanAttributes ? n2 += ` ${s2.substr(e2.attributeNamePrefix.length)}` : n2 += ` ${s2.substr(e2.attributeNamePrefix.length)}="${r2}"`;
9615
9973
  }
9616
9974
  return n2;
9617
9975
  }
9618
- function lt(t2, e2) {
9619
- let n2 = (t2 = t2.substr(0, t2.length - e2.textNodeName.length - 1)).substr(t2.lastIndexOf(".") + 1);
9620
- for (let i2 in e2.stopNodes)
9621
- if (e2.stopNodes[i2] === t2 || e2.stopNodes[i2] === "*." + n2)
9976
+ function wt(t2, e2) {
9977
+ if (!e2 || e2.length === 0)
9978
+ return false;
9979
+ for (let i2 = 0;i2 < e2.length; i2++)
9980
+ if (t2.matches(e2[i2]))
9622
9981
  return true;
9623
9982
  return false;
9624
9983
  }
9625
- function ut(t2, e2) {
9984
+ function vt(t2, e2) {
9626
9985
  if (t2 && t2.length > 0 && e2.processEntities)
9627
- for (let n2 = 0;n2 < e2.entities.length; n2++) {
9628
- const i2 = e2.entities[n2];
9629
- t2 = t2.replace(i2.regex, i2.val);
9986
+ for (let i2 = 0;i2 < e2.entities.length; i2++) {
9987
+ const n2 = e2.entities[i2];
9988
+ t2 = t2.replace(n2.regex, n2.val);
9630
9989
  }
9631
9990
  return t2;
9632
9991
  }
9633
- const dt = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t2, e2) {
9992
+ const Tt = { attributeNamePrefix: "@_", attributesGroupName: false, textNodeName: "#text", ignoreAttributes: true, cdataPropName: false, format: false, indentBy: " ", suppressEmptyNode: false, suppressUnpairedNode: true, suppressBooleanAttributes: true, tagValueProcessor: function(t2, e2) {
9634
9993
  return e2;
9635
9994
  }, attributeValueProcessor: function(t2, e2) {
9636
9995
  return e2;
9637
- }, preserveOrder: false, commentPropName: false, unpairedTags: [], entities: [{ regex: new RegExp("&", "g"), val: "&amp;" }, { regex: new RegExp(">", "g"), val: "&gt;" }, { regex: new RegExp("<", "g"), val: "&lt;" }, { regex: new RegExp("'", "g"), val: "&apos;" }, { regex: new RegExp('"', "g"), val: "&quot;" }], processEntities: true, stopNodes: [], oneListGroup: false };
9638
- function ht(t2) {
9996
+ }, preserveOrder: false, commentPropName: false, unpairedTags: [], entities: [{ regex: new RegExp("&", "g"), val: "&amp;" }, { regex: new RegExp(">", "g"), val: "&gt;" }, { regex: new RegExp("<", "g"), val: "&lt;" }, { regex: new RegExp("'", "g"), val: "&apos;" }, { regex: new RegExp('"', "g"), val: "&quot;" }], processEntities: true, stopNodes: [], oneListGroup: false, maxNestedTags: 100, jPath: true };
9997
+ function Pt(t2) {
9998
+ if (this.options = Object.assign({}, Tt, t2), this.options.stopNodes && Array.isArray(this.options.stopNodes) && (this.options.stopNodes = this.options.stopNodes.map((t3) => typeof t3 == "string" && t3.startsWith("*.") ? ".." + t3.substring(2) : t3)), this.stopNodeExpressions = [], this.options.stopNodes && Array.isArray(this.options.stopNodes))
9999
+ for (let t3 = 0;t3 < this.options.stopNodes.length; t3++) {
10000
+ const e3 = this.options.stopNodes[t3];
10001
+ typeof e3 == "string" ? this.stopNodeExpressions.push(new G(e3)) : e3 instanceof G && this.stopNodeExpressions.push(e3);
10002
+ }
9639
10003
  var e2;
9640
- this.options = Object.assign({}, dt, t2), this.options.ignoreAttributes === true || this.options.attributesGroupName ? this.isAttribute = function() {
10004
+ this.options.ignoreAttributes === true || this.options.attributesGroupName ? this.isAttribute = function() {
9641
10005
  return false;
9642
10006
  } : (this.ignoreAttributesFn = typeof (e2 = this.options.ignoreAttributes) == "function" ? e2 : Array.isArray(e2) ? (t3) => {
9643
- for (const n2 of e2) {
9644
- if (typeof n2 == "string" && t3 === n2)
10007
+ for (const i2 of e2) {
10008
+ if (typeof i2 == "string" && t3 === i2)
9645
10009
  return true;
9646
- if (n2 instanceof RegExp && n2.test(t3))
10010
+ if (i2 instanceof RegExp && i2.test(t3))
9647
10011
  return true;
9648
10012
  }
9649
- } : () => false, this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = ft), this.processTextOrObjNode = pt, this.options.format ? (this.indentate = ct, this.tagEndChar = `>
10013
+ } : () => false, this.attrPrefixLen = this.options.attributeNamePrefix.length, this.isAttribute = Ct), this.processTextOrObjNode = St, this.options.format ? (this.indentate = At, this.tagEndChar = `>
9650
10014
  `, this.newLine = `
9651
10015
  `) : (this.indentate = function() {
9652
10016
  return "";
9653
10017
  }, this.tagEndChar = ">", this.newLine = "");
9654
10018
  }
9655
- function pt(t2, e2, n2, i2) {
9656
- const s2 = this.j2x(t2, n2 + 1, i2.concat(e2));
9657
- return t2[this.options.textNodeName] !== undefined && Object.keys(t2).length === 1 ? this.buildTextValNode(t2[this.options.textNodeName], e2, s2.attrStr, n2) : this.buildObjectNode(s2.val, e2, s2.attrStr, n2);
10019
+ function St(t2, e2, i2, n2) {
10020
+ const s2 = this.extractAttributes(t2);
10021
+ if (n2.push(e2, s2), this.checkStopNode(n2)) {
10022
+ const s3 = this.buildRawContent(t2), r3 = this.buildAttributesForStopNode(t2);
10023
+ return n2.pop(), this.buildObjectNode(s3, e2, r3, i2);
10024
+ }
10025
+ const r2 = this.j2x(t2, i2 + 1, n2);
10026
+ return n2.pop(), t2[this.options.textNodeName] !== undefined && Object.keys(t2).length === 1 ? this.buildTextValNode(t2[this.options.textNodeName], e2, r2.attrStr, i2, n2) : this.buildObjectNode(r2.val, e2, r2.attrStr, i2);
9658
10027
  }
9659
- function ct(t2) {
10028
+ function At(t2) {
9660
10029
  return this.options.indentBy.repeat(t2);
9661
10030
  }
9662
- function ft(t2) {
10031
+ function Ct(t2) {
9663
10032
  return !(!t2.startsWith(this.options.attributeNamePrefix) || t2 === this.options.textNodeName) && t2.substr(this.attrPrefixLen);
9664
10033
  }
9665
- ht.prototype.build = function(t2) {
9666
- return this.options.preserveOrder ? st(t2, this.options) : (Array.isArray(t2) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t2 = { [this.options.arrayNodeName]: t2 }), this.j2x(t2, 0, []).val);
9667
- }, ht.prototype.j2x = function(t2, e2, n2) {
9668
- let i2 = "", s2 = "";
9669
- const r2 = n2.join(".");
9670
- for (let o2 in t2)
9671
- if (Object.prototype.hasOwnProperty.call(t2, o2))
9672
- if (t2[o2] === undefined)
9673
- this.isAttribute(o2) && (s2 += "");
9674
- else if (t2[o2] === null)
9675
- this.isAttribute(o2) || o2 === this.options.cdataPropName ? s2 += "" : o2[0] === "?" ? s2 += this.indentate(e2) + "<" + o2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + o2 + "/" + this.tagEndChar;
9676
- else if (t2[o2] instanceof Date)
9677
- s2 += this.buildTextValNode(t2[o2], o2, "", e2);
9678
- else if (typeof t2[o2] != "object") {
9679
- const n3 = this.isAttribute(o2);
9680
- if (n3 && !this.ignoreAttributesFn(n3, r2))
9681
- i2 += this.buildAttrPairStr(n3, "" + t2[o2]);
9682
- else if (!n3)
9683
- if (o2 === this.options.textNodeName) {
9684
- let e3 = this.options.tagValueProcessor(o2, "" + t2[o2]);
10034
+ Pt.prototype.build = function(t2) {
10035
+ if (this.options.preserveOrder)
10036
+ return gt3(t2, this.options);
10037
+ {
10038
+ Array.isArray(t2) && this.options.arrayNodeName && this.options.arrayNodeName.length > 1 && (t2 = { [this.options.arrayNodeName]: t2 });
10039
+ const e2 = new M;
10040
+ return this.j2x(t2, 0, e2).val;
10041
+ }
10042
+ }, Pt.prototype.j2x = function(t2, e2, i2) {
10043
+ let n2 = "", s2 = "";
10044
+ if (this.options.maxNestedTags && i2.getDepth() >= this.options.maxNestedTags)
10045
+ throw new Error("Maximum nested tags exceeded");
10046
+ const r2 = this.options.jPath ? i2.toString() : i2, o2 = this.checkStopNode(i2);
10047
+ for (let a2 in t2)
10048
+ if (Object.prototype.hasOwnProperty.call(t2, a2))
10049
+ if (t2[a2] === undefined)
10050
+ this.isAttribute(a2) && (s2 += "");
10051
+ else if (t2[a2] === null)
10052
+ this.isAttribute(a2) || a2 === this.options.cdataPropName ? s2 += "" : a2[0] === "?" ? s2 += this.indentate(e2) + "<" + a2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + a2 + "/" + this.tagEndChar;
10053
+ else if (t2[a2] instanceof Date)
10054
+ s2 += this.buildTextValNode(t2[a2], a2, "", e2, i2);
10055
+ else if (typeof t2[a2] != "object") {
10056
+ const h2 = this.isAttribute(a2);
10057
+ if (h2 && !this.ignoreAttributesFn(h2, r2))
10058
+ n2 += this.buildAttrPairStr(h2, "" + t2[a2], o2);
10059
+ else if (!h2)
10060
+ if (a2 === this.options.textNodeName) {
10061
+ let e3 = this.options.tagValueProcessor(a2, "" + t2[a2]);
9685
10062
  s2 += this.replaceEntitiesValue(e3);
9686
- } else
9687
- s2 += this.buildTextValNode(t2[o2], o2, "", e2);
9688
- } else if (Array.isArray(t2[o2])) {
9689
- const i3 = t2[o2].length;
9690
- let r3 = "", a2 = "";
9691
- for (let l2 = 0;l2 < i3; l2++) {
9692
- const i4 = t2[o2][l2];
9693
- if (i4 === undefined)
10063
+ } else {
10064
+ i2.push(a2);
10065
+ const n3 = this.checkStopNode(i2);
10066
+ if (i2.pop(), n3) {
10067
+ const i3 = "" + t2[a2];
10068
+ s2 += i3 === "" ? this.indentate(e2) + "<" + a2 + this.closeTag(a2) + this.tagEndChar : this.indentate(e2) + "<" + a2 + ">" + i3 + "</" + a2 + this.tagEndChar;
10069
+ } else
10070
+ s2 += this.buildTextValNode(t2[a2], a2, "", e2, i2);
10071
+ }
10072
+ } else if (Array.isArray(t2[a2])) {
10073
+ const n3 = t2[a2].length;
10074
+ let r3 = "", o3 = "";
10075
+ for (let h2 = 0;h2 < n3; h2++) {
10076
+ const n4 = t2[a2][h2];
10077
+ if (n4 === undefined)
9694
10078
  ;
9695
- else if (i4 === null)
9696
- o2[0] === "?" ? s2 += this.indentate(e2) + "<" + o2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + o2 + "/" + this.tagEndChar;
9697
- else if (typeof i4 == "object")
10079
+ else if (n4 === null)
10080
+ a2[0] === "?" ? s2 += this.indentate(e2) + "<" + a2 + "?" + this.tagEndChar : s2 += this.indentate(e2) + "<" + a2 + "/" + this.tagEndChar;
10081
+ else if (typeof n4 == "object")
9698
10082
  if (this.options.oneListGroup) {
9699
- const t3 = this.j2x(i4, e2 + 1, n2.concat(o2));
9700
- r3 += t3.val, this.options.attributesGroupName && i4.hasOwnProperty(this.options.attributesGroupName) && (a2 += t3.attrStr);
10083
+ i2.push(a2);
10084
+ const t3 = this.j2x(n4, e2 + 1, i2);
10085
+ i2.pop(), r3 += t3.val, this.options.attributesGroupName && n4.hasOwnProperty(this.options.attributesGroupName) && (o3 += t3.attrStr);
9701
10086
  } else
9702
- r3 += this.processTextOrObjNode(i4, o2, e2, n2);
10087
+ r3 += this.processTextOrObjNode(n4, a2, e2, i2);
9703
10088
  else if (this.options.oneListGroup) {
9704
- let t3 = this.options.tagValueProcessor(o2, i4);
10089
+ let t3 = this.options.tagValueProcessor(a2, n4);
9705
10090
  t3 = this.replaceEntitiesValue(t3), r3 += t3;
9706
- } else
9707
- r3 += this.buildTextValNode(i4, o2, "", e2);
10091
+ } else {
10092
+ i2.push(a2);
10093
+ const t3 = this.checkStopNode(i2);
10094
+ if (i2.pop(), t3) {
10095
+ const t4 = "" + n4;
10096
+ r3 += t4 === "" ? this.indentate(e2) + "<" + a2 + this.closeTag(a2) + this.tagEndChar : this.indentate(e2) + "<" + a2 + ">" + t4 + "</" + a2 + this.tagEndChar;
10097
+ } else
10098
+ r3 += this.buildTextValNode(n4, a2, "", e2, i2);
10099
+ }
9708
10100
  }
9709
- this.options.oneListGroup && (r3 = this.buildObjectNode(r3, o2, a2, e2)), s2 += r3;
9710
- } else if (this.options.attributesGroupName && o2 === this.options.attributesGroupName) {
9711
- const e3 = Object.keys(t2[o2]), n3 = e3.length;
9712
- for (let s3 = 0;s3 < n3; s3++)
9713
- i2 += this.buildAttrPairStr(e3[s3], "" + t2[o2][e3[s3]]);
10101
+ this.options.oneListGroup && (r3 = this.buildObjectNode(r3, a2, o3, e2)), s2 += r3;
10102
+ } else if (this.options.attributesGroupName && a2 === this.options.attributesGroupName) {
10103
+ const e3 = Object.keys(t2[a2]), i3 = e3.length;
10104
+ for (let s3 = 0;s3 < i3; s3++)
10105
+ n2 += this.buildAttrPairStr(e3[s3], "" + t2[a2][e3[s3]], o2);
9714
10106
  } else
9715
- s2 += this.processTextOrObjNode(t2[o2], o2, e2, n2);
9716
- return { attrStr: i2, val: s2 };
9717
- }, ht.prototype.buildAttrPairStr = function(t2, e2) {
9718
- return e2 = this.options.attributeValueProcessor(t2, "" + e2), e2 = this.replaceEntitiesValue(e2), this.options.suppressBooleanAttributes && e2 === "true" ? " " + t2 : " " + t2 + '="' + e2 + '"';
9719
- }, ht.prototype.buildObjectNode = function(t2, e2, n2, i2) {
10107
+ s2 += this.processTextOrObjNode(t2[a2], a2, e2, i2);
10108
+ return { attrStr: n2, val: s2 };
10109
+ }, Pt.prototype.buildAttrPairStr = function(t2, e2, i2) {
10110
+ return i2 || (e2 = this.options.attributeValueProcessor(t2, "" + e2), e2 = this.replaceEntitiesValue(e2)), this.options.suppressBooleanAttributes && e2 === "true" ? " " + t2 : " " + t2 + '="' + e2 + '"';
10111
+ }, Pt.prototype.extractAttributes = function(t2) {
10112
+ if (!t2 || typeof t2 != "object")
10113
+ return null;
10114
+ const e2 = {};
10115
+ let i2 = false;
10116
+ if (this.options.attributesGroupName && t2[this.options.attributesGroupName]) {
10117
+ const n2 = t2[this.options.attributesGroupName];
10118
+ for (let t3 in n2)
10119
+ Object.prototype.hasOwnProperty.call(n2, t3) && (e2[t3.startsWith(this.options.attributeNamePrefix) ? t3.substring(this.options.attributeNamePrefix.length) : t3] = n2[t3], i2 = true);
10120
+ } else
10121
+ for (let n2 in t2) {
10122
+ if (!Object.prototype.hasOwnProperty.call(t2, n2))
10123
+ continue;
10124
+ const s2 = this.isAttribute(n2);
10125
+ s2 && (e2[s2] = t2[n2], i2 = true);
10126
+ }
10127
+ return i2 ? e2 : null;
10128
+ }, Pt.prototype.buildRawContent = function(t2) {
10129
+ if (typeof t2 == "string")
10130
+ return t2;
10131
+ if (typeof t2 != "object" || t2 === null)
10132
+ return String(t2);
10133
+ if (t2[this.options.textNodeName] !== undefined)
10134
+ return t2[this.options.textNodeName];
10135
+ let e2 = "";
10136
+ for (let i2 in t2) {
10137
+ if (!Object.prototype.hasOwnProperty.call(t2, i2))
10138
+ continue;
10139
+ if (this.isAttribute(i2))
10140
+ continue;
10141
+ if (this.options.attributesGroupName && i2 === this.options.attributesGroupName)
10142
+ continue;
10143
+ const n2 = t2[i2];
10144
+ if (i2 === this.options.textNodeName)
10145
+ e2 += n2;
10146
+ else if (Array.isArray(n2)) {
10147
+ for (let t3 of n2)
10148
+ if (typeof t3 == "string" || typeof t3 == "number")
10149
+ e2 += `<${i2}>${t3}</${i2}>`;
10150
+ else if (typeof t3 == "object" && t3 !== null) {
10151
+ const n3 = this.buildRawContent(t3), s2 = this.buildAttributesForStopNode(t3);
10152
+ e2 += n3 === "" ? `<${i2}${s2}/>` : `<${i2}${s2}>${n3}</${i2}>`;
10153
+ }
10154
+ } else if (typeof n2 == "object" && n2 !== null) {
10155
+ const t3 = this.buildRawContent(n2), s2 = this.buildAttributesForStopNode(n2);
10156
+ e2 += t3 === "" ? `<${i2}${s2}/>` : `<${i2}${s2}>${t3}</${i2}>`;
10157
+ } else
10158
+ e2 += `<${i2}>${n2}</${i2}>`;
10159
+ }
10160
+ return e2;
10161
+ }, Pt.prototype.buildAttributesForStopNode = function(t2) {
10162
+ if (!t2 || typeof t2 != "object")
10163
+ return "";
10164
+ let e2 = "";
10165
+ if (this.options.attributesGroupName && t2[this.options.attributesGroupName]) {
10166
+ const i2 = t2[this.options.attributesGroupName];
10167
+ for (let t3 in i2) {
10168
+ if (!Object.prototype.hasOwnProperty.call(i2, t3))
10169
+ continue;
10170
+ const n2 = t3.startsWith(this.options.attributeNamePrefix) ? t3.substring(this.options.attributeNamePrefix.length) : t3, s2 = i2[t3];
10171
+ s2 === true && this.options.suppressBooleanAttributes ? e2 += " " + n2 : e2 += " " + n2 + '="' + s2 + '"';
10172
+ }
10173
+ } else
10174
+ for (let i2 in t2) {
10175
+ if (!Object.prototype.hasOwnProperty.call(t2, i2))
10176
+ continue;
10177
+ const n2 = this.isAttribute(i2);
10178
+ if (n2) {
10179
+ const s2 = t2[i2];
10180
+ s2 === true && this.options.suppressBooleanAttributes ? e2 += " " + n2 : e2 += " " + n2 + '="' + s2 + '"';
10181
+ }
10182
+ }
10183
+ return e2;
10184
+ }, Pt.prototype.buildObjectNode = function(t2, e2, i2, n2) {
9720
10185
  if (t2 === "")
9721
- return e2[0] === "?" ? this.indentate(i2) + "<" + e2 + n2 + "?" + this.tagEndChar : this.indentate(i2) + "<" + e2 + n2 + this.closeTag(e2) + this.tagEndChar;
10186
+ return e2[0] === "?" ? this.indentate(n2) + "<" + e2 + i2 + "?" + this.tagEndChar : this.indentate(n2) + "<" + e2 + i2 + this.closeTag(e2) + this.tagEndChar;
9722
10187
  {
9723
10188
  let s2 = "</" + e2 + this.tagEndChar, r2 = "";
9724
- return e2[0] === "?" && (r2 = "?", s2 = ""), !n2 && n2 !== "" || t2.indexOf("<") !== -1 ? this.options.commentPropName !== false && e2 === this.options.commentPropName && r2.length === 0 ? this.indentate(i2) + `<!--${t2}-->` + this.newLine : this.indentate(i2) + "<" + e2 + n2 + r2 + this.tagEndChar + t2 + this.indentate(i2) + s2 : this.indentate(i2) + "<" + e2 + n2 + r2 + ">" + t2 + s2;
10189
+ return e2[0] === "?" && (r2 = "?", s2 = ""), !i2 && i2 !== "" || t2.indexOf("<") !== -1 ? this.options.commentPropName !== false && e2 === this.options.commentPropName && r2.length === 0 ? this.indentate(n2) + `<!--${t2}-->` + this.newLine : this.indentate(n2) + "<" + e2 + i2 + r2 + this.tagEndChar + t2 + this.indentate(n2) + s2 : this.indentate(n2) + "<" + e2 + i2 + r2 + ">" + t2 + s2;
9725
10190
  }
9726
- }, ht.prototype.closeTag = function(t2) {
10191
+ }, Pt.prototype.closeTag = function(t2) {
9727
10192
  let e2 = "";
9728
10193
  return this.options.unpairedTags.indexOf(t2) !== -1 ? this.options.suppressUnpairedNode || (e2 = "/") : e2 = this.options.suppressEmptyNode ? "/" : `></${t2}`, e2;
9729
- }, ht.prototype.buildTextValNode = function(t2, e2, n2, i2) {
10194
+ }, Pt.prototype.checkStopNode = function(t2) {
10195
+ if (!this.stopNodeExpressions || this.stopNodeExpressions.length === 0)
10196
+ return false;
10197
+ for (let e2 = 0;e2 < this.stopNodeExpressions.length; e2++)
10198
+ if (t2.matches(this.stopNodeExpressions[e2]))
10199
+ return true;
10200
+ return false;
10201
+ }, Pt.prototype.buildTextValNode = function(t2, e2, i2, n2, s2) {
9730
10202
  if (this.options.cdataPropName !== false && e2 === this.options.cdataPropName)
9731
- return this.indentate(i2) + `<![CDATA[${t2}]]>` + this.newLine;
10203
+ return this.indentate(n2) + `<![CDATA[${t2}]]>` + this.newLine;
9732
10204
  if (this.options.commentPropName !== false && e2 === this.options.commentPropName)
9733
- return this.indentate(i2) + `<!--${t2}-->` + this.newLine;
10205
+ return this.indentate(n2) + `<!--${t2}-->` + this.newLine;
9734
10206
  if (e2[0] === "?")
9735
- return this.indentate(i2) + "<" + e2 + n2 + "?" + this.tagEndChar;
10207
+ return this.indentate(n2) + "<" + e2 + i2 + "?" + this.tagEndChar;
9736
10208
  {
9737
- let s2 = this.options.tagValueProcessor(e2, t2);
9738
- return s2 = this.replaceEntitiesValue(s2), s2 === "" ? this.indentate(i2) + "<" + e2 + n2 + this.closeTag(e2) + this.tagEndChar : this.indentate(i2) + "<" + e2 + n2 + ">" + s2 + "</" + e2 + this.tagEndChar;
10209
+ let s3 = this.options.tagValueProcessor(e2, t2);
10210
+ return s3 = this.replaceEntitiesValue(s3), s3 === "" ? this.indentate(n2) + "<" + e2 + i2 + this.closeTag(e2) + this.tagEndChar : this.indentate(n2) + "<" + e2 + i2 + ">" + s3 + "</" + e2 + this.tagEndChar;
9739
10211
  }
9740
- }, ht.prototype.replaceEntitiesValue = function(t2) {
10212
+ }, Pt.prototype.replaceEntitiesValue = function(t2) {
9741
10213
  if (t2 && t2.length > 0 && this.options.processEntities)
9742
10214
  for (let e2 = 0;e2 < this.options.entities.length; e2++) {
9743
- const n2 = this.options.entities[e2];
9744
- t2 = t2.replace(n2.regex, n2.val);
10215
+ const i2 = this.options.entities[e2];
10216
+ t2 = t2.replace(i2.regex, i2.val);
9745
10217
  }
9746
10218
  return t2;
9747
10219
  };
9748
- const gt3 = ht, xt = { validate: a };
10220
+ const Ot = Pt, $t = { validate: l };
9749
10221
  module.exports = e;
9750
10222
  })();
9751
10223
  });
9752
10224
 
9753
- // ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.11/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js
10225
+ // ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.12/node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js
9754
10226
  var require_xml_parser = __commonJS((exports) => {
9755
10227
  Object.defineProperty(exports, "__esModule", { value: true });
9756
10228
  exports.parseXML = parseXML;
@@ -9774,7 +10246,7 @@ var require_xml_parser = __commonJS((exports) => {
9774
10246
  }
9775
10247
  });
9776
10248
 
9777
- // ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.11/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
10249
+ // ../node_modules/.pnpm/@aws-sdk+xml-builder@3.972.12/node_modules/@aws-sdk/xml-builder/dist-cjs/index.js
9778
10250
  var require_dist_cjs24 = __commonJS((exports) => {
9779
10251
  var xmlParser = require_xml_parser();
9780
10252
  function escapeAttribute(value) {
@@ -9885,7 +10357,7 @@ var require_dist_cjs24 = __commonJS((exports) => {
9885
10357
  exports.XmlText = XmlText;
9886
10358
  });
9887
10359
 
9888
- // ../node_modules/.pnpm/@aws-sdk+core@3.973.20/node_modules/@aws-sdk/core/dist-cjs/index.js
10360
+ // ../node_modules/.pnpm/@aws-sdk+core@3.973.21/node_modules/@aws-sdk/core/dist-cjs/index.js
9889
10361
  var require_dist_cjs25 = __commonJS((exports) => {
9890
10362
  var protocolHttp = require_dist_cjs2();
9891
10363
  var core = require_dist_cjs18();
@@ -12987,7 +13459,7 @@ var require_main5 = __commonJS((exports) => {
12987
13459
  } });
12988
13460
  });
12989
13461
 
12990
- // ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.0/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js
13462
+ // ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.1/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/getCrc32ChecksumAlgorithmFunction.js
12991
13463
  var require_getCrc32ChecksumAlgorithmFunction = __commonJS((exports) => {
12992
13464
  Object.defineProperty(exports, "__esModule", { value: true });
12993
13465
  exports.getCrc32ChecksumAlgorithmFunction = undefined;
@@ -13017,7 +13489,7 @@ var require_getCrc32ChecksumAlgorithmFunction = __commonJS((exports) => {
13017
13489
  exports.getCrc32ChecksumAlgorithmFunction = getCrc32ChecksumAlgorithmFunction;
13018
13490
  });
13019
13491
 
13020
- // ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.0/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js
13492
+ // ../node_modules/.pnpm/@aws-sdk+middleware-flexible-checksums@3.974.1/node_modules/@aws-sdk/middleware-flexible-checksums/dist-cjs/index.js
13021
13493
  var require_dist_cjs30 = __commonJS((exports) => {
13022
13494
  var core = require_dist_cjs25();
13023
13495
  var protocolHttp = require_dist_cjs2();
@@ -13753,7 +14225,7 @@ var require_dist_cjs35 = __commonJS((exports) => {
13753
14225
  exports.numberSelector = numberSelector;
13754
14226
  });
13755
14227
 
13756
- // ../node_modules/.pnpm/@aws-sdk+middleware-sdk-s3@3.972.20/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js
14228
+ // ../node_modules/.pnpm/@aws-sdk+middleware-sdk-s3@3.972.21/node_modules/@aws-sdk/middleware-sdk-s3/dist-cjs/index.js
13757
14229
  var require_dist_cjs36 = __commonJS((exports) => {
13758
14230
  var protocolHttp = require_dist_cjs2();
13759
14231
  var smithyClient = require_dist_cjs23();
@@ -15463,7 +15935,7 @@ var require_dist_cjs40 = __commonJS((exports) => {
15463
15935
  exports.TIMEOUT_RETRY_COST = TIMEOUT_RETRY_COST;
15464
15936
  });
15465
15937
 
15466
- // ../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.972.21/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js
15938
+ // ../node_modules/.pnpm/@aws-sdk+middleware-user-agent@3.972.22/node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js
15467
15939
  var require_dist_cjs41 = __commonJS((exports) => {
15468
15940
  var core = require_dist_cjs18();
15469
15941
  var utilEndpoints = require_dist_cjs38();
@@ -16148,7 +16620,7 @@ var require_dist_cjs46 = __commonJS((exports) => {
16148
16620
  exports.loadConfig = loadConfig;
16149
16621
  });
16150
16622
 
16151
- // ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.25/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js
16623
+ // ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.26/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js
16152
16624
  var require_getEndpointUrlConfig = __commonJS((exports) => {
16153
16625
  Object.defineProperty(exports, "__esModule", { value: true });
16154
16626
  exports.getEndpointUrlConfig = undefined;
@@ -16186,7 +16658,7 @@ var require_getEndpointUrlConfig = __commonJS((exports) => {
16186
16658
  exports.getEndpointUrlConfig = getEndpointUrlConfig;
16187
16659
  });
16188
16660
 
16189
- // ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.25/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js
16661
+ // ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.26/node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js
16190
16662
  var require_getEndpointFromConfig = __commonJS((exports) => {
16191
16663
  Object.defineProperty(exports, "__esModule", { value: true });
16192
16664
  exports.getEndpointFromConfig = undefined;
@@ -16196,7 +16668,7 @@ var require_getEndpointFromConfig = __commonJS((exports) => {
16196
16668
  exports.getEndpointFromConfig = getEndpointFromConfig;
16197
16669
  });
16198
16670
 
16199
- // ../node_modules/.pnpm/@smithy+middleware-serde@4.2.14/node_modules/@smithy/middleware-serde/dist-cjs/index.js
16671
+ // ../node_modules/.pnpm/@smithy+middleware-serde@4.2.15/node_modules/@smithy/middleware-serde/dist-cjs/index.js
16200
16672
  var require_dist_cjs47 = __commonJS((exports) => {
16201
16673
  var protocolHttp = require_dist_cjs2();
16202
16674
  var endpoints = require_endpoints();
@@ -16292,7 +16764,7 @@ var require_dist_cjs47 = __commonJS((exports) => {
16292
16764
  exports.serializerMiddlewareOption = serializerMiddlewareOption;
16293
16765
  });
16294
16766
 
16295
- // ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.25/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js
16767
+ // ../node_modules/.pnpm/@smithy+middleware-endpoint@4.4.26/node_modules/@smithy/middleware-endpoint/dist-cjs/index.js
16296
16768
  var require_dist_cjs48 = __commonJS((exports) => {
16297
16769
  var getEndpointFromConfig = require_getEndpointFromConfig();
16298
16770
  var urlParser = require_dist_cjs16();
@@ -16543,7 +17015,7 @@ var require_dist_cjs48 = __commonJS((exports) => {
16543
17015
  exports.toEndpointV1 = toEndpointV1;
16544
17016
  });
16545
17017
 
16546
- // ../node_modules/.pnpm/@smithy+middleware-retry@4.4.42/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js
17018
+ // ../node_modules/.pnpm/@smithy+middleware-retry@4.4.43/node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js
16547
17019
  var require_isStreamingPayload = __commonJS((exports) => {
16548
17020
  Object.defineProperty(exports, "__esModule", { value: true });
16549
17021
  exports.isStreamingPayload = undefined;
@@ -16552,7 +17024,7 @@ var require_isStreamingPayload = __commonJS((exports) => {
16552
17024
  exports.isStreamingPayload = isStreamingPayload;
16553
17025
  });
16554
17026
 
16555
- // ../node_modules/.pnpm/@smithy+middleware-retry@4.4.42/node_modules/@smithy/middleware-retry/dist-cjs/index.js
17027
+ // ../node_modules/.pnpm/@smithy+middleware-retry@4.4.43/node_modules/@smithy/middleware-retry/dist-cjs/index.js
16556
17028
  var require_dist_cjs49 = __commonJS((exports) => {
16557
17029
  var utilRetry = require_dist_cjs40();
16558
17030
  var protocolHttp = require_dist_cjs2();
@@ -16890,7 +17362,7 @@ var require_dist_cjs49 = __commonJS((exports) => {
16890
17362
  exports.retryMiddlewareOptions = retryMiddlewareOptions;
16891
17363
  });
16892
17364
 
16893
- // ../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.8/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
17365
+ // ../node_modules/.pnpm/@aws-sdk+signature-v4-multi-region@3.996.9/node_modules/@aws-sdk/signature-v4-multi-region/dist-cjs/index.js
16894
17366
  var require_dist_cjs50 = __commonJS((exports) => {
16895
17367
  var middlewareSdkS3 = require_dist_cjs36();
16896
17368
  var signatureV4 = require_dist_cjs20();
@@ -16986,7 +17458,7 @@ var require_dist_cjs50 = __commonJS((exports) => {
16986
17458
  exports.signatureV4CrtContainer = signatureV4CrtContainer;
16987
17459
  });
16988
17460
 
16989
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js
17461
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/ruleset.js
16990
17462
  var require_ruleset = __commonJS((exports) => {
16991
17463
  Object.defineProperty(exports, "__esModule", { value: true });
16992
17464
  exports.ruleSet = undefined;
@@ -17185,7 +17657,7 @@ var require_ruleset = __commonJS((exports) => {
17185
17657
  exports.ruleSet = _data;
17186
17658
  });
17187
17659
 
17188
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js
17660
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/endpoint/endpointResolver.js
17189
17661
  var require_endpointResolver = __commonJS((exports) => {
17190
17662
  Object.defineProperty(exports, "__esModule", { value: true });
17191
17663
  exports.defaultEndpointResolver = undefined;
@@ -17221,7 +17693,7 @@ var require_endpointResolver = __commonJS((exports) => {
17221
17693
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
17222
17694
  });
17223
17695
 
17224
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js
17696
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/auth/httpAuthSchemeProvider.js
17225
17697
  var require_httpAuthSchemeProvider = __commonJS((exports) => {
17226
17698
  Object.defineProperty(exports, "__esModule", { value: true });
17227
17699
  exports.resolveHttpAuthSchemeConfig = exports.defaultS3HttpAuthSchemeProvider = exports.defaultS3HttpAuthSchemeParametersProvider = undefined;
@@ -17347,7 +17819,7 @@ var require_httpAuthSchemeProvider = __commonJS((exports) => {
17347
17819
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
17348
17820
  });
17349
17821
 
17350
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js
17822
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/models/S3ServiceException.js
17351
17823
  var require_S3ServiceException = __commonJS((exports) => {
17352
17824
  Object.defineProperty(exports, "__esModule", { value: true });
17353
17825
  exports.S3ServiceException = exports.__ServiceException = undefined;
@@ -17365,7 +17837,7 @@ var require_S3ServiceException = __commonJS((exports) => {
17365
17837
  exports.S3ServiceException = S3ServiceException;
17366
17838
  });
17367
17839
 
17368
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js
17840
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/models/errors.js
17369
17841
  var require_errors = __commonJS((exports) => {
17370
17842
  Object.defineProperty(exports, "__esModule", { value: true });
17371
17843
  exports.ObjectAlreadyInActiveTierError = exports.IdempotencyParameterMismatch = exports.TooManyParts = exports.InvalidWriteOffset = exports.InvalidRequest = exports.EncryptionTypeMismatch = exports.NotFound = exports.NoSuchKey = exports.InvalidObjectState = exports.NoSuchBucket = exports.BucketAlreadyOwnedByYou = exports.BucketAlreadyExists = exports.ObjectNotInActiveTierError = exports.AccessDenied = exports.NoSuchUpload = undefined;
@@ -17586,7 +18058,7 @@ var require_errors = __commonJS((exports) => {
17586
18058
  exports.ObjectAlreadyInActiveTierError = ObjectAlreadyInActiveTierError;
17587
18059
  });
17588
18060
 
17589
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js
18061
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/schemas/schemas_0.js
17590
18062
  var require_schemas_0 = __commonJS((exports) => {
17591
18063
  Object.defineProperty(exports, "__esModule", { value: true });
17592
18064
  exports.CreateBucketMetadataTableConfigurationRequest$ = exports.CreateBucketMetadataConfigurationRequest$ = exports.CreateBucketConfiguration$ = exports.CORSRule$ = exports.CORSConfiguration$ = exports.CopyPartResult$ = exports.CopyObjectResult$ = exports.CopyObjectRequest$ = exports.CopyObjectOutput$ = exports.ContinuationEvent$ = exports.Condition$ = exports.CompleteMultipartUploadRequest$ = exports.CompleteMultipartUploadOutput$ = exports.CompletedPart$ = exports.CompletedMultipartUpload$ = exports.CommonPrefix$ = exports.Checksum$ = exports.BucketLoggingStatus$ = exports.BucketLifecycleConfiguration$ = exports.BucketInfo$ = exports.Bucket$ = exports.BlockedEncryptionTypes$ = exports.AnalyticsS3BucketDestination$ = exports.AnalyticsExportDestination$ = exports.AnalyticsConfiguration$ = exports.AnalyticsAndOperator$ = exports.AccessControlTranslation$ = exports.AccessControlPolicy$ = exports.AccelerateConfiguration$ = exports.AbortMultipartUploadRequest$ = exports.AbortMultipartUploadOutput$ = exports.AbortIncompleteMultipartUpload$ = exports.AbacStatus$ = exports.errorTypeRegistries = exports.TooManyParts$ = exports.ObjectNotInActiveTierError$ = exports.ObjectAlreadyInActiveTierError$ = exports.NotFound$ = exports.NoSuchUpload$ = exports.NoSuchKey$ = exports.NoSuchBucket$ = exports.InvalidWriteOffset$ = exports.InvalidRequest$ = exports.InvalidObjectState$ = exports.IdempotencyParameterMismatch$ = exports.EncryptionTypeMismatch$ = exports.BucketAlreadyOwnedByYou$ = exports.BucketAlreadyExists$ = exports.AccessDenied$ = exports.S3ServiceException$ = undefined;
@@ -22782,12 +23254,12 @@ var require_schemas_0 = __commonJS((exports) => {
22782
23254
  ];
22783
23255
  });
22784
23256
 
22785
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/package.json
23257
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/package.json
22786
23258
  var require_package3 = __commonJS((exports, module) => {
22787
23259
  module.exports = {
22788
23260
  name: "@aws-sdk/client-s3",
22789
23261
  description: "AWS SDK for JavaScript S3 Client for Node.js, Browser and React Native",
22790
- version: "3.1011.0",
23262
+ version: "3.1012.0",
22791
23263
  scripts: {
22792
23264
  build: "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
22793
23265
  "build:cjs": "node ../../scripts/compilation/inline client-s3",
@@ -22816,26 +23288,26 @@ var require_package3 = __commonJS((exports, module) => {
22816
23288
  "@aws-crypto/sha1-browser": "5.2.0",
22817
23289
  "@aws-crypto/sha256-browser": "5.2.0",
22818
23290
  "@aws-crypto/sha256-js": "5.2.0",
22819
- "@aws-sdk/core": "^3.973.20",
22820
- "@aws-sdk/credential-provider-node": "^3.972.21",
23291
+ "@aws-sdk/core": "^3.973.21",
23292
+ "@aws-sdk/credential-provider-node": "^3.972.22",
22821
23293
  "@aws-sdk/middleware-bucket-endpoint": "^3.972.8",
22822
23294
  "@aws-sdk/middleware-expect-continue": "^3.972.8",
22823
- "@aws-sdk/middleware-flexible-checksums": "^3.974.0",
23295
+ "@aws-sdk/middleware-flexible-checksums": "^3.974.1",
22824
23296
  "@aws-sdk/middleware-host-header": "^3.972.8",
22825
23297
  "@aws-sdk/middleware-location-constraint": "^3.972.8",
22826
23298
  "@aws-sdk/middleware-logger": "^3.972.8",
22827
23299
  "@aws-sdk/middleware-recursion-detection": "^3.972.8",
22828
- "@aws-sdk/middleware-sdk-s3": "^3.972.20",
23300
+ "@aws-sdk/middleware-sdk-s3": "^3.972.21",
22829
23301
  "@aws-sdk/middleware-ssec": "^3.972.8",
22830
- "@aws-sdk/middleware-user-agent": "^3.972.21",
23302
+ "@aws-sdk/middleware-user-agent": "^3.972.22",
22831
23303
  "@aws-sdk/region-config-resolver": "^3.972.8",
22832
- "@aws-sdk/signature-v4-multi-region": "^3.996.8",
23304
+ "@aws-sdk/signature-v4-multi-region": "^3.996.9",
22833
23305
  "@aws-sdk/types": "^3.973.6",
22834
23306
  "@aws-sdk/util-endpoints": "^3.996.5",
22835
23307
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
22836
- "@aws-sdk/util-user-agent-node": "^3.973.7",
23308
+ "@aws-sdk/util-user-agent-node": "^3.973.8",
22837
23309
  "@smithy/config-resolver": "^4.4.11",
22838
- "@smithy/core": "^3.23.11",
23310
+ "@smithy/core": "^3.23.12",
22839
23311
  "@smithy/eventstream-serde-browser": "^4.2.12",
22840
23312
  "@smithy/eventstream-serde-config-resolver": "^4.3.12",
22841
23313
  "@smithy/eventstream-serde-node": "^4.2.12",
@@ -22846,32 +23318,32 @@ var require_package3 = __commonJS((exports, module) => {
22846
23318
  "@smithy/invalid-dependency": "^4.2.12",
22847
23319
  "@smithy/md5-js": "^4.2.12",
22848
23320
  "@smithy/middleware-content-length": "^4.2.12",
22849
- "@smithy/middleware-endpoint": "^4.4.25",
22850
- "@smithy/middleware-retry": "^4.4.42",
22851
- "@smithy/middleware-serde": "^4.2.14",
23321
+ "@smithy/middleware-endpoint": "^4.4.26",
23322
+ "@smithy/middleware-retry": "^4.4.43",
23323
+ "@smithy/middleware-serde": "^4.2.15",
22852
23324
  "@smithy/middleware-stack": "^4.2.12",
22853
23325
  "@smithy/node-config-provider": "^4.3.12",
22854
- "@smithy/node-http-handler": "^4.4.16",
23326
+ "@smithy/node-http-handler": "^4.5.0",
22855
23327
  "@smithy/protocol-http": "^5.3.12",
22856
- "@smithy/smithy-client": "^4.12.5",
23328
+ "@smithy/smithy-client": "^4.12.6",
22857
23329
  "@smithy/types": "^4.13.1",
22858
23330
  "@smithy/url-parser": "^4.2.12",
22859
23331
  "@smithy/util-base64": "^4.3.2",
22860
23332
  "@smithy/util-body-length-browser": "^4.2.2",
22861
23333
  "@smithy/util-body-length-node": "^4.2.3",
22862
- "@smithy/util-defaults-mode-browser": "^4.3.41",
22863
- "@smithy/util-defaults-mode-node": "^4.2.44",
23334
+ "@smithy/util-defaults-mode-browser": "^4.3.42",
23335
+ "@smithy/util-defaults-mode-node": "^4.2.45",
22864
23336
  "@smithy/util-endpoints": "^3.3.3",
22865
23337
  "@smithy/util-middleware": "^4.2.12",
22866
23338
  "@smithy/util-retry": "^4.2.12",
22867
- "@smithy/util-stream": "^4.5.19",
23339
+ "@smithy/util-stream": "^4.5.20",
22868
23340
  "@smithy/util-utf8": "^4.2.2",
22869
23341
  "@smithy/util-waiter": "^4.2.13",
22870
23342
  tslib: "^2.6.2"
22871
23343
  },
22872
23344
  devDependencies: {
22873
- "@aws-sdk/signature-v4-crt": "3.1011.0",
22874
- "@smithy/snapshot-testing": "^2.0.2",
23345
+ "@aws-sdk/signature-v4-crt": "3.1012.0",
23346
+ "@smithy/snapshot-testing": "^2.0.3",
22875
23347
  "@tsconfig/node20": "20.1.8",
22876
23348
  "@types/node": "^20.14.8",
22877
23349
  concurrently: "7.0.0",
@@ -22913,7 +23385,7 @@ var require_package3 = __commonJS((exports, module) => {
22913
23385
  };
22914
23386
  });
22915
23387
 
22916
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.18/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
23388
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.19/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
22917
23389
  var require_dist_cjs51 = __commonJS((exports) => {
22918
23390
  var client = require_client();
22919
23391
  var propertyProvider = require_dist_cjs19();
@@ -23298,7 +23770,7 @@ For more information, please visit: ` + STATIC_STABILITY_DOC_URL);
23298
23770
  exports.providerConfigFromInit = providerConfigFromInit;
23299
23771
  });
23300
23772
 
23301
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.20/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js
23773
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.21/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/checkUrl.js
23302
23774
  var require_checkUrl = __commonJS((exports) => {
23303
23775
  Object.defineProperty(exports, "__esModule", { value: true });
23304
23776
  exports.checkUrl = undefined;
@@ -23338,7 +23810,7 @@ var require_checkUrl = __commonJS((exports) => {
23338
23810
  exports.checkUrl = checkUrl;
23339
23811
  });
23340
23812
 
23341
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.20/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js
23813
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.21/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/requestHelpers.js
23342
23814
  var require_requestHelpers = __commonJS((exports) => {
23343
23815
  Object.defineProperty(exports, "__esModule", { value: true });
23344
23816
  exports.createGetRequest = createGetRequest;
@@ -23389,7 +23861,7 @@ var require_requestHelpers = __commonJS((exports) => {
23389
23861
  }
23390
23862
  });
23391
23863
 
23392
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.20/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js
23864
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.21/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/retry-wrapper.js
23393
23865
  var require_retry_wrapper = __commonJS((exports) => {
23394
23866
  Object.defineProperty(exports, "__esModule", { value: true });
23395
23867
  exports.retryWrapper = undefined;
@@ -23408,7 +23880,7 @@ var require_retry_wrapper = __commonJS((exports) => {
23408
23880
  exports.retryWrapper = retryWrapper;
23409
23881
  });
23410
23882
 
23411
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.20/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js
23883
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.21/node_modules/@aws-sdk/credential-provider-http/dist-cjs/fromHttp/fromHttp.js
23412
23884
  var require_fromHttp = __commonJS((exports) => {
23413
23885
  Object.defineProperty(exports, "__esModule", { value: true });
23414
23886
  exports.fromHttp = undefined;
@@ -23473,7 +23945,7 @@ Set AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI
23473
23945
  exports.fromHttp = fromHttp;
23474
23946
  });
23475
23947
 
23476
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.20/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js
23948
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-http@3.972.21/node_modules/@aws-sdk/credential-provider-http/dist-cjs/index.js
23477
23949
  var require_dist_cjs53 = __commonJS((exports) => {
23478
23950
  Object.defineProperty(exports, "__esModule", { value: true });
23479
23951
  exports.fromHttp = undefined;
@@ -23483,7 +23955,7 @@ var require_dist_cjs53 = __commonJS((exports) => {
23483
23955
  } });
23484
23956
  });
23485
23957
 
23486
- // ../node_modules/.pnpm/@aws-sdk+core@3.973.20/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
23958
+ // ../node_modules/.pnpm/@aws-sdk+core@3.973.21/node_modules/@aws-sdk/core/dist-cjs/submodules/httpAuthSchemes/index.js
23487
23959
  var require_httpAuthSchemes = __commonJS((exports) => {
23488
23960
  var protocolHttp = require_dist_cjs2();
23489
23961
  var core = require_dist_cjs18();
@@ -23773,7 +24245,7 @@ var require_httpAuthSchemes = __commonJS((exports) => {
23773
24245
  exports.validateSigningProperties = validateSigningProperties;
23774
24246
  });
23775
24247
 
23776
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
24248
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/auth/httpAuthSchemeProvider.js
23777
24249
  var require_httpAuthSchemeProvider2 = __commonJS((exports) => {
23778
24250
  Object.defineProperty(exports, "__esModule", { value: true });
23779
24251
  exports.resolveHttpAuthSchemeConfig = exports.defaultSSOOIDCHttpAuthSchemeProvider = exports.defaultSSOOIDCHttpAuthSchemeParametersProvider = undefined;
@@ -23831,11 +24303,11 @@ var require_httpAuthSchemeProvider2 = __commonJS((exports) => {
23831
24303
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
23832
24304
  });
23833
24305
 
23834
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/package.json
24306
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/package.json
23835
24307
  var require_package4 = __commonJS((exports, module) => {
23836
24308
  module.exports = {
23837
24309
  name: "@aws-sdk/nested-clients",
23838
- version: "3.996.10",
24310
+ version: "3.996.11",
23839
24311
  description: "Nested clients for AWS SDK packages.",
23840
24312
  main: "./dist-cjs/index.js",
23841
24313
  module: "./dist-es/index.js",
@@ -23864,37 +24336,37 @@ var require_package4 = __commonJS((exports, module) => {
23864
24336
  dependencies: {
23865
24337
  "@aws-crypto/sha256-browser": "5.2.0",
23866
24338
  "@aws-crypto/sha256-js": "5.2.0",
23867
- "@aws-sdk/core": "^3.973.20",
24339
+ "@aws-sdk/core": "^3.973.21",
23868
24340
  "@aws-sdk/middleware-host-header": "^3.972.8",
23869
24341
  "@aws-sdk/middleware-logger": "^3.972.8",
23870
24342
  "@aws-sdk/middleware-recursion-detection": "^3.972.8",
23871
- "@aws-sdk/middleware-user-agent": "^3.972.21",
24343
+ "@aws-sdk/middleware-user-agent": "^3.972.22",
23872
24344
  "@aws-sdk/region-config-resolver": "^3.972.8",
23873
24345
  "@aws-sdk/types": "^3.973.6",
23874
24346
  "@aws-sdk/util-endpoints": "^3.996.5",
23875
24347
  "@aws-sdk/util-user-agent-browser": "^3.972.8",
23876
- "@aws-sdk/util-user-agent-node": "^3.973.7",
24348
+ "@aws-sdk/util-user-agent-node": "^3.973.8",
23877
24349
  "@smithy/config-resolver": "^4.4.11",
23878
- "@smithy/core": "^3.23.11",
24350
+ "@smithy/core": "^3.23.12",
23879
24351
  "@smithy/fetch-http-handler": "^5.3.15",
23880
24352
  "@smithy/hash-node": "^4.2.12",
23881
24353
  "@smithy/invalid-dependency": "^4.2.12",
23882
24354
  "@smithy/middleware-content-length": "^4.2.12",
23883
- "@smithy/middleware-endpoint": "^4.4.25",
23884
- "@smithy/middleware-retry": "^4.4.42",
23885
- "@smithy/middleware-serde": "^4.2.14",
24355
+ "@smithy/middleware-endpoint": "^4.4.26",
24356
+ "@smithy/middleware-retry": "^4.4.43",
24357
+ "@smithy/middleware-serde": "^4.2.15",
23886
24358
  "@smithy/middleware-stack": "^4.2.12",
23887
24359
  "@smithy/node-config-provider": "^4.3.12",
23888
- "@smithy/node-http-handler": "^4.4.16",
24360
+ "@smithy/node-http-handler": "^4.5.0",
23889
24361
  "@smithy/protocol-http": "^5.3.12",
23890
- "@smithy/smithy-client": "^4.12.5",
24362
+ "@smithy/smithy-client": "^4.12.6",
23891
24363
  "@smithy/types": "^4.13.1",
23892
24364
  "@smithy/url-parser": "^4.2.12",
23893
24365
  "@smithy/util-base64": "^4.3.2",
23894
24366
  "@smithy/util-body-length-browser": "^4.2.2",
23895
24367
  "@smithy/util-body-length-node": "^4.2.3",
23896
- "@smithy/util-defaults-mode-browser": "^4.3.41",
23897
- "@smithy/util-defaults-mode-node": "^4.2.44",
24368
+ "@smithy/util-defaults-mode-browser": "^4.3.42",
24369
+ "@smithy/util-defaults-mode-node": "^4.2.45",
23898
24370
  "@smithy/util-endpoints": "^3.3.3",
23899
24371
  "@smithy/util-middleware": "^4.2.12",
23900
24372
  "@smithy/util-retry": "^4.2.12",
@@ -23982,9 +24454,9 @@ var require_package4 = __commonJS((exports, module) => {
23982
24454
  };
23983
24455
  });
23984
24456
 
23985
- // ../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.7/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
24457
+ // ../node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.8/node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js
23986
24458
  var require_dist_cjs54 = __commonJS((exports) => {
23987
- var __dirname = "/workspace/projects/cli/node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.7/node_modules/@aws-sdk/util-user-agent-node/dist-cjs";
24459
+ var __dirname = "/workspace/projects/cli/node_modules/.pnpm/@aws-sdk+util-user-agent-node@3.973.8/node_modules/@aws-sdk/util-user-agent-node/dist-cjs";
23988
24460
  var node_os = __require("node:os");
23989
24461
  var node_process = __require("node:process");
23990
24462
  var utilConfigProvider = require_dist_cjs35();
@@ -24221,7 +24693,7 @@ var require_dist_cjs56 = __commonJS((exports) => {
24221
24693
  exports.calculateBodyLength = calculateBodyLength;
24222
24694
  });
24223
24695
 
24224
- // ../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.44/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js
24696
+ // ../node_modules/.pnpm/@smithy+util-defaults-mode-node@4.2.45/node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js
24225
24697
  var require_dist_cjs57 = __commonJS((exports) => {
24226
24698
  var configResolver = require_dist_cjs42();
24227
24699
  var nodeConfigProvider = require_dist_cjs46();
@@ -24290,7 +24762,7 @@ var require_dist_cjs57 = __commonJS((exports) => {
24290
24762
  exports.resolveDefaultsModeConfig = resolveDefaultsModeConfig;
24291
24763
  });
24292
24764
 
24293
- // ../node_modules/.pnpm/@aws-sdk+core@3.973.20/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
24765
+ // ../node_modules/.pnpm/@aws-sdk+core@3.973.21/node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js
24294
24766
  var require_protocols2 = __commonJS((exports) => {
24295
24767
  var cbor = require_cbor();
24296
24768
  var schema = require_schema();
@@ -26078,7 +26550,7 @@ var require_protocols2 = __commonJS((exports) => {
26078
26550
  exports.parseXmlErrorBody = parseXmlErrorBody;
26079
26551
  });
26080
26552
 
26081
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js
26553
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/ruleset.js
26082
26554
  var require_ruleset2 = __commonJS((exports) => {
26083
26555
  Object.defineProperty(exports, "__esModule", { value: true });
26084
26556
  exports.ruleSet = undefined;
@@ -26209,7 +26681,7 @@ var require_ruleset2 = __commonJS((exports) => {
26209
26681
  exports.ruleSet = _data;
26210
26682
  });
26211
26683
 
26212
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js
26684
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/endpoint/endpointResolver.js
26213
26685
  var require_endpointResolver2 = __commonJS((exports) => {
26214
26686
  Object.defineProperty(exports, "__esModule", { value: true });
26215
26687
  exports.defaultEndpointResolver = undefined;
@@ -26230,7 +26702,7 @@ var require_endpointResolver2 = __commonJS((exports) => {
26230
26702
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
26231
26703
  });
26232
26704
 
26233
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js
26705
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/SSOOIDCServiceException.js
26234
26706
  var require_SSOOIDCServiceException = __commonJS((exports) => {
26235
26707
  Object.defineProperty(exports, "__esModule", { value: true });
26236
26708
  exports.SSOOIDCServiceException = exports.__ServiceException = undefined;
@@ -26248,7 +26720,7 @@ var require_SSOOIDCServiceException = __commonJS((exports) => {
26248
26720
  exports.SSOOIDCServiceException = SSOOIDCServiceException;
26249
26721
  });
26250
26722
 
26251
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js
26723
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/models/errors.js
26252
26724
  var require_errors2 = __commonJS((exports) => {
26253
26725
  Object.defineProperty(exports, "__esModule", { value: true });
26254
26726
  exports.UnsupportedGrantTypeException = exports.UnauthorizedClientException = exports.SlowDownException = exports.InvalidScopeException = exports.InvalidRequestException = exports.InvalidGrantException = exports.InvalidClientException = exports.InternalServerException = exports.ExpiredTokenException = exports.AuthorizationPendingException = exports.AccessDeniedException = undefined;
@@ -26457,7 +26929,7 @@ var require_errors2 = __commonJS((exports) => {
26457
26929
  exports.UnsupportedGrantTypeException = UnsupportedGrantTypeException;
26458
26930
  });
26459
26931
 
26460
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js
26932
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/schemas/schemas_0.js
26461
26933
  var require_schemas_02 = __commonJS((exports) => {
26462
26934
  Object.defineProperty(exports, "__esModule", { value: true });
26463
26935
  exports.CreateToken$ = exports.CreateTokenResponse$ = exports.CreateTokenRequest$ = exports.errorTypeRegistries = exports.UnsupportedGrantTypeException$ = exports.UnauthorizedClientException$ = exports.SlowDownException$ = exports.InvalidScopeException$ = exports.InvalidRequestException$ = exports.InvalidGrantException$ = exports.InvalidClientException$ = exports.InternalServerException$ = exports.ExpiredTokenException$ = exports.AuthorizationPendingException$ = exports.AccessDeniedException$ = exports.SSOOIDCServiceException$ = undefined;
@@ -26600,7 +27072,7 @@ var require_schemas_02 = __commonJS((exports) => {
26600
27072
  ];
26601
27073
  });
26602
27074
 
26603
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js
27075
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.shared.js
26604
27076
  var require_runtimeConfig_shared = __commonJS((exports) => {
26605
27077
  Object.defineProperty(exports, "__esModule", { value: true });
26606
27078
  exports.getRuntimeConfig = undefined;
@@ -26652,7 +27124,7 @@ var require_runtimeConfig_shared = __commonJS((exports) => {
26652
27124
  exports.getRuntimeConfig = getRuntimeConfig;
26653
27125
  });
26654
27126
 
26655
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js
27127
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/runtimeConfig.js
26656
27128
  var require_runtimeConfig = __commonJS((exports) => {
26657
27129
  Object.defineProperty(exports, "__esModule", { value: true });
26658
27130
  exports.getRuntimeConfig = undefined;
@@ -26764,7 +27236,7 @@ var require_dist_cjs58 = __commonJS((exports) => {
26764
27236
  });
26765
27237
  });
26766
27238
 
26767
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
27239
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso-oidc/index.js
26768
27240
  var require_sso_oidc = __commonJS((exports) => {
26769
27241
  var middlewareHostHeader = require_dist_cjs31();
26770
27242
  var middlewareLogger = require_dist_cjs32();
@@ -26921,7 +27393,7 @@ var require_sso_oidc = __commonJS((exports) => {
26921
27393
  });
26922
27394
  });
26923
27395
 
26924
- // ../node_modules/.pnpm/@aws-sdk+token-providers@3.1009.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js
27396
+ // ../node_modules/.pnpm/@aws-sdk+token-providers@3.1012.0/node_modules/@aws-sdk/token-providers/dist-cjs/index.js
26925
27397
  var require_dist_cjs59 = __commonJS((exports) => {
26926
27398
  var client = require_client();
26927
27399
  var httpAuthSchemes = require_httpAuthSchemes();
@@ -27064,7 +27536,7 @@ var require_dist_cjs59 = __commonJS((exports) => {
27064
27536
  exports.nodeProvider = nodeProvider;
27065
27537
  });
27066
27538
 
27067
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js
27539
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/auth/httpAuthSchemeProvider.js
27068
27540
  var require_httpAuthSchemeProvider3 = __commonJS((exports) => {
27069
27541
  Object.defineProperty(exports, "__esModule", { value: true });
27070
27542
  exports.resolveHttpAuthSchemeConfig = exports.defaultSSOHttpAuthSchemeProvider = exports.defaultSSOHttpAuthSchemeParametersProvider = undefined;
@@ -27122,7 +27594,7 @@ var require_httpAuthSchemeProvider3 = __commonJS((exports) => {
27122
27594
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
27123
27595
  });
27124
27596
 
27125
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js
27597
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/ruleset.js
27126
27598
  var require_ruleset3 = __commonJS((exports) => {
27127
27599
  Object.defineProperty(exports, "__esModule", { value: true });
27128
27600
  exports.ruleSet = undefined;
@@ -27253,7 +27725,7 @@ var require_ruleset3 = __commonJS((exports) => {
27253
27725
  exports.ruleSet = _data;
27254
27726
  });
27255
27727
 
27256
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js
27728
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/endpoint/endpointResolver.js
27257
27729
  var require_endpointResolver3 = __commonJS((exports) => {
27258
27730
  Object.defineProperty(exports, "__esModule", { value: true });
27259
27731
  exports.defaultEndpointResolver = undefined;
@@ -27274,7 +27746,7 @@ var require_endpointResolver3 = __commonJS((exports) => {
27274
27746
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
27275
27747
  });
27276
27748
 
27277
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js
27749
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/SSOServiceException.js
27278
27750
  var require_SSOServiceException = __commonJS((exports) => {
27279
27751
  Object.defineProperty(exports, "__esModule", { value: true });
27280
27752
  exports.SSOServiceException = exports.__ServiceException = undefined;
@@ -27292,7 +27764,7 @@ var require_SSOServiceException = __commonJS((exports) => {
27292
27764
  exports.SSOServiceException = SSOServiceException;
27293
27765
  });
27294
27766
 
27295
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js
27767
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/models/errors.js
27296
27768
  var require_errors3 = __commonJS((exports) => {
27297
27769
  Object.defineProperty(exports, "__esModule", { value: true });
27298
27770
  exports.UnauthorizedException = exports.TooManyRequestsException = exports.ResourceNotFoundException = exports.InvalidRequestException = undefined;
@@ -27355,7 +27827,7 @@ var require_errors3 = __commonJS((exports) => {
27355
27827
  exports.UnauthorizedException = UnauthorizedException;
27356
27828
  });
27357
27829
 
27358
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js
27830
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/schemas/schemas_0.js
27359
27831
  var require_schemas_03 = __commonJS((exports) => {
27360
27832
  Object.defineProperty(exports, "__esModule", { value: true });
27361
27833
  exports.GetRoleCredentials$ = exports.RoleCredentials$ = exports.GetRoleCredentialsResponse$ = exports.GetRoleCredentialsRequest$ = exports.errorTypeRegistries = exports.UnauthorizedException$ = exports.TooManyRequestsException$ = exports.ResourceNotFoundException$ = exports.InvalidRequestException$ = exports.SSOServiceException$ = undefined;
@@ -27448,7 +27920,7 @@ var require_schemas_03 = __commonJS((exports) => {
27448
27920
  ];
27449
27921
  });
27450
27922
 
27451
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js
27923
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.shared.js
27452
27924
  var require_runtimeConfig_shared2 = __commonJS((exports) => {
27453
27925
  Object.defineProperty(exports, "__esModule", { value: true });
27454
27926
  exports.getRuntimeConfig = undefined;
@@ -27500,7 +27972,7 @@ var require_runtimeConfig_shared2 = __commonJS((exports) => {
27500
27972
  exports.getRuntimeConfig = getRuntimeConfig;
27501
27973
  });
27502
27974
 
27503
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js
27975
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/runtimeConfig.js
27504
27976
  var require_runtimeConfig2 = __commonJS((exports) => {
27505
27977
  Object.defineProperty(exports, "__esModule", { value: true });
27506
27978
  exports.getRuntimeConfig = undefined;
@@ -27553,7 +28025,7 @@ var require_runtimeConfig2 = __commonJS((exports) => {
27553
28025
  exports.getRuntimeConfig = getRuntimeConfig;
27554
28026
  });
27555
28027
 
27556
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
28028
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sso/index.js
27557
28029
  var require_sso = __commonJS((exports) => {
27558
28030
  var middlewareHostHeader = require_dist_cjs31();
27559
28031
  var middlewareLogger = require_dist_cjs32();
@@ -27699,14 +28171,14 @@ var require_sso = __commonJS((exports) => {
27699
28171
  });
27700
28172
  });
27701
28173
 
27702
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.20/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js
28174
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.21/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/loadSso-BKDNrsal.js
27703
28175
  var require_loadSso_BKDNrsal = __commonJS((exports) => {
27704
28176
  var sso = require_sso();
27705
28177
  exports.GetRoleCredentialsCommand = sso.GetRoleCredentialsCommand;
27706
28178
  exports.SSOClient = sso.SSOClient;
27707
28179
  });
27708
28180
 
27709
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.20/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
28181
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-sso@3.972.21/node_modules/@aws-sdk/credential-provider-sso/dist-cjs/index.js
27710
28182
  var require_dist_cjs60 = __commonJS((exports) => {
27711
28183
  var propertyProvider = require_dist_cjs19();
27712
28184
  var sharedIniFileLoader = require_dist_cjs45();
@@ -27883,7 +28355,7 @@ Reference: https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-sso.ht
27883
28355
  exports.validateSsoProfile = validateSsoProfile;
27884
28356
  });
27885
28357
 
27886
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js
28358
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/auth/httpAuthSchemeProvider.js
27887
28359
  var require_httpAuthSchemeProvider4 = __commonJS((exports) => {
27888
28360
  Object.defineProperty(exports, "__esModule", { value: true });
27889
28361
  exports.resolveHttpAuthSchemeConfig = exports.defaultSigninHttpAuthSchemeProvider = exports.defaultSigninHttpAuthSchemeParametersProvider = undefined;
@@ -27941,7 +28413,7 @@ var require_httpAuthSchemeProvider4 = __commonJS((exports) => {
27941
28413
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
27942
28414
  });
27943
28415
 
27944
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js
28416
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/ruleset.js
27945
28417
  var require_ruleset4 = __commonJS((exports) => {
27946
28418
  Object.defineProperty(exports, "__esModule", { value: true });
27947
28419
  exports.ruleSet = undefined;
@@ -28099,7 +28571,7 @@ var require_ruleset4 = __commonJS((exports) => {
28099
28571
  exports.ruleSet = _data;
28100
28572
  });
28101
28573
 
28102
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js
28574
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/endpoint/endpointResolver.js
28103
28575
  var require_endpointResolver4 = __commonJS((exports) => {
28104
28576
  Object.defineProperty(exports, "__esModule", { value: true });
28105
28577
  exports.defaultEndpointResolver = undefined;
@@ -28120,7 +28592,7 @@ var require_endpointResolver4 = __commonJS((exports) => {
28120
28592
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
28121
28593
  });
28122
28594
 
28123
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js
28595
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/SigninServiceException.js
28124
28596
  var require_SigninServiceException = __commonJS((exports) => {
28125
28597
  Object.defineProperty(exports, "__esModule", { value: true });
28126
28598
  exports.SigninServiceException = exports.__ServiceException = undefined;
@@ -28138,7 +28610,7 @@ var require_SigninServiceException = __commonJS((exports) => {
28138
28610
  exports.SigninServiceException = SigninServiceException;
28139
28611
  });
28140
28612
 
28141
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js
28613
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/models/errors.js
28142
28614
  var require_errors4 = __commonJS((exports) => {
28143
28615
  Object.defineProperty(exports, "__esModule", { value: true });
28144
28616
  exports.ValidationException = exports.TooManyRequestsError = exports.InternalServerException = exports.AccessDeniedException = undefined;
@@ -28209,7 +28681,7 @@ var require_errors4 = __commonJS((exports) => {
28209
28681
  exports.ValidationException = ValidationException;
28210
28682
  });
28211
28683
 
28212
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js
28684
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/schemas/schemas_0.js
28213
28685
  var require_schemas_04 = __commonJS((exports) => {
28214
28686
  Object.defineProperty(exports, "__esModule", { value: true });
28215
28687
  exports.CreateOAuth2Token$ = exports.CreateOAuth2TokenResponseBody$ = exports.CreateOAuth2TokenResponse$ = exports.CreateOAuth2TokenRequestBody$ = exports.CreateOAuth2TokenRequest$ = exports.AccessToken$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.TooManyRequestsError$ = exports.InternalServerException$ = exports.AccessDeniedException$ = exports.SigninServiceException$ = undefined;
@@ -28337,7 +28809,7 @@ var require_schemas_04 = __commonJS((exports) => {
28337
28809
  ];
28338
28810
  });
28339
28811
 
28340
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js
28812
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.shared.js
28341
28813
  var require_runtimeConfig_shared3 = __commonJS((exports) => {
28342
28814
  Object.defineProperty(exports, "__esModule", { value: true });
28343
28815
  exports.getRuntimeConfig = undefined;
@@ -28389,7 +28861,7 @@ var require_runtimeConfig_shared3 = __commonJS((exports) => {
28389
28861
  exports.getRuntimeConfig = getRuntimeConfig;
28390
28862
  });
28391
28863
 
28392
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js
28864
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/runtimeConfig.js
28393
28865
  var require_runtimeConfig3 = __commonJS((exports) => {
28394
28866
  Object.defineProperty(exports, "__esModule", { value: true });
28395
28867
  exports.getRuntimeConfig = undefined;
@@ -28442,7 +28914,7 @@ var require_runtimeConfig3 = __commonJS((exports) => {
28442
28914
  exports.getRuntimeConfig = getRuntimeConfig;
28443
28915
  });
28444
28916
 
28445
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
28917
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/signin/index.js
28446
28918
  var require_signin = __commonJS((exports) => {
28447
28919
  var middlewareHostHeader = require_dist_cjs31();
28448
28920
  var middlewareLogger = require_dist_cjs32();
@@ -28597,7 +29069,7 @@ var require_signin = __commonJS((exports) => {
28597
29069
  });
28598
29070
  });
28599
29071
 
28600
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.20/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js
29072
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-login@3.972.21/node_modules/@aws-sdk/credential-provider-login/dist-cjs/index.js
28601
29073
  var require_dist_cjs61 = __commonJS((exports) => {
28602
29074
  var client = require_client();
28603
29075
  var propertyProvider = require_dist_cjs19();
@@ -28873,7 +29345,7 @@ var require_dist_cjs61 = __commonJS((exports) => {
28873
29345
  exports.fromLoginCredentials = fromLoginCredentials;
28874
29346
  });
28875
29347
 
28876
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js
29348
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthSchemeProvider.js
28877
29349
  var require_httpAuthSchemeProvider5 = __commonJS((exports) => {
28878
29350
  Object.defineProperty(exports, "__esModule", { value: true });
28879
29351
  exports.resolveHttpAuthSchemeConfig = exports.resolveStsAuthConfig = exports.defaultSTSHttpAuthSchemeProvider = exports.defaultSTSHttpAuthSchemeParametersProvider = undefined;
@@ -28937,7 +29409,7 @@ var require_httpAuthSchemeProvider5 = __commonJS((exports) => {
28937
29409
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
28938
29410
  });
28939
29411
 
28940
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js
29412
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/EndpointParameters.js
28941
29413
  var require_EndpointParameters = __commonJS((exports) => {
28942
29414
  Object.defineProperty(exports, "__esModule", { value: true });
28943
29415
  exports.commonParams = exports.resolveClientEndpointParameters = undefined;
@@ -28959,7 +29431,7 @@ var require_EndpointParameters = __commonJS((exports) => {
28959
29431
  };
28960
29432
  });
28961
29433
 
28962
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js
29434
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/ruleset.js
28963
29435
  var require_ruleset5 = __commonJS((exports) => {
28964
29436
  Object.defineProperty(exports, "__esModule", { value: true });
28965
29437
  exports.ruleSet = undefined;
@@ -29141,7 +29613,7 @@ var require_ruleset5 = __commonJS((exports) => {
29141
29613
  exports.ruleSet = _data;
29142
29614
  });
29143
29615
 
29144
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js
29616
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/endpoint/endpointResolver.js
29145
29617
  var require_endpointResolver5 = __commonJS((exports) => {
29146
29618
  Object.defineProperty(exports, "__esModule", { value: true });
29147
29619
  exports.defaultEndpointResolver = undefined;
@@ -29162,7 +29634,7 @@ var require_endpointResolver5 = __commonJS((exports) => {
29162
29634
  util_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;
29163
29635
  });
29164
29636
 
29165
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js
29637
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/STSServiceException.js
29166
29638
  var require_STSServiceException = __commonJS((exports) => {
29167
29639
  Object.defineProperty(exports, "__esModule", { value: true });
29168
29640
  exports.STSServiceException = exports.__ServiceException = undefined;
@@ -29180,7 +29652,7 @@ var require_STSServiceException = __commonJS((exports) => {
29180
29652
  exports.STSServiceException = STSServiceException;
29181
29653
  });
29182
29654
 
29183
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js
29655
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/models/errors.js
29184
29656
  var require_errors5 = __commonJS((exports) => {
29185
29657
  Object.defineProperty(exports, "__esModule", { value: true });
29186
29658
  exports.IDPCommunicationErrorException = exports.InvalidIdentityTokenException = exports.IDPRejectedClaimException = exports.RegionDisabledException = exports.PackedPolicyTooLargeException = exports.MalformedPolicyDocumentException = exports.ExpiredTokenException = undefined;
@@ -29285,7 +29757,7 @@ var require_errors5 = __commonJS((exports) => {
29285
29757
  exports.IDPCommunicationErrorException = IDPCommunicationErrorException;
29286
29758
  });
29287
29759
 
29288
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js
29760
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/schemas/schemas_0.js
29289
29761
  var require_schemas_05 = __commonJS((exports) => {
29290
29762
  Object.defineProperty(exports, "__esModule", { value: true });
29291
29763
  exports.AssumeRoleWithWebIdentity$ = exports.AssumeRole$ = exports.Tag$ = exports.ProvidedContext$ = exports.PolicyDescriptorType$ = exports.Credentials$ = exports.AssumeRoleWithWebIdentityResponse$ = exports.AssumeRoleWithWebIdentityRequest$ = exports.AssumeRoleResponse$ = exports.AssumeRoleRequest$ = exports.AssumedRoleUser$ = exports.errorTypeRegistries = exports.RegionDisabledException$ = exports.PackedPolicyTooLargeException$ = exports.MalformedPolicyDocumentException$ = exports.InvalidIdentityTokenException$ = exports.IDPRejectedClaimException$ = exports.IDPCommunicationErrorException$ = exports.ExpiredTokenException$ = exports.STSServiceException$ = undefined;
@@ -29483,7 +29955,7 @@ var require_schemas_05 = __commonJS((exports) => {
29483
29955
  ];
29484
29956
  });
29485
29957
 
29486
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js
29958
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.shared.js
29487
29959
  var require_runtimeConfig_shared4 = __commonJS((exports) => {
29488
29960
  Object.defineProperty(exports, "__esModule", { value: true });
29489
29961
  exports.getRuntimeConfig = undefined;
@@ -29536,7 +30008,7 @@ var require_runtimeConfig_shared4 = __commonJS((exports) => {
29536
30008
  exports.getRuntimeConfig = getRuntimeConfig;
29537
30009
  });
29538
30010
 
29539
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js
30011
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeConfig.js
29540
30012
  var require_runtimeConfig4 = __commonJS((exports) => {
29541
30013
  Object.defineProperty(exports, "__esModule", { value: true });
29542
30014
  exports.getRuntimeConfig = undefined;
@@ -29602,7 +30074,7 @@ var require_runtimeConfig4 = __commonJS((exports) => {
29602
30074
  exports.getRuntimeConfig = getRuntimeConfig;
29603
30075
  });
29604
30076
 
29605
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js
30077
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/auth/httpAuthExtensionConfiguration.js
29606
30078
  var require_httpAuthExtensionConfiguration = __commonJS((exports) => {
29607
30079
  Object.defineProperty(exports, "__esModule", { value: true });
29608
30080
  exports.resolveHttpAuthRuntimeConfig = exports.getHttpAuthExtensionConfiguration = undefined;
@@ -29647,7 +30119,7 @@ var require_httpAuthExtensionConfiguration = __commonJS((exports) => {
29647
30119
  exports.resolveHttpAuthRuntimeConfig = resolveHttpAuthRuntimeConfig;
29648
30120
  });
29649
30121
 
29650
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js
30122
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/runtimeExtensions.js
29651
30123
  var require_runtimeExtensions = __commonJS((exports) => {
29652
30124
  Object.defineProperty(exports, "__esModule", { value: true });
29653
30125
  exports.resolveRuntimeExtensions = undefined;
@@ -29663,7 +30135,7 @@ var require_runtimeExtensions = __commonJS((exports) => {
29663
30135
  exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
29664
30136
  });
29665
30137
 
29666
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js
30138
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/STSClient.js
29667
30139
  var require_STSClient = __commonJS((exports) => {
29668
30140
  Object.defineProperty(exports, "__esModule", { value: true });
29669
30141
  exports.STSClient = exports.__Client = undefined;
@@ -29723,7 +30195,7 @@ var require_STSClient = __commonJS((exports) => {
29723
30195
  exports.STSClient = STSClient;
29724
30196
  });
29725
30197
 
29726
- // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.10/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
30198
+ // ../node_modules/.pnpm/@aws-sdk+nested-clients@3.996.11/node_modules/@aws-sdk/nested-clients/dist-cjs/submodules/sts/index.js
29727
30199
  var require_sts = __commonJS((exports) => {
29728
30200
  var STSClient = require_STSClient();
29729
30201
  var smithyClient = require_dist_cjs23();
@@ -29904,7 +30376,7 @@ var require_sts = __commonJS((exports) => {
29904
30376
  });
29905
30377
  });
29906
30378
 
29907
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.18/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
30379
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-process@3.972.19/node_modules/@aws-sdk/credential-provider-process/dist-cjs/index.js
29908
30380
  var require_dist_cjs62 = __commonJS((exports) => {
29909
30381
  var sharedIniFileLoader = require_dist_cjs45();
29910
30382
  var propertyProvider = require_dist_cjs19();
@@ -29977,7 +30449,7 @@ var require_dist_cjs62 = __commonJS((exports) => {
29977
30449
  exports.fromProcess = fromProcess;
29978
30450
  });
29979
30451
 
29980
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.20/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js
30452
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.21/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromWebToken.js
29981
30453
  var require_fromWebToken = __commonJS((exports) => {
29982
30454
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
29983
30455
  if (k2 === undefined)
@@ -30053,7 +30525,7 @@ var require_fromWebToken = __commonJS((exports) => {
30053
30525
  exports.fromWebToken = fromWebToken;
30054
30526
  });
30055
30527
 
30056
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.20/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js
30528
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.21/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/fromTokenFile.js
30057
30529
  var require_fromTokenFile = __commonJS((exports) => {
30058
30530
  Object.defineProperty(exports, "__esModule", { value: true });
30059
30531
  exports.fromTokenFile = undefined;
@@ -30089,7 +30561,7 @@ var require_fromTokenFile = __commonJS((exports) => {
30089
30561
  exports.fromTokenFile = fromTokenFile;
30090
30562
  });
30091
30563
 
30092
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.20/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
30564
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-web-identity@3.972.21/node_modules/@aws-sdk/credential-provider-web-identity/dist-cjs/index.js
30093
30565
  var require_dist_cjs63 = __commonJS((exports) => {
30094
30566
  var fromTokenFile = require_fromTokenFile();
30095
30567
  var fromWebToken = require_fromWebToken();
@@ -30111,7 +30583,7 @@ var require_dist_cjs63 = __commonJS((exports) => {
30111
30583
  });
30112
30584
  });
30113
30585
 
30114
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.972.20/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
30586
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-ini@3.972.21/node_modules/@aws-sdk/credential-provider-ini/dist-cjs/index.js
30115
30587
  var require_dist_cjs64 = __commonJS((exports) => {
30116
30588
  var sharedIniFileLoader = require_dist_cjs45();
30117
30589
  var propertyProvider = require_dist_cjs19();
@@ -30299,7 +30771,7 @@ var require_dist_cjs64 = __commonJS((exports) => {
30299
30771
  exports.fromIni = fromIni;
30300
30772
  });
30301
30773
 
30302
- // ../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.21/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
30774
+ // ../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.22/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
30303
30775
  var require_dist_cjs65 = __commonJS((exports) => {
30304
30776
  var credentialProviderEnv = require_dist_cjs51();
30305
30777
  var propertyProvider = require_dist_cjs19();
@@ -31401,7 +31873,7 @@ var require_dist_cjs70 = __commonJS((exports) => {
31401
31873
  exports.readableStreamHasher = readableStreamHasher;
31402
31874
  });
31403
31875
 
31404
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js
31876
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.shared.js
31405
31877
  var require_runtimeConfig_shared5 = __commonJS((exports) => {
31406
31878
  Object.defineProperty(exports, "__esModule", { value: true });
31407
31879
  exports.getRuntimeConfig = undefined;
@@ -31460,7 +31932,7 @@ var require_runtimeConfig_shared5 = __commonJS((exports) => {
31460
31932
  exports.getRuntimeConfig = getRuntimeConfig;
31461
31933
  });
31462
31934
 
31463
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js
31935
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/runtimeConfig.js
31464
31936
  var require_runtimeConfig5 = __commonJS((exports) => {
31465
31937
  Object.defineProperty(exports, "__esModule", { value: true });
31466
31938
  exports.getRuntimeConfig = undefined;
@@ -31797,7 +32269,7 @@ var require_dist_cjs73 = __commonJS((exports) => {
31797
32269
  exports.waiterServiceDefaults = waiterServiceDefaults;
31798
32270
  });
31799
32271
 
31800
- // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1011.0/node_modules/@aws-sdk/client-s3/dist-cjs/index.js
32272
+ // ../node_modules/.pnpm/@aws-sdk+client-s3@3.1012.0/node_modules/@aws-sdk/client-s3/dist-cjs/index.js
31801
32273
  var require_dist_cjs74 = __commonJS((exports) => {
31802
32274
  var middlewareExpectContinue = require_dist_cjs3();
31803
32275
  var middlewareFlexibleChecksums = require_dist_cjs30();