@powerlines/plugin-env 0.16.60 → 0.16.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -16
- package/dist/_virtual/{rolldown_runtime.cjs → _rolldown/runtime.cjs} +1 -3
- package/dist/_virtual/{rolldown_runtime.mjs → _rolldown/runtime.mjs} +2 -3
- package/dist/babel/index.cjs +1 -0
- package/dist/babel/plugin.cjs +20 -19
- package/dist/babel/plugin.d.cts +0 -1
- package/dist/babel/plugin.d.cts.map +1 -1
- package/dist/babel/plugin.d.mts +0 -1
- package/dist/babel/plugin.d.mts.map +1 -1
- package/dist/babel/plugin.mjs +3 -3
- package/dist/babel/plugin.mjs.map +1 -1
- package/dist/components/docs.cjs +26 -25
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts.map +1 -1
- package/dist/components/docs.mjs +1 -1
- package/dist/components/env-builtin.cjs +155 -153
- package/dist/components/env-builtin.d.cts +0 -1
- package/dist/components/env-builtin.d.cts.map +1 -1
- package/dist/components/env-builtin.d.mts +0 -1
- package/dist/components/env-builtin.d.mts.map +1 -1
- package/dist/components/env-builtin.mjs +1 -1
- package/dist/components/index.cjs +1 -0
- package/dist/helpers/automd-generator.cjs +4 -3
- package/dist/helpers/automd-generator.d.cts +2 -3
- package/dist/helpers/automd-generator.d.cts.map +1 -1
- package/dist/helpers/automd-generator.d.mts +2 -3
- package/dist/helpers/automd-generator.d.mts.map +1 -1
- package/dist/helpers/automd-generator.mjs +1 -1
- package/dist/helpers/automd-generator.mjs.map +1 -1
- package/dist/helpers/create-reflection-resource.cjs +1 -0
- package/dist/helpers/create-reflection-resource.d.cts +0 -1
- package/dist/helpers/create-reflection-resource.d.cts.map +1 -1
- package/dist/helpers/create-reflection-resource.d.mts +0 -1
- package/dist/helpers/create-reflection-resource.d.mts.map +1 -1
- package/dist/helpers/create-reflection-resource.mjs.map +1 -1
- package/dist/helpers/docs-helper.cjs +4 -2
- package/dist/helpers/docs-helper.d.cts +0 -1
- package/dist/helpers/docs-helper.d.cts.map +1 -1
- package/dist/helpers/docs-helper.d.mts +0 -1
- package/dist/helpers/docs-helper.d.mts.map +1 -1
- package/dist/helpers/docs-helper.mjs +1 -1
- package/dist/helpers/docs-helper.mjs.map +1 -1
- package/dist/helpers/index.cjs +1 -0
- package/dist/helpers/load.cjs +19 -17
- package/dist/helpers/load.d.cts +0 -1
- package/dist/helpers/load.d.cts.map +1 -1
- package/dist/helpers/load.d.mts +0 -1
- package/dist/helpers/load.d.mts.map +1 -1
- package/dist/helpers/load.mjs +2 -2
- package/dist/helpers/load.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +59 -58
- package/dist/helpers/persistence.d.cts +0 -1
- package/dist/helpers/persistence.d.cts.map +1 -1
- package/dist/helpers/persistence.d.mts +0 -1
- package/dist/helpers/persistence.d.mts.map +1 -1
- package/dist/helpers/persistence.mjs +15 -15
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/reflect.cjs +40 -39
- package/dist/helpers/reflect.d.cts.map +1 -1
- package/dist/helpers/reflect.d.mts.map +1 -1
- package/dist/helpers/reflect.mjs +2 -2
- package/dist/helpers/reflect.mjs.map +1 -1
- package/dist/helpers/source-file-env.cjs +8 -7
- package/dist/helpers/source-file-env.d.cts.map +1 -1
- package/dist/helpers/source-file-env.d.mts.map +1 -1
- package/dist/helpers/source-file-env.mjs.map +1 -1
- package/dist/helpers/template-helpers.cjs +6 -5
- package/dist/helpers/template-helpers.d.cts +0 -1
- package/dist/helpers/template-helpers.d.cts.map +1 -1
- package/dist/helpers/template-helpers.d.mts +0 -1
- package/dist/helpers/template-helpers.d.mts.map +1 -1
- package/dist/helpers/template-helpers.mjs.map +1 -1
- package/dist/index.cjs +49 -49
- package/dist/index.d.cts +0 -1
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +5 -6
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.cjs +7 -7
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs +6 -6
- package/dist/node_modules/.pnpm/c12@3.3.3_magicast@0.5.2/node_modules/c12/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.cjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs +6 -6
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/_format.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/json.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.cjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs +655 -655
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/js-yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.cjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs +179 -179
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.cjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs +188 -188
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/jsonc-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.cjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs +297 -297
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/libs/smol-toml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.cjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs +8 -8
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/_chunks/rolldown-runtime.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs +4 -4
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/json5.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.cjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs +3 -3
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/jsonc.mjs.map +1 -1
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.cjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs +2 -2
- package/dist/node_modules/.pnpm/confbox@0.2.4/node_modules/confbox/dist/yaml.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.cjs +5 -5
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs +4 -4
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/lib/main.mjs.map +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.cjs +2 -2
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs +1 -1
- package/dist/node_modules/.pnpm/dotenv@17.3.1/node_modules/dotenv/package.mjs.map +1 -1
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.cjs +18 -18
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs +2 -2
- package/dist/node_modules/.pnpm/exsolve@1.0.8/node_modules/exsolve/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.cjs +1308 -1311
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs +1294 -1297
- package/dist/node_modules/.pnpm/giget@2.0.0/node_modules/giget/dist/shared/giget.OCaTp9b-.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.cjs +2194 -2194
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs +2193 -2193
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/dist/jiti.mjs.map +1 -1
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.cjs +3 -3
- package/dist/node_modules/.pnpm/jiti@2.6.1/node_modules/jiti/lib/jiti.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.cjs +3 -3
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/chunks/multipart-parser.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/index.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.cjs +34 -34
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs +33 -33
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/node.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs +221 -223
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs +220 -222
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.mjs.map +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/shared/node-fetch-native.DhEqb06g.mjs +1 -1
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.cjs +2 -2
- package/dist/node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/lib/index.mjs +1 -1
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.cjs +3 -3
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/nypm@0.6.5/node_modules/nypm/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/ohash@2.0.11/node_modules/ohash/dist/crypto/node/index.cjs +1 -1
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.cjs +6 -6
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs +5 -5
- package/dist/node_modules/.pnpm/pkg-types@2.3.0/node_modules/pkg-types/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.cjs +10 -10
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs +16 -16
- package/dist/node_modules/.pnpm/rc9@2.1.2/node_modules/rc9/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.cjs +412 -412
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs +189 -189
- package/dist/node_modules/.pnpm/tinyexec@1.0.2/node_modules/tinyexec/dist/main.mjs.map +1 -1
- package/dist/types/index.cjs +1 -0
- package/dist/types/plugin.cjs +20 -19
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/types/plugin.mjs.map +1 -1
- package/dist/types/runtime.cjs +1 -0
- package/dist/types/runtime.d.cts.map +1 -1
- package/dist/types/runtime.d.mts.map +1 -1
- package/dist/types/runtime.mjs.map +1 -1
- package/package.json +45 -26
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.cjs +0 -37
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs +0 -38
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/parse-type-definition.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/to-array.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/get-object-tag.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.cjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/index.mjs +0 -5
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.cjs +0 -6
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs +0 -7
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-buffer.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.cjs +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-collection.mjs +0 -3
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.cjs +0 -19
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs +0 -20
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.cjs +0 -63
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs +0 -64
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-plain-object.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/is-string.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs +0 -17
- package/dist/node_modules/.pnpm/@stryke_convert@0.6.53/node_modules/@stryke/convert/dist/type-checks/src/type-detect.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.cjs +0 -32
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs +0 -33
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-parent-path.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.cjs +0 -28
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs +0 -29
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/is-type.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.cjs +0 -122
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs +0 -123
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/join-paths.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.cjs +0 -12
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs +0 -9
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/regex.mjs.map +0 -1
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.cjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs +0 -15
- package/dist/node_modules/.pnpm/@stryke_path@0.26.19/node_modules/@stryke/path/dist/slash.mjs.map +0 -1
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.cjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs +0 -43
- package/dist/node_modules/.pnpm/defu@6.1.4/node_modules/defu/dist/defu.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
|
|
4
4
|
const require_node_fetch_native_DhEqb06g$1 = require('./shared/node-fetch-native.DhEqb06g.cjs');
|
|
5
5
|
const require_index = require('../lib/index.cjs');
|
|
6
6
|
|
|
7
7
|
//#region ../../node_modules/.pnpm/node-fetch-native@1.6.7/node_modules/node-fetch-native/dist/proxy.cjs
|
|
8
|
-
var require_proxy = /* @__PURE__ */
|
|
8
|
+
var require_proxy = /* @__PURE__ */ require_runtime.__commonJSMin(((exports) => {
|
|
9
9
|
var Ye = Object.defineProperty;
|
|
10
10
|
var Re = (A) => {
|
|
11
11
|
throw TypeError(A);
|
|
@@ -110,161 +110,161 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
110
110
|
function requireErrors() {
|
|
111
111
|
if (hasRequiredErrors) return errors;
|
|
112
112
|
hasRequiredErrors = 1;
|
|
113
|
-
const M = class M
|
|
113
|
+
const M = class M extends Error {
|
|
114
114
|
constructor(oA) {
|
|
115
115
|
super(oA), this.name = "UndiciError", this.code = "UND_ERR";
|
|
116
116
|
}
|
|
117
117
|
};
|
|
118
118
|
e(M, "UndiciError");
|
|
119
119
|
let A = M;
|
|
120
|
-
const Y = class Y
|
|
120
|
+
const Y = class Y extends A {
|
|
121
121
|
constructor(oA) {
|
|
122
122
|
super(oA), this.name = "ConnectTimeoutError", this.message = oA || "Connect Timeout Error", this.code = "UND_ERR_CONNECT_TIMEOUT";
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
e(Y, "ConnectTimeoutError");
|
|
126
126
|
let k = Y;
|
|
127
|
-
const m = class m
|
|
127
|
+
const m = class m extends A {
|
|
128
128
|
constructor(oA) {
|
|
129
129
|
super(oA), this.name = "HeadersTimeoutError", this.message = oA || "Headers Timeout Error", this.code = "UND_ERR_HEADERS_TIMEOUT";
|
|
130
130
|
}
|
|
131
131
|
};
|
|
132
132
|
e(m, "HeadersTimeoutError");
|
|
133
133
|
let c = m;
|
|
134
|
-
const f = class f
|
|
134
|
+
const f = class f extends A {
|
|
135
135
|
constructor(oA) {
|
|
136
136
|
super(oA), this.name = "HeadersOverflowError", this.message = oA || "Headers Overflow Error", this.code = "UND_ERR_HEADERS_OVERFLOW";
|
|
137
137
|
}
|
|
138
138
|
};
|
|
139
139
|
e(f, "HeadersOverflowError");
|
|
140
140
|
let B = f;
|
|
141
|
-
const n = class n
|
|
141
|
+
const n = class n extends A {
|
|
142
142
|
constructor(oA) {
|
|
143
143
|
super(oA), this.name = "BodyTimeoutError", this.message = oA || "Body Timeout Error", this.code = "UND_ERR_BODY_TIMEOUT";
|
|
144
144
|
}
|
|
145
145
|
};
|
|
146
146
|
e(n, "BodyTimeoutError");
|
|
147
147
|
let t = n;
|
|
148
|
-
const C = class C
|
|
148
|
+
const C = class C extends A {
|
|
149
149
|
constructor(oA, aA, EA, sA) {
|
|
150
150
|
super(oA), this.name = "ResponseStatusCodeError", this.message = oA || "Response Status Code Error", this.code = "UND_ERR_RESPONSE_STATUS_CODE", this.body = sA, this.status = aA, this.statusCode = aA, this.headers = EA;
|
|
151
151
|
}
|
|
152
152
|
};
|
|
153
153
|
e(C, "ResponseStatusCodeError");
|
|
154
154
|
let y = C;
|
|
155
|
-
const w = class w
|
|
155
|
+
const w = class w extends A {
|
|
156
156
|
constructor(oA) {
|
|
157
157
|
super(oA), this.name = "InvalidArgumentError", this.message = oA || "Invalid Argument Error", this.code = "UND_ERR_INVALID_ARG";
|
|
158
158
|
}
|
|
159
159
|
};
|
|
160
160
|
e(w, "InvalidArgumentError");
|
|
161
161
|
let R = w;
|
|
162
|
-
const S = class S
|
|
162
|
+
const S = class S extends A {
|
|
163
163
|
constructor(oA) {
|
|
164
164
|
super(oA), this.name = "InvalidReturnValueError", this.message = oA || "Invalid Return Value Error", this.code = "UND_ERR_INVALID_RETURN_VALUE";
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
167
|
e(S, "InvalidReturnValueError");
|
|
168
168
|
let F = S;
|
|
169
|
-
const x = class x
|
|
169
|
+
const x = class x extends A {
|
|
170
170
|
constructor(oA) {
|
|
171
171
|
super(oA), this.name = "AbortError", this.message = oA || "The operation was aborted";
|
|
172
172
|
}
|
|
173
173
|
};
|
|
174
174
|
e(x, "AbortError");
|
|
175
175
|
let Q = x;
|
|
176
|
-
const z = class z
|
|
176
|
+
const z = class z extends Q {
|
|
177
177
|
constructor(oA) {
|
|
178
178
|
super(oA), this.name = "AbortError", this.message = oA || "Request aborted", this.code = "UND_ERR_ABORTED";
|
|
179
179
|
}
|
|
180
180
|
};
|
|
181
181
|
e(z, "RequestAbortedError");
|
|
182
182
|
let D = z;
|
|
183
|
-
const $ = class
|
|
183
|
+
const $ = class $ extends A {
|
|
184
184
|
constructor(oA) {
|
|
185
185
|
super(oA), this.name = "InformationalError", this.message = oA || "Request information", this.code = "UND_ERR_INFO";
|
|
186
186
|
}
|
|
187
187
|
};
|
|
188
188
|
e($, "InformationalError");
|
|
189
189
|
let U = $;
|
|
190
|
-
const K = class K
|
|
190
|
+
const K = class K extends A {
|
|
191
191
|
constructor(oA) {
|
|
192
192
|
super(oA), this.name = "RequestContentLengthMismatchError", this.message = oA || "Request body length does not match content-length header", this.code = "UND_ERR_REQ_CONTENT_LENGTH_MISMATCH";
|
|
193
193
|
}
|
|
194
194
|
};
|
|
195
195
|
e(K, "RequestContentLengthMismatchError");
|
|
196
196
|
let r = K;
|
|
197
|
-
const nA = class nA
|
|
197
|
+
const nA = class nA extends A {
|
|
198
198
|
constructor(oA) {
|
|
199
199
|
super(oA), this.name = "ResponseContentLengthMismatchError", this.message = oA || "Response body length does not match content-length header", this.code = "UND_ERR_RES_CONTENT_LENGTH_MISMATCH";
|
|
200
200
|
}
|
|
201
201
|
};
|
|
202
202
|
e(nA, "ResponseContentLengthMismatchError");
|
|
203
203
|
let o = nA;
|
|
204
|
-
const iA = class iA
|
|
204
|
+
const iA = class iA extends A {
|
|
205
205
|
constructor(oA) {
|
|
206
206
|
super(oA), this.name = "ClientDestroyedError", this.message = oA || "The client is destroyed", this.code = "UND_ERR_DESTROYED";
|
|
207
207
|
}
|
|
208
208
|
};
|
|
209
209
|
e(iA, "ClientDestroyedError");
|
|
210
210
|
let N = iA;
|
|
211
|
-
const uA = class uA
|
|
211
|
+
const uA = class uA extends A {
|
|
212
212
|
constructor(oA) {
|
|
213
213
|
super(oA), this.name = "ClientClosedError", this.message = oA || "The client is closed", this.code = "UND_ERR_CLOSED";
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
e(uA, "ClientClosedError");
|
|
217
217
|
let l = uA;
|
|
218
|
-
const RA = class RA
|
|
218
|
+
const RA = class RA extends A {
|
|
219
219
|
constructor(oA, aA) {
|
|
220
220
|
super(oA), this.name = "SocketError", this.message = oA || "Socket error", this.code = "UND_ERR_SOCKET", this.socket = aA;
|
|
221
221
|
}
|
|
222
222
|
};
|
|
223
223
|
e(RA, "SocketError");
|
|
224
224
|
let I = RA;
|
|
225
|
-
const IA = class IA
|
|
225
|
+
const IA = class IA extends A {
|
|
226
226
|
constructor(oA) {
|
|
227
227
|
super(oA), this.name = "NotSupportedError", this.message = oA || "Not supported error", this.code = "UND_ERR_NOT_SUPPORTED";
|
|
228
228
|
}
|
|
229
229
|
};
|
|
230
230
|
e(IA, "NotSupportedError");
|
|
231
231
|
let p = IA;
|
|
232
|
-
const CA = class CA
|
|
232
|
+
const CA = class CA extends A {
|
|
233
233
|
constructor(oA) {
|
|
234
234
|
super(oA), this.name = "MissingUpstreamError", this.message = oA || "No upstream has been added to the BalancedPool", this.code = "UND_ERR_BPL_MISSING_UPSTREAM";
|
|
235
235
|
}
|
|
236
236
|
};
|
|
237
237
|
e(CA, "BalancedPoolMissingUpstreamError");
|
|
238
238
|
let b = CA;
|
|
239
|
-
const pA = class pA
|
|
239
|
+
const pA = class pA extends Error {
|
|
240
240
|
constructor(oA, aA, EA) {
|
|
241
241
|
super(oA), this.name = "HTTPParserError", this.code = aA ? `HPE_${aA}` : void 0, this.data = EA ? EA.toString() : void 0;
|
|
242
242
|
}
|
|
243
243
|
};
|
|
244
244
|
e(pA, "HTTPParserError");
|
|
245
245
|
let G = pA;
|
|
246
|
-
const fA = class fA
|
|
246
|
+
const fA = class fA extends A {
|
|
247
247
|
constructor(oA) {
|
|
248
248
|
super(oA), this.name = "ResponseExceededMaxSizeError", this.message = oA || "Response content exceeded max size", this.code = "UND_ERR_RES_EXCEEDED_MAX_SIZE";
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
e(fA, "ResponseExceededMaxSizeError");
|
|
252
252
|
let J = fA;
|
|
253
|
-
const kA = class kA
|
|
253
|
+
const kA = class kA extends A {
|
|
254
254
|
constructor(oA, aA, { headers: EA, data: sA }) {
|
|
255
255
|
super(oA), this.name = "RequestRetryError", this.message = oA || "Request retry error", this.code = "UND_ERR_REQ_RETRY", this.statusCode = aA, this.data = sA, this.headers = EA;
|
|
256
256
|
}
|
|
257
257
|
};
|
|
258
258
|
e(kA, "RequestRetryError");
|
|
259
259
|
let V = kA;
|
|
260
|
-
const bA = class bA
|
|
260
|
+
const bA = class bA extends A {
|
|
261
261
|
constructor(oA, aA, { headers: EA, data: sA }) {
|
|
262
262
|
super(oA), this.name = "ResponseError", this.message = oA || "Response error", this.code = "UND_ERR_RESPONSE", this.statusCode = aA, this.data = sA, this.headers = EA;
|
|
263
263
|
}
|
|
264
264
|
};
|
|
265
265
|
e(bA, "ResponseError");
|
|
266
266
|
let _ = bA;
|
|
267
|
-
const gA = class gA
|
|
267
|
+
const gA = class gA extends A {
|
|
268
268
|
constructor(oA, aA, EA) {
|
|
269
269
|
super(aA, {
|
|
270
270
|
cause: oA,
|
|
@@ -415,7 +415,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
415
415
|
function requireTree() {
|
|
416
416
|
if (hasRequiredTree) return tree_1;
|
|
417
417
|
hasRequiredTree = 1;
|
|
418
|
-
const { wellknownHeaderNames: A, headerNameLowerCasedRecord: k } = requireConstants$4(), y = class y
|
|
418
|
+
const { wellknownHeaderNames: A, headerNameLowerCasedRecord: k } = requireConstants$4(), y = class y {
|
|
419
419
|
constructor(Q, D, U) {
|
|
420
420
|
$A(this, "value", null);
|
|
421
421
|
$A(this, "left", null);
|
|
@@ -424,7 +424,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
424
424
|
$A(this, "code");
|
|
425
425
|
if (U === void 0 || U >= Q.length) throw new TypeError("Unreachable");
|
|
426
426
|
if ((this.code = Q.charCodeAt(U)) > 127) throw new TypeError("key must be ascii string");
|
|
427
|
-
Q.length !== ++U ? this.middle = new y
|
|
427
|
+
Q.length !== ++U ? this.middle = new y(Q, D, U) : this.value = D;
|
|
428
428
|
}
|
|
429
429
|
add(Q, D) {
|
|
430
430
|
const U = Q.length;
|
|
@@ -438,17 +438,17 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
438
438
|
break;
|
|
439
439
|
} else if (o.middle !== null) o = o.middle;
|
|
440
440
|
else {
|
|
441
|
-
o.middle = new y
|
|
441
|
+
o.middle = new y(Q, D, r);
|
|
442
442
|
break;
|
|
443
443
|
}
|
|
444
444
|
else if (o.code < N) if (o.left !== null) o = o.left;
|
|
445
445
|
else {
|
|
446
|
-
o.left = new y
|
|
446
|
+
o.left = new y(Q, D, r);
|
|
447
447
|
break;
|
|
448
448
|
}
|
|
449
449
|
else if (o.right !== null) o = o.right;
|
|
450
450
|
else {
|
|
451
|
-
o.right = new y
|
|
451
|
+
o.right = new y(Q, D, r);
|
|
452
452
|
break;
|
|
453
453
|
}
|
|
454
454
|
}
|
|
@@ -472,7 +472,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
472
472
|
};
|
|
473
473
|
e(y, "TstNode");
|
|
474
474
|
let c = y;
|
|
475
|
-
const R = class R
|
|
475
|
+
const R = class R {
|
|
476
476
|
constructor() {
|
|
477
477
|
$A(this, "node", null);
|
|
478
478
|
}
|
|
@@ -500,7 +500,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
500
500
|
function requireUtil$7() {
|
|
501
501
|
if (hasRequiredUtil$7) return util$7;
|
|
502
502
|
hasRequiredUtil$7 = 1;
|
|
503
|
-
const A = require$$0__default$1, { kDestroyed: k, kBodyUsed: c, kListeners: B, kBody: t } = requireSymbols$4(), { IncomingMessage: y } = http__default, R = Stream__default, F = require$$0__default$2, { Blob: Q } = require$$0__default, D = require$$0__default$3, { stringify: U } = require$$7__default, { EventEmitter: r } = require$$8__default, { InvalidArgumentError: o } = requireErrors(), { headerNameLowerCasedRecord: N } = requireConstants$4(), { tree: l } = requireTree(), [I, p] = process.versions.node.split(".").map((W) => Number(W)), QA = class QA
|
|
503
|
+
const A = require$$0__default$1, { kDestroyed: k, kBodyUsed: c, kListeners: B, kBody: t } = requireSymbols$4(), { IncomingMessage: y } = http__default, R = Stream__default, F = require$$0__default$2, { Blob: Q } = require$$0__default, D = require$$0__default$3, { stringify: U } = require$$7__default, { EventEmitter: r } = require$$8__default, { InvalidArgumentError: o } = requireErrors(), { headerNameLowerCasedRecord: N } = requireConstants$4(), { tree: l } = requireTree(), [I, p] = process.versions.node.split(".").map((W) => Number(W)), QA = class QA {
|
|
504
504
|
constructor(cA) {
|
|
505
505
|
this[t] = cA, this[c] = !1;
|
|
506
506
|
}
|
|
@@ -968,7 +968,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
968
968
|
function requireRequest$1() {
|
|
969
969
|
if (hasRequiredRequest$1) return request$1;
|
|
970
970
|
hasRequiredRequest$1 = 1;
|
|
971
|
-
const { InvalidArgumentError: A, NotSupportedError: k } = requireErrors(), c = require$$0__default$1, { isValidHTTPToken: B, isValidHeaderValue: t, isStream: y, destroy: R, isBuffer: F, isFormDataLike: Q, isIterable: D, isBlobLike: U, buildURL: r, validateHandler: o, getServerName: N, normalizedMethodRecords: l } = requireUtil$7(), { channels: I } = requireDiagnostics(), { headerNameLowerCasedRecord: p } = requireConstants$4(), b = /[^\u0021-\u00ff]/, G = Symbol("handler"), _ = class _
|
|
971
|
+
const { InvalidArgumentError: A, NotSupportedError: k } = requireErrors(), c = require$$0__default$1, { isValidHTTPToken: B, isValidHeaderValue: t, isStream: y, destroy: R, isBuffer: F, isFormDataLike: Q, isIterable: D, isBlobLike: U, buildURL: r, validateHandler: o, getServerName: N, normalizedMethodRecords: l } = requireUtil$7(), { channels: I } = requireDiagnostics(), { headerNameLowerCasedRecord: p } = requireConstants$4(), b = /[^\u0021-\u00ff]/, G = Symbol("handler"), _ = class _ {
|
|
972
972
|
constructor(M, { path: Y, method: m, body: f, headers: n, query: C, idempotent: w, blocking: S, upgrade: x, headersTimeout: z, bodyTimeout: $, reset: K, throwOnError: nA, expectContinue: iA, servername: uA }, RA) {
|
|
973
973
|
if (typeof Y != "string") throw new A("path must be a string");
|
|
974
974
|
if (Y[0] !== "/" && !(Y.startsWith("http://") || Y.startsWith("https://")) && m !== "CONNECT") throw new A("path must be an absolute URL or start with a slash");
|
|
@@ -1127,7 +1127,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
1127
1127
|
var t, y;
|
|
1128
1128
|
if (hasRequiredDispatcher) return dispatcher;
|
|
1129
1129
|
hasRequiredDispatcher = 1;
|
|
1130
|
-
const A = require$$8__default, B = class B
|
|
1130
|
+
const A = require$$8__default, B = class B extends A {
|
|
1131
1131
|
dispatch() {
|
|
1132
1132
|
throw new Error("not implemented");
|
|
1133
1133
|
}
|
|
@@ -1149,7 +1149,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
1149
1149
|
};
|
|
1150
1150
|
e(B, "Dispatcher");
|
|
1151
1151
|
let k = B;
|
|
1152
|
-
const R = class R
|
|
1152
|
+
const R = class R extends k {
|
|
1153
1153
|
constructor(D, U) {
|
|
1154
1154
|
super();
|
|
1155
1155
|
SA(this, t, null);
|
|
@@ -1175,7 +1175,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
1175
1175
|
function requireDispatcherBase() {
|
|
1176
1176
|
if (hasRequiredDispatcherBase) return dispatcherBase;
|
|
1177
1177
|
hasRequiredDispatcherBase = 1;
|
|
1178
|
-
const A = requireDispatcher(), { ClientDestroyedError: k, ClientClosedError: c, InvalidArgumentError: B } = requireErrors(), { kDestroy: t, kClose: y, kClosed: R, kDestroyed: F, kDispatch: Q, kInterceptors: D } = requireSymbols$4(), U = Symbol("onDestroyed"), r = Symbol("onClosed"), o = Symbol("Intercepted Dispatch"), l = class l
|
|
1178
|
+
const A = requireDispatcher(), { ClientDestroyedError: k, ClientClosedError: c, InvalidArgumentError: B } = requireErrors(), { kDestroy: t, kClose: y, kClosed: R, kDestroyed: F, kDispatch: Q, kInterceptors: D } = requireSymbols$4(), U = Symbol("onDestroyed"), r = Symbol("onClosed"), o = Symbol("Intercepted Dispatch"), l = class l extends A {
|
|
1179
1179
|
constructor() {
|
|
1180
1180
|
super(), this[F] = !1, this[U] = null, this[R] = !1, this[r] = [];
|
|
1181
1181
|
}
|
|
@@ -1282,7 +1282,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
1282
1282
|
B ? B.refresh() : (clearTimeout(B), B = setTimeout(U, c), B.unref && B.unref());
|
|
1283
1283
|
}
|
|
1284
1284
|
e(r, "refreshTimeout"), N = t;
|
|
1285
|
-
const l = class l
|
|
1285
|
+
const l = class l {
|
|
1286
1286
|
constructor(p, b, G) {
|
|
1287
1287
|
$A(this, N, !0);
|
|
1288
1288
|
$A(this, "_state", R);
|
|
@@ -2556,8 +2556,6 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
2556
2556
|
const VA = Y(v);
|
|
2557
2557
|
return wA(tA, VA) ? tA : bA(tA) && !bA(VA) ? "no-referrer" : rA;
|
|
2558
2558
|
}
|
|
2559
|
-
case "strict-origin":
|
|
2560
|
-
case "no-referrer-when-downgrade":
|
|
2561
2559
|
default: return TA ? "no-referrer" : rA;
|
|
2562
2560
|
}
|
|
2563
2561
|
}
|
|
@@ -2674,7 +2672,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
2674
2672
|
const PA = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));
|
|
2675
2673
|
function ZA(v, X, j = 0, tA = 1) {
|
|
2676
2674
|
var FA, TA, VA;
|
|
2677
|
-
const YA = class YA
|
|
2675
|
+
const YA = class YA {
|
|
2678
2676
|
constructor(Qe, qA) {
|
|
2679
2677
|
SA(this, FA);
|
|
2680
2678
|
SA(this, TA);
|
|
@@ -2861,7 +2859,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
2861
2859
|
return tA += QA(`${v}`), tA += "-", tA += QA(`${X}`), tA += "/", tA += QA(`${j}`), tA;
|
|
2862
2860
|
}
|
|
2863
2861
|
e(WA, "buildContentRange");
|
|
2864
|
-
const zA = class zA
|
|
2862
|
+
const zA = class zA extends A {
|
|
2865
2863
|
constructor(j) {
|
|
2866
2864
|
super();
|
|
2867
2865
|
SA(this, xA);
|
|
@@ -2920,7 +2918,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
2920
2918
|
return v.length === 0 ? "" : (v[0] === 239 && v[1] === 187 && v[2] === 191 && (v = v.subarray(3)), eA.decode(v));
|
|
2921
2919
|
}
|
|
2922
2920
|
e(lA, "utf8DecodeBytes");
|
|
2923
|
-
const UA = class UA
|
|
2921
|
+
const UA = class UA {
|
|
2924
2922
|
constructor() {
|
|
2925
2923
|
$A(this, "policyContainer", CA());
|
|
2926
2924
|
}
|
|
@@ -2933,7 +2931,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
2933
2931
|
};
|
|
2934
2932
|
e(UA, "EnvironmentSettingsObjectBase");
|
|
2935
2933
|
let BA = UA;
|
|
2936
|
-
const AA = class AA
|
|
2934
|
+
const AA = class AA {
|
|
2937
2935
|
constructor() {
|
|
2938
2936
|
$A(this, "settingsObject", new BA());
|
|
2939
2937
|
}
|
|
@@ -3009,7 +3007,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
3009
3007
|
function requireFile() {
|
|
3010
3008
|
if (hasRequiredFile) return file;
|
|
3011
3009
|
hasRequiredFile = 1;
|
|
3012
|
-
const { Blob: A, File: k } = require$$0__default, { kState: c } = requireSymbols$3(), { webidl: B } = requireWebidl(), R = class R
|
|
3010
|
+
const { Blob: A, File: k } = require$$0__default, { kState: c } = requireSymbols$3(), { webidl: B } = requireWebidl(), R = class R {
|
|
3013
3011
|
constructor(Q, D, U = {}) {
|
|
3014
3012
|
this[c] = {
|
|
3015
3013
|
blobLike: Q,
|
|
@@ -3019,28 +3017,28 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
3019
3017
|
};
|
|
3020
3018
|
}
|
|
3021
3019
|
stream(...Q) {
|
|
3022
|
-
return B.brandCheck(this, R
|
|
3020
|
+
return B.brandCheck(this, R), this[c].blobLike.stream(...Q);
|
|
3023
3021
|
}
|
|
3024
3022
|
arrayBuffer(...Q) {
|
|
3025
|
-
return B.brandCheck(this, R
|
|
3023
|
+
return B.brandCheck(this, R), this[c].blobLike.arrayBuffer(...Q);
|
|
3026
3024
|
}
|
|
3027
3025
|
slice(...Q) {
|
|
3028
|
-
return B.brandCheck(this, R
|
|
3026
|
+
return B.brandCheck(this, R), this[c].blobLike.slice(...Q);
|
|
3029
3027
|
}
|
|
3030
3028
|
text(...Q) {
|
|
3031
|
-
return B.brandCheck(this, R
|
|
3029
|
+
return B.brandCheck(this, R), this[c].blobLike.text(...Q);
|
|
3032
3030
|
}
|
|
3033
3031
|
get size() {
|
|
3034
|
-
return B.brandCheck(this, R
|
|
3032
|
+
return B.brandCheck(this, R), this[c].blobLike.size;
|
|
3035
3033
|
}
|
|
3036
3034
|
get type() {
|
|
3037
|
-
return B.brandCheck(this, R
|
|
3035
|
+
return B.brandCheck(this, R), this[c].blobLike.type;
|
|
3038
3036
|
}
|
|
3039
3037
|
get name() {
|
|
3040
|
-
return B.brandCheck(this, R
|
|
3038
|
+
return B.brandCheck(this, R), this[c].name;
|
|
3041
3039
|
}
|
|
3042
3040
|
get lastModified() {
|
|
3043
|
-
return B.brandCheck(this, R
|
|
3041
|
+
return B.brandCheck(this, R), this[c].lastModified;
|
|
3044
3042
|
}
|
|
3045
3043
|
get [Symbol.toStringTag]() {
|
|
3046
3044
|
return "File";
|
|
@@ -3062,7 +3060,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
3062
3060
|
function requireFormdata() {
|
|
3063
3061
|
if (hasRequiredFormdata) return formdata;
|
|
3064
3062
|
hasRequiredFormdata = 1;
|
|
3065
|
-
const { isBlobLike: A, iteratorMixin: k } = requireUtil$6(), { kState: c } = requireSymbols$3(), { kEnumerableProperty: B } = requireUtil$7(), { FileLike: t, isFileLike: y } = requireFile(), { webidl: R } = requireWebidl(), { File: F } = require$$0__default, Q = require$$0__default$3, D = globalThis.File ?? F, o = class o
|
|
3063
|
+
const { isBlobLike: A, iteratorMixin: k } = requireUtil$6(), { kState: c } = requireSymbols$3(), { kEnumerableProperty: B } = requireUtil$7(), { FileLike: t, isFileLike: y } = requireFile(), { webidl: R } = requireWebidl(), { File: F } = require$$0__default, Q = require$$0__default$3, D = globalThis.File ?? F, o = class o {
|
|
3066
3064
|
constructor(l) {
|
|
3067
3065
|
if (R.util.markAsUncloneable(this), l !== void 0) throw R.errors.conversionFailed({
|
|
3068
3066
|
prefix: "FormData constructor",
|
|
@@ -3072,7 +3070,7 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
3072
3070
|
this[c] = [];
|
|
3073
3071
|
}
|
|
3074
3072
|
append(l, I, p = void 0) {
|
|
3075
|
-
R.brandCheck(this, o
|
|
3073
|
+
R.brandCheck(this, o);
|
|
3076
3074
|
const b = "FormData.append";
|
|
3077
3075
|
if (R.argumentLengthCheck(arguments, 2, b), arguments.length === 3 && !A(I)) throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'");
|
|
3078
3076
|
l = R.converters.USVString(l, b, "name"), I = A(I) ? R.converters.Blob(I, b, "value", { strict: !1 }) : R.converters.USVString(I, b, "value"), p = arguments.length === 3 ? R.converters.USVString(p, b, "filename") : void 0;
|
|
@@ -3080,29 +3078,29 @@ var require_proxy = /* @__PURE__ */ require_rolldown_runtime.__commonJSMin(((exp
|
|
|
3080
3078
|
this[c].push(G);
|
|
3081
3079
|
}
|
|
3082
3080
|
delete(l) {
|
|
3083
|
-
R.brandCheck(this, o
|
|
3081
|
+
R.brandCheck(this, o);
|
|
3084
3082
|
const I = "FormData.delete";
|
|
3085
3083
|
R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name"), this[c] = this[c].filter((p) => p.name !== l);
|
|
3086
3084
|
}
|
|
3087
3085
|
get(l) {
|
|
3088
|
-
R.brandCheck(this, o
|
|
3086
|
+
R.brandCheck(this, o);
|
|
3089
3087
|
const I = "FormData.get";
|
|
3090
3088
|
R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name");
|
|
3091
3089
|
const p = this[c].findIndex((b) => b.name === l);
|
|
3092
3090
|
return p === -1 ? null : this[c][p].value;
|
|
3093
3091
|
}
|
|
3094
3092
|
getAll(l) {
|
|
3095
|
-
R.brandCheck(this, o
|
|
3093
|
+
R.brandCheck(this, o);
|
|
3096
3094
|
const I = "FormData.getAll";
|
|
3097
3095
|
return R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name"), this[c].filter((p) => p.name === l).map((p) => p.value);
|
|
3098
3096
|
}
|
|
3099
3097
|
has(l) {
|
|
3100
|
-
R.brandCheck(this, o
|
|
3098
|
+
R.brandCheck(this, o);
|
|
3101
3099
|
const I = "FormData.has";
|
|
3102
3100
|
return R.argumentLengthCheck(arguments, 1, I), l = R.converters.USVString(l, I, "name"), this[c].findIndex((p) => p.name === l) !== -1;
|
|
3103
3101
|
}
|
|
3104
3102
|
set(l, I, p = void 0) {
|
|
3105
|
-
R.brandCheck(this, o
|
|
3103
|
+
R.brandCheck(this, o);
|
|
3106
3104
|
const b = "FormData.set";
|
|
3107
3105
|
if (R.argumentLengthCheck(arguments, 2, b), arguments.length === 3 && !A(I)) throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'");
|
|
3108
3106
|
l = R.converters.USVString(l, b, "name"), I = A(I) ? R.converters.Blob(I, b, "name", { strict: !1 }) : R.converters.USVString(I, b, "name"), p = arguments.length === 3 ? R.converters.USVString(p, b, "name") : void 0;
|
|
@@ -3516,7 +3514,7 @@ Content-Type: ${NA.type || "application/octet-stream"}\r
|
|
|
3516
3514
|
let wA = null, vA = NA();
|
|
3517
3515
|
vA.catch();
|
|
3518
3516
|
let dA = null, XA = null, KA = 0, OA = null;
|
|
3519
|
-
const PA = 0, ZA = 1, HA = 2 | ZA, se = 4 | ZA, ne = 8 | PA, oe = class oe
|
|
3517
|
+
const PA = 0, ZA = 1, HA = 2 | ZA, se = 4 | ZA, ne = 8 | PA, oe = class oe {
|
|
3520
3518
|
constructor(eA, lA, { exports: BA }) {
|
|
3521
3519
|
A(Number.isFinite(eA[$]) && eA[$] > 0), this.llhttp = BA, this.ptr = this.llhttp.llhttp_alloc(gA.TYPE.RESPONSE), this.client = eA, this.socket = lA, this.timeout = null, this.timeoutValue = null, this.timeoutType = null, this.statusCode = null, this.statusText = "", this.upgrade = !1, this.headers = [], this.headersSize = 0, this.headersMaxSize = eA[$], this.shouldKeepAlive = !1, this.paused = !1, this.resume = this.resume.bind(this), this.bytesRead = 0, this.keepAlive = "", this.contentLength = "", this.connection = "", this.maxResponseSize = eA[pA];
|
|
3522
3520
|
}
|
|
@@ -3879,7 +3877,7 @@ upgrade: ${MA}\r
|
|
|
3879
3877
|
}
|
|
3880
3878
|
}
|
|
3881
3879
|
e(te, "writeIterable");
|
|
3882
|
-
const Ie = class Ie
|
|
3880
|
+
const Ie = class Ie {
|
|
3883
3881
|
constructor({ abort: eA, socket: lA, request: BA, contentLength: hA, client: MA, expectsPayload: xA, header: zA }) {
|
|
3884
3882
|
this.socket = lA, this.request = BA, this.contentLength = hA, this.client = MA, this.bytesWritten = 0, this.expectsPayload = xA, this.header = zA, this.abort = eA, lA[q] = !0;
|
|
3885
3883
|
}
|
|
@@ -4177,7 +4175,7 @@ ${AA.toString(16)}\r
|
|
|
4177
4175
|
303,
|
|
4178
4176
|
307,
|
|
4179
4177
|
308
|
|
4180
|
-
], R = Symbol("body"), o = class o
|
|
4178
|
+
], R = Symbol("body"), o = class o {
|
|
4181
4179
|
constructor(I) {
|
|
4182
4180
|
this[R] = I, this[k] = !1;
|
|
4183
4181
|
}
|
|
@@ -4187,7 +4185,7 @@ ${AA.toString(16)}\r
|
|
|
4187
4185
|
};
|
|
4188
4186
|
e(o, "BodyAsyncIterable");
|
|
4189
4187
|
let F = o;
|
|
4190
|
-
const N = class N
|
|
4188
|
+
const N = class N {
|
|
4191
4189
|
constructor(I, p, b, G) {
|
|
4192
4190
|
if (p != null && (!Number.isInteger(p) || p < 0)) throw new B("maxRedirections must be a positive number");
|
|
4193
4191
|
A.validateHandler(G, b.method, b.upgrade), this.dispatch = I, this.location = null, this.abort = null, this.opts = {
|
|
@@ -4284,7 +4282,7 @@ ${AA.toString(16)}\r
|
|
|
4284
4282
|
return QA[w] ?? QA[aA]?.defaultPipelining ?? 1;
|
|
4285
4283
|
}
|
|
4286
4284
|
e(KA, "getPipelining");
|
|
4287
|
-
const Ae = class Ae
|
|
4285
|
+
const Ae = class Ae extends R {
|
|
4288
4286
|
constructor(W, { interceptors: cA, maxHeaderSize: yA, headersTimeout: LA, socketTimeout: JA, requestTimeout: WA, connectTimeout: te, bodyTimeout: ie, idleTimeout: oe, keepAlive: Ie, keepAliveTimeout: GA, maxKeepAliveTimeout: eA, keepAliveMaxTimeout: lA, keepAliveTimeoutThreshold: BA, socketPath: hA, pipelining: MA, tls: xA, strictContentLength: zA, maxCachedSessions: UA, maxRedirections: AA, connect: v, maxRequestsPerClient: X, localAddress: j, maxResponseSize: tA, autoSelectFamily: rA, autoSelectFamilyAttemptTimeout: FA, maxConcurrentStreams: TA, allowH2: VA } = {}) {
|
|
4289
4287
|
if (super(), Ie !== void 0) throw new F("unsupported keepAlive, use pipelining=0 instead");
|
|
4290
4288
|
if (JA !== void 0) throw new F("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");
|
|
@@ -4512,7 +4510,7 @@ ${AA.toString(16)}\r
|
|
|
4512
4510
|
var t;
|
|
4513
4511
|
if (hasRequiredFixedQueue) return fixedQueue;
|
|
4514
4512
|
hasRequiredFixedQueue = 1;
|
|
4515
|
-
const A = 2048, k = A - 1, B = class B
|
|
4513
|
+
const A = 2048, k = A - 1, B = class B {
|
|
4516
4514
|
constructor() {
|
|
4517
4515
|
this.bottom = 0, this.top = 0, this.list = new Array(A), this.next = null;
|
|
4518
4516
|
}
|
|
@@ -4553,7 +4551,7 @@ ${AA.toString(16)}\r
|
|
|
4553
4551
|
function requirePoolStats() {
|
|
4554
4552
|
if (hasRequiredPoolStats) return poolStats;
|
|
4555
4553
|
hasRequiredPoolStats = 1;
|
|
4556
|
-
const { kFree: A, kConnected: k, kPending: c, kQueued: B, kRunning: t, kSize: y } = requireSymbols$4(), R = Symbol("pool"), Q = class Q
|
|
4554
|
+
const { kFree: A, kConnected: k, kPending: c, kQueued: B, kRunning: t, kSize: y } = requireSymbols$4(), R = Symbol("pool"), Q = class Q {
|
|
4557
4555
|
constructor(U) {
|
|
4558
4556
|
this[R] = U;
|
|
4559
4557
|
}
|
|
@@ -4584,7 +4582,7 @@ ${AA.toString(16)}\r
|
|
|
4584
4582
|
function requirePoolBase() {
|
|
4585
4583
|
if (hasRequiredPoolBase) return poolBase;
|
|
4586
4584
|
hasRequiredPoolBase = 1;
|
|
4587
|
-
const A = requireDispatcherBase(), k = requireFixedQueue(), { kConnected: c, kSize: B, kRunning: t, kPending: y, kQueued: R, kBusy: F, kFree: Q, kUrl: D, kClose: U, kDestroy: r, kDispatch: o } = requireSymbols$4(), N = requirePoolStats(), l = Symbol("clients"), I = Symbol("needDrain"), p = Symbol("queue"), b = Symbol("closed resolve"), G = Symbol("onDrain"), J = Symbol("onConnect"), V = Symbol("onDisconnect"), _ = Symbol("onConnectionError"), q = Symbol("get dispatcher"), M = Symbol("add client"), Y = Symbol("remove client"), m = Symbol("stats"), n = class n
|
|
4585
|
+
const A = requireDispatcherBase(), k = requireFixedQueue(), { kConnected: c, kSize: B, kRunning: t, kPending: y, kQueued: R, kBusy: F, kFree: Q, kUrl: D, kClose: U, kDestroy: r, kDispatch: o } = requireSymbols$4(), N = requirePoolStats(), l = Symbol("clients"), I = Symbol("needDrain"), p = Symbol("queue"), b = Symbol("closed resolve"), G = Symbol("onDrain"), J = Symbol("onConnect"), V = Symbol("onDisconnect"), _ = Symbol("onConnectionError"), q = Symbol("get dispatcher"), M = Symbol("add client"), Y = Symbol("remove client"), m = Symbol("stats"), n = class n extends A {
|
|
4588
4586
|
constructor() {
|
|
4589
4587
|
super(), this[p] = new k(), this[l] = [], this[R] = 0;
|
|
4590
4588
|
const w = this;
|
|
@@ -4684,7 +4682,7 @@ ${AA.toString(16)}\r
|
|
|
4684
4682
|
return new y(b, G);
|
|
4685
4683
|
}
|
|
4686
4684
|
e(l, "defaultFactory");
|
|
4687
|
-
const p = class p
|
|
4685
|
+
const p = class p extends A {
|
|
4688
4686
|
constructor(G, { connections: J, factory: V = l, connect: _, connectTimeout: q, tls: M, maxCachedSessions: Y, socketPath: m, autoSelectFamily: f, autoSelectFamilyAttemptTimeout: n, allowH2: C, ...w } = {}) {
|
|
4689
4687
|
if (super(), J != null && (!Number.isFinite(J) || J < 0)) throw new R("invalid connections");
|
|
4690
4688
|
if (typeof V != "function") throw new R("factory must be a function.");
|
|
@@ -4741,7 +4739,7 @@ ${AA.toString(16)}\r
|
|
|
4741
4739
|
return new Q(Y, m);
|
|
4742
4740
|
}
|
|
4743
4741
|
e(_, "defaultFactory");
|
|
4744
|
-
const M = class M
|
|
4742
|
+
const M = class M extends c {
|
|
4745
4743
|
constructor(m = [], { factory: f = _, ...n } = {}) {
|
|
4746
4744
|
if (super(), this[N] = n, this[p] = -1, this[I] = 0, this[G] = this[N].maxWeightPerServer || 100, this[J] = this[N].errorPenalty || 15, Array.isArray(m) || (m = [m]), typeof f != "function") throw new k("factory must be a function.");
|
|
4747
4745
|
this[U] = n.interceptors?.BalancedPool && Array.isArray(n.interceptors.BalancedPool) ? n.interceptors.BalancedPool : [], this[o] = f;
|
|
@@ -4800,7 +4798,7 @@ ${AA.toString(16)}\r
|
|
|
4800
4798
|
return M && M.connections === 1 ? new D(q, M) : new Q(q, M);
|
|
4801
4799
|
}
|
|
4802
4800
|
e(J, "defaultFactory");
|
|
4803
|
-
const _ = class _
|
|
4801
|
+
const _ = class _ extends F {
|
|
4804
4802
|
constructor({ factory: M = J, maxRedirections: Y = 0, connect: m, ...f } = {}) {
|
|
4805
4803
|
if (super(), typeof M != "function") throw new A("factory must be a function.");
|
|
4806
4804
|
if (m != null && typeof m != "function" && typeof m != "object") throw new A("connect must be a function or an object");
|
|
@@ -4859,7 +4857,7 @@ ${AA.toString(16)}\r
|
|
|
4859
4857
|
return new R(n, C);
|
|
4860
4858
|
}
|
|
4861
4859
|
e(J, "defaultFactory");
|
|
4862
|
-
const V = e(() => {}, "noop"), f = class f
|
|
4860
|
+
const V = e(() => {}, "noop"), f = class f extends F {
|
|
4863
4861
|
constructor(w) {
|
|
4864
4862
|
super();
|
|
4865
4863
|
SA(this, Y);
|
|
@@ -4953,7 +4951,7 @@ ${AA.toString(16)}\r
|
|
|
4953
4951
|
"https:": 443
|
|
4954
4952
|
};
|
|
4955
4953
|
let o = !1;
|
|
4956
|
-
const M = class M
|
|
4954
|
+
const M = class M extends A {
|
|
4957
4955
|
constructor(f = {}) {
|
|
4958
4956
|
super();
|
|
4959
4957
|
SA(this, b);
|
|
@@ -5030,14 +5028,14 @@ ${AA.toString(16)}\r
|
|
|
5030
5028
|
return new Date(U).getTime() - r;
|
|
5031
5029
|
}
|
|
5032
5030
|
e(F, "calculateRetryAfterHeader");
|
|
5033
|
-
const D = class D
|
|
5031
|
+
const D = class D {
|
|
5034
5032
|
constructor(r, o) {
|
|
5035
5033
|
const { retryOptions: N, ...l } = r, { retry: I, maxRetries: p, maxTimeout: b, minTimeout: G, timeoutFactor: J, methods: V, errorCodes: _, retryAfter: q, statusCodes: M } = N ?? {};
|
|
5036
5034
|
this.dispatch = o.dispatch, this.handler = o.handler, this.opts = {
|
|
5037
5035
|
...l,
|
|
5038
5036
|
body: R(r.body)
|
|
5039
5037
|
}, this.abort = null, this.aborted = !1, this.retryOpts = {
|
|
5040
|
-
retry: I ?? D
|
|
5038
|
+
retry: I ?? D[k],
|
|
5041
5039
|
retryAfter: q ?? !0,
|
|
5042
5040
|
maxTimeout: b ?? 30 * 1e3,
|
|
5043
5041
|
minTimeout: G ?? 500,
|
|
@@ -5195,7 +5193,7 @@ ${AA.toString(16)}\r
|
|
|
5195
5193
|
var B, t;
|
|
5196
5194
|
if (hasRequiredRetryAgent) return retryAgent;
|
|
5197
5195
|
hasRequiredRetryAgent = 1;
|
|
5198
|
-
const A = requireDispatcher(), k = requireRetryHandler(), y = class y
|
|
5196
|
+
const A = requireDispatcher(), k = requireRetryHandler(), y = class y extends A {
|
|
5199
5197
|
constructor(Q, D = {}) {
|
|
5200
5198
|
super(D);
|
|
5201
5199
|
SA(this, B, null);
|
|
@@ -5227,7 +5225,7 @@ ${AA.toString(16)}\r
|
|
|
5227
5225
|
function requireReadable() {
|
|
5228
5226
|
if (hasRequiredReadable) return readable;
|
|
5229
5227
|
hasRequiredReadable = 1;
|
|
5230
|
-
const A = require$$0__default$1, { Readable: k } = Stream__default, { RequestAbortedError: c, NotSupportedError: B, InvalidArgumentError: t, AbortError: y } = requireErrors(), R = requireUtil$7(), { ReadableStreamFrom: F } = requireUtil$7(), Q = Symbol("kConsume"), D = Symbol("kReading"), U = Symbol("kBody"), r = Symbol("kAbort"), o = Symbol("kContentType"), N = Symbol("kContentLength"), l = e(() => {}, "noop"), m = class m
|
|
5228
|
+
const A = require$$0__default$1, { Readable: k } = Stream__default, { RequestAbortedError: c, NotSupportedError: B, InvalidArgumentError: t, AbortError: y } = requireErrors(), R = requireUtil$7(), { ReadableStreamFrom: F } = requireUtil$7(), Q = Symbol("kConsume"), D = Symbol("kReading"), U = Symbol("kBody"), r = Symbol("kAbort"), o = Symbol("kContentType"), N = Symbol("kContentLength"), l = e(() => {}, "noop"), m = class m extends k {
|
|
5231
5229
|
constructor({ resume: n, abort: C, contentType: w = "", contentLength: S, highWaterMark: x = 64 * 1024 }) {
|
|
5232
5230
|
super({
|
|
5233
5231
|
autoDestroy: !0,
|
|
@@ -5432,7 +5430,7 @@ ${AA.toString(16)}\r
|
|
|
5432
5430
|
function requireApiRequest() {
|
|
5433
5431
|
if (hasRequiredApiRequest) return apiRequest.exports;
|
|
5434
5432
|
hasRequiredApiRequest = 1;
|
|
5435
|
-
const A = require$$0__default$1, { Readable: k } = requireReadable(), { InvalidArgumentError: c, RequestAbortedError: B } = requireErrors(), t = requireUtil$7(), { getResolveErrorBodyCallback: y } = requireUtil$5(), { AsyncResource: R } = require$$5__default$2, D = class D
|
|
5433
|
+
const A = require$$0__default$1, { Readable: k } = requireReadable(), { InvalidArgumentError: c, RequestAbortedError: B } = requireErrors(), t = requireUtil$7(), { getResolveErrorBodyCallback: y } = requireUtil$5(), { AsyncResource: R } = require$$5__default$2, D = class D extends R {
|
|
5436
5434
|
constructor(r, o) {
|
|
5437
5435
|
if (!r || typeof r != "object") throw new c("invalid opts");
|
|
5438
5436
|
const { signal: N, method: l, opaque: I, body: p, onInfo: b, responseHeaders: G, throwOnError: J, highWaterMark: V } = r;
|
|
@@ -5557,7 +5555,7 @@ ${AA.toString(16)}\r
|
|
|
5557
5555
|
function requireApiStream() {
|
|
5558
5556
|
if (hasRequiredApiStream) return apiStream;
|
|
5559
5557
|
hasRequiredApiStream = 1;
|
|
5560
|
-
const A = require$$0__default$1, { finished: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t } = requireErrors(), y = requireUtil$7(), { getResolveErrorBodyCallback: R } = requireUtil$5(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), o = class o
|
|
5558
|
+
const A = require$$0__default$1, { finished: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t } = requireErrors(), y = requireUtil$7(), { getResolveErrorBodyCallback: R } = requireUtil$5(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), o = class o extends F {
|
|
5561
5559
|
constructor(l, I, p) {
|
|
5562
5560
|
if (!l || typeof l != "object") throw new B("invalid opts");
|
|
5563
5561
|
const { signal: b, method: G, opaque: J, body: V, onInfo: _, responseHeaders: q, throwOnError: M } = l;
|
|
@@ -5657,7 +5655,7 @@ ${AA.toString(16)}\r
|
|
|
5657
5655
|
function requireApiPipeline() {
|
|
5658
5656
|
if (hasRequiredApiPipeline) return apiPipeline;
|
|
5659
5657
|
hasRequiredApiPipeline = 1;
|
|
5660
|
-
const { Readable: A, Duplex: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t, RequestAbortedError: y } = requireErrors(), R = requireUtil$7(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), U = require$$0__default$1, r = Symbol("resume"), p = class p
|
|
5658
|
+
const { Readable: A, Duplex: k, PassThrough: c } = Stream__default, { InvalidArgumentError: B, InvalidReturnValueError: t, RequestAbortedError: y } = requireErrors(), R = requireUtil$7(), { AsyncResource: F } = require$$5__default$2, { addSignal: Q, removeSignal: D } = requireAbortSignal(), U = require$$0__default$1, r = Symbol("resume"), p = class p extends A {
|
|
5661
5659
|
constructor() {
|
|
5662
5660
|
super({ autoDestroy: !0 }), this[r] = null;
|
|
5663
5661
|
}
|
|
@@ -5671,7 +5669,7 @@ ${AA.toString(16)}\r
|
|
|
5671
5669
|
};
|
|
5672
5670
|
e(p, "PipelineRequest");
|
|
5673
5671
|
let o = p;
|
|
5674
|
-
const b = class b
|
|
5672
|
+
const b = class b extends A {
|
|
5675
5673
|
constructor(V) {
|
|
5676
5674
|
super({ autoDestroy: !0 }), this[r] = V;
|
|
5677
5675
|
}
|
|
@@ -5684,7 +5682,7 @@ ${AA.toString(16)}\r
|
|
|
5684
5682
|
};
|
|
5685
5683
|
e(b, "PipelineResponse");
|
|
5686
5684
|
let N = b;
|
|
5687
|
-
const G = class G
|
|
5685
|
+
const G = class G extends F {
|
|
5688
5686
|
constructor(V, _) {
|
|
5689
5687
|
if (!V || typeof V != "object") throw new B("invalid opts");
|
|
5690
5688
|
if (typeof _ != "function") throw new B("invalid handler");
|
|
@@ -5795,7 +5793,7 @@ ${AA.toString(16)}\r
|
|
|
5795
5793
|
function requireApiUpgrade() {
|
|
5796
5794
|
if (hasRequiredApiUpgrade) return apiUpgrade;
|
|
5797
5795
|
hasRequiredApiUpgrade = 1;
|
|
5798
|
-
const { InvalidArgumentError: A, SocketError: k } = requireErrors(), { AsyncResource: c } = require$$5__default$2, B = requireUtil$7(), { addSignal: t, removeSignal: y } = requireAbortSignal(), R = require$$0__default$1, D = class D
|
|
5796
|
+
const { InvalidArgumentError: A, SocketError: k } = requireErrors(), { AsyncResource: c } = require$$5__default$2, B = requireUtil$7(), { addSignal: t, removeSignal: y } = requireAbortSignal(), R = require$$0__default$1, D = class D extends c {
|
|
5799
5797
|
constructor(r, o) {
|
|
5800
5798
|
if (!r || typeof r != "object") throw new A("invalid opts");
|
|
5801
5799
|
if (typeof o != "function") throw new A("invalid callback");
|
|
@@ -5858,7 +5856,7 @@ ${AA.toString(16)}\r
|
|
|
5858
5856
|
function requireApiConnect() {
|
|
5859
5857
|
if (hasRequiredApiConnect) return apiConnect;
|
|
5860
5858
|
hasRequiredApiConnect = 1;
|
|
5861
|
-
const A = require$$0__default$1, { AsyncResource: k } = require$$5__default$2, { InvalidArgumentError: c, SocketError: B } = requireErrors(), t = requireUtil$7(), { addSignal: y, removeSignal: R } = requireAbortSignal(), D = class D
|
|
5859
|
+
const A = require$$0__default$1, { AsyncResource: k } = require$$5__default$2, { InvalidArgumentError: c, SocketError: B } = requireErrors(), t = requireUtil$7(), { addSignal: y, removeSignal: R } = requireAbortSignal(), D = class D extends k {
|
|
5862
5860
|
constructor(r, o) {
|
|
5863
5861
|
if (!r || typeof r != "object") throw new c("invalid opts");
|
|
5864
5862
|
if (typeof o != "function") throw new c("invalid callback");
|
|
@@ -5925,9 +5923,9 @@ ${AA.toString(16)}\r
|
|
|
5925
5923
|
function requireMockErrors() {
|
|
5926
5924
|
if (hasRequiredMockErrors) return mockErrors;
|
|
5927
5925
|
hasRequiredMockErrors = 1;
|
|
5928
|
-
const { UndiciError: A } = requireErrors(), c = class c
|
|
5926
|
+
const { UndiciError: A } = requireErrors(), c = class c extends A {
|
|
5929
5927
|
constructor(t) {
|
|
5930
|
-
super(t), Error.captureStackTrace(this, c
|
|
5928
|
+
super(t), Error.captureStackTrace(this, c), this.name = "MockNotMatchedError", this.message = t || "The request does not match any registered mock dispatches", this.code = "UND_MOCK_ERR_MOCK_NOT_MATCHED";
|
|
5931
5929
|
}
|
|
5932
5930
|
};
|
|
5933
5931
|
e(c, "MockNotMatchedError");
|
|
@@ -6153,7 +6151,7 @@ ${AA.toString(16)}\r
|
|
|
6153
6151
|
function requireMockInterceptor() {
|
|
6154
6152
|
if (hasRequiredMockInterceptor) return mockInterceptor;
|
|
6155
6153
|
hasRequiredMockInterceptor = 1;
|
|
6156
|
-
const { getResponseData: A, buildKey: k, addMockDispatch: c } = requireMockUtils(), { kDispatches: B, kDispatchKey: t, kDefaultHeaders: y, kDefaultTrailers: R, kContentLength: F, kMockDispatch: Q } = requireMockSymbols(), { InvalidArgumentError: D } = requireErrors(), { buildURL: U } = requireUtil$7(), N = class N
|
|
6154
|
+
const { getResponseData: A, buildKey: k, addMockDispatch: c } = requireMockUtils(), { kDispatches: B, kDispatchKey: t, kDefaultHeaders: y, kDefaultTrailers: R, kContentLength: F, kMockDispatch: Q } = requireMockSymbols(), { InvalidArgumentError: D } = requireErrors(), { buildURL: U } = requireUtil$7(), N = class N {
|
|
6157
6155
|
constructor(p) {
|
|
6158
6156
|
this[Q] = p;
|
|
6159
6157
|
}
|
|
@@ -6171,7 +6169,7 @@ ${AA.toString(16)}\r
|
|
|
6171
6169
|
};
|
|
6172
6170
|
e(N, "MockScope");
|
|
6173
6171
|
let r = N;
|
|
6174
|
-
const l = class l
|
|
6172
|
+
const l = class l {
|
|
6175
6173
|
constructor(p, b) {
|
|
6176
6174
|
if (typeof p != "object") throw new D("opts must be an object");
|
|
6177
6175
|
if (typeof p.path > "u") throw new D("opts.path must be defined");
|
|
@@ -6249,7 +6247,7 @@ ${AA.toString(16)}\r
|
|
|
6249
6247
|
function requireMockClient() {
|
|
6250
6248
|
if (hasRequiredMockClient) return mockClient;
|
|
6251
6249
|
hasRequiredMockClient = 1;
|
|
6252
|
-
const { promisify: A } = require$$0__default$3, k = requireClient(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l
|
|
6250
|
+
const { promisify: A } = require$$0__default$3, k = requireClient(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l extends k {
|
|
6253
6251
|
constructor(p, b) {
|
|
6254
6252
|
if (super(p, b), !b || !b.agent || typeof b.agent.dispatch != "function") throw new o("Argument opts.agent must implement Agent");
|
|
6255
6253
|
this[t] = b.agent, this[F] = p, this[B] = [], this[D] = 1, this[Q] = this.dispatch, this[R] = this.close.bind(this), this.dispatch = c.call(this), this.close = this[y];
|
|
@@ -6272,7 +6270,7 @@ ${AA.toString(16)}\r
|
|
|
6272
6270
|
function requireMockPool() {
|
|
6273
6271
|
if (hasRequiredMockPool) return mockPool;
|
|
6274
6272
|
hasRequiredMockPool = 1;
|
|
6275
|
-
const { promisify: A } = require$$0__default$3, k = requirePool(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l
|
|
6273
|
+
const { promisify: A } = require$$0__default$3, k = requirePool(), { buildMockDispatch: c } = requireMockUtils(), { kDispatches: B, kMockAgent: t, kClose: y, kOriginalClose: R, kOrigin: F, kOriginalDispatch: Q, kConnected: D } = requireMockSymbols(), { MockInterceptor: U } = requireMockInterceptor(), r = requireSymbols$4(), { InvalidArgumentError: o } = requireErrors(), l = class l extends k {
|
|
6276
6274
|
constructor(p, b) {
|
|
6277
6275
|
if (super(p, b), !b || !b.agent || typeof b.agent.dispatch != "function") throw new o("Argument opts.agent must implement Agent");
|
|
6278
6276
|
this[t] = b.agent, this[F] = p, this[B] = [], this[D] = 1, this[Q] = this.dispatch, this[R] = this.close.bind(this), this.dispatch = c.call(this), this.close = this[y];
|
|
@@ -6356,7 +6354,7 @@ ${AA.toString(16)}\r
|
|
|
6356
6354
|
function requireMockAgent() {
|
|
6357
6355
|
if (hasRequiredMockAgent) return mockAgent;
|
|
6358
6356
|
hasRequiredMockAgent = 1;
|
|
6359
|
-
const { kClients: A } = requireSymbols$4(), k = requireAgent(), { kAgent: c, kMockAgentSet: B, kMockAgentGet: t, kDispatches: y, kIsMockActive: R, kNetConnect: F, kGetNetConnect: Q, kOptions: D, kFactory: U } = requireMockSymbols(), r = requireMockClient(), o = requireMockPool(), { matchValue: N, buildMockOptions: l } = requireMockUtils(), { InvalidArgumentError: I, UndiciError: p } = requireErrors(), b = requireDispatcher(), G = requirePluralizer(), J = requirePendingInterceptorsFormatter(), _ = class _
|
|
6357
|
+
const { kClients: A } = requireSymbols$4(), k = requireAgent(), { kAgent: c, kMockAgentSet: B, kMockAgentGet: t, kDispatches: y, kIsMockActive: R, kNetConnect: F, kGetNetConnect: Q, kOptions: D, kFactory: U } = requireMockSymbols(), r = requireMockClient(), o = requireMockPool(), { matchValue: N, buildMockOptions: l } = requireMockUtils(), { InvalidArgumentError: I, UndiciError: p } = requireErrors(), b = requireDispatcher(), G = requirePluralizer(), J = requirePendingInterceptorsFormatter(), _ = class _ extends b {
|
|
6360
6358
|
constructor(M) {
|
|
6361
6359
|
if (super(M), this[F] = !0, this[R] = !0, M?.agent && typeof M.agent.dispatch != "function") throw new I("Argument opts.agent must implement Agent");
|
|
6362
6360
|
const Y = M?.agent ? M.agent : new k(M);
|
|
@@ -6533,7 +6531,7 @@ ${M.format(Y)}
|
|
|
6533
6531
|
var R, F, Q, D, U, r, o, N, xe;
|
|
6534
6532
|
if (hasRequiredDump) return dump;
|
|
6535
6533
|
hasRequiredDump = 1;
|
|
6536
|
-
const A = requireUtil$7(), { InvalidArgumentError: k, RequestAbortedError: c } = requireErrors(), B = requireDecoratorHandler(), I = class I
|
|
6534
|
+
const A = requireUtil$7(), { InvalidArgumentError: k, RequestAbortedError: c } = requireErrors(), B = requireDecoratorHandler(), I = class I extends B {
|
|
6537
6535
|
constructor({ maxSize: G }, J) {
|
|
6538
6536
|
super(J);
|
|
6539
6537
|
SA(this, N);
|
|
@@ -6589,7 +6587,7 @@ ${M.format(Y)}
|
|
|
6589
6587
|
var Q, D, U, r, We, qe, I, p, b, G, J;
|
|
6590
6588
|
if (hasRequiredDns) return dns;
|
|
6591
6589
|
hasRequiredDns = 1;
|
|
6592
|
-
const { isIP: A } = require$$0__default$2, { lookup: k } = require$$1__default$3, c = requireDecoratorHandler(), { InvalidArgumentError: B, InformationalError: t } = requireErrors(), y = Math.pow(2, 31) - 1, l = class l
|
|
6590
|
+
const { isIP: A } = require$$0__default$2, { lookup: k } = require$$1__default$3, c = requireDecoratorHandler(), { InvalidArgumentError: B, InformationalError: t } = requireErrors(), y = Math.pow(2, 31) - 1, l = class l {
|
|
6593
6591
|
constructor(q) {
|
|
6594
6592
|
SA(this, r);
|
|
6595
6593
|
SA(this, Q, 0);
|
|
@@ -6676,7 +6674,7 @@ ${M.format(Y)}
|
|
|
6676
6674
|
return m = C.ips[w] ?? null, m == null ? m : Date.now() - m.timestamp > m.ttl ? (C.ips.splice(w, 1), this.pick(q, M, Y)) : m;
|
|
6677
6675
|
}, "#defaultPick"), e(l, "DNSInstance");
|
|
6678
6676
|
let R = l;
|
|
6679
|
-
const V = class V
|
|
6677
|
+
const V = class V extends c {
|
|
6680
6678
|
constructor(M, { origin: Y, handler: m, dispatch: f }, n) {
|
|
6681
6679
|
super(m);
|
|
6682
6680
|
SA(this, I, null);
|
|
@@ -6809,10 +6807,10 @@ ${M.format(Y)}
|
|
|
6809
6807
|
return m[0] < f[0] ? -1 : 1;
|
|
6810
6808
|
}
|
|
6811
6809
|
e(l, "compareHeaderName");
|
|
6812
|
-
const _ = class _
|
|
6810
|
+
const _ = class _ {
|
|
6813
6811
|
constructor(f) {
|
|
6814
6812
|
$A(this, "cookies", null);
|
|
6815
|
-
f instanceof _
|
|
6813
|
+
f instanceof _ ? (this[Q] = new Map(f[Q]), this[D] = f[D], this.cookies = f.cookies === null ? null : [...f.cookies]) : (this[Q] = new Map(f), this[D] = null);
|
|
6816
6814
|
}
|
|
6817
6815
|
contains(f, n) {
|
|
6818
6816
|
return this[Q].has(n ? f : f.toLowerCase());
|
|
@@ -6890,19 +6888,19 @@ ${M.format(Y)}
|
|
|
6890
6888
|
};
|
|
6891
6889
|
e(_, "HeadersList");
|
|
6892
6890
|
let I = _;
|
|
6893
|
-
const Y = class Y
|
|
6891
|
+
const Y = class Y {
|
|
6894
6892
|
constructor(f = void 0) {
|
|
6895
6893
|
SA(this, q);
|
|
6896
6894
|
SA(this, M);
|
|
6897
6895
|
y.util.markAsUncloneable(this), f !== A && (mA(this, M, new I()), mA(this, q, "none"), f !== void 0 && (f = y.converters.HeadersInit(f, "Headers contructor", "init"), o(this, f)));
|
|
6898
6896
|
}
|
|
6899
6897
|
append(f, n) {
|
|
6900
|
-
y.brandCheck(this, Y
|
|
6898
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 2, "Headers.append");
|
|
6901
6899
|
const C = "Headers.append";
|
|
6902
6900
|
return f = y.converters.ByteString(f, C, "name"), n = y.converters.ByteString(n, C, "value"), N(this, f, n);
|
|
6903
6901
|
}
|
|
6904
6902
|
delete(f) {
|
|
6905
|
-
if (y.brandCheck(this, Y
|
|
6903
|
+
if (y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 1, "Headers.delete"), f = y.converters.ByteString(f, "Headers.delete", "name"), !B(f)) throw y.errors.invalidArgument({
|
|
6906
6904
|
prefix: "Headers.delete",
|
|
6907
6905
|
value: f,
|
|
6908
6906
|
type: "header name"
|
|
@@ -6911,7 +6909,7 @@ ${M.format(Y)}
|
|
|
6911
6909
|
Z(this, M).contains(f, !1) && Z(this, M).delete(f, !1);
|
|
6912
6910
|
}
|
|
6913
6911
|
get(f) {
|
|
6914
|
-
y.brandCheck(this, Y
|
|
6912
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 1, "Headers.get");
|
|
6915
6913
|
const n = "Headers.get";
|
|
6916
6914
|
if (f = y.converters.ByteString(f, n, "name"), !B(f)) throw y.errors.invalidArgument({
|
|
6917
6915
|
prefix: n,
|
|
@@ -6921,7 +6919,7 @@ ${M.format(Y)}
|
|
|
6921
6919
|
return Z(this, M).get(f, !1);
|
|
6922
6920
|
}
|
|
6923
6921
|
has(f) {
|
|
6924
|
-
y.brandCheck(this, Y
|
|
6922
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 1, "Headers.has");
|
|
6925
6923
|
const n = "Headers.has";
|
|
6926
6924
|
if (f = y.converters.ByteString(f, n, "name"), !B(f)) throw y.errors.invalidArgument({
|
|
6927
6925
|
prefix: n,
|
|
@@ -6931,7 +6929,7 @@ ${M.format(Y)}
|
|
|
6931
6929
|
return Z(this, M).contains(f, !1);
|
|
6932
6930
|
}
|
|
6933
6931
|
set(f, n) {
|
|
6934
|
-
y.brandCheck(this, Y
|
|
6932
|
+
y.brandCheck(this, Y), y.argumentLengthCheck(arguments, 2, "Headers.set");
|
|
6935
6933
|
const C = "Headers.set";
|
|
6936
6934
|
if (f = y.converters.ByteString(f, C, "name"), n = y.converters.ByteString(n, C, "value"), n = r(n), B(f)) {
|
|
6937
6935
|
if (!t(n)) throw y.errors.invalidArgument({
|
|
@@ -6948,7 +6946,7 @@ ${M.format(Y)}
|
|
|
6948
6946
|
Z(this, M).set(f, n, !1);
|
|
6949
6947
|
}
|
|
6950
6948
|
getSetCookie() {
|
|
6951
|
-
y.brandCheck(this, Y
|
|
6949
|
+
y.brandCheck(this, Y);
|
|
6952
6950
|
const f = Z(this, M).cookies;
|
|
6953
6951
|
return f ? [...f] : [];
|
|
6954
6952
|
}
|
|
@@ -7023,7 +7021,7 @@ ${M.format(Y)}
|
|
|
7023
7021
|
function requireResponse() {
|
|
7024
7022
|
if (hasRequiredResponse) return response;
|
|
7025
7023
|
hasRequiredResponse = 1;
|
|
7026
|
-
const { Headers: A, HeadersList: k, fill: c, getHeadersGuard: B, setHeadersGuard: t, setHeadersList: y } = requireHeaders(), { extractBody: R, cloneBody: F, mixinBody: Q, hasFinalizationRegistry: D, streamRegistry: U, bodyUnusable: r } = requireBody(), o = requireUtil$7(), N = require$$0__default$3, { kEnumerableProperty: l } = o, { isValidReasonPhrase: I, isCancelled: p, isAborted: b, isBlobLike: G, serializeJavascriptValueToJSONString: J, isErrorLike: V, isomorphicEncode: _, environmentSettingsObject: q } = requireUtil$6(), { redirectStatusSet: M, nullBodyStatus: Y } = requireConstants$2(), { kState: m, kHeaders: f } = requireSymbols$3(), { webidl: n } = requireWebidl(), { FormData: C } = requireFormdata(), { URLSerializer: w } = requireDataUrl(), { kConstruct: S } = requireSymbols$4(), x = require$$0__default$1, { types: z } = require$$0__default$3, $ = new TextEncoder("utf-8"), bA = class bA
|
|
7024
|
+
const { Headers: A, HeadersList: k, fill: c, getHeadersGuard: B, setHeadersGuard: t, setHeadersList: y } = requireHeaders(), { extractBody: R, cloneBody: F, mixinBody: Q, hasFinalizationRegistry: D, streamRegistry: U, bodyUnusable: r } = requireBody(), o = requireUtil$7(), N = require$$0__default$3, { kEnumerableProperty: l } = o, { isValidReasonPhrase: I, isCancelled: p, isAborted: b, isBlobLike: G, serializeJavascriptValueToJSONString: J, isErrorLike: V, isomorphicEncode: _, environmentSettingsObject: q } = requireUtil$6(), { redirectStatusSet: M, nullBodyStatus: Y } = requireConstants$2(), { kState: m, kHeaders: f } = requireSymbols$3(), { webidl: n } = requireWebidl(), { FormData: C } = requireFormdata(), { URLSerializer: w } = requireDataUrl(), { kConstruct: S } = requireSymbols$4(), x = require$$0__default$1, { types: z } = require$$0__default$3, $ = new TextEncoder("utf-8"), bA = class bA {
|
|
7027
7025
|
static error() {
|
|
7028
7026
|
return kA(uA(), "immutable");
|
|
7029
7027
|
}
|
|
@@ -7063,36 +7061,36 @@ ${M.format(Y)}
|
|
|
7063
7061
|
fA(this, oA, aA);
|
|
7064
7062
|
}
|
|
7065
7063
|
get type() {
|
|
7066
|
-
return n.brandCheck(this, bA
|
|
7064
|
+
return n.brandCheck(this, bA), this[m].type;
|
|
7067
7065
|
}
|
|
7068
7066
|
get url() {
|
|
7069
|
-
n.brandCheck(this, bA
|
|
7067
|
+
n.brandCheck(this, bA);
|
|
7070
7068
|
const DA = this[m].urlList, oA = DA[DA.length - 1] ?? null;
|
|
7071
7069
|
return oA === null ? "" : w(oA, !0);
|
|
7072
7070
|
}
|
|
7073
7071
|
get redirected() {
|
|
7074
|
-
return n.brandCheck(this, bA
|
|
7072
|
+
return n.brandCheck(this, bA), this[m].urlList.length > 1;
|
|
7075
7073
|
}
|
|
7076
7074
|
get status() {
|
|
7077
|
-
return n.brandCheck(this, bA
|
|
7075
|
+
return n.brandCheck(this, bA), this[m].status;
|
|
7078
7076
|
}
|
|
7079
7077
|
get ok() {
|
|
7080
|
-
return n.brandCheck(this, bA
|
|
7078
|
+
return n.brandCheck(this, bA), this[m].status >= 200 && this[m].status <= 299;
|
|
7081
7079
|
}
|
|
7082
7080
|
get statusText() {
|
|
7083
|
-
return n.brandCheck(this, bA
|
|
7081
|
+
return n.brandCheck(this, bA), this[m].statusText;
|
|
7084
7082
|
}
|
|
7085
7083
|
get headers() {
|
|
7086
|
-
return n.brandCheck(this, bA
|
|
7084
|
+
return n.brandCheck(this, bA), this[f];
|
|
7087
7085
|
}
|
|
7088
7086
|
get body() {
|
|
7089
|
-
return n.brandCheck(this, bA
|
|
7087
|
+
return n.brandCheck(this, bA), this[m].body ? this[m].body.stream : null;
|
|
7090
7088
|
}
|
|
7091
7089
|
get bodyUsed() {
|
|
7092
|
-
return n.brandCheck(this, bA
|
|
7090
|
+
return n.brandCheck(this, bA), !!this[m].body && o.isDisturbed(this[m].body.stream);
|
|
7093
7091
|
}
|
|
7094
7092
|
clone() {
|
|
7095
|
-
if (n.brandCheck(this, bA
|
|
7093
|
+
if (n.brandCheck(this, bA), r(this)) throw n.errors.exception({
|
|
7096
7094
|
header: "Response.clone",
|
|
7097
7095
|
message: "Body has already been consumed."
|
|
7098
7096
|
});
|
|
@@ -7270,7 +7268,7 @@ ${M.format(Y)}
|
|
|
7270
7268
|
function requireDispatcherWeakref() {
|
|
7271
7269
|
if (hasRequiredDispatcherWeakref) return dispatcherWeakref;
|
|
7272
7270
|
hasRequiredDispatcherWeakref = 1;
|
|
7273
|
-
const { kConnected: A, kSize: k } = requireSymbols$4(), t = class t
|
|
7271
|
+
const { kConnected: A, kSize: k } = requireSymbols$4(), t = class t {
|
|
7274
7272
|
constructor(F) {
|
|
7275
7273
|
this.value = F;
|
|
7276
7274
|
}
|
|
@@ -7280,7 +7278,7 @@ ${M.format(Y)}
|
|
|
7280
7278
|
};
|
|
7281
7279
|
e(t, "CompatWeakRef");
|
|
7282
7280
|
let c = t;
|
|
7283
|
-
const y = class y
|
|
7281
|
+
const y = class y {
|
|
7284
7282
|
constructor(F) {
|
|
7285
7283
|
this.finalizer = F;
|
|
7286
7284
|
}
|
|
@@ -7333,7 +7331,7 @@ ${M.format(Y)}
|
|
|
7333
7331
|
}
|
|
7334
7332
|
e(kA, "buildAbort");
|
|
7335
7333
|
let bA = !1;
|
|
7336
|
-
const EA = class EA
|
|
7334
|
+
const EA = class EA {
|
|
7337
7335
|
constructor(NA, wA = {}) {
|
|
7338
7336
|
if (z.util.markAsUncloneable(this), NA === K) return;
|
|
7339
7337
|
const vA = "Request constructor";
|
|
@@ -7351,7 +7349,7 @@ ${M.format(Y)}
|
|
|
7351
7349
|
}
|
|
7352
7350
|
if (cA.username || cA.password) throw new TypeError("Request cannot be constructed from a URL that includes credentials: " + NA);
|
|
7353
7351
|
dA = DA({ urlList: [cA] }), XA = "cors";
|
|
7354
|
-
} else this[x] = wA.dispatcher || NA[x], nA(NA instanceof EA
|
|
7352
|
+
} else this[x] = wA.dispatcher || NA[x], nA(NA instanceof EA), dA = NA[S], OA = NA[w];
|
|
7355
7353
|
const PA = p.settingsObject.origin;
|
|
7356
7354
|
let ZA = "client";
|
|
7357
7355
|
if (dA.window?.constructor?.name === "EnvironmentSettingsObject" && I(dA.window, PA) && (ZA = dA.window), wA.window != null) throw new TypeError(`'window' option '${ZA}' must be null`);
|
|
@@ -7436,7 +7434,7 @@ ${M.format(Y)}
|
|
|
7436
7434
|
cA.cookies = yA.cookies;
|
|
7437
7435
|
} else y(this[C], yA);
|
|
7438
7436
|
}
|
|
7439
|
-
const jA = NA instanceof EA
|
|
7437
|
+
const jA = NA instanceof EA ? NA[S].body : null;
|
|
7440
7438
|
if ((wA.body != null || jA != null) && (dA.method === "GET" || dA.method === "HEAD")) throw new TypeError("Request with GET/HEAD method cannot have body.");
|
|
7441
7439
|
let Ae = null;
|
|
7442
7440
|
if (wA.body != null) {
|
|
@@ -7462,61 +7460,61 @@ ${M.format(Y)}
|
|
|
7462
7460
|
this[S].body = W;
|
|
7463
7461
|
}
|
|
7464
7462
|
get method() {
|
|
7465
|
-
return z.brandCheck(this, EA
|
|
7463
|
+
return z.brandCheck(this, EA), this[S].method;
|
|
7466
7464
|
}
|
|
7467
7465
|
get url() {
|
|
7468
|
-
return z.brandCheck(this, EA
|
|
7466
|
+
return z.brandCheck(this, EA), $(this[S].url);
|
|
7469
7467
|
}
|
|
7470
7468
|
get headers() {
|
|
7471
|
-
return z.brandCheck(this, EA
|
|
7469
|
+
return z.brandCheck(this, EA), this[C];
|
|
7472
7470
|
}
|
|
7473
7471
|
get destination() {
|
|
7474
|
-
return z.brandCheck(this, EA
|
|
7472
|
+
return z.brandCheck(this, EA), this[S].destination;
|
|
7475
7473
|
}
|
|
7476
7474
|
get referrer() {
|
|
7477
|
-
return z.brandCheck(this, EA
|
|
7475
|
+
return z.brandCheck(this, EA), this[S].referrer === "no-referrer" ? "" : this[S].referrer === "client" ? "about:client" : this[S].referrer.toString();
|
|
7478
7476
|
}
|
|
7479
7477
|
get referrerPolicy() {
|
|
7480
|
-
return z.brandCheck(this, EA
|
|
7478
|
+
return z.brandCheck(this, EA), this[S].referrerPolicy;
|
|
7481
7479
|
}
|
|
7482
7480
|
get mode() {
|
|
7483
|
-
return z.brandCheck(this, EA
|
|
7481
|
+
return z.brandCheck(this, EA), this[S].mode;
|
|
7484
7482
|
}
|
|
7485
7483
|
get credentials() {
|
|
7486
7484
|
return this[S].credentials;
|
|
7487
7485
|
}
|
|
7488
7486
|
get cache() {
|
|
7489
|
-
return z.brandCheck(this, EA
|
|
7487
|
+
return z.brandCheck(this, EA), this[S].cache;
|
|
7490
7488
|
}
|
|
7491
7489
|
get redirect() {
|
|
7492
|
-
return z.brandCheck(this, EA
|
|
7490
|
+
return z.brandCheck(this, EA), this[S].redirect;
|
|
7493
7491
|
}
|
|
7494
7492
|
get integrity() {
|
|
7495
|
-
return z.brandCheck(this, EA
|
|
7493
|
+
return z.brandCheck(this, EA), this[S].integrity;
|
|
7496
7494
|
}
|
|
7497
7495
|
get keepalive() {
|
|
7498
|
-
return z.brandCheck(this, EA
|
|
7496
|
+
return z.brandCheck(this, EA), this[S].keepalive;
|
|
7499
7497
|
}
|
|
7500
7498
|
get isReloadNavigation() {
|
|
7501
|
-
return z.brandCheck(this, EA
|
|
7499
|
+
return z.brandCheck(this, EA), this[S].reloadNavigation;
|
|
7502
7500
|
}
|
|
7503
7501
|
get isHistoryNavigation() {
|
|
7504
|
-
return z.brandCheck(this, EA
|
|
7502
|
+
return z.brandCheck(this, EA), this[S].historyNavigation;
|
|
7505
7503
|
}
|
|
7506
7504
|
get signal() {
|
|
7507
|
-
return z.brandCheck(this, EA
|
|
7505
|
+
return z.brandCheck(this, EA), this[w];
|
|
7508
7506
|
}
|
|
7509
7507
|
get body() {
|
|
7510
|
-
return z.brandCheck(this, EA
|
|
7508
|
+
return z.brandCheck(this, EA), this[S].body ? this[S].body.stream : null;
|
|
7511
7509
|
}
|
|
7512
7510
|
get bodyUsed() {
|
|
7513
|
-
return z.brandCheck(this, EA
|
|
7511
|
+
return z.brandCheck(this, EA), !!this[S].body && o.isDisturbed(this[S].body.stream);
|
|
7514
7512
|
}
|
|
7515
7513
|
get duplex() {
|
|
7516
|
-
return z.brandCheck(this, EA
|
|
7514
|
+
return z.brandCheck(this, EA), "half";
|
|
7517
7515
|
}
|
|
7518
7516
|
clone() {
|
|
7519
|
-
if (z.brandCheck(this, EA
|
|
7517
|
+
if (z.brandCheck(this, EA), B(this)) throw new TypeError("unusable");
|
|
7520
7518
|
const NA = oA(this[S]), wA = new AbortController();
|
|
7521
7519
|
if (this.signal.aborted) wA.abort(this.signal.reason);
|
|
7522
7520
|
else {
|
|
@@ -7715,7 +7713,7 @@ ${M.format(Y)}
|
|
|
7715
7713
|
hasRequiredFetch = 1;
|
|
7716
7714
|
const { makeNetworkError: A, makeAppropriateNetworkError: k, filterResponse: c, makeResponse: B, fromInnerResponse: t } = requireResponse(), { HeadersList: y } = requireHeaders(), { Request: R, cloneRequest: F } = requireRequest(), Q = zlib__default, { bytesMatch: D, makePolicyContainer: U, clonePolicyContainer: r, requestBadPort: o, TAOCheck: N, appendRequestOriginHeader: l, responseLocationURL: I, requestCurrentURL: p, setRequestReferrerPolicyOnRedirect: b, tryUpgradeRequestToAPotentiallyTrustworthyURL: G, createOpaqueTimingInfo: J, appendFetchMetadata: V, corsCheck: _, crossOriginResourcePolicyCheck: q, determineRequestsReferrer: M, coarsenedSharedCurrentTime: Y, createDeferredPromise: m, isBlobLike: f, sameOrigin: n, isCancelled: C, isAborted: w, isErrorLike: S, fullyReadBody: x, readableStreamClose: z, isomorphicEncode: $, urlIsLocal: K, urlIsHttpHttpsScheme: nA, urlHasHttpsScheme: iA, clampAndCoarsenConnectionTimingInfo: uA, simpleRangeHeaderValue: RA, buildContentRange: IA, createInflate: CA, extractMimeType: pA } = requireUtil$6(), { kState: fA, kDispatcher: kA } = requireSymbols$3(), bA = require$$0__default$1, { safelyExtractBody: gA, extractBody: DA } = requireBody(), { redirectStatusSet: oA, nullBodyStatus: aA, safeMethodsSet: EA, requestBodyHeader: sA, subresourceSet: NA } = requireConstants$2(), wA = require$$8__default, { Readable: vA, pipeline: dA, finished: XA } = Stream__default, { addAbortListener: KA, isErrored: OA, isReadable: PA, bufferToLowerCasedHeaderName: ZA } = requireUtil$7(), { dataURLProcessor: HA, serializeAMimeType: se, minimizeSupportedMimeType: ne } = requireDataUrl(), { getGlobalDispatcher: jA } = requireGlobal(), { webidl: Ae } = requireWebidl(), { STATUS_CODES: QA } = http__default, W = ["GET", "HEAD"], cA = typeof __UNDICI_IS_NODE__ < "u" || typeof esbuildDetection < "u" ? "node" : "undici";
|
|
7717
7715
|
let yA;
|
|
7718
|
-
const UA = class UA
|
|
7716
|
+
const UA = class UA extends wA {
|
|
7719
7717
|
constructor(v) {
|
|
7720
7718
|
super(), this.dispatcher = v, this.connection = null, this.dump = !1, this.state = "ongoing";
|
|
7721
7719
|
}
|
|
@@ -8179,7 +8177,7 @@ ${M.format(Y)}
|
|
|
8179
8177
|
function requireProgressevent() {
|
|
8180
8178
|
if (hasRequiredProgressevent) return progressevent;
|
|
8181
8179
|
hasRequiredProgressevent = 1;
|
|
8182
|
-
const { webidl: A } = requireWebidl(), k = Symbol("ProgressEvent state"), B = class B
|
|
8180
|
+
const { webidl: A } = requireWebidl(), k = Symbol("ProgressEvent state"), B = class B extends Event {
|
|
8183
8181
|
constructor(y, R = {}) {
|
|
8184
8182
|
y = A.converters.DOMString(y, "ProgressEvent constructor", "type"), R = A.converters.ProgressEventInit(R ?? {}), super(y, R), this[k] = {
|
|
8185
8183
|
lengthComputable: R.lengthComputable,
|
|
@@ -8188,13 +8186,13 @@ ${M.format(Y)}
|
|
|
8188
8186
|
};
|
|
8189
8187
|
}
|
|
8190
8188
|
get lengthComputable() {
|
|
8191
|
-
return A.brandCheck(this, B
|
|
8189
|
+
return A.brandCheck(this, B), this[k].lengthComputable;
|
|
8192
8190
|
}
|
|
8193
8191
|
get loaded() {
|
|
8194
|
-
return A.brandCheck(this, B
|
|
8192
|
+
return A.brandCheck(this, B), this[k].loaded;
|
|
8195
8193
|
}
|
|
8196
8194
|
get total() {
|
|
8197
|
-
return A.brandCheck(this, B
|
|
8195
|
+
return A.brandCheck(this, B), this[k].total;
|
|
8198
8196
|
}
|
|
8199
8197
|
};
|
|
8200
8198
|
e(B, "ProgressEvent");
|
|
@@ -8584,7 +8582,7 @@ ${M.format(Y)}
|
|
|
8584
8582
|
function requireFilereader() {
|
|
8585
8583
|
if (hasRequiredFilereader) return filereader;
|
|
8586
8584
|
hasRequiredFilereader = 1;
|
|
8587
|
-
const { staticPropertyDescriptors: A, readOperation: k, fireAProgressEvent: c } = requireUtil$4(), { kState: B, kError: t, kResult: y, kEvents: R, kAborted: F } = requireSymbols$2(), { webidl: Q } = requireWebidl(), { kEnumerableProperty: D } = requireUtil$7(), r = class r
|
|
8585
|
+
const { staticPropertyDescriptors: A, readOperation: k, fireAProgressEvent: c } = requireUtil$4(), { kState: B, kError: t, kResult: y, kEvents: R, kAborted: F } = requireSymbols$2(), { webidl: Q } = requireWebidl(), { kEnumerableProperty: D } = requireUtil$7(), r = class r extends EventTarget {
|
|
8588
8586
|
constructor() {
|
|
8589
8587
|
super(), this[B] = "empty", this[y] = null, this[t] = null, this[R] = {
|
|
8590
8588
|
loadend: null,
|
|
@@ -8596,16 +8594,16 @@ ${M.format(Y)}
|
|
|
8596
8594
|
};
|
|
8597
8595
|
}
|
|
8598
8596
|
readAsArrayBuffer(N) {
|
|
8599
|
-
Q.brandCheck(this, r
|
|
8597
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsArrayBuffer"), N = Q.converters.Blob(N, { strict: !1 }), k(this, N, "ArrayBuffer");
|
|
8600
8598
|
}
|
|
8601
8599
|
readAsBinaryString(N) {
|
|
8602
|
-
Q.brandCheck(this, r
|
|
8600
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsBinaryString"), N = Q.converters.Blob(N, { strict: !1 }), k(this, N, "BinaryString");
|
|
8603
8601
|
}
|
|
8604
8602
|
readAsText(N, l = void 0) {
|
|
8605
|
-
Q.brandCheck(this, r
|
|
8603
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsText"), N = Q.converters.Blob(N, { strict: !1 }), l !== void 0 && (l = Q.converters.DOMString(l, "FileReader.readAsText", "encoding")), k(this, N, "Text", l);
|
|
8606
8604
|
}
|
|
8607
8605
|
readAsDataURL(N) {
|
|
8608
|
-
Q.brandCheck(this, r
|
|
8606
|
+
Q.brandCheck(this, r), Q.argumentLengthCheck(arguments, 1, "FileReader.readAsDataURL"), N = Q.converters.Blob(N, { strict: !1 }), k(this, N, "DataURL");
|
|
8609
8607
|
}
|
|
8610
8608
|
abort() {
|
|
8611
8609
|
if (this[B] === "empty" || this[B] === "done") {
|
|
@@ -8615,53 +8613,53 @@ ${M.format(Y)}
|
|
|
8615
8613
|
this[B] === "loading" && (this[B] = "done", this[y] = null), this[F] = !0, c("abort", this), this[B] !== "loading" && c("loadend", this);
|
|
8616
8614
|
}
|
|
8617
8615
|
get readyState() {
|
|
8618
|
-
switch (Q.brandCheck(this, r
|
|
8616
|
+
switch (Q.brandCheck(this, r), this[B]) {
|
|
8619
8617
|
case "empty": return this.EMPTY;
|
|
8620
8618
|
case "loading": return this.LOADING;
|
|
8621
8619
|
case "done": return this.DONE;
|
|
8622
8620
|
}
|
|
8623
8621
|
}
|
|
8624
8622
|
get result() {
|
|
8625
|
-
return Q.brandCheck(this, r
|
|
8623
|
+
return Q.brandCheck(this, r), this[y];
|
|
8626
8624
|
}
|
|
8627
8625
|
get error() {
|
|
8628
|
-
return Q.brandCheck(this, r
|
|
8626
|
+
return Q.brandCheck(this, r), this[t];
|
|
8629
8627
|
}
|
|
8630
8628
|
get onloadend() {
|
|
8631
|
-
return Q.brandCheck(this, r
|
|
8629
|
+
return Q.brandCheck(this, r), this[R].loadend;
|
|
8632
8630
|
}
|
|
8633
8631
|
set onloadend(N) {
|
|
8634
|
-
Q.brandCheck(this, r
|
|
8632
|
+
Q.brandCheck(this, r), this[R].loadend && this.removeEventListener("loadend", this[R].loadend), typeof N == "function" ? (this[R].loadend = N, this.addEventListener("loadend", N)) : this[R].loadend = null;
|
|
8635
8633
|
}
|
|
8636
8634
|
get onerror() {
|
|
8637
|
-
return Q.brandCheck(this, r
|
|
8635
|
+
return Q.brandCheck(this, r), this[R].error;
|
|
8638
8636
|
}
|
|
8639
8637
|
set onerror(N) {
|
|
8640
|
-
Q.brandCheck(this, r
|
|
8638
|
+
Q.brandCheck(this, r), this[R].error && this.removeEventListener("error", this[R].error), typeof N == "function" ? (this[R].error = N, this.addEventListener("error", N)) : this[R].error = null;
|
|
8641
8639
|
}
|
|
8642
8640
|
get onloadstart() {
|
|
8643
|
-
return Q.brandCheck(this, r
|
|
8641
|
+
return Q.brandCheck(this, r), this[R].loadstart;
|
|
8644
8642
|
}
|
|
8645
8643
|
set onloadstart(N) {
|
|
8646
|
-
Q.brandCheck(this, r
|
|
8644
|
+
Q.brandCheck(this, r), this[R].loadstart && this.removeEventListener("loadstart", this[R].loadstart), typeof N == "function" ? (this[R].loadstart = N, this.addEventListener("loadstart", N)) : this[R].loadstart = null;
|
|
8647
8645
|
}
|
|
8648
8646
|
get onprogress() {
|
|
8649
|
-
return Q.brandCheck(this, r
|
|
8647
|
+
return Q.brandCheck(this, r), this[R].progress;
|
|
8650
8648
|
}
|
|
8651
8649
|
set onprogress(N) {
|
|
8652
|
-
Q.brandCheck(this, r
|
|
8650
|
+
Q.brandCheck(this, r), this[R].progress && this.removeEventListener("progress", this[R].progress), typeof N == "function" ? (this[R].progress = N, this.addEventListener("progress", N)) : this[R].progress = null;
|
|
8653
8651
|
}
|
|
8654
8652
|
get onload() {
|
|
8655
|
-
return Q.brandCheck(this, r
|
|
8653
|
+
return Q.brandCheck(this, r), this[R].load;
|
|
8656
8654
|
}
|
|
8657
8655
|
set onload(N) {
|
|
8658
|
-
Q.brandCheck(this, r
|
|
8656
|
+
Q.brandCheck(this, r), this[R].load && this.removeEventListener("load", this[R].load), typeof N == "function" ? (this[R].load = N, this.addEventListener("load", N)) : this[R].load = null;
|
|
8659
8657
|
}
|
|
8660
8658
|
get onabort() {
|
|
8661
|
-
return Q.brandCheck(this, r
|
|
8659
|
+
return Q.brandCheck(this, r), this[R].abort;
|
|
8662
8660
|
}
|
|
8663
8661
|
set onabort(N) {
|
|
8664
|
-
Q.brandCheck(this, r
|
|
8662
|
+
Q.brandCheck(this, r), this[R].abort && this.removeEventListener("abort", this[R].abort), typeof N == "function" ? (this[R].abort = N, this.addEventListener("abort", N)) : this[R].abort = null;
|
|
8665
8663
|
}
|
|
8666
8664
|
};
|
|
8667
8665
|
e(r, "FileReader");
|
|
@@ -8728,33 +8726,33 @@ ${M.format(Y)}
|
|
|
8728
8726
|
var J, V, pe, ue, Oe, be;
|
|
8729
8727
|
if (hasRequiredCache) return cache;
|
|
8730
8728
|
hasRequiredCache = 1;
|
|
8731
|
-
const { kConstruct: A } = requireSymbols$1(), { urlEquals: k, getFieldValues: c } = requireUtil$3(), { kEnumerableProperty: B, isDisturbed: t } = requireUtil$7(), { webidl: y } = requireWebidl(), { Response: R, cloneResponse: F, fromInnerResponse: Q } = requireResponse(), { Request: D, fromInnerRequest: U } = requireRequest(), { kState: r } = requireSymbols$3(), { fetching: o } = requireFetch(), { urlIsHttpHttpsScheme: N, createDeferredPromise: l, readAllBytes: I } = requireUtil$6(), p = require$$0__default$1, m = class m
|
|
8729
|
+
const { kConstruct: A } = requireSymbols$1(), { urlEquals: k, getFieldValues: c } = requireUtil$3(), { kEnumerableProperty: B, isDisturbed: t } = requireUtil$7(), { webidl: y } = requireWebidl(), { Response: R, cloneResponse: F, fromInnerResponse: Q } = requireResponse(), { Request: D, fromInnerRequest: U } = requireRequest(), { kState: r } = requireSymbols$3(), { fetching: o } = requireFetch(), { urlIsHttpHttpsScheme: N, createDeferredPromise: l, readAllBytes: I } = requireUtil$6(), p = require$$0__default$1, m = class m {
|
|
8732
8730
|
constructor() {
|
|
8733
8731
|
SA(this, V);
|
|
8734
8732
|
SA(this, J);
|
|
8735
8733
|
arguments[0] !== A && y.illegalConstructor(), y.util.markAsUncloneable(this), mA(this, J, arguments[1]);
|
|
8736
8734
|
}
|
|
8737
8735
|
async match(n, C = {}) {
|
|
8738
|
-
y.brandCheck(this, m
|
|
8736
|
+
y.brandCheck(this, m);
|
|
8739
8737
|
const w = "Cache.match";
|
|
8740
8738
|
y.argumentLengthCheck(arguments, 1, w), n = y.converters.RequestInfo(n, w, "request"), C = y.converters.CacheQueryOptions(C, w, "options");
|
|
8741
8739
|
const S = ee(this, V, be).call(this, n, C, 1);
|
|
8742
8740
|
if (S.length !== 0) return S[0];
|
|
8743
8741
|
}
|
|
8744
8742
|
async matchAll(n = void 0, C = {}) {
|
|
8745
|
-
y.brandCheck(this, m
|
|
8743
|
+
y.brandCheck(this, m);
|
|
8746
8744
|
const w = "Cache.matchAll";
|
|
8747
8745
|
return n !== void 0 && (n = y.converters.RequestInfo(n, w, "request")), C = y.converters.CacheQueryOptions(C, w, "options"), ee(this, V, be).call(this, n, C);
|
|
8748
8746
|
}
|
|
8749
8747
|
async add(n) {
|
|
8750
|
-
y.brandCheck(this, m
|
|
8748
|
+
y.brandCheck(this, m);
|
|
8751
8749
|
const C = "Cache.add";
|
|
8752
8750
|
y.argumentLengthCheck(arguments, 1, C), n = y.converters.RequestInfo(n, C, "request");
|
|
8753
8751
|
const w = [n];
|
|
8754
8752
|
return await this.addAll(w);
|
|
8755
8753
|
}
|
|
8756
8754
|
async addAll(n) {
|
|
8757
|
-
y.brandCheck(this, m
|
|
8755
|
+
y.brandCheck(this, m);
|
|
8758
8756
|
const C = "Cache.addAll";
|
|
8759
8757
|
y.argumentLengthCheck(arguments, 1, C);
|
|
8760
8758
|
const w = [], S = [];
|
|
@@ -8830,7 +8828,7 @@ ${M.format(Y)}
|
|
|
8830
8828
|
}), iA.promise;
|
|
8831
8829
|
}
|
|
8832
8830
|
async put(n, C) {
|
|
8833
|
-
y.brandCheck(this, m
|
|
8831
|
+
y.brandCheck(this, m);
|
|
8834
8832
|
const w = "Cache.put";
|
|
8835
8833
|
y.argumentLengthCheck(arguments, 2, w), n = y.converters.RequestInfo(n, w, "request"), C = y.converters.Response(C, w, "response");
|
|
8836
8834
|
let S = null;
|
|
@@ -8877,7 +8875,7 @@ ${M.format(Y)}
|
|
|
8877
8875
|
}), uA.promise;
|
|
8878
8876
|
}
|
|
8879
8877
|
async delete(n, C = {}) {
|
|
8880
|
-
y.brandCheck(this, m
|
|
8878
|
+
y.brandCheck(this, m);
|
|
8881
8879
|
const w = "Cache.delete";
|
|
8882
8880
|
y.argumentLengthCheck(arguments, 1, w), n = y.converters.RequestInfo(n, w, "request"), C = y.converters.CacheQueryOptions(C, w, "options");
|
|
8883
8881
|
let S = null;
|
|
@@ -8902,7 +8900,7 @@ ${M.format(Y)}
|
|
|
8902
8900
|
}), $.promise;
|
|
8903
8901
|
}
|
|
8904
8902
|
async keys(n = void 0, C = {}) {
|
|
8905
|
-
y.brandCheck(this, m
|
|
8903
|
+
y.brandCheck(this, m);
|
|
8906
8904
|
const w = "Cache.keys";
|
|
8907
8905
|
n !== void 0 && (n = y.converters.RequestInfo(n, w, "request")), C = y.converters.CacheQueryOptions(C, w, "options");
|
|
8908
8906
|
let S = null;
|
|
@@ -9053,13 +9051,13 @@ ${M.format(Y)}
|
|
|
9053
9051
|
var y;
|
|
9054
9052
|
if (hasRequiredCachestorage) return cachestorage;
|
|
9055
9053
|
hasRequiredCachestorage = 1;
|
|
9056
|
-
const { kConstruct: A } = requireSymbols$1(), { Cache: k } = requireCache(), { webidl: c } = requireWebidl(), { kEnumerableProperty: B } = requireUtil$7(), R = class R
|
|
9054
|
+
const { kConstruct: A } = requireSymbols$1(), { Cache: k } = requireCache(), { webidl: c } = requireWebidl(), { kEnumerableProperty: B } = requireUtil$7(), R = class R {
|
|
9057
9055
|
constructor() {
|
|
9058
9056
|
SA(this, y, /* @__PURE__ */ new Map());
|
|
9059
9057
|
arguments[0] !== A && c.illegalConstructor(), c.util.markAsUncloneable(this);
|
|
9060
9058
|
}
|
|
9061
9059
|
async match(Q, D = {}) {
|
|
9062
|
-
if (c.brandCheck(this, R
|
|
9060
|
+
if (c.brandCheck(this, R), c.argumentLengthCheck(arguments, 1, "CacheStorage.match"), Q = c.converters.RequestInfo(Q), D = c.converters.MultiCacheQueryOptions(D), D.cacheName != null) {
|
|
9063
9061
|
if (Z(this, y).has(D.cacheName)) return await new k(A, Z(this, y).get(D.cacheName)).match(Q, D);
|
|
9064
9062
|
} else for (const U of Z(this, y).values()) {
|
|
9065
9063
|
const o = await new k(A, U).match(Q, D);
|
|
@@ -9067,24 +9065,24 @@ ${M.format(Y)}
|
|
|
9067
9065
|
}
|
|
9068
9066
|
}
|
|
9069
9067
|
async has(Q) {
|
|
9070
|
-
c.brandCheck(this, R
|
|
9068
|
+
c.brandCheck(this, R);
|
|
9071
9069
|
const D = "CacheStorage.has";
|
|
9072
9070
|
return c.argumentLengthCheck(arguments, 1, D), Q = c.converters.DOMString(Q, D, "cacheName"), Z(this, y).has(Q);
|
|
9073
9071
|
}
|
|
9074
9072
|
async open(Q) {
|
|
9075
|
-
c.brandCheck(this, R
|
|
9073
|
+
c.brandCheck(this, R);
|
|
9076
9074
|
const D = "CacheStorage.open";
|
|
9077
9075
|
if (c.argumentLengthCheck(arguments, 1, D), Q = c.converters.DOMString(Q, D, "cacheName"), Z(this, y).has(Q)) return new k(A, Z(this, y).get(Q));
|
|
9078
9076
|
const U = [];
|
|
9079
9077
|
return Z(this, y).set(Q, U), new k(A, U);
|
|
9080
9078
|
}
|
|
9081
9079
|
async delete(Q) {
|
|
9082
|
-
c.brandCheck(this, R
|
|
9080
|
+
c.brandCheck(this, R);
|
|
9083
9081
|
const D = "CacheStorage.delete";
|
|
9084
9082
|
return c.argumentLengthCheck(arguments, 1, D), Q = c.converters.DOMString(Q, D, "cacheName"), Z(this, y).delete(Q);
|
|
9085
9083
|
}
|
|
9086
9084
|
async keys() {
|
|
9087
|
-
return c.brandCheck(this, R
|
|
9085
|
+
return c.brandCheck(this, R), [...Z(this, y).keys()];
|
|
9088
9086
|
}
|
|
9089
9087
|
};
|
|
9090
9088
|
y = /* @__PURE__ */ new WeakMap(), e(R, "CacheStorage");
|
|
@@ -9378,7 +9376,7 @@ ${M.format(Y)}
|
|
|
9378
9376
|
var D, o, l;
|
|
9379
9377
|
if (hasRequiredEvents) return events;
|
|
9380
9378
|
hasRequiredEvents = 1;
|
|
9381
|
-
const { webidl: A } = requireWebidl(), { kEnumerableProperty: k } = requireUtil$7(), { kConstruct: c } = requireSymbols$4(), { MessagePort: B } = require$$1__default, r = class r
|
|
9379
|
+
const { webidl: A } = requireWebidl(), { kEnumerableProperty: k } = requireUtil$7(), { kConstruct: c } = requireSymbols$4(), { MessagePort: B } = require$$1__default, r = class r extends Event {
|
|
9382
9380
|
constructor(G, J = {}) {
|
|
9383
9381
|
var b = (...U) => (super(...U), SA(this, D), this);
|
|
9384
9382
|
if (G === c) {
|
|
@@ -9389,22 +9387,22 @@ ${M.format(Y)}
|
|
|
9389
9387
|
A.argumentLengthCheck(arguments, 1, V), G = A.converters.DOMString(G, V, "type"), J = A.converters.MessageEventInit(J, V, "eventInitDict"), b(G, J), mA(this, D, J), A.util.markAsUncloneable(this);
|
|
9390
9388
|
}
|
|
9391
9389
|
get data() {
|
|
9392
|
-
return A.brandCheck(this, r
|
|
9390
|
+
return A.brandCheck(this, r), Z(this, D).data;
|
|
9393
9391
|
}
|
|
9394
9392
|
get origin() {
|
|
9395
|
-
return A.brandCheck(this, r
|
|
9393
|
+
return A.brandCheck(this, r), Z(this, D).origin;
|
|
9396
9394
|
}
|
|
9397
9395
|
get lastEventId() {
|
|
9398
|
-
return A.brandCheck(this, r
|
|
9396
|
+
return A.brandCheck(this, r), Z(this, D).lastEventId;
|
|
9399
9397
|
}
|
|
9400
9398
|
get source() {
|
|
9401
|
-
return A.brandCheck(this, r
|
|
9399
|
+
return A.brandCheck(this, r), Z(this, D).source;
|
|
9402
9400
|
}
|
|
9403
9401
|
get ports() {
|
|
9404
|
-
return A.brandCheck(this, r
|
|
9402
|
+
return A.brandCheck(this, r), Object.isFrozen(Z(this, D).ports) || Object.freeze(Z(this, D).ports), Z(this, D).ports;
|
|
9405
9403
|
}
|
|
9406
9404
|
initMessageEvent(G, J = !1, V = !1, _ = null, q = "", M = "", Y = null, m = []) {
|
|
9407
|
-
return A.brandCheck(this, r
|
|
9405
|
+
return A.brandCheck(this, r), A.argumentLengthCheck(arguments, 1, "MessageEvent.initMessageEvent"), new r(G, {
|
|
9408
9406
|
bubbles: J,
|
|
9409
9407
|
cancelable: V,
|
|
9410
9408
|
data: _,
|
|
@@ -9416,7 +9414,7 @@ ${M.format(Y)}
|
|
|
9416
9414
|
}
|
|
9417
9415
|
static createFastMessageEvent(G, J) {
|
|
9418
9416
|
var _, q, M, Y, m;
|
|
9419
|
-
const V = new r
|
|
9417
|
+
const V = new r(c, G, J);
|
|
9420
9418
|
return mA(V, D, J), (_ = Z(V, D)).data ?? (_.data = null), (q = Z(V, D)).origin ?? (q.origin = ""), (M = Z(V, D)).lastEventId ?? (M.lastEventId = ""), (Y = Z(V, D)).source ?? (Y.source = null), (m = Z(V, D)).ports ?? (m.ports = []), V;
|
|
9421
9419
|
}
|
|
9422
9420
|
};
|
|
@@ -9424,7 +9422,7 @@ ${M.format(Y)}
|
|
|
9424
9422
|
let t = r;
|
|
9425
9423
|
const { createFastMessageEvent: y } = t;
|
|
9426
9424
|
delete t.createFastMessageEvent;
|
|
9427
|
-
const N = class N
|
|
9425
|
+
const N = class N extends Event {
|
|
9428
9426
|
constructor(G, J = {}) {
|
|
9429
9427
|
const V = "CloseEvent constructor";
|
|
9430
9428
|
A.argumentLengthCheck(arguments, 1, V), G = A.converters.DOMString(G, V, "type"), J = A.converters.CloseEventInit(J);
|
|
@@ -9433,18 +9431,18 @@ ${M.format(Y)}
|
|
|
9433
9431
|
mA(this, o, J), A.util.markAsUncloneable(this);
|
|
9434
9432
|
}
|
|
9435
9433
|
get wasClean() {
|
|
9436
|
-
return A.brandCheck(this, N
|
|
9434
|
+
return A.brandCheck(this, N), Z(this, o).wasClean;
|
|
9437
9435
|
}
|
|
9438
9436
|
get code() {
|
|
9439
|
-
return A.brandCheck(this, N
|
|
9437
|
+
return A.brandCheck(this, N), Z(this, o).code;
|
|
9440
9438
|
}
|
|
9441
9439
|
get reason() {
|
|
9442
|
-
return A.brandCheck(this, N
|
|
9440
|
+
return A.brandCheck(this, N), Z(this, o).reason;
|
|
9443
9441
|
}
|
|
9444
9442
|
};
|
|
9445
9443
|
o = /* @__PURE__ */ new WeakMap(), e(N, "CloseEvent");
|
|
9446
9444
|
let R = N;
|
|
9447
|
-
const I = class I
|
|
9445
|
+
const I = class I extends Event {
|
|
9448
9446
|
constructor(G, J) {
|
|
9449
9447
|
const V = "ErrorEvent constructor";
|
|
9450
9448
|
A.argumentLengthCheck(arguments, 1, V);
|
|
@@ -9453,19 +9451,19 @@ ${M.format(Y)}
|
|
|
9453
9451
|
A.util.markAsUncloneable(this), G = A.converters.DOMString(G, V, "type"), J = A.converters.ErrorEventInit(J ?? {}), mA(this, l, J);
|
|
9454
9452
|
}
|
|
9455
9453
|
get message() {
|
|
9456
|
-
return A.brandCheck(this, I
|
|
9454
|
+
return A.brandCheck(this, I), Z(this, l).message;
|
|
9457
9455
|
}
|
|
9458
9456
|
get filename() {
|
|
9459
|
-
return A.brandCheck(this, I
|
|
9457
|
+
return A.brandCheck(this, I), Z(this, l).filename;
|
|
9460
9458
|
}
|
|
9461
9459
|
get lineno() {
|
|
9462
|
-
return A.brandCheck(this, I
|
|
9460
|
+
return A.brandCheck(this, I), Z(this, l).lineno;
|
|
9463
9461
|
}
|
|
9464
9462
|
get colno() {
|
|
9465
|
-
return A.brandCheck(this, I
|
|
9463
|
+
return A.brandCheck(this, I), Z(this, l).colno;
|
|
9466
9464
|
}
|
|
9467
9465
|
get error() {
|
|
9468
|
-
return A.brandCheck(this, I
|
|
9466
|
+
return A.brandCheck(this, I), Z(this, l).error;
|
|
9469
9467
|
}
|
|
9470
9468
|
};
|
|
9471
9469
|
l = /* @__PURE__ */ new WeakMap(), e(I, "ErrorEvent");
|
|
@@ -9677,7 +9675,7 @@ ${M.format(Y)}
|
|
|
9677
9675
|
return x[A] === y.CLOSED;
|
|
9678
9676
|
}
|
|
9679
9677
|
e(I, "isClosed");
|
|
9680
|
-
function p(x, z, $ = (nA
|
|
9678
|
+
function p(x, z, $ = (nA, iA) => new Event(nA, iA), K = {}) {
|
|
9681
9679
|
const nA = $(x, K);
|
|
9682
9680
|
z.dispatchEvent(nA);
|
|
9683
9681
|
}
|
|
@@ -9803,7 +9801,7 @@ ${M.format(Y)}
|
|
|
9803
9801
|
];
|
|
9804
9802
|
}
|
|
9805
9803
|
e(y, "generateMask");
|
|
9806
|
-
const F = class F
|
|
9804
|
+
const F = class F {
|
|
9807
9805
|
constructor(D) {
|
|
9808
9806
|
this.frameData = D;
|
|
9809
9807
|
}
|
|
@@ -9943,7 +9941,7 @@ ${M.format(Y)}
|
|
|
9943
9941
|
0,
|
|
9944
9942
|
255,
|
|
9945
9943
|
255
|
|
9946
|
-
]), t = Symbol("kBuffer"), y = Symbol("kLength"), D = class D
|
|
9944
|
+
]), t = Symbol("kBuffer"), y = Symbol("kLength"), D = class D {
|
|
9947
9945
|
constructor(r) {
|
|
9948
9946
|
SA(this, F);
|
|
9949
9947
|
SA(this, Q, {});
|
|
@@ -9980,7 +9978,7 @@ ${M.format(Y)}
|
|
|
9980
9978
|
var Y, m, f, n, C, w, S;
|
|
9981
9979
|
if (hasRequiredReceiver) return receiver;
|
|
9982
9980
|
hasRequiredReceiver = 1;
|
|
9983
|
-
const { Writable: A } = Stream__default, k = require$$0__default$1, { parserStates: c, opcodes: B, states: t, emptyBuffer: y, sentCloseFrameState: R } = requireConstants(), { kReadyState: F, kSentClose: Q, kResponse: D, kReceivedClose: U } = requireSymbols(), { channels: r } = requireDiagnostics(), { isValidStatusCode: o, isValidOpcode: N, failWebsocketConnection: l, websocketMessageReceived: I, utf8Decode: p, isControlFrame: b, isTextBinaryFrame: G, isContinuationFrame: J } = requireUtil$1(), { WebsocketFrameSend: V } = requireFrame(), { closeWebSocketConnection: _ } = requireConnection(), { PerMessageDeflate: q } = requirePermessageDeflate(), x = class x
|
|
9981
|
+
const { Writable: A } = Stream__default, k = require$$0__default$1, { parserStates: c, opcodes: B, states: t, emptyBuffer: y, sentCloseFrameState: R } = requireConstants(), { kReadyState: F, kSentClose: Q, kResponse: D, kReceivedClose: U } = requireSymbols(), { channels: r } = requireDiagnostics(), { isValidStatusCode: o, isValidOpcode: N, failWebsocketConnection: l, websocketMessageReceived: I, utf8Decode: p, isControlFrame: b, isTextBinaryFrame: G, isContinuationFrame: J } = requireUtil$1(), { WebsocketFrameSend: V } = requireFrame(), { closeWebSocketConnection: _ } = requireConnection(), { PerMessageDeflate: q } = requirePermessageDeflate(), x = class x extends A {
|
|
9984
9982
|
constructor(K, nA) {
|
|
9985
9983
|
super();
|
|
9986
9984
|
SA(this, Y, []);
|
|
@@ -10150,7 +10148,7 @@ ${M.format(Y)}
|
|
|
10150
10148
|
var Q, D, U, r, Pe;
|
|
10151
10149
|
if (hasRequiredSender) return sender;
|
|
10152
10150
|
hasRequiredSender = 1;
|
|
10153
|
-
const { WebsocketFrameSend: A } = requireFrame(), { opcodes: k, sendHints: c } = requireConstants(), B = requireFixedQueue(), t = Buffer[Symbol.species], N = class N
|
|
10151
|
+
const { WebsocketFrameSend: A } = requireFrame(), { opcodes: k, sendHints: c } = requireConstants(), B = requireFixedQueue(), t = Buffer[Symbol.species], N = class N {
|
|
10154
10152
|
constructor(I) {
|
|
10155
10153
|
SA(this, r);
|
|
10156
10154
|
SA(this, Q, new B());
|
|
@@ -10212,7 +10210,7 @@ ${M.format(Y)}
|
|
|
10212
10210
|
var z, $, K, nA, iA, uA, Ze;
|
|
10213
10211
|
if (hasRequiredWebsocket) return websocket;
|
|
10214
10212
|
hasRequiredWebsocket = 1;
|
|
10215
|
-
const { webidl: A } = requireWebidl(), { URLSerializer: k } = requireDataUrl(), { environmentSettingsObject: c } = requireUtil$6(), { staticPropertyDescriptors: B, states: t, sentCloseFrameState: y, sendHints: R } = requireConstants(), { kWebSocketURL: F, kReadyState: Q, kController: D, kBinaryType: U, kResponse: r, kSentClose: o, kByteParser: N } = requireSymbols(), { isConnecting: l, isEstablished: I, isClosing: p, isValidSubprotocol: b, fireEvent: G } = requireUtil$1(), { establishWebSocketConnection: J, closeWebSocketConnection: V } = requireConnection(), { ByteParser: _ } = requireReceiver(), { kEnumerableProperty: q, isBlobLike: M } = requireUtil$7(), { getGlobalDispatcher: Y } = requireGlobal(), { types: m } = require$$0__default$3, { ErrorEvent: f, CloseEvent: n } = requireEvents(), { SendQueue: C } = requireSender(), IA = class IA
|
|
10213
|
+
const { webidl: A } = requireWebidl(), { URLSerializer: k } = requireDataUrl(), { environmentSettingsObject: c } = requireUtil$6(), { staticPropertyDescriptors: B, states: t, sentCloseFrameState: y, sendHints: R } = requireConstants(), { kWebSocketURL: F, kReadyState: Q, kController: D, kBinaryType: U, kResponse: r, kSentClose: o, kByteParser: N } = requireSymbols(), { isConnecting: l, isEstablished: I, isClosing: p, isValidSubprotocol: b, fireEvent: G } = requireUtil$1(), { establishWebSocketConnection: J, closeWebSocketConnection: V } = requireConnection(), { ByteParser: _ } = requireReceiver(), { kEnumerableProperty: q, isBlobLike: M } = requireUtil$7(), { getGlobalDispatcher: Y } = requireGlobal(), { types: m } = require$$0__default$3, { ErrorEvent: f, CloseEvent: n } = requireEvents(), { SendQueue: C } = requireSender(), IA = class IA extends EventTarget {
|
|
10216
10214
|
constructor(fA, kA = []) {
|
|
10217
10215
|
super();
|
|
10218
10216
|
SA(this, uA);
|
|
@@ -10244,10 +10242,10 @@ ${M.format(Y)}
|
|
|
10244
10242
|
if (kA.length > 0 && !kA.every((EA) => b(EA))) throw new DOMException("Invalid Sec-WebSocket-Protocol value", "SyntaxError");
|
|
10245
10243
|
this[F] = new URL(oA.href);
|
|
10246
10244
|
const aA = c.settingsObject;
|
|
10247
|
-
this[D] = J(oA, kA, aA, this, (EA, sA) => ee(this, uA, Ze).call(this, EA, sA), gA), this[Q] = IA
|
|
10245
|
+
this[D] = J(oA, kA, aA, this, (EA, sA) => ee(this, uA, Ze).call(this, EA, sA), gA), this[Q] = IA.CONNECTING, this[o] = y.NOT_SENT, this[U] = "blob";
|
|
10248
10246
|
}
|
|
10249
10247
|
close(fA = void 0, kA = void 0) {
|
|
10250
|
-
A.brandCheck(this, IA
|
|
10248
|
+
A.brandCheck(this, IA);
|
|
10251
10249
|
const bA = "WebSocket.close";
|
|
10252
10250
|
if (fA !== void 0 && (fA = A.converters["unsigned short"](fA, bA, "code", { clamp: !0 })), kA !== void 0 && (kA = A.converters.USVString(kA, bA, "reason")), fA !== void 0 && fA !== 1e3 && (fA < 3e3 || fA > 4999)) throw new DOMException("invalid code", "InvalidAccessError");
|
|
10253
10251
|
let gA = 0;
|
|
@@ -10255,7 +10253,7 @@ ${M.format(Y)}
|
|
|
10255
10253
|
V(this, fA, kA, gA);
|
|
10256
10254
|
}
|
|
10257
10255
|
send(fA) {
|
|
10258
|
-
A.brandCheck(this, IA
|
|
10256
|
+
A.brandCheck(this, IA);
|
|
10259
10257
|
const kA = "WebSocket.send";
|
|
10260
10258
|
if (A.argumentLengthCheck(arguments, 1, kA), fA = A.converters.WebSocketSendData(fA, kA, "data"), l(this)) throw new DOMException("Sent before connected.", "InvalidStateError");
|
|
10261
10259
|
if (!(!I(this) || p(this))) if (typeof fA == "string") {
|
|
@@ -10272,49 +10270,49 @@ ${M.format(Y)}
|
|
|
10272
10270
|
}, R.blob));
|
|
10273
10271
|
}
|
|
10274
10272
|
get readyState() {
|
|
10275
|
-
return A.brandCheck(this, IA
|
|
10273
|
+
return A.brandCheck(this, IA), this[Q];
|
|
10276
10274
|
}
|
|
10277
10275
|
get bufferedAmount() {
|
|
10278
|
-
return A.brandCheck(this, IA
|
|
10276
|
+
return A.brandCheck(this, IA), Z(this, $);
|
|
10279
10277
|
}
|
|
10280
10278
|
get url() {
|
|
10281
|
-
return A.brandCheck(this, IA
|
|
10279
|
+
return A.brandCheck(this, IA), k(this[F]);
|
|
10282
10280
|
}
|
|
10283
10281
|
get extensions() {
|
|
10284
|
-
return A.brandCheck(this, IA
|
|
10282
|
+
return A.brandCheck(this, IA), Z(this, nA);
|
|
10285
10283
|
}
|
|
10286
10284
|
get protocol() {
|
|
10287
|
-
return A.brandCheck(this, IA
|
|
10285
|
+
return A.brandCheck(this, IA), Z(this, K);
|
|
10288
10286
|
}
|
|
10289
10287
|
get onopen() {
|
|
10290
|
-
return A.brandCheck(this, IA
|
|
10288
|
+
return A.brandCheck(this, IA), Z(this, z).open;
|
|
10291
10289
|
}
|
|
10292
10290
|
set onopen(fA) {
|
|
10293
|
-
A.brandCheck(this, IA
|
|
10291
|
+
A.brandCheck(this, IA), Z(this, z).open && this.removeEventListener("open", Z(this, z).open), typeof fA == "function" ? (Z(this, z).open = fA, this.addEventListener("open", fA)) : Z(this, z).open = null;
|
|
10294
10292
|
}
|
|
10295
10293
|
get onerror() {
|
|
10296
|
-
return A.brandCheck(this, IA
|
|
10294
|
+
return A.brandCheck(this, IA), Z(this, z).error;
|
|
10297
10295
|
}
|
|
10298
10296
|
set onerror(fA) {
|
|
10299
|
-
A.brandCheck(this, IA
|
|
10297
|
+
A.brandCheck(this, IA), Z(this, z).error && this.removeEventListener("error", Z(this, z).error), typeof fA == "function" ? (Z(this, z).error = fA, this.addEventListener("error", fA)) : Z(this, z).error = null;
|
|
10300
10298
|
}
|
|
10301
10299
|
get onclose() {
|
|
10302
|
-
return A.brandCheck(this, IA
|
|
10300
|
+
return A.brandCheck(this, IA), Z(this, z).close;
|
|
10303
10301
|
}
|
|
10304
10302
|
set onclose(fA) {
|
|
10305
|
-
A.brandCheck(this, IA
|
|
10303
|
+
A.brandCheck(this, IA), Z(this, z).close && this.removeEventListener("close", Z(this, z).close), typeof fA == "function" ? (Z(this, z).close = fA, this.addEventListener("close", fA)) : Z(this, z).close = null;
|
|
10306
10304
|
}
|
|
10307
10305
|
get onmessage() {
|
|
10308
|
-
return A.brandCheck(this, IA
|
|
10306
|
+
return A.brandCheck(this, IA), Z(this, z).message;
|
|
10309
10307
|
}
|
|
10310
10308
|
set onmessage(fA) {
|
|
10311
|
-
A.brandCheck(this, IA
|
|
10309
|
+
A.brandCheck(this, IA), Z(this, z).message && this.removeEventListener("message", Z(this, z).message), typeof fA == "function" ? (Z(this, z).message = fA, this.addEventListener("message", fA)) : Z(this, z).message = null;
|
|
10312
10310
|
}
|
|
10313
10311
|
get binaryType() {
|
|
10314
|
-
return A.brandCheck(this, IA
|
|
10312
|
+
return A.brandCheck(this, IA), this[U];
|
|
10315
10313
|
}
|
|
10316
10314
|
set binaryType(fA) {
|
|
10317
|
-
A.brandCheck(this, IA
|
|
10315
|
+
A.brandCheck(this, IA), fA !== "blob" && fA !== "arraybuffer" ? this[U] = "blob" : this[U] = fA;
|
|
10318
10316
|
}
|
|
10319
10317
|
};
|
|
10320
10318
|
z = /* @__PURE__ */ new WeakMap(), $ = /* @__PURE__ */ new WeakMap(), K = /* @__PURE__ */ new WeakMap(), nA = /* @__PURE__ */ new WeakMap(), iA = /* @__PURE__ */ new WeakMap(), uA = /* @__PURE__ */ new WeakSet(), Ze = e(function(fA, kA) {
|
|
@@ -10429,7 +10427,7 @@ ${M.format(Y)}
|
|
|
10429
10427
|
239,
|
|
10430
10428
|
187,
|
|
10431
10429
|
191
|
|
10432
|
-
], t = 10, y = 13, R = 58, F = 32, D = class D
|
|
10430
|
+
], t = 10, y = 13, R = 58, F = 32, D = class D extends A {
|
|
10433
10431
|
constructor(o = {}) {
|
|
10434
10432
|
o.readableObjectMode = !0;
|
|
10435
10433
|
super(o);
|
|
@@ -10558,7 +10556,7 @@ ${p}`;
|
|
|
10558
10556
|
hasRequiredEventsource = 1;
|
|
10559
10557
|
const { pipeline: A } = Stream__default, { fetching: k } = requireFetch(), { makeRequest: c } = requireRequest(), { webidl: B } = requireWebidl(), { EventSourceStream: t } = requireEventsourceStream(), { parseMIMEType: y } = requireDataUrl(), { createFastMessageEvent: R } = requireEvents(), { isNetworkError: F } = requireResponse(), { delay: Q } = requireUtil(), { kEnumerableProperty: D } = requireUtil$7(), { environmentSettingsObject: U } = requireUtil$6();
|
|
10560
10558
|
let r = !1;
|
|
10561
|
-
const o = 3e3, N = 0, l = 1, I = 2, p = "anonymous", b = "use-credentials", x = class x
|
|
10559
|
+
const o = 3e3, N = 0, l = 1, I = 2, p = "anonymous", b = "use-credentials", x = class x extends EventTarget {
|
|
10562
10560
|
constructor(K, nA = {}) {
|
|
10563
10561
|
super();
|
|
10564
10562
|
SA(this, C);
|
|
@@ -10612,7 +10610,7 @@ ${p}`;
|
|
|
10612
10610
|
return Z(this, q);
|
|
10613
10611
|
}
|
|
10614
10612
|
close() {
|
|
10615
|
-
B.brandCheck(this, x
|
|
10613
|
+
B.brandCheck(this, x), Z(this, M) !== I && (mA(this, M, I), Z(this, m).abort(), mA(this, Y, null));
|
|
10616
10614
|
}
|
|
10617
10615
|
get onopen() {
|
|
10618
10616
|
return Z(this, V).open;
|
|
@@ -10858,7 +10856,7 @@ ${p}`;
|
|
|
10858
10856
|
Object.defineProperty(A, "__esModule", { value: !0 }), A.Agent = void 0;
|
|
10859
10857
|
const y = B(require$$0__default$6), R = B(require$$0__default$5), F = require$$1__default$4;
|
|
10860
10858
|
t(requireHelpers(), A);
|
|
10861
|
-
const Q = Symbol("AgentBaseInternalState"), U = class U
|
|
10859
|
+
const Q = Symbol("AgentBaseInternalState"), U = class U extends R.Agent {
|
|
10862
10860
|
constructor(o) {
|
|
10863
10861
|
super(o), this[Q] = {};
|
|
10864
10862
|
}
|
|
@@ -11461,7 +11459,7 @@ ${p}`;
|
|
|
11461
11459
|
return l && l.__esModule ? l : { default: l };
|
|
11462
11460
|
};
|
|
11463
11461
|
Object.defineProperty(dist$1, "__esModule", { value: !0 }), dist$1.HttpProxyAgent = void 0;
|
|
11464
|
-
const t = c(require$$0__default$6), y = c(require$$1__default$7), R = B(requireSrc()), F = require$$3__default, Q = requireDist$2(), D = require$$5__default$4, U = (0, R.default)("http-proxy-agent"), N = class N
|
|
11462
|
+
const t = c(require$$0__default$6), y = c(require$$1__default$7), R = B(requireSrc()), F = require$$3__default, Q = requireDist$2(), D = require$$5__default$4, U = (0, R.default)("http-proxy-agent"), N = class N extends Q.Agent {
|
|
11465
11463
|
constructor(I, p) {
|
|
11466
11464
|
super(p), this.proxy = typeof I == "string" ? new D.URL(I) : I, this.proxyHeaders = p?.headers ?? {}, U("Creating new HttpProxyAgent instance: %o", this.proxy.href);
|
|
11467
11465
|
const b = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), G = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|
|
@@ -11609,7 +11607,7 @@ ${p}`;
|
|
|
11609
11607
|
const t = c(require$$0__default$6), y = c(require$$1__default$7), R = B(require$$2__default), F = B(requireSrc()), Q = requireDist$2(), D = require$$5__default$4, U = requireParseProxyResponse(), r = (0, F.default)("https-proxy-agent"), o = e((b) => b.servername === void 0 && b.host && !t.isIP(b.host) ? {
|
|
11610
11608
|
...b,
|
|
11611
11609
|
servername: b.host
|
|
11612
|
-
} : b, "setServernameFromNonIpHost"), p = class p
|
|
11610
|
+
} : b, "setServernameFromNonIpHost"), p = class p extends Q.Agent {
|
|
11613
11611
|
constructor(G, J) {
|
|
11614
11612
|
super(J), this.options = { path: void 0 }, this.proxy = typeof G == "string" ? new D.URL(G) : G, this.proxyHeaders = J?.headers ?? {}, r("Creating new HttpsProxyAgent instance: %o", this.proxy.href);
|
|
11615
11613
|
const V = (this.proxy.hostname || this.proxy.host).replace(/^\[|\]$/g, ""), _ = this.proxy.port ? parseInt(this.proxy.port, 10) : this.proxy.protocol === "https:" ? 443 : 80;
|