@powerlines/plugin-automd 0.1.253 → 0.1.255

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (139) hide show
  1. package/dist/{chunk-BrXtsOCC.cjs → _virtual/rolldown_runtime.cjs} +2 -12
  2. package/dist/{chunk-CS8OKu3y.mjs → _virtual/rolldown_runtime.mjs} +1 -1
  3. package/dist/index.cjs +7 -9656
  4. package/dist/index.d.cts +3 -3
  5. package/dist/index.d.mts +3 -3
  6. package/dist/index.mjs +2 -9646
  7. package/dist/index.mjs.map +1 -1
  8. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.cjs +78 -0
  9. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs +78 -0
  10. package/dist/node_modules/.pnpm/@jridgewell_sourcemap-codec@1.5.5/node_modules/@jridgewell/sourcemap-codec/dist/sourcemap-codec.mjs.map +1 -0
  11. package/dist/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.cjs +5032 -0
  12. package/dist/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs +5032 -0
  13. package/dist/node_modules/.pnpm/acorn@8.15.0/node_modules/acorn/dist/acorn.mjs.map +1 -0
  14. package/dist/node_modules/.pnpm/automd@0.4.3_patch_hash_0fe864a2d6fa1461e144747e5f0fbc0a5fb51435ec6b3217ffb18ff2d7058778_magicast@0.5.1/node_modules/automd/dist/index.cjs +650 -0
  15. package/dist/node_modules/.pnpm/automd@0.4.3_patch_hash_0fe864a2d6fa1461e144747e5f0fbc0a5fb51435ec6b3217ffb18ff2d7058778_magicast@0.5.1/node_modules/automd/dist/index.mjs +648 -0
  16. package/dist/node_modules/.pnpm/automd@0.4.3_patch_hash_0fe864a2d6fa1461e144747e5f0fbc0a5fb51435ec6b3217ffb18ff2d7058778_magicast@0.5.1/node_modules/automd/dist/index.mjs.map +1 -0
  17. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.cjs +23 -0
  18. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs +23 -0
  19. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DA7CpUDY.mjs.map +1 -0
  20. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.cjs +405 -0
  21. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs +405 -0
  22. package/dist/node_modules/.pnpm/confbox@0.2.2/node_modules/confbox/dist/shared/confbox.DnMsyigM.mjs.map +1 -0
  23. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.cjs +46 -0
  24. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs +46 -0
  25. package/dist/node_modules/.pnpm/destr@2.0.5/node_modules/destr/dist/index.mjs.map +1 -0
  26. package/dist/node_modules/.pnpm/didyoumean2@7.0.4/node_modules/didyoumean2/dist/index.cjs +204 -0
  27. package/dist/node_modules/.pnpm/didyoumean2@7.0.4/node_modules/didyoumean2/dist/index.mjs +203 -0
  28. package/dist/node_modules/.pnpm/didyoumean2@7.0.4/node_modules/didyoumean2/dist/index.mjs.map +1 -0
  29. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +1013 -0
  30. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +1008 -0
  31. package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -0
  32. package/dist/node_modules/.pnpm/fastest-levenshtein@1.0.16/node_modules/fastest-levenshtein/mod.cjs +128 -0
  33. package/dist/node_modules/.pnpm/fastest-levenshtein@1.0.16/node_modules/fastest-levenshtein/mod.mjs +124 -0
  34. package/dist/node_modules/.pnpm/fastest-levenshtein@1.0.16/node_modules/fastest-levenshtein/mod.mjs.map +1 -0
  35. package/dist/{loader-DNEbMIIe.cjs → node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/dist/babel.cjs} +41337 -58245
  36. package/dist/{loader-BRhKFmUn.mjs → node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/dist/babel.mjs} +41334 -58245
  37. package/dist/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/dist/babel.mjs.map +1 -0
  38. package/dist/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/dist/jiti.cjs +4387 -0
  39. package/dist/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/dist/jiti.mjs +4385 -0
  40. package/dist/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/dist/jiti.mjs.map +1 -0
  41. package/dist/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/lib/jiti.cjs +26 -0
  42. package/dist/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/lib/jiti.mjs +27 -0
  43. package/dist/node_modules/.pnpm/jiti@2.4.2/node_modules/jiti/lib/jiti.mjs.map +1 -0
  44. package/dist/node_modules/.pnpm/lodash.deburr@4.1.0/node_modules/lodash.deburr/index.cjs +370 -0
  45. package/dist/node_modules/.pnpm/lodash.deburr@4.1.0/node_modules/lodash.deburr/index.mjs +368 -0
  46. package/dist/node_modules/.pnpm/lodash.deburr@4.1.0/node_modules/lodash.deburr/index.mjs.map +1 -0
  47. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.cjs +939 -0
  48. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs +940 -0
  49. package/dist/node_modules/.pnpm/magic-string@0.30.21/node_modules/magic-string/dist/magic-string.es.mjs.map +1 -0
  50. package/dist/node_modules/.pnpm/mdbox@0.1.1/node_modules/mdbox/dist/index.cjs +67 -0
  51. package/dist/node_modules/.pnpm/mdbox@0.1.1/node_modules/mdbox/dist/index.mjs +65 -0
  52. package/dist/node_modules/.pnpm/mdbox@0.1.1/node_modules/mdbox/dist/index.mjs.map +1 -0
  53. package/dist/node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.cjs +1292 -0
  54. package/dist/node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.mjs +1285 -0
  55. package/dist/node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist/index.mjs.map +1 -0
  56. package/dist/{multipart-parser-C_EjwsED.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs} +2 -1
  57. package/dist/{multipart-parser-Dtmz_axo.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs} +3 -2
  58. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -0
  59. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +20 -0
  60. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +17 -0
  61. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs.map +1 -0
  62. package/dist/{node-DapIDpAC.cjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs} +808 -857
  63. package/dist/{node-FGT1CWpL.mjs → node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs} +794 -806
  64. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -0
  65. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.cjs +16 -0
  66. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs +15 -0
  67. package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs.map +1 -0
  68. package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.cjs +36 -0
  69. package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs +34 -0
  70. package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/node.mjs.map +1 -0
  71. package/dist/{node-CsMhpAoX.cjs → node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.cjs} +24 -66
  72. package/dist/{node-D8lz5B3d.mjs → node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs} +20 -59
  73. package/dist/node_modules/.pnpm/ofetch@1.5.1/node_modules/ofetch/dist/shared/ofetch.CWycOUEr.mjs.map +1 -0
  74. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.cjs +139 -0
  75. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs +134 -0
  76. package/dist/node_modules/.pnpm/pathe@2.0.3/node_modules/pathe/dist/shared/pathe.M-eThtNZ.mjs.map +1 -0
  77. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +77 -0
  78. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +77 -0
  79. package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -0
  80. package/dist/{dist-PRh64A_O.mjs → node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.cjs} +4 -2
  81. package/dist/{dist-DVv98dZY.cjs → node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs} +2 -19
  82. package/dist/node_modules/.pnpm/scule@1.3.0/node_modules/scule/dist/index.mjs.map +1 -0
  83. package/dist/{dist-Jfd0GR_C.mjs → node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.cjs} +4 -46
  84. package/dist/{dist-8g8frrZv.cjs → node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs} +2 -69
  85. package/dist/node_modules/.pnpm/ufo@1.6.3/node_modules/ufo/dist/index.mjs.map +1 -0
  86. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/babel.cjs +12337 -0
  87. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/babel.mjs +12338 -0
  88. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/babel.mjs.map +1 -0
  89. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/loader.cjs +19 -0
  90. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/loader.mjs +19 -0
  91. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/loader/loader.mjs.map +1 -0
  92. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.BTwOq8Jl.cjs +71 -0
  93. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.BTwOq8Jl.mjs +72 -0
  94. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.BTwOq8Jl.mjs.map +1 -0
  95. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.Br_uXjZG.cjs +110 -0
  96. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.Br_uXjZG.mjs +101 -0
  97. package/dist/node_modules/.pnpm/untyped@2.0.0/node_modules/untyped/dist/shared/untyped.Br_uXjZG.mjs.map +1 -0
  98. package/dist/types/index.cjs +0 -3
  99. package/dist/types/index.d.cts +2 -3
  100. package/dist/types/index.d.mts +2 -3
  101. package/dist/types/index.mjs +0 -4
  102. package/dist/types/plugin.cjs +0 -1
  103. package/dist/types/plugin.d.cts +52 -3
  104. package/dist/types/plugin.d.cts.map +1 -0
  105. package/dist/types/plugin.d.mts +52 -3
  106. package/dist/types/plugin.d.mts.map +1 -0
  107. package/dist/types/plugin.mjs +0 -2
  108. package/dist/types/toc.cjs +0 -1
  109. package/dist/types/toc.d.cts +35 -2
  110. package/dist/types/toc.d.cts.map +1 -0
  111. package/dist/types/toc.d.mts +35 -2
  112. package/dist/types/toc.d.mts.map +1 -0
  113. package/dist/types/toc.mjs +0 -2
  114. package/package.json +4 -4
  115. package/dist/dist-BavrV299.cjs +0 -682
  116. package/dist/dist-Jfd0GR_C.mjs.map +0 -1
  117. package/dist/dist-PRh64A_O.mjs.map +0 -1
  118. package/dist/dist-PXnBmevt.mjs +0 -681
  119. package/dist/dist-PXnBmevt.mjs.map +0 -1
  120. package/dist/index-B8OHl-c_.d.mts +0 -1
  121. package/dist/index-CmCelmEL.d.cts +0 -1
  122. package/dist/loader-BRhKFmUn.mjs.map +0 -1
  123. package/dist/multipart-parser-Dtmz_axo.mjs.map +0 -1
  124. package/dist/node-D8lz5B3d.mjs.map +0 -1
  125. package/dist/node-FGT1CWpL.mjs.map +0 -1
  126. package/dist/plugin-BVD0UMjp.d.cts +0 -52
  127. package/dist/plugin-BVD0UMjp.d.cts.map +0 -1
  128. package/dist/plugin-C6jB5e_j.d.mts +0 -52
  129. package/dist/plugin-C6jB5e_j.d.mts.map +0 -1
  130. package/dist/plugin-Ckx8qAq8.cjs +0 -0
  131. package/dist/plugin-jZ9N9Mz-.mjs +0 -1
  132. package/dist/toc-BN2Ji9Yo.d.mts +0 -35
  133. package/dist/toc-BN2Ji9Yo.d.mts.map +0 -1
  134. package/dist/toc-BQgoCyR1.cjs +0 -0
  135. package/dist/toc-BrayIFG6.d.cts +0 -35
  136. package/dist/toc-BrayIFG6.d.cts.map +0 -1
  137. package/dist/toc-CBjybXug.mjs +0 -1
  138. package/dist/types--fVOUYBq.mjs +0 -1
  139. package/dist/types-D208vOSb.cjs +0 -0
@@ -1,4 +1,5 @@
1
- import { n as __require } from "./chunk-CS8OKu3y.mjs";
1
+ import { __require } from "../../../../../../_virtual/rolldown_runtime.mjs";
2
+ import { f, n } from "./shared/node-fetch-native.DfbY2q-x.mjs";
2
3
  import { createReadStream, promises, statSync } from "node:fs";
3
4
  import { format } from "node:url";
4
5
  import { basename } from "node:path";
@@ -10,43 +11,30 @@ import me, { PassThrough, pipeline } from "node:stream";
10
11
  import { Buffer as Buffer$1 } from "node:buffer";
11
12
  import { isIP } from "node:net";
12
13
 
13
- //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DfbY2q-x.mjs
14
- var t = Object.defineProperty;
15
- var o = (e, l) => t(e, "name", {
16
- value: l,
17
- configurable: !0
18
- });
19
- var n = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
20
- function f(e) {
21
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
22
- }
23
- o(f, "getDefaultExportFromCjs");
24
-
25
- //#endregion
26
14
  //#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs
27
15
  var Os = Object.defineProperty;
28
16
  var fi = (i) => {
29
17
  throw TypeError(i);
30
18
  };
31
- var n$1 = (i, o$1) => Os(i, "name", {
32
- value: o$1,
19
+ var n$1 = (i, o) => Os(i, "name", {
20
+ value: o,
33
21
  configurable: !0
34
22
  });
35
- var ci = (i, o$1, a) => o$1.has(i) || fi("Cannot " + a);
36
- var O = (i, o$1, a) => (ci(i, o$1, "read from private field"), a ? a.call(i) : o$1.get(i)), be = (i, o$1, a) => o$1.has(i) ? fi("Cannot add the same private member more than once") : o$1 instanceof WeakSet ? o$1.add(i) : o$1.set(i, a), X = (i, o$1, a, f$1) => (ci(i, o$1, "write to private field"), f$1 ? f$1.call(i, a) : o$1.set(i, a), a);
23
+ var ci = (i, o, a) => o.has(i) || fi("Cannot " + a);
24
+ var O = (i, o, a) => (ci(i, o, "read from private field"), a ? a.call(i) : o.get(i)), be = (i, o, a) => o.has(i) ? fi("Cannot add the same private member more than once") : o instanceof WeakSet ? o.add(i) : o.set(i, a), X = (i, o, a, f$1) => (ci(i, o, "write to private field"), f$1 ? f$1.call(i, a) : o.set(i, a), a);
37
25
  var ve, zt, bt, Cr, ze, It, Ft, mt, ee, yt, He, Ve, gt;
38
26
  function Us(i) {
39
27
  if (!/^data:/i.test(i)) throw new TypeError("`uri` does not appear to be a Data URI (must begin with \"data:\")");
40
28
  i = i.replace(/\r?\n/g, "");
41
- const o$1 = i.indexOf(",");
42
- if (o$1 === -1 || o$1 <= 4) throw new TypeError("malformed data: URI");
43
- const a = i.substring(5, o$1).split(";");
29
+ const o = i.indexOf(",");
30
+ if (o === -1 || o <= 4) throw new TypeError("malformed data: URI");
31
+ const a = i.substring(5, o).split(";");
44
32
  let f$1 = "", l = !1;
45
33
  const p = a[0] || "text/plain";
46
34
  let h = p;
47
35
  for (let A = 1; A < a.length; A++) a[A] === "base64" ? l = !0 : a[A] && (h += `;${a[A]}`, a[A].indexOf("charset=") === 0 && (f$1 = a[A].substring(8)));
48
36
  !a[0] && !f$1.length && (h += ";charset=US-ASCII", f$1 = "US-ASCII");
49
- const S = l ? "base64" : "ascii", v = unescape(i.substring(o$1 + 1)), w = Buffer.from(v, S);
37
+ const S = l ? "base64" : "ascii", v = unescape(i.substring(o + 1)), w = Buffer.from(v, S);
50
38
  return w.type = p, w.typeFull = h, w.charset = f$1, w;
51
39
  }
52
40
  n$1(Us, "dataUriToBuffer");
@@ -59,9 +47,9 @@ var pi = {}, kt = { exports: {} };
59
47
  * SPDX-License-Identifier: MIT
60
48
  */ var xs = kt.exports, bi;
61
49
  function Ns() {
62
- return bi || (bi = 1, function(i, o$1) {
50
+ return bi || (bi = 1, function(i, o) {
63
51
  (function(a, f$1) {
64
- f$1(o$1);
52
+ f$1(o);
65
53
  })(xs, function(a) {
66
54
  function f$1() {}
67
55
  n$1(f$1, "noop");
@@ -70,10 +58,10 @@ function Ns() {
70
58
  }
71
59
  n$1(l, "typeIsObject");
72
60
  const p = f$1;
73
- function h(e, t$1) {
61
+ function h(e, t) {
74
62
  try {
75
63
  Object.defineProperty(e, "name", {
76
- value: t$1,
64
+ value: t,
77
65
  configurable: !0
78
66
  });
79
67
  } catch {}
@@ -85,31 +73,31 @@ function Ns() {
85
73
  }
86
74
  n$1(A, "newPromise");
87
75
  function T(e) {
88
- return A((t$1) => t$1(e));
76
+ return A((t) => t(e));
89
77
  }
90
78
  n$1(T, "promiseResolvedWith");
91
79
  function b(e) {
92
80
  return w(e);
93
81
  }
94
82
  n$1(b, "promiseRejectedWith");
95
- function q(e, t$1, r) {
96
- return v.call(e, t$1, r);
83
+ function q(e, t, r) {
84
+ return v.call(e, t, r);
97
85
  }
98
86
  n$1(q, "PerformPromiseThen");
99
- function g(e, t$1, r) {
100
- q(q(e, t$1, r), void 0, p);
87
+ function g(e, t, r) {
88
+ q(q(e, t, r), void 0, p);
101
89
  }
102
90
  n$1(g, "uponPromise");
103
- function V(e, t$1) {
104
- g(e, t$1);
91
+ function V(e, t) {
92
+ g(e, t);
105
93
  }
106
94
  n$1(V, "uponFulfillment");
107
- function I(e, t$1) {
108
- g(e, void 0, t$1);
95
+ function I(e, t) {
96
+ g(e, void 0, t);
109
97
  }
110
98
  n$1(I, "uponRejection");
111
- function F(e, t$1, r) {
112
- return q(e, t$1, r);
99
+ function F(e, t, r) {
100
+ return q(e, t, r);
113
101
  }
114
102
  n$1(F, "transformPromiseWith");
115
103
  function Q(e) {
@@ -119,19 +107,19 @@ function Ns() {
119
107
  let ge = n$1((e) => {
120
108
  if (typeof queueMicrotask == "function") ge = queueMicrotask;
121
109
  else {
122
- const t$1 = T(void 0);
123
- ge = n$1((r) => q(t$1, r), "_queueMicrotask");
110
+ const t = T(void 0);
111
+ ge = n$1((r) => q(t, r), "_queueMicrotask");
124
112
  }
125
113
  return ge(e);
126
114
  }, "_queueMicrotask");
127
- function z(e, t$1, r) {
115
+ function z(e, t, r) {
128
116
  if (typeof e != "function") throw new TypeError("Argument is not a function");
129
- return Function.prototype.apply.call(e, t$1, r);
117
+ return Function.prototype.apply.call(e, t, r);
130
118
  }
131
119
  n$1(z, "reflectCall");
132
- function j(e, t$1, r) {
120
+ function j(e, t, r) {
133
121
  try {
134
- return T(z(e, t$1, r));
122
+ return T(z(e, t, r));
135
123
  } catch (s) {
136
124
  return b(s);
137
125
  }
@@ -147,46 +135,46 @@ function Ns() {
147
135
  get length() {
148
136
  return this._size;
149
137
  }
150
- push(t$1) {
138
+ push(t) {
151
139
  const r = this._back;
152
140
  let s = r;
153
141
  r._elements.length === U - 1 && (s = {
154
142
  _elements: [],
155
143
  _next: void 0
156
- }), r._elements.push(t$1), s !== r && (this._back = s, r._next = s), ++this._size;
144
+ }), r._elements.push(t), s !== r && (this._back = s, r._next = s), ++this._size;
157
145
  }
158
146
  shift() {
159
- const t$1 = this._front;
160
- let r = t$1;
147
+ const t = this._front;
148
+ let r = t;
161
149
  const s = this._cursor;
162
150
  let u = s + 1;
163
- const c = t$1._elements, d = c[s];
164
- return u === U && (r = t$1._next, u = 0), --this._size, this._cursor = u, t$1 !== r && (this._front = r), c[s] = void 0, d;
151
+ const c = t._elements, d = c[s];
152
+ return u === U && (r = t._next, u = 0), --this._size, this._cursor = u, t !== r && (this._front = r), c[s] = void 0, d;
165
153
  }
166
- forEach(t$1) {
154
+ forEach(t) {
167
155
  let r = this._cursor, s = this._front, u = s._elements;
168
- for (; (r !== u.length || s._next !== void 0) && !(r === u.length && (s = s._next, u = s._elements, r = 0, u.length === 0));) t$1(u[r]), ++r;
156
+ for (; (r !== u.length || s._next !== void 0) && !(r === u.length && (s = s._next, u = s._elements, r = 0, u.length === 0));) t(u[r]), ++r;
169
157
  }
170
158
  peek() {
171
- const t$1 = this._front, r = this._cursor;
172
- return t$1._elements[r];
159
+ const t = this._front, r = this._cursor;
160
+ return t._elements[r];
173
161
  }
174
162
  };
175
163
  n$1(bn, "SimpleQueue");
176
164
  let D = bn;
177
165
  const jt = Symbol("[[AbortSteps]]"), Qn = Symbol("[[ErrorSteps]]"), Ar = Symbol("[[CancelSteps]]"), Br = Symbol("[[PullSteps]]"), kr = Symbol("[[ReleaseSteps]]");
178
- function Yn(e, t$1) {
179
- e._ownerReadableStream = t$1, t$1._reader = e, t$1._state === "readable" ? qr(e) : t$1._state === "closed" ? xi(e) : Gn(e, t$1._storedError);
166
+ function Yn(e, t) {
167
+ e._ownerReadableStream = t, t._reader = e, t._state === "readable" ? qr(e) : t._state === "closed" ? xi(e) : Gn(e, t._storedError);
180
168
  }
181
169
  n$1(Yn, "ReadableStreamReaderGenericInitialize");
182
- function Wr(e, t$1) {
170
+ function Wr(e, t) {
183
171
  const r = e._ownerReadableStream;
184
- return ie(r, t$1);
172
+ return ie(r, t);
185
173
  }
186
174
  n$1(Wr, "ReadableStreamReaderGenericCancel");
187
175
  function _e(e) {
188
- const t$1 = e._ownerReadableStream;
189
- t$1._state === "readable" ? Or(e, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")) : Ni(e, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")), t$1._readableStreamController[kr](), t$1._reader = void 0, e._ownerReadableStream = void 0;
176
+ const t = e._ownerReadableStream;
177
+ t._state === "readable" ? Or(e, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")) : Ni(e, /* @__PURE__ */ new TypeError("Reader was released and can no longer be used to monitor the stream's closedness")), t._readableStreamController[kr](), t._reader = void 0, e._ownerReadableStream = void 0;
190
178
  }
191
179
  n$1(_e, "ReadableStreamReaderGenericRelease");
192
180
  function Lt(e) {
@@ -194,25 +182,25 @@ function Ns() {
194
182
  }
195
183
  n$1(Lt, "readerLockException");
196
184
  function qr(e) {
197
- e._closedPromise = A((t$1, r) => {
198
- e._closedPromise_resolve = t$1, e._closedPromise_reject = r;
185
+ e._closedPromise = A((t, r) => {
186
+ e._closedPromise_resolve = t, e._closedPromise_reject = r;
199
187
  });
200
188
  }
201
189
  n$1(qr, "defaultReaderClosedPromiseInitialize");
202
- function Gn(e, t$1) {
203
- qr(e), Or(e, t$1);
190
+ function Gn(e, t) {
191
+ qr(e), Or(e, t);
204
192
  }
205
193
  n$1(Gn, "defaultReaderClosedPromiseInitializeAsRejected");
206
194
  function xi(e) {
207
195
  qr(e), Zn(e);
208
196
  }
209
197
  n$1(xi, "defaultReaderClosedPromiseInitializeAsResolved");
210
- function Or(e, t$1) {
211
- e._closedPromise_reject !== void 0 && (Q(e._closedPromise), e._closedPromise_reject(t$1), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0);
198
+ function Or(e, t) {
199
+ e._closedPromise_reject !== void 0 && (Q(e._closedPromise), e._closedPromise_reject(t), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0);
212
200
  }
213
201
  n$1(Or, "defaultReaderClosedPromiseReject");
214
- function Ni(e, t$1) {
215
- Gn(e, t$1);
202
+ function Ni(e, t) {
203
+ Gn(e, t);
216
204
  }
217
205
  n$1(Ni, "defaultReaderClosedPromiseResetToRejected");
218
206
  function Zn(e) {
@@ -228,28 +216,28 @@ function Ns() {
228
216
  return typeof e == "object" || typeof e == "function";
229
217
  }
230
218
  n$1(Vi, "isDictionary");
231
- function ue(e, t$1) {
232
- if (e !== void 0 && !Vi(e)) throw new TypeError(`${t$1} is not an object.`);
219
+ function ue(e, t) {
220
+ if (e !== void 0 && !Vi(e)) throw new TypeError(`${t} is not an object.`);
233
221
  }
234
222
  n$1(ue, "assertDictionary");
235
- function Z(e, t$1) {
236
- if (typeof e != "function") throw new TypeError(`${t$1} is not a function.`);
223
+ function Z(e, t) {
224
+ if (typeof e != "function") throw new TypeError(`${t} is not a function.`);
237
225
  }
238
226
  n$1(Z, "assertFunction");
239
227
  function Qi(e) {
240
228
  return typeof e == "object" && e !== null || typeof e == "function";
241
229
  }
242
230
  n$1(Qi, "isObject");
243
- function Jn(e, t$1) {
244
- if (!Qi(e)) throw new TypeError(`${t$1} is not an object.`);
231
+ function Jn(e, t) {
232
+ if (!Qi(e)) throw new TypeError(`${t} is not an object.`);
245
233
  }
246
234
  n$1(Jn, "assertObject");
247
- function Se(e, t$1, r) {
248
- if (e === void 0) throw new TypeError(`Parameter ${t$1} is required in '${r}'.`);
235
+ function Se(e, t, r) {
236
+ if (e === void 0) throw new TypeError(`Parameter ${t} is required in '${r}'.`);
249
237
  }
250
238
  n$1(Se, "assertRequiredArgument");
251
- function zr(e, t$1, r) {
252
- if (e === void 0) throw new TypeError(`${t$1} is required in '${r}'.`);
239
+ function zr(e, t, r) {
240
+ if (e === void 0) throw new TypeError(`${t} is required in '${r}'.`);
253
241
  }
254
242
  n$1(zr, "assertRequiredField");
255
243
  function Ir(e) {
@@ -264,29 +252,29 @@ function Ns() {
264
252
  return Xn(Hi(e));
265
253
  }
266
254
  n$1(Yi, "integerPart");
267
- function Fr(e, t$1) {
255
+ function Fr(e, t) {
268
256
  const s = Number.MAX_SAFE_INTEGER;
269
257
  let u = Number(e);
270
- if (u = Xn(u), !Kn(u)) throw new TypeError(`${t$1} is not a finite number`);
271
- if (u = Yi(u), u < 0 || u > s) throw new TypeError(`${t$1} is outside the accepted range of 0 to ${s}, inclusive`);
258
+ if (u = Xn(u), !Kn(u)) throw new TypeError(`${t} is not a finite number`);
259
+ if (u = Yi(u), u < 0 || u > s) throw new TypeError(`${t} is outside the accepted range of 0 to ${s}, inclusive`);
272
260
  return !Kn(u) || u === 0 ? 0 : u;
273
261
  }
274
262
  n$1(Fr, "convertUnsignedLongLongWithEnforceRange");
275
- function jr(e, t$1) {
276
- if (!We(e)) throw new TypeError(`${t$1} is not a ReadableStream.`);
263
+ function jr(e, t) {
264
+ if (!We(e)) throw new TypeError(`${t} is not a ReadableStream.`);
277
265
  }
278
266
  n$1(jr, "assertReadableStream");
279
267
  function Qe(e) {
280
268
  return new fe(e);
281
269
  }
282
270
  n$1(Qe, "AcquireReadableStreamDefaultReader");
283
- function eo(e, t$1) {
284
- e._reader._readRequests.push(t$1);
271
+ function eo(e, t) {
272
+ e._reader._readRequests.push(t);
285
273
  }
286
274
  n$1(eo, "ReadableStreamAddReadRequest");
287
- function Lr(e, t$1, r) {
275
+ function Lr(e, t, r) {
288
276
  const u = e._reader._readRequests.shift();
289
- r ? u._closeSteps() : u._chunkSteps(t$1);
277
+ r ? u._closeSteps() : u._chunkSteps(t);
290
278
  }
291
279
  n$1(Lr, "ReadableStreamFulfillReadRequest");
292
280
  function $t(e) {
@@ -294,34 +282,34 @@ function Ns() {
294
282
  }
295
283
  n$1($t, "ReadableStreamGetNumReadRequests");
296
284
  function to(e) {
297
- const t$1 = e._reader;
298
- return !(t$1 === void 0 || !Ee(t$1));
285
+ const t = e._reader;
286
+ return !(t === void 0 || !Ee(t));
299
287
  }
300
288
  n$1(to, "ReadableStreamHasDefaultReader");
301
289
  const mn = class mn$1 {
302
- constructor(t$1) {
303
- if (Se(t$1, 1, "ReadableStreamDefaultReader"), jr(t$1, "First parameter"), qe(t$1)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
304
- Yn(this, t$1), this._readRequests = new D();
290
+ constructor(t) {
291
+ if (Se(t, 1, "ReadableStreamDefaultReader"), jr(t, "First parameter"), qe(t)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
292
+ Yn(this, t), this._readRequests = new D();
305
293
  }
306
294
  get closed() {
307
295
  return Ee(this) ? this._closedPromise : b(Dt("closed"));
308
296
  }
309
- cancel(t$1 = void 0) {
310
- return Ee(this) ? this._ownerReadableStream === void 0 ? b(Lt("cancel")) : Wr(this, t$1) : b(Dt("cancel"));
297
+ cancel(t = void 0) {
298
+ return Ee(this) ? this._ownerReadableStream === void 0 ? b(Lt("cancel")) : Wr(this, t) : b(Dt("cancel"));
311
299
  }
312
300
  read() {
313
301
  if (!Ee(this)) return b(Dt("read"));
314
302
  if (this._ownerReadableStream === void 0) return b(Lt("read from"));
315
- let t$1, r;
303
+ let t, r;
316
304
  const s = A((c, d) => {
317
- t$1 = c, r = d;
305
+ t = c, r = d;
318
306
  });
319
307
  return _t(this, {
320
- _chunkSteps: n$1((c) => t$1({
308
+ _chunkSteps: n$1((c) => t({
321
309
  value: c,
322
310
  done: !1
323
311
  }), "_chunkSteps"),
324
- _closeSteps: n$1(() => t$1({
312
+ _closeSteps: n$1(() => t({
325
313
  value: void 0,
326
314
  done: !0
327
315
  }), "_closeSteps"),
@@ -348,9 +336,9 @@ function Ns() {
348
336
  return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_readRequests") ? !1 : e instanceof fe;
349
337
  }
350
338
  n$1(Ee, "IsReadableStreamDefaultReader");
351
- function _t(e, t$1) {
339
+ function _t(e, t) {
352
340
  const r = e._ownerReadableStream;
353
- r._disturbed = !0, r._state === "closed" ? t$1._closeSteps() : r._state === "errored" ? t$1._errorSteps(r._storedError) : r._readableStreamController[Br](t$1);
341
+ r._disturbed = !0, r._state === "closed" ? t._closeSteps() : r._state === "errored" ? t._errorSteps(r._storedError) : r._readableStreamController[Br](t);
354
342
  }
355
343
  n$1(_t, "ReadableStreamDefaultReaderRead");
356
344
  function Gi(e) {
@@ -358,10 +346,10 @@ function Ns() {
358
346
  ro(e, /* @__PURE__ */ new TypeError("Reader was released"));
359
347
  }
360
348
  n$1(Gi, "ReadableStreamDefaultReaderRelease");
361
- function ro(e, t$1) {
349
+ function ro(e, t) {
362
350
  const r = e._readRequests;
363
351
  e._readRequests = new D(), r.forEach((s) => {
364
- s._errorSteps(t$1);
352
+ s._errorSteps(t);
365
353
  });
366
354
  }
367
355
  n$1(ro, "ReadableStreamDefaultReaderErrorReadRequests");
@@ -370,15 +358,15 @@ function Ns() {
370
358
  }
371
359
  n$1(Dt, "defaultReaderBrandCheckException");
372
360
  const Zi = Object.getPrototypeOf(Object.getPrototypeOf(async function* () {}).prototype), yn = class yn$1 {
373
- constructor(t$1, r) {
374
- this._ongoingPromise = void 0, this._isFinished = !1, this._reader = t$1, this._preventCancel = r;
361
+ constructor(t, r) {
362
+ this._ongoingPromise = void 0, this._isFinished = !1, this._reader = t, this._preventCancel = r;
375
363
  }
376
364
  next() {
377
- const t$1 = n$1(() => this._nextSteps(), "nextSteps");
378
- return this._ongoingPromise = this._ongoingPromise ? F(this._ongoingPromise, t$1, t$1) : t$1(), this._ongoingPromise;
365
+ const t = n$1(() => this._nextSteps(), "nextSteps");
366
+ return this._ongoingPromise = this._ongoingPromise ? F(this._ongoingPromise, t, t) : t(), this._ongoingPromise;
379
367
  }
380
- return(t$1) {
381
- const r = n$1(() => this._returnSteps(t$1), "returnSteps");
368
+ return(t) {
369
+ const r = n$1(() => this._returnSteps(t), "returnSteps");
382
370
  return this._ongoingPromise ? F(this._ongoingPromise, r, r) : r();
383
371
  }
384
372
  _nextSteps() {
@@ -386,12 +374,12 @@ function Ns() {
386
374
  value: void 0,
387
375
  done: !0
388
376
  });
389
- const t$1 = this._reader;
377
+ const t = this._reader;
390
378
  let r, s;
391
379
  const u = A((d, m) => {
392
380
  r = d, s = m;
393
381
  });
394
- return _t(t$1, {
382
+ return _t(t, {
395
383
  _chunkSteps: n$1((d) => {
396
384
  this._ongoingPromise = void 0, ge(() => r({
397
385
  value: d,
@@ -399,32 +387,32 @@ function Ns() {
399
387
  }));
400
388
  }, "_chunkSteps"),
401
389
  _closeSteps: n$1(() => {
402
- this._ongoingPromise = void 0, this._isFinished = !0, _e(t$1), r({
390
+ this._ongoingPromise = void 0, this._isFinished = !0, _e(t), r({
403
391
  value: void 0,
404
392
  done: !0
405
393
  });
406
394
  }, "_closeSteps"),
407
395
  _errorSteps: n$1((d) => {
408
- this._ongoingPromise = void 0, this._isFinished = !0, _e(t$1), s(d);
396
+ this._ongoingPromise = void 0, this._isFinished = !0, _e(t), s(d);
409
397
  }, "_errorSteps")
410
398
  }), u;
411
399
  }
412
- _returnSteps(t$1) {
400
+ _returnSteps(t) {
413
401
  if (this._isFinished) return Promise.resolve({
414
- value: t$1,
402
+ value: t,
415
403
  done: !0
416
404
  });
417
405
  this._isFinished = !0;
418
406
  const r = this._reader;
419
407
  if (!this._preventCancel) {
420
- const s = Wr(r, t$1);
408
+ const s = Wr(r, t);
421
409
  return _e(r), F(s, () => ({
422
- value: t$1,
410
+ value: t,
423
411
  done: !0
424
412
  }));
425
413
  }
426
414
  return _e(r), T({
427
- value: t$1,
415
+ value: t,
428
416
  done: !0
429
417
  });
430
418
  }
@@ -440,8 +428,8 @@ function Ns() {
440
428
  }
441
429
  };
442
430
  Object.setPrototypeOf(no, Zi);
443
- function Ki(e, t$1) {
444
- const s = new Mt(Qe(e), t$1), u = Object.create(no);
431
+ function Ki(e, t) {
432
+ const s = new Mt(Qe(e), t), u = Object.create(no);
445
433
  return u._asyncIteratorImpl = s, u;
446
434
  }
447
435
  n$1(Ki, "AcquireReadableStreamAsyncIterator");
@@ -466,28 +454,28 @@ function Ns() {
466
454
  return e.slice();
467
455
  }
468
456
  n$1(St, "CreateArrayFromList");
469
- function so(e, t$1, r, s, u) {
470
- new Uint8Array(e).set(new Uint8Array(r, s, u), t$1);
457
+ function so(e, t, r, s, u) {
458
+ new Uint8Array(e).set(new Uint8Array(r, s, u), t);
471
459
  }
472
460
  n$1(so, "CopyDataBlockBytes");
473
- let we = n$1((e) => (typeof e.transfer == "function" ? we = n$1((t$1) => t$1.transfer(), "TransferArrayBuffer") : typeof structuredClone == "function" ? we = n$1((t$1) => structuredClone(t$1, { transfer: [t$1] }), "TransferArrayBuffer") : we = n$1((t$1) => t$1, "TransferArrayBuffer"), we(e)), "TransferArrayBuffer"), Ae = n$1((e) => (typeof e.detached == "boolean" ? Ae = n$1((t$1) => t$1.detached, "IsDetachedBuffer") : Ae = n$1((t$1) => t$1.byteLength === 0, "IsDetachedBuffer"), Ae(e)), "IsDetachedBuffer");
474
- function lo(e, t$1, r) {
475
- if (e.slice) return e.slice(t$1, r);
476
- const s = r - t$1, u = new ArrayBuffer(s);
477
- return so(u, 0, e, t$1, s), u;
461
+ let we = n$1((e) => (typeof e.transfer == "function" ? we = n$1((t) => t.transfer(), "TransferArrayBuffer") : typeof structuredClone == "function" ? we = n$1((t) => structuredClone(t, { transfer: [t] }), "TransferArrayBuffer") : we = n$1((t) => t, "TransferArrayBuffer"), we(e)), "TransferArrayBuffer"), Ae = n$1((e) => (typeof e.detached == "boolean" ? Ae = n$1((t) => t.detached, "IsDetachedBuffer") : Ae = n$1((t) => t.byteLength === 0, "IsDetachedBuffer"), Ae(e)), "IsDetachedBuffer");
462
+ function lo(e, t, r) {
463
+ if (e.slice) return e.slice(t, r);
464
+ const s = r - t, u = new ArrayBuffer(s);
465
+ return so(u, 0, e, t, s), u;
478
466
  }
479
467
  n$1(lo, "ArrayBufferSlice");
480
- function Ut(e, t$1) {
481
- const r = e[t$1];
468
+ function Ut(e, t) {
469
+ const r = e[t];
482
470
  if (r != null) {
483
- if (typeof r != "function") throw new TypeError(`${String(t$1)} is not a function`);
471
+ if (typeof r != "function") throw new TypeError(`${String(t)} is not a function`);
484
472
  return r;
485
473
  }
486
474
  }
487
475
  n$1(Ut, "GetMethod");
488
476
  function Ji(e) {
489
- const t$1 = { [Symbol.iterator]: () => e.iterator }, r = async function* () {
490
- return yield* t$1;
477
+ const t = { [Symbol.iterator]: () => e.iterator }, r = async function* () {
478
+ return yield* t;
491
479
  }();
492
480
  return {
493
481
  iterator: r,
@@ -497,8 +485,8 @@ function Ns() {
497
485
  }
498
486
  n$1(Ji, "CreateAsyncFromSyncIterator");
499
487
  const Ur = (Mr = ($r = Symbol.asyncIterator) !== null && $r !== void 0 ? $r : (Dr = Symbol.for) === null || Dr === void 0 ? void 0 : Dr.call(Symbol, "Symbol.asyncIterator")) !== null && Mr !== void 0 ? Mr : "@@asyncIterator";
500
- function uo(e, t$1 = "sync", r) {
501
- if (r === void 0) if (t$1 === "async") {
488
+ function uo(e, t = "sync", r) {
489
+ if (r === void 0) if (t === "async") {
502
490
  if (r = Ut(e, Ur), r === void 0) return Ji(uo(e, "sync", Ut(e, Symbol.iterator)));
503
491
  } else r = Ut(e, Symbol.iterator);
504
492
  if (r === void 0) throw new TypeError("The object is not iterable");
@@ -512,9 +500,9 @@ function Ns() {
512
500
  }
513
501
  n$1(uo, "GetIterator");
514
502
  function Xi(e) {
515
- const t$1 = z(e.nextMethod, e.iterator, []);
516
- if (!l(t$1)) throw new TypeError("The iterator.next() method must return an object");
517
- return t$1;
503
+ const t = z(e.nextMethod, e.iterator, []);
504
+ if (!l(t)) throw new TypeError("The iterator.next() method must return an object");
505
+ return t;
518
506
  }
519
507
  n$1(Xi, "IteratorNext");
520
508
  function ea(e) {
@@ -530,19 +518,19 @@ function Ns() {
530
518
  }
531
519
  n$1(ra, "IsNonNegativeNumber");
532
520
  function fo(e) {
533
- const t$1 = lo(e.buffer, e.byteOffset, e.byteOffset + e.byteLength);
534
- return new Uint8Array(t$1);
521
+ const t = lo(e.buffer, e.byteOffset, e.byteOffset + e.byteLength);
522
+ return new Uint8Array(t);
535
523
  }
536
524
  n$1(fo, "CloneAsUint8Array");
537
525
  function xr(e) {
538
- const t$1 = e._queue.shift();
539
- return e._queueTotalSize -= t$1.size, e._queueTotalSize < 0 && (e._queueTotalSize = 0), t$1.value;
526
+ const t = e._queue.shift();
527
+ return e._queueTotalSize -= t.size, e._queueTotalSize < 0 && (e._queueTotalSize = 0), t.value;
540
528
  }
541
529
  n$1(xr, "DequeueValue");
542
- function Nr(e, t$1, r) {
530
+ function Nr(e, t, r) {
543
531
  if (!ra(r) || r === Infinity) throw new RangeError("Size must be a finite, non-NaN, non-negative number.");
544
532
  e._queue.push({
545
- value: t$1,
533
+ value: t,
546
534
  size: r
547
535
  }), e._queueTotalSize += r;
548
536
  }
@@ -575,18 +563,18 @@ function Ns() {
575
563
  if (!Hr(this)) throw Zr("view");
576
564
  return this._view;
577
565
  }
578
- respond(t$1) {
566
+ respond(t) {
579
567
  if (!Hr(this)) throw Zr("respond");
580
- if (Se(t$1, 1, "respond"), t$1 = Fr(t$1, "First parameter"), this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
568
+ if (Se(t, 1, "respond"), t = Fr(t, "First parameter"), this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
581
569
  if (Ae(this._view.buffer)) throw new TypeError("The BYOB request's buffer has been detached and so cannot be used as a response");
582
- Vt(this._associatedReadableByteStreamController, t$1);
570
+ Vt(this._associatedReadableByteStreamController, t);
583
571
  }
584
- respondWithNewView(t$1) {
572
+ respondWithNewView(t) {
585
573
  if (!Hr(this)) throw Zr("respondWithNewView");
586
- if (Se(t$1, 1, "respondWithNewView"), !ArrayBuffer.isView(t$1)) throw new TypeError("You can only respond with array buffer views");
574
+ if (Se(t, 1, "respondWithNewView"), !ArrayBuffer.isView(t)) throw new TypeError("You can only respond with array buffer views");
587
575
  if (this._associatedReadableByteStreamController === void 0) throw new TypeError("This BYOB request has been invalidated");
588
- if (Ae(t$1.buffer)) throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");
589
- Qt(this._associatedReadableByteStreamController, t$1);
576
+ if (Ae(t.buffer)) throw new TypeError("The given view's buffer has been detached and so cannot be used as a response");
577
+ Qt(this._associatedReadableByteStreamController, t);
590
578
  }
591
579
  };
592
580
  n$1(gn, "ReadableStreamBYOBRequest");
@@ -614,33 +602,33 @@ function Ns() {
614
602
  close() {
615
603
  if (!Ie(this)) throw Rt("close");
616
604
  if (this._closeRequested) throw new TypeError("The stream has already been closed; do not close it again!");
617
- const t$1 = this._controlledReadableByteStream._state;
618
- if (t$1 !== "readable") throw new TypeError(`The stream (in ${t$1} state) is not in the readable state and cannot be closed`);
605
+ const t = this._controlledReadableByteStream._state;
606
+ if (t !== "readable") throw new TypeError(`The stream (in ${t} state) is not in the readable state and cannot be closed`);
619
607
  wt(this);
620
608
  }
621
- enqueue(t$1) {
609
+ enqueue(t) {
622
610
  if (!Ie(this)) throw Rt("enqueue");
623
- if (Se(t$1, 1, "enqueue"), !ArrayBuffer.isView(t$1)) throw new TypeError("chunk must be an array buffer view");
624
- if (t$1.byteLength === 0) throw new TypeError("chunk must have non-zero byteLength");
625
- if (t$1.buffer.byteLength === 0) throw new TypeError("chunk's buffer must have non-zero byteLength");
611
+ if (Se(t, 1, "enqueue"), !ArrayBuffer.isView(t)) throw new TypeError("chunk must be an array buffer view");
612
+ if (t.byteLength === 0) throw new TypeError("chunk must have non-zero byteLength");
613
+ if (t.buffer.byteLength === 0) throw new TypeError("chunk's buffer must have non-zero byteLength");
626
614
  if (this._closeRequested) throw new TypeError("stream is closed or draining");
627
615
  const r = this._controlledReadableByteStream._state;
628
616
  if (r !== "readable") throw new TypeError(`The stream (in ${r} state) is not in the readable state and cannot be enqueued to`);
629
- Ht(this, t$1);
617
+ Ht(this, t);
630
618
  }
631
- error(t$1 = void 0) {
619
+ error(t = void 0) {
632
620
  if (!Ie(this)) throw Rt("error");
633
- K(this, t$1);
621
+ K(this, t);
634
622
  }
635
- [Ar](t$1) {
623
+ [Ar](t) {
636
624
  ho(this), Be(this);
637
- const r = this._cancelAlgorithm(t$1);
625
+ const r = this._cancelAlgorithm(t);
638
626
  return Nt(this), r;
639
627
  }
640
- [Br](t$1) {
628
+ [Br](t) {
641
629
  const r = this._controlledReadableByteStream;
642
630
  if (this._queueTotalSize > 0) {
643
- wo(this, t$1);
631
+ wo(this, t);
644
632
  return;
645
633
  }
646
634
  const s = this._autoAllocateChunkSize;
@@ -649,7 +637,7 @@ function Ns() {
649
637
  try {
650
638
  u = new ArrayBuffer(s);
651
639
  } catch (d) {
652
- t$1._errorSteps(d);
640
+ t._errorSteps(d);
653
641
  return;
654
642
  }
655
643
  const c = {
@@ -665,12 +653,12 @@ function Ns() {
665
653
  };
666
654
  this._pendingPullIntos.push(c);
667
655
  }
668
- eo(r, t$1), Fe(this);
656
+ eo(r, t), Fe(this);
669
657
  }
670
658
  [kr]() {
671
659
  if (this._pendingPullIntos.length > 0) {
672
- const t$1 = this._pendingPullIntos.peek();
673
- t$1.readerType = "none", this._pendingPullIntos = new D(), this._pendingPullIntos.push(t$1);
660
+ const t = this._pendingPullIntos.peek();
661
+ t.readerType = "none", this._pendingPullIntos = new D(), this._pendingPullIntos.push(t);
674
662
  }
675
663
  }
676
664
  };
@@ -708,55 +696,55 @@ function Ns() {
708
696
  Qr(e), e._pendingPullIntos = new D();
709
697
  }
710
698
  n$1(ho, "ReadableByteStreamControllerClearPendingPullIntos");
711
- function Vr(e, t$1) {
699
+ function Vr(e, t) {
712
700
  let r = !1;
713
701
  e._state === "closed" && (r = !0);
714
- const s = po(t$1);
715
- t$1.readerType === "default" ? Lr(e, s, r) : ma(e, s, r);
702
+ const s = po(t);
703
+ t.readerType === "default" ? Lr(e, s, r) : ma(e, s, r);
716
704
  }
717
705
  n$1(Vr, "ReadableByteStreamControllerCommitPullIntoDescriptor");
718
706
  function po(e) {
719
- const t$1 = e.bytesFilled, r = e.elementSize;
720
- return new e.viewConstructor(e.buffer, e.byteOffset, t$1 / r);
707
+ const t = e.bytesFilled, r = e.elementSize;
708
+ return new e.viewConstructor(e.buffer, e.byteOffset, t / r);
721
709
  }
722
710
  n$1(po, "ReadableByteStreamControllerConvertPullIntoDescriptor");
723
- function xt(e, t$1, r, s) {
711
+ function xt(e, t, r, s) {
724
712
  e._queue.push({
725
- buffer: t$1,
713
+ buffer: t,
726
714
  byteOffset: r,
727
715
  byteLength: s
728
716
  }), e._queueTotalSize += s;
729
717
  }
730
718
  n$1(xt, "ReadableByteStreamControllerEnqueueChunkToQueue");
731
- function bo(e, t$1, r, s) {
719
+ function bo(e, t, r, s) {
732
720
  let u;
733
721
  try {
734
- u = lo(t$1, r, r + s);
722
+ u = lo(t, r, r + s);
735
723
  } catch (c) {
736
724
  throw K(e, c), c;
737
725
  }
738
726
  xt(e, u, 0, s);
739
727
  }
740
728
  n$1(bo, "ReadableByteStreamControllerEnqueueClonedChunkToQueue");
741
- function mo(e, t$1) {
742
- t$1.bytesFilled > 0 && bo(e, t$1.buffer, t$1.byteOffset, t$1.bytesFilled), Ye(e);
729
+ function mo(e, t) {
730
+ t.bytesFilled > 0 && bo(e, t.buffer, t.byteOffset, t.bytesFilled), Ye(e);
743
731
  }
744
732
  n$1(mo, "ReadableByteStreamControllerEnqueueDetachedPullIntoToQueue");
745
- function yo(e, t$1) {
746
- const r = Math.min(e._queueTotalSize, t$1.byteLength - t$1.bytesFilled), s = t$1.bytesFilled + r;
733
+ function yo(e, t) {
734
+ const r = Math.min(e._queueTotalSize, t.byteLength - t.bytesFilled), s = t.bytesFilled + r;
747
735
  let u = r, c = !1;
748
- const m = s - s % t$1.elementSize;
749
- m >= t$1.minimumFill && (u = m - t$1.bytesFilled, c = !0);
736
+ const m = s - s % t.elementSize;
737
+ m >= t.minimumFill && (u = m - t.bytesFilled, c = !0);
750
738
  const R = e._queue;
751
739
  for (; u > 0;) {
752
- const y = R.peek(), C = Math.min(u, y.byteLength), P = t$1.byteOffset + t$1.bytesFilled;
753
- so(t$1.buffer, P, y.buffer, y.byteOffset, C), y.byteLength === C ? R.shift() : (y.byteOffset += C, y.byteLength -= C), e._queueTotalSize -= C, go(e, C, t$1), u -= C;
740
+ const y = R.peek(), C = Math.min(u, y.byteLength), P = t.byteOffset + t.bytesFilled;
741
+ so(t.buffer, P, y.buffer, y.byteOffset, C), y.byteLength === C ? R.shift() : (y.byteOffset += C, y.byteLength -= C), e._queueTotalSize -= C, go(e, C, t), u -= C;
754
742
  }
755
743
  return c;
756
744
  }
757
745
  n$1(yo, "ReadableByteStreamControllerFillPullIntoDescriptorFromQueue");
758
- function go(e, t$1, r) {
759
- r.bytesFilled += t$1;
746
+ function go(e, t, r) {
747
+ r.bytesFilled += t;
760
748
  }
761
749
  n$1(go, "ReadableByteStreamControllerFillHeadPullIntoDescriptor");
762
750
  function _o(e) {
@@ -770,24 +758,24 @@ function Ns() {
770
758
  function Yr(e) {
771
759
  for (; e._pendingPullIntos.length > 0;) {
772
760
  if (e._queueTotalSize === 0) return;
773
- const t$1 = e._pendingPullIntos.peek();
774
- yo(e, t$1) && (Ye(e), Vr(e._controlledReadableByteStream, t$1));
761
+ const t = e._pendingPullIntos.peek();
762
+ yo(e, t) && (Ye(e), Vr(e._controlledReadableByteStream, t));
775
763
  }
776
764
  }
777
765
  n$1(Yr, "ReadableByteStreamControllerProcessPullIntoDescriptorsUsingQueue");
778
766
  function aa(e) {
779
- const t$1 = e._controlledReadableByteStream._reader;
780
- for (; t$1._readRequests.length > 0;) {
767
+ const t = e._controlledReadableByteStream._reader;
768
+ for (; t._readRequests.length > 0;) {
781
769
  if (e._queueTotalSize === 0) return;
782
- wo(e, t$1._readRequests.shift());
770
+ wo(e, t._readRequests.shift());
783
771
  }
784
772
  }
785
773
  n$1(aa, "ReadableByteStreamControllerProcessReadRequestsUsingQueue");
786
- function sa(e, t$1, r, s) {
787
- const u = e._controlledReadableByteStream, c = t$1.constructor, d = ia(c), { byteOffset: m, byteLength: R } = t$1, y = r * d;
774
+ function sa(e, t, r, s) {
775
+ const u = e._controlledReadableByteStream, c = t.constructor, d = ia(c), { byteOffset: m, byteLength: R } = t, y = r * d;
788
776
  let C;
789
777
  try {
790
- C = we(t$1.buffer);
778
+ C = we(t.buffer);
791
779
  } catch (B) {
792
780
  s._errorSteps(B);
793
781
  return;
@@ -827,14 +815,14 @@ function Ns() {
827
815
  e._pendingPullIntos.push(P), Po(u, s), Fe(e);
828
816
  }
829
817
  n$1(sa, "ReadableByteStreamControllerPullInto");
830
- function la(e, t$1) {
831
- t$1.readerType === "none" && Ye(e);
818
+ function la(e, t) {
819
+ t.readerType === "none" && Ye(e);
832
820
  const r = e._controlledReadableByteStream;
833
821
  if (Kr(r)) for (; vo(r) > 0;) Vr(r, Ye(e));
834
822
  }
835
823
  n$1(la, "ReadableByteStreamControllerRespondInClosedState");
836
- function ua(e, t$1, r) {
837
- if (go(e, t$1, r), r.readerType === "none") {
824
+ function ua(e, t, r) {
825
+ if (go(e, t, r), r.readerType === "none") {
838
826
  mo(e, r), Yr(e);
839
827
  return;
840
828
  }
@@ -848,9 +836,9 @@ function Ns() {
848
836
  r.bytesFilled -= s, Vr(e._controlledReadableByteStream, r), Yr(e);
849
837
  }
850
838
  n$1(ua, "ReadableByteStreamControllerRespondInReadableState");
851
- function So(e, t$1) {
839
+ function So(e, t) {
852
840
  const r = e._pendingPullIntos.peek();
853
- Qr(e), e._controlledReadableByteStream._state === "closed" ? la(e, r) : ua(e, t$1, r), Fe(e);
841
+ Qr(e), e._controlledReadableByteStream._state === "closed" ? la(e, r) : ua(e, t, r), Fe(e);
854
842
  }
855
843
  n$1(So, "ReadableByteStreamControllerRespondInternal");
856
844
  function Ye(e) {
@@ -858,8 +846,8 @@ function Ns() {
858
846
  }
859
847
  n$1(Ye, "ReadableByteStreamControllerShiftPendingPullInto");
860
848
  function fa(e) {
861
- const t$1 = e._controlledReadableByteStream;
862
- return t$1._state !== "readable" || e._closeRequested || !e._started ? !1 : !!(to(t$1) && $t(t$1) > 0 || Kr(t$1) && vo(t$1) > 0 || Ro(e) > 0);
849
+ const t = e._controlledReadableByteStream;
850
+ return t._state !== "readable" || e._closeRequested || !e._started ? !1 : !!(to(t) && $t(t) > 0 || Kr(t) && vo(t) > 0 || Ro(e) > 0);
863
851
  }
864
852
  n$1(fa, "ReadableByteStreamControllerShouldCallPull");
865
853
  function Nt(e) {
@@ -867,8 +855,8 @@ function Ns() {
867
855
  }
868
856
  n$1(Nt, "ReadableByteStreamControllerClearAlgorithms");
869
857
  function wt(e) {
870
- const t$1 = e._controlledReadableByteStream;
871
- if (!(e._closeRequested || t$1._state !== "readable")) {
858
+ const t = e._controlledReadableByteStream;
859
+ if (!(e._closeRequested || t._state !== "readable")) {
872
860
  if (e._queueTotalSize > 0) {
873
861
  e._closeRequested = !0;
874
862
  return;
@@ -880,14 +868,14 @@ function Ns() {
880
868
  throw K(e, s), s;
881
869
  }
882
870
  }
883
- Nt(e), At(t$1);
871
+ Nt(e), At(t);
884
872
  }
885
873
  }
886
874
  n$1(wt, "ReadableByteStreamControllerClose");
887
- function Ht(e, t$1) {
875
+ function Ht(e, t) {
888
876
  const r = e._controlledReadableByteStream;
889
877
  if (e._closeRequested || r._state !== "readable") return;
890
- const { buffer: s, byteOffset: u, byteLength: c } = t$1;
878
+ const { buffer: s, byteOffset: u, byteLength: c } = t;
891
879
  if (Ae(s)) throw new TypeError("chunk's buffer is detached and so cannot be enqueued");
892
880
  const d = we(s);
893
881
  if (e._pendingPullIntos.length > 0) {
@@ -904,70 +892,70 @@ function Ns() {
904
892
  Fe(e);
905
893
  }
906
894
  n$1(Ht, "ReadableByteStreamControllerEnqueue");
907
- function K(e, t$1) {
895
+ function K(e, t) {
908
896
  const r = e._controlledReadableByteStream;
909
- r._state === "readable" && (ho(e), Be(e), Nt(e), Zo(r, t$1));
897
+ r._state === "readable" && (ho(e), Be(e), Nt(e), Zo(r, t));
910
898
  }
911
899
  n$1(K, "ReadableByteStreamControllerError");
912
- function wo(e, t$1) {
900
+ function wo(e, t) {
913
901
  const r = e._queue.shift();
914
902
  e._queueTotalSize -= r.byteLength, _o(e);
915
903
  const s = new Uint8Array(r.buffer, r.byteOffset, r.byteLength);
916
- t$1._chunkSteps(s);
904
+ t._chunkSteps(s);
917
905
  }
918
906
  n$1(wo, "ReadableByteStreamControllerFillReadRequestFromQueue");
919
907
  function Gr(e) {
920
908
  if (e._byobRequest === null && e._pendingPullIntos.length > 0) {
921
- const t$1 = e._pendingPullIntos.peek(), r = new Uint8Array(t$1.buffer, t$1.byteOffset + t$1.bytesFilled, t$1.byteLength - t$1.bytesFilled), s = Object.create(Re.prototype);
909
+ const t = e._pendingPullIntos.peek(), r = new Uint8Array(t.buffer, t.byteOffset + t.bytesFilled, t.byteLength - t.bytesFilled), s = Object.create(Re.prototype);
922
910
  da(s, e, r), e._byobRequest = s;
923
911
  }
924
912
  return e._byobRequest;
925
913
  }
926
914
  n$1(Gr, "ReadableByteStreamControllerGetBYOBRequest");
927
915
  function Ro(e) {
928
- const t$1 = e._controlledReadableByteStream._state;
929
- return t$1 === "errored" ? null : t$1 === "closed" ? 0 : e._strategyHWM - e._queueTotalSize;
916
+ const t = e._controlledReadableByteStream._state;
917
+ return t === "errored" ? null : t === "closed" ? 0 : e._strategyHWM - e._queueTotalSize;
930
918
  }
931
919
  n$1(Ro, "ReadableByteStreamControllerGetDesiredSize");
932
- function Vt(e, t$1) {
920
+ function Vt(e, t) {
933
921
  const r = e._pendingPullIntos.peek();
934
922
  if (e._controlledReadableByteStream._state === "closed") {
935
- if (t$1 !== 0) throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");
923
+ if (t !== 0) throw new TypeError("bytesWritten must be 0 when calling respond() on a closed stream");
936
924
  } else {
937
- if (t$1 === 0) throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");
938
- if (r.bytesFilled + t$1 > r.byteLength) throw new RangeError("bytesWritten out of range");
925
+ if (t === 0) throw new TypeError("bytesWritten must be greater than 0 when calling respond() on a readable stream");
926
+ if (r.bytesFilled + t > r.byteLength) throw new RangeError("bytesWritten out of range");
939
927
  }
940
- r.buffer = we(r.buffer), So(e, t$1);
928
+ r.buffer = we(r.buffer), So(e, t);
941
929
  }
942
930
  n$1(Vt, "ReadableByteStreamControllerRespond");
943
- function Qt(e, t$1) {
931
+ function Qt(e, t) {
944
932
  const r = e._pendingPullIntos.peek();
945
933
  if (e._controlledReadableByteStream._state === "closed") {
946
- if (t$1.byteLength !== 0) throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream");
947
- } else if (t$1.byteLength === 0) throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");
948
- if (r.byteOffset + r.bytesFilled !== t$1.byteOffset) throw new RangeError("The region specified by view does not match byobRequest");
949
- if (r.bufferByteLength !== t$1.buffer.byteLength) throw new RangeError("The buffer of view has different capacity than byobRequest");
950
- if (r.bytesFilled + t$1.byteLength > r.byteLength) throw new RangeError("The region specified by view is larger than byobRequest");
951
- const u = t$1.byteLength;
952
- r.buffer = we(t$1.buffer), So(e, u);
934
+ if (t.byteLength !== 0) throw new TypeError("The view's length must be 0 when calling respondWithNewView() on a closed stream");
935
+ } else if (t.byteLength === 0) throw new TypeError("The view's length must be greater than 0 when calling respondWithNewView() on a readable stream");
936
+ if (r.byteOffset + r.bytesFilled !== t.byteOffset) throw new RangeError("The region specified by view does not match byobRequest");
937
+ if (r.bufferByteLength !== t.buffer.byteLength) throw new RangeError("The buffer of view has different capacity than byobRequest");
938
+ if (r.bytesFilled + t.byteLength > r.byteLength) throw new RangeError("The region specified by view is larger than byobRequest");
939
+ const u = t.byteLength;
940
+ r.buffer = we(t.buffer), So(e, u);
953
941
  }
954
942
  n$1(Qt, "ReadableByteStreamControllerRespondWithNewView");
955
- function To(e, t$1, r, s, u, c, d) {
956
- t$1._controlledReadableByteStream = e, t$1._pullAgain = !1, t$1._pulling = !1, t$1._byobRequest = null, t$1._queue = t$1._queueTotalSize = void 0, Be(t$1), t$1._closeRequested = !1, t$1._started = !1, t$1._strategyHWM = c, t$1._pullAlgorithm = s, t$1._cancelAlgorithm = u, t$1._autoAllocateChunkSize = d, t$1._pendingPullIntos = new D(), e._readableStreamController = t$1;
957
- g(T(r()), () => (t$1._started = !0, Fe(t$1), null), (R) => (K(t$1, R), null));
943
+ function To(e, t, r, s, u, c, d) {
944
+ t._controlledReadableByteStream = e, t._pullAgain = !1, t._pulling = !1, t._byobRequest = null, t._queue = t._queueTotalSize = void 0, Be(t), t._closeRequested = !1, t._started = !1, t._strategyHWM = c, t._pullAlgorithm = s, t._cancelAlgorithm = u, t._autoAllocateChunkSize = d, t._pendingPullIntos = new D(), e._readableStreamController = t;
945
+ g(T(r()), () => (t._started = !0, Fe(t), null), (R) => (K(t, R), null));
958
946
  }
959
947
  n$1(To, "SetUpReadableByteStreamController");
960
- function ca(e, t$1, r) {
948
+ function ca(e, t, r) {
961
949
  const s = Object.create(te.prototype);
962
950
  let u, c, d;
963
- t$1.start !== void 0 ? u = n$1(() => t$1.start(s), "startAlgorithm") : u = n$1(() => {}, "startAlgorithm"), t$1.pull !== void 0 ? c = n$1(() => t$1.pull(s), "pullAlgorithm") : c = n$1(() => T(void 0), "pullAlgorithm"), t$1.cancel !== void 0 ? d = n$1((R) => t$1.cancel(R), "cancelAlgorithm") : d = n$1(() => T(void 0), "cancelAlgorithm");
964
- const m = t$1.autoAllocateChunkSize;
951
+ t.start !== void 0 ? u = n$1(() => t.start(s), "startAlgorithm") : u = n$1(() => {}, "startAlgorithm"), t.pull !== void 0 ? c = n$1(() => t.pull(s), "pullAlgorithm") : c = n$1(() => T(void 0), "pullAlgorithm"), t.cancel !== void 0 ? d = n$1((R) => t.cancel(R), "cancelAlgorithm") : d = n$1(() => T(void 0), "cancelAlgorithm");
952
+ const m = t.autoAllocateChunkSize;
965
953
  if (m === 0) throw new TypeError("autoAllocateChunkSize must be greater than 0");
966
954
  To(e, s, u, c, d, r, m);
967
955
  }
968
956
  n$1(ca, "SetUpReadableByteStreamControllerFromUnderlyingSource");
969
- function da(e, t$1, r) {
970
- e._associatedReadableByteStreamController = t$1, e._view = r;
957
+ function da(e, t, r) {
958
+ e._associatedReadableByteStreamController = t, e._view = r;
971
959
  }
972
960
  n$1(da, "SetUpReadableStreamBYOBRequest");
973
961
  function Zr(e) {
@@ -978,34 +966,34 @@ function Ns() {
978
966
  return /* @__PURE__ */ new TypeError(`ReadableByteStreamController.prototype.${e} can only be used on a ReadableByteStreamController`);
979
967
  }
980
968
  n$1(Rt, "byteStreamControllerBrandCheckException");
981
- function ha(e, t$1) {
982
- ue(e, t$1);
969
+ function ha(e, t) {
970
+ ue(e, t);
983
971
  const r = e?.mode;
984
- return { mode: r === void 0 ? void 0 : pa(r, `${t$1} has member 'mode' that`) };
972
+ return { mode: r === void 0 ? void 0 : pa(r, `${t} has member 'mode' that`) };
985
973
  }
986
974
  n$1(ha, "convertReaderOptions");
987
- function pa(e, t$1) {
988
- if (e = `${e}`, e !== "byob") throw new TypeError(`${t$1} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);
975
+ function pa(e, t) {
976
+ if (e = `${e}`, e !== "byob") throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamReaderMode`);
989
977
  return e;
990
978
  }
991
979
  n$1(pa, "convertReadableStreamReaderMode");
992
- function ba(e, t$1) {
980
+ function ba(e, t) {
993
981
  var r;
994
- ue(e, t$1);
995
- return { min: Fr((r = e?.min) !== null && r !== void 0 ? r : 1, `${t$1} has member 'min' that`) };
982
+ ue(e, t);
983
+ return { min: Fr((r = e?.min) !== null && r !== void 0 ? r : 1, `${t} has member 'min' that`) };
996
984
  }
997
985
  n$1(ba, "convertByobReadOptions");
998
986
  function Co(e) {
999
987
  return new ce(e);
1000
988
  }
1001
989
  n$1(Co, "AcquireReadableStreamBYOBReader");
1002
- function Po(e, t$1) {
1003
- e._reader._readIntoRequests.push(t$1);
990
+ function Po(e, t) {
991
+ e._reader._readIntoRequests.push(t);
1004
992
  }
1005
993
  n$1(Po, "ReadableStreamAddReadIntoRequest");
1006
- function ma(e, t$1, r) {
994
+ function ma(e, t, r) {
1007
995
  const u = e._reader._readIntoRequests.shift();
1008
- r ? u._closeSteps(t$1) : u._chunkSteps(t$1);
996
+ r ? u._closeSteps(t) : u._chunkSteps(t);
1009
997
  }
1010
998
  n$1(ma, "ReadableStreamFulfillReadIntoRequest");
1011
999
  function vo(e) {
@@ -1013,28 +1001,28 @@ function Ns() {
1013
1001
  }
1014
1002
  n$1(vo, "ReadableStreamGetNumReadIntoRequests");
1015
1003
  function Kr(e) {
1016
- const t$1 = e._reader;
1017
- return !(t$1 === void 0 || !je(t$1));
1004
+ const t = e._reader;
1005
+ return !(t === void 0 || !je(t));
1018
1006
  }
1019
1007
  n$1(Kr, "ReadableStreamHasBYOBReader");
1020
1008
  const Sn = class Sn$1 {
1021
- constructor(t$1) {
1022
- if (Se(t$1, 1, "ReadableStreamBYOBReader"), jr(t$1, "First parameter"), qe(t$1)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
1023
- if (!Ie(t$1._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
1024
- Yn(this, t$1), this._readIntoRequests = new D();
1009
+ constructor(t) {
1010
+ if (Se(t, 1, "ReadableStreamBYOBReader"), jr(t, "First parameter"), qe(t)) throw new TypeError("This stream has already been locked for exclusive reading by another reader");
1011
+ if (!Ie(t._readableStreamController)) throw new TypeError("Cannot construct a ReadableStreamBYOBReader for a stream not constructed with a byte source");
1012
+ Yn(this, t), this._readIntoRequests = new D();
1025
1013
  }
1026
1014
  get closed() {
1027
1015
  return je(this) ? this._closedPromise : b(Yt("closed"));
1028
1016
  }
1029
- cancel(t$1 = void 0) {
1030
- return je(this) ? this._ownerReadableStream === void 0 ? b(Lt("cancel")) : Wr(this, t$1) : b(Yt("cancel"));
1017
+ cancel(t = void 0) {
1018
+ return je(this) ? this._ownerReadableStream === void 0 ? b(Lt("cancel")) : Wr(this, t) : b(Yt("cancel"));
1031
1019
  }
1032
- read(t$1, r = {}) {
1020
+ read(t, r = {}) {
1033
1021
  if (!je(this)) return b(Yt("read"));
1034
- if (!ArrayBuffer.isView(t$1)) return b(/* @__PURE__ */ new TypeError("view must be an array buffer view"));
1035
- if (t$1.byteLength === 0) return b(/* @__PURE__ */ new TypeError("view must have non-zero byteLength"));
1036
- if (t$1.buffer.byteLength === 0) return b(/* @__PURE__ */ new TypeError("view's buffer must have non-zero byteLength"));
1037
- if (Ae(t$1.buffer)) return b(/* @__PURE__ */ new TypeError("view's buffer has been detached"));
1022
+ if (!ArrayBuffer.isView(t)) return b(/* @__PURE__ */ new TypeError("view must be an array buffer view"));
1023
+ if (t.byteLength === 0) return b(/* @__PURE__ */ new TypeError("view must have non-zero byteLength"));
1024
+ if (t.buffer.byteLength === 0) return b(/* @__PURE__ */ new TypeError("view's buffer must have non-zero byteLength"));
1025
+ if (Ae(t.buffer)) return b(/* @__PURE__ */ new TypeError("view's buffer has been detached"));
1038
1026
  let s;
1039
1027
  try {
1040
1028
  s = ba(r, "options");
@@ -1043,15 +1031,15 @@ function Ns() {
1043
1031
  }
1044
1032
  const u = s.min;
1045
1033
  if (u === 0) return b(/* @__PURE__ */ new TypeError("options.min must be greater than 0"));
1046
- if (oa(t$1)) {
1047
- if (u > t$1.byteLength) return b(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's byteLength"));
1048
- } else if (u > t$1.length) return b(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's length"));
1034
+ if (oa(t)) {
1035
+ if (u > t.byteLength) return b(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's byteLength"));
1036
+ } else if (u > t.length) return b(/* @__PURE__ */ new RangeError("options.min must be less than or equal to view's length"));
1049
1037
  if (this._ownerReadableStream === void 0) return b(Lt("read from"));
1050
1038
  let c, d;
1051
1039
  const m = A((y, C) => {
1052
1040
  c = y, d = C;
1053
1041
  });
1054
- return Eo(this, t$1, u, {
1042
+ return Eo(this, t, u, {
1055
1043
  _chunkSteps: n$1((y) => c({
1056
1044
  value: y,
1057
1045
  done: !1
@@ -1083,9 +1071,9 @@ function Ns() {
1083
1071
  return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_readIntoRequests") ? !1 : e instanceof ce;
1084
1072
  }
1085
1073
  n$1(je, "IsReadableStreamBYOBReader");
1086
- function Eo(e, t$1, r, s) {
1074
+ function Eo(e, t, r, s) {
1087
1075
  const u = e._ownerReadableStream;
1088
- u._disturbed = !0, u._state === "errored" ? s._errorSteps(u._storedError) : sa(u._readableStreamController, t$1, r, s);
1076
+ u._disturbed = !0, u._state === "errored" ? s._errorSteps(u._storedError) : sa(u._readableStreamController, t, r, s);
1089
1077
  }
1090
1078
  n$1(Eo, "ReadableStreamBYOBReaderRead");
1091
1079
  function ya(e) {
@@ -1093,10 +1081,10 @@ function Ns() {
1093
1081
  Ao(e, /* @__PURE__ */ new TypeError("Reader was released"));
1094
1082
  }
1095
1083
  n$1(ya, "ReadableStreamBYOBReaderRelease");
1096
- function Ao(e, t$1) {
1084
+ function Ao(e, t) {
1097
1085
  const r = e._readIntoRequests;
1098
1086
  e._readIntoRequests = new D(), r.forEach((s) => {
1099
- s._errorSteps(t$1);
1087
+ s._errorSteps(t);
1100
1088
  });
1101
1089
  }
1102
1090
  n$1(Ao, "ReadableStreamBYOBReaderErrorReadIntoRequests");
@@ -1104,61 +1092,61 @@ function Ns() {
1104
1092
  return /* @__PURE__ */ new TypeError(`ReadableStreamBYOBReader.prototype.${e} can only be used on a ReadableStreamBYOBReader`);
1105
1093
  }
1106
1094
  n$1(Yt, "byobReaderBrandCheckException");
1107
- function Tt(e, t$1) {
1095
+ function Tt(e, t) {
1108
1096
  const { highWaterMark: r } = e;
1109
- if (r === void 0) return t$1;
1097
+ if (r === void 0) return t;
1110
1098
  if (ao(r) || r < 0) throw new RangeError("Invalid highWaterMark");
1111
1099
  return r;
1112
1100
  }
1113
1101
  n$1(Tt, "ExtractHighWaterMark");
1114
1102
  function Gt(e) {
1115
- const { size: t$1 } = e;
1116
- return t$1 || (() => 1);
1103
+ const { size: t } = e;
1104
+ return t || (() => 1);
1117
1105
  }
1118
1106
  n$1(Gt, "ExtractSizeAlgorithm");
1119
- function Zt(e, t$1) {
1120
- ue(e, t$1);
1107
+ function Zt(e, t) {
1108
+ ue(e, t);
1121
1109
  const r = e?.highWaterMark, s = e?.size;
1122
1110
  return {
1123
1111
  highWaterMark: r === void 0 ? void 0 : Ir(r),
1124
- size: s === void 0 ? void 0 : ga(s, `${t$1} has member 'size' that`)
1112
+ size: s === void 0 ? void 0 : ga(s, `${t} has member 'size' that`)
1125
1113
  };
1126
1114
  }
1127
1115
  n$1(Zt, "convertQueuingStrategy");
1128
- function ga(e, t$1) {
1129
- return Z(e, t$1), (r) => Ir(e(r));
1116
+ function ga(e, t) {
1117
+ return Z(e, t), (r) => Ir(e(r));
1130
1118
  }
1131
1119
  n$1(ga, "convertQueuingStrategySize");
1132
- function _a(e, t$1) {
1133
- ue(e, t$1);
1120
+ function _a(e, t) {
1121
+ ue(e, t);
1134
1122
  const r = e?.abort, s = e?.close, u = e?.start, c = e?.type, d = e?.write;
1135
1123
  return {
1136
- abort: r === void 0 ? void 0 : Sa(r, e, `${t$1} has member 'abort' that`),
1137
- close: s === void 0 ? void 0 : wa(s, e, `${t$1} has member 'close' that`),
1138
- start: u === void 0 ? void 0 : Ra(u, e, `${t$1} has member 'start' that`),
1139
- write: d === void 0 ? void 0 : Ta(d, e, `${t$1} has member 'write' that`),
1124
+ abort: r === void 0 ? void 0 : Sa(r, e, `${t} has member 'abort' that`),
1125
+ close: s === void 0 ? void 0 : wa(s, e, `${t} has member 'close' that`),
1126
+ start: u === void 0 ? void 0 : Ra(u, e, `${t} has member 'start' that`),
1127
+ write: d === void 0 ? void 0 : Ta(d, e, `${t} has member 'write' that`),
1140
1128
  type: c
1141
1129
  };
1142
1130
  }
1143
1131
  n$1(_a, "convertUnderlyingSink");
1144
- function Sa(e, t$1, r) {
1145
- return Z(e, r), (s) => j(e, t$1, [s]);
1132
+ function Sa(e, t, r) {
1133
+ return Z(e, r), (s) => j(e, t, [s]);
1146
1134
  }
1147
1135
  n$1(Sa, "convertUnderlyingSinkAbortCallback");
1148
- function wa(e, t$1, r) {
1149
- return Z(e, r), () => j(e, t$1, []);
1136
+ function wa(e, t, r) {
1137
+ return Z(e, r), () => j(e, t, []);
1150
1138
  }
1151
1139
  n$1(wa, "convertUnderlyingSinkCloseCallback");
1152
- function Ra(e, t$1, r) {
1153
- return Z(e, r), (s) => z(e, t$1, [s]);
1140
+ function Ra(e, t, r) {
1141
+ return Z(e, r), (s) => z(e, t, [s]);
1154
1142
  }
1155
1143
  n$1(Ra, "convertUnderlyingSinkStartCallback");
1156
- function Ta(e, t$1, r) {
1157
- return Z(e, r), (s, u) => j(e, t$1, [s, u]);
1144
+ function Ta(e, t, r) {
1145
+ return Z(e, r), (s, u) => j(e, t, [s, u]);
1158
1146
  }
1159
1147
  n$1(Ta, "convertUnderlyingSinkWriteCallback");
1160
- function Bo(e, t$1) {
1161
- if (!Ge(e)) throw new TypeError(`${t$1} is not a WritableStream.`);
1148
+ function Bo(e, t) {
1149
+ if (!Ge(e)) throw new TypeError(`${t} is not a WritableStream.`);
1162
1150
  }
1163
1151
  n$1(Bo, "assertWritableStream");
1164
1152
  function Ca(e) {
@@ -1176,9 +1164,9 @@ function Ns() {
1176
1164
  }
1177
1165
  n$1(va, "createAbortController");
1178
1166
  const wn = class wn$1 {
1179
- constructor(t$1 = {}, r = {}) {
1180
- t$1 === void 0 ? t$1 = null : Jn(t$1, "First parameter");
1181
- const s = Zt(r, "Second parameter"), u = _a(t$1, "First parameter");
1167
+ constructor(t = {}, r = {}) {
1168
+ t === void 0 ? t = null : Jn(t, "First parameter");
1169
+ const s = Zt(r, "Second parameter"), u = _a(t, "First parameter");
1182
1170
  if (Wo(this), u.type !== void 0) throw new RangeError("Invalid type is specified");
1183
1171
  const d = Gt(s), m = Tt(s, 1);
1184
1172
  Da(this, u, m, d);
@@ -1187,8 +1175,8 @@ function Ns() {
1187
1175
  if (!Ge(this)) throw tr("locked");
1188
1176
  return Ze(this);
1189
1177
  }
1190
- abort(t$1 = void 0) {
1191
- return Ge(this) ? Ze(this) ? b(/* @__PURE__ */ new TypeError("Cannot abort a stream that already has a writer")) : Kt(this, t$1) : b(tr("abort"));
1178
+ abort(t = void 0) {
1179
+ return Ge(this) ? Ze(this) ? b(/* @__PURE__ */ new TypeError("Cannot abort a stream that already has a writer")) : Kt(this, t) : b(tr("abort"));
1192
1180
  }
1193
1181
  close() {
1194
1182
  return Ge(this) ? Ze(this) ? b(/* @__PURE__ */ new TypeError("Cannot close a stream that already has a writer")) : he(this) ? b(/* @__PURE__ */ new TypeError("Cannot close an already-closing stream")) : qo(this) : b(tr("close"));
@@ -1213,10 +1201,10 @@ function Ns() {
1213
1201
  return new re(e);
1214
1202
  }
1215
1203
  n$1(ko, "AcquireWritableStreamDefaultWriter");
1216
- function Ea(e, t$1, r, s, u = 1, c = () => 1) {
1204
+ function Ea(e, t, r, s, u = 1, c = () => 1) {
1217
1205
  const d = Object.create(de.prototype);
1218
1206
  Wo(d);
1219
- return Lo(d, Object.create(ke.prototype), e, t$1, r, s, u, c), d;
1207
+ return Lo(d, Object.create(ke.prototype), e, t, r, s, u, c), d;
1220
1208
  }
1221
1209
  n$1(Ea, "CreateWritableStream");
1222
1210
  function Wo(e) {
@@ -1231,37 +1219,37 @@ function Ns() {
1231
1219
  return e._writer !== void 0;
1232
1220
  }
1233
1221
  n$1(Ze, "IsWritableStreamLocked");
1234
- function Kt(e, t$1) {
1222
+ function Kt(e, t) {
1235
1223
  var r;
1236
1224
  if (e._state === "closed" || e._state === "errored") return T(void 0);
1237
- e._writableStreamController._abortReason = t$1, (r = e._writableStreamController._abortController) === null || r === void 0 || r.abort(t$1);
1225
+ e._writableStreamController._abortReason = t, (r = e._writableStreamController._abortController) === null || r === void 0 || r.abort(t);
1238
1226
  const s = e._state;
1239
1227
  if (s === "closed" || s === "errored") return T(void 0);
1240
1228
  if (e._pendingAbortRequest !== void 0) return e._pendingAbortRequest._promise;
1241
1229
  let u = !1;
1242
- s === "erroring" && (u = !0, t$1 = void 0);
1230
+ s === "erroring" && (u = !0, t = void 0);
1243
1231
  const c = A((d, m) => {
1244
1232
  e._pendingAbortRequest = {
1245
1233
  _promise: void 0,
1246
1234
  _resolve: d,
1247
1235
  _reject: m,
1248
- _reason: t$1,
1236
+ _reason: t,
1249
1237
  _wasAlreadyErroring: u
1250
1238
  };
1251
1239
  });
1252
- return e._pendingAbortRequest._promise = c, u || Xr(e, t$1), c;
1240
+ return e._pendingAbortRequest._promise = c, u || Xr(e, t), c;
1253
1241
  }
1254
1242
  n$1(Kt, "WritableStreamAbort");
1255
1243
  function qo(e) {
1256
- const t$1 = e._state;
1257
- if (t$1 === "closed" || t$1 === "errored") return b(/* @__PURE__ */ new TypeError(`The stream (in ${t$1} state) is not in the writable state and cannot be closed`));
1244
+ const t = e._state;
1245
+ if (t === "closed" || t === "errored") return b(/* @__PURE__ */ new TypeError(`The stream (in ${t} state) is not in the writable state and cannot be closed`));
1258
1246
  const r = A((u, c) => {
1259
1247
  e._closeRequest = {
1260
1248
  _resolve: u,
1261
1249
  _reject: c
1262
1250
  };
1263
1251
  }), s = e._writer;
1264
- return s !== void 0 && e._backpressure && t$1 === "writable" && ln(s), Ma(e._writableStreamController), r;
1252
+ return s !== void 0 && e._backpressure && t === "writable" && ln(s), Ma(e._writableStreamController), r;
1265
1253
  }
1266
1254
  n$1(qo, "WritableStreamClose");
1267
1255
  function Aa(e) {
@@ -1274,33 +1262,33 @@ function Ns() {
1274
1262
  });
1275
1263
  }
1276
1264
  n$1(Aa, "WritableStreamAddWriteRequest");
1277
- function Jr(e, t$1) {
1265
+ function Jr(e, t) {
1278
1266
  if (e._state === "writable") {
1279
- Xr(e, t$1);
1267
+ Xr(e, t);
1280
1268
  return;
1281
1269
  }
1282
1270
  en(e);
1283
1271
  }
1284
1272
  n$1(Jr, "WritableStreamDealWithRejection");
1285
- function Xr(e, t$1) {
1273
+ function Xr(e, t) {
1286
1274
  const r = e._writableStreamController;
1287
- e._state = "erroring", e._storedError = t$1;
1275
+ e._state = "erroring", e._storedError = t;
1288
1276
  const s = e._writer;
1289
- s !== void 0 && zo(s, t$1), !Oa(e) && r._started && en(e);
1277
+ s !== void 0 && zo(s, t), !Oa(e) && r._started && en(e);
1290
1278
  }
1291
1279
  n$1(Xr, "WritableStreamStartErroring");
1292
1280
  function en(e) {
1293
1281
  e._state = "errored", e._writableStreamController[Qn]();
1294
- const t$1 = e._storedError;
1282
+ const t = e._storedError;
1295
1283
  if (e._writeRequests.forEach((u) => {
1296
- u._reject(t$1);
1284
+ u._reject(t);
1297
1285
  }), e._writeRequests = new D(), e._pendingAbortRequest === void 0) {
1298
1286
  Jt(e);
1299
1287
  return;
1300
1288
  }
1301
1289
  const r = e._pendingAbortRequest;
1302
1290
  if (e._pendingAbortRequest = void 0, r._wasAlreadyErroring) {
1303
- r._reject(t$1), Jt(e);
1291
+ r._reject(t), Jt(e);
1304
1292
  return;
1305
1293
  }
1306
1294
  g(e._writableStreamController[jt](r._reason), () => (r._resolve(), Jt(e), null), (u) => (r._reject(u), Jt(e), null));
@@ -1310,8 +1298,8 @@ function Ns() {
1310
1298
  e._inFlightWriteRequest._resolve(void 0), e._inFlightWriteRequest = void 0;
1311
1299
  }
1312
1300
  n$1(Ba, "WritableStreamFinishInFlightWrite");
1313
- function ka(e, t$1) {
1314
- e._inFlightWriteRequest._reject(t$1), e._inFlightWriteRequest = void 0, Jr(e, t$1);
1301
+ function ka(e, t) {
1302
+ e._inFlightWriteRequest._reject(t), e._inFlightWriteRequest = void 0, Jr(e, t);
1315
1303
  }
1316
1304
  n$1(ka, "WritableStreamFinishInFlightWriteWithError");
1317
1305
  function Wa(e) {
@@ -1320,8 +1308,8 @@ function Ns() {
1320
1308
  r !== void 0 && Uo(r);
1321
1309
  }
1322
1310
  n$1(Wa, "WritableStreamFinishInFlightClose");
1323
- function qa(e, t$1) {
1324
- e._inFlightCloseRequest._reject(t$1), e._inFlightCloseRequest = void 0, e._pendingAbortRequest !== void 0 && (e._pendingAbortRequest._reject(t$1), e._pendingAbortRequest = void 0), Jr(e, t$1);
1311
+ function qa(e, t) {
1312
+ e._inFlightCloseRequest._reject(t), e._inFlightCloseRequest = void 0, e._pendingAbortRequest !== void 0 && (e._pendingAbortRequest._reject(t), e._pendingAbortRequest = void 0), Jr(e, t);
1325
1313
  }
1326
1314
  n$1(qa, "WritableStreamFinishInFlightCloseWithError");
1327
1315
  function he(e) {
@@ -1342,25 +1330,25 @@ function Ns() {
1342
1330
  n$1(Ia, "WritableStreamMarkFirstWriteRequestInFlight");
1343
1331
  function Jt(e) {
1344
1332
  e._closeRequest !== void 0 && (e._closeRequest._reject(e._storedError), e._closeRequest = void 0);
1345
- const t$1 = e._writer;
1346
- t$1 !== void 0 && an(t$1, e._storedError);
1333
+ const t = e._writer;
1334
+ t !== void 0 && an(t, e._storedError);
1347
1335
  }
1348
1336
  n$1(Jt, "WritableStreamRejectCloseAndClosedPromiseIfNeeded");
1349
- function tn(e, t$1) {
1337
+ function tn(e, t) {
1350
1338
  const r = e._writer;
1351
- r !== void 0 && t$1 !== e._backpressure && (t$1 ? Ya(r) : ln(r)), e._backpressure = t$1;
1339
+ r !== void 0 && t !== e._backpressure && (t ? Ya(r) : ln(r)), e._backpressure = t;
1352
1340
  }
1353
1341
  n$1(tn, "WritableStreamUpdateBackpressure");
1354
1342
  const Rn = class Rn$1 {
1355
- constructor(t$1) {
1356
- if (Se(t$1, 1, "WritableStreamDefaultWriter"), Bo(t$1, "First parameter"), Ze(t$1)) throw new TypeError("This stream has already been locked for exclusive writing by another writer");
1357
- this._ownerWritableStream = t$1, t$1._writer = this;
1358
- const r = t$1._state;
1359
- if (r === "writable") !he(t$1) && t$1._backpressure ? nr(this) : xo(this), rr(this);
1360
- else if (r === "erroring") sn(this, t$1._storedError), rr(this);
1343
+ constructor(t) {
1344
+ if (Se(t, 1, "WritableStreamDefaultWriter"), Bo(t, "First parameter"), Ze(t)) throw new TypeError("This stream has already been locked for exclusive writing by another writer");
1345
+ this._ownerWritableStream = t, t._writer = this;
1346
+ const r = t._state;
1347
+ if (r === "writable") !he(t) && t._backpressure ? nr(this) : xo(this), rr(this);
1348
+ else if (r === "erroring") sn(this, t._storedError), rr(this);
1361
1349
  else if (r === "closed") xo(this), Va(this);
1362
1350
  else {
1363
- const s = t$1._storedError;
1351
+ const s = t._storedError;
1364
1352
  sn(this, s), Mo(this, s);
1365
1353
  }
1366
1354
  }
@@ -1375,20 +1363,20 @@ function Ns() {
1375
1363
  get ready() {
1376
1364
  return Le(this) ? this._readyPromise : b($e("ready"));
1377
1365
  }
1378
- abort(t$1 = void 0) {
1379
- return Le(this) ? this._ownerWritableStream === void 0 ? b(Pt("abort")) : Fa(this, t$1) : b($e("abort"));
1366
+ abort(t = void 0) {
1367
+ return Le(this) ? this._ownerWritableStream === void 0 ? b(Pt("abort")) : Fa(this, t) : b($e("abort"));
1380
1368
  }
1381
1369
  close() {
1382
1370
  if (!Le(this)) return b($e("close"));
1383
- const t$1 = this._ownerWritableStream;
1384
- return t$1 === void 0 ? b(Pt("close")) : he(t$1) ? b(/* @__PURE__ */ new TypeError("Cannot close an already-closing stream")) : Oo(this);
1371
+ const t = this._ownerWritableStream;
1372
+ return t === void 0 ? b(Pt("close")) : he(t) ? b(/* @__PURE__ */ new TypeError("Cannot close an already-closing stream")) : Oo(this);
1385
1373
  }
1386
1374
  releaseLock() {
1387
1375
  if (!Le(this)) throw $e("releaseLock");
1388
1376
  this._ownerWritableStream !== void 0 && Io(this);
1389
1377
  }
1390
- write(t$1 = void 0) {
1391
- return Le(this) ? this._ownerWritableStream === void 0 ? b(Pt("write to")) : Fo(this, t$1) : b($e("write"));
1378
+ write(t = void 0) {
1379
+ return Le(this) ? this._ownerWritableStream === void 0 ? b(Pt("write to")) : Fo(this, t) : b($e("write"));
1392
1380
  }
1393
1381
  };
1394
1382
  n$1(Rn, "WritableStreamDefaultWriter");
@@ -1409,48 +1397,48 @@ function Ns() {
1409
1397
  return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_ownerWritableStream") ? !1 : e instanceof re;
1410
1398
  }
1411
1399
  n$1(Le, "IsWritableStreamDefaultWriter");
1412
- function Fa(e, t$1) {
1400
+ function Fa(e, t) {
1413
1401
  const r = e._ownerWritableStream;
1414
- return Kt(r, t$1);
1402
+ return Kt(r, t);
1415
1403
  }
1416
1404
  n$1(Fa, "WritableStreamDefaultWriterAbort");
1417
1405
  function Oo(e) {
1418
- const t$1 = e._ownerWritableStream;
1419
- return qo(t$1);
1406
+ const t = e._ownerWritableStream;
1407
+ return qo(t);
1420
1408
  }
1421
1409
  n$1(Oo, "WritableStreamDefaultWriterClose");
1422
1410
  function ja(e) {
1423
- const t$1 = e._ownerWritableStream, r = t$1._state;
1424
- return he(t$1) || r === "closed" ? T(void 0) : r === "errored" ? b(t$1._storedError) : Oo(e);
1411
+ const t = e._ownerWritableStream, r = t._state;
1412
+ return he(t) || r === "closed" ? T(void 0) : r === "errored" ? b(t._storedError) : Oo(e);
1425
1413
  }
1426
1414
  n$1(ja, "WritableStreamDefaultWriterCloseWithErrorPropagation");
1427
- function La(e, t$1) {
1428
- e._closedPromiseState === "pending" ? an(e, t$1) : Qa(e, t$1);
1415
+ function La(e, t) {
1416
+ e._closedPromiseState === "pending" ? an(e, t) : Qa(e, t);
1429
1417
  }
1430
1418
  n$1(La, "WritableStreamDefaultWriterEnsureClosedPromiseRejected");
1431
- function zo(e, t$1) {
1432
- e._readyPromiseState === "pending" ? No(e, t$1) : Ga(e, t$1);
1419
+ function zo(e, t) {
1420
+ e._readyPromiseState === "pending" ? No(e, t) : Ga(e, t);
1433
1421
  }
1434
1422
  n$1(zo, "WritableStreamDefaultWriterEnsureReadyPromiseRejected");
1435
1423
  function $a(e) {
1436
- const t$1 = e._ownerWritableStream, r = t$1._state;
1437
- return r === "errored" || r === "erroring" ? null : r === "closed" ? 0 : $o(t$1._writableStreamController);
1424
+ const t = e._ownerWritableStream, r = t._state;
1425
+ return r === "errored" || r === "erroring" ? null : r === "closed" ? 0 : $o(t._writableStreamController);
1438
1426
  }
1439
1427
  n$1($a, "WritableStreamDefaultWriterGetDesiredSize");
1440
1428
  function Io(e) {
1441
- const t$1 = e._ownerWritableStream, r = /* @__PURE__ */ new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");
1442
- zo(e, r), La(e, r), t$1._writer = void 0, e._ownerWritableStream = void 0;
1429
+ const t = e._ownerWritableStream, r = /* @__PURE__ */ new TypeError("Writer was released and can no longer be used to monitor the stream's closedness");
1430
+ zo(e, r), La(e, r), t._writer = void 0, e._ownerWritableStream = void 0;
1443
1431
  }
1444
1432
  n$1(Io, "WritableStreamDefaultWriterRelease");
1445
- function Fo(e, t$1) {
1446
- const r = e._ownerWritableStream, s = r._writableStreamController, u = Ua(s, t$1);
1433
+ function Fo(e, t) {
1434
+ const r = e._ownerWritableStream, s = r._writableStreamController, u = Ua(s, t);
1447
1435
  if (r !== e._ownerWritableStream) return b(Pt("write to"));
1448
1436
  const c = r._state;
1449
1437
  if (c === "errored") return b(r._storedError);
1450
1438
  if (he(r) || c === "closed") return b(/* @__PURE__ */ new TypeError("The stream is closing or closed and cannot be written to"));
1451
1439
  if (c === "erroring") return b(r._storedError);
1452
1440
  const d = Aa(r);
1453
- return xa(s, t$1, u), d;
1441
+ return xa(s, t, u), d;
1454
1442
  }
1455
1443
  n$1(Fo, "WritableStreamDefaultWriterWrite");
1456
1444
  const jo = {}, Tn = class Tn$1 {
@@ -1466,12 +1454,12 @@ function Ns() {
1466
1454
  if (this._abortController === void 0) throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");
1467
1455
  return this._abortController.signal;
1468
1456
  }
1469
- error(t$1 = void 0) {
1457
+ error(t = void 0) {
1470
1458
  if (!rn(this)) throw on("error");
1471
- this._controlledWritableStream._state === "writable" && Do(this, t$1);
1459
+ this._controlledWritableStream._state === "writable" && Do(this, t);
1472
1460
  }
1473
- [jt](t$1) {
1474
- const r = this._abortAlgorithm(t$1);
1461
+ [jt](t) {
1462
+ const r = this._abortAlgorithm(t);
1475
1463
  return Xt(this), r;
1476
1464
  }
1477
1465
  [Qn]() {
@@ -1492,16 +1480,16 @@ function Ns() {
1492
1480
  return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledWritableStream") ? !1 : e instanceof ke;
1493
1481
  }
1494
1482
  n$1(rn, "IsWritableStreamDefaultController");
1495
- function Lo(e, t$1, r, s, u, c, d, m) {
1496
- t$1._controlledWritableStream = e, e._writableStreamController = t$1, t$1._queue = void 0, t$1._queueTotalSize = void 0, Be(t$1), t$1._abortReason = void 0, t$1._abortController = va(), t$1._started = !1, t$1._strategySizeAlgorithm = m, t$1._strategyHWM = d, t$1._writeAlgorithm = s, t$1._closeAlgorithm = u, t$1._abortAlgorithm = c;
1497
- tn(e, nn(t$1));
1498
- g(T(r()), () => (t$1._started = !0, er(t$1), null), (P) => (t$1._started = !0, Jr(e, P), null));
1483
+ function Lo(e, t, r, s, u, c, d, m) {
1484
+ t._controlledWritableStream = e, e._writableStreamController = t, t._queue = void 0, t._queueTotalSize = void 0, Be(t), t._abortReason = void 0, t._abortController = va(), t._started = !1, t._strategySizeAlgorithm = m, t._strategyHWM = d, t._writeAlgorithm = s, t._closeAlgorithm = u, t._abortAlgorithm = c;
1485
+ tn(e, nn(t));
1486
+ g(T(r()), () => (t._started = !0, er(t), null), (P) => (t._started = !0, Jr(e, P), null));
1499
1487
  }
1500
1488
  n$1(Lo, "SetUpWritableStreamDefaultController");
1501
- function Da(e, t$1, r, s) {
1489
+ function Da(e, t, r, s) {
1502
1490
  const u = Object.create(ke.prototype);
1503
1491
  let c, d, m, R;
1504
- t$1.start !== void 0 ? c = n$1(() => t$1.start(u), "startAlgorithm") : c = n$1(() => {}, "startAlgorithm"), t$1.write !== void 0 ? d = n$1((y) => t$1.write(y, u), "writeAlgorithm") : d = n$1(() => T(void 0), "writeAlgorithm"), t$1.close !== void 0 ? m = n$1(() => t$1.close(), "closeAlgorithm") : m = n$1(() => T(void 0), "closeAlgorithm"), t$1.abort !== void 0 ? R = n$1((y) => t$1.abort(y), "abortAlgorithm") : R = n$1(() => T(void 0), "abortAlgorithm"), Lo(e, u, c, d, m, R, r, s);
1492
+ t.start !== void 0 ? c = n$1(() => t.start(u), "startAlgorithm") : c = n$1(() => {}, "startAlgorithm"), t.write !== void 0 ? d = n$1((y) => t.write(y, u), "writeAlgorithm") : d = n$1(() => T(void 0), "writeAlgorithm"), t.close !== void 0 ? m = n$1(() => t.close(), "closeAlgorithm") : m = n$1(() => T(void 0), "closeAlgorithm"), t.abort !== void 0 ? R = n$1((y) => t.abort(y), "abortAlgorithm") : R = n$1(() => T(void 0), "abortAlgorithm"), Lo(e, u, c, d, m, R, r, s);
1505
1493
  }
1506
1494
  n$1(Da, "SetUpWritableStreamDefaultControllerFromUnderlyingSink");
1507
1495
  function Xt(e) {
@@ -1512,9 +1500,9 @@ function Ns() {
1512
1500
  Nr(e, jo, 0), er(e);
1513
1501
  }
1514
1502
  n$1(Ma, "WritableStreamDefaultControllerClose");
1515
- function Ua(e, t$1) {
1503
+ function Ua(e, t) {
1516
1504
  try {
1517
- return e._strategySizeAlgorithm(t$1);
1505
+ return e._strategySizeAlgorithm(t);
1518
1506
  } catch (r) {
1519
1507
  return Ct(e, r), 1;
1520
1508
  }
@@ -1524,9 +1512,9 @@ function Ns() {
1524
1512
  return e._strategyHWM - e._queueTotalSize;
1525
1513
  }
1526
1514
  n$1($o, "WritableStreamDefaultControllerGetDesiredSize");
1527
- function xa(e, t$1, r) {
1515
+ function xa(e, t, r) {
1528
1516
  try {
1529
- Nr(e, t$1, r);
1517
+ Nr(e, t, r);
1530
1518
  } catch (u) {
1531
1519
  Ct(e, u);
1532
1520
  return;
@@ -1537,10 +1525,10 @@ function Ns() {
1537
1525
  }
1538
1526
  n$1(xa, "WritableStreamDefaultControllerWrite");
1539
1527
  function er(e) {
1540
- const t$1 = e._controlledWritableStream;
1541
- if (!e._started || t$1._inFlightWriteRequest !== void 0) return;
1542
- if (t$1._state === "erroring") {
1543
- en(t$1);
1528
+ const t = e._controlledWritableStream;
1529
+ if (!e._started || t._inFlightWriteRequest !== void 0) return;
1530
+ if (t._state === "erroring") {
1531
+ en(t);
1544
1532
  return;
1545
1533
  }
1546
1534
  if (e._queue.length === 0) return;
@@ -1548,21 +1536,21 @@ function Ns() {
1548
1536
  s === jo ? Na(e) : Ha(e, s);
1549
1537
  }
1550
1538
  n$1(er, "WritableStreamDefaultControllerAdvanceQueueIfNeeded");
1551
- function Ct(e, t$1) {
1552
- e._controlledWritableStream._state === "writable" && Do(e, t$1);
1539
+ function Ct(e, t) {
1540
+ e._controlledWritableStream._state === "writable" && Do(e, t);
1553
1541
  }
1554
1542
  n$1(Ct, "WritableStreamDefaultControllerErrorIfNeeded");
1555
1543
  function Na(e) {
1556
- const t$1 = e._controlledWritableStream;
1557
- za(t$1), xr(e);
1544
+ const t = e._controlledWritableStream;
1545
+ za(t), xr(e);
1558
1546
  const r = e._closeAlgorithm();
1559
- Xt(e), g(r, () => (Wa(t$1), null), (s) => (qa(t$1, s), null));
1547
+ Xt(e), g(r, () => (Wa(t), null), (s) => (qa(t, s), null));
1560
1548
  }
1561
1549
  n$1(Na, "WritableStreamDefaultControllerProcessClose");
1562
- function Ha(e, t$1) {
1550
+ function Ha(e, t) {
1563
1551
  const r = e._controlledWritableStream;
1564
1552
  Ia(r);
1565
- g(e._writeAlgorithm(t$1), () => {
1553
+ g(e._writeAlgorithm(t), () => {
1566
1554
  Ba(r);
1567
1555
  const u = r._state;
1568
1556
  if (xr(e), !he(r) && u === "writable") tn(r, nn(e));
@@ -1574,9 +1562,9 @@ function Ns() {
1574
1562
  return $o(e) <= 0;
1575
1563
  }
1576
1564
  n$1(nn, "WritableStreamDefaultControllerGetBackpressure");
1577
- function Do(e, t$1) {
1565
+ function Do(e, t) {
1578
1566
  const r = e._controlledWritableStream;
1579
- Xt(e), Xr(r, t$1);
1567
+ Xt(e), Xr(r, t);
1580
1568
  }
1581
1569
  n$1(Do, "WritableStreamDefaultControllerError");
1582
1570
  function tr(e) {
@@ -1596,25 +1584,25 @@ function Ns() {
1596
1584
  }
1597
1585
  n$1(Pt, "defaultWriterLockException");
1598
1586
  function rr(e) {
1599
- e._closedPromise = A((t$1, r) => {
1600
- e._closedPromise_resolve = t$1, e._closedPromise_reject = r, e._closedPromiseState = "pending";
1587
+ e._closedPromise = A((t, r) => {
1588
+ e._closedPromise_resolve = t, e._closedPromise_reject = r, e._closedPromiseState = "pending";
1601
1589
  });
1602
1590
  }
1603
1591
  n$1(rr, "defaultWriterClosedPromiseInitialize");
1604
- function Mo(e, t$1) {
1605
- rr(e), an(e, t$1);
1592
+ function Mo(e, t) {
1593
+ rr(e), an(e, t);
1606
1594
  }
1607
1595
  n$1(Mo, "defaultWriterClosedPromiseInitializeAsRejected");
1608
1596
  function Va(e) {
1609
1597
  rr(e), Uo(e);
1610
1598
  }
1611
1599
  n$1(Va, "defaultWriterClosedPromiseInitializeAsResolved");
1612
- function an(e, t$1) {
1613
- e._closedPromise_reject !== void 0 && (Q(e._closedPromise), e._closedPromise_reject(t$1), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = "rejected");
1600
+ function an(e, t) {
1601
+ e._closedPromise_reject !== void 0 && (Q(e._closedPromise), e._closedPromise_reject(t), e._closedPromise_resolve = void 0, e._closedPromise_reject = void 0, e._closedPromiseState = "rejected");
1614
1602
  }
1615
1603
  n$1(an, "defaultWriterClosedPromiseReject");
1616
- function Qa(e, t$1) {
1617
- Mo(e, t$1);
1604
+ function Qa(e, t) {
1605
+ Mo(e, t);
1618
1606
  }
1619
1607
  n$1(Qa, "defaultWriterClosedPromiseResetToRejected");
1620
1608
  function Uo(e) {
@@ -1622,29 +1610,29 @@ function Ns() {
1622
1610
  }
1623
1611
  n$1(Uo, "defaultWriterClosedPromiseResolve");
1624
1612
  function nr(e) {
1625
- e._readyPromise = A((t$1, r) => {
1626
- e._readyPromise_resolve = t$1, e._readyPromise_reject = r;
1613
+ e._readyPromise = A((t, r) => {
1614
+ e._readyPromise_resolve = t, e._readyPromise_reject = r;
1627
1615
  }), e._readyPromiseState = "pending";
1628
1616
  }
1629
1617
  n$1(nr, "defaultWriterReadyPromiseInitialize");
1630
- function sn(e, t$1) {
1631
- nr(e), No(e, t$1);
1618
+ function sn(e, t) {
1619
+ nr(e), No(e, t);
1632
1620
  }
1633
1621
  n$1(sn, "defaultWriterReadyPromiseInitializeAsRejected");
1634
1622
  function xo(e) {
1635
1623
  nr(e), ln(e);
1636
1624
  }
1637
1625
  n$1(xo, "defaultWriterReadyPromiseInitializeAsResolved");
1638
- function No(e, t$1) {
1639
- e._readyPromise_reject !== void 0 && (Q(e._readyPromise), e._readyPromise_reject(t$1), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = "rejected");
1626
+ function No(e, t) {
1627
+ e._readyPromise_reject !== void 0 && (Q(e._readyPromise), e._readyPromise_reject(t), e._readyPromise_resolve = void 0, e._readyPromise_reject = void 0, e._readyPromiseState = "rejected");
1640
1628
  }
1641
1629
  n$1(No, "defaultWriterReadyPromiseReject");
1642
1630
  function Ya(e) {
1643
1631
  nr(e);
1644
1632
  }
1645
1633
  n$1(Ya, "defaultWriterReadyPromiseReset");
1646
- function Ga(e, t$1) {
1647
- sn(e, t$1);
1634
+ function Ga(e, t) {
1635
+ sn(e, t);
1648
1636
  }
1649
1637
  n$1(Ga, "defaultWriterReadyPromiseResetToRejected");
1650
1638
  function ln(e) {
@@ -1684,8 +1672,8 @@ function Ns() {
1684
1672
  }
1685
1673
  n$1(Xa, "createPolyfill");
1686
1674
  const es = Ja() || Xa();
1687
- function Ho(e, t$1, r, s, u, c) {
1688
- const d = Qe(e), m = ko(t$1);
1675
+ function Ho(e, t, r, s, u, c) {
1676
+ const d = Qe(e), m = ko(t);
1689
1677
  e._disturbed = !0;
1690
1678
  let R = !1, y = T(void 0);
1691
1679
  return A((C, P) => {
@@ -1693,7 +1681,7 @@ function Ns() {
1693
1681
  if (c !== void 0) {
1694
1682
  if (B = n$1(() => {
1695
1683
  const _ = c.reason !== void 0 ? c.reason : new es("Aborted", "AbortError"), E = [];
1696
- s || E.push(() => t$1._state === "writable" ? Kt(t$1, _) : T(void 0)), u || E.push(() => e._state === "readable" ? ie(e, _) : T(void 0)), N(() => Promise.all(E.map((k) => k())), !0, _);
1684
+ s || E.push(() => t._state === "writable" ? Kt(t, _) : T(void 0)), u || E.push(() => e._state === "readable" ? ie(e, _) : T(void 0)), N(() => Promise.all(E.map((k) => k())), !0, _);
1697
1685
  }, "abortAlgorithm"), c.aborted) {
1698
1686
  B();
1699
1687
  return;
@@ -1720,7 +1708,7 @@ function Ns() {
1720
1708
  });
1721
1709
  }));
1722
1710
  }
1723
- if (n$1(nt, "pipeStep"), Te(e, d._closedPromise, (_) => (s ? J(!0, _) : N(() => Kt(t$1, _), !0, _), null)), Te(t$1, m._closedPromise, (_) => (u ? J(!0, _) : N(() => ie(e, _), !0, _), null)), x(e, d._closedPromise, () => (r ? J() : N(() => ja(m)), null)), he(t$1) || t$1._state === "closed") {
1711
+ if (n$1(nt, "pipeStep"), Te(e, d._closedPromise, (_) => (s ? J(!0, _) : N(() => Kt(t, _), !0, _), null)), Te(t, m._closedPromise, (_) => (u ? J(!0, _) : N(() => ie(e, _), !0, _), null)), x(e, d._closedPromise, () => (r ? J() : N(() => ja(m)), null)), he(t) || t._state === "closed") {
1724
1712
  const _ = /* @__PURE__ */ new TypeError("the destination writable stream closed before all data could be piped to it");
1725
1713
  u ? J(!0, _) : N(() => ie(e, _), !0, _);
1726
1714
  }
@@ -1740,7 +1728,7 @@ function Ns() {
1740
1728
  n$1(x, "isOrBecomesClosed");
1741
1729
  function N(_, E, k) {
1742
1730
  if (R) return;
1743
- R = !0, t$1._state === "writable" && !he(t$1) ? V(Oe(), Y) : Y();
1731
+ R = !0, t._state === "writable" && !he(t) ? V(Oe(), Y) : Y();
1744
1732
  function Y() {
1745
1733
  return g(_(), () => Ce(E, k), (ot) => Ce(!0, ot)), null;
1746
1734
  }
@@ -1748,7 +1736,7 @@ function Ns() {
1748
1736
  }
1749
1737
  n$1(N, "shutdownWithAction");
1750
1738
  function J(_, E) {
1751
- R || (R = !0, t$1._state === "writable" && !he(t$1) ? V(Oe(), () => Ce(_, E)) : Ce(_, E));
1739
+ R || (R = !0, t._state === "writable" && !he(t) ? V(Oe(), () => Ce(_, E)) : Ce(_, E));
1752
1740
  }
1753
1741
  n$1(J, "shutdown");
1754
1742
  function Ce(_, E) {
@@ -1771,26 +1759,26 @@ function Ns() {
1771
1759
  if (!Je(this)) throw new TypeError("The stream is not in a state that permits close");
1772
1760
  De(this);
1773
1761
  }
1774
- enqueue(t$1 = void 0) {
1762
+ enqueue(t = void 0) {
1775
1763
  if (!or(this)) throw ar("enqueue");
1776
1764
  if (!Je(this)) throw new TypeError("The stream is not in a state that permits enqueue");
1777
- return Ke(this, t$1);
1765
+ return Ke(this, t);
1778
1766
  }
1779
- error(t$1 = void 0) {
1767
+ error(t = void 0) {
1780
1768
  if (!or(this)) throw ar("error");
1781
- oe(this, t$1);
1769
+ oe(this, t);
1782
1770
  }
1783
- [Ar](t$1) {
1771
+ [Ar](t) {
1784
1772
  Be(this);
1785
- const r = this._cancelAlgorithm(t$1);
1773
+ const r = this._cancelAlgorithm(t);
1786
1774
  return ir(this), r;
1787
1775
  }
1788
- [Br](t$1) {
1776
+ [Br](t) {
1789
1777
  const r = this._controlledReadableStream;
1790
1778
  if (this._queue.length > 0) {
1791
1779
  const s = xr(this);
1792
- this._closeRequested && this._queue.length === 0 ? (ir(this), At(r)) : vt(this), t$1._chunkSteps(s);
1793
- } else eo(r, t$1), vt(this);
1780
+ this._closeRequested && this._queue.length === 0 ? (ir(this), At(r)) : vt(this), t._chunkSteps(s);
1781
+ } else eo(r, t), vt(this);
1794
1782
  }
1795
1783
  [kr]() {}
1796
1784
  };
@@ -1820,8 +1808,8 @@ function Ns() {
1820
1808
  }
1821
1809
  n$1(vt, "ReadableStreamDefaultControllerCallPullIfNeeded");
1822
1810
  function Vo(e) {
1823
- const t$1 = e._controlledReadableStream;
1824
- return !Je(e) || !e._started ? !1 : !!(qe(t$1) && $t(t$1) > 0 || fn(e) > 0);
1811
+ const t = e._controlledReadableStream;
1812
+ return !Je(e) || !e._started ? !1 : !!(qe(t) && $t(t) > 0 || fn(e) > 0);
1825
1813
  }
1826
1814
  n$1(Vo, "ReadableStreamDefaultControllerShouldCallPull");
1827
1815
  function ir(e) {
@@ -1830,23 +1818,23 @@ function Ns() {
1830
1818
  n$1(ir, "ReadableStreamDefaultControllerClearAlgorithms");
1831
1819
  function De(e) {
1832
1820
  if (!Je(e)) return;
1833
- const t$1 = e._controlledReadableStream;
1834
- e._closeRequested = !0, e._queue.length === 0 && (ir(e), At(t$1));
1821
+ const t = e._controlledReadableStream;
1822
+ e._closeRequested = !0, e._queue.length === 0 && (ir(e), At(t));
1835
1823
  }
1836
1824
  n$1(De, "ReadableStreamDefaultControllerClose");
1837
- function Ke(e, t$1) {
1825
+ function Ke(e, t) {
1838
1826
  if (!Je(e)) return;
1839
1827
  const r = e._controlledReadableStream;
1840
- if (qe(r) && $t(r) > 0) Lr(r, t$1, !1);
1828
+ if (qe(r) && $t(r) > 0) Lr(r, t, !1);
1841
1829
  else {
1842
1830
  let s;
1843
1831
  try {
1844
- s = e._strategySizeAlgorithm(t$1);
1832
+ s = e._strategySizeAlgorithm(t);
1845
1833
  } catch (u) {
1846
1834
  throw oe(e, u), u;
1847
1835
  }
1848
1836
  try {
1849
- Nr(e, t$1, s);
1837
+ Nr(e, t, s);
1850
1838
  } catch (u) {
1851
1839
  throw oe(e, u), u;
1852
1840
  }
@@ -1854,14 +1842,14 @@ function Ns() {
1854
1842
  vt(e);
1855
1843
  }
1856
1844
  n$1(Ke, "ReadableStreamDefaultControllerEnqueue");
1857
- function oe(e, t$1) {
1845
+ function oe(e, t) {
1858
1846
  const r = e._controlledReadableStream;
1859
- r._state === "readable" && (Be(e), ir(e), Zo(r, t$1));
1847
+ r._state === "readable" && (Be(e), ir(e), Zo(r, t));
1860
1848
  }
1861
1849
  n$1(oe, "ReadableStreamDefaultControllerError");
1862
1850
  function fn(e) {
1863
- const t$1 = e._controlledReadableStream._state;
1864
- return t$1 === "errored" ? null : t$1 === "closed" ? 0 : e._strategyHWM - e._queueTotalSize;
1851
+ const t = e._controlledReadableStream._state;
1852
+ return t === "errored" ? null : t === "closed" ? 0 : e._strategyHWM - e._queueTotalSize;
1865
1853
  }
1866
1854
  n$1(fn, "ReadableStreamDefaultControllerGetDesiredSize");
1867
1855
  function ts(e) {
@@ -1869,30 +1857,30 @@ function Ns() {
1869
1857
  }
1870
1858
  n$1(ts, "ReadableStreamDefaultControllerHasBackpressure");
1871
1859
  function Je(e) {
1872
- const t$1 = e._controlledReadableStream._state;
1873
- return !e._closeRequested && t$1 === "readable";
1860
+ const t = e._controlledReadableStream._state;
1861
+ return !e._closeRequested && t === "readable";
1874
1862
  }
1875
1863
  n$1(Je, "ReadableStreamDefaultControllerCanCloseOrEnqueue");
1876
- function Qo(e, t$1, r, s, u, c, d) {
1877
- t$1._controlledReadableStream = e, t$1._queue = void 0, t$1._queueTotalSize = void 0, Be(t$1), t$1._started = !1, t$1._closeRequested = !1, t$1._pullAgain = !1, t$1._pulling = !1, t$1._strategySizeAlgorithm = d, t$1._strategyHWM = c, t$1._pullAlgorithm = s, t$1._cancelAlgorithm = u, e._readableStreamController = t$1;
1878
- g(T(r()), () => (t$1._started = !0, vt(t$1), null), (R) => (oe(t$1, R), null));
1864
+ function Qo(e, t, r, s, u, c, d) {
1865
+ t._controlledReadableStream = e, t._queue = void 0, t._queueTotalSize = void 0, Be(t), t._started = !1, t._closeRequested = !1, t._pullAgain = !1, t._pulling = !1, t._strategySizeAlgorithm = d, t._strategyHWM = c, t._pullAlgorithm = s, t._cancelAlgorithm = u, e._readableStreamController = t;
1866
+ g(T(r()), () => (t._started = !0, vt(t), null), (R) => (oe(t, R), null));
1879
1867
  }
1880
1868
  n$1(Qo, "SetUpReadableStreamDefaultController");
1881
- function rs(e, t$1, r, s) {
1869
+ function rs(e, t, r, s) {
1882
1870
  const u = Object.create(ne.prototype);
1883
1871
  let c, d, m;
1884
- t$1.start !== void 0 ? c = n$1(() => t$1.start(u), "startAlgorithm") : c = n$1(() => {}, "startAlgorithm"), t$1.pull !== void 0 ? d = n$1(() => t$1.pull(u), "pullAlgorithm") : d = n$1(() => T(void 0), "pullAlgorithm"), t$1.cancel !== void 0 ? m = n$1((R) => t$1.cancel(R), "cancelAlgorithm") : m = n$1(() => T(void 0), "cancelAlgorithm"), Qo(e, u, c, d, m, r, s);
1872
+ t.start !== void 0 ? c = n$1(() => t.start(u), "startAlgorithm") : c = n$1(() => {}, "startAlgorithm"), t.pull !== void 0 ? d = n$1(() => t.pull(u), "pullAlgorithm") : d = n$1(() => T(void 0), "pullAlgorithm"), t.cancel !== void 0 ? m = n$1((R) => t.cancel(R), "cancelAlgorithm") : m = n$1(() => T(void 0), "cancelAlgorithm"), Qo(e, u, c, d, m, r, s);
1885
1873
  }
1886
1874
  n$1(rs, "SetUpReadableStreamDefaultControllerFromUnderlyingSource");
1887
1875
  function ar(e) {
1888
1876
  return /* @__PURE__ */ new TypeError(`ReadableStreamDefaultController.prototype.${e} can only be used on a ReadableStreamDefaultController`);
1889
1877
  }
1890
1878
  n$1(ar, "defaultControllerBrandCheckException$1");
1891
- function ns(e, t$1) {
1879
+ function ns(e, t) {
1892
1880
  return Ie(e._readableStreamController) ? is(e) : os(e);
1893
1881
  }
1894
1882
  n$1(ns, "ReadableStreamTee");
1895
- function os(e, t$1) {
1883
+ function os(e, t) {
1896
1884
  const r = Qe(e);
1897
1885
  let s = !1, u = !1, c = !1, d = !1, m, R, y, C, P;
1898
1886
  const B = A((x) => {
@@ -1937,16 +1925,16 @@ function Ns() {
1937
1925
  }
1938
1926
  n$1(os, "ReadableStreamDefaultTee");
1939
1927
  function is(e) {
1940
- let t$1 = Qe(e), r = !1, s = !1, u = !1, c = !1, d = !1, m, R, y, C, P;
1928
+ let t = Qe(e), r = !1, s = !1, u = !1, c = !1, d = !1, m, R, y, C, P;
1941
1929
  const B = A((_) => {
1942
1930
  P = _;
1943
1931
  });
1944
1932
  function ae(_) {
1945
- I(_._closedPromise, (E) => (_ !== t$1 || (K(y._readableStreamController, E), K(C._readableStreamController, E), (!c || !d) && P(void 0)), null));
1933
+ I(_._closedPromise, (E) => (_ !== t || (K(y._readableStreamController, E), K(C._readableStreamController, E), (!c || !d) && P(void 0)), null));
1946
1934
  }
1947
1935
  n$1(ae, "forwardReaderError");
1948
1936
  function nt() {
1949
- je(t$1) && (_e(t$1), t$1 = Qe(e), ae(t$1)), _t(t$1, {
1937
+ je(t) && (_e(t), t = Qe(e), ae(t)), _t(t, {
1950
1938
  _chunkSteps: n$1((E) => {
1951
1939
  ge(() => {
1952
1940
  s = !1, u = !1;
@@ -1971,9 +1959,9 @@ function Ns() {
1971
1959
  }
1972
1960
  n$1(nt, "pullWithDefaultReader");
1973
1961
  function Oe(_, E) {
1974
- Ee(t$1) && (_e(t$1), t$1 = Co(e), ae(t$1));
1962
+ Ee(t) && (_e(t), t = Co(e), ae(t));
1975
1963
  const k = E ? C : y, Y = E ? y : C;
1976
- Eo(t$1, _, 1, {
1964
+ Eo(t, _, 1, {
1977
1965
  _chunkSteps: n$1((it) => {
1978
1966
  ge(() => {
1979
1967
  s = !1, u = !1;
@@ -2034,7 +2022,7 @@ function Ns() {
2034
2022
  }
2035
2023
  n$1(J, "cancel2Algorithm");
2036
2024
  function Ce() {}
2037
- return n$1(Ce, "startAlgorithm"), y = Go(Ce, Te, N), C = Go(Ce, x, J), ae(t$1), [y, C];
2025
+ return n$1(Ce, "startAlgorithm"), y = Go(Ce, Te, N), C = Go(Ce, x, J), ae(t), [y, C];
2038
2026
  }
2039
2027
  n$1(is, "ReadableByteStreamTee");
2040
2028
  function as(e) {
@@ -2046,7 +2034,7 @@ function Ns() {
2046
2034
  }
2047
2035
  n$1(ss, "ReadableStreamFrom");
2048
2036
  function ls(e) {
2049
- let t$1;
2037
+ let t;
2050
2038
  const r = uo(e, "async"), s = f$1;
2051
2039
  function u() {
2052
2040
  let d;
@@ -2057,10 +2045,10 @@ function Ns() {
2057
2045
  }
2058
2046
  return F(T(d), (R) => {
2059
2047
  if (!l(R)) throw new TypeError("The promise returned by the iterator.next() method must fulfill with an object");
2060
- if (ea(R)) De(t$1._readableStreamController);
2048
+ if (ea(R)) De(t._readableStreamController);
2061
2049
  else {
2062
2050
  const C = ta(R);
2063
- Ke(t$1._readableStreamController, C);
2051
+ Ke(t._readableStreamController, C);
2064
2052
  }
2065
2053
  });
2066
2054
  }
@@ -2084,11 +2072,11 @@ function Ns() {
2084
2072
  if (!l(P)) throw new TypeError("The promise returned by the iterator.return() method must fulfill with an object");
2085
2073
  });
2086
2074
  }
2087
- return n$1(c, "cancelAlgorithm"), t$1 = Et(s, u, c, 0), t$1;
2075
+ return n$1(c, "cancelAlgorithm"), t = Et(s, u, c, 0), t;
2088
2076
  }
2089
2077
  n$1(ls, "ReadableStreamFromIterable");
2090
2078
  function us(e) {
2091
- let t$1;
2079
+ let t;
2092
2080
  const r = f$1;
2093
2081
  function s() {
2094
2082
  let c;
@@ -2099,10 +2087,10 @@ function Ns() {
2099
2087
  }
2100
2088
  return F(c, (d) => {
2101
2089
  if (!l(d)) throw new TypeError("The promise returned by the reader.read() method must fulfill with an object");
2102
- if (d.done) De(t$1._readableStreamController);
2090
+ if (d.done) De(t._readableStreamController);
2103
2091
  else {
2104
2092
  const m = d.value;
2105
- Ke(t$1._readableStreamController, m);
2093
+ Ke(t._readableStreamController, m);
2106
2094
  }
2107
2095
  });
2108
2096
  }
@@ -2114,46 +2102,46 @@ function Ns() {
2114
2102
  return b(d);
2115
2103
  }
2116
2104
  }
2117
- return n$1(u, "cancelAlgorithm"), t$1 = Et(r, s, u, 0), t$1;
2105
+ return n$1(u, "cancelAlgorithm"), t = Et(r, s, u, 0), t;
2118
2106
  }
2119
2107
  n$1(us, "ReadableStreamFromDefaultReader");
2120
- function fs$1(e, t$1) {
2121
- ue(e, t$1);
2108
+ function fs$1(e, t) {
2109
+ ue(e, t);
2122
2110
  const r = e, s = r?.autoAllocateChunkSize, u = r?.cancel, c = r?.pull, d = r?.start, m = r?.type;
2123
2111
  return {
2124
- autoAllocateChunkSize: s === void 0 ? void 0 : Fr(s, `${t$1} has member 'autoAllocateChunkSize' that`),
2125
- cancel: u === void 0 ? void 0 : cs(u, r, `${t$1} has member 'cancel' that`),
2126
- pull: c === void 0 ? void 0 : ds(c, r, `${t$1} has member 'pull' that`),
2127
- start: d === void 0 ? void 0 : hs(d, r, `${t$1} has member 'start' that`),
2128
- type: m === void 0 ? void 0 : ps(m, `${t$1} has member 'type' that`)
2112
+ autoAllocateChunkSize: s === void 0 ? void 0 : Fr(s, `${t} has member 'autoAllocateChunkSize' that`),
2113
+ cancel: u === void 0 ? void 0 : cs(u, r, `${t} has member 'cancel' that`),
2114
+ pull: c === void 0 ? void 0 : ds(c, r, `${t} has member 'pull' that`),
2115
+ start: d === void 0 ? void 0 : hs(d, r, `${t} has member 'start' that`),
2116
+ type: m === void 0 ? void 0 : ps(m, `${t} has member 'type' that`)
2129
2117
  };
2130
2118
  }
2131
2119
  n$1(fs$1, "convertUnderlyingDefaultOrByteSource");
2132
- function cs(e, t$1, r) {
2133
- return Z(e, r), (s) => j(e, t$1, [s]);
2120
+ function cs(e, t, r) {
2121
+ return Z(e, r), (s) => j(e, t, [s]);
2134
2122
  }
2135
2123
  n$1(cs, "convertUnderlyingSourceCancelCallback");
2136
- function ds(e, t$1, r) {
2137
- return Z(e, r), (s) => j(e, t$1, [s]);
2124
+ function ds(e, t, r) {
2125
+ return Z(e, r), (s) => j(e, t, [s]);
2138
2126
  }
2139
2127
  n$1(ds, "convertUnderlyingSourcePullCallback");
2140
- function hs(e, t$1, r) {
2141
- return Z(e, r), (s) => z(e, t$1, [s]);
2128
+ function hs(e, t, r) {
2129
+ return Z(e, r), (s) => z(e, t, [s]);
2142
2130
  }
2143
2131
  n$1(hs, "convertUnderlyingSourceStartCallback");
2144
- function ps(e, t$1) {
2145
- if (e = `${e}`, e !== "bytes") throw new TypeError(`${t$1} '${e}' is not a valid enumeration value for ReadableStreamType`);
2132
+ function ps(e, t) {
2133
+ if (e = `${e}`, e !== "bytes") throw new TypeError(`${t} '${e}' is not a valid enumeration value for ReadableStreamType`);
2146
2134
  return e;
2147
2135
  }
2148
2136
  n$1(ps, "convertReadableStreamType");
2149
- function bs(e, t$1) {
2150
- return ue(e, t$1), { preventCancel: !!e?.preventCancel };
2137
+ function bs(e, t) {
2138
+ return ue(e, t), { preventCancel: !!e?.preventCancel };
2151
2139
  }
2152
2140
  n$1(bs, "convertIteratorOptions");
2153
- function Yo(e, t$1) {
2154
- ue(e, t$1);
2141
+ function Yo(e, t) {
2142
+ ue(e, t);
2155
2143
  const r = e?.preventAbort, s = e?.preventCancel, u = e?.preventClose, c = e?.signal;
2156
- return c !== void 0 && ms(c, `${t$1} has member 'signal' that`), {
2144
+ return c !== void 0 && ms(c, `${t} has member 'signal' that`), {
2157
2145
  preventAbort: !!r,
2158
2146
  preventCancel: !!s,
2159
2147
  preventClose: !!u,
@@ -2161,25 +2149,25 @@ function Ns() {
2161
2149
  };
2162
2150
  }
2163
2151
  n$1(Yo, "convertPipeOptions");
2164
- function ms(e, t$1) {
2165
- if (!Ca(e)) throw new TypeError(`${t$1} is not an AbortSignal.`);
2152
+ function ms(e, t) {
2153
+ if (!Ca(e)) throw new TypeError(`${t} is not an AbortSignal.`);
2166
2154
  }
2167
2155
  n$1(ms, "assertAbortSignal");
2168
- function ys(e, t$1) {
2169
- ue(e, t$1);
2156
+ function ys(e, t) {
2157
+ ue(e, t);
2170
2158
  const r = e?.readable;
2171
- zr(r, "readable", "ReadableWritablePair"), jr(r, `${t$1} has member 'readable' that`);
2159
+ zr(r, "readable", "ReadableWritablePair"), jr(r, `${t} has member 'readable' that`);
2172
2160
  const s = e?.writable;
2173
- return zr(s, "writable", "ReadableWritablePair"), Bo(s, `${t$1} has member 'writable' that`), {
2161
+ return zr(s, "writable", "ReadableWritablePair"), Bo(s, `${t} has member 'writable' that`), {
2174
2162
  readable: r,
2175
2163
  writable: s
2176
2164
  };
2177
2165
  }
2178
2166
  n$1(ys, "convertReadableWritablePair");
2179
2167
  const Pn = class Pn$1 {
2180
- constructor(t$1 = {}, r = {}) {
2181
- t$1 === void 0 ? t$1 = null : Jn(t$1, "First parameter");
2182
- const s = Zt(r, "Second parameter"), u = fs$1(t$1, "First parameter");
2168
+ constructor(t = {}, r = {}) {
2169
+ t === void 0 ? t = null : Jn(t, "First parameter");
2170
+ const s = Zt(r, "Second parameter"), u = fs$1(t, "First parameter");
2183
2171
  if (cn(this), u.type === "bytes") {
2184
2172
  if (s.size !== void 0) throw new RangeError("The strategy for a byte stream cannot have a size function");
2185
2173
  const c = Tt(s, 0);
@@ -2193,47 +2181,47 @@ function Ns() {
2193
2181
  if (!We(this)) throw Me("locked");
2194
2182
  return qe(this);
2195
2183
  }
2196
- cancel(t$1 = void 0) {
2197
- return We(this) ? qe(this) ? b(/* @__PURE__ */ new TypeError("Cannot cancel a stream that already has a reader")) : ie(this, t$1) : b(Me("cancel"));
2184
+ cancel(t = void 0) {
2185
+ return We(this) ? qe(this) ? b(/* @__PURE__ */ new TypeError("Cannot cancel a stream that already has a reader")) : ie(this, t) : b(Me("cancel"));
2198
2186
  }
2199
- getReader(t$1 = void 0) {
2187
+ getReader(t = void 0) {
2200
2188
  if (!We(this)) throw Me("getReader");
2201
- return ha(t$1, "First parameter").mode === void 0 ? Qe(this) : Co(this);
2189
+ return ha(t, "First parameter").mode === void 0 ? Qe(this) : Co(this);
2202
2190
  }
2203
- pipeThrough(t$1, r = {}) {
2191
+ pipeThrough(t, r = {}) {
2204
2192
  if (!We(this)) throw Me("pipeThrough");
2205
- Se(t$1, 1, "pipeThrough");
2206
- const s = ys(t$1, "First parameter"), u = Yo(r, "Second parameter");
2193
+ Se(t, 1, "pipeThrough");
2194
+ const s = ys(t, "First parameter"), u = Yo(r, "Second parameter");
2207
2195
  if (qe(this)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked ReadableStream");
2208
2196
  if (Ze(s.writable)) throw new TypeError("ReadableStream.prototype.pipeThrough cannot be used on a locked WritableStream");
2209
2197
  return Q(Ho(this, s.writable, u.preventClose, u.preventAbort, u.preventCancel, u.signal)), s.readable;
2210
2198
  }
2211
- pipeTo(t$1, r = {}) {
2199
+ pipeTo(t, r = {}) {
2212
2200
  if (!We(this)) return b(Me("pipeTo"));
2213
- if (t$1 === void 0) return b("Parameter 1 is required in 'pipeTo'.");
2214
- if (!Ge(t$1)) return b(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));
2201
+ if (t === void 0) return b("Parameter 1 is required in 'pipeTo'.");
2202
+ if (!Ge(t)) return b(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));
2215
2203
  let s;
2216
2204
  try {
2217
2205
  s = Yo(r, "Second parameter");
2218
2206
  } catch (u) {
2219
2207
  return b(u);
2220
2208
  }
2221
- return qe(this) ? b(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : Ze(t$1) ? b(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : Ho(this, t$1, s.preventClose, s.preventAbort, s.preventCancel, s.signal);
2209
+ return qe(this) ? b(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream")) : Ze(t) ? b(/* @__PURE__ */ new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream")) : Ho(this, t, s.preventClose, s.preventAbort, s.preventCancel, s.signal);
2222
2210
  }
2223
2211
  tee() {
2224
2212
  if (!We(this)) throw Me("tee");
2225
2213
  return St(ns(this));
2226
2214
  }
2227
- values(t$1 = void 0) {
2215
+ values(t = void 0) {
2228
2216
  if (!We(this)) throw Me("values");
2229
- const r = bs(t$1, "First parameter");
2217
+ const r = bs(t, "First parameter");
2230
2218
  return Ki(this, r.preventCancel);
2231
2219
  }
2232
- [Ur](t$1) {
2233
- return this.values(t$1);
2220
+ [Ur](t) {
2221
+ return this.values(t);
2234
2222
  }
2235
- static from(t$1) {
2236
- return ss(t$1);
2223
+ static from(t) {
2224
+ return ss(t);
2237
2225
  }
2238
2226
  };
2239
2227
  n$1(Pn, "ReadableStream");
@@ -2254,16 +2242,16 @@ function Ns() {
2254
2242
  writable: !0,
2255
2243
  configurable: !0
2256
2244
  });
2257
- function Et(e, t$1, r, s = 1, u = () => 1) {
2245
+ function Et(e, t, r, s = 1, u = () => 1) {
2258
2246
  const c = Object.create(L.prototype);
2259
2247
  cn(c);
2260
- return Qo(c, Object.create(ne.prototype), e, t$1, r, s, u), c;
2248
+ return Qo(c, Object.create(ne.prototype), e, t, r, s, u), c;
2261
2249
  }
2262
2250
  n$1(Et, "CreateReadableStream");
2263
- function Go(e, t$1, r) {
2251
+ function Go(e, t, r) {
2264
2252
  const s = Object.create(L.prototype);
2265
2253
  cn(s);
2266
- return To(s, Object.create(te.prototype), e, t$1, r, 0, void 0), s;
2254
+ return To(s, Object.create(te.prototype), e, t, r, 0, void 0), s;
2267
2255
  }
2268
2256
  n$1(Go, "CreateReadableByteStream");
2269
2257
  function cn(e) {
@@ -2278,7 +2266,7 @@ function Ns() {
2278
2266
  return e._reader !== void 0;
2279
2267
  }
2280
2268
  n$1(qe, "IsReadableStreamLocked");
2281
- function ie(e, t$1) {
2269
+ function ie(e, t) {
2282
2270
  if (e._disturbed = !0, e._state === "closed") return T(void 0);
2283
2271
  if (e._state === "errored") return b(e._storedError);
2284
2272
  At(e);
@@ -2289,32 +2277,32 @@ function Ns() {
2289
2277
  c._closeSteps(void 0);
2290
2278
  });
2291
2279
  }
2292
- return F(e._readableStreamController[Ar](t$1), f$1);
2280
+ return F(e._readableStreamController[Ar](t), f$1);
2293
2281
  }
2294
2282
  n$1(ie, "ReadableStreamCancel");
2295
2283
  function At(e) {
2296
2284
  e._state = "closed";
2297
- const t$1 = e._reader;
2298
- if (t$1 !== void 0 && (Zn(t$1), Ee(t$1))) {
2299
- const r = t$1._readRequests;
2300
- t$1._readRequests = new D(), r.forEach((s) => {
2285
+ const t = e._reader;
2286
+ if (t !== void 0 && (Zn(t), Ee(t))) {
2287
+ const r = t._readRequests;
2288
+ t._readRequests = new D(), r.forEach((s) => {
2301
2289
  s._closeSteps();
2302
2290
  });
2303
2291
  }
2304
2292
  }
2305
2293
  n$1(At, "ReadableStreamClose");
2306
- function Zo(e, t$1) {
2307
- e._state = "errored", e._storedError = t$1;
2294
+ function Zo(e, t) {
2295
+ e._state = "errored", e._storedError = t;
2308
2296
  const r = e._reader;
2309
- r !== void 0 && (Or(r, t$1), Ee(r) ? ro(r, t$1) : Ao(r, t$1));
2297
+ r !== void 0 && (Or(r, t), Ee(r) ? ro(r, t) : Ao(r, t));
2310
2298
  }
2311
2299
  n$1(Zo, "ReadableStreamError");
2312
2300
  function Me(e) {
2313
2301
  return /* @__PURE__ */ new TypeError(`ReadableStream.prototype.${e} can only be used on a ReadableStream`);
2314
2302
  }
2315
2303
  n$1(Me, "streamBrandCheckException$1");
2316
- function Ko(e, t$1) {
2317
- ue(e, t$1);
2304
+ function Ko(e, t) {
2305
+ ue(e, t);
2318
2306
  const r = e?.highWaterMark;
2319
2307
  return zr(r, "highWaterMark", "QueuingStrategyInit"), { highWaterMark: Ir(r) };
2320
2308
  }
@@ -2322,8 +2310,8 @@ function Ns() {
2322
2310
  const Jo = n$1((e) => e.byteLength, "byteLengthSizeFunction");
2323
2311
  h(Jo, "size");
2324
2312
  const vn = class vn$1 {
2325
- constructor(t$1) {
2326
- Se(t$1, 1, "ByteLengthQueuingStrategy"), t$1 = Ko(t$1, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = t$1.highWaterMark;
2313
+ constructor(t) {
2314
+ Se(t, 1, "ByteLengthQueuingStrategy"), t = Ko(t, "First parameter"), this._byteLengthQueuingStrategyHighWaterMark = t.highWaterMark;
2327
2315
  }
2328
2316
  get highWaterMark() {
2329
2317
  if (!ei(this)) throw Xo("highWaterMark");
@@ -2354,8 +2342,8 @@ function Ns() {
2354
2342
  const ti = n$1(() => 1, "countSizeFunction");
2355
2343
  h(ti, "size");
2356
2344
  const En = class En$1 {
2357
- constructor(t$1) {
2358
- Se(t$1, 1, "CountQueuingStrategy"), t$1 = Ko(t$1, "First parameter"), this._countQueuingStrategyHighWaterMark = t$1.highWaterMark;
2345
+ constructor(t) {
2346
+ Se(t, 1, "CountQueuingStrategy"), t = Ko(t, "First parameter"), this._countQueuingStrategyHighWaterMark = t.highWaterMark;
2359
2347
  }
2360
2348
  get highWaterMark() {
2361
2349
  if (!ni(this)) throw ri("highWaterMark");
@@ -2383,39 +2371,39 @@ function Ns() {
2383
2371
  return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_countQueuingStrategyHighWaterMark") ? !1 : e instanceof et;
2384
2372
  }
2385
2373
  n$1(ni, "IsCountQueuingStrategy");
2386
- function gs(e, t$1) {
2387
- ue(e, t$1);
2374
+ function gs(e, t) {
2375
+ ue(e, t);
2388
2376
  const r = e?.cancel, s = e?.flush, u = e?.readableType, c = e?.start, d = e?.transform, m = e?.writableType;
2389
2377
  return {
2390
- cancel: r === void 0 ? void 0 : Rs(r, e, `${t$1} has member 'cancel' that`),
2391
- flush: s === void 0 ? void 0 : _s(s, e, `${t$1} has member 'flush' that`),
2378
+ cancel: r === void 0 ? void 0 : Rs(r, e, `${t} has member 'cancel' that`),
2379
+ flush: s === void 0 ? void 0 : _s(s, e, `${t} has member 'flush' that`),
2392
2380
  readableType: u,
2393
- start: c === void 0 ? void 0 : Ss(c, e, `${t$1} has member 'start' that`),
2394
- transform: d === void 0 ? void 0 : ws(d, e, `${t$1} has member 'transform' that`),
2381
+ start: c === void 0 ? void 0 : Ss(c, e, `${t} has member 'start' that`),
2382
+ transform: d === void 0 ? void 0 : ws(d, e, `${t} has member 'transform' that`),
2395
2383
  writableType: m
2396
2384
  };
2397
2385
  }
2398
2386
  n$1(gs, "convertTransformer");
2399
- function _s(e, t$1, r) {
2400
- return Z(e, r), (s) => j(e, t$1, [s]);
2387
+ function _s(e, t, r) {
2388
+ return Z(e, r), (s) => j(e, t, [s]);
2401
2389
  }
2402
2390
  n$1(_s, "convertTransformerFlushCallback");
2403
- function Ss(e, t$1, r) {
2404
- return Z(e, r), (s) => z(e, t$1, [s]);
2391
+ function Ss(e, t, r) {
2392
+ return Z(e, r), (s) => z(e, t, [s]);
2405
2393
  }
2406
2394
  n$1(Ss, "convertTransformerStartCallback");
2407
- function ws(e, t$1, r) {
2408
- return Z(e, r), (s, u) => j(e, t$1, [s, u]);
2395
+ function ws(e, t, r) {
2396
+ return Z(e, r), (s, u) => j(e, t, [s, u]);
2409
2397
  }
2410
2398
  n$1(ws, "convertTransformerTransformCallback");
2411
- function Rs(e, t$1, r) {
2412
- return Z(e, r), (s) => j(e, t$1, [s]);
2399
+ function Rs(e, t, r) {
2400
+ return Z(e, r), (s) => j(e, t, [s]);
2413
2401
  }
2414
2402
  n$1(Rs, "convertTransformerCancelCallback");
2415
2403
  const An = class An$1 {
2416
- constructor(t$1 = {}, r = {}, s = {}) {
2417
- t$1 === void 0 && (t$1 = null);
2418
- const u = Zt(r, "Second parameter"), c = Zt(s, "Third parameter"), d = gs(t$1, "First parameter");
2404
+ constructor(t = {}, r = {}, s = {}) {
2405
+ t === void 0 && (t = null);
2406
+ const u = Zt(r, "Second parameter"), c = Zt(s, "Third parameter"), d = gs(t, "First parameter");
2419
2407
  if (d.readableType !== void 0) throw new RangeError("Invalid readableType specified");
2420
2408
  if (d.writableType !== void 0) throw new RangeError("Invalid writableType specified");
2421
2409
  const m = Tt(c, 0), R = Gt(c), y = Tt(u, 1), C = Gt(u);
@@ -2443,9 +2431,9 @@ function Ns() {
2443
2431
  value: "TransformStream",
2444
2432
  configurable: !0
2445
2433
  });
2446
- function Ts(e, t$1, r, s, u, c) {
2434
+ function Ts(e, t, r, s, u, c) {
2447
2435
  function d() {
2448
- return t$1;
2436
+ return t;
2449
2437
  }
2450
2438
  n$1(d, "startAlgorithm");
2451
2439
  function m(B) {
@@ -2474,22 +2462,22 @@ function Ns() {
2474
2462
  return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_transformStreamController") ? !1 : e instanceof tt;
2475
2463
  }
2476
2464
  n$1(oi, "IsTransformStream");
2477
- function ii(e, t$1) {
2478
- oe(e._readable._readableStreamController, t$1), dn(e, t$1);
2465
+ function ii(e, t) {
2466
+ oe(e._readable._readableStreamController, t), dn(e, t);
2479
2467
  }
2480
2468
  n$1(ii, "TransformStreamError");
2481
- function dn(e, t$1) {
2482
- ur(e._transformStreamController), Ct(e._writable._writableStreamController, t$1), hn(e);
2469
+ function dn(e, t) {
2470
+ ur(e._transformStreamController), Ct(e._writable._writableStreamController, t), hn(e);
2483
2471
  }
2484
2472
  n$1(dn, "TransformStreamErrorWritableAndUnblockWrite");
2485
2473
  function hn(e) {
2486
2474
  e._backpressure && sr(e, !1);
2487
2475
  }
2488
2476
  n$1(hn, "TransformStreamUnblockWrite");
2489
- function sr(e, t$1) {
2477
+ function sr(e, t) {
2490
2478
  e._backpressureChangePromise !== void 0 && e._backpressureChangePromise_resolve(), e._backpressureChangePromise = A((r) => {
2491
2479
  e._backpressureChangePromise_resolve = r;
2492
- }), e._backpressure = t$1;
2480
+ }), e._backpressure = t;
2493
2481
  }
2494
2482
  n$1(sr, "TransformStreamSetBackpressure");
2495
2483
  const Bn = class Bn$1 {
@@ -2498,16 +2486,16 @@ function Ns() {
2498
2486
  }
2499
2487
  get desiredSize() {
2500
2488
  if (!lr(this)) throw fr("desiredSize");
2501
- const t$1 = this._controlledTransformStream._readable._readableStreamController;
2502
- return fn(t$1);
2489
+ const t = this._controlledTransformStream._readable._readableStreamController;
2490
+ return fn(t);
2503
2491
  }
2504
- enqueue(t$1 = void 0) {
2492
+ enqueue(t = void 0) {
2505
2493
  if (!lr(this)) throw fr("enqueue");
2506
- ai(this, t$1);
2494
+ ai(this, t);
2507
2495
  }
2508
- error(t$1 = void 0) {
2496
+ error(t = void 0) {
2509
2497
  if (!lr(this)) throw fr("error");
2510
- vs(this, t$1);
2498
+ vs(this, t);
2511
2499
  }
2512
2500
  terminate() {
2513
2501
  if (!lr(this)) throw fr("terminate");
@@ -2529,101 +2517,101 @@ function Ns() {
2529
2517
  return !l(e) || !Object.prototype.hasOwnProperty.call(e, "_controlledTransformStream") ? !1 : e instanceof pe;
2530
2518
  }
2531
2519
  n$1(lr, "IsTransformStreamDefaultController");
2532
- function Cs(e, t$1, r, s, u) {
2533
- t$1._controlledTransformStream = e, e._transformStreamController = t$1, t$1._transformAlgorithm = r, t$1._flushAlgorithm = s, t$1._cancelAlgorithm = u, t$1._finishPromise = void 0, t$1._finishPromise_resolve = void 0, t$1._finishPromise_reject = void 0;
2520
+ function Cs(e, t, r, s, u) {
2521
+ t._controlledTransformStream = e, e._transformStreamController = t, t._transformAlgorithm = r, t._flushAlgorithm = s, t._cancelAlgorithm = u, t._finishPromise = void 0, t._finishPromise_resolve = void 0, t._finishPromise_reject = void 0;
2534
2522
  }
2535
2523
  n$1(Cs, "SetUpTransformStreamDefaultController");
2536
- function Ps(e, t$1) {
2524
+ function Ps(e, t) {
2537
2525
  const r = Object.create(pe.prototype);
2538
2526
  let s, u, c;
2539
- t$1.transform !== void 0 ? s = n$1((d) => t$1.transform(d, r), "transformAlgorithm") : s = n$1((d) => {
2527
+ t.transform !== void 0 ? s = n$1((d) => t.transform(d, r), "transformAlgorithm") : s = n$1((d) => {
2540
2528
  try {
2541
2529
  return ai(r, d), T(void 0);
2542
2530
  } catch (m) {
2543
2531
  return b(m);
2544
2532
  }
2545
- }, "transformAlgorithm"), t$1.flush !== void 0 ? u = n$1(() => t$1.flush(r), "flushAlgorithm") : u = n$1(() => T(void 0), "flushAlgorithm"), t$1.cancel !== void 0 ? c = n$1((d) => t$1.cancel(d), "cancelAlgorithm") : c = n$1(() => T(void 0), "cancelAlgorithm"), Cs(e, r, s, u, c);
2533
+ }, "transformAlgorithm"), t.flush !== void 0 ? u = n$1(() => t.flush(r), "flushAlgorithm") : u = n$1(() => T(void 0), "flushAlgorithm"), t.cancel !== void 0 ? c = n$1((d) => t.cancel(d), "cancelAlgorithm") : c = n$1(() => T(void 0), "cancelAlgorithm"), Cs(e, r, s, u, c);
2546
2534
  }
2547
2535
  n$1(Ps, "SetUpTransformStreamDefaultControllerFromTransformer");
2548
2536
  function ur(e) {
2549
2537
  e._transformAlgorithm = void 0, e._flushAlgorithm = void 0, e._cancelAlgorithm = void 0;
2550
2538
  }
2551
2539
  n$1(ur, "TransformStreamDefaultControllerClearAlgorithms");
2552
- function ai(e, t$1) {
2540
+ function ai(e, t) {
2553
2541
  const r = e._controlledTransformStream, s = r._readable._readableStreamController;
2554
2542
  if (!Je(s)) throw new TypeError("Readable side is not in a state that permits enqueue");
2555
2543
  try {
2556
- Ke(s, t$1);
2544
+ Ke(s, t);
2557
2545
  } catch (c) {
2558
2546
  throw dn(r, c), r._readable._storedError;
2559
2547
  }
2560
2548
  ts(s) !== r._backpressure && sr(r, !0);
2561
2549
  }
2562
2550
  n$1(ai, "TransformStreamDefaultControllerEnqueue");
2563
- function vs(e, t$1) {
2564
- ii(e._controlledTransformStream, t$1);
2551
+ function vs(e, t) {
2552
+ ii(e._controlledTransformStream, t);
2565
2553
  }
2566
2554
  n$1(vs, "TransformStreamDefaultControllerError");
2567
- function si(e, t$1) {
2568
- return F(e._transformAlgorithm(t$1), void 0, (s) => {
2555
+ function si(e, t) {
2556
+ return F(e._transformAlgorithm(t), void 0, (s) => {
2569
2557
  throw ii(e._controlledTransformStream, s), s;
2570
2558
  });
2571
2559
  }
2572
2560
  n$1(si, "TransformStreamDefaultControllerPerformTransform");
2573
2561
  function Es(e) {
2574
- const t$1 = e._controlledTransformStream, r = t$1._readable._readableStreamController;
2562
+ const t = e._controlledTransformStream, r = t._readable._readableStreamController;
2575
2563
  De(r);
2576
- dn(t$1, /* @__PURE__ */ new TypeError("TransformStream terminated"));
2564
+ dn(t, /* @__PURE__ */ new TypeError("TransformStream terminated"));
2577
2565
  }
2578
2566
  n$1(Es, "TransformStreamDefaultControllerTerminate");
2579
- function As(e, t$1) {
2567
+ function As(e, t) {
2580
2568
  const r = e._transformStreamController;
2581
2569
  if (e._backpressure) {
2582
2570
  const s = e._backpressureChangePromise;
2583
2571
  return F(s, () => {
2584
2572
  const u = e._writable;
2585
2573
  if (u._state === "erroring") throw u._storedError;
2586
- return si(r, t$1);
2574
+ return si(r, t);
2587
2575
  });
2588
2576
  }
2589
- return si(r, t$1);
2577
+ return si(r, t);
2590
2578
  }
2591
2579
  n$1(As, "TransformStreamDefaultSinkWriteAlgorithm");
2592
- function Bs(e, t$1) {
2580
+ function Bs(e, t) {
2593
2581
  const r = e._transformStreamController;
2594
2582
  if (r._finishPromise !== void 0) return r._finishPromise;
2595
2583
  const s = e._readable;
2596
2584
  r._finishPromise = A((c, d) => {
2597
2585
  r._finishPromise_resolve = c, r._finishPromise_reject = d;
2598
2586
  });
2599
- const u = r._cancelAlgorithm(t$1);
2600
- return ur(r), g(u, () => (s._state === "errored" ? rt(r, s._storedError) : (oe(s._readableStreamController, t$1), pn(r)), null), (c) => (oe(s._readableStreamController, c), rt(r, c), null)), r._finishPromise;
2587
+ const u = r._cancelAlgorithm(t);
2588
+ return ur(r), g(u, () => (s._state === "errored" ? rt(r, s._storedError) : (oe(s._readableStreamController, t), pn(r)), null), (c) => (oe(s._readableStreamController, c), rt(r, c), null)), r._finishPromise;
2601
2589
  }
2602
2590
  n$1(Bs, "TransformStreamDefaultSinkAbortAlgorithm");
2603
2591
  function ks(e) {
2604
- const t$1 = e._transformStreamController;
2605
- if (t$1._finishPromise !== void 0) return t$1._finishPromise;
2592
+ const t = e._transformStreamController;
2593
+ if (t._finishPromise !== void 0) return t._finishPromise;
2606
2594
  const r = e._readable;
2607
- t$1._finishPromise = A((u, c) => {
2608
- t$1._finishPromise_resolve = u, t$1._finishPromise_reject = c;
2595
+ t._finishPromise = A((u, c) => {
2596
+ t._finishPromise_resolve = u, t._finishPromise_reject = c;
2609
2597
  });
2610
- const s = t$1._flushAlgorithm();
2611
- return ur(t$1), g(s, () => (r._state === "errored" ? rt(t$1, r._storedError) : (De(r._readableStreamController), pn(t$1)), null), (u) => (oe(r._readableStreamController, u), rt(t$1, u), null)), t$1._finishPromise;
2598
+ const s = t._flushAlgorithm();
2599
+ return ur(t), g(s, () => (r._state === "errored" ? rt(t, r._storedError) : (De(r._readableStreamController), pn(t)), null), (u) => (oe(r._readableStreamController, u), rt(t, u), null)), t._finishPromise;
2612
2600
  }
2613
2601
  n$1(ks, "TransformStreamDefaultSinkCloseAlgorithm");
2614
2602
  function Ws(e) {
2615
2603
  return sr(e, !1), e._backpressureChangePromise;
2616
2604
  }
2617
2605
  n$1(Ws, "TransformStreamDefaultSourcePullAlgorithm");
2618
- function qs(e, t$1) {
2606
+ function qs(e, t) {
2619
2607
  const r = e._transformStreamController;
2620
2608
  if (r._finishPromise !== void 0) return r._finishPromise;
2621
2609
  const s = e._writable;
2622
2610
  r._finishPromise = A((c, d) => {
2623
2611
  r._finishPromise_resolve = c, r._finishPromise_reject = d;
2624
2612
  });
2625
- const u = r._cancelAlgorithm(t$1);
2626
- return ur(r), g(u, () => (s._state === "errored" ? rt(r, s._storedError) : (Ct(s._writableStreamController, t$1), hn(e), pn(r)), null), (c) => (Ct(s._writableStreamController, c), hn(e), rt(r, c), null)), r._finishPromise;
2613
+ const u = r._cancelAlgorithm(t);
2614
+ return ur(r), g(u, () => (s._state === "errored" ? rt(r, s._storedError) : (Ct(s._writableStreamController, t), hn(e), pn(r)), null), (c) => (Ct(s._writableStreamController, c), hn(e), rt(r, c), null)), r._finishPromise;
2627
2615
  }
2628
2616
  n$1(qs, "TransformStreamDefaultSourceCancelAlgorithm");
2629
2617
  function fr(e) {
@@ -2634,8 +2622,8 @@ function Ns() {
2634
2622
  e._finishPromise_resolve !== void 0 && (e._finishPromise_resolve(), e._finishPromise_resolve = void 0, e._finishPromise_reject = void 0);
2635
2623
  }
2636
2624
  n$1(pn, "defaultControllerFinishPromiseResolve");
2637
- function rt(e, t$1) {
2638
- e._finishPromise_reject !== void 0 && (Q(e._finishPromise), e._finishPromise_reject(t$1), e._finishPromise_resolve = void 0, e._finishPromise_reject = void 0);
2625
+ function rt(e, t) {
2626
+ e._finishPromise_reject !== void 0 && (Q(e._finishPromise), e._finishPromise_reject(t), e._finishPromise_resolve = void 0, e._finishPromise_reject = void 0);
2639
2627
  }
2640
2628
  n$1(rt, "defaultControllerFinishPromiseReject");
2641
2629
  function li(e) {
@@ -2652,18 +2640,18 @@ function Hs() {
2652
2640
  mi = 1;
2653
2641
  const i = 65536;
2654
2642
  if (!globalThis.ReadableStream) try {
2655
- const o$1 = __require("node:process"), { emitWarning: a } = o$1;
2643
+ const o = __require("node:process"), { emitWarning: a } = o;
2656
2644
  try {
2657
- o$1.emitWarning = () => {}, Object.assign(globalThis, __require("node:stream/web")), o$1.emitWarning = a;
2645
+ o.emitWarning = () => {}, Object.assign(globalThis, __require("node:stream/web")), o.emitWarning = a;
2658
2646
  } catch (f$1) {
2659
- throw o$1.emitWarning = a, f$1;
2647
+ throw o.emitWarning = a, f$1;
2660
2648
  }
2661
2649
  } catch {
2662
2650
  Object.assign(globalThis, Ns());
2663
2651
  }
2664
2652
  try {
2665
- const { Blob: o$1 } = __require("node:buffer");
2666
- o$1 && !o$1.prototype.stream && (o$1.prototype.stream = n$1(function(f$1) {
2653
+ const { Blob: o } = __require("node:buffer");
2654
+ o && !o.prototype.stream && (o.prototype.stream = n$1(function(f$1) {
2667
2655
  let l = 0;
2668
2656
  const p = this;
2669
2657
  return new ReadableStream({
@@ -2679,9 +2667,9 @@ function Hs() {
2679
2667
  }
2680
2668
  n$1(Hs, "requireStreams"), Hs();
2681
2669
  /*! fetch-blob. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ const yi = 65536;
2682
- async function* Wn(i, o$1 = !0) {
2670
+ async function* Wn(i, o = !0) {
2683
2671
  for (const a of i) if ("stream" in a) yield* a.stream();
2684
- else if (ArrayBuffer.isView(a)) if (o$1) {
2672
+ else if (ArrayBuffer.isView(a)) if (o) {
2685
2673
  let f$1 = a.byteOffset;
2686
2674
  const l = a.byteOffset + a.byteLength;
2687
2675
  for (; f$1 !== l;) {
@@ -2699,17 +2687,17 @@ async function* Wn(i, o$1 = !0) {
2699
2687
  }
2700
2688
  n$1(Wn, "toIterator");
2701
2689
  const gi = (ze = class {
2702
- constructor(o$1 = [], a = {}) {
2690
+ constructor(o = [], a = {}) {
2703
2691
  be(this, ve, []);
2704
2692
  be(this, zt, "");
2705
2693
  be(this, bt, 0);
2706
2694
  be(this, Cr, "transparent");
2707
- if (typeof o$1 != "object" || o$1 === null) throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");
2708
- if (typeof o$1[Symbol.iterator] != "function") throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");
2695
+ if (typeof o != "object" || o === null) throw new TypeError("Failed to construct 'Blob': The provided value cannot be converted to a sequence.");
2696
+ if (typeof o[Symbol.iterator] != "function") throw new TypeError("Failed to construct 'Blob': The object must have a callable @@iterator property.");
2709
2697
  if (typeof a != "object" && typeof a != "function") throw new TypeError("Failed to construct 'Blob': parameter 2 cannot convert to dictionary.");
2710
2698
  a === null && (a = {});
2711
2699
  const f$1 = new TextEncoder();
2712
- for (const p of o$1) {
2700
+ for (const p of o) {
2713
2701
  let h;
2714
2702
  ArrayBuffer.isView(p) ? h = new Uint8Array(p.buffer.slice(p.byteOffset, p.byteOffset + p.byteLength)) : p instanceof ArrayBuffer ? h = new Uint8Array(p.slice(0)) : p instanceof ze ? h = p : h = f$1.encode(`${p}`), X(this, bt, O(this, bt) + (ArrayBuffer.isView(h) ? h.byteLength : h.size)), O(this, ve).push(h);
2715
2703
  }
@@ -2724,33 +2712,33 @@ const gi = (ze = class {
2724
2712
  return O(this, zt);
2725
2713
  }
2726
2714
  async text() {
2727
- const o$1 = new TextDecoder();
2715
+ const o = new TextDecoder();
2728
2716
  let a = "";
2729
- for await (const f$1 of Wn(O(this, ve), !1)) a += o$1.decode(f$1, { stream: !0 });
2730
- return a += o$1.decode(), a;
2717
+ for await (const f$1 of Wn(O(this, ve), !1)) a += o.decode(f$1, { stream: !0 });
2718
+ return a += o.decode(), a;
2731
2719
  }
2732
2720
  async arrayBuffer() {
2733
- const o$1 = new Uint8Array(this.size);
2721
+ const o = new Uint8Array(this.size);
2734
2722
  let a = 0;
2735
- for await (const f$1 of Wn(O(this, ve), !1)) o$1.set(f$1, a), a += f$1.length;
2736
- return o$1.buffer;
2723
+ for await (const f$1 of Wn(O(this, ve), !1)) o.set(f$1, a), a += f$1.length;
2724
+ return o.buffer;
2737
2725
  }
2738
2726
  stream() {
2739
- const o$1 = Wn(O(this, ve), !0);
2727
+ const o = Wn(O(this, ve), !0);
2740
2728
  return new globalThis.ReadableStream({
2741
2729
  type: "bytes",
2742
2730
  async pull(a) {
2743
- const f$1 = await o$1.next();
2731
+ const f$1 = await o.next();
2744
2732
  f$1.done ? a.close() : a.enqueue(f$1.value);
2745
2733
  },
2746
2734
  async cancel() {
2747
- await o$1.return();
2735
+ await o.return();
2748
2736
  }
2749
2737
  });
2750
2738
  }
2751
- slice(o$1 = 0, a = this.size, f$1 = "") {
2739
+ slice(o = 0, a = this.size, f$1 = "") {
2752
2740
  const { size: l } = this;
2753
- let p = o$1 < 0 ? Math.max(l + o$1, 0) : Math.min(o$1, l), h = a < 0 ? Math.max(l + a, 0) : Math.min(a, l);
2741
+ let p = o < 0 ? Math.max(l + o, 0) : Math.min(o, l), h = a < 0 ? Math.max(l + a, 0) : Math.min(a, l);
2754
2742
  const S = Math.max(h - p, 0), v = O(this, ve), w = [];
2755
2743
  let A = 0;
2756
2744
  for (const b of v) {
@@ -2768,8 +2756,8 @@ const gi = (ze = class {
2768
2756
  get [Symbol.toStringTag]() {
2769
2757
  return "Blob";
2770
2758
  }
2771
- static [Symbol.hasInstance](o$1) {
2772
- return o$1 && typeof o$1 == "object" && typeof o$1.constructor == "function" && (typeof o$1.stream == "function" || typeof o$1.arrayBuffer == "function") && /^(Blob|File)$/.test(o$1[Symbol.toStringTag]);
2759
+ static [Symbol.hasInstance](o) {
2760
+ return o && typeof o == "object" && typeof o.constructor == "function" && (typeof o.stream == "function" || typeof o.arrayBuffer == "function") && /^(Blob|File)$/.test(o[Symbol.toStringTag]);
2773
2761
  }
2774
2762
  }, ve = /* @__PURE__ */ new WeakMap(), zt = /* @__PURE__ */ new WeakMap(), bt = /* @__PURE__ */ new WeakMap(), Cr = /* @__PURE__ */ new WeakMap(), n$1(ze, "Blob"), ze);
2775
2763
  Object.defineProperties(gi.prototype, {
@@ -2800,14 +2788,14 @@ const ut = gi, qn = (mt = class extends ut {
2800
2788
  return !!a && a instanceof ut && /^(File)$/.test(a[Symbol.toStringTag]);
2801
2789
  }
2802
2790
  }, It = /* @__PURE__ */ new WeakMap(), Ft = /* @__PURE__ */ new WeakMap(), n$1(mt, "File"), mt);
2803
- /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ var { toStringTag: Wt, iterator: Qs, hasInstance: Ys } = Symbol, _i = Math.random, Gs = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","), Si = n$1((i, o$1, a) => (i += "", /^(Blob|File)$/.test(o$1 && o$1[Wt]) ? [(a = a !== void 0 ? a + "" : o$1[Wt] == "File" ? o$1.name : "blob", i), o$1.name !== a || o$1[Wt] == "blob" ? new qn([o$1], a, o$1) : o$1] : [i, o$1 + ""]), "f"), On = n$1((i, o$1) => (o$1 ? i : i.replace(/\r?\n|\r/g, `\r
2804
- `)).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), "e$1"), Ue = n$1((i, o$1, a) => {
2805
- if (o$1.length < a) throw new TypeError(`Failed to execute '${i}' on 'FormData': ${a} arguments required, but only ${o$1.length} present.`);
2791
+ /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ var { toStringTag: Wt, iterator: Qs, hasInstance: Ys } = Symbol, _i = Math.random, Gs = "append,set,get,getAll,delete,keys,values,entries,forEach,constructor".split(","), Si = n$1((i, o, a) => (i += "", /^(Blob|File)$/.test(o && o[Wt]) ? [(a = a !== void 0 ? a + "" : o[Wt] == "File" ? o.name : "blob", i), o.name !== a || o[Wt] == "blob" ? new qn([o], a, o) : o] : [i, o + ""]), "f"), On = n$1((i, o) => (o ? i : i.replace(/\r?\n|\r/g, `\r
2792
+ `)).replace(/\n/g, "%0A").replace(/\r/g, "%0D").replace(/"/g, "%22"), "e$1"), Ue = n$1((i, o, a) => {
2793
+ if (o.length < a) throw new TypeError(`Failed to execute '${i}' on 'FormData': ${a} arguments required, but only ${o.length} present.`);
2806
2794
  }, "x");
2807
2795
  const br = (yt = class {
2808
- constructor(...o$1) {
2796
+ constructor(...o) {
2809
2797
  be(this, ee, []);
2810
- if (o$1.length) throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.");
2798
+ if (o.length) throw new TypeError("Failed to construct 'FormData': parameter 1 is not of type 'HTMLFormElement'.");
2811
2799
  }
2812
2800
  get [Wt]() {
2813
2801
  return "FormData";
@@ -2815,48 +2803,48 @@ const br = (yt = class {
2815
2803
  [Qs]() {
2816
2804
  return this.entries();
2817
2805
  }
2818
- static [Ys](o$1) {
2819
- return o$1 && typeof o$1 == "object" && o$1[Wt] === "FormData" && !Gs.some((a) => typeof o$1[a] != "function");
2806
+ static [Ys](o) {
2807
+ return o && typeof o == "object" && o[Wt] === "FormData" && !Gs.some((a) => typeof o[a] != "function");
2820
2808
  }
2821
- append(...o$1) {
2822
- Ue("append", arguments, 2), O(this, ee).push(Si(...o$1));
2809
+ append(...o) {
2810
+ Ue("append", arguments, 2), O(this, ee).push(Si(...o));
2823
2811
  }
2824
- delete(o$1) {
2825
- Ue("delete", arguments, 1), o$1 += "", X(this, ee, O(this, ee).filter(([a]) => a !== o$1));
2812
+ delete(o) {
2813
+ Ue("delete", arguments, 1), o += "", X(this, ee, O(this, ee).filter(([a]) => a !== o));
2826
2814
  }
2827
- get(o$1) {
2828
- Ue("get", arguments, 1), o$1 += "";
2829
- for (var a = O(this, ee), f$1 = a.length, l = 0; l < f$1; l++) if (a[l][0] === o$1) return a[l][1];
2815
+ get(o) {
2816
+ Ue("get", arguments, 1), o += "";
2817
+ for (var a = O(this, ee), f$1 = a.length, l = 0; l < f$1; l++) if (a[l][0] === o) return a[l][1];
2830
2818
  return null;
2831
2819
  }
2832
- getAll(o$1, a) {
2833
- return Ue("getAll", arguments, 1), a = [], o$1 += "", O(this, ee).forEach((f$1) => f$1[0] === o$1 && a.push(f$1[1])), a;
2820
+ getAll(o, a) {
2821
+ return Ue("getAll", arguments, 1), a = [], o += "", O(this, ee).forEach((f$1) => f$1[0] === o && a.push(f$1[1])), a;
2834
2822
  }
2835
- has(o$1) {
2836
- return Ue("has", arguments, 1), o$1 += "", O(this, ee).some((a) => a[0] === o$1);
2823
+ has(o) {
2824
+ return Ue("has", arguments, 1), o += "", O(this, ee).some((a) => a[0] === o);
2837
2825
  }
2838
- forEach(o$1, a) {
2826
+ forEach(o, a) {
2839
2827
  Ue("forEach", arguments, 1);
2840
- for (var [f$1, l] of this) o$1.call(a, l, f$1, this);
2828
+ for (var [f$1, l] of this) o.call(a, l, f$1, this);
2841
2829
  }
2842
- set(...o$1) {
2830
+ set(...o) {
2843
2831
  Ue("set", arguments, 2);
2844
2832
  var a = [], f$1 = !0;
2845
- o$1 = Si(...o$1), O(this, ee).forEach((l) => {
2846
- l[0] === o$1[0] ? f$1 && (f$1 = !a.push(o$1)) : a.push(l);
2847
- }), f$1 && a.push(o$1), X(this, ee, a);
2833
+ o = Si(...o), O(this, ee).forEach((l) => {
2834
+ l[0] === o[0] ? f$1 && (f$1 = !a.push(o)) : a.push(l);
2835
+ }), f$1 && a.push(o), X(this, ee, a);
2848
2836
  }
2849
2837
  *entries() {
2850
2838
  yield* O(this, ee);
2851
2839
  }
2852
2840
  *keys() {
2853
- for (var [o$1] of this) yield o$1;
2841
+ for (var [o] of this) yield o;
2854
2842
  }
2855
2843
  *values() {
2856
- for (var [, o$1] of this) yield o$1;
2844
+ for (var [, o] of this) yield o;
2857
2845
  }
2858
2846
  }, ee = /* @__PURE__ */ new WeakMap(), n$1(yt, "FormData"), yt);
2859
- function Zs(i, o$1 = ut) {
2847
+ function Zs(i, o = ut) {
2860
2848
  var a = `${_i()}${_i()}`.replace(/\./g, "").slice(-28).padStart(32, "-"), f$1 = [], l = `--${a}\r
2861
2849
  Content-Disposition: form-data; name="`;
2862
2850
  return i.forEach((p, h) => typeof p == "string" ? f$1.push(l + On(h) + `"\r
@@ -2867,12 +2855,12 @@ ${p.replace(/\r(?!\n)|(?<!\r)\n/g, `\r
2867
2855
  Content-Type: ${p.type || "application/octet-stream"}\r
2868
2856
  \r
2869
2857
  `, p, `\r
2870
- `)), f$1.push(`--${a}--`), new o$1(f$1, { type: "multipart/form-data; boundary=" + a });
2858
+ `)), f$1.push(`--${a}--`), new o(f$1, { type: "multipart/form-data; boundary=" + a });
2871
2859
  }
2872
2860
  n$1(Zs, "formDataToBlob");
2873
2861
  const Un = class Un$1 extends Error {
2874
- constructor(o$1, a) {
2875
- super(o$1), Error.captureStackTrace(this, this.constructor), this.type = a;
2862
+ constructor(o, a) {
2863
+ super(o), Error.captureStackTrace(this, this.constructor), this.type = a;
2876
2864
  }
2877
2865
  get name() {
2878
2866
  return this.constructor.name;
@@ -2884,29 +2872,29 @@ const Un = class Un$1 extends Error {
2884
2872
  n$1(Un, "FetchBaseError");
2885
2873
  let ft = Un;
2886
2874
  const xn = class xn$1 extends ft {
2887
- constructor(o$1, a, f$1) {
2888
- super(o$1, a), f$1 && (this.code = this.errno = f$1.code, this.erroredSysCall = f$1.syscall);
2875
+ constructor(o, a, f$1) {
2876
+ super(o, a), f$1 && (this.code = this.errno = f$1.code, this.erroredSysCall = f$1.syscall);
2889
2877
  }
2890
2878
  };
2891
2879
  n$1(xn, "FetchError");
2892
2880
  let G = xn;
2893
- const mr = Symbol.toStringTag, wi = n$1((i) => typeof i == "object" && typeof i.append == "function" && typeof i.delete == "function" && typeof i.get == "function" && typeof i.getAll == "function" && typeof i.has == "function" && typeof i.set == "function" && typeof i.sort == "function" && i[mr] === "URLSearchParams", "isURLSearchParameters"), yr = n$1((i) => i && typeof i == "object" && typeof i.arrayBuffer == "function" && typeof i.type == "string" && typeof i.stream == "function" && typeof i.constructor == "function" && /^(Blob|File)$/.test(i[mr]), "isBlob"), Ks = n$1((i) => typeof i == "object" && (i[mr] === "AbortSignal" || i[mr] === "EventTarget"), "isAbortSignal"), Js = n$1((i, o$1) => {
2894
- const a = new URL(o$1).hostname, f$1 = new URL(i).hostname;
2881
+ const mr = Symbol.toStringTag, wi = n$1((i) => typeof i == "object" && typeof i.append == "function" && typeof i.delete == "function" && typeof i.get == "function" && typeof i.getAll == "function" && typeof i.has == "function" && typeof i.set == "function" && typeof i.sort == "function" && i[mr] === "URLSearchParams", "isURLSearchParameters"), yr = n$1((i) => i && typeof i == "object" && typeof i.arrayBuffer == "function" && typeof i.type == "string" && typeof i.stream == "function" && typeof i.constructor == "function" && /^(Blob|File)$/.test(i[mr]), "isBlob"), Ks = n$1((i) => typeof i == "object" && (i[mr] === "AbortSignal" || i[mr] === "EventTarget"), "isAbortSignal"), Js = n$1((i, o) => {
2882
+ const a = new URL(o).hostname, f$1 = new URL(i).hostname;
2895
2883
  return a === f$1 || a.endsWith(`.${f$1}`);
2896
- }, "isDomainOrSubdomain"), Xs = n$1((i, o$1) => {
2897
- return new URL(o$1).protocol === new URL(i).protocol;
2884
+ }, "isDomainOrSubdomain"), Xs = n$1((i, o) => {
2885
+ return new URL(o).protocol === new URL(i).protocol;
2898
2886
  }, "isSameProtocol"), el = promisify(me.pipeline), H = Symbol("Body internals"), Nn = class Nn$1 {
2899
- constructor(o$1, { size: a = 0 } = {}) {
2887
+ constructor(o, { size: a = 0 } = {}) {
2900
2888
  let f$1 = null;
2901
- o$1 === null ? o$1 = null : wi(o$1) ? o$1 = Buffer$1.from(o$1.toString()) : yr(o$1) || Buffer$1.isBuffer(o$1) || (types.isAnyArrayBuffer(o$1) ? o$1 = Buffer$1.from(o$1) : ArrayBuffer.isView(o$1) ? o$1 = Buffer$1.from(o$1.buffer, o$1.byteOffset, o$1.byteLength) : o$1 instanceof me || (o$1 instanceof br ? (o$1 = Zs(o$1), f$1 = o$1.type.split("=")[1]) : o$1 = Buffer$1.from(String(o$1))));
2902
- let l = o$1;
2903
- Buffer$1.isBuffer(o$1) ? l = me.Readable.from(o$1) : yr(o$1) && (l = me.Readable.from(o$1.stream())), this[H] = {
2904
- body: o$1,
2889
+ o === null ? o = null : wi(o) ? o = Buffer$1.from(o.toString()) : yr(o) || Buffer$1.isBuffer(o) || (types.isAnyArrayBuffer(o) ? o = Buffer$1.from(o) : ArrayBuffer.isView(o) ? o = Buffer$1.from(o.buffer, o.byteOffset, o.byteLength) : o instanceof me || (o instanceof br ? (o = Zs(o), f$1 = o.type.split("=")[1]) : o = Buffer$1.from(String(o))));
2890
+ let l = o;
2891
+ Buffer$1.isBuffer(o) ? l = me.Readable.from(o) : yr(o) && (l = me.Readable.from(o.stream())), this[H] = {
2892
+ body: o,
2905
2893
  stream: l,
2906
2894
  boundary: f$1,
2907
2895
  disturbed: !1,
2908
2896
  error: null
2909
- }, this.size = a, o$1 instanceof me && o$1.on("error", (p) => {
2897
+ }, this.size = a, o instanceof me && o.on("error", (p) => {
2910
2898
  const h = p instanceof ft ? p : new G(`Invalid response body while trying to fetch ${this.url}: ${p.message}`, "system", p);
2911
2899
  this[H].error = h;
2912
2900
  });
@@ -2918,30 +2906,30 @@ const mr = Symbol.toStringTag, wi = n$1((i) => typeof i == "object" && typeof i.
2918
2906
  return this[H].disturbed;
2919
2907
  }
2920
2908
  async arrayBuffer() {
2921
- const { buffer: o$1, byteOffset: a, byteLength: f$1 } = await zn(this);
2922
- return o$1.slice(a, a + f$1);
2909
+ const { buffer: o, byteOffset: a, byteLength: f$1 } = await zn(this);
2910
+ return o.slice(a, a + f$1);
2923
2911
  }
2924
2912
  async formData() {
2925
- const o$1 = this.headers.get("content-type");
2926
- if (o$1.startsWith("application/x-www-form-urlencoded")) {
2913
+ const o = this.headers.get("content-type");
2914
+ if (o.startsWith("application/x-www-form-urlencoded")) {
2927
2915
  const f$1 = new br(), l = new URLSearchParams(await this.text());
2928
2916
  for (const [p, h] of l) f$1.append(p, h);
2929
2917
  return f$1;
2930
2918
  }
2931
- const { toFormData: a } = await import("./multipart-parser-Dtmz_axo.mjs");
2932
- return a(this.body, o$1);
2919
+ const { toFormData: a } = await import("./chunks/multipart-parser.mjs");
2920
+ return a(this.body, o);
2933
2921
  }
2934
2922
  async blob() {
2935
- const o$1 = this.headers && this.headers.get("content-type") || this[H].body && this[H].body.type || "";
2936
- return new ut([await this.arrayBuffer()], { type: o$1 });
2923
+ const o = this.headers && this.headers.get("content-type") || this[H].body && this[H].body.type || "";
2924
+ return new ut([await this.arrayBuffer()], { type: o });
2937
2925
  }
2938
2926
  async json() {
2939
- const o$1 = await this.text();
2940
- return JSON.parse(o$1);
2927
+ const o = await this.text();
2928
+ return JSON.parse(o);
2941
2929
  }
2942
2930
  async text() {
2943
- const o$1 = await zn(this);
2944
- return new TextDecoder().decode(o$1);
2931
+ const o = await zn(this);
2932
+ return new TextDecoder().decode(o);
2945
2933
  }
2946
2934
  buffer() {
2947
2935
  return zn(this);
@@ -2961,23 +2949,23 @@ xe.prototype.buffer = deprecate(xe.prototype.buffer, "Please use 'response.array
2961
2949
  async function zn(i) {
2962
2950
  if (i[H].disturbed) throw new TypeError(`body used already for: ${i.url}`);
2963
2951
  if (i[H].disturbed = !0, i[H].error) throw i[H].error;
2964
- const { body: o$1 } = i;
2965
- if (o$1 === null) return Buffer$1.alloc(0);
2966
- if (!(o$1 instanceof me)) return Buffer$1.alloc(0);
2952
+ const { body: o } = i;
2953
+ if (o === null) return Buffer$1.alloc(0);
2954
+ if (!(o instanceof me)) return Buffer$1.alloc(0);
2967
2955
  const a = [];
2968
2956
  let f$1 = 0;
2969
2957
  try {
2970
- for await (const l of o$1) {
2958
+ for await (const l of o) {
2971
2959
  if (i.size > 0 && f$1 + l.length > i.size) {
2972
2960
  const p = new G(`content size at ${i.url} over limit: ${i.size}`, "max-size");
2973
- throw o$1.destroy(p), p;
2961
+ throw o.destroy(p), p;
2974
2962
  }
2975
2963
  f$1 += l.length, a.push(l);
2976
2964
  }
2977
2965
  } catch (l) {
2978
2966
  throw l instanceof ft ? l : new G(`Invalid response body while trying to fetch ${i.url}: ${l.message}`, "system", l);
2979
2967
  }
2980
- if (o$1.readableEnded === !0 || o$1._readableState.ended === !0) try {
2968
+ if (o.readableEnded === !0 || o._readableState.ended === !0) try {
2981
2969
  return a.every((l) => typeof l == "string") ? Buffer$1.from(a.join("")) : Buffer$1.concat(a, f$1);
2982
2970
  } catch (l) {
2983
2971
  throw new G(`Could not create Buffer from response body for ${i.url}: ${l.message}`, "system", l);
@@ -2985,37 +2973,37 @@ async function zn(i) {
2985
2973
  else throw new G(`Premature close of server response while trying to fetch ${i.url}`);
2986
2974
  }
2987
2975
  n$1(zn, "consumeBody");
2988
- const In = n$1((i, o$1) => {
2976
+ const In = n$1((i, o) => {
2989
2977
  let a, f$1, { body: l } = i[H];
2990
2978
  if (i.bodyUsed) throw new Error("cannot clone body after it is used");
2991
- return l instanceof me && typeof l.getBoundary != "function" && (a = new PassThrough({ highWaterMark: o$1 }), f$1 = new PassThrough({ highWaterMark: o$1 }), l.pipe(a), l.pipe(f$1), i[H].stream = a, l = f$1), l;
2992
- }, "clone"), tl = deprecate((i) => i.getBoundary(), "form-data doesn't follow the spec and requires special treatment. Use alternative package", "https://github.com/node-fetch/node-fetch/issues/1167"), Ri = n$1((i, o$1) => i === null ? null : typeof i == "string" ? "text/plain;charset=UTF-8" : wi(i) ? "application/x-www-form-urlencoded;charset=UTF-8" : yr(i) ? i.type || null : Buffer$1.isBuffer(i) || types.isAnyArrayBuffer(i) || ArrayBuffer.isView(i) ? null : i instanceof br ? `multipart/form-data; boundary=${o$1[H].boundary}` : i && typeof i.getBoundary == "function" ? `multipart/form-data;boundary=${tl(i)}` : i instanceof me ? null : "text/plain;charset=UTF-8", "extractContentType"), rl = n$1((i) => {
2993
- const { body: o$1 } = i[H];
2994
- return o$1 === null ? 0 : yr(o$1) ? o$1.size : Buffer$1.isBuffer(o$1) ? o$1.length : o$1 && typeof o$1.getLengthSync == "function" && o$1.hasKnownLength && o$1.hasKnownLength() ? o$1.getLengthSync() : null;
2995
- }, "getTotalBytes"), nl = n$1(async (i, { body: o$1 }) => {
2996
- o$1 === null ? i.end() : await el(o$1, i);
2979
+ return l instanceof me && typeof l.getBoundary != "function" && (a = new PassThrough({ highWaterMark: o }), f$1 = new PassThrough({ highWaterMark: o }), l.pipe(a), l.pipe(f$1), i[H].stream = a, l = f$1), l;
2980
+ }, "clone"), tl = deprecate((i) => i.getBoundary(), "form-data doesn't follow the spec and requires special treatment. Use alternative package", "https://github.com/node-fetch/node-fetch/issues/1167"), Ri = n$1((i, o) => i === null ? null : typeof i == "string" ? "text/plain;charset=UTF-8" : wi(i) ? "application/x-www-form-urlencoded;charset=UTF-8" : yr(i) ? i.type || null : Buffer$1.isBuffer(i) || types.isAnyArrayBuffer(i) || ArrayBuffer.isView(i) ? null : i instanceof br ? `multipart/form-data; boundary=${o[H].boundary}` : i && typeof i.getBoundary == "function" ? `multipart/form-data;boundary=${tl(i)}` : i instanceof me ? null : "text/plain;charset=UTF-8", "extractContentType"), rl = n$1((i) => {
2981
+ const { body: o } = i[H];
2982
+ return o === null ? 0 : yr(o) ? o.size : Buffer$1.isBuffer(o) ? o.length : o && typeof o.getLengthSync == "function" && o.hasKnownLength && o.hasKnownLength() ? o.getLengthSync() : null;
2983
+ }, "getTotalBytes"), nl = n$1(async (i, { body: o }) => {
2984
+ o === null ? i.end() : await el(o, i);
2997
2985
  }, "writeToStream"), gr = typeof http.validateHeaderName == "function" ? http.validateHeaderName : (i) => {
2998
2986
  if (!/^[\^`\-\w!#$%&'*+.|~]+$/.test(i)) {
2999
- const o$1 = /* @__PURE__ */ new TypeError(`Header name must be a valid HTTP token [${i}]`);
3000
- throw Object.defineProperty(o$1, "code", { value: "ERR_INVALID_HTTP_TOKEN" }), o$1;
2987
+ const o = /* @__PURE__ */ new TypeError(`Header name must be a valid HTTP token [${i}]`);
2988
+ throw Object.defineProperty(o, "code", { value: "ERR_INVALID_HTTP_TOKEN" }), o;
3001
2989
  }
3002
- }, Fn = typeof http.validateHeaderValue == "function" ? http.validateHeaderValue : (i, o$1) => {
3003
- if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(o$1)) {
2990
+ }, Fn = typeof http.validateHeaderValue == "function" ? http.validateHeaderValue : (i, o) => {
2991
+ if (/[^\t\u0020-\u007E\u0080-\u00FF]/.test(o)) {
3004
2992
  const a = /* @__PURE__ */ new TypeError(`Invalid character in header content ["${i}"]`);
3005
2993
  throw Object.defineProperty(a, "code", { value: "ERR_INVALID_CHAR" }), a;
3006
2994
  }
3007
2995
  }, Pr = class Pr$1 extends URLSearchParams {
3008
- constructor(o$1) {
2996
+ constructor(o) {
3009
2997
  let a = [];
3010
- if (o$1 instanceof Pr$1) {
3011
- const f$1 = o$1.raw();
2998
+ if (o instanceof Pr$1) {
2999
+ const f$1 = o.raw();
3012
3000
  for (const [l, p] of Object.entries(f$1)) a.push(...p.map((h) => [l, h]));
3013
- } else if (o$1 != null) if (typeof o$1 == "object" && !types.isBoxedPrimitive(o$1)) {
3014
- const f$1 = o$1[Symbol.iterator];
3015
- if (f$1 == null) a.push(...Object.entries(o$1));
3001
+ } else if (o != null) if (typeof o == "object" && !types.isBoxedPrimitive(o)) {
3002
+ const f$1 = o[Symbol.iterator];
3003
+ if (f$1 == null) a.push(...Object.entries(o));
3016
3004
  else {
3017
3005
  if (typeof f$1 != "function") throw new TypeError("Header pairs must be iterable");
3018
- a = [...o$1].map((l) => {
3006
+ a = [...o].map((l) => {
3019
3007
  if (typeof l != "object" || types.isBoxedPrimitive(l)) throw new TypeError("Each header pair must be an iterable object");
3020
3008
  return [...l];
3021
3009
  }).map((l) => {
@@ -3042,35 +3030,35 @@ const In = n$1((i, o$1) => {
3042
3030
  toString() {
3043
3031
  return Object.prototype.toString.call(this);
3044
3032
  }
3045
- get(o$1) {
3046
- const a = this.getAll(o$1);
3033
+ get(o) {
3034
+ const a = this.getAll(o);
3047
3035
  if (a.length === 0) return null;
3048
3036
  let f$1 = a.join(", ");
3049
- return /^content-encoding$/i.test(o$1) && (f$1 = f$1.toLowerCase()), f$1;
3037
+ return /^content-encoding$/i.test(o) && (f$1 = f$1.toLowerCase()), f$1;
3050
3038
  }
3051
- forEach(o$1, a = void 0) {
3052
- for (const f$1 of this.keys()) Reflect.apply(o$1, a, [
3039
+ forEach(o, a = void 0) {
3040
+ for (const f$1 of this.keys()) Reflect.apply(o, a, [
3053
3041
  this.get(f$1),
3054
3042
  f$1,
3055
3043
  this
3056
3044
  ]);
3057
3045
  }
3058
3046
  *values() {
3059
- for (const o$1 of this.keys()) yield this.get(o$1);
3047
+ for (const o of this.keys()) yield this.get(o);
3060
3048
  }
3061
3049
  *entries() {
3062
- for (const o$1 of this.keys()) yield [o$1, this.get(o$1)];
3050
+ for (const o of this.keys()) yield [o, this.get(o)];
3063
3051
  }
3064
3052
  [Symbol.iterator]() {
3065
3053
  return this.entries();
3066
3054
  }
3067
3055
  raw() {
3068
- return [...this.keys()].reduce((o$1, a) => (o$1[a] = this.getAll(a), o$1), {});
3056
+ return [...this.keys()].reduce((o, a) => (o[a] = this.getAll(a), o), {});
3069
3057
  }
3070
3058
  [Symbol.for("nodejs.util.inspect.custom")]() {
3071
- return [...this.keys()].reduce((o$1, a) => {
3059
+ return [...this.keys()].reduce((o, a) => {
3072
3060
  const f$1 = this.getAll(a);
3073
- return a === "host" ? o$1[a] = f$1[0] : o$1[a] = f$1.length > 1 ? f$1 : f$1[0], o$1;
3061
+ return a === "host" ? o[a] = f$1[0] : o[a] = f$1.length > 1 ? f$1 : f$1[0], o;
3074
3062
  }, {});
3075
3063
  }
3076
3064
  };
@@ -3081,11 +3069,11 @@ Object.defineProperties(ye.prototype, [
3081
3069
  "entries",
3082
3070
  "forEach",
3083
3071
  "values"
3084
- ].reduce((i, o$1) => (i[o$1] = { enumerable: !0 }, i), {}));
3072
+ ].reduce((i, o) => (i[o] = { enumerable: !0 }, i), {}));
3085
3073
  function ol(i = []) {
3086
- return new ye(i.reduce((o$1, a, f$1, l) => (f$1 % 2 === 0 && o$1.push(l.slice(f$1, f$1 + 2)), o$1), []).filter(([o$1, a]) => {
3074
+ return new ye(i.reduce((o, a, f$1, l) => (f$1 % 2 === 0 && o.push(l.slice(f$1, f$1 + 2)), o), []).filter(([o, a]) => {
3087
3075
  try {
3088
- return gr(o$1), Fn(o$1, String(a)), !0;
3076
+ return gr(o), Fn(o, String(a)), !0;
3089
3077
  } catch {
3090
3078
  return !1;
3091
3079
  }
@@ -3099,11 +3087,11 @@ const il = new Set([
3099
3087
  307,
3100
3088
  308
3101
3089
  ]), jn = n$1((i) => il.has(i), "isRedirect"), se = Symbol("Response internals"), Ne = class Ne$1 extends xe {
3102
- constructor(o$1 = null, a = {}) {
3103
- super(o$1, a);
3090
+ constructor(o = null, a = {}) {
3091
+ super(o, a);
3104
3092
  const f$1 = a.status != null ? a.status : 200, l = new ye(a.headers);
3105
- if (o$1 !== null && !l.has("Content-Type")) {
3106
- const p = Ri(o$1, this);
3093
+ if (o !== null && !l.has("Content-Type")) {
3094
+ const p = Ri(o, this);
3107
3095
  p && l.append("Content-Type", p);
3108
3096
  }
3109
3097
  this[se] = {
@@ -3153,22 +3141,22 @@ const il = new Set([
3153
3141
  highWaterMark: this.highWaterMark
3154
3142
  });
3155
3143
  }
3156
- static redirect(o$1, a = 302) {
3144
+ static redirect(o, a = 302) {
3157
3145
  if (!jn(a)) throw new RangeError("Failed to execute \"redirect\" on \"response\": Invalid status code");
3158
3146
  return new Ne$1(null, {
3159
- headers: { location: new URL(o$1).toString() },
3147
+ headers: { location: new URL(o).toString() },
3160
3148
  status: a
3161
3149
  });
3162
3150
  }
3163
3151
  static error() {
3164
- const o$1 = new Ne$1(null, {
3152
+ const o = new Ne$1(null, {
3165
3153
  status: 0,
3166
3154
  statusText: ""
3167
3155
  });
3168
- return o$1[se].type = "error", o$1;
3156
+ return o[se].type = "error", o;
3169
3157
  }
3170
- static json(o$1 = void 0, a = {}) {
3171
- const f$1 = JSON.stringify(o$1);
3158
+ static json(o = void 0, a = {}) {
3159
+ const f$1 = JSON.stringify(o);
3172
3160
  if (f$1 === void 0) throw new TypeError("data is not JSON serializable");
3173
3161
  const l = new ye(a && a.headers);
3174
3162
  return l.has("content-type") || l.set("content-type", "application/json"), new Ne$1(f$1, {
@@ -3194,11 +3182,11 @@ Object.defineProperties(le.prototype, {
3194
3182
  });
3195
3183
  const al = n$1((i) => {
3196
3184
  if (i.search) return i.search;
3197
- const o$1 = i.href.length - 1, a = i.hash || (i.href[o$1] === "#" ? "#" : "");
3198
- return i.href[o$1 - a.length] === "?" ? "?" : "";
3185
+ const o = i.href.length - 1, a = i.hash || (i.href[o] === "#" ? "#" : "");
3186
+ return i.href[o - a.length] === "?" ? "?" : "";
3199
3187
  }, "getSearch");
3200
- function Ti(i, o$1 = !1) {
3201
- return i == null || (i = new URL(i), /^(about|blob|data):$/.test(i.protocol)) ? "no-referrer" : (i.username = "", i.password = "", i.hash = "", o$1 && (i.pathname = "", i.search = ""), i);
3188
+ function Ti(i, o = !1) {
3189
+ return i == null || (i = new URL(i), /^(about|blob|data):$/.test(i.protocol)) ? "no-referrer" : (i.username = "", i.password = "", i.hash = "", o && (i.pathname = "", i.search = ""), i);
3202
3190
  }
3203
3191
  n$1(Ti, "stripURLForUseAsAReferrer");
3204
3192
  const Ci = new Set([
@@ -3219,21 +3207,21 @@ function ll(i) {
3219
3207
  n$1(ll, "validateReferrerPolicy");
3220
3208
  function ul(i) {
3221
3209
  if (/^(http|ws)s:$/.test(i.protocol)) return !0;
3222
- const o$1 = i.host.replace(/(^\[)|(]$)/g, ""), a = isIP(o$1);
3223
- return a === 4 && /^127\./.test(o$1) || a === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(o$1) ? !0 : i.host === "localhost" || i.host.endsWith(".localhost") ? !1 : i.protocol === "file:";
3210
+ const o = i.host.replace(/(^\[)|(]$)/g, ""), a = isIP(o);
3211
+ return a === 4 && /^127\./.test(o) || a === 6 && /^(((0+:){7})|(::(0+:){0,6}))0*1$/.test(o) ? !0 : i.host === "localhost" || i.host.endsWith(".localhost") ? !1 : i.protocol === "file:";
3224
3212
  }
3225
3213
  n$1(ul, "isOriginPotentiallyTrustworthy");
3226
3214
  function ct(i) {
3227
3215
  return /^about:(blank|srcdoc)$/.test(i) || i.protocol === "data:" || /^(blob|filesystem):$/.test(i.protocol) ? !0 : ul(i);
3228
3216
  }
3229
3217
  n$1(ct, "isUrlPotentiallyTrustworthy");
3230
- function fl(i, { referrerURLCallback: o$1, referrerOriginCallback: a } = {}) {
3218
+ function fl(i, { referrerURLCallback: o, referrerOriginCallback: a } = {}) {
3231
3219
  if (i.referrer === "no-referrer" || i.referrerPolicy === "") return null;
3232
3220
  const f$1 = i.referrerPolicy;
3233
3221
  if (i.referrer === "about:client") return "no-referrer";
3234
3222
  const l = i.referrer;
3235
3223
  let p = Ti(l), h = Ti(l, !0);
3236
- p.toString().length > 4096 && (p = h), o$1 && (p = o$1(p)), a && (h = a(h));
3224
+ p.toString().length > 4096 && (p = h), o && (p = o(p)), a && (h = a(h));
3237
3225
  const S = new URL(i.url);
3238
3226
  switch (f$1) {
3239
3227
  case "no-referrer": return "no-referrer";
@@ -3249,28 +3237,28 @@ function fl(i, { referrerURLCallback: o$1, referrerOriginCallback: a } = {}) {
3249
3237
  }
3250
3238
  n$1(fl, "determineRequestsReferrer");
3251
3239
  function cl(i) {
3252
- const o$1 = (i.get("referrer-policy") || "").split(/[,\s]+/);
3240
+ const o = (i.get("referrer-policy") || "").split(/[,\s]+/);
3253
3241
  let a = "";
3254
- for (const f$1 of o$1) f$1 && Ci.has(f$1) && (a = f$1);
3242
+ for (const f$1 of o) f$1 && Ci.has(f$1) && (a = f$1);
3255
3243
  return a;
3256
3244
  }
3257
3245
  n$1(cl, "parseReferrerPolicyFromHeader");
3258
3246
  const $ = Symbol("Request internals"), qt = n$1((i) => typeof i == "object" && typeof i[$] == "object", "isRequest"), dl = deprecate(() => {}, ".data is not a valid RequestInit property, use .body instead", "https://github.com/node-fetch/node-fetch/issues/1000 (request)"), vr = class vr$1 extends xe {
3259
- constructor(o$1, a = {}) {
3247
+ constructor(o, a = {}) {
3260
3248
  let f$1;
3261
- if (qt(o$1) ? f$1 = new URL(o$1.url) : (f$1 = new URL(o$1), o$1 = {}), f$1.username !== "" || f$1.password !== "") throw new TypeError(`${f$1} is an url with embedded credentials.`);
3262
- let l = a.method || o$1.method || "GET";
3263
- if (/^(delete|get|head|options|post|put)$/i.test(l) && (l = l.toUpperCase()), !qt(a) && "data" in a && dl(), (a.body != null || qt(o$1) && o$1.body !== null) && (l === "GET" || l === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body");
3264
- const p = a.body ? a.body : qt(o$1) && o$1.body !== null ? In(o$1) : null;
3265
- super(p, { size: a.size || o$1.size || 0 });
3266
- const h = new ye(a.headers || o$1.headers || {});
3249
+ if (qt(o) ? f$1 = new URL(o.url) : (f$1 = new URL(o), o = {}), f$1.username !== "" || f$1.password !== "") throw new TypeError(`${f$1} is an url with embedded credentials.`);
3250
+ let l = a.method || o.method || "GET";
3251
+ if (/^(delete|get|head|options|post|put)$/i.test(l) && (l = l.toUpperCase()), !qt(a) && "data" in a && dl(), (a.body != null || qt(o) && o.body !== null) && (l === "GET" || l === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body");
3252
+ const p = a.body ? a.body : qt(o) && o.body !== null ? In(o) : null;
3253
+ super(p, { size: a.size || o.size || 0 });
3254
+ const h = new ye(a.headers || o.headers || {});
3267
3255
  if (p !== null && !h.has("Content-Type")) {
3268
3256
  const w = Ri(p, this);
3269
3257
  w && h.set("Content-Type", w);
3270
3258
  }
3271
- let S = qt(o$1) ? o$1.signal : null;
3259
+ let S = qt(o) ? o.signal : null;
3272
3260
  if ("signal" in a && (S = a.signal), S != null && !Ks(S)) throw new TypeError("Expected signal to be an instanceof AbortSignal or EventTarget");
3273
- let v = a.referrer == null ? o$1.referrer : a.referrer;
3261
+ let v = a.referrer == null ? o.referrer : a.referrer;
3274
3262
  if (v === "") v = "no-referrer";
3275
3263
  else if (v) {
3276
3264
  const w = new URL(v);
@@ -3278,12 +3266,12 @@ const $ = Symbol("Request internals"), qt = n$1((i) => typeof i == "object" && t
3278
3266
  } else v = void 0;
3279
3267
  this[$] = {
3280
3268
  method: l,
3281
- redirect: a.redirect || o$1.redirect || "follow",
3269
+ redirect: a.redirect || o.redirect || "follow",
3282
3270
  headers: h,
3283
3271
  parsedURL: f$1,
3284
3272
  signal: S,
3285
3273
  referrer: v
3286
- }, this.follow = a.follow === void 0 ? o$1.follow === void 0 ? 20 : o$1.follow : a.follow, this.compress = a.compress === void 0 ? o$1.compress === void 0 ? !0 : o$1.compress : a.compress, this.counter = a.counter || o$1.counter || 0, this.agent = a.agent || o$1.agent, this.highWaterMark = a.highWaterMark || o$1.highWaterMark || 16384, this.insecureHTTPParser = a.insecureHTTPParser || o$1.insecureHTTPParser || !1, this.referrerPolicy = a.referrerPolicy || o$1.referrerPolicy || "";
3274
+ }, this.follow = a.follow === void 0 ? o.follow === void 0 ? 20 : o.follow : a.follow, this.compress = a.compress === void 0 ? o.compress === void 0 ? !0 : o.compress : a.compress, this.counter = a.counter || o.counter || 0, this.agent = a.agent || o.agent, this.highWaterMark = a.highWaterMark || o.highWaterMark || 16384, this.insecureHTTPParser = a.insecureHTTPParser || o.insecureHTTPParser || !1, this.referrerPolicy = a.referrerPolicy || o.referrerPolicy || "";
3287
3275
  }
3288
3276
  get method() {
3289
3277
  return this[$].method;
@@ -3308,8 +3296,8 @@ const $ = Symbol("Request internals"), qt = n$1((i) => typeof i == "object" && t
3308
3296
  get referrerPolicy() {
3309
3297
  return this[$].referrerPolicy;
3310
3298
  }
3311
- set referrerPolicy(o$1) {
3312
- this[$].referrerPolicy = ll(o$1);
3299
+ set referrerPolicy(o) {
3300
+ this[$].referrerPolicy = ll(o);
3313
3301
  }
3314
3302
  clone() {
3315
3303
  return new vr$1(this);
@@ -3331,7 +3319,7 @@ Object.defineProperties(dt.prototype, {
3331
3319
  referrerPolicy: { enumerable: !0 }
3332
3320
  });
3333
3321
  const hl = n$1((i) => {
3334
- const { parsedURL: o$1 } = i[$], a = new ye(i[$].headers);
3322
+ const { parsedURL: o } = i[$], a = new ye(i[$].headers);
3335
3323
  a.has("Accept") || a.set("Accept", "*/*");
3336
3324
  let f$1 = null;
3337
3325
  if (i.body === null && /^(post|put)$/i.test(i.method) && (f$1 = "0"), i.body !== null) {
@@ -3340,12 +3328,12 @@ const hl = n$1((i) => {
3340
3328
  }
3341
3329
  f$1 && a.set("Content-Length", f$1), i.referrerPolicy === "" && (i.referrerPolicy = sl), i.referrer && i.referrer !== "no-referrer" ? i[$].referrer = fl(i) : i[$].referrer = "no-referrer", i[$].referrer instanceof URL && a.set("Referer", i.referrer), a.has("User-Agent") || a.set("User-Agent", "node-fetch"), i.compress && !a.has("Accept-Encoding") && a.set("Accept-Encoding", "gzip, deflate, br");
3342
3330
  let { agent: l } = i;
3343
- typeof l == "function" && (l = l(o$1));
3344
- const p = al(o$1);
3331
+ typeof l == "function" && (l = l(o));
3332
+ const p = al(o);
3345
3333
  return {
3346
- parsedURL: o$1,
3334
+ parsedURL: o,
3347
3335
  options: {
3348
- path: o$1.pathname + p,
3336
+ path: o.pathname + p,
3349
3337
  method: i.method,
3350
3338
  headers: a[Symbol.for("nodejs.util.inspect.custom")](),
3351
3339
  insecureHTTPParser: i.insecureHTTPParser,
@@ -3353,8 +3341,8 @@ const hl = n$1((i) => {
3353
3341
  }
3354
3342
  };
3355
3343
  }, "getNodeRequestOptions"), Hn = class Hn$1 extends ft {
3356
- constructor(o$1, a = "aborted") {
3357
- super(o$1, a);
3344
+ constructor(o, a = "aborted") {
3345
+ super(o, a);
3358
3346
  }
3359
3347
  };
3360
3348
  n$1(Hn, "AbortError");
@@ -3363,44 +3351,44 @@ let _r = Hn;
3363
3351
  function pl() {
3364
3352
  if (Pi) return Ln;
3365
3353
  if (Pi = 1, !globalThis.DOMException) try {
3366
- const { MessageChannel: i } = __require("node:worker_threads"), o$1 = new i().port1, a = /* @__PURE__ */ new ArrayBuffer();
3367
- o$1.postMessage(a, [a, a]);
3354
+ const { MessageChannel: i } = __require("node:worker_threads"), o = new i().port1, a = /* @__PURE__ */ new ArrayBuffer();
3355
+ o.postMessage(a, [a, a]);
3368
3356
  } catch (i) {
3369
3357
  i.constructor.name === "DOMException" && (globalThis.DOMException = i.constructor);
3370
3358
  }
3371
3359
  return Ln = globalThis.DOMException, Ln;
3372
3360
  }
3373
3361
  n$1(pl, "requireNodeDomexception");
3374
- const ml = f(pl()), { stat: $n } = promises, yl = n$1((i, o$1) => vi(statSync(i), i, o$1), "blobFromSync"), gl = n$1((i, o$1) => $n(i).then((a) => vi(a, i, o$1)), "blobFrom"), _l = n$1((i, o$1) => $n(i).then((a) => Ei(a, i, o$1)), "fileFrom"), Sl = n$1((i, o$1) => Ei(statSync(i), i, o$1), "fileFromSync"), vi = n$1((i, o$1, a = "") => new ut([new Sr({
3375
- path: o$1,
3362
+ const ml = f(pl()), { stat: $n } = promises, yl = n$1((i, o) => vi(statSync(i), i, o), "blobFromSync"), gl = n$1((i, o) => $n(i).then((a) => vi(a, i, o)), "blobFrom"), _l = n$1((i, o) => $n(i).then((a) => Ei(a, i, o)), "fileFrom"), Sl = n$1((i, o) => Ei(statSync(i), i, o), "fileFromSync"), vi = n$1((i, o, a = "") => new ut([new Sr({
3363
+ path: o,
3376
3364
  size: i.size,
3377
3365
  lastModified: i.mtimeMs,
3378
3366
  start: 0
3379
- })], { type: a }), "fromBlob"), Ei = n$1((i, o$1, a = "") => new qn([new Sr({
3380
- path: o$1,
3367
+ })], { type: a }), "fromBlob"), Ei = n$1((i, o, a = "") => new qn([new Sr({
3368
+ path: o,
3381
3369
  size: i.size,
3382
3370
  lastModified: i.mtimeMs,
3383
3371
  start: 0
3384
- })], basename(o$1), {
3372
+ })], basename(o), {
3385
3373
  type: a,
3386
3374
  lastModified: i.mtimeMs
3387
3375
  }), "fromFile"), Er = class Er$1 {
3388
- constructor(o$1) {
3376
+ constructor(o) {
3389
3377
  be(this, He);
3390
3378
  be(this, Ve);
3391
- X(this, He, o$1.path), X(this, Ve, o$1.start), this.size = o$1.size, this.lastModified = o$1.lastModified;
3379
+ X(this, He, o.path), X(this, Ve, o.start), this.size = o.size, this.lastModified = o.lastModified;
3392
3380
  }
3393
- slice(o$1, a) {
3381
+ slice(o, a) {
3394
3382
  return new Er$1({
3395
3383
  path: O(this, He),
3396
3384
  lastModified: this.lastModified,
3397
- size: a - o$1,
3398
- start: O(this, Ve) + o$1
3385
+ size: a - o,
3386
+ start: O(this, Ve) + o
3399
3387
  });
3400
3388
  }
3401
3389
  async *stream() {
3402
- const { mtimeMs: o$1 } = await $n(O(this, He));
3403
- if (o$1 > this.lastModified) throw new ml("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.", "NotReadableError");
3390
+ const { mtimeMs: o } = await $n(O(this, He));
3391
+ if (o > this.lastModified) throw new ml("The requested file could not be read, typically due to permission problems that have occurred after a reference to a file was acquired.", "NotReadableError");
3404
3392
  yield* createReadStream(O(this, He), {
3405
3393
  start: O(this, Ve),
3406
3394
  end: O(this, Ve) + this.size - 1
@@ -3417,9 +3405,9 @@ const wl = new Set([
3417
3405
  "http:",
3418
3406
  "https:"
3419
3407
  ]);
3420
- async function Ai(i, o$1) {
3408
+ async function Ai(i, o) {
3421
3409
  return new Promise((a, f$1) => {
3422
- const l = new dt(i, o$1), { parsedURL: p, options: h } = hl(l);
3410
+ const l = new dt(i, o), { parsedURL: p, options: h } = hl(l);
3423
3411
  if (!wl.has(p.protocol)) throw new TypeError(`node-fetch cannot load ${i}. URL scheme "${p.protocol.replace(/:$/, "")}" is not supported.`);
3424
3412
  if (p.protocol === "data:") {
3425
3413
  const g = Us(l.url);
@@ -3501,7 +3489,7 @@ async function Ai(i, o$1) {
3501
3489
  "cookie",
3502
3490
  "cookie2"
3503
3491
  ]) U.headers.delete(jt);
3504
- if (g.statusCode !== 303 && l.body && o$1.body instanceof me.Readable) {
3492
+ if (g.statusCode !== 303 && l.body && o.body instanceof me.Readable) {
3505
3493
  f$1(new G("Cannot follow redirect with body being a readable stream", "unsupported-redirect")), q();
3506
3494
  return;
3507
3495
  }
@@ -3569,7 +3557,7 @@ async function Ai(i, o$1) {
3569
3557
  });
3570
3558
  }
3571
3559
  n$1(Ai, "fetch$1");
3572
- function Rl(i, o$1) {
3560
+ function Rl(i, o) {
3573
3561
  const a = Buffer$1.from(`0\r
3574
3562
  \r
3575
3563
  `);
@@ -3581,7 +3569,7 @@ function Rl(i, o$1) {
3581
3569
  const S = n$1(() => {
3582
3570
  if (f$1 && !l) {
3583
3571
  const w = /* @__PURE__ */ new Error("Premature close");
3584
- w.code = "ERR_STREAM_PREMATURE_CLOSE", o$1(w);
3572
+ w.code = "ERR_STREAM_PREMATURE_CLOSE", o(w);
3585
3573
  }
3586
3574
  }, "onSocketClose"), v = n$1((w) => {
3587
3575
  l = Buffer$1.compare(w.slice(-5), a) === 0, !l && p && (l = Buffer$1.compare(p.slice(-3), a.slice(0, 3)) === 0 && Buffer$1.compare(w.slice(-2), a.slice(3)) === 0), p = w;
@@ -3594,8 +3582,8 @@ function Rl(i, o$1) {
3594
3582
  n$1(Rl, "fixResponseChunkedTransferBadEnding");
3595
3583
  const Bi = /* @__PURE__ */ new WeakMap(), Dn = /* @__PURE__ */ new WeakMap();
3596
3584
  function W(i) {
3597
- const o$1 = Bi.get(i);
3598
- return console.assert(o$1 != null, "'this' is expected an Event object, but got", i), o$1;
3585
+ const o = Bi.get(i);
3586
+ return console.assert(o != null, "'this' is expected an Event object, but got", i), o;
3599
3587
  }
3600
3588
  n$1(W, "pd");
3601
3589
  function ki(i) {
@@ -3606,22 +3594,22 @@ function ki(i) {
3606
3594
  i.event.cancelable && (i.canceled = !0, typeof i.event.preventDefault == "function" && i.event.preventDefault());
3607
3595
  }
3608
3596
  n$1(ki, "setCancelFlag");
3609
- function ht(i, o$1) {
3597
+ function ht(i, o) {
3610
3598
  Bi.set(this, {
3611
3599
  eventTarget: i,
3612
- event: o$1,
3600
+ event: o,
3613
3601
  eventPhase: 2,
3614
3602
  currentTarget: i,
3615
3603
  canceled: !1,
3616
3604
  stopped: !1,
3617
3605
  immediateStopped: !1,
3618
3606
  passiveListener: null,
3619
- timeStamp: o$1.timeStamp || Date.now()
3607
+ timeStamp: o.timeStamp || Date.now()
3620
3608
  }), Object.defineProperty(this, "isTrusted", {
3621
3609
  value: !1,
3622
3610
  enumerable: !0
3623
3611
  });
3624
- const a = Object.keys(o$1);
3612
+ const a = Object.keys(o);
3625
3613
  for (let f$1 = 0; f$1 < a.length; ++f$1) {
3626
3614
  const l = a[f$1];
3627
3615
  l in this || Object.defineProperty(this, l, Wi(l));
@@ -3690,8 +3678,8 @@ n$1(ht, "Event"), ht.prototype = {
3690
3678
  },
3691
3679
  set cancelBubble(i) {
3692
3680
  if (!i) return;
3693
- const o$1 = W(this);
3694
- o$1.stopped = !0, typeof o$1.event.cancelBubble == "boolean" && (o$1.event.cancelBubble = !0);
3681
+ const o = W(this);
3682
+ o.stopped = !0, typeof o.event.cancelBubble == "boolean" && (o.event.cancelBubble = !0);
3695
3683
  },
3696
3684
  get returnValue() {
3697
3685
  return !W(this).canceled;
@@ -3710,8 +3698,8 @@ function Wi(i) {
3710
3698
  get() {
3711
3699
  return W(this).event[i];
3712
3700
  },
3713
- set(o$1) {
3714
- W(this).event[i] = o$1;
3701
+ set(o) {
3702
+ W(this).event[i] = o;
3715
3703
  },
3716
3704
  configurable: !0,
3717
3705
  enumerable: !0
@@ -3721,16 +3709,16 @@ n$1(Wi, "defineRedirectDescriptor");
3721
3709
  function Tl(i) {
3722
3710
  return {
3723
3711
  value() {
3724
- const o$1 = W(this).event;
3725
- return o$1[i].apply(o$1, arguments);
3712
+ const o = W(this).event;
3713
+ return o[i].apply(o, arguments);
3726
3714
  },
3727
3715
  configurable: !0,
3728
3716
  enumerable: !0
3729
3717
  };
3730
3718
  }
3731
3719
  n$1(Tl, "defineCallDescriptor");
3732
- function Cl(i, o$1) {
3733
- const a = Object.keys(o$1);
3720
+ function Cl(i, o) {
3721
+ const a = Object.keys(o);
3734
3722
  if (a.length === 0) return i;
3735
3723
  function f$1(l, p) {
3736
3724
  i.call(this, l, p);
@@ -3743,7 +3731,7 @@ function Cl(i, o$1) {
3743
3731
  for (let l = 0; l < a.length; ++l) {
3744
3732
  const p = a[l];
3745
3733
  if (!(p in i.prototype)) {
3746
- const S = typeof Object.getOwnPropertyDescriptor(o$1, p).value == "function";
3734
+ const S = typeof Object.getOwnPropertyDescriptor(o, p).value == "function";
3747
3735
  Object.defineProperty(f$1.prototype, p, S ? Tl(p) : Wi(p));
3748
3736
  }
3749
3737
  }
@@ -3752,28 +3740,28 @@ function Cl(i, o$1) {
3752
3740
  n$1(Cl, "defineWrapper");
3753
3741
  function qi(i) {
3754
3742
  if (i == null || i === Object.prototype) return ht;
3755
- let o$1 = Dn.get(i);
3756
- return o$1 ?? (o$1 = Cl(qi(Object.getPrototypeOf(i)), i), Dn.set(i, o$1)), o$1;
3743
+ let o = Dn.get(i);
3744
+ return o ?? (o = Cl(qi(Object.getPrototypeOf(i)), i), Dn.set(i, o)), o;
3757
3745
  }
3758
3746
  n$1(qi, "getWrapper");
3759
- function Pl(i, o$1) {
3760
- return new (qi(Object.getPrototypeOf(o$1)))(i, o$1);
3747
+ function Pl(i, o) {
3748
+ return new (qi(Object.getPrototypeOf(o)))(i, o);
3761
3749
  }
3762
3750
  n$1(Pl, "wrapEvent");
3763
3751
  function vl(i) {
3764
3752
  return W(i).immediateStopped;
3765
3753
  }
3766
3754
  n$1(vl, "isStopped");
3767
- function El(i, o$1) {
3768
- W(i).eventPhase = o$1;
3755
+ function El(i, o) {
3756
+ W(i).eventPhase = o;
3769
3757
  }
3770
3758
  n$1(El, "setEventPhase");
3771
- function Al(i, o$1) {
3772
- W(i).currentTarget = o$1;
3759
+ function Al(i, o) {
3760
+ W(i).currentTarget = o;
3773
3761
  }
3774
3762
  n$1(Al, "setCurrentTarget");
3775
- function Oi(i, o$1) {
3776
- W(i).passiveListener = o$1;
3763
+ function Oi(i, o) {
3764
+ W(i).passiveListener = o;
3777
3765
  }
3778
3766
  n$1(Oi, "setPassiveListener");
3779
3767
  const zi = /* @__PURE__ */ new WeakMap(), Ii = 1, Fi = 2, wr = 3;
@@ -3782,9 +3770,9 @@ function Rr(i) {
3782
3770
  }
3783
3771
  n$1(Rr, "isObject");
3784
3772
  function Ot(i) {
3785
- const o$1 = zi.get(i);
3786
- if (o$1 == null) throw new TypeError("'this' is expected an EventTarget object, but got another value.");
3787
- return o$1;
3773
+ const o = zi.get(i);
3774
+ if (o == null) throw new TypeError("'this' is expected an EventTarget object, but got another value.");
3775
+ return o;
3788
3776
  }
3789
3777
  n$1(Ot, "getListeners");
3790
3778
  function Bl(i) {
@@ -3797,14 +3785,14 @@ function Bl(i) {
3797
3785
  }
3798
3786
  return null;
3799
3787
  },
3800
- set(o$1) {
3801
- typeof o$1 != "function" && !Rr(o$1) && (o$1 = null);
3788
+ set(o) {
3789
+ typeof o != "function" && !Rr(o) && (o = null);
3802
3790
  const a = Ot(this);
3803
3791
  let f$1 = null, l = a.get(i);
3804
3792
  for (; l != null;) l.listenerType === wr ? f$1 !== null ? f$1.next = l.next : l.next !== null ? a.set(i, l.next) : a.delete(i) : f$1 = l, l = l.next;
3805
- if (o$1 !== null) {
3793
+ if (o !== null) {
3806
3794
  const p = {
3807
- listener: o$1,
3795
+ listener: o,
3808
3796
  listenerType: wr,
3809
3797
  passive: !1,
3810
3798
  once: !1,
@@ -3818,21 +3806,21 @@ function Bl(i) {
3818
3806
  };
3819
3807
  }
3820
3808
  n$1(Bl, "defineEventAttributeDescriptor");
3821
- function ji(i, o$1) {
3822
- Object.defineProperty(i, `on${o$1}`, Bl(o$1));
3809
+ function ji(i, o) {
3810
+ Object.defineProperty(i, `on${o}`, Bl(o));
3823
3811
  }
3824
3812
  n$1(ji, "defineEventAttribute");
3825
3813
  function Li(i) {
3826
- function o$1() {
3814
+ function o() {
3827
3815
  Pe.call(this);
3828
3816
  }
3829
- n$1(o$1, "CustomEventTarget"), o$1.prototype = Object.create(Pe.prototype, { constructor: {
3830
- value: o$1,
3817
+ n$1(o, "CustomEventTarget"), o.prototype = Object.create(Pe.prototype, { constructor: {
3818
+ value: o,
3831
3819
  configurable: !0,
3832
3820
  writable: !0
3833
3821
  } });
3834
- for (let a = 0; a < i.length; ++a) ji(o$1.prototype, i[a]);
3835
- return o$1;
3822
+ for (let a = 0; a < i.length; ++a) ji(o.prototype, i[a]);
3823
+ return o;
3836
3824
  }
3837
3825
  n$1(Li, "defineCustomEventTarget");
3838
3826
  function Pe() {
@@ -3843,17 +3831,17 @@ function Pe() {
3843
3831
  if (arguments.length === 1 && Array.isArray(arguments[0])) return Li(arguments[0]);
3844
3832
  if (arguments.length > 0) {
3845
3833
  const i = new Array(arguments.length);
3846
- for (let o$1 = 0; o$1 < arguments.length; ++o$1) i[o$1] = arguments[o$1];
3834
+ for (let o = 0; o < arguments.length; ++o) i[o] = arguments[o];
3847
3835
  return Li(i);
3848
3836
  }
3849
3837
  throw new TypeError("Cannot call a class as a function");
3850
3838
  }
3851
3839
  n$1(Pe, "EventTarget"), Pe.prototype = {
3852
- addEventListener(i, o$1, a) {
3853
- if (o$1 == null) return;
3854
- if (typeof o$1 != "function" && !Rr(o$1)) throw new TypeError("'listener' should be a function or an object.");
3840
+ addEventListener(i, o, a) {
3841
+ if (o == null) return;
3842
+ if (typeof o != "function" && !Rr(o)) throw new TypeError("'listener' should be a function or an object.");
3855
3843
  const f$1 = Ot(this), l = Rr(a), h = (l ? !!a.capture : !!a) ? Ii : Fi, S = {
3856
- listener: o$1,
3844
+ listener: o,
3857
3845
  listenerType: h,
3858
3846
  passive: l && !!a.passive,
3859
3847
  once: l && !!a.once,
@@ -3866,17 +3854,17 @@ n$1(Pe, "EventTarget"), Pe.prototype = {
3866
3854
  }
3867
3855
  let w = null;
3868
3856
  for (; v != null;) {
3869
- if (v.listener === o$1 && v.listenerType === h) return;
3857
+ if (v.listener === o && v.listenerType === h) return;
3870
3858
  w = v, v = v.next;
3871
3859
  }
3872
3860
  w.next = S;
3873
3861
  },
3874
- removeEventListener(i, o$1, a) {
3875
- if (o$1 == null) return;
3862
+ removeEventListener(i, o, a) {
3863
+ if (o == null) return;
3876
3864
  const f$1 = Ot(this), p = (Rr(a) ? !!a.capture : !!a) ? Ii : Fi;
3877
3865
  let h = null, S = f$1.get(i);
3878
3866
  for (; S != null;) {
3879
- if (S.listener === o$1 && S.listenerType === p) {
3867
+ if (S.listener === o && S.listenerType === p) {
3880
3868
  h !== null ? h.next = S.next : S.next !== null ? f$1.set(i, S.next) : f$1.delete(i);
3881
3869
  return;
3882
3870
  }
@@ -3885,13 +3873,13 @@ n$1(Pe, "EventTarget"), Pe.prototype = {
3885
3873
  },
3886
3874
  dispatchEvent(i) {
3887
3875
  if (i == null || typeof i.type != "string") throw new TypeError("\"event.type\" should be a string.");
3888
- const o$1 = Ot(this), a = i.type;
3889
- let f$1 = o$1.get(a);
3876
+ const o = Ot(this), a = i.type;
3877
+ let f$1 = o.get(a);
3890
3878
  if (f$1 == null) return !0;
3891
3879
  const l = Pl(this, i);
3892
3880
  let p = null;
3893
3881
  for (; f$1 != null;) {
3894
- if (f$1.once ? p !== null ? p.next = f$1.next : f$1.next !== null ? o$1.set(a, f$1.next) : o$1.delete(a) : p = f$1, Oi(l, f$1.passive ? f$1.listener : null), typeof f$1.listener == "function") try {
3882
+ if (f$1.once ? p !== null ? p.next = f$1.next : f$1.next !== null ? o.set(a, f$1.next) : o.delete(a) : p = f$1, Oi(l, f$1.passive ? f$1.listener : null), typeof f$1.listener == "function") try {
3895
3883
  f$1.listener.call(this, l);
3896
3884
  } catch (h) {
3897
3885
  typeof console < "u" && typeof console.error == "function" && console.error(h);
@@ -3912,9 +3900,9 @@ const Vn = class Vn$1 extends Pe {
3912
3900
  throw super(), /* @__PURE__ */ new TypeError("AbortSignal cannot be constructed directly");
3913
3901
  }
3914
3902
  get aborted() {
3915
- const o$1 = Tr.get(this);
3916
- if (typeof o$1 != "boolean") throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? "null" : typeof this}`);
3917
- return o$1;
3903
+ const o = Tr.get(this);
3904
+ if (typeof o != "boolean") throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? "null" : typeof this}`);
3905
+ return o;
3918
3906
  }
3919
3907
  };
3920
3908
  n$1(Vn, "AbortSignal");
@@ -3947,9 +3935,9 @@ let Mn = (gt = class {
3947
3935
  }, n$1(gt, "AbortController"), gt);
3948
3936
  const $i = /* @__PURE__ */ new WeakMap();
3949
3937
  function Di(i) {
3950
- const o$1 = $i.get(i);
3951
- if (o$1 == null) throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${i === null ? "null" : typeof i}`);
3952
- return o$1;
3938
+ const o = $i.get(i);
3939
+ if (o == null) throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${i === null ? "null" : typeof i}`);
3940
+ return o;
3953
3941
  }
3954
3942
  n$1(Di, "getSignal"), Object.defineProperties(Mn.prototype, {
3955
3943
  signal: { enumerable: !0 },
@@ -3958,8 +3946,8 @@ n$1(Di, "getSignal"), Object.defineProperties(Mn.prototype, {
3958
3946
  configurable: !0,
3959
3947
  value: "AbortController"
3960
3948
  });
3961
- var ql = Object.defineProperty, Ol = n$1((i, o$1) => ql(i, "name", {
3962
- value: o$1,
3949
+ var ql = Object.defineProperty, Ol = n$1((i, o) => ql(i, "name", {
3950
+ value: o,
3963
3951
  configurable: !0
3964
3952
  }), "e");
3965
3953
  const Mi = Ai;
@@ -3970,5 +3958,5 @@ function Ui() {
3970
3958
  n$1(Ui, "s"), Ol(Ui, "checkNodeEnvironment");
3971
3959
 
3972
3960
  //#endregion
3973
- export { le as a, ye as c, dt as i, Mn as n, qn as o, br as r, ut as s, Mi as t };
3974
- //# sourceMappingURL=node-FGT1CWpL.mjs.map
3961
+ export { G, Mi, Mn, _r, br, dt, jn, le, qn, ut, ye };
3962
+ //# sourceMappingURL=node.mjs.map