diff --git a/.github/renovate.json b/.github/renovate.json index 190d2cd..756f9c7 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,5 +1,14 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": ["github>Boshen/renovate"], - "ignoreDeps": ["@void-sdk/void"] + "ignoreDeps": ["@void-sdk/void"], + "customManagers": [ + { + "customType": "regex", + "fileMatch": ["^src/install-sfw\\.ts$"], + "matchStrings": ["const SFW_VERSION = \"(?v[^\"]+)\";"], + "depNameTemplate": "SocketDev/sfw-free", + "datasourceTemplate": "github-releases" + } + ] } diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 805e952..1a4ba86 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -292,6 +292,245 @@ jobs: - name: Verify vp exec works run: vp exec node -e "console.log('vp exec works in Alpine')" + test-sfw: + # On Linux: sfw wraps vp install end-to-end. Verify across all package + # managers vp auto-detects via lockfile (pnpm/npm/yarn/bun). + # On macOS / Windows: sfw is temporarily unsupported; the action emits a + # warning and falls back to plain `vp install` with no sfw binary + # downloaded. We verify the fallback once per non-Linux OS using the + # default package manager (pnpm) — the PM diversity matrix is Linux-only + # because the sfw wrap is Linux-only. + # Tracking: https://github.com/voidzero-dev/setup-vp/issues/73 + # vp version is left at the action default (`latest`) — sfw is decoupled + # from vp's release channel. Other test jobs (test-cache-*, + # test-node-version, etc.) still cover the alpha channel for vp itself. + strategy: + fail-fast: false + matrix: + os: [ubuntu-latest, macos-latest, windows-latest] + package-manager: [pnpm, npm, yarn, bun] + exclude: + # Non-Linux only needs one fallback check per OS — sfw isn't + # invoked there, so PM diversity adds no coverage. + - { os: macos-latest, package-manager: npm } + - { os: macos-latest, package-manager: yarn } + - { os: macos-latest, package-manager: bun } + - { os: windows-latest, package-manager: npm } + - { os: windows-latest, package-manager: yarn } + - { os: windows-latest, package-manager: bun } + runs-on: ${{ matrix.os }} + steps: + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 + + - name: Create test project for ${{ matrix.package-manager }} + shell: bash + run: | + case "${{ matrix.package-manager }}" in + pnpm) LOCKFILE=pnpm-lock.yaml; CONTENTS='' ;; + npm) LOCKFILE=package-lock.json; CONTENTS='{"name":"test-project","lockfileVersion":3}' ;; + yarn) LOCKFILE=yarn.lock; CONTENTS='' ;; + bun) LOCKFILE=bun.lock; CONTENTS='' ;; + *) echo "Unsupported package-manager: ${{ matrix.package-manager }}" >&2; exit 1 ;; + esac + mkdir -p test-project + cd test-project + echo '{"name":"test-project","private":true,"dependencies":{"is-odd":"^3.0.1"}}' > package.json + printf '%s' "$CONTENTS" > "$LOCKFILE" + + - name: Configure Yarn .yarnrc.yml (Linux + yarn only) + if: matrix.package-manager == 'yarn' && runner.os == 'Linux' + # nodeLinker=node-modules: Yarn Berry defaults to Plug'n'Play, which + # makes plain `require()` from a non-yarn-wrapped node process fail. + # enableImmutableInstalls=false: Yarn Berry auto-enables immutable + # installs under CI, which makes the bootstrap from an empty + # yarn.lock fail with YN0028. Setting it here (instead of via the + # YARN_ENABLE_IMMUTABLE_INSTALLS env var) survives any future + # env-sanitization vp might apply to spawned subprocesses. + shell: bash + run: | + { + echo "nodeLinker: node-modules" + echo "enableImmutableInstalls: false" + } > test-project/.yarnrc.yml + + - name: Setup Vite+ with sfw + ${{ matrix.package-manager }} + uses: ./ + with: + sfw: true + run-install: | + - cwd: test-project + cache: false + + - name: Verify sfw is on PATH (Linux only) + if: runner.os == 'Linux' + run: sfw --version + + - name: Verify sfw fallback on non-Linux (action did not install sfw) + if: runner.os != 'Linux' + shell: bash + # Check the exact path getSfwBinDir() would have created rather than + # `command -v sfw`, so a runner image that happens to ship sfw + # globally (or a leftover from a prior self-hosted job) doesn't + # false-fail this assertion. + run: | + if [ -e "$RUNNER_TEMP/sfw-bin/sfw" ] || [ -e "$RUNNER_TEMP/sfw-bin/sfw.exe" ]; then + echo "ERROR: expected the action to skip the sfw download on ${{ runner.os }}, but $RUNNER_TEMP/sfw-bin/sfw[.exe] exists" + exit 1 + fi + echo "OK: action did not install sfw; fallback to plain vp install confirmed" + + - name: Verify dependency installed via ${{ matrix.package-manager }} + working-directory: test-project + run: vp exec node -e "console.log(require('is-odd')(3))" + + test-sfw-alpine: + # vp version is left at the action default (`latest`) — sfw's musl asset + # selection is decoupled from vp's release channel. + # NOTE: if this job is later re-matrixed (alpha+latest, multiple alpine + # versions, etc.), restore `strategy: { fail-fast: false }` so a flake in + # one shard doesn't cancel the others. + runs-on: ubuntu-latest + container: + image: alpine:3.23 + steps: + - name: Install Alpine dependencies + run: apk add --no-cache bash curl gcompat libstdc++ + + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 + + - name: Create test project with a real dependency + run: | + mkdir -p test-project + cd test-project + echo '{"name":"test-project","private":true,"dependencies":{"is-odd":"^3.0.1"}}' > package.json + + - name: Setup Vite+ with sfw (musl) + uses: ./ + with: + sfw: true + run-install: | + - cwd: test-project + cache: false + + - name: Verify sfw is on PATH (musl) + run: sfw --version + + - name: Verify dependency installed under sfw (musl) + working-directory: test-project + run: vp exec node -e "console.log(require('is-odd')(3))" + + test-sfw-blocks-malicious: + # Verifies sfw actually intercepts a known-malicious package, not just + # that it wraps the install. Uses `lodahs` (lodash typosquat), the same + # canary SocketDev's own workflows use: + # https://github.com/SocketDev/bun-security-scanner/blob/main/.github/workflows/test.yml + # If this job ever stops blocking, either sfw is misconfigured or the + # canary itself has been delisted — swap it for another Socket-flagged + # package from https://socket.dev/blog/category/threat-research. + # vp version is left at the action default (`latest`) — sfw block behavior + # is decoupled from vp's release channel. + # NOTE: if this job is later re-matrixed, restore + # `strategy: { fail-fast: false }` so a flake in one shard doesn't cancel + # the others. + runs-on: ubuntu-latest + steps: + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 + + - name: Create test project with a benign dependency + shell: bash + run: | + mkdir -p test-project + cd test-project + echo '{"name":"test-project","private":true,"dependencies":{"is-odd":"^3.0.1"}}' > package.json + + - name: Setup Vite+ with sfw and install benign dep + uses: ./ + with: + sfw: true + run-install: | + - cwd: test-project + cache: false + + - name: Assert sfw blocks malicious package (lodahs typosquat of lodash) + shell: bash + working-directory: test-project + # Exit code alone isn't sufficient: a non-zero exit from npm 404, + # network blip, or vp crash would also produce a false positive. We + # also require the literal sfw block-line for lodahs in the combined + # output so an unrelated failure doesn't get reported as "sfw blocked + # it". The block-line format observed in CI is: + # " - blocked npm package: name: lodahs; version: ...; reason: ..." + # The banner "Protected by Socket Firewall" and the "=== Socket + # Firewall ===" header are emitted on EVERY sfw invocation, so neither + # of those is a usable marker — use the unique "blocked npm package: + # name: lodahs" line instead. + run: | + set +e + OUTPUT=$(sfw vp install lodahs 2>&1) + CODE=$? + set -e + printf '%s\n' "$OUTPUT" + if [ "$CODE" -eq 0 ]; then + echo "::error::sfw failed to block lodahs — install exited 0" + exit 1 + fi + if ! printf '%s' "$OUTPUT" | grep -qF -- "blocked npm package: name: lodahs"; then + echo "::error::sfw vp install exited $CODE but the lodahs block-line was not in the output — likely failed for a non-sfw reason (canary delisted, network blip, vp crash, or sfw output format changed). Swap the canary if Socket has delisted lodahs, or update the marker grep if sfw's block-line format changed." + exit 1 + fi + echo "OK: sfw blocked lodahs (exit $CODE, block-line found)" + + test-sfw-with-socketdev-action: + # Exercises the composition path: install sfw via the upstream + # `socketdev/action@` step first, then call setup-vp with `sfw: + # true`. setup-vp should DETECT the pre-installed sfw on PATH (via + # findSfwOnPath()) and SKIP its bundled download. We assert that by + # checking $RUNNER_TEMP/sfw-bin/sfw[.exe] — the exact path + # installSfw() would have created — was NOT created. + # See README "Advanced: stricter supply chain via socketdev/action". + runs-on: ubuntu-latest + steps: + - uses: taiki-e/checkout-action@7d1e50e93dc4fb3bba58f85018fadf77898aee8b # v1.4.2 + + - name: Create test project with a real dependency + shell: bash + run: | + mkdir -p test-project + cd test-project + echo '{"name":"test-project","private":true,"dependencies":{"is-odd":"^3.0.1"}}' > package.json + + - name: Install sfw via socketdev/action + uses: socketdev/action@ba6de6cc0565af1f42295590380973573297e31f + with: + mode: firewall-free + + - name: Setup Vite+ with sfw (composition path) + uses: ./ + id: setup-vp + with: + sfw: true + run-install: | + - cwd: test-project + cache: false + + - name: Verify setup-vp used the composed sfw (no bundled download) + shell: bash + # Negative assertion: if setup-vp had downloaded its own sfw, it + # would land at $RUNNER_TEMP/sfw-bin/sfw[.exe] (per + # getSfwBinDir() in install-sfw.ts). On the composition path the + # PATH-detection branch should fire FIRST and skip the download + # entirely, so neither file should exist. + run: | + if [ -e "$RUNNER_TEMP/sfw-bin/sfw" ] || [ -e "$RUNNER_TEMP/sfw-bin/sfw.exe" ]; then + echo "::error::setup-vp downloaded its own sfw binary even though one was pre-installed via socketdev/action. The PATH-detection branch in setupSfw() regressed." + exit 1 + fi + echo "OK: setup-vp used the pre-installed sfw (no bundled download at \$RUNNER_TEMP/sfw-bin/)" + + - name: Verify dependency installed under composed sfw + working-directory: test-project + run: vp exec node -e "console.log(require('is-odd')(3))" + build: runs-on: ubuntu-latest steps: diff --git a/README.md b/README.md index 48a4119..ff19c54 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ GitHub Action to set up [Vite+](https://viteplus.dev) (`vp`) with dependency cac - Optionally set up a specific Node.js version via `vp env use` - Cache project dependencies with auto-detection of lock files - Optionally run `vp install` after setup +- Optionally wrap `vp install` with [Socket Firewall Free (`sfw`)](https://docs.socket.dev/docs/socket-firewall-free) to block malicious dependencies - Support for all major package managers (npm, pnpm, yarn, bun) ## Usage @@ -135,6 +136,45 @@ steps: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} ``` +### With Socket Firewall Free (sfw) + +Set `sfw: true` to wrap `vp install` with [Socket Firewall Free](https://docs.socket.dev/docs/socket-firewall-free). The action downloads the matching `sfw` binary from the upstream [releases](https://github.com/SocketDev/sfw-free/releases) (auto-detected per OS/arch, with musl support on Alpine) and runs `sfw vp install …` so the underlying npm / pnpm / yarn fetches are inspected before packages are installed: + +```yaml +steps: + - uses: actions/checkout@v6 + - uses: voidzero-dev/setup-vp@v1 + with: + sfw: true + run-install: true +``` + +`sfw` is only applied when `run-install` is enabled; other `vp` commands (e.g. `vp env use`, `vp --version`) run unwrapped. + +The action pins the `sfw` version it downloads so a re-run of the same commit gets the same binary; [Renovate](https://docs.renovatebot.com/) opens a PR whenever SocketDev publishes a new `sfw-free` release (see [`.github/renovate.json`](.github/renovate.json)). + +#### Advanced: stricter supply chain via `socketdev/action` + +The bundled download uses a pinned URL but is not itself SHA-pinned. For workflows that want the `sfw` binary itself SHA-pinned (so a compromise of the upstream release artifact cannot land silently on the next run), compose with [`socketdev/action`](https://github.com/SocketDev/action) in an earlier step. setup-vp auto-detects an existing `sfw` on `PATH` and uses it instead of downloading: + +```yaml +steps: + - uses: actions/checkout@v6 + # SHA-pinned; let Renovate bump it + - uses: socketdev/action@ + with: + mode: firewall-free + - uses: voidzero-dev/setup-vp@v1 + with: + sfw: true + run-install: true +``` + +In the action log you will see `Using existing sfw on PATH: …` when this composition is detected, vs. `Installing sfw from …` for the bundled-download path. + +> [!IMPORTANT] +> **Linux-only for now.** `sfw` ships a self-signed CA whose certificate has an empty Extended Key Usage extension. Strict TLS stacks like rustls (used by `vp`) reject it as `UnknownIssuer`, so `vp install` fails the TLS handshake on macOS / Windows. To keep `sfw: true` safe to set unconditionally in cross-platform workflows, the action **falls back to plain `vp install` with a warning on non-Linux platforms** — it does not download the `sfw` binary there. The platform check will be relaxed once the upstream work tracked in [voidzero-dev/setup-vp#73](https://github.com/voidzero-dev/setup-vp/issues/73) lands. + ### Alpine Container Alpine Linux uses musl libc instead of glibc. Install compatibility packages before using the action: @@ -178,6 +218,7 @@ jobs: | `node-version-file` | Path to file containing Node.js version (`.nvmrc`, `.node-version`, `.tool-versions`, `package.json`) | No | | | `working-directory` | Project directory used for relative paths, lockfile auto-detection, environment checks, and default install | No | Workspace root | | `run-install` | Run `vp install` after setup. Accepts boolean or YAML object with `cwd`/`args` | No | `true` | +| `sfw` | Wrap `vp install` with [Socket Firewall Free](https://docs.socket.dev/docs/socket-firewall-free) (`sfw`) | No | `false` | | `cache` | Enable caching of project dependencies | No | `false` | | `cache-dependency-path` | Path to lock file for cache key generation | No | Auto-detected | | `registry-url` | Optional registry to set up for auth. Sets the registry in `.npmrc` and reads auth from `NODE_AUTH_TOKEN` | No | | diff --git a/action.yml b/action.yml index 7fe9aba..99e77ba 100644 --- a/action.yml +++ b/action.yml @@ -14,6 +14,10 @@ inputs: description: "Run `vp install` after setup. Accepts boolean or YAML object with cwd/args." required: false default: "true" + sfw: + description: "Wrap `vp install` with Socket Firewall Free (sfw) to block malicious dependency fetches. Currently Linux-only: on macOS/Windows the action emits a warning and falls back to plain `vp install` (no sfw binary downloaded). Tracking: https://github.com/voidzero-dev/setup-vp/issues/73. See also https://docs.socket.dev/docs/socket-firewall-free." + required: false + default: "false" node-version: description: "Node.js version to install via `vp env use`. Defaults to Node.js latest LTS version." required: false diff --git a/dist/index.mjs b/dist/index.mjs index 8ec566e..8861be9 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -1,27 +1,27 @@ -import{createRequire as e}from"node:module";import*as t from"os";import n,{EOL as r}from"os";import*as i from"crypto";import*as a from"fs";import{constants as o,existsSync as s,promises as c,writeFileSync as l}from"fs";import*as u from"path";import*as d from"http";import*as f from"https";import*as p from"events";import{EventEmitter as m}from"events";import h,{ok as g}from"assert";import*as _ from"util";import v from"node:http";import{Readable as y,Transform as b}from"node:stream";import x from"node:buffer";import S,{inspect as C}from"node:util";import w from"node:zlib";import{createHmac as T}from"node:crypto";import{StringDecoder as E}from"string_decoder";import*as D from"child_process";import{setTimeout as O}from"timers";import*as k from"buffer";import{Buffer as A}from"buffer";import{basename as j,dirname as M,isAbsolute as ee,join as N,resolve as te}from"node:path";import{setTimeout as ne}from"node:timers/promises";import re,{existsSync as ie,readFileSync as ae,readdirSync as oe,statSync as se,writeFileSync as ce}from"node:fs";import le,{EOL as ue,arch as de,homedir as fe,platform as pe}from"node:os";import*as me from"stream";import{Readable as he}from"stream";import{URL as ge}from"url";import _e from"node:process";import ve from"node:https";var ye=Object.create,be=Object.defineProperty,xe=Object.getOwnPropertyDescriptor,Se=Object.getOwnPropertyNames,Ce=Object.getPrototypeOf,we=Object.prototype.hasOwnProperty,P=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),Te=(e,t)=>{let n={};for(var r in e)be(n,r,{get:e[r],enumerable:!0});return t||be(n,Symbol.toStringTag,{value:`Module`}),n},Ee=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Se(t),a=0,o=i.length,s;at[e]).bind(null,s),enumerable:!(r=xe(t,s))||r.enumerable});return e},De=(e,t,n)=>(n=e==null?{}:ye(Ce(e)),Ee(t||!e||!e.__esModule?be(n,`default`,{value:e,enumerable:!0}):n,e)),F=e(import.meta.url);function Oe(e){return e==null?``:typeof e==`string`||e instanceof String?e:JSON.stringify(e)}function ke(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}function Ae(e,n,r){let i=new Me(e,n,r);process.stdout.write(i.toString()+t.EOL)}function je(e,t=``){Ae(e,{},t)}var Me=class{constructor(e,t,n){e||=`missing.command`,this.command=e,this.properties=t,this.message=n}toString(){let e=`::`+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=` `;let t=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let r=this.properties[n];r&&(t?t=!1:e+=`,`,e+=`${n}=${Pe(r)}`)}}return e+=`::${Ne(this.message)}`,e}};function Ne(e){return Oe(e).replace(/%/g,`%25`).replace(/\r/g,`%0D`).replace(/\n/g,`%0A`)}function Pe(e){return Oe(e).replace(/%/g,`%25`).replace(/\r/g,`%0D`).replace(/\n/g,`%0A`).replace(/:/g,`%3A`).replace(/,/g,`%2C`)}function Fe(e,n){let r=process.env[`GITHUB_${e}`];if(!r)throw Error(`Unable to find environment variable for file command ${e}`);if(!a.existsSync(r))throw Error(`Missing file at path: ${r}`);a.appendFileSync(r,`${Oe(n)}${t.EOL}`,{encoding:`utf8`})}function Ie(e,n){let r=`ghadelimiter_${i.randomUUID()}`,a=Oe(n);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(a.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${t.EOL}${a}${t.EOL}${r}`}function Le(e){let t=e.protocol===`https:`;if(Re(e))return;let n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(n)try{return new Be(n)}catch{if(!n.startsWith(`http://`)&&!n.startsWith(`https://`))return new Be(`http://${n}`)}else return}function Re(e){if(!e.hostname)return!1;let t=e.hostname;if(ze(t))return!0;let n=process.env.no_proxy||process.env.NO_PROXY||``;if(!n)return!1;let r;e.port?r=Number(e.port):e.protocol===`http:`?r=80:e.protocol===`https:`&&(r=443);let i=[e.hostname.toUpperCase()];typeof r==`number`&&i.push(`${i[0]}:${r}`);for(let e of n.split(`,`).map(e=>e.trim().toUpperCase()).filter(e=>e))if(e===`*`||i.some(t=>t===e||t.endsWith(`.${e}`)||e.startsWith(`.`)&&t.endsWith(`${e}`)))return!0;return!1}function ze(e){let t=e.toLowerCase();return t===`localhost`||t.startsWith(`127.`)||t.startsWith(`[::1]`)||t.startsWith(`[0:0:0:0:0:0:0:1]`)}var Be=class extends URL{constructor(e,t){super(e,t),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}},Ve=P((e=>{F(`net`);var t=F(`tls`),n=F(`http`),r=F(`https`),i=F(`events`);F(`assert`);var a=F(`util`);e.httpOverHttp=o,e.httpsOverHttp=s,e.httpOverHttps=c,e.httpsOverHttps=l;function o(e){var t=new u(e);return t.request=n.request,t}function s(e){var t=new u(e);return t.request=n.request,t.createSocket=d,t.defaultPort=443,t}function c(e){var t=new u(e);return t.request=r.request,t}function l(e){var t=new u(e);return t.request=r.request,t.createSocket=d,t.defaultPort=443,t}function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||n.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on(`free`,function(e,n,r,i){for(var a=f(n,r,i),o=0,s=t.requests.length;o=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(t){t.on(`free`,n),t.on(`close`,r),t.on(`agentRemove`,r),e.onSocket(t);function n(){i.emit(`free`,t,a)}function r(e){i.removeSocket(t),t.removeListener(`free`,n),t.removeListener(`close`,r),t.removeListener(`agentRemove`,r)}})},u.prototype.createSocket=function(e,t){var n=this,r={};n.sockets.push(r);var i=p({},n.proxyOptions,{method:`CONNECT`,path:e.host+`:`+e.port,agent:!1,headers:{host:e.host+`:`+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers[`Proxy-Authorization`]=`Basic `+new Buffer(i.proxyAuth).toString(`base64`)),m(`making CONNECT request`);var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once(`response`,o),a.once(`upgrade`,s),a.once(`connect`,c),a.once(`error`,l),a.end();function o(e){e.upgrade=!0}function s(e,t,n){process.nextTick(function(){c(e,t,n)})}function c(i,o,s){if(a.removeAllListeners(),o.removeAllListeners(),i.statusCode!==200){m(`tunneling socket could not be established, statusCode=%d`,i.statusCode),o.destroy();var c=Error(`tunneling socket could not be established, statusCode=`+i.statusCode);c.code=`ECONNRESET`,e.request.emit(`error`,c),n.removeSocket(r);return}if(s.length>0){m(`got illegal response body from proxy`),o.destroy();var c=Error(`got illegal response body from proxy`);c.code=`ECONNRESET`,e.request.emit(`error`,c),n.removeSocket(r);return}return m(`tunneling connection has established`),n.sockets[n.sockets.indexOf(r)]=o,t(o)}function l(t){a.removeAllListeners(),m(`tunneling socket could not be established, cause=%s -`,t.message,t.stack);var i=Error(`tunneling socket could not be established, cause=`+t.message);i.code=`ECONNRESET`,e.request.emit(`error`,i),n.removeSocket(r)}},u.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(t!==-1){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createSocket(n,function(e){n.request.onSocket(e)})}};function d(e,n){var r=this;u.prototype.createSocket.call(r,e,function(i){var a=e.request.getHeader(`host`),o=p({},r.options,{socket:i,servername:a?a.replace(/:.*$/,``):e.host}),s=t.connect(0,o);r.sockets[r.sockets.indexOf(i)]=s,n(s)})}function f(e,t,n){return typeof e==`string`?{host:e,port:t,localAddress:n}:e}function p(e){for(var t=1,n=arguments.length;t{t.exports=Ve()})),Ue=P(((e,t)=>{t.exports={kClose:Symbol(`close`),kDestroy:Symbol(`destroy`),kDispatch:Symbol(`dispatch`),kUrl:Symbol(`url`),kWriting:Symbol(`writing`),kResuming:Symbol(`resuming`),kQueue:Symbol(`queue`),kConnect:Symbol(`connect`),kConnecting:Symbol(`connecting`),kKeepAliveDefaultTimeout:Symbol(`default keep alive timeout`),kKeepAliveMaxTimeout:Symbol(`max keep alive timeout`),kKeepAliveTimeoutThreshold:Symbol(`keep alive timeout threshold`),kKeepAliveTimeoutValue:Symbol(`keep alive timeout`),kKeepAlive:Symbol(`keep alive`),kHeadersTimeout:Symbol(`headers timeout`),kBodyTimeout:Symbol(`body timeout`),kServerName:Symbol(`server name`),kLocalAddress:Symbol(`local address`),kHost:Symbol(`host`),kNoRef:Symbol(`no ref`),kBodyUsed:Symbol(`used`),kBody:Symbol(`abstracted request body`),kRunning:Symbol(`running`),kBlocking:Symbol(`blocking`),kPending:Symbol(`pending`),kSize:Symbol(`size`),kBusy:Symbol(`busy`),kQueued:Symbol(`queued`),kFree:Symbol(`free`),kConnected:Symbol(`connected`),kClosed:Symbol(`closed`),kNeedDrain:Symbol(`need drain`),kReset:Symbol(`reset`),kDestroyed:Symbol.for(`nodejs.stream.destroyed`),kResume:Symbol(`resume`),kOnError:Symbol(`on error`),kMaxHeadersSize:Symbol(`max headers size`),kRunningIdx:Symbol(`running index`),kPendingIdx:Symbol(`pending index`),kError:Symbol(`error`),kClients:Symbol(`clients`),kClient:Symbol(`client`),kParser:Symbol(`parser`),kOnDestroyed:Symbol(`destroy callbacks`),kPipelining:Symbol(`pipelining`),kSocket:Symbol(`socket`),kHostHeader:Symbol(`host header`),kConnector:Symbol(`connector`),kStrictContentLength:Symbol(`strict content length`),kMaxRedirections:Symbol(`maxRedirections`),kMaxRequests:Symbol(`maxRequestsPerClient`),kProxy:Symbol(`proxy agent options`),kCounter:Symbol(`socket request counter`),kInterceptors:Symbol(`dispatch interceptors`),kMaxResponseSize:Symbol(`max response size`),kHTTP2Session:Symbol(`http2Session`),kHTTP2SessionState:Symbol(`http2Session state`),kRetryHandlerDefaultRetry:Symbol(`retry agent default retry`),kConstruct:Symbol(`constructable`),kListeners:Symbol(`listeners`),kHTTPContext:Symbol(`http context`),kMaxConcurrentStreams:Symbol(`max concurrent streams`),kNoProxyAgent:Symbol(`no proxy agent`),kHttpProxyAgent:Symbol(`http proxy agent`),kHttpsProxyAgent:Symbol(`https proxy agent`)}})),I=P(((e,t)=>{let n=Symbol.for(`undici.error.UND_ERR`);var r=class extends Error{constructor(e){super(e),this.name=`UndiciError`,this.code=`UND_ERR`}static[Symbol.hasInstance](e){return e&&e[n]===!0}[n]=!0};let i=Symbol.for(`undici.error.UND_ERR_CONNECT_TIMEOUT`);var a=class extends r{constructor(e){super(e),this.name=`ConnectTimeoutError`,this.message=e||`Connect Timeout Error`,this.code=`UND_ERR_CONNECT_TIMEOUT`}static[Symbol.hasInstance](e){return e&&e[i]===!0}[i]=!0};let o=Symbol.for(`undici.error.UND_ERR_HEADERS_TIMEOUT`);var s=class extends r{constructor(e){super(e),this.name=`HeadersTimeoutError`,this.message=e||`Headers Timeout Error`,this.code=`UND_ERR_HEADERS_TIMEOUT`}static[Symbol.hasInstance](e){return e&&e[o]===!0}[o]=!0};let c=Symbol.for(`undici.error.UND_ERR_HEADERS_OVERFLOW`);var l=class extends r{constructor(e){super(e),this.name=`HeadersOverflowError`,this.message=e||`Headers Overflow Error`,this.code=`UND_ERR_HEADERS_OVERFLOW`}static[Symbol.hasInstance](e){return e&&e[c]===!0}[c]=!0};let u=Symbol.for(`undici.error.UND_ERR_BODY_TIMEOUT`);var d=class extends r{constructor(e){super(e),this.name=`BodyTimeoutError`,this.message=e||`Body Timeout Error`,this.code=`UND_ERR_BODY_TIMEOUT`}static[Symbol.hasInstance](e){return e&&e[u]===!0}[u]=!0};let f=Symbol.for(`undici.error.UND_ERR_RESPONSE_STATUS_CODE`);var p=class extends r{constructor(e,t,n,r){super(e),this.name=`ResponseStatusCodeError`,this.message=e||`Response Status Code Error`,this.code=`UND_ERR_RESPONSE_STATUS_CODE`,this.body=r,this.status=t,this.statusCode=t,this.headers=n}static[Symbol.hasInstance](e){return e&&e[f]===!0}[f]=!0};let m=Symbol.for(`undici.error.UND_ERR_INVALID_ARG`);var h=class extends r{constructor(e){super(e),this.name=`InvalidArgumentError`,this.message=e||`Invalid Argument Error`,this.code=`UND_ERR_INVALID_ARG`}static[Symbol.hasInstance](e){return e&&e[m]===!0}[m]=!0};let g=Symbol.for(`undici.error.UND_ERR_INVALID_RETURN_VALUE`);var _=class extends r{constructor(e){super(e),this.name=`InvalidReturnValueError`,this.message=e||`Invalid Return Value Error`,this.code=`UND_ERR_INVALID_RETURN_VALUE`}static[Symbol.hasInstance](e){return e&&e[g]===!0}[g]=!0};let v=Symbol.for(`undici.error.UND_ERR_ABORT`);var y=class extends r{constructor(e){super(e),this.name=`AbortError`,this.message=e||`The operation was aborted`,this.code=`UND_ERR_ABORT`}static[Symbol.hasInstance](e){return e&&e[v]===!0}[v]=!0};let b=Symbol.for(`undici.error.UND_ERR_ABORTED`);var x=class extends y{constructor(e){super(e),this.name=`AbortError`,this.message=e||`Request aborted`,this.code=`UND_ERR_ABORTED`}static[Symbol.hasInstance](e){return e&&e[b]===!0}[b]=!0};let S=Symbol.for(`undici.error.UND_ERR_INFO`);var C=class extends r{constructor(e){super(e),this.name=`InformationalError`,this.message=e||`Request information`,this.code=`UND_ERR_INFO`}static[Symbol.hasInstance](e){return e&&e[S]===!0}[S]=!0};let w=Symbol.for(`undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH`);var T=class extends r{constructor(e){super(e),this.name=`RequestContentLengthMismatchError`,this.message=e||`Request body length does not match content-length header`,this.code=`UND_ERR_REQ_CONTENT_LENGTH_MISMATCH`}static[Symbol.hasInstance](e){return e&&e[w]===!0}[w]=!0};let E=Symbol.for(`undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH`);var D=class extends r{constructor(e){super(e),this.name=`ResponseContentLengthMismatchError`,this.message=e||`Response body length does not match content-length header`,this.code=`UND_ERR_RES_CONTENT_LENGTH_MISMATCH`}static[Symbol.hasInstance](e){return e&&e[E]===!0}[E]=!0};let O=Symbol.for(`undici.error.UND_ERR_DESTROYED`);var k=class extends r{constructor(e){super(e),this.name=`ClientDestroyedError`,this.message=e||`The client is destroyed`,this.code=`UND_ERR_DESTROYED`}static[Symbol.hasInstance](e){return e&&e[O]===!0}[O]=!0};let A=Symbol.for(`undici.error.UND_ERR_CLOSED`);var j=class extends r{constructor(e){super(e),this.name=`ClientClosedError`,this.message=e||`The client is closed`,this.code=`UND_ERR_CLOSED`}static[Symbol.hasInstance](e){return e&&e[A]===!0}[A]=!0};let M=Symbol.for(`undici.error.UND_ERR_SOCKET`);var ee=class extends r{constructor(e,t){super(e),this.name=`SocketError`,this.message=e||`Socket error`,this.code=`UND_ERR_SOCKET`,this.socket=t}static[Symbol.hasInstance](e){return e&&e[M]===!0}[M]=!0};let N=Symbol.for(`undici.error.UND_ERR_NOT_SUPPORTED`);var te=class extends r{constructor(e){super(e),this.name=`NotSupportedError`,this.message=e||`Not supported error`,this.code=`UND_ERR_NOT_SUPPORTED`}static[Symbol.hasInstance](e){return e&&e[N]===!0}[N]=!0};let ne=Symbol.for(`undici.error.UND_ERR_BPL_MISSING_UPSTREAM`);var re=class extends r{constructor(e){super(e),this.name=`MissingUpstreamError`,this.message=e||`No upstream has been added to the BalancedPool`,this.code=`UND_ERR_BPL_MISSING_UPSTREAM`}static[Symbol.hasInstance](e){return e&&e[ne]===!0}[ne]=!0};let ie=Symbol.for(`undici.error.UND_ERR_HTTP_PARSER`);var ae=class extends Error{constructor(e,t,n){super(e),this.name=`HTTPParserError`,this.code=t?`HPE_${t}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[ie]===!0}[ie]=!0};let oe=Symbol.for(`undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE`);var se=class extends r{constructor(e){super(e),this.name=`ResponseExceededMaxSizeError`,this.message=e||`Response content exceeded max size`,this.code=`UND_ERR_RES_EXCEEDED_MAX_SIZE`}static[Symbol.hasInstance](e){return e&&e[oe]===!0}[oe]=!0};let ce=Symbol.for(`undici.error.UND_ERR_REQ_RETRY`);var le=class extends r{constructor(e,t,{headers:n,data:r}){super(e),this.name=`RequestRetryError`,this.message=e||`Request retry error`,this.code=`UND_ERR_REQ_RETRY`,this.statusCode=t,this.data=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[ce]===!0}[ce]=!0};let ue=Symbol.for(`undici.error.UND_ERR_RESPONSE`);var de=class extends r{constructor(e,t,{headers:n,data:r}){super(e),this.name=`ResponseError`,this.message=e||`Response error`,this.code=`UND_ERR_RESPONSE`,this.statusCode=t,this.data=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[ue]===!0}[ue]=!0};let fe=Symbol.for(`undici.error.UND_ERR_PRX_TLS`);var pe=class extends r{constructor(e,t,n){super(t,{cause:e,...n??{}}),this.name=`SecureProxyConnectionError`,this.message=t||`Secure Proxy Connection failed`,this.code=`UND_ERR_PRX_TLS`,this.cause=e}static[Symbol.hasInstance](e){return e&&e[fe]===!0}[fe]=!0};let me=Symbol.for(`undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED`);t.exports={AbortError:y,HTTPParserError:ae,UndiciError:r,HeadersTimeoutError:s,HeadersOverflowError:l,BodyTimeoutError:d,RequestContentLengthMismatchError:T,ConnectTimeoutError:a,ResponseStatusCodeError:p,InvalidArgumentError:h,InvalidReturnValueError:_,RequestAbortedError:x,ClientDestroyedError:k,ClientClosedError:j,InformationalError:C,SocketError:ee,NotSupportedError:te,ResponseContentLengthMismatchError:D,BalancedPoolMissingUpstreamError:re,ResponseExceededMaxSizeError:se,RequestRetryError:le,ResponseError:de,SecureProxyConnectionError:pe,MessageSizeExceededError:class extends r{constructor(e){super(e),this.name=`MessageSizeExceededError`,this.message=e||`Max decompressed message size exceeded`,this.code=`UND_ERR_WS_MESSAGE_SIZE_EXCEEDED`}static[Symbol.hasInstance](e){return e&&e[me]===!0}get[me](){return!0}}}})),We=P(((e,t)=>{let n={},r=`Accept.Accept-Encoding.Accept-Language.Accept-Ranges.Access-Control-Allow-Credentials.Access-Control-Allow-Headers.Access-Control-Allow-Methods.Access-Control-Allow-Origin.Access-Control-Expose-Headers.Access-Control-Max-Age.Access-Control-Request-Headers.Access-Control-Request-Method.Age.Allow.Alt-Svc.Alt-Used.Authorization.Cache-Control.Clear-Site-Data.Connection.Content-Disposition.Content-Encoding.Content-Language.Content-Length.Content-Location.Content-Range.Content-Security-Policy.Content-Security-Policy-Report-Only.Content-Type.Cookie.Cross-Origin-Embedder-Policy.Cross-Origin-Opener-Policy.Cross-Origin-Resource-Policy.Date.Device-Memory.Downlink.ECT.ETag.Expect.Expect-CT.Expires.Forwarded.From.Host.If-Match.If-Modified-Since.If-None-Match.If-Range.If-Unmodified-Since.Keep-Alive.Last-Modified.Link.Location.Max-Forwards.Origin.Permissions-Policy.Pragma.Proxy-Authenticate.Proxy-Authorization.RTT.Range.Referer.Referrer-Policy.Refresh.Retry-After.Sec-WebSocket-Accept.Sec-WebSocket-Extensions.Sec-WebSocket-Key.Sec-WebSocket-Protocol.Sec-WebSocket-Version.Server.Server-Timing.Service-Worker-Allowed.Service-Worker-Navigation-Preload.Set-Cookie.SourceMap.Strict-Transport-Security.Supports-Loading-Mode.TE.Timing-Allow-Origin.Trailer.Transfer-Encoding.Upgrade.Upgrade-Insecure-Requests.User-Agent.Vary.Via.WWW-Authenticate.X-Content-Type-Options.X-DNS-Prefetch-Control.X-Frame-Options.X-Permitted-Cross-Domain-Policies.X-Powered-By.X-Requested-With.X-XSS-Protection`.split(`.`);for(let e=0;e{let{wellknownHeaderNames:n,headerNameLowerCasedRecord:r}=We();var i=class e{value=null;left=null;middle=null;right=null;code;constructor(t,n,r){if(r===void 0||r>=t.length)throw TypeError(`Unreachable`);if((this.code=t.charCodeAt(r))>127)throw TypeError(`key must be ascii string`);t.length===++r?this.value=n:this.middle=new e(t,n,r)}add(t,n){let r=t.length;if(r===0)throw TypeError(`Unreachable`);let i=0,a=this;for(;;){let o=t.charCodeAt(i);if(o>127)throw TypeError(`key must be ascii string`);if(a.code===o)if(r===++i){a.value=n;break}else if(a.middle!==null)a=a.middle;else{a.middle=new e(t,n,i);break}else if(a.code=65&&(i|=32);r!==null;){if(i===r.code){if(t===++n)return r;r=r.middle;break}r=r.code{let n=F(`node:assert`),{kDestroyed:r,kBodyUsed:i,kListeners:a,kBody:o}=Ue(),{IncomingMessage:s}=F(`node:http`),c=F(`node:stream`),l=F(`node:net`),{Blob:u}=F(`node:buffer`),d=F(`node:util`),{stringify:f}=F(`node:querystring`),{EventEmitter:p}=F(`node:events`),{InvalidArgumentError:m}=I(),{headerNameLowerCasedRecord:h}=We(),{tree:g}=Ge(),[_,v]=process.versions.node.split(`.`).map(e=>Number(e));var y=class{constructor(e){this[o]=e,this[i]=!1}async*[Symbol.asyncIterator](){n(!this[i],`disturbed`),this[i]=!0,yield*this[o]}};function b(e){return S(e)?(N(e)===0&&e.on(`data`,function(){n(!1)}),typeof e.readableDidRead!=`boolean`&&(e[i]=!1,p.prototype.on.call(e,`data`,function(){this[i]=!0})),e):e&&typeof e.pipeTo==`function`||e&&typeof e!=`string`&&!ArrayBuffer.isView(e)&&ee(e)?new y(e):e}function x(){}function S(e){return e&&typeof e==`object`&&typeof e.pipe==`function`&&typeof e.on==`function`}function C(e){if(e===null)return!1;if(e instanceof u)return!0;if(typeof e!=`object`)return!1;{let t=e[Symbol.toStringTag];return(t===`Blob`||t===`File`)&&(`stream`in e&&typeof e.stream==`function`||`arrayBuffer`in e&&typeof e.arrayBuffer==`function`)}}function w(e,t){if(e.includes(`?`)||e.includes(`#`))throw Error(`Query params cannot be passed when url already contains "?" or "#".`);let n=f(t);return n&&(e+=`?`+n),e}function T(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function E(e){return e!=null&&e[0]===`h`&&e[1]===`t`&&e[2]===`t`&&e[3]===`p`&&(e[4]===`:`||e[4]===`s`&&e[5]===`:`)}function D(e){if(typeof e==`string`){if(e=new URL(e),!E(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!=`object`)throw new m(`Invalid URL: The URL argument must be a non-null object.`);if(!(e instanceof URL)){if(e.port!=null&&e.port!==``&&T(e.port)===!1)throw new m(`Invalid URL: port must be a valid integer or a string representation of an integer.`);if(e.path!=null&&typeof e.path!=`string`)throw new m(`Invalid URL path: the path must be a string or null/undefined.`);if(e.pathname!=null&&typeof e.pathname!=`string`)throw new m(`Invalid URL pathname: the pathname must be a string or null/undefined.`);if(e.hostname!=null&&typeof e.hostname!=`string`)throw new m(`Invalid URL hostname: the hostname must be a string or null/undefined.`);if(e.origin!=null&&typeof e.origin!=`string`)throw new m(`Invalid URL origin: the origin must be a string or null/undefined.`);if(!E(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=e.port==null?e.protocol===`https:`?443:80:e.port,n=e.origin==null?`${e.protocol||``}//${e.hostname||``}:${t}`:e.origin,r=e.path==null?`${e.pathname||``}${e.search||``}`:e.path;return n[n.length-1]===`/`&&(n=n.slice(0,n.length-1)),r&&r[0]!==`/`&&(r=`/${r}`),new URL(`${n}${r}`)}if(!E(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function O(e){if(e=D(e),e.pathname!==`/`||e.search||e.hash)throw new m(`invalid url`);return e}function k(e){if(e[0]===`[`){let t=e.indexOf(`]`);return n(t!==-1),e.substring(1,t)}let t=e.indexOf(`:`);return t===-1?e:e.substring(0,t)}function A(e){if(!e)return null;n(typeof e==`string`);let t=k(e);return l.isIP(t)?``:t}function j(e){return JSON.parse(JSON.stringify(e))}function M(e){return e!=null&&typeof e[Symbol.asyncIterator]==`function`}function ee(e){return e!=null&&(typeof e[Symbol.iterator]==`function`||typeof e[Symbol.asyncIterator]==`function`)}function N(e){if(e==null)return 0;if(S(e)){let t=e._readableState;return t&&t.objectMode===!1&&t.ended===!0&&Number.isFinite(t.length)?t.length:null}else if(C(e))return e.size==null?null:e.size;else if(le(e))return e.byteLength;return null}function te(e){return e&&!!(e.destroyed||e[r]||c.isDestroyed?.(e))}function ne(e,t){e==null||!S(e)||te(e)||(typeof e.destroy==`function`?(Object.getPrototypeOf(e).constructor===s&&(e.socket=null),e.destroy(t)):t&&queueMicrotask(()=>{e.emit(`error`,t)}),e.destroyed!==!0&&(e[r]=!0))}let re=/timeout=(\d+)/;function ie(e){let t=e.toString().match(re);return t?parseInt(t[1],10)*1e3:null}function ae(e){return typeof e==`string`?h[e]??e.toLowerCase():g.lookup(e)??e.toString(`latin1`).toLowerCase()}function oe(e){return g.lookup(e)??e.toString(`latin1`).toLowerCase()}function se(e,t){t===void 0&&(t={});for(let n=0;ne.toString(`utf8`)):i.toString(`utf8`)}}return`content-length`in t&&`content-disposition`in t&&(t[`content-disposition`]=Buffer.from(t[`content-disposition`]).toString(`latin1`)),t}function ce(e){let t=e.length,n=Array(t),r=!1,i=-1,a,o,s=0;for(let t=0;t{e.close(),e.byobRequest?.respond(0)});else{let t=Buffer.isBuffer(r)?r:Buffer.from(r);t.byteLength&&e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()},type:`bytes`})}function ge(e){return e&&typeof e==`object`&&typeof e.append==`function`&&typeof e.delete==`function`&&typeof e.get==`function`&&typeof e.getAll==`function`&&typeof e.has==`function`&&typeof e.set==`function`&&e[Symbol.toStringTag]===`FormData`}function _e(e,t){return`addEventListener`in e?(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)):(e.addListener(`abort`,t),()=>e.removeListener(`abort`,t))}let ve=typeof String.prototype.toWellFormed==`function`,ye=typeof String.prototype.isWellFormed==`function`;function be(e){return ve?`${e}`.toWellFormed():d.toUSVString(e)}function xe(e){return ye?`${e}`.isWellFormed():be(e)===`${e}`}function Se(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return e>=33&&e<=126}}function Ce(e){if(e.length===0)return!1;for(let t=0;t{let n=F(`node:diagnostics_channel`),r=F(`node:util`),i=r.debuglog(`undici`),a=r.debuglog(`fetch`),o=r.debuglog(`websocket`),s=!1,c={beforeConnect:n.channel(`undici:client:beforeConnect`),connected:n.channel(`undici:client:connected`),connectError:n.channel(`undici:client:connectError`),sendHeaders:n.channel(`undici:client:sendHeaders`),create:n.channel(`undici:request:create`),bodySent:n.channel(`undici:request:bodySent`),headers:n.channel(`undici:request:headers`),trailers:n.channel(`undici:request:trailers`),error:n.channel(`undici:request:error`),open:n.channel(`undici:websocket:open`),close:n.channel(`undici:websocket:close`),socketError:n.channel(`undici:websocket:socket_error`),ping:n.channel(`undici:websocket:ping`),pong:n.channel(`undici:websocket:pong`)};if(i.enabled||a.enabled){let e=a.enabled?a:i;n.channel(`undici:client:beforeConnect`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connecting to %s using %s%s`,`${a}${i?`:${i}`:``}`,r,n)}),n.channel(`undici:client:connected`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connected to %s using %s%s`,`${a}${i?`:${i}`:``}`,r,n)}),n.channel(`undici:client:connectError`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a},error:o}=t;e(`connection to %s using %s%s errored - %s`,`${a}${i?`:${i}`:``}`,r,n,o.message)}),n.channel(`undici:client:sendHeaders`).subscribe(t=>{let{request:{method:n,path:r,origin:i}}=t;e(`sending request to %s %s/%s`,n,i,r)}),n.channel(`undici:request:headers`).subscribe(t=>{let{request:{method:n,path:r,origin:i},response:{statusCode:a}}=t;e(`received response to %s %s/%s - HTTP %d`,n,i,r,a)}),n.channel(`undici:request:trailers`).subscribe(t=>{let{request:{method:n,path:r,origin:i}}=t;e(`trailers received from %s %s/%s`,n,i,r)}),n.channel(`undici:request:error`).subscribe(t=>{let{request:{method:n,path:r,origin:i},error:a}=t;e(`request to %s %s/%s errored - %s`,n,i,r,a.message)}),s=!0}if(o.enabled){if(!s){let e=i.enabled?i:o;n.channel(`undici:client:beforeConnect`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connecting to %s%s using %s%s`,a,i?`:${i}`:``,r,n)}),n.channel(`undici:client:connected`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connected to %s%s using %s%s`,a,i?`:${i}`:``,r,n)}),n.channel(`undici:client:connectError`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a},error:o}=t;e(`connection to %s%s using %s%s errored - %s`,a,i?`:${i}`:``,r,n,o.message)}),n.channel(`undici:client:sendHeaders`).subscribe(t=>{let{request:{method:n,path:r,origin:i}}=t;e(`sending request to %s %s/%s`,n,i,r)})}n.channel(`undici:websocket:open`).subscribe(e=>{let{address:{address:t,port:n}}=e;o(`connection opened %s%s`,t,n?`:${n}`:``)}),n.channel(`undici:websocket:close`).subscribe(e=>{let{websocket:t,code:n,reason:r}=e;o(`closed connection to %s - %s %s`,t.url,n,r)}),n.channel(`undici:websocket:socket_error`).subscribe(e=>{o(`connection errored - %s`,e.message)}),n.channel(`undici:websocket:ping`).subscribe(e=>{o(`ping received`)}),n.channel(`undici:websocket:pong`).subscribe(e=>{o(`pong received`)})}t.exports={channels:c}})),qe=P(((e,t)=>{let{InvalidArgumentError:n,NotSupportedError:r}=I(),i=F(`node:assert`),{isValidHTTPToken:a,isValidHeaderValue:o,isStream:s,destroy:c,isBuffer:l,isFormDataLike:u,isIterable:d,isBlobLike:f,buildURL:p,validateHandler:m,getServerName:h,normalizedMethodRecords:g}=L(),{channels:_}=Ke(),{headerNameLowerCasedRecord:v}=We(),y=/[^\u0021-\u00ff]/,b=Symbol(`handler`);var x=class{constructor(e,{path:t,method:r,body:i,headers:v,query:x,idempotent:C,blocking:w,upgrade:T,headersTimeout:E,bodyTimeout:D,reset:O,throwOnError:k,expectContinue:A,servername:j},M){if(typeof t!=`string`)throw new n(`path must be a string`);if(t[0]!==`/`&&!(t.startsWith(`http://`)||t.startsWith(`https://`))&&r!==`CONNECT`)throw new n(`path must be an absolute URL or start with a slash`);if(y.test(t))throw new n(`invalid request path`);if(typeof r!=`string`)throw new n(`method must be a string`);if(g[r]===void 0&&!a(r))throw new n(`invalid request method`);if(T&&typeof T!=`string`)throw new n(`upgrade must be a string`);if(T&&!o(T))throw new n(`invalid upgrade header`);if(E!=null&&(!Number.isFinite(E)||E<0))throw new n(`invalid headersTimeout`);if(D!=null&&(!Number.isFinite(D)||D<0))throw new n(`invalid bodyTimeout`);if(O!=null&&typeof O!=`boolean`)throw new n(`invalid reset`);if(A!=null&&typeof A!=`boolean`)throw new n(`invalid expectContinue`);if(this.headersTimeout=E,this.bodyTimeout=D,this.throwOnError=k===!0,this.method=r,this.abort=null,i==null)this.body=null;else if(s(i)){this.body=i;let e=this.body._readableState;(!e||!e.autoDestroy)&&(this.endHandler=function(){c(this)},this.body.on(`end`,this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on(`error`,this.errorHandler)}else if(l(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i==`string`)this.body=i.length?Buffer.from(i):null;else if(u(i)||d(i)||f(i))this.body=i;else throw new n(`body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable`);if(this.completed=!1,this.aborted=!1,this.upgrade=T||null,this.path=x?p(t,x):t,this.origin=e,this.idempotent=C??(r===`HEAD`||r===`GET`),this.blocking=w??!1,this.reset=O??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=A??!1,Array.isArray(v)){if(v.length%2!=0)throw new n(`headers array must be even`);for(let e=0;e{let n=F(`node:events`);var r=class extends n{dispatch(){throw Error(`not implemented`)}close(){throw Error(`not implemented`)}destroy(){throw Error(`not implemented`)}compose(...e){let t=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let e of t)if(e!=null){if(typeof e!=`function`)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(n=e(n),n==null||typeof n!=`function`||n.length!==2)throw TypeError(`invalid interceptor`)}return new i(this,n)}},i=class extends r{#e=null;#t=null;constructor(e,t){super(),this.#e=e,this.#t=t}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};t.exports=r})),Ye=P(((e,t)=>{let n=Je(),{ClientDestroyedError:r,ClientClosedError:i,InvalidArgumentError:a}=I(),{kDestroy:o,kClose:s,kClosed:c,kDestroyed:l,kDispatch:u,kInterceptors:d}=Ue(),f=Symbol(`onDestroyed`),p=Symbol(`onClosed`),m=Symbol(`Intercepted Dispatch`),h=Symbol(`webSocketOptions`);t.exports=class extends n{constructor(e){super(),this[l]=!1,this[f]=null,this[c]=!1,this[p]=[],this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxPayloadSize:this[h].maxPayloadSize??128*1024*1024}}get destroyed(){return this[l]}get closed(){return this[c]}get interceptors(){return this[d]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--)if(typeof this[d][t]!=`function`)throw new a(`interceptor must be an function`)}this[d]=e}close(e){if(e===void 0)return new Promise((e,t)=>{this.close((n,r)=>n?t(n):e(r))});if(typeof e!=`function`)throw new a(`invalid callback`);if(this[l]){queueMicrotask(()=>e(new r,null));return}if(this[c]){this[p]?this[p].push(e):queueMicrotask(()=>e(null,null));return}this[c]=!0,this[p].push(e);let t=()=>{let e=this[p];this[p]=null;for(let t=0;tthis.destroy()).then(()=>{queueMicrotask(t)})}destroy(e,t){if(typeof e==`function`&&(t=e,e=null),t===void 0)return new Promise((t,n)=>{this.destroy(e,(e,r)=>e?n(e):t(r))});if(typeof t!=`function`)throw new a(`invalid callback`);if(this[l]){this[f]?this[f].push(t):queueMicrotask(()=>t(null,null));return}e||=new r,this[l]=!0,this[f]=this[f]||[],this[f].push(t);let n=()=>{let e=this[f];this[f]=null;for(let t=0;t{queueMicrotask(n)})}[m](e,t){if(!this[d]||this[d].length===0)return this[m]=this[u],this[u](e,t);let n=this[u].bind(this);for(let e=this[d].length-1;e>=0;e--)n=this[d][e](n);return this[m]=n,n(e,t)}dispatch(e,t){if(!t||typeof t!=`object`)throw new a(`handler must be an object`);try{if(!e||typeof e!=`object`)throw new a(`opts must be an object.`);if(this[l]||this[f])throw new r;if(this[c])throw new i;return this[m](e,t)}catch(e){if(typeof t.onError!=`function`)throw new a(`invalid onError method`);return t.onError(e),!1}}}})),Xe=P(((e,t)=>{let n=0,r=1e3;(r>>1)-1;let i,a=Symbol(`kFastTimer`),o=[];function s(){n+=499;let e=0,t=o.length;for(;e=r._idleStart+r._idleTimeout&&(r._state=-1,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===-1?(r._state=-2,--t!==0&&(o[e]=o[t])):++e}o.length=t,o.length!==0&&c()}function c(){i?i.refresh():(clearTimeout(i),i=setTimeout(s,499),i.unref&&i.unref())}var l=class{[a]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,n){this._onTimeout=e,this._idleTimeout=t,this._timerArg=n,this.refresh()}refresh(){this._state===-2&&o.push(this),(!i||o.length===1)&&c(),this._state=0}clear(){this._state=-1,this._idleStart=-1}};t.exports={setTimeout(e,t,n){return t<=r?setTimeout(e,t,n):new l(e,t,n)},clearTimeout(e){e[a]?e.clear():clearTimeout(e)},setFastTimeout(e,t,n){return new l(e,t,n)},clearFastTimeout(e){e.clear()},now(){return n},tick(e=0){n+=e-r+1,s(),s()},reset(){n=0,o.length=0,clearTimeout(i),i=null},kFastTimer:a}})),Ze=P(((e,t)=>{let n=F(`node:net`),r=F(`node:assert`),i=L(),{InvalidArgumentError:a,ConnectTimeoutError:o}=I(),s=Xe();function c(){}let l,u;u=global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(e=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}};function d({allowH2:e,maxCachedSessions:t,socketPath:o,timeout:s,session:c,...d}){if(t!=null&&(!Number.isInteger(t)||t<0))throw new a(`maxCachedSessions must be a positive integer or zero`);let p={path:o,...d},m=new u(t??100);return s??=1e4,e??=!1,function({hostname:t,host:a,protocol:o,port:u,servername:d,localAddress:h,httpSocket:g},_){let v;if(o===`https:`){l||=F(`node:tls`),d=d||p.servername||i.getServerName(a)||null;let n=d||t;r(n);let o=c||m.get(n)||null;u||=443,v=l.connect({highWaterMark:16384,...p,servername:d,session:o,localAddress:h,ALPNProtocols:e?[`http/1.1`,`h2`]:[`http/1.1`],socket:g,port:u,host:t}),v.on(`session`,function(e){m.set(n,e)})}else r(!g,`httpSocket can only be sent on TLS update`),u||=80,v=n.connect({highWaterMark:64*1024,...p,localAddress:h,port:u,host:t});if(p.keepAlive==null||p.keepAlive){let e=p.keepAliveInitialDelay===void 0?6e4:p.keepAliveInitialDelay;v.setKeepAlive(!0,e)}let y=f(new WeakRef(v),{timeout:s,hostname:t,port:u});return v.setNoDelay(!0).once(o===`https:`?`secureConnect`:`connect`,function(){if(queueMicrotask(y),_){let e=_;_=null,e(null,this)}}).on(`error`,function(e){if(queueMicrotask(y),_){let t=_;_=null,t(e)}}),v}}let f=process.platform===`win32`?(e,t)=>{if(!t.timeout)return c;let n=null,r=null,i=s.setFastTimeout(()=>{n=setImmediate(()=>{r=setImmediate(()=>p(e.deref(),t))})},t.timeout);return()=>{s.clearFastTimeout(i),clearImmediate(n),clearImmediate(r)}}:(e,t)=>{if(!t.timeout)return c;let n=null,r=s.setFastTimeout(()=>{n=setImmediate(()=>{p(e.deref(),t)})},t.timeout);return()=>{s.clearFastTimeout(r),clearImmediate(n)}};function p(e,t){if(e==null)return;let n=`Connect Timeout Error`;Array.isArray(e.autoSelectFamilyAttemptedAddresses)?n+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(`, `)},`:n+=` (attempted address: ${t.hostname}:${t.port},`,n+=` timeout: ${t.timeout}ms)`,i.destroy(e,new o(n))}t.exports=d})),Qe=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.enumToMap=void 0;function t(e){let t={};return Object.keys(e).forEach(n=>{let r=e[n];typeof r==`number`&&(t[n]=r)}),t}e.enumToMap=t})),$e=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SPECIAL_HEADERS=e.HEADER_STATE=e.MINOR=e.MAJOR=e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS=e.TOKEN=e.STRICT_TOKEN=e.HEX=e.URL_CHAR=e.STRICT_URL_CHAR=e.USERINFO_CHARS=e.MARK=e.ALPHANUM=e.NUM=e.HEX_MAP=e.NUM_MAP=e.ALPHA=e.FINISH=e.H_METHOD_MAP=e.METHOD_MAP=e.METHODS_RTSP=e.METHODS_ICE=e.METHODS_HTTP=e.METHODS=e.LENIENT_FLAGS=e.FLAGS=e.TYPE=e.ERROR=void 0;let t=Qe();(function(e){e[e.OK=0]=`OK`,e[e.INTERNAL=1]=`INTERNAL`,e[e.STRICT=2]=`STRICT`,e[e.LF_EXPECTED=3]=`LF_EXPECTED`,e[e.UNEXPECTED_CONTENT_LENGTH=4]=`UNEXPECTED_CONTENT_LENGTH`,e[e.CLOSED_CONNECTION=5]=`CLOSED_CONNECTION`,e[e.INVALID_METHOD=6]=`INVALID_METHOD`,e[e.INVALID_URL=7]=`INVALID_URL`,e[e.INVALID_CONSTANT=8]=`INVALID_CONSTANT`,e[e.INVALID_VERSION=9]=`INVALID_VERSION`,e[e.INVALID_HEADER_TOKEN=10]=`INVALID_HEADER_TOKEN`,e[e.INVALID_CONTENT_LENGTH=11]=`INVALID_CONTENT_LENGTH`,e[e.INVALID_CHUNK_SIZE=12]=`INVALID_CHUNK_SIZE`,e[e.INVALID_STATUS=13]=`INVALID_STATUS`,e[e.INVALID_EOF_STATE=14]=`INVALID_EOF_STATE`,e[e.INVALID_TRANSFER_ENCODING=15]=`INVALID_TRANSFER_ENCODING`,e[e.CB_MESSAGE_BEGIN=16]=`CB_MESSAGE_BEGIN`,e[e.CB_HEADERS_COMPLETE=17]=`CB_HEADERS_COMPLETE`,e[e.CB_MESSAGE_COMPLETE=18]=`CB_MESSAGE_COMPLETE`,e[e.CB_CHUNK_HEADER=19]=`CB_CHUNK_HEADER`,e[e.CB_CHUNK_COMPLETE=20]=`CB_CHUNK_COMPLETE`,e[e.PAUSED=21]=`PAUSED`,e[e.PAUSED_UPGRADE=22]=`PAUSED_UPGRADE`,e[e.PAUSED_H2_UPGRADE=23]=`PAUSED_H2_UPGRADE`,e[e.USER=24]=`USER`})(e.ERROR||={}),(function(e){e[e.BOTH=0]=`BOTH`,e[e.REQUEST=1]=`REQUEST`,e[e.RESPONSE=2]=`RESPONSE`})(e.TYPE||={}),(function(e){e[e.CONNECTION_KEEP_ALIVE=1]=`CONNECTION_KEEP_ALIVE`,e[e.CONNECTION_CLOSE=2]=`CONNECTION_CLOSE`,e[e.CONNECTION_UPGRADE=4]=`CONNECTION_UPGRADE`,e[e.CHUNKED=8]=`CHUNKED`,e[e.UPGRADE=16]=`UPGRADE`,e[e.CONTENT_LENGTH=32]=`CONTENT_LENGTH`,e[e.SKIPBODY=64]=`SKIPBODY`,e[e.TRAILING=128]=`TRAILING`,e[e.TRANSFER_ENCODING=512]=`TRANSFER_ENCODING`})(e.FLAGS||={}),(function(e){e[e.HEADERS=1]=`HEADERS`,e[e.CHUNKED_LENGTH=2]=`CHUNKED_LENGTH`,e[e.KEEP_ALIVE=4]=`KEEP_ALIVE`})(e.LENIENT_FLAGS||={});var n;(function(e){e[e.DELETE=0]=`DELETE`,e[e.GET=1]=`GET`,e[e.HEAD=2]=`HEAD`,e[e.POST=3]=`POST`,e[e.PUT=4]=`PUT`,e[e.CONNECT=5]=`CONNECT`,e[e.OPTIONS=6]=`OPTIONS`,e[e.TRACE=7]=`TRACE`,e[e.COPY=8]=`COPY`,e[e.LOCK=9]=`LOCK`,e[e.MKCOL=10]=`MKCOL`,e[e.MOVE=11]=`MOVE`,e[e.PROPFIND=12]=`PROPFIND`,e[e.PROPPATCH=13]=`PROPPATCH`,e[e.SEARCH=14]=`SEARCH`,e[e.UNLOCK=15]=`UNLOCK`,e[e.BIND=16]=`BIND`,e[e.REBIND=17]=`REBIND`,e[e.UNBIND=18]=`UNBIND`,e[e.ACL=19]=`ACL`,e[e.REPORT=20]=`REPORT`,e[e.MKACTIVITY=21]=`MKACTIVITY`,e[e.CHECKOUT=22]=`CHECKOUT`,e[e.MERGE=23]=`MERGE`,e[e[`M-SEARCH`]=24]=`M-SEARCH`,e[e.NOTIFY=25]=`NOTIFY`,e[e.SUBSCRIBE=26]=`SUBSCRIBE`,e[e.UNSUBSCRIBE=27]=`UNSUBSCRIBE`,e[e.PATCH=28]=`PATCH`,e[e.PURGE=29]=`PURGE`,e[e.MKCALENDAR=30]=`MKCALENDAR`,e[e.LINK=31]=`LINK`,e[e.UNLINK=32]=`UNLINK`,e[e.SOURCE=33]=`SOURCE`,e[e.PRI=34]=`PRI`,e[e.DESCRIBE=35]=`DESCRIBE`,e[e.ANNOUNCE=36]=`ANNOUNCE`,e[e.SETUP=37]=`SETUP`,e[e.PLAY=38]=`PLAY`,e[e.PAUSE=39]=`PAUSE`,e[e.TEARDOWN=40]=`TEARDOWN`,e[e.GET_PARAMETER=41]=`GET_PARAMETER`,e[e.SET_PARAMETER=42]=`SET_PARAMETER`,e[e.REDIRECT=43]=`REDIRECT`,e[e.RECORD=44]=`RECORD`,e[e.FLUSH=45]=`FLUSH`})(n=e.METHODS||={}),e.METHODS_HTTP=[n.DELETE,n.GET,n.HEAD,n.POST,n.PUT,n.CONNECT,n.OPTIONS,n.TRACE,n.COPY,n.LOCK,n.MKCOL,n.MOVE,n.PROPFIND,n.PROPPATCH,n.SEARCH,n.UNLOCK,n.BIND,n.REBIND,n.UNBIND,n.ACL,n.REPORT,n.MKACTIVITY,n.CHECKOUT,n.MERGE,n[`M-SEARCH`],n.NOTIFY,n.SUBSCRIBE,n.UNSUBSCRIBE,n.PATCH,n.PURGE,n.MKCALENDAR,n.LINK,n.UNLINK,n.PRI,n.SOURCE],e.METHODS_ICE=[n.SOURCE],e.METHODS_RTSP=[n.OPTIONS,n.DESCRIBE,n.ANNOUNCE,n.SETUP,n.PLAY,n.PAUSE,n.TEARDOWN,n.GET_PARAMETER,n.SET_PARAMETER,n.REDIRECT,n.RECORD,n.FLUSH,n.GET,n.POST],e.METHOD_MAP=t.enumToMap(n),e.H_METHOD_MAP={},Object.keys(e.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(e.H_METHOD_MAP[t]=e.METHOD_MAP[t])}),(function(e){e[e.SAFE=0]=`SAFE`,e[e.SAFE_WITH_CB=1]=`SAFE_WITH_CB`,e[e.UNSAFE=2]=`UNSAFE`})(e.FINISH||={}),e.ALPHA=[];for(let t=65;t<=90;t++)e.ALPHA.push(String.fromCharCode(t)),e.ALPHA.push(String.fromCharCode(t+32));e.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},e.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},e.NUM=[`0`,`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],e.ALPHANUM=e.ALPHA.concat(e.NUM),e.MARK=[`-`,`_`,`.`,`!`,`~`,`*`,`'`,`(`,`)`],e.USERINFO_CHARS=e.ALPHANUM.concat(e.MARK).concat([`%`,`;`,`:`,`&`,`=`,`+`,`$`,`,`]),e.STRICT_URL_CHAR=`!"$%&'()*+,-./:;<=>@[\\]^_\`{|}~`.split(``).concat(e.ALPHANUM),e.URL_CHAR=e.STRICT_URL_CHAR.concat([` `,`\f`]);for(let t=128;t<=255;t++)e.URL_CHAR.push(t);e.HEX=e.NUM.concat([`a`,`b`,`c`,`d`,`e`,`f`,`A`,`B`,`C`,`D`,`E`,`F`]),e.STRICT_TOKEN=[`!`,`#`,`$`,`%`,`&`,`'`,`*`,`+`,`-`,`.`,`^`,`_`,"`",`|`,`~`].concat(e.ALPHANUM),e.TOKEN=e.STRICT_TOKEN.concat([` `]),e.HEADER_CHARS=[` `];for(let t=32;t<=255;t++)t!==127&&e.HEADER_CHARS.push(t);e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS.filter(e=>e!==44),e.MAJOR=e.NUM_MAP,e.MINOR=e.MAJOR;var r;(function(e){e[e.GENERAL=0]=`GENERAL`,e[e.CONNECTION=1]=`CONNECTION`,e[e.CONTENT_LENGTH=2]=`CONTENT_LENGTH`,e[e.TRANSFER_ENCODING=3]=`TRANSFER_ENCODING`,e[e.UPGRADE=4]=`UPGRADE`,e[e.CONNECTION_KEEP_ALIVE=5]=`CONNECTION_KEEP_ALIVE`,e[e.CONNECTION_CLOSE=6]=`CONNECTION_CLOSE`,e[e.CONNECTION_UPGRADE=7]=`CONNECTION_UPGRADE`,e[e.TRANSFER_ENCODING_CHUNKED=8]=`TRANSFER_ENCODING_CHUNKED`})(r=e.HEADER_STATE||={}),e.SPECIAL_HEADERS={connection:r.CONNECTION,"content-length":r.CONTENT_LENGTH,"proxy-connection":r.CONNECTION,"transfer-encoding":r.TRANSFER_ENCODING,upgrade:r.UPGRADE}})),et=P(((e,t)=>{let{Buffer:n}=F(`node:buffer`);t.exports=n.from(`AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXRfaHR0cF9taW5vcgAPEWxsaHR0cF9nZXRfbWV0aG9kABAWbGxodHRwX2dldF9zdGF0dXNfY29kZQAREmxsaHR0cF9nZXRfdXBncmFkZQASDGxsaHR0cF9yZXNldAATDmxsaHR0cF9le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IAIAIgADYCGAsgASAEaiAENgIAIAEgBEEBcjYCBCABQaDQACgCAEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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gEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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gAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsgAkEANgIAIAZBAWohAUEeDF4LIAEgBEYEQEGTASEDDJoCCyABLQAAQcwARw1bIAFBAWohAUEKDF0LIAEgBEYEQEGUASEDDJ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EMIQtBpAEMIAtBpQEMHwtBpgEMHgtBpwEMHQtBqAEMHAtBqQEMGwtBqgEMGgtBqwEMGQtBrAEMGAtBrQEMFwtBrgEMFgtBAQwVC0GvAQwUC0GwAQwTC0GxAQwSC0GzAQwRC0GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAybAgsg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ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==`,`base64`)})),nt=P(((e,t)=>{let n=[`GET`,`HEAD`,`POST`],r=new Set(n),i=[101,204,205,304],a=[301,302,303,307,308],o=new Set(a),s=`1.7.9.11.13.15.17.19.20.21.22.23.25.37.42.43.53.69.77.79.87.95.101.102.103.104.109.110.111.113.115.117.119.123.135.137.139.143.161.179.389.427.465.512.513.514.515.526.530.531.532.540.548.554.556.563.587.601.636.989.990.993.995.1719.1720.1723.2049.3659.4045.4190.5060.5061.6000.6566.6665.6666.6667.6668.6669.6679.6697.10080`.split(`.`),c=new Set(s),l=[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`],u=new Set(l),d=[`follow`,`manual`,`error`],f=[`GET`,`HEAD`,`OPTIONS`,`TRACE`],p=new Set(f),m=[`navigate`,`same-origin`,`no-cors`,`cors`],h=[`omit`,`same-origin`,`include`],g=[`default`,`no-store`,`reload`,`no-cache`,`force-cache`,`only-if-cached`],_=[`content-encoding`,`content-language`,`content-location`,`content-type`,`content-length`],v=[`half`],y=[`CONNECT`,`TRACE`,`TRACK`],b=new Set(y),x=[`audio`,`audioworklet`,`font`,`image`,`manifest`,`paintworklet`,`script`,`style`,`track`,`video`,`xslt`,``];t.exports={subresource:x,forbiddenMethods:y,requestBodyHeader:_,referrerPolicy:l,requestRedirect:d,requestMode:m,requestCredentials:h,requestCache:g,redirectStatus:a,corsSafeListedMethods:n,nullBodyStatus:i,safeMethods:f,badPorts:s,requestDuplex:v,subresourceSet:new Set(x),badPortsSet:c,redirectStatusSet:o,corsSafeListedMethodsSet:r,safeMethodsSet:p,forbiddenMethodsSet:b,referrerPolicySet:u}})),rt=P(((e,t)=>{let n=Symbol.for(`undici.globalOrigin.1`);function r(){return globalThis[n]}function i(e){if(e===void 0){Object.defineProperty(globalThis,n,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let t=new URL(e);if(t.protocol!==`http:`&&t.protocol!==`https:`)throw TypeError(`Only http & https urls are allowed, received ${t.protocol}`);Object.defineProperty(globalThis,n,{value:t,writable:!0,enumerable:!1,configurable:!1})}t.exports={getGlobalOrigin:r,setGlobalOrigin:i}})),it=P(((e,t)=>{let n=F(`node:assert`),r=new TextEncoder,i=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,a=/[\u000A\u000D\u0009\u0020]/,o=/[\u0009\u000A\u000C\u000D\u0020]/g,s=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function c(e){n(e.protocol===`data:`);let t=l(e,!0);t=t.slice(5);let r={position:0},i=d(`,`,t,r),a=i.length;if(i=C(i,!0,!0),r.position>=t.length)return`failure`;r.position++;let o=f(t.slice(a+1));if(/;(\u0020){0,}base64$/i.test(i)){if(o=_(T(o)),o===`failure`)return`failure`;i=i.slice(0,-6),i=i.replace(/(\u0020)+$/,``),i=i.slice(0,-1)}i.startsWith(`;`)&&(i=`text/plain`+i);let s=g(i);return s===`failure`&&(s=g(`text/plain;charset=US-ASCII`)),{mimeType:s,body:o}}function l(e,t=!1){if(!t)return e.href;let n=e.href,r=e.hash.length,i=r===0?n:n.substring(0,n.length-r);return!r&&n.endsWith(`#`)?i.slice(0,-1):i}function u(e,t,n){let r=``;for(;n.position=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function m(e){return e>=48&&e<=57?e-48:(e&223)-55}function h(e){let t=e.length,n=new Uint8Array(t),r=0;for(let i=0;ie.length)return`failure`;t.position++;let r=d(`;`,e,t);if(r=x(r,!1,!0),r.length===0||!i.test(r))return`failure`;let o=n.toLowerCase(),c=r.toLowerCase(),l={type:o,subtype:c,parameters:new Map,essence:`${o}/${c}`};for(;t.positiona.test(e),e,t);let n=u(e=>e!==`;`&&e!==`=`,e,t);if(n=n.toLowerCase(),t.positione.length)break;let r=null;if(e[t.position]===`"`)r=v(e,t,!0),d(`;`,e,t);else if(r=d(`;`,e,t),r=x(r,!1,!0),r.length===0)continue;n.length!==0&&i.test(n)&&(r.length===0||s.test(r))&&!l.parameters.has(n)&&l.parameters.set(n,r)}return l}function _(e){e=e.replace(o,``);let t=e.length;if(t%4==0&&e.charCodeAt(t-1)===61&&(--t,e.charCodeAt(t-1)===61&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return`failure`;let n=Buffer.from(e,`base64`);return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}function v(e,t,r){let i=t.position,a=``;for(n(e[t.position]===`"`),t.position++;a+=u(e=>e!==`"`&&e!==`\\`,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,r===`\\`){if(t.position>=e.length){a+=`\\`;break}a+=e[t.position],t.position++}else{n(r===`"`);break}}return r?a:e.slice(i,t.position)}function y(e){n(e!==`failure`);let{parameters:t,essence:r}=e,a=r;for(let[e,n]of t.entries())a+=`;`,a+=e,a+=`=`,i.test(n)||(n=n.replace(/(\\|")/g,`\\$1`),n=`"`+n,n+=`"`),a+=n;return a}function b(e){return e===13||e===10||e===9||e===32}function x(e,t=!0,n=!0){return w(e,t,n,b)}function S(e){return e===13||e===10||e===9||e===12||e===32}function C(e,t=!0,n=!0){return w(e,t,n,S)}function w(e,t,n,r){let i=0,a=e.length-1;if(t)for(;i0&&r(e.charCodeAt(a));)a--;return i===0&&a===e.length-1?e:e.slice(i,a+1)}function T(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let n=``,r=0,i=65535;for(;rt&&(i=t-r),n+=String.fromCharCode.apply(null,e.subarray(r,r+=i));return n}function E(e){switch(e.essence){case`application/ecmascript`:case`application/javascript`:case`application/x-ecmascript`:case`application/x-javascript`:case`text/ecmascript`:case`text/javascript`:case`text/javascript1.0`:case`text/javascript1.1`:case`text/javascript1.2`:case`text/javascript1.3`:case`text/javascript1.4`:case`text/javascript1.5`:case`text/jscript`:case`text/livescript`:case`text/x-ecmascript`:case`text/x-javascript`:return`text/javascript`;case`application/json`:case`text/json`:return`application/json`;case`image/svg+xml`:return`image/svg+xml`;case`text/xml`:case`application/xml`:return`application/xml`}return e.subtype.endsWith(`+json`)?`application/json`:e.subtype.endsWith(`+xml`)?`application/xml`:``}t.exports={dataURLProcessor:c,URLSerializer:l,collectASequenceOfCodePoints:u,collectASequenceOfCodePointsFast:d,stringPercentDecode:f,parseMIMEType:g,collectAnHTTPQuotedString:v,serializeAMimeType:y,removeChars:w,removeHTTPWhitespace:x,minimizeSupportedMimeType:E,HTTP_TOKEN_CODEPOINTS:i,isomorphicDecode:T}})),at=P(((e,t)=>{let{types:n,inspect:r}=F(`node:util`),{markAsUncloneable:i}=F(`node:worker_threads`),{toUSVString:a}=L(),o={};o.converters={},o.util={},o.errors={},o.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},o.errors.conversionFailed=function(e){let t=e.types.length===1?``:` one of`,n=`${e.argument} could not be converted to${t}: ${e.types.join(`, `)}.`;return o.errors.exception({header:e.prefix,message:n})},o.errors.invalidArgument=function(e){return o.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},o.brandCheck=function(e,t,n){if(n?.strict!==!1){if(!(e instanceof t)){let e=TypeError(`Illegal invocation`);throw e.code=`ERR_INVALID_THIS`,e}}else if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){let e=TypeError(`Illegal invocation`);throw e.code=`ERR_INVALID_THIS`,e}},o.argumentLengthCheck=function({length:e},t,n){if(e{}),o.util.ConvertToInt=function(e,t,n,r){let i,a;t===64?(i=2**53-1,a=n===`unsigned`?0:-9007199254740991):n===`unsigned`?(a=0,i=2**t-1):(a=(-2)**t-1,i=2**(t-1)-1);let s=Number(e);if(s===0&&(s=0),r?.enforceRange===!0){if(Number.isNaN(s)||s===1/0||s===-1/0)throw o.errors.exception({header:`Integer conversion`,message:`Could not convert ${o.util.Stringify(e)} to an integer.`});if(s=o.util.IntegerPart(s),si)throw o.errors.exception({header:`Integer conversion`,message:`Value must be between ${a}-${i}, got ${s}.`});return s}return!Number.isNaN(s)&&r?.clamp===!0?(s=Math.min(Math.max(s,a),i),s=Math.floor(s)%2==0?Math.floor(s):Math.ceil(s),s):Number.isNaN(s)||s===0&&Object.is(0,s)||s===1/0||s===-1/0?0:(s=o.util.IntegerPart(s),s%=2**t,n===`signed`&&s>=2**t-1?s-2**t:s)},o.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},o.util.Stringify=function(e){switch(o.util.Type(e)){case`Symbol`:return`Symbol(${e.description})`;case`Object`:return r(e);case`String`:return`"${e}"`;default:return`${e}`}},o.sequenceConverter=function(e){return(t,n,r,i)=>{if(o.util.Type(t)!==`Object`)throw o.errors.exception({header:n,message:`${r} (${o.util.Stringify(t)}) is not iterable.`});let a=typeof i==`function`?i():t?.[Symbol.iterator]?.(),s=[],c=0;if(a===void 0||typeof a.next!=`function`)throw o.errors.exception({header:n,message:`${r} is not iterable.`});for(;;){let{done:t,value:i}=a.next();if(t)break;s.push(e(i,n,`${r}[${c++}]`))}return s}},o.recordConverter=function(e,t){return(r,i,a)=>{if(o.util.Type(r)!==`Object`)throw o.errors.exception({header:i,message:`${a} ("${o.util.Type(r)}") is not an Object.`});let s={};if(!n.isProxy(r)){let n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let o of n){let n=e(o,i,a);s[n]=t(r[o],i,a)}return s}let c=Reflect.ownKeys(r);for(let n of c)if(Reflect.getOwnPropertyDescriptor(r,n)?.enumerable){let o=e(n,i,a);s[o]=t(r[n],i,a)}return s}},o.interfaceConverter=function(e){return(t,n,r,i)=>{if(i?.strict!==!1&&!(t instanceof e))throw o.errors.exception({header:n,message:`Expected ${r} ("${o.util.Stringify(t)}") to be an instance of ${e.name}.`});return t}},o.dictionaryConverter=function(e){return(t,n,r)=>{let i=o.util.Type(t),a={};if(i===`Null`||i===`Undefined`)return a;if(i!==`Object`)throw o.errors.exception({header:n,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let i of e){let{key:e,defaultValue:s,required:c,converter:l}=i;if(c===!0&&!Object.hasOwn(t,e))throw o.errors.exception({header:n,message:`Missing required key "${e}".`});let u=t[e],d=Object.hasOwn(i,`defaultValue`);if(d&&u!==null&&(u??=s()),c||d||u!==void 0){if(u=l(u,n,`${r}.${e}`),i.allowedValues&&!i.allowedValues.includes(u))throw o.errors.exception({header:n,message:`${u} is not an accepted type. Expected one of ${i.allowedValues.join(`, `)}.`});a[e]=u}}return a}},o.nullableConverter=function(e){return(t,n,r)=>t===null?t:e(t,n,r)},o.converters.DOMString=function(e,t,n,r){if(e===null&&r?.legacyNullToEmptyString)return``;if(typeof e==`symbol`)throw o.errors.exception({header:t,message:`${n} is a symbol, which cannot be converted to a DOMString.`});return String(e)},o.converters.ByteString=function(e,t,n){let r=o.converters.DOMString(e,t,n);for(let e=0;e255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${r.charCodeAt(e)} which is greater than 255.`);return r},o.converters.USVString=a,o.converters.boolean=function(e){return!!e},o.converters.any=function(e){return e},o.converters[`long long`]=function(e,t,n){return o.util.ConvertToInt(e,64,`signed`,void 0,t,n)},o.converters[`unsigned long long`]=function(e,t,n){return o.util.ConvertToInt(e,64,`unsigned`,void 0,t,n)},o.converters[`unsigned long`]=function(e,t,n){return o.util.ConvertToInt(e,32,`unsigned`,void 0,t,n)},o.converters[`unsigned short`]=function(e,t,n,r){return o.util.ConvertToInt(e,16,`unsigned`,r,t,n)},o.converters.ArrayBuffer=function(e,t,r,i){if(o.util.Type(e)!==`Object`||!n.isAnyArrayBuffer(e))throw o.errors.conversionFailed({prefix:t,argument:`${r} ("${o.util.Stringify(e)}")`,types:[`ArrayBuffer`]});if(i?.allowShared===!1&&n.isSharedArrayBuffer(e))throw o.errors.exception({header:`ArrayBuffer`,message:`SharedArrayBuffer is not allowed.`});if(e.resizable||e.growable)throw o.errors.exception({header:`ArrayBuffer`,message:`Received a resizable ArrayBuffer.`});return e},o.converters.TypedArray=function(e,t,r,i,a){if(o.util.Type(e)!==`Object`||!n.isTypedArray(e)||e.constructor.name!==t.name)throw o.errors.conversionFailed({prefix:r,argument:`${i} ("${o.util.Stringify(e)}")`,types:[t.name]});if(a?.allowShared===!1&&n.isSharedArrayBuffer(e.buffer))throw o.errors.exception({header:`ArrayBuffer`,message:`SharedArrayBuffer is not allowed.`});if(e.buffer.resizable||e.buffer.growable)throw o.errors.exception({header:`ArrayBuffer`,message:`Received a resizable ArrayBuffer.`});return e},o.converters.DataView=function(e,t,r,i){if(o.util.Type(e)!==`Object`||!n.isDataView(e))throw o.errors.exception({header:t,message:`${r} is not a DataView.`});if(i?.allowShared===!1&&n.isSharedArrayBuffer(e.buffer))throw o.errors.exception({header:`ArrayBuffer`,message:`SharedArrayBuffer is not allowed.`});if(e.buffer.resizable||e.buffer.growable)throw o.errors.exception({header:`ArrayBuffer`,message:`Received a resizable ArrayBuffer.`});return e},o.converters.BufferSource=function(e,t,r,i){if(n.isAnyArrayBuffer(e))return o.converters.ArrayBuffer(e,t,r,{...i,allowShared:!1});if(n.isTypedArray(e))return o.converters.TypedArray(e,e.constructor,t,r,{...i,allowShared:!1});if(n.isDataView(e))return o.converters.DataView(e,t,r,{...i,allowShared:!1});throw o.errors.conversionFailed({prefix:t,argument:`${r} ("${o.util.Stringify(e)}")`,types:[`BufferSource`]})},o.converters[`sequence`]=o.sequenceConverter(o.converters.ByteString),o.converters[`sequence>`]=o.sequenceConverter(o.converters[`sequence`]),o.converters[`record`]=o.recordConverter(o.converters.ByteString,o.converters.ByteString),t.exports={webidl:o}})),ot=P(((e,t)=>{let{Transform:n}=F(`node:stream`),r=F(`node:zlib`),{redirectStatusSet:i,referrerPolicySet:a,badPortsSet:o}=nt(),{getGlobalOrigin:s}=rt(),{collectASequenceOfCodePoints:c,collectAnHTTPQuotedString:l,removeChars:u,parseMIMEType:d}=it(),{performance:f}=F(`node:perf_hooks`),{isBlobLike:p,ReadableStreamFrom:m,isValidHTTPToken:h,normalizedMethodRecordsBase:g}=L(),_=F(`node:assert`),{isUint8Array:v}=F(`node:util/types`),{webidl:y}=at(),b=[],x;try{x=F(`node:crypto`);let e=[`sha256`,`sha384`,`sha512`];b=x.getHashes().filter(t=>e.includes(t))}catch{}function S(e){let t=e.urlList,n=t.length;return n===0?null:t[n-1].toString()}function C(e,t){if(!i.has(e.status))return null;let n=e.headersList.get(`location`,!0);return n!==null&&j(n)&&(w(n)||(n=T(n)),n=new URL(n,S(e))),n&&!n.hash&&(n.hash=t),n}function w(e){for(let t=0;t126||n<32)return!1}return!0}function T(e){return Buffer.from(e,`binary`).toString(`utf8`)}function E(e){return e.urlList[e.urlList.length-1]}function D(e){let t=E(e);return Ie(t)&&o.has(t.port)?`blocked`:`allowed`}function O(e){return e instanceof Error||e?.constructor?.name===`Error`||e?.constructor?.name===`DOMException`}function k(e){for(let t=0;t=32&&n<=126||n>=128&&n<=255))return!1}return!0}let A=h;function j(e){return(e[0]===` `||e[0]===` `||e[e.length-1]===` `||e[e.length-1]===` `||e.includes(` -`)||e.includes(`\r`)||e.includes(`\0`))===!1}function M(e,t){let{headersList:n}=t,r=(n.get(`referrer-policy`,!0)??``).split(`,`),i=``;if(r.length>0)for(let e=r.length;e!==0;e--){let t=r[e-1].trim();if(a.has(t)){i=t;break}}i!==``&&(e.referrerPolicy=i)}function ee(){return`allowed`}function N(){return`success`}function te(){return`success`}function ne(e){let t=null;t=e.mode,e.headersList.set(`sec-fetch-mode`,t,!0)}function re(e){let t=e.origin;if(!(t===`client`||t===void 0)){if(e.responseTainting===`cors`||e.mode===`websocket`)e.headersList.append(`origin`,t,!0);else if(e.method!==`GET`&&e.method!==`HEAD`){switch(e.referrerPolicy){case`no-referrer`:t=null;break;case`no-referrer-when-downgrade`:case`strict-origin`:case`strict-origin-when-cross-origin`:e.origin&&Fe(e.origin)&&!Fe(E(e))&&(t=null);break;case`same-origin`:be(e,E(e))||(t=null);break;default:}e.headersList.append(`origin`,t,!0)}}}function ie(e,t){return e}function ae(e,t,n){return!e?.startTime||e.startTime4096&&(r=i);let a=be(e,r),o=fe(r)&&!fe(e.url);switch(t){case`origin`:return i??de(n,!0);case`unsafe-url`:return r;case`same-origin`:return a?i:`no-referrer`;case`origin-when-cross-origin`:return a?r:i;case`strict-origin-when-cross-origin`:{let t=E(e);return be(r,t)?r:fe(r)&&!fe(t)?`no-referrer`:i}default:return o?`no-referrer`:i}}function de(e,t){return _(e instanceof URL),e=new URL(e),e.protocol===`file:`||e.protocol===`about:`||e.protocol===`blank:`?`no-referrer`:(e.username=``,e.password=``,e.hash=``,t&&(e.pathname=``,e.search=``),e)}function fe(e){if(!(e instanceof URL))return!1;if(e.href===`about:blank`||e.href===`about:srcdoc`||e.protocol===`data:`||e.protocol===`file:`)return!0;return t(e.origin);function t(e){if(e==null||e===`null`)return!1;let t=new URL(e);return!!(t.protocol===`https:`||t.protocol===`wss:`||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||t.hostname===`localhost`||t.hostname.includes(`localhost.`)||t.hostname.endsWith(`.localhost`))}}function pe(e,t){if(x===void 0)return!0;let n=he(t);if(n===`no metadata`||n.length===0)return!0;let r=_e(n,ge(n));for(let t of r){let n=t.algo,r=t.hash,i=x.createHash(n).update(e).digest(`base64`);if(i[i.length-1]===`=`&&(i=i[i.length-2]===`=`?i.slice(0,-2):i.slice(0,-1)),ve(i,r))return!0}return!1}let me=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function he(e){let t=[],n=!0;for(let r of e.split(` `)){n=!1;let e=me.exec(r);if(e===null||e.groups===void 0||e.groups.algo===void 0)continue;let i=e.groups.algo.toLowerCase();b.includes(i)&&t.push(e.groups)}return n===!0?`no metadata`:t}function ge(e){let t=e[0].algo;if(t[3]===`5`)return t;for(let n=1;n{e=n,t=r}),resolve:e,reject:t}}function Se(e){return e.controller.state===`aborted`}function Ce(e){return e.controller.state===`aborted`||e.controller.state===`terminated`}function we(e){return g[e.toLowerCase()]??e}function P(e){let t=JSON.stringify(e);if(t===void 0)throw TypeError(`Value is not JSON serializable`);return _(typeof t==`string`),t}let Te=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function Ee(e,t,n=0,r=1){class i{#e;#t;#n;constructor(e,t){this.#e=e,this.#t=t,this.#n=0}next(){if(typeof this!=`object`||this===null||!(#e in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let i=this.#n,a=this.#e[t];if(i>=a.length)return{value:void 0,done:!0};let{[n]:o,[r]:s}=a[i];this.#n=i+1;let c;switch(this.#t){case`key`:c=o;break;case`value`:c=s;break;case`key+value`:c=[o,s];break}return{value:c,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,Te),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new i(e,t)}}function De(e,t,n,r=0,i=1){let a=Ee(e,n,r,i),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.brandCheck(this,t),a(this,`key`)}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.brandCheck(this,t),a(this,`value`)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.brandCheck(this,t),a(this,`key+value`)}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(n,r=globalThis){if(y.brandCheck(this,t),y.argumentLengthCheck(arguments,1,`${e}.forEach`),typeof n!=`function`)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of a(this,`key+value`))n.call(r,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})}async function Oe(e,t,n){let r=t,i=n,a;try{a=e.stream.getReader()}catch(e){i(e);return}try{r(await Ne(a))}catch(e){i(e)}}function ke(e){return e instanceof ReadableStream||e[Symbol.toStringTag]===`ReadableStream`&&typeof e.tee==`function`}function Ae(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes(`Controller is already closed`)&&!e.message.includes(`ReadableStream is already closed`))throw e}}let je=/[^\x00-\xFF]/;function Me(e){return _(!je.test(e)),e}async function Ne(e){let t=[],n=0;for(;;){let{done:r,value:i}=await e.read();if(r)return Buffer.concat(t,n);if(!v(i))throw TypeError(`Received non-Uint8Array chunk`);t.push(i),n+=i.length}}function Pe(e){_(`protocol`in e);let t=e.protocol;return t===`about:`||t===`blob:`||t===`data:`}function Fe(e){return typeof e==`string`&&e[5]===`:`&&e[0]===`h`&&e[1]===`t`&&e[2]===`t`&&e[3]===`p`&&e[4]===`s`||e.protocol===`https:`}function Ie(e){_(`protocol`in e);let t=e.protocol;return t===`http:`||t===`https:`}function Le(e,t){let n=e;if(!n.startsWith(`bytes`))return`failure`;let r={position:5};if(t&&c(e=>e===` `||e===` `,n,r),n.charCodeAt(r.position)!==61)return`failure`;r.position++,t&&c(e=>e===` `||e===` `,n,r);let i=c(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},n,r),a=i.length?Number(i):null;if(t&&c(e=>e===` `||e===` `,n,r),n.charCodeAt(r.position)!==45)return`failure`;r.position++,t&&c(e=>e===` `||e===` `,n,r);let o=c(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},n,r),s=o.length?Number(o):null;return r.positions?`failure`:{rangeStartValue:a,rangeEndValue:s}}function Re(e,t,n){let r=`bytes `;return r+=Me(`${e}`),r+=`-`,r+=Me(`${t}`),r+=`/`,r+=Me(`${n}`),r}var ze=class extends n{#e;constructor(e){super(),this.#e=e}_transform(e,t,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)==8?r.createInflate(this.#e):r.createInflateRaw(this.#e),this._inflateStream.on(`data`,this.push.bind(this)),this._inflateStream.on(`end`,()=>this.push(null)),this._inflateStream.on(`error`,e=>this.destroy(e))}this._inflateStream.write(e,t,n)}_final(e){this._inflateStream&&=(this._inflateStream.end(),null),e()}};function Be(e){return new ze(e)}function Ve(e){let t=null,n=null,r=null,i=Ue(`content-type`,e);if(i===null)return`failure`;for(let e of i){let i=d(e);i===`failure`||i.essence===`*/*`||(r=i,r.essence===n?!r.parameters.has(`charset`)&&t!==null&&r.parameters.set(`charset`,t):(t=null,r.parameters.has(`charset`)&&(t=r.parameters.get(`charset`)),n=r.essence))}return r??`failure`}function He(e){let t=e,n={position:0},r=[],i=``;for(;n.positione!==`"`&&e!==`,`,t,n),n.positione===9||e===32),r.push(i),i=``}return r}function Ue(e,t){let n=t.get(e,!0);return n===null?null:He(n)}let I=new TextDecoder;function We(e){return e.length===0?``:(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),I.decode(e))}var Ge=class{get baseUrl(){return s()}get origin(){return this.baseUrl?.origin}policyContainer=ce()};t.exports={isAborted:Se,isCancelled:Ce,isValidEncodedURL:w,createDeferredPromise:xe,ReadableStreamFrom:m,tryUpgradeRequestToAPotentiallyTrustworthyURL:ye,clampAndCoarsenConnectionTimingInfo:ae,coarsenedSharedCurrentTime:oe,determineRequestsReferrer:ue,makePolicyContainer:ce,clonePolicyContainer:le,appendFetchMetadata:ne,appendRequestOriginHeader:re,TAOCheck:te,corsCheck:N,crossOriginResourcePolicyCheck:ee,createOpaqueTimingInfo:se,setRequestReferrerPolicyOnRedirect:M,isValidHTTPToken:h,requestBadPort:D,requestCurrentURL:E,responseURL:S,responseLocationURL:C,isBlobLike:p,isURLPotentiallyTrustworthy:fe,isValidReasonPhrase:k,sameOrigin:be,normalizeMethod:we,serializeJavascriptValueToJSONString:P,iteratorMixin:De,createIterator:Ee,isValidHeaderName:A,isValidHeaderValue:j,isErrorLike:O,fullyReadBody:Oe,bytesMatch:pe,isReadableStreamLike:ke,readableStreamClose:Ae,isomorphicEncode:Me,urlIsLocal:Pe,urlHasHttpsScheme:Fe,urlIsHttpHttpsScheme:Ie,readAllBytes:Ne,simpleRangeHeaderValue:Le,buildContentRange:Re,parseMetadata:he,createInflate:Be,extractMimeType:Ve,getDecodeSplit:Ue,utf8DecodeBytes:We,environmentSettingsObject:new class{settingsObject=new Ge}}})),st=P(((e,t)=>{t.exports={kUrl:Symbol(`url`),kHeaders:Symbol(`headers`),kSignal:Symbol(`signal`),kState:Symbol(`state`),kDispatcher:Symbol(`dispatcher`)}})),ct=P(((e,t)=>{let{Blob:n,File:r}=F(`node:buffer`),{kState:i}=st(),{webidl:a}=at();var o=class e{constructor(e,t,n={}){let r=t,a=n.type,o=n.lastModified??Date.now();this[i]={blobLike:e,name:r,type:a,lastModified:o}}stream(...t){return a.brandCheck(this,e),this[i].blobLike.stream(...t)}arrayBuffer(...t){return a.brandCheck(this,e),this[i].blobLike.arrayBuffer(...t)}slice(...t){return a.brandCheck(this,e),this[i].blobLike.slice(...t)}text(...t){return a.brandCheck(this,e),this[i].blobLike.text(...t)}get size(){return a.brandCheck(this,e),this[i].blobLike.size}get type(){return a.brandCheck(this,e),this[i].blobLike.type}get name(){return a.brandCheck(this,e),this[i].name}get lastModified(){return a.brandCheck(this,e),this[i].lastModified}get[Symbol.toStringTag](){return`File`}};a.converters.Blob=a.interfaceConverter(n);function s(e){return e instanceof r||e&&(typeof e.stream==`function`||typeof e.arrayBuffer==`function`)&&e[Symbol.toStringTag]===`File`}t.exports={FileLike:o,isFileLike:s}})),lt=P(((e,t)=>{let{isBlobLike:n,iteratorMixin:r}=ot(),{kState:i}=st(),{kEnumerableProperty:a}=L(),{FileLike:o,isFileLike:s}=ct(),{webidl:c}=at(),{File:l}=F(`node:buffer`),u=F(`node:util`),d=globalThis.File??l;var f=class e{constructor(e){if(c.util.markAsUncloneable(this),e!==void 0)throw c.errors.conversionFailed({prefix:`FormData constructor`,argument:`Argument 1`,types:[`undefined`]});this[i]=[]}append(t,r,a=void 0){c.brandCheck(this,e);let o=`FormData.append`;if(c.argumentLengthCheck(arguments,2,o),arguments.length===3&&!n(r))throw TypeError(`Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'`);t=c.converters.USVString(t,o,`name`),r=n(r)?c.converters.Blob(r,o,`value`,{strict:!1}):c.converters.USVString(r,o,`value`),a=arguments.length===3?c.converters.USVString(a,o,`filename`):void 0;let s=p(t,r,a);this[i].push(s)}delete(t){c.brandCheck(this,e);let n=`FormData.delete`;c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`),this[i]=this[i].filter(e=>e.name!==t)}get(t){c.brandCheck(this,e);let n=`FormData.get`;c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`);let r=this[i].findIndex(e=>e.name===t);return r===-1?null:this[i][r].value}getAll(t){c.brandCheck(this,e);let n=`FormData.getAll`;return c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`),this[i].filter(e=>e.name===t).map(e=>e.value)}has(t){c.brandCheck(this,e);let n=`FormData.has`;return c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`),this[i].findIndex(e=>e.name===t)!==-1}set(t,r,a=void 0){c.brandCheck(this,e);let o=`FormData.set`;if(c.argumentLengthCheck(arguments,2,o),arguments.length===3&&!n(r))throw TypeError(`Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'`);t=c.converters.USVString(t,o,`name`),r=n(r)?c.converters.Blob(r,o,`name`,{strict:!1}):c.converters.USVString(r,o,`name`),a=arguments.length===3?c.converters.USVString(a,o,`name`):void 0;let s=p(t,r,a),l=this[i].findIndex(e=>e.name===t);l===-1?this[i].push(s):this[i]=[...this[i].slice(0,l),s,...this[i].slice(l+1).filter(e=>e.name!==t)]}[u.inspect.custom](e,t){let n=this[i].reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let r=u.formatWithOptions(t,n);return`FormData ${r.slice(r.indexOf(`]`)+2)}`}};r(`FormData`,f,i,`name`,`value`),Object.defineProperties(f.prototype,{append:a,delete:a,get:a,getAll:a,has:a,set:a,[Symbol.toStringTag]:{value:`FormData`,configurable:!0}});function p(e,t,n){if(typeof t!=`string`&&(s(t)||(t=t instanceof Blob?new d([t],`blob`,{type:t.type}):new o(t,`blob`,{type:t.type})),n!==void 0)){let e={type:t.type,lastModified:t.lastModified};t=t instanceof l?new d([t],n,e):new o(t,n,e)}return{name:e,value:t}}t.exports={FormData:f,makeEntry:p}})),ut=P(((e,t)=>{let{isUSVString:n,bufferToLowerCasedHeaderName:r}=L(),{utf8DecodeBytes:i}=ot(),{HTTP_TOKEN_CODEPOINTS:a,isomorphicDecode:o}=it(),{isFileLike:s}=ct(),{makeEntry:c}=lt(),l=F(`node:assert`),{File:u}=F(`node:buffer`),d=globalThis.File??u,f=Buffer.from(`form-data; name="`),p=Buffer.from(`; filename`),m=Buffer.from(`--`),h=Buffer.from(`--\r +import{createRequire as e}from"node:module";import*as t from"os";import n,{EOL as r}from"os";import*as i from"crypto";import*as a from"fs";import{constants as o,existsSync as s,promises as c,writeFileSync as l}from"fs";import*as u from"path";import*as d from"http";import*as f from"https";import*as p from"events";import{EventEmitter as m}from"events";import h,{ok as g}from"assert";import*as _ from"util";import v from"node:http";import{Readable as y,Transform as b}from"node:stream";import x from"node:buffer";import S,{inspect as C}from"node:util";import w from"node:zlib";import{createHmac as T}from"node:crypto";import{StringDecoder as E}from"string_decoder";import*as D from"child_process";import{setTimeout as O}from"timers";import*as k from"buffer";import{Buffer as A}from"buffer";import{basename as j,dirname as M,isAbsolute as ee,join as N,resolve as te}from"node:path";import{setTimeout as ne}from"node:timers/promises";import re,{chmodSync as ie,existsSync as ae,mkdirSync as oe,readFileSync as se,readdirSync as ce,statSync as le,writeFileSync as ue}from"node:fs";import de,{EOL as fe,arch as pe,homedir as me,platform as he}from"node:os";import*as ge from"stream";import{Readable as _e}from"stream";import{URL as ve}from"url";import ye from"node:process";import be from"node:https";import{execFileSync as xe}from"node:child_process";var Se=Object.create,Ce=Object.defineProperty,we=Object.getOwnPropertyDescriptor,Te=Object.getOwnPropertyNames,Ee=Object.getPrototypeOf,De=Object.prototype.hasOwnProperty,P=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),Oe=(e,t)=>{let n={};for(var r in e)Ce(n,r,{get:e[r],enumerable:!0});return t||Ce(n,Symbol.toStringTag,{value:`Module`}),n},ke=(e,t,n,r)=>{if(t&&typeof t==`object`||typeof t==`function`)for(var i=Te(t),a=0,o=i.length,s;at[e]).bind(null,s),enumerable:!(r=we(t,s))||r.enumerable});return e},Ae=(e,t,n)=>(n=e==null?{}:Se(Ee(e)),ke(t||!e||!e.__esModule?Ce(n,`default`,{value:e,enumerable:!0}):n,e)),F=e(import.meta.url);function je(e){return e==null?``:typeof e==`string`||e instanceof String?e:JSON.stringify(e)}function Me(e){return Object.keys(e).length?{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}}function Ne(e,n,r){let i=new Fe(e,n,r);process.stdout.write(i.toString()+t.EOL)}function Pe(e,t=``){Ne(e,{},t)}var Fe=class{constructor(e,t,n){e||=`missing.command`,this.command=e,this.properties=t,this.message=n}toString(){let e=`::`+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=` `;let t=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let r=this.properties[n];r&&(t?t=!1:e+=`,`,e+=`${n}=${Le(r)}`)}}return e+=`::${Ie(this.message)}`,e}};function Ie(e){return je(e).replace(/%/g,`%25`).replace(/\r/g,`%0D`).replace(/\n/g,`%0A`)}function Le(e){return je(e).replace(/%/g,`%25`).replace(/\r/g,`%0D`).replace(/\n/g,`%0A`).replace(/:/g,`%3A`).replace(/,/g,`%2C`)}function Re(e,n){let r=process.env[`GITHUB_${e}`];if(!r)throw Error(`Unable to find environment variable for file command ${e}`);if(!a.existsSync(r))throw Error(`Missing file at path: ${r}`);a.appendFileSync(r,`${je(n)}${t.EOL}`,{encoding:`utf8`})}function ze(e,n){let r=`ghadelimiter_${i.randomUUID()}`,a=je(n);if(e.includes(r))throw Error(`Unexpected input: name should not contain the delimiter "${r}"`);if(a.includes(r))throw Error(`Unexpected input: value should not contain the delimiter "${r}"`);return`${e}<<${r}${t.EOL}${a}${t.EOL}${r}`}function Be(e){let t=e.protocol===`https:`;if(Ve(e))return;let n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(n)try{return new Ue(n)}catch{if(!n.startsWith(`http://`)&&!n.startsWith(`https://`))return new Ue(`http://${n}`)}else return}function Ve(e){if(!e.hostname)return!1;let t=e.hostname;if(He(t))return!0;let n=process.env.no_proxy||process.env.NO_PROXY||``;if(!n)return!1;let r;e.port?r=Number(e.port):e.protocol===`http:`?r=80:e.protocol===`https:`&&(r=443);let i=[e.hostname.toUpperCase()];typeof r==`number`&&i.push(`${i[0]}:${r}`);for(let e of n.split(`,`).map(e=>e.trim().toUpperCase()).filter(e=>e))if(e===`*`||i.some(t=>t===e||t.endsWith(`.${e}`)||e.startsWith(`.`)&&t.endsWith(`${e}`)))return!0;return!1}function He(e){let t=e.toLowerCase();return t===`localhost`||t.startsWith(`127.`)||t.startsWith(`[::1]`)||t.startsWith(`[0:0:0:0:0:0:0:1]`)}var Ue=class extends URL{constructor(e,t){super(e,t),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}},We=P((e=>{F(`net`);var t=F(`tls`),n=F(`http`),r=F(`https`),i=F(`events`);F(`assert`);var a=F(`util`);e.httpOverHttp=o,e.httpsOverHttp=s,e.httpOverHttps=c,e.httpsOverHttps=l;function o(e){var t=new u(e);return t.request=n.request,t}function s(e){var t=new u(e);return t.request=n.request,t.createSocket=d,t.defaultPort=443,t}function c(e){var t=new u(e);return t.request=r.request,t}function l(e){var t=new u(e);return t.request=r.request,t.createSocket=d,t.defaultPort=443,t}function u(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||n.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on(`free`,function(e,n,r,i){for(var a=f(n,r,i),o=0,s=t.requests.length;o=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(t){t.on(`free`,n),t.on(`close`,r),t.on(`agentRemove`,r),e.onSocket(t);function n(){i.emit(`free`,t,a)}function r(e){i.removeSocket(t),t.removeListener(`free`,n),t.removeListener(`close`,r),t.removeListener(`agentRemove`,r)}})},u.prototype.createSocket=function(e,t){var n=this,r={};n.sockets.push(r);var i=p({},n.proxyOptions,{method:`CONNECT`,path:e.host+`:`+e.port,agent:!1,headers:{host:e.host+`:`+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers[`Proxy-Authorization`]=`Basic `+new Buffer(i.proxyAuth).toString(`base64`)),m(`making CONNECT request`);var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once(`response`,o),a.once(`upgrade`,s),a.once(`connect`,c),a.once(`error`,l),a.end();function o(e){e.upgrade=!0}function s(e,t,n){process.nextTick(function(){c(e,t,n)})}function c(i,o,s){if(a.removeAllListeners(),o.removeAllListeners(),i.statusCode!==200){m(`tunneling socket could not be established, statusCode=%d`,i.statusCode),o.destroy();var c=Error(`tunneling socket could not be established, statusCode=`+i.statusCode);c.code=`ECONNRESET`,e.request.emit(`error`,c),n.removeSocket(r);return}if(s.length>0){m(`got illegal response body from proxy`),o.destroy();var c=Error(`got illegal response body from proxy`);c.code=`ECONNRESET`,e.request.emit(`error`,c),n.removeSocket(r);return}return m(`tunneling connection has established`),n.sockets[n.sockets.indexOf(r)]=o,t(o)}function l(t){a.removeAllListeners(),m(`tunneling socket could not be established, cause=%s +`,t.message,t.stack);var i=Error(`tunneling socket could not be established, cause=`+t.message);i.code=`ECONNRESET`,e.request.emit(`error`,i),n.removeSocket(r)}},u.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(t!==-1){this.sockets.splice(t,1);var n=this.requests.shift();n&&this.createSocket(n,function(e){n.request.onSocket(e)})}};function d(e,n){var r=this;u.prototype.createSocket.call(r,e,function(i){var a=e.request.getHeader(`host`),o=p({},r.options,{socket:i,servername:a?a.replace(/:.*$/,``):e.host}),s=t.connect(0,o);r.sockets[r.sockets.indexOf(i)]=s,n(s)})}function f(e,t,n){return typeof e==`string`?{host:e,port:t,localAddress:n}:e}function p(e){for(var t=1,n=arguments.length;t{t.exports=We()})),Ke=P(((e,t)=>{t.exports={kClose:Symbol(`close`),kDestroy:Symbol(`destroy`),kDispatch:Symbol(`dispatch`),kUrl:Symbol(`url`),kWriting:Symbol(`writing`),kResuming:Symbol(`resuming`),kQueue:Symbol(`queue`),kConnect:Symbol(`connect`),kConnecting:Symbol(`connecting`),kKeepAliveDefaultTimeout:Symbol(`default keep alive timeout`),kKeepAliveMaxTimeout:Symbol(`max keep alive timeout`),kKeepAliveTimeoutThreshold:Symbol(`keep alive timeout threshold`),kKeepAliveTimeoutValue:Symbol(`keep alive timeout`),kKeepAlive:Symbol(`keep alive`),kHeadersTimeout:Symbol(`headers timeout`),kBodyTimeout:Symbol(`body timeout`),kServerName:Symbol(`server name`),kLocalAddress:Symbol(`local address`),kHost:Symbol(`host`),kNoRef:Symbol(`no ref`),kBodyUsed:Symbol(`used`),kBody:Symbol(`abstracted request body`),kRunning:Symbol(`running`),kBlocking:Symbol(`blocking`),kPending:Symbol(`pending`),kSize:Symbol(`size`),kBusy:Symbol(`busy`),kQueued:Symbol(`queued`),kFree:Symbol(`free`),kConnected:Symbol(`connected`),kClosed:Symbol(`closed`),kNeedDrain:Symbol(`need drain`),kReset:Symbol(`reset`),kDestroyed:Symbol.for(`nodejs.stream.destroyed`),kResume:Symbol(`resume`),kOnError:Symbol(`on error`),kMaxHeadersSize:Symbol(`max headers size`),kRunningIdx:Symbol(`running index`),kPendingIdx:Symbol(`pending index`),kError:Symbol(`error`),kClients:Symbol(`clients`),kClient:Symbol(`client`),kParser:Symbol(`parser`),kOnDestroyed:Symbol(`destroy callbacks`),kPipelining:Symbol(`pipelining`),kSocket:Symbol(`socket`),kHostHeader:Symbol(`host header`),kConnector:Symbol(`connector`),kStrictContentLength:Symbol(`strict content length`),kMaxRedirections:Symbol(`maxRedirections`),kMaxRequests:Symbol(`maxRequestsPerClient`),kProxy:Symbol(`proxy agent options`),kCounter:Symbol(`socket request counter`),kInterceptors:Symbol(`dispatch interceptors`),kMaxResponseSize:Symbol(`max response size`),kHTTP2Session:Symbol(`http2Session`),kHTTP2SessionState:Symbol(`http2Session state`),kRetryHandlerDefaultRetry:Symbol(`retry agent default retry`),kConstruct:Symbol(`constructable`),kListeners:Symbol(`listeners`),kHTTPContext:Symbol(`http context`),kMaxConcurrentStreams:Symbol(`max concurrent streams`),kNoProxyAgent:Symbol(`no proxy agent`),kHttpProxyAgent:Symbol(`http proxy agent`),kHttpsProxyAgent:Symbol(`https proxy agent`)}})),qe=P(((e,t)=>{let n=Symbol.for(`undici.error.UND_ERR`);var r=class extends Error{constructor(e){super(e),this.name=`UndiciError`,this.code=`UND_ERR`}static[Symbol.hasInstance](e){return e&&e[n]===!0}[n]=!0};let i=Symbol.for(`undici.error.UND_ERR_CONNECT_TIMEOUT`);var a=class extends r{constructor(e){super(e),this.name=`ConnectTimeoutError`,this.message=e||`Connect Timeout Error`,this.code=`UND_ERR_CONNECT_TIMEOUT`}static[Symbol.hasInstance](e){return e&&e[i]===!0}[i]=!0};let o=Symbol.for(`undici.error.UND_ERR_HEADERS_TIMEOUT`);var s=class extends r{constructor(e){super(e),this.name=`HeadersTimeoutError`,this.message=e||`Headers Timeout Error`,this.code=`UND_ERR_HEADERS_TIMEOUT`}static[Symbol.hasInstance](e){return e&&e[o]===!0}[o]=!0};let c=Symbol.for(`undici.error.UND_ERR_HEADERS_OVERFLOW`);var l=class extends r{constructor(e){super(e),this.name=`HeadersOverflowError`,this.message=e||`Headers Overflow Error`,this.code=`UND_ERR_HEADERS_OVERFLOW`}static[Symbol.hasInstance](e){return e&&e[c]===!0}[c]=!0};let u=Symbol.for(`undici.error.UND_ERR_BODY_TIMEOUT`);var d=class extends r{constructor(e){super(e),this.name=`BodyTimeoutError`,this.message=e||`Body Timeout Error`,this.code=`UND_ERR_BODY_TIMEOUT`}static[Symbol.hasInstance](e){return e&&e[u]===!0}[u]=!0};let f=Symbol.for(`undici.error.UND_ERR_RESPONSE_STATUS_CODE`);var p=class extends r{constructor(e,t,n,r){super(e),this.name=`ResponseStatusCodeError`,this.message=e||`Response Status Code Error`,this.code=`UND_ERR_RESPONSE_STATUS_CODE`,this.body=r,this.status=t,this.statusCode=t,this.headers=n}static[Symbol.hasInstance](e){return e&&e[f]===!0}[f]=!0};let m=Symbol.for(`undici.error.UND_ERR_INVALID_ARG`);var h=class extends r{constructor(e){super(e),this.name=`InvalidArgumentError`,this.message=e||`Invalid Argument Error`,this.code=`UND_ERR_INVALID_ARG`}static[Symbol.hasInstance](e){return e&&e[m]===!0}[m]=!0};let g=Symbol.for(`undici.error.UND_ERR_INVALID_RETURN_VALUE`);var _=class extends r{constructor(e){super(e),this.name=`InvalidReturnValueError`,this.message=e||`Invalid Return Value Error`,this.code=`UND_ERR_INVALID_RETURN_VALUE`}static[Symbol.hasInstance](e){return e&&e[g]===!0}[g]=!0};let v=Symbol.for(`undici.error.UND_ERR_ABORT`);var y=class extends r{constructor(e){super(e),this.name=`AbortError`,this.message=e||`The operation was aborted`,this.code=`UND_ERR_ABORT`}static[Symbol.hasInstance](e){return e&&e[v]===!0}[v]=!0};let b=Symbol.for(`undici.error.UND_ERR_ABORTED`);var x=class extends y{constructor(e){super(e),this.name=`AbortError`,this.message=e||`Request aborted`,this.code=`UND_ERR_ABORTED`}static[Symbol.hasInstance](e){return e&&e[b]===!0}[b]=!0};let S=Symbol.for(`undici.error.UND_ERR_INFO`);var C=class extends r{constructor(e){super(e),this.name=`InformationalError`,this.message=e||`Request information`,this.code=`UND_ERR_INFO`}static[Symbol.hasInstance](e){return e&&e[S]===!0}[S]=!0};let w=Symbol.for(`undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH`);var T=class extends r{constructor(e){super(e),this.name=`RequestContentLengthMismatchError`,this.message=e||`Request body length does not match content-length header`,this.code=`UND_ERR_REQ_CONTENT_LENGTH_MISMATCH`}static[Symbol.hasInstance](e){return e&&e[w]===!0}[w]=!0};let E=Symbol.for(`undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH`);var D=class extends r{constructor(e){super(e),this.name=`ResponseContentLengthMismatchError`,this.message=e||`Response body length does not match content-length header`,this.code=`UND_ERR_RES_CONTENT_LENGTH_MISMATCH`}static[Symbol.hasInstance](e){return e&&e[E]===!0}[E]=!0};let O=Symbol.for(`undici.error.UND_ERR_DESTROYED`);var k=class extends r{constructor(e){super(e),this.name=`ClientDestroyedError`,this.message=e||`The client is destroyed`,this.code=`UND_ERR_DESTROYED`}static[Symbol.hasInstance](e){return e&&e[O]===!0}[O]=!0};let A=Symbol.for(`undici.error.UND_ERR_CLOSED`);var j=class extends r{constructor(e){super(e),this.name=`ClientClosedError`,this.message=e||`The client is closed`,this.code=`UND_ERR_CLOSED`}static[Symbol.hasInstance](e){return e&&e[A]===!0}[A]=!0};let M=Symbol.for(`undici.error.UND_ERR_SOCKET`);var ee=class extends r{constructor(e,t){super(e),this.name=`SocketError`,this.message=e||`Socket error`,this.code=`UND_ERR_SOCKET`,this.socket=t}static[Symbol.hasInstance](e){return e&&e[M]===!0}[M]=!0};let N=Symbol.for(`undici.error.UND_ERR_NOT_SUPPORTED`);var te=class extends r{constructor(e){super(e),this.name=`NotSupportedError`,this.message=e||`Not supported error`,this.code=`UND_ERR_NOT_SUPPORTED`}static[Symbol.hasInstance](e){return e&&e[N]===!0}[N]=!0};let ne=Symbol.for(`undici.error.UND_ERR_BPL_MISSING_UPSTREAM`);var re=class extends r{constructor(e){super(e),this.name=`MissingUpstreamError`,this.message=e||`No upstream has been added to the BalancedPool`,this.code=`UND_ERR_BPL_MISSING_UPSTREAM`}static[Symbol.hasInstance](e){return e&&e[ne]===!0}[ne]=!0};let ie=Symbol.for(`undici.error.UND_ERR_HTTP_PARSER`);var ae=class extends Error{constructor(e,t,n){super(e),this.name=`HTTPParserError`,this.code=t?`HPE_${t}`:void 0,this.data=n?n.toString():void 0}static[Symbol.hasInstance](e){return e&&e[ie]===!0}[ie]=!0};let oe=Symbol.for(`undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE`);var se=class extends r{constructor(e){super(e),this.name=`ResponseExceededMaxSizeError`,this.message=e||`Response content exceeded max size`,this.code=`UND_ERR_RES_EXCEEDED_MAX_SIZE`}static[Symbol.hasInstance](e){return e&&e[oe]===!0}[oe]=!0};let ce=Symbol.for(`undici.error.UND_ERR_REQ_RETRY`);var le=class extends r{constructor(e,t,{headers:n,data:r}){super(e),this.name=`RequestRetryError`,this.message=e||`Request retry error`,this.code=`UND_ERR_REQ_RETRY`,this.statusCode=t,this.data=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[ce]===!0}[ce]=!0};let ue=Symbol.for(`undici.error.UND_ERR_RESPONSE`);var de=class extends r{constructor(e,t,{headers:n,data:r}){super(e),this.name=`ResponseError`,this.message=e||`Response error`,this.code=`UND_ERR_RESPONSE`,this.statusCode=t,this.data=r,this.headers=n}static[Symbol.hasInstance](e){return e&&e[ue]===!0}[ue]=!0};let fe=Symbol.for(`undici.error.UND_ERR_PRX_TLS`);var pe=class extends r{constructor(e,t,n){super(t,{cause:e,...n??{}}),this.name=`SecureProxyConnectionError`,this.message=t||`Secure Proxy Connection failed`,this.code=`UND_ERR_PRX_TLS`,this.cause=e}static[Symbol.hasInstance](e){return e&&e[fe]===!0}[fe]=!0};let me=Symbol.for(`undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED`);t.exports={AbortError:y,HTTPParserError:ae,UndiciError:r,HeadersTimeoutError:s,HeadersOverflowError:l,BodyTimeoutError:d,RequestContentLengthMismatchError:T,ConnectTimeoutError:a,ResponseStatusCodeError:p,InvalidArgumentError:h,InvalidReturnValueError:_,RequestAbortedError:x,ClientDestroyedError:k,ClientClosedError:j,InformationalError:C,SocketError:ee,NotSupportedError:te,ResponseContentLengthMismatchError:D,BalancedPoolMissingUpstreamError:re,ResponseExceededMaxSizeError:se,RequestRetryError:le,ResponseError:de,SecureProxyConnectionError:pe,MessageSizeExceededError:class extends r{constructor(e){super(e),this.name=`MessageSizeExceededError`,this.message=e||`Max decompressed message size exceeded`,this.code=`UND_ERR_WS_MESSAGE_SIZE_EXCEEDED`}static[Symbol.hasInstance](e){return e&&e[me]===!0}get[me](){return!0}}}})),Je=P(((e,t)=>{let n={},r=`Accept.Accept-Encoding.Accept-Language.Accept-Ranges.Access-Control-Allow-Credentials.Access-Control-Allow-Headers.Access-Control-Allow-Methods.Access-Control-Allow-Origin.Access-Control-Expose-Headers.Access-Control-Max-Age.Access-Control-Request-Headers.Access-Control-Request-Method.Age.Allow.Alt-Svc.Alt-Used.Authorization.Cache-Control.Clear-Site-Data.Connection.Content-Disposition.Content-Encoding.Content-Language.Content-Length.Content-Location.Content-Range.Content-Security-Policy.Content-Security-Policy-Report-Only.Content-Type.Cookie.Cross-Origin-Embedder-Policy.Cross-Origin-Opener-Policy.Cross-Origin-Resource-Policy.Date.Device-Memory.Downlink.ECT.ETag.Expect.Expect-CT.Expires.Forwarded.From.Host.If-Match.If-Modified-Since.If-None-Match.If-Range.If-Unmodified-Since.Keep-Alive.Last-Modified.Link.Location.Max-Forwards.Origin.Permissions-Policy.Pragma.Proxy-Authenticate.Proxy-Authorization.RTT.Range.Referer.Referrer-Policy.Refresh.Retry-After.Sec-WebSocket-Accept.Sec-WebSocket-Extensions.Sec-WebSocket-Key.Sec-WebSocket-Protocol.Sec-WebSocket-Version.Server.Server-Timing.Service-Worker-Allowed.Service-Worker-Navigation-Preload.Set-Cookie.SourceMap.Strict-Transport-Security.Supports-Loading-Mode.TE.Timing-Allow-Origin.Trailer.Transfer-Encoding.Upgrade.Upgrade-Insecure-Requests.User-Agent.Vary.Via.WWW-Authenticate.X-Content-Type-Options.X-DNS-Prefetch-Control.X-Frame-Options.X-Permitted-Cross-Domain-Policies.X-Powered-By.X-Requested-With.X-XSS-Protection`.split(`.`);for(let e=0;e{let{wellknownHeaderNames:n,headerNameLowerCasedRecord:r}=Je();var i=class e{value=null;left=null;middle=null;right=null;code;constructor(t,n,r){if(r===void 0||r>=t.length)throw TypeError(`Unreachable`);if((this.code=t.charCodeAt(r))>127)throw TypeError(`key must be ascii string`);t.length===++r?this.value=n:this.middle=new e(t,n,r)}add(t,n){let r=t.length;if(r===0)throw TypeError(`Unreachable`);let i=0,a=this;for(;;){let o=t.charCodeAt(i);if(o>127)throw TypeError(`key must be ascii string`);if(a.code===o)if(r===++i){a.value=n;break}else if(a.middle!==null)a=a.middle;else{a.middle=new e(t,n,i);break}else if(a.code=65&&(i|=32);r!==null;){if(i===r.code){if(t===++n)return r;r=r.middle;break}r=r.code{let n=F(`node:assert`),{kDestroyed:r,kBodyUsed:i,kListeners:a,kBody:o}=Ke(),{IncomingMessage:s}=F(`node:http`),c=F(`node:stream`),l=F(`node:net`),{Blob:u}=F(`node:buffer`),d=F(`node:util`),{stringify:f}=F(`node:querystring`),{EventEmitter:p}=F(`node:events`),{InvalidArgumentError:m}=qe(),{headerNameLowerCasedRecord:h}=Je(),{tree:g}=Ye(),[_,v]=process.versions.node.split(`.`).map(e=>Number(e));var y=class{constructor(e){this[o]=e,this[i]=!1}async*[Symbol.asyncIterator](){n(!this[i],`disturbed`),this[i]=!0,yield*this[o]}};function b(e){return S(e)?(N(e)===0&&e.on(`data`,function(){n(!1)}),typeof e.readableDidRead!=`boolean`&&(e[i]=!1,p.prototype.on.call(e,`data`,function(){this[i]=!0})),e):e&&typeof e.pipeTo==`function`||e&&typeof e!=`string`&&!ArrayBuffer.isView(e)&&ee(e)?new y(e):e}function x(){}function S(e){return e&&typeof e==`object`&&typeof e.pipe==`function`&&typeof e.on==`function`}function C(e){if(e===null)return!1;if(e instanceof u)return!0;if(typeof e!=`object`)return!1;{let t=e[Symbol.toStringTag];return(t===`Blob`||t===`File`)&&(`stream`in e&&typeof e.stream==`function`||`arrayBuffer`in e&&typeof e.arrayBuffer==`function`)}}function w(e,t){if(e.includes(`?`)||e.includes(`#`))throw Error(`Query params cannot be passed when url already contains "?" or "#".`);let n=f(t);return n&&(e+=`?`+n),e}function T(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function E(e){return e!=null&&e[0]===`h`&&e[1]===`t`&&e[2]===`t`&&e[3]===`p`&&(e[4]===`:`||e[4]===`s`&&e[5]===`:`)}function D(e){if(typeof e==`string`){if(e=new URL(e),!E(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||typeof e!=`object`)throw new m(`Invalid URL: The URL argument must be a non-null object.`);if(!(e instanceof URL)){if(e.port!=null&&e.port!==``&&T(e.port)===!1)throw new m(`Invalid URL: port must be a valid integer or a string representation of an integer.`);if(e.path!=null&&typeof e.path!=`string`)throw new m(`Invalid URL path: the path must be a string or null/undefined.`);if(e.pathname!=null&&typeof e.pathname!=`string`)throw new m(`Invalid URL pathname: the pathname must be a string or null/undefined.`);if(e.hostname!=null&&typeof e.hostname!=`string`)throw new m(`Invalid URL hostname: the hostname must be a string or null/undefined.`);if(e.origin!=null&&typeof e.origin!=`string`)throw new m(`Invalid URL origin: the origin must be a string or null/undefined.`);if(!E(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=e.port==null?e.protocol===`https:`?443:80:e.port,n=e.origin==null?`${e.protocol||``}//${e.hostname||``}:${t}`:e.origin,r=e.path==null?`${e.pathname||``}${e.search||``}`:e.path;return n[n.length-1]===`/`&&(n=n.slice(0,n.length-1)),r&&r[0]!==`/`&&(r=`/${r}`),new URL(`${n}${r}`)}if(!E(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function O(e){if(e=D(e),e.pathname!==`/`||e.search||e.hash)throw new m(`invalid url`);return e}function k(e){if(e[0]===`[`){let t=e.indexOf(`]`);return n(t!==-1),e.substring(1,t)}let t=e.indexOf(`:`);return t===-1?e:e.substring(0,t)}function A(e){if(!e)return null;n(typeof e==`string`);let t=k(e);return l.isIP(t)?``:t}function j(e){return JSON.parse(JSON.stringify(e))}function M(e){return e!=null&&typeof e[Symbol.asyncIterator]==`function`}function ee(e){return e!=null&&(typeof e[Symbol.iterator]==`function`||typeof e[Symbol.asyncIterator]==`function`)}function N(e){if(e==null)return 0;if(S(e)){let t=e._readableState;return t&&t.objectMode===!1&&t.ended===!0&&Number.isFinite(t.length)?t.length:null}else if(C(e))return e.size==null?null:e.size;else if(le(e))return e.byteLength;return null}function te(e){return e&&!!(e.destroyed||e[r]||c.isDestroyed?.(e))}function ne(e,t){e==null||!S(e)||te(e)||(typeof e.destroy==`function`?(Object.getPrototypeOf(e).constructor===s&&(e.socket=null),e.destroy(t)):t&&queueMicrotask(()=>{e.emit(`error`,t)}),e.destroyed!==!0&&(e[r]=!0))}let re=/timeout=(\d+)/;function ie(e){let t=e.toString().match(re);return t?parseInt(t[1],10)*1e3:null}function ae(e){return typeof e==`string`?h[e]??e.toLowerCase():g.lookup(e)??e.toString(`latin1`).toLowerCase()}function oe(e){return g.lookup(e)??e.toString(`latin1`).toLowerCase()}function se(e,t){t===void 0&&(t={});for(let n=0;ne.toString(`utf8`)):i.toString(`utf8`)}}return`content-length`in t&&`content-disposition`in t&&(t[`content-disposition`]=Buffer.from(t[`content-disposition`]).toString(`latin1`)),t}function ce(e){let t=e.length,n=Array(t),r=!1,i=-1,a,o,s=0;for(let t=0;t{e.close(),e.byobRequest?.respond(0)});else{let t=Buffer.isBuffer(r)?r:Buffer.from(r);t.byteLength&&e.enqueue(new Uint8Array(t))}return e.desiredSize>0},async cancel(e){await t.return()},type:`bytes`})}function ge(e){return e&&typeof e==`object`&&typeof e.append==`function`&&typeof e.delete==`function`&&typeof e.get==`function`&&typeof e.getAll==`function`&&typeof e.has==`function`&&typeof e.set==`function`&&e[Symbol.toStringTag]===`FormData`}function _e(e,t){return`addEventListener`in e?(e.addEventListener(`abort`,t,{once:!0}),()=>e.removeEventListener(`abort`,t)):(e.addListener(`abort`,t),()=>e.removeListener(`abort`,t))}let ve=typeof String.prototype.toWellFormed==`function`,ye=typeof String.prototype.isWellFormed==`function`;function be(e){return ve?`${e}`.toWellFormed():d.toUSVString(e)}function xe(e){return ye?`${e}`.isWellFormed():be(e)===`${e}`}function Se(e){switch(e){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return!1;default:return e>=33&&e<=126}}function Ce(e){if(e.length===0)return!1;for(let t=0;t{let n=F(`node:diagnostics_channel`),r=F(`node:util`),i=r.debuglog(`undici`),a=r.debuglog(`fetch`),o=r.debuglog(`websocket`),s=!1,c={beforeConnect:n.channel(`undici:client:beforeConnect`),connected:n.channel(`undici:client:connected`),connectError:n.channel(`undici:client:connectError`),sendHeaders:n.channel(`undici:client:sendHeaders`),create:n.channel(`undici:request:create`),bodySent:n.channel(`undici:request:bodySent`),headers:n.channel(`undici:request:headers`),trailers:n.channel(`undici:request:trailers`),error:n.channel(`undici:request:error`),open:n.channel(`undici:websocket:open`),close:n.channel(`undici:websocket:close`),socketError:n.channel(`undici:websocket:socket_error`),ping:n.channel(`undici:websocket:ping`),pong:n.channel(`undici:websocket:pong`)};if(i.enabled||a.enabled){let e=a.enabled?a:i;n.channel(`undici:client:beforeConnect`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connecting to %s using %s%s`,`${a}${i?`:${i}`:``}`,r,n)}),n.channel(`undici:client:connected`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connected to %s using %s%s`,`${a}${i?`:${i}`:``}`,r,n)}),n.channel(`undici:client:connectError`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a},error:o}=t;e(`connection to %s using %s%s errored - %s`,`${a}${i?`:${i}`:``}`,r,n,o.message)}),n.channel(`undici:client:sendHeaders`).subscribe(t=>{let{request:{method:n,path:r,origin:i}}=t;e(`sending request to %s %s/%s`,n,i,r)}),n.channel(`undici:request:headers`).subscribe(t=>{let{request:{method:n,path:r,origin:i},response:{statusCode:a}}=t;e(`received response to %s %s/%s - HTTP %d`,n,i,r,a)}),n.channel(`undici:request:trailers`).subscribe(t=>{let{request:{method:n,path:r,origin:i}}=t;e(`trailers received from %s %s/%s`,n,i,r)}),n.channel(`undici:request:error`).subscribe(t=>{let{request:{method:n,path:r,origin:i},error:a}=t;e(`request to %s %s/%s errored - %s`,n,i,r,a.message)}),s=!0}if(o.enabled){if(!s){let e=i.enabled?i:o;n.channel(`undici:client:beforeConnect`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connecting to %s%s using %s%s`,a,i?`:${i}`:``,r,n)}),n.channel(`undici:client:connected`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a}}=t;e(`connected to %s%s using %s%s`,a,i?`:${i}`:``,r,n)}),n.channel(`undici:client:connectError`).subscribe(t=>{let{connectParams:{version:n,protocol:r,port:i,host:a},error:o}=t;e(`connection to %s%s using %s%s errored - %s`,a,i?`:${i}`:``,r,n,o.message)}),n.channel(`undici:client:sendHeaders`).subscribe(t=>{let{request:{method:n,path:r,origin:i}}=t;e(`sending request to %s %s/%s`,n,i,r)})}n.channel(`undici:websocket:open`).subscribe(e=>{let{address:{address:t,port:n}}=e;o(`connection opened %s%s`,t,n?`:${n}`:``)}),n.channel(`undici:websocket:close`).subscribe(e=>{let{websocket:t,code:n,reason:r}=e;o(`closed connection to %s - %s %s`,t.url,n,r)}),n.channel(`undici:websocket:socket_error`).subscribe(e=>{o(`connection errored - %s`,e.message)}),n.channel(`undici:websocket:ping`).subscribe(e=>{o(`ping received`)}),n.channel(`undici:websocket:pong`).subscribe(e=>{o(`pong received`)})}t.exports={channels:c}})),Ze=P(((e,t)=>{let{InvalidArgumentError:n,NotSupportedError:r}=qe(),i=F(`node:assert`),{isValidHTTPToken:a,isValidHeaderValue:o,isStream:s,destroy:c,isBuffer:l,isFormDataLike:u,isIterable:d,isBlobLike:f,buildURL:p,validateHandler:m,getServerName:h,normalizedMethodRecords:g}=I(),{channels:_}=Xe(),{headerNameLowerCasedRecord:v}=Je(),y=/[^\u0021-\u00ff]/,b=Symbol(`handler`);var x=class{constructor(e,{path:t,method:r,body:i,headers:v,query:x,idempotent:C,blocking:w,upgrade:T,headersTimeout:E,bodyTimeout:D,reset:O,throwOnError:k,expectContinue:A,servername:j},M){if(typeof t!=`string`)throw new n(`path must be a string`);if(t[0]!==`/`&&!(t.startsWith(`http://`)||t.startsWith(`https://`))&&r!==`CONNECT`)throw new n(`path must be an absolute URL or start with a slash`);if(y.test(t))throw new n(`invalid request path`);if(typeof r!=`string`)throw new n(`method must be a string`);if(g[r]===void 0&&!a(r))throw new n(`invalid request method`);if(T&&typeof T!=`string`)throw new n(`upgrade must be a string`);if(T&&!o(T))throw new n(`invalid upgrade header`);if(E!=null&&(!Number.isFinite(E)||E<0))throw new n(`invalid headersTimeout`);if(D!=null&&(!Number.isFinite(D)||D<0))throw new n(`invalid bodyTimeout`);if(O!=null&&typeof O!=`boolean`)throw new n(`invalid reset`);if(A!=null&&typeof A!=`boolean`)throw new n(`invalid expectContinue`);if(this.headersTimeout=E,this.bodyTimeout=D,this.throwOnError=k===!0,this.method=r,this.abort=null,i==null)this.body=null;else if(s(i)){this.body=i;let e=this.body._readableState;(!e||!e.autoDestroy)&&(this.endHandler=function(){c(this)},this.body.on(`end`,this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on(`error`,this.errorHandler)}else if(l(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if(typeof i==`string`)this.body=i.length?Buffer.from(i):null;else if(u(i)||d(i)||f(i))this.body=i;else throw new n(`body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable`);if(this.completed=!1,this.aborted=!1,this.upgrade=T||null,this.path=x?p(t,x):t,this.origin=e,this.idempotent=C??(r===`HEAD`||r===`GET`),this.blocking=w??!1,this.reset=O??null,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=A??!1,Array.isArray(v)){if(v.length%2!=0)throw new n(`headers array must be even`);for(let e=0;e{let n=F(`node:events`);var r=class extends n{dispatch(){throw Error(`not implemented`)}close(){throw Error(`not implemented`)}destroy(){throw Error(`not implemented`)}compose(...e){let t=Array.isArray(e[0])?e[0]:e,n=this.dispatch.bind(this);for(let e of t)if(e!=null){if(typeof e!=`function`)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(n=e(n),n==null||typeof n!=`function`||n.length!==2)throw TypeError(`invalid interceptor`)}return new i(this,n)}},i=class extends r{#e=null;#t=null;constructor(e,t){super(),this.#e=e,this.#t=t}dispatch(...e){this.#t(...e)}close(...e){return this.#e.close(...e)}destroy(...e){return this.#e.destroy(...e)}};t.exports=r})),$e=P(((e,t)=>{let n=Qe(),{ClientDestroyedError:r,ClientClosedError:i,InvalidArgumentError:a}=qe(),{kDestroy:o,kClose:s,kClosed:c,kDestroyed:l,kDispatch:u,kInterceptors:d}=Ke(),f=Symbol(`onDestroyed`),p=Symbol(`onClosed`),m=Symbol(`Intercepted Dispatch`),h=Symbol(`webSocketOptions`);t.exports=class extends n{constructor(e){super(),this[l]=!1,this[f]=null,this[c]=!1,this[p]=[],this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxPayloadSize:this[h].maxPayloadSize??128*1024*1024}}get destroyed(){return this[l]}get closed(){return this[c]}get interceptors(){return this[d]}set interceptors(e){if(e){for(let t=e.length-1;t>=0;t--)if(typeof this[d][t]!=`function`)throw new a(`interceptor must be an function`)}this[d]=e}close(e){if(e===void 0)return new Promise((e,t)=>{this.close((n,r)=>n?t(n):e(r))});if(typeof e!=`function`)throw new a(`invalid callback`);if(this[l]){queueMicrotask(()=>e(new r,null));return}if(this[c]){this[p]?this[p].push(e):queueMicrotask(()=>e(null,null));return}this[c]=!0,this[p].push(e);let t=()=>{let e=this[p];this[p]=null;for(let t=0;tthis.destroy()).then(()=>{queueMicrotask(t)})}destroy(e,t){if(typeof e==`function`&&(t=e,e=null),t===void 0)return new Promise((t,n)=>{this.destroy(e,(e,r)=>e?n(e):t(r))});if(typeof t!=`function`)throw new a(`invalid callback`);if(this[l]){this[f]?this[f].push(t):queueMicrotask(()=>t(null,null));return}e||=new r,this[l]=!0,this[f]=this[f]||[],this[f].push(t);let n=()=>{let e=this[f];this[f]=null;for(let t=0;t{queueMicrotask(n)})}[m](e,t){if(!this[d]||this[d].length===0)return this[m]=this[u],this[u](e,t);let n=this[u].bind(this);for(let e=this[d].length-1;e>=0;e--)n=this[d][e](n);return this[m]=n,n(e,t)}dispatch(e,t){if(!t||typeof t!=`object`)throw new a(`handler must be an object`);try{if(!e||typeof e!=`object`)throw new a(`opts must be an object.`);if(this[l]||this[f])throw new r;if(this[c])throw new i;return this[m](e,t)}catch(e){if(typeof t.onError!=`function`)throw new a(`invalid onError method`);return t.onError(e),!1}}}})),et=P(((e,t)=>{let n=0,r=1e3;(r>>1)-1;let i,a=Symbol(`kFastTimer`),o=[];function s(){n+=499;let e=0,t=o.length;for(;e=r._idleStart+r._idleTimeout&&(r._state=-1,r._idleStart=-1,r._onTimeout(r._timerArg)),r._state===-1?(r._state=-2,--t!==0&&(o[e]=o[t])):++e}o.length=t,o.length!==0&&c()}function c(){i?i.refresh():(clearTimeout(i),i=setTimeout(s,499),i.unref&&i.unref())}var l=class{[a]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,n){this._onTimeout=e,this._idleTimeout=t,this._timerArg=n,this.refresh()}refresh(){this._state===-2&&o.push(this),(!i||o.length===1)&&c(),this._state=0}clear(){this._state=-1,this._idleStart=-1}};t.exports={setTimeout(e,t,n){return t<=r?setTimeout(e,t,n):new l(e,t,n)},clearTimeout(e){e[a]?e.clear():clearTimeout(e)},setFastTimeout(e,t,n){return new l(e,t,n)},clearFastTimeout(e){e.clear()},now(){return n},tick(e=0){n+=e-r+1,s(),s()},reset(){n=0,o.length=0,clearTimeout(i),i=null},kFastTimer:a}})),tt=P(((e,t)=>{let n=F(`node:net`),r=F(`node:assert`),i=I(),{InvalidArgumentError:a,ConnectTimeoutError:o}=qe(),s=et();function c(){}let l,u;u=global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)?class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new global.FinalizationRegistry(e=>{if(this._sessionCache.size=this._maxCachedSessions){let{value:e}=this._sessionCache.keys().next();this._sessionCache.delete(e)}this._sessionCache.set(e,t)}}};function d({allowH2:e,maxCachedSessions:t,socketPath:o,timeout:s,session:c,...d}){if(t!=null&&(!Number.isInteger(t)||t<0))throw new a(`maxCachedSessions must be a positive integer or zero`);let p={path:o,...d},m=new u(t??100);return s??=1e4,e??=!1,function({hostname:t,host:a,protocol:o,port:u,servername:d,localAddress:h,httpSocket:g},_){let v;if(o===`https:`){l||=F(`node:tls`),d=d||p.servername||i.getServerName(a)||null;let n=d||t;r(n);let o=c||m.get(n)||null;u||=443,v=l.connect({highWaterMark:16384,...p,servername:d,session:o,localAddress:h,ALPNProtocols:e?[`http/1.1`,`h2`]:[`http/1.1`],socket:g,port:u,host:t}),v.on(`session`,function(e){m.set(n,e)})}else r(!g,`httpSocket can only be sent on TLS update`),u||=80,v=n.connect({highWaterMark:64*1024,...p,localAddress:h,port:u,host:t});if(p.keepAlive==null||p.keepAlive){let e=p.keepAliveInitialDelay===void 0?6e4:p.keepAliveInitialDelay;v.setKeepAlive(!0,e)}let y=f(new WeakRef(v),{timeout:s,hostname:t,port:u});return v.setNoDelay(!0).once(o===`https:`?`secureConnect`:`connect`,function(){if(queueMicrotask(y),_){let e=_;_=null,e(null,this)}}).on(`error`,function(e){if(queueMicrotask(y),_){let t=_;_=null,t(e)}}),v}}let f=process.platform===`win32`?(e,t)=>{if(!t.timeout)return c;let n=null,r=null,i=s.setFastTimeout(()=>{n=setImmediate(()=>{r=setImmediate(()=>p(e.deref(),t))})},t.timeout);return()=>{s.clearFastTimeout(i),clearImmediate(n),clearImmediate(r)}}:(e,t)=>{if(!t.timeout)return c;let n=null,r=s.setFastTimeout(()=>{n=setImmediate(()=>{p(e.deref(),t)})},t.timeout);return()=>{s.clearFastTimeout(r),clearImmediate(n)}};function p(e,t){if(e==null)return;let n=`Connect Timeout Error`;Array.isArray(e.autoSelectFamilyAttemptedAddresses)?n+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(`, `)},`:n+=` (attempted address: ${t.hostname}:${t.port},`,n+=` timeout: ${t.timeout}ms)`,i.destroy(e,new o(n))}t.exports=d})),nt=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.enumToMap=void 0;function t(e){let t={};return Object.keys(e).forEach(n=>{let r=e[n];typeof r==`number`&&(t[n]=r)}),t}e.enumToMap=t})),rt=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.SPECIAL_HEADERS=e.HEADER_STATE=e.MINOR=e.MAJOR=e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS=e.TOKEN=e.STRICT_TOKEN=e.HEX=e.URL_CHAR=e.STRICT_URL_CHAR=e.USERINFO_CHARS=e.MARK=e.ALPHANUM=e.NUM=e.HEX_MAP=e.NUM_MAP=e.ALPHA=e.FINISH=e.H_METHOD_MAP=e.METHOD_MAP=e.METHODS_RTSP=e.METHODS_ICE=e.METHODS_HTTP=e.METHODS=e.LENIENT_FLAGS=e.FLAGS=e.TYPE=e.ERROR=void 0;let t=nt();(function(e){e[e.OK=0]=`OK`,e[e.INTERNAL=1]=`INTERNAL`,e[e.STRICT=2]=`STRICT`,e[e.LF_EXPECTED=3]=`LF_EXPECTED`,e[e.UNEXPECTED_CONTENT_LENGTH=4]=`UNEXPECTED_CONTENT_LENGTH`,e[e.CLOSED_CONNECTION=5]=`CLOSED_CONNECTION`,e[e.INVALID_METHOD=6]=`INVALID_METHOD`,e[e.INVALID_URL=7]=`INVALID_URL`,e[e.INVALID_CONSTANT=8]=`INVALID_CONSTANT`,e[e.INVALID_VERSION=9]=`INVALID_VERSION`,e[e.INVALID_HEADER_TOKEN=10]=`INVALID_HEADER_TOKEN`,e[e.INVALID_CONTENT_LENGTH=11]=`INVALID_CONTENT_LENGTH`,e[e.INVALID_CHUNK_SIZE=12]=`INVALID_CHUNK_SIZE`,e[e.INVALID_STATUS=13]=`INVALID_STATUS`,e[e.INVALID_EOF_STATE=14]=`INVALID_EOF_STATE`,e[e.INVALID_TRANSFER_ENCODING=15]=`INVALID_TRANSFER_ENCODING`,e[e.CB_MESSAGE_BEGIN=16]=`CB_MESSAGE_BEGIN`,e[e.CB_HEADERS_COMPLETE=17]=`CB_HEADERS_COMPLETE`,e[e.CB_MESSAGE_COMPLETE=18]=`CB_MESSAGE_COMPLETE`,e[e.CB_CHUNK_HEADER=19]=`CB_CHUNK_HEADER`,e[e.CB_CHUNK_COMPLETE=20]=`CB_CHUNK_COMPLETE`,e[e.PAUSED=21]=`PAUSED`,e[e.PAUSED_UPGRADE=22]=`PAUSED_UPGRADE`,e[e.PAUSED_H2_UPGRADE=23]=`PAUSED_H2_UPGRADE`,e[e.USER=24]=`USER`})(e.ERROR||={}),(function(e){e[e.BOTH=0]=`BOTH`,e[e.REQUEST=1]=`REQUEST`,e[e.RESPONSE=2]=`RESPONSE`})(e.TYPE||={}),(function(e){e[e.CONNECTION_KEEP_ALIVE=1]=`CONNECTION_KEEP_ALIVE`,e[e.CONNECTION_CLOSE=2]=`CONNECTION_CLOSE`,e[e.CONNECTION_UPGRADE=4]=`CONNECTION_UPGRADE`,e[e.CHUNKED=8]=`CHUNKED`,e[e.UPGRADE=16]=`UPGRADE`,e[e.CONTENT_LENGTH=32]=`CONTENT_LENGTH`,e[e.SKIPBODY=64]=`SKIPBODY`,e[e.TRAILING=128]=`TRAILING`,e[e.TRANSFER_ENCODING=512]=`TRANSFER_ENCODING`})(e.FLAGS||={}),(function(e){e[e.HEADERS=1]=`HEADERS`,e[e.CHUNKED_LENGTH=2]=`CHUNKED_LENGTH`,e[e.KEEP_ALIVE=4]=`KEEP_ALIVE`})(e.LENIENT_FLAGS||={});var n;(function(e){e[e.DELETE=0]=`DELETE`,e[e.GET=1]=`GET`,e[e.HEAD=2]=`HEAD`,e[e.POST=3]=`POST`,e[e.PUT=4]=`PUT`,e[e.CONNECT=5]=`CONNECT`,e[e.OPTIONS=6]=`OPTIONS`,e[e.TRACE=7]=`TRACE`,e[e.COPY=8]=`COPY`,e[e.LOCK=9]=`LOCK`,e[e.MKCOL=10]=`MKCOL`,e[e.MOVE=11]=`MOVE`,e[e.PROPFIND=12]=`PROPFIND`,e[e.PROPPATCH=13]=`PROPPATCH`,e[e.SEARCH=14]=`SEARCH`,e[e.UNLOCK=15]=`UNLOCK`,e[e.BIND=16]=`BIND`,e[e.REBIND=17]=`REBIND`,e[e.UNBIND=18]=`UNBIND`,e[e.ACL=19]=`ACL`,e[e.REPORT=20]=`REPORT`,e[e.MKACTIVITY=21]=`MKACTIVITY`,e[e.CHECKOUT=22]=`CHECKOUT`,e[e.MERGE=23]=`MERGE`,e[e[`M-SEARCH`]=24]=`M-SEARCH`,e[e.NOTIFY=25]=`NOTIFY`,e[e.SUBSCRIBE=26]=`SUBSCRIBE`,e[e.UNSUBSCRIBE=27]=`UNSUBSCRIBE`,e[e.PATCH=28]=`PATCH`,e[e.PURGE=29]=`PURGE`,e[e.MKCALENDAR=30]=`MKCALENDAR`,e[e.LINK=31]=`LINK`,e[e.UNLINK=32]=`UNLINK`,e[e.SOURCE=33]=`SOURCE`,e[e.PRI=34]=`PRI`,e[e.DESCRIBE=35]=`DESCRIBE`,e[e.ANNOUNCE=36]=`ANNOUNCE`,e[e.SETUP=37]=`SETUP`,e[e.PLAY=38]=`PLAY`,e[e.PAUSE=39]=`PAUSE`,e[e.TEARDOWN=40]=`TEARDOWN`,e[e.GET_PARAMETER=41]=`GET_PARAMETER`,e[e.SET_PARAMETER=42]=`SET_PARAMETER`,e[e.REDIRECT=43]=`REDIRECT`,e[e.RECORD=44]=`RECORD`,e[e.FLUSH=45]=`FLUSH`})(n=e.METHODS||={}),e.METHODS_HTTP=[n.DELETE,n.GET,n.HEAD,n.POST,n.PUT,n.CONNECT,n.OPTIONS,n.TRACE,n.COPY,n.LOCK,n.MKCOL,n.MOVE,n.PROPFIND,n.PROPPATCH,n.SEARCH,n.UNLOCK,n.BIND,n.REBIND,n.UNBIND,n.ACL,n.REPORT,n.MKACTIVITY,n.CHECKOUT,n.MERGE,n[`M-SEARCH`],n.NOTIFY,n.SUBSCRIBE,n.UNSUBSCRIBE,n.PATCH,n.PURGE,n.MKCALENDAR,n.LINK,n.UNLINK,n.PRI,n.SOURCE],e.METHODS_ICE=[n.SOURCE],e.METHODS_RTSP=[n.OPTIONS,n.DESCRIBE,n.ANNOUNCE,n.SETUP,n.PLAY,n.PAUSE,n.TEARDOWN,n.GET_PARAMETER,n.SET_PARAMETER,n.REDIRECT,n.RECORD,n.FLUSH,n.GET,n.POST],e.METHOD_MAP=t.enumToMap(n),e.H_METHOD_MAP={},Object.keys(e.METHOD_MAP).forEach(t=>{/^H/.test(t)&&(e.H_METHOD_MAP[t]=e.METHOD_MAP[t])}),(function(e){e[e.SAFE=0]=`SAFE`,e[e.SAFE_WITH_CB=1]=`SAFE_WITH_CB`,e[e.UNSAFE=2]=`UNSAFE`})(e.FINISH||={}),e.ALPHA=[];for(let t=65;t<=90;t++)e.ALPHA.push(String.fromCharCode(t)),e.ALPHA.push(String.fromCharCode(t+32));e.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},e.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},e.NUM=[`0`,`1`,`2`,`3`,`4`,`5`,`6`,`7`,`8`,`9`],e.ALPHANUM=e.ALPHA.concat(e.NUM),e.MARK=[`-`,`_`,`.`,`!`,`~`,`*`,`'`,`(`,`)`],e.USERINFO_CHARS=e.ALPHANUM.concat(e.MARK).concat([`%`,`;`,`:`,`&`,`=`,`+`,`$`,`,`]),e.STRICT_URL_CHAR=`!"$%&'()*+,-./:;<=>@[\\]^_\`{|}~`.split(``).concat(e.ALPHANUM),e.URL_CHAR=e.STRICT_URL_CHAR.concat([` `,`\f`]);for(let t=128;t<=255;t++)e.URL_CHAR.push(t);e.HEX=e.NUM.concat([`a`,`b`,`c`,`d`,`e`,`f`,`A`,`B`,`C`,`D`,`E`,`F`]),e.STRICT_TOKEN=[`!`,`#`,`$`,`%`,`&`,`'`,`*`,`+`,`-`,`.`,`^`,`_`,"`",`|`,`~`].concat(e.ALPHANUM),e.TOKEN=e.STRICT_TOKEN.concat([` `]),e.HEADER_CHARS=[` `];for(let t=32;t<=255;t++)t!==127&&e.HEADER_CHARS.push(t);e.CONNECTION_TOKEN_CHARS=e.HEADER_CHARS.filter(e=>e!==44),e.MAJOR=e.NUM_MAP,e.MINOR=e.MAJOR;var r;(function(e){e[e.GENERAL=0]=`GENERAL`,e[e.CONNECTION=1]=`CONNECTION`,e[e.CONTENT_LENGTH=2]=`CONTENT_LENGTH`,e[e.TRANSFER_ENCODING=3]=`TRANSFER_ENCODING`,e[e.UPGRADE=4]=`UPGRADE`,e[e.CONNECTION_KEEP_ALIVE=5]=`CONNECTION_KEEP_ALIVE`,e[e.CONNECTION_CLOSE=6]=`CONNECTION_CLOSE`,e[e.CONNECTION_UPGRADE=7]=`CONNECTION_UPGRADE`,e[e.TRANSFER_ENCODING_CHUNKED=8]=`TRANSFER_ENCODING_CHUNKED`})(r=e.HEADER_STATE||={}),e.SPECIAL_HEADERS={connection:r.CONNECTION,"content-length":r.CONTENT_LENGTH,"proxy-connection":r.CONNECTION,"transfer-encoding":r.TRANSFER_ENCODING,upgrade:r.UPGRADE}})),it=P(((e,t)=>{let{Buffer:n}=F(`node:buffer`);t.exports=n.from(`AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3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Rw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFIAEgAGtBAWohBgNAIAEtAAAgAEGMzwBqLQAARw1kIABBAUYN+gEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIA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CDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQA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wgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELI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BAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==`,`base64`)})),ot=P(((e,t)=>{let n=[`GET`,`HEAD`,`POST`],r=new Set(n),i=[101,204,205,304],a=[301,302,303,307,308],o=new Set(a),s=`1.7.9.11.13.15.17.19.20.21.22.23.25.37.42.43.53.69.77.79.87.95.101.102.103.104.109.110.111.113.115.117.119.123.135.137.139.143.161.179.389.427.465.512.513.514.515.526.530.531.532.540.548.554.556.563.587.601.636.989.990.993.995.1719.1720.1723.2049.3659.4045.4190.5060.5061.6000.6566.6665.6666.6667.6668.6669.6679.6697.10080`.split(`.`),c=new Set(s),l=[``,`no-referrer`,`no-referrer-when-downgrade`,`same-origin`,`origin`,`strict-origin`,`origin-when-cross-origin`,`strict-origin-when-cross-origin`,`unsafe-url`],u=new Set(l),d=[`follow`,`manual`,`error`],f=[`GET`,`HEAD`,`OPTIONS`,`TRACE`],p=new Set(f),m=[`navigate`,`same-origin`,`no-cors`,`cors`],h=[`omit`,`same-origin`,`include`],g=[`default`,`no-store`,`reload`,`no-cache`,`force-cache`,`only-if-cached`],_=[`content-encoding`,`content-language`,`content-location`,`content-type`,`content-length`],v=[`half`],y=[`CONNECT`,`TRACE`,`TRACK`],b=new Set(y),x=[`audio`,`audioworklet`,`font`,`image`,`manifest`,`paintworklet`,`script`,`style`,`track`,`video`,`xslt`,``];t.exports={subresource:x,forbiddenMethods:y,requestBodyHeader:_,referrerPolicy:l,requestRedirect:d,requestMode:m,requestCredentials:h,requestCache:g,redirectStatus:a,corsSafeListedMethods:n,nullBodyStatus:i,safeMethods:f,badPorts:s,requestDuplex:v,subresourceSet:new Set(x),badPortsSet:c,redirectStatusSet:o,corsSafeListedMethodsSet:r,safeMethodsSet:p,forbiddenMethodsSet:b,referrerPolicySet:u}})),st=P(((e,t)=>{let n=Symbol.for(`undici.globalOrigin.1`);function r(){return globalThis[n]}function i(e){if(e===void 0){Object.defineProperty(globalThis,n,{value:void 0,writable:!0,enumerable:!1,configurable:!1});return}let t=new URL(e);if(t.protocol!==`http:`&&t.protocol!==`https:`)throw TypeError(`Only http & https urls are allowed, received ${t.protocol}`);Object.defineProperty(globalThis,n,{value:t,writable:!0,enumerable:!1,configurable:!1})}t.exports={getGlobalOrigin:r,setGlobalOrigin:i}})),ct=P(((e,t)=>{let n=F(`node:assert`),r=new TextEncoder,i=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/,a=/[\u000A\u000D\u0009\u0020]/,o=/[\u0009\u000A\u000C\u000D\u0020]/g,s=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function c(e){n(e.protocol===`data:`);let t=l(e,!0);t=t.slice(5);let r={position:0},i=d(`,`,t,r),a=i.length;if(i=C(i,!0,!0),r.position>=t.length)return`failure`;r.position++;let o=f(t.slice(a+1));if(/;(\u0020){0,}base64$/i.test(i)){if(o=_(T(o)),o===`failure`)return`failure`;i=i.slice(0,-6),i=i.replace(/(\u0020)+$/,``),i=i.slice(0,-1)}i.startsWith(`;`)&&(i=`text/plain`+i);let s=g(i);return s===`failure`&&(s=g(`text/plain;charset=US-ASCII`)),{mimeType:s,body:o}}function l(e,t=!1){if(!t)return e.href;let n=e.href,r=e.hash.length,i=r===0?n:n.substring(0,n.length-r);return!r&&n.endsWith(`#`)?i.slice(0,-1):i}function u(e,t,n){let r=``;for(;n.position=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function m(e){return e>=48&&e<=57?e-48:(e&223)-55}function h(e){let t=e.length,n=new Uint8Array(t),r=0;for(let i=0;ie.length)return`failure`;t.position++;let r=d(`;`,e,t);if(r=x(r,!1,!0),r.length===0||!i.test(r))return`failure`;let o=n.toLowerCase(),c=r.toLowerCase(),l={type:o,subtype:c,parameters:new Map,essence:`${o}/${c}`};for(;t.positiona.test(e),e,t);let n=u(e=>e!==`;`&&e!==`=`,e,t);if(n=n.toLowerCase(),t.positione.length)break;let r=null;if(e[t.position]===`"`)r=v(e,t,!0),d(`;`,e,t);else if(r=d(`;`,e,t),r=x(r,!1,!0),r.length===0)continue;n.length!==0&&i.test(n)&&(r.length===0||s.test(r))&&!l.parameters.has(n)&&l.parameters.set(n,r)}return l}function _(e){e=e.replace(o,``);let t=e.length;if(t%4==0&&e.charCodeAt(t-1)===61&&(--t,e.charCodeAt(t-1)===61&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return`failure`;let n=Buffer.from(e,`base64`);return new Uint8Array(n.buffer,n.byteOffset,n.byteLength)}function v(e,t,r){let i=t.position,a=``;for(n(e[t.position]===`"`),t.position++;a+=u(e=>e!==`"`&&e!==`\\`,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,r===`\\`){if(t.position>=e.length){a+=`\\`;break}a+=e[t.position],t.position++}else{n(r===`"`);break}}return r?a:e.slice(i,t.position)}function y(e){n(e!==`failure`);let{parameters:t,essence:r}=e,a=r;for(let[e,n]of t.entries())a+=`;`,a+=e,a+=`=`,i.test(n)||(n=n.replace(/(\\|")/g,`\\$1`),n=`"`+n,n+=`"`),a+=n;return a}function b(e){return e===13||e===10||e===9||e===32}function x(e,t=!0,n=!0){return w(e,t,n,b)}function S(e){return e===13||e===10||e===9||e===12||e===32}function C(e,t=!0,n=!0){return w(e,t,n,S)}function w(e,t,n,r){let i=0,a=e.length-1;if(t)for(;i0&&r(e.charCodeAt(a));)a--;return i===0&&a===e.length-1?e:e.slice(i,a+1)}function T(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let n=``,r=0,i=65535;for(;rt&&(i=t-r),n+=String.fromCharCode.apply(null,e.subarray(r,r+=i));return n}function E(e){switch(e.essence){case`application/ecmascript`:case`application/javascript`:case`application/x-ecmascript`:case`application/x-javascript`:case`text/ecmascript`:case`text/javascript`:case`text/javascript1.0`:case`text/javascript1.1`:case`text/javascript1.2`:case`text/javascript1.3`:case`text/javascript1.4`:case`text/javascript1.5`:case`text/jscript`:case`text/livescript`:case`text/x-ecmascript`:case`text/x-javascript`:return`text/javascript`;case`application/json`:case`text/json`:return`application/json`;case`image/svg+xml`:return`image/svg+xml`;case`text/xml`:case`application/xml`:return`application/xml`}return e.subtype.endsWith(`+json`)?`application/json`:e.subtype.endsWith(`+xml`)?`application/xml`:``}t.exports={dataURLProcessor:c,URLSerializer:l,collectASequenceOfCodePoints:u,collectASequenceOfCodePointsFast:d,stringPercentDecode:f,parseMIMEType:g,collectAnHTTPQuotedString:v,serializeAMimeType:y,removeChars:w,removeHTTPWhitespace:x,minimizeSupportedMimeType:E,HTTP_TOKEN_CODEPOINTS:i,isomorphicDecode:T}})),lt=P(((e,t)=>{let{types:n,inspect:r}=F(`node:util`),{markAsUncloneable:i}=F(`node:worker_threads`),{toUSVString:a}=I(),o={};o.converters={},o.util={},o.errors={},o.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},o.errors.conversionFailed=function(e){let t=e.types.length===1?``:` one of`,n=`${e.argument} could not be converted to${t}: ${e.types.join(`, `)}.`;return o.errors.exception({header:e.prefix,message:n})},o.errors.invalidArgument=function(e){return o.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},o.brandCheck=function(e,t,n){if(n?.strict!==!1){if(!(e instanceof t)){let e=TypeError(`Illegal invocation`);throw e.code=`ERR_INVALID_THIS`,e}}else if(e?.[Symbol.toStringTag]!==t.prototype[Symbol.toStringTag]){let e=TypeError(`Illegal invocation`);throw e.code=`ERR_INVALID_THIS`,e}},o.argumentLengthCheck=function({length:e},t,n){if(e{}),o.util.ConvertToInt=function(e,t,n,r){let i,a;t===64?(i=2**53-1,a=n===`unsigned`?0:-9007199254740991):n===`unsigned`?(a=0,i=2**t-1):(a=(-2)**t-1,i=2**(t-1)-1);let s=Number(e);if(s===0&&(s=0),r?.enforceRange===!0){if(Number.isNaN(s)||s===1/0||s===-1/0)throw o.errors.exception({header:`Integer conversion`,message:`Could not convert ${o.util.Stringify(e)} to an integer.`});if(s=o.util.IntegerPart(s),si)throw o.errors.exception({header:`Integer conversion`,message:`Value must be between ${a}-${i}, got ${s}.`});return s}return!Number.isNaN(s)&&r?.clamp===!0?(s=Math.min(Math.max(s,a),i),s=Math.floor(s)%2==0?Math.floor(s):Math.ceil(s),s):Number.isNaN(s)||s===0&&Object.is(0,s)||s===1/0||s===-1/0?0:(s=o.util.IntegerPart(s),s%=2**t,n===`signed`&&s>=2**t-1?s-2**t:s)},o.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},o.util.Stringify=function(e){switch(o.util.Type(e)){case`Symbol`:return`Symbol(${e.description})`;case`Object`:return r(e);case`String`:return`"${e}"`;default:return`${e}`}},o.sequenceConverter=function(e){return(t,n,r,i)=>{if(o.util.Type(t)!==`Object`)throw o.errors.exception({header:n,message:`${r} (${o.util.Stringify(t)}) is not iterable.`});let a=typeof i==`function`?i():t?.[Symbol.iterator]?.(),s=[],c=0;if(a===void 0||typeof a.next!=`function`)throw o.errors.exception({header:n,message:`${r} is not iterable.`});for(;;){let{done:t,value:i}=a.next();if(t)break;s.push(e(i,n,`${r}[${c++}]`))}return s}},o.recordConverter=function(e,t){return(r,i,a)=>{if(o.util.Type(r)!==`Object`)throw o.errors.exception({header:i,message:`${a} ("${o.util.Type(r)}") is not an Object.`});let s={};if(!n.isProxy(r)){let n=[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)];for(let o of n){let n=e(o,i,a);s[n]=t(r[o],i,a)}return s}let c=Reflect.ownKeys(r);for(let n of c)if(Reflect.getOwnPropertyDescriptor(r,n)?.enumerable){let o=e(n,i,a);s[o]=t(r[n],i,a)}return s}},o.interfaceConverter=function(e){return(t,n,r,i)=>{if(i?.strict!==!1&&!(t instanceof e))throw o.errors.exception({header:n,message:`Expected ${r} ("${o.util.Stringify(t)}") to be an instance of ${e.name}.`});return t}},o.dictionaryConverter=function(e){return(t,n,r)=>{let i=o.util.Type(t),a={};if(i===`Null`||i===`Undefined`)return a;if(i!==`Object`)throw o.errors.exception({header:n,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let i of e){let{key:e,defaultValue:s,required:c,converter:l}=i;if(c===!0&&!Object.hasOwn(t,e))throw o.errors.exception({header:n,message:`Missing required key "${e}".`});let u=t[e],d=Object.hasOwn(i,`defaultValue`);if(d&&u!==null&&(u??=s()),c||d||u!==void 0){if(u=l(u,n,`${r}.${e}`),i.allowedValues&&!i.allowedValues.includes(u))throw o.errors.exception({header:n,message:`${u} is not an accepted type. Expected one of ${i.allowedValues.join(`, `)}.`});a[e]=u}}return a}},o.nullableConverter=function(e){return(t,n,r)=>t===null?t:e(t,n,r)},o.converters.DOMString=function(e,t,n,r){if(e===null&&r?.legacyNullToEmptyString)return``;if(typeof e==`symbol`)throw o.errors.exception({header:t,message:`${n} is a symbol, which cannot be converted to a DOMString.`});return String(e)},o.converters.ByteString=function(e,t,n){let r=o.converters.DOMString(e,t,n);for(let e=0;e255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${r.charCodeAt(e)} which is greater than 255.`);return r},o.converters.USVString=a,o.converters.boolean=function(e){return!!e},o.converters.any=function(e){return e},o.converters[`long long`]=function(e,t,n){return o.util.ConvertToInt(e,64,`signed`,void 0,t,n)},o.converters[`unsigned long long`]=function(e,t,n){return o.util.ConvertToInt(e,64,`unsigned`,void 0,t,n)},o.converters[`unsigned long`]=function(e,t,n){return o.util.ConvertToInt(e,32,`unsigned`,void 0,t,n)},o.converters[`unsigned short`]=function(e,t,n,r){return o.util.ConvertToInt(e,16,`unsigned`,r,t,n)},o.converters.ArrayBuffer=function(e,t,r,i){if(o.util.Type(e)!==`Object`||!n.isAnyArrayBuffer(e))throw o.errors.conversionFailed({prefix:t,argument:`${r} ("${o.util.Stringify(e)}")`,types:[`ArrayBuffer`]});if(i?.allowShared===!1&&n.isSharedArrayBuffer(e))throw o.errors.exception({header:`ArrayBuffer`,message:`SharedArrayBuffer is not allowed.`});if(e.resizable||e.growable)throw o.errors.exception({header:`ArrayBuffer`,message:`Received a resizable ArrayBuffer.`});return e},o.converters.TypedArray=function(e,t,r,i,a){if(o.util.Type(e)!==`Object`||!n.isTypedArray(e)||e.constructor.name!==t.name)throw o.errors.conversionFailed({prefix:r,argument:`${i} ("${o.util.Stringify(e)}")`,types:[t.name]});if(a?.allowShared===!1&&n.isSharedArrayBuffer(e.buffer))throw o.errors.exception({header:`ArrayBuffer`,message:`SharedArrayBuffer is not allowed.`});if(e.buffer.resizable||e.buffer.growable)throw o.errors.exception({header:`ArrayBuffer`,message:`Received a resizable ArrayBuffer.`});return e},o.converters.DataView=function(e,t,r,i){if(o.util.Type(e)!==`Object`||!n.isDataView(e))throw o.errors.exception({header:t,message:`${r} is not a DataView.`});if(i?.allowShared===!1&&n.isSharedArrayBuffer(e.buffer))throw o.errors.exception({header:`ArrayBuffer`,message:`SharedArrayBuffer is not allowed.`});if(e.buffer.resizable||e.buffer.growable)throw o.errors.exception({header:`ArrayBuffer`,message:`Received a resizable ArrayBuffer.`});return e},o.converters.BufferSource=function(e,t,r,i){if(n.isAnyArrayBuffer(e))return o.converters.ArrayBuffer(e,t,r,{...i,allowShared:!1});if(n.isTypedArray(e))return o.converters.TypedArray(e,e.constructor,t,r,{...i,allowShared:!1});if(n.isDataView(e))return o.converters.DataView(e,t,r,{...i,allowShared:!1});throw o.errors.conversionFailed({prefix:t,argument:`${r} ("${o.util.Stringify(e)}")`,types:[`BufferSource`]})},o.converters[`sequence`]=o.sequenceConverter(o.converters.ByteString),o.converters[`sequence>`]=o.sequenceConverter(o.converters[`sequence`]),o.converters[`record`]=o.recordConverter(o.converters.ByteString,o.converters.ByteString),t.exports={webidl:o}})),ut=P(((e,t)=>{let{Transform:n}=F(`node:stream`),r=F(`node:zlib`),{redirectStatusSet:i,referrerPolicySet:a,badPortsSet:o}=ot(),{getGlobalOrigin:s}=st(),{collectASequenceOfCodePoints:c,collectAnHTTPQuotedString:l,removeChars:u,parseMIMEType:d}=ct(),{performance:f}=F(`node:perf_hooks`),{isBlobLike:p,ReadableStreamFrom:m,isValidHTTPToken:h,normalizedMethodRecordsBase:g}=I(),_=F(`node:assert`),{isUint8Array:v}=F(`node:util/types`),{webidl:y}=lt(),b=[],x;try{x=F(`node:crypto`);let e=[`sha256`,`sha384`,`sha512`];b=x.getHashes().filter(t=>e.includes(t))}catch{}function S(e){let t=e.urlList,n=t.length;return n===0?null:t[n-1].toString()}function C(e,t){if(!i.has(e.status))return null;let n=e.headersList.get(`location`,!0);return n!==null&&j(n)&&(w(n)||(n=T(n)),n=new URL(n,S(e))),n&&!n.hash&&(n.hash=t),n}function w(e){for(let t=0;t126||n<32)return!1}return!0}function T(e){return Buffer.from(e,`binary`).toString(`utf8`)}function E(e){return e.urlList[e.urlList.length-1]}function D(e){let t=E(e);return Ie(t)&&o.has(t.port)?`blocked`:`allowed`}function O(e){return e instanceof Error||e?.constructor?.name===`Error`||e?.constructor?.name===`DOMException`}function k(e){for(let t=0;t=32&&n<=126||n>=128&&n<=255))return!1}return!0}let A=h;function j(e){return(e[0]===` `||e[0]===` `||e[e.length-1]===` `||e[e.length-1]===` `||e.includes(` +`)||e.includes(`\r`)||e.includes(`\0`))===!1}function M(e,t){let{headersList:n}=t,r=(n.get(`referrer-policy`,!0)??``).split(`,`),i=``;if(r.length>0)for(let e=r.length;e!==0;e--){let t=r[e-1].trim();if(a.has(t)){i=t;break}}i!==``&&(e.referrerPolicy=i)}function ee(){return`allowed`}function N(){return`success`}function te(){return`success`}function ne(e){let t=null;t=e.mode,e.headersList.set(`sec-fetch-mode`,t,!0)}function re(e){let t=e.origin;if(!(t===`client`||t===void 0)){if(e.responseTainting===`cors`||e.mode===`websocket`)e.headersList.append(`origin`,t,!0);else if(e.method!==`GET`&&e.method!==`HEAD`){switch(e.referrerPolicy){case`no-referrer`:t=null;break;case`no-referrer-when-downgrade`:case`strict-origin`:case`strict-origin-when-cross-origin`:e.origin&&Fe(e.origin)&&!Fe(E(e))&&(t=null);break;case`same-origin`:be(e,E(e))||(t=null);break;default:}e.headersList.append(`origin`,t,!0)}}}function ie(e,t){return e}function ae(e,t,n){return!e?.startTime||e.startTime4096&&(r=i);let a=be(e,r),o=fe(r)&&!fe(e.url);switch(t){case`origin`:return i??de(n,!0);case`unsafe-url`:return r;case`same-origin`:return a?i:`no-referrer`;case`origin-when-cross-origin`:return a?r:i;case`strict-origin-when-cross-origin`:{let t=E(e);return be(r,t)?r:fe(r)&&!fe(t)?`no-referrer`:i}default:return o?`no-referrer`:i}}function de(e,t){return _(e instanceof URL),e=new URL(e),e.protocol===`file:`||e.protocol===`about:`||e.protocol===`blank:`?`no-referrer`:(e.username=``,e.password=``,e.hash=``,t&&(e.pathname=``,e.search=``),e)}function fe(e){if(!(e instanceof URL))return!1;if(e.href===`about:blank`||e.href===`about:srcdoc`||e.protocol===`data:`||e.protocol===`file:`)return!0;return t(e.origin);function t(e){if(e==null||e===`null`)return!1;let t=new URL(e);return!!(t.protocol===`https:`||t.protocol===`wss:`||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(t.hostname)||t.hostname===`localhost`||t.hostname.includes(`localhost.`)||t.hostname.endsWith(`.localhost`))}}function pe(e,t){if(x===void 0)return!0;let n=he(t);if(n===`no metadata`||n.length===0)return!0;let r=_e(n,ge(n));for(let t of r){let n=t.algo,r=t.hash,i=x.createHash(n).update(e).digest(`base64`);if(i[i.length-1]===`=`&&(i=i[i.length-2]===`=`?i.slice(0,-2):i.slice(0,-1)),ve(i,r))return!0}return!1}let me=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function he(e){let t=[],n=!0;for(let r of e.split(` `)){n=!1;let e=me.exec(r);if(e===null||e.groups===void 0||e.groups.algo===void 0)continue;let i=e.groups.algo.toLowerCase();b.includes(i)&&t.push(e.groups)}return n===!0?`no metadata`:t}function ge(e){let t=e[0].algo;if(t[3]===`5`)return t;for(let n=1;n{e=n,t=r}),resolve:e,reject:t}}function Se(e){return e.controller.state===`aborted`}function Ce(e){return e.controller.state===`aborted`||e.controller.state===`terminated`}function we(e){return g[e.toLowerCase()]??e}function Te(e){let t=JSON.stringify(e);if(t===void 0)throw TypeError(`Value is not JSON serializable`);return _(typeof t==`string`),t}let Ee=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function De(e,t,n=0,r=1){class i{#e;#t;#n;constructor(e,t){this.#e=e,this.#t=t,this.#n=0}next(){if(typeof this!=`object`||this===null||!(#e in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let i=this.#n,a=this.#e[t];if(i>=a.length)return{value:void 0,done:!0};let{[n]:o,[r]:s}=a[i];this.#n=i+1;let c;switch(this.#t){case`key`:c=o;break;case`value`:c=s;break;case`key+value`:c=[o,s];break}return{value:c,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,Ee),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new i(e,t)}}function P(e,t,n,r=0,i=1){let a=De(e,n,r,i),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.brandCheck(this,t),a(this,`key`)}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.brandCheck(this,t),a(this,`value`)}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return y.brandCheck(this,t),a(this,`key+value`)}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(n,r=globalThis){if(y.brandCheck(this,t),y.argumentLengthCheck(arguments,1,`${e}.forEach`),typeof n!=`function`)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of a(this,`key+value`))n.call(r,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})}async function Oe(e,t,n){let r=t,i=n,a;try{a=e.stream.getReader()}catch(e){i(e);return}try{r(await Ne(a))}catch(e){i(e)}}function ke(e){return e instanceof ReadableStream||e[Symbol.toStringTag]===`ReadableStream`&&typeof e.tee==`function`}function Ae(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes(`Controller is already closed`)&&!e.message.includes(`ReadableStream is already closed`))throw e}}let je=/[^\x00-\xFF]/;function Me(e){return _(!je.test(e)),e}async function Ne(e){let t=[],n=0;for(;;){let{done:r,value:i}=await e.read();if(r)return Buffer.concat(t,n);if(!v(i))throw TypeError(`Received non-Uint8Array chunk`);t.push(i),n+=i.length}}function Pe(e){_(`protocol`in e);let t=e.protocol;return t===`about:`||t===`blob:`||t===`data:`}function Fe(e){return typeof e==`string`&&e[5]===`:`&&e[0]===`h`&&e[1]===`t`&&e[2]===`t`&&e[3]===`p`&&e[4]===`s`||e.protocol===`https:`}function Ie(e){_(`protocol`in e);let t=e.protocol;return t===`http:`||t===`https:`}function Le(e,t){let n=e;if(!n.startsWith(`bytes`))return`failure`;let r={position:5};if(t&&c(e=>e===` `||e===` `,n,r),n.charCodeAt(r.position)!==61)return`failure`;r.position++,t&&c(e=>e===` `||e===` `,n,r);let i=c(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},n,r),a=i.length?Number(i):null;if(t&&c(e=>e===` `||e===` `,n,r),n.charCodeAt(r.position)!==45)return`failure`;r.position++,t&&c(e=>e===` `||e===` `,n,r);let o=c(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},n,r),s=o.length?Number(o):null;return r.positions?`failure`:{rangeStartValue:a,rangeEndValue:s}}function Re(e,t,n){let r=`bytes `;return r+=Me(`${e}`),r+=`-`,r+=Me(`${t}`),r+=`/`,r+=Me(`${n}`),r}var ze=class extends n{#e;constructor(e){super(),this.#e=e}_transform(e,t,n){if(!this._inflateStream){if(e.length===0){n();return}this._inflateStream=(e[0]&15)==8?r.createInflate(this.#e):r.createInflateRaw(this.#e),this._inflateStream.on(`data`,this.push.bind(this)),this._inflateStream.on(`end`,()=>this.push(null)),this._inflateStream.on(`error`,e=>this.destroy(e))}this._inflateStream.write(e,t,n)}_final(e){this._inflateStream&&=(this._inflateStream.end(),null),e()}};function Be(e){return new ze(e)}function Ve(e){let t=null,n=null,r=null,i=Ue(`content-type`,e);if(i===null)return`failure`;for(let e of i){let i=d(e);i===`failure`||i.essence===`*/*`||(r=i,r.essence===n?!r.parameters.has(`charset`)&&t!==null&&r.parameters.set(`charset`,t):(t=null,r.parameters.has(`charset`)&&(t=r.parameters.get(`charset`)),n=r.essence))}return r??`failure`}function He(e){let t=e,n={position:0},r=[],i=``;for(;n.positione!==`"`&&e!==`,`,t,n),n.positione===9||e===32),r.push(i),i=``}return r}function Ue(e,t){let n=t.get(e,!0);return n===null?null:He(n)}let We=new TextDecoder;function Ge(e){return e.length===0?``:(e[0]===239&&e[1]===187&&e[2]===191&&(e=e.subarray(3)),We.decode(e))}var Ke=class{get baseUrl(){return s()}get origin(){return this.baseUrl?.origin}policyContainer=ce()};t.exports={isAborted:Se,isCancelled:Ce,isValidEncodedURL:w,createDeferredPromise:xe,ReadableStreamFrom:m,tryUpgradeRequestToAPotentiallyTrustworthyURL:ye,clampAndCoarsenConnectionTimingInfo:ae,coarsenedSharedCurrentTime:oe,determineRequestsReferrer:ue,makePolicyContainer:ce,clonePolicyContainer:le,appendFetchMetadata:ne,appendRequestOriginHeader:re,TAOCheck:te,corsCheck:N,crossOriginResourcePolicyCheck:ee,createOpaqueTimingInfo:se,setRequestReferrerPolicyOnRedirect:M,isValidHTTPToken:h,requestBadPort:D,requestCurrentURL:E,responseURL:S,responseLocationURL:C,isBlobLike:p,isURLPotentiallyTrustworthy:fe,isValidReasonPhrase:k,sameOrigin:be,normalizeMethod:we,serializeJavascriptValueToJSONString:Te,iteratorMixin:P,createIterator:De,isValidHeaderName:A,isValidHeaderValue:j,isErrorLike:O,fullyReadBody:Oe,bytesMatch:pe,isReadableStreamLike:ke,readableStreamClose:Ae,isomorphicEncode:Me,urlIsLocal:Pe,urlHasHttpsScheme:Fe,urlIsHttpHttpsScheme:Ie,readAllBytes:Ne,simpleRangeHeaderValue:Le,buildContentRange:Re,parseMetadata:he,createInflate:Be,extractMimeType:Ve,getDecodeSplit:Ue,utf8DecodeBytes:Ge,environmentSettingsObject:new class{settingsObject=new Ke}}})),dt=P(((e,t)=>{t.exports={kUrl:Symbol(`url`),kHeaders:Symbol(`headers`),kSignal:Symbol(`signal`),kState:Symbol(`state`),kDispatcher:Symbol(`dispatcher`)}})),ft=P(((e,t)=>{let{Blob:n,File:r}=F(`node:buffer`),{kState:i}=dt(),{webidl:a}=lt();var o=class e{constructor(e,t,n={}){let r=t,a=n.type,o=n.lastModified??Date.now();this[i]={blobLike:e,name:r,type:a,lastModified:o}}stream(...t){return a.brandCheck(this,e),this[i].blobLike.stream(...t)}arrayBuffer(...t){return a.brandCheck(this,e),this[i].blobLike.arrayBuffer(...t)}slice(...t){return a.brandCheck(this,e),this[i].blobLike.slice(...t)}text(...t){return a.brandCheck(this,e),this[i].blobLike.text(...t)}get size(){return a.brandCheck(this,e),this[i].blobLike.size}get type(){return a.brandCheck(this,e),this[i].blobLike.type}get name(){return a.brandCheck(this,e),this[i].name}get lastModified(){return a.brandCheck(this,e),this[i].lastModified}get[Symbol.toStringTag](){return`File`}};a.converters.Blob=a.interfaceConverter(n);function s(e){return e instanceof r||e&&(typeof e.stream==`function`||typeof e.arrayBuffer==`function`)&&e[Symbol.toStringTag]===`File`}t.exports={FileLike:o,isFileLike:s}})),pt=P(((e,t)=>{let{isBlobLike:n,iteratorMixin:r}=ut(),{kState:i}=dt(),{kEnumerableProperty:a}=I(),{FileLike:o,isFileLike:s}=ft(),{webidl:c}=lt(),{File:l}=F(`node:buffer`),u=F(`node:util`),d=globalThis.File??l;var f=class e{constructor(e){if(c.util.markAsUncloneable(this),e!==void 0)throw c.errors.conversionFailed({prefix:`FormData constructor`,argument:`Argument 1`,types:[`undefined`]});this[i]=[]}append(t,r,a=void 0){c.brandCheck(this,e);let o=`FormData.append`;if(c.argumentLengthCheck(arguments,2,o),arguments.length===3&&!n(r))throw TypeError(`Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'`);t=c.converters.USVString(t,o,`name`),r=n(r)?c.converters.Blob(r,o,`value`,{strict:!1}):c.converters.USVString(r,o,`value`),a=arguments.length===3?c.converters.USVString(a,o,`filename`):void 0;let s=p(t,r,a);this[i].push(s)}delete(t){c.brandCheck(this,e);let n=`FormData.delete`;c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`),this[i]=this[i].filter(e=>e.name!==t)}get(t){c.brandCheck(this,e);let n=`FormData.get`;c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`);let r=this[i].findIndex(e=>e.name===t);return r===-1?null:this[i][r].value}getAll(t){c.brandCheck(this,e);let n=`FormData.getAll`;return c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`),this[i].filter(e=>e.name===t).map(e=>e.value)}has(t){c.brandCheck(this,e);let n=`FormData.has`;return c.argumentLengthCheck(arguments,1,n),t=c.converters.USVString(t,n,`name`),this[i].findIndex(e=>e.name===t)!==-1}set(t,r,a=void 0){c.brandCheck(this,e);let o=`FormData.set`;if(c.argumentLengthCheck(arguments,2,o),arguments.length===3&&!n(r))throw TypeError(`Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'`);t=c.converters.USVString(t,o,`name`),r=n(r)?c.converters.Blob(r,o,`name`,{strict:!1}):c.converters.USVString(r,o,`name`),a=arguments.length===3?c.converters.USVString(a,o,`name`):void 0;let s=p(t,r,a),l=this[i].findIndex(e=>e.name===t);l===-1?this[i].push(s):this[i]=[...this[i].slice(0,l),s,...this[i].slice(l+1).filter(e=>e.name!==t)]}[u.inspect.custom](e,t){let n=this[i].reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let r=u.formatWithOptions(t,n);return`FormData ${r.slice(r.indexOf(`]`)+2)}`}};r(`FormData`,f,i,`name`,`value`),Object.defineProperties(f.prototype,{append:a,delete:a,get:a,getAll:a,has:a,set:a,[Symbol.toStringTag]:{value:`FormData`,configurable:!0}});function p(e,t,n){if(typeof t!=`string`&&(s(t)||(t=t instanceof Blob?new d([t],`blob`,{type:t.type}):new o(t,`blob`,{type:t.type})),n!==void 0)){let e={type:t.type,lastModified:t.lastModified};t=t instanceof l?new d([t],n,e):new o(t,n,e)}return{name:e,value:t}}t.exports={FormData:f,makeEntry:p}})),mt=P(((e,t)=>{let{isUSVString:n,bufferToLowerCasedHeaderName:r}=I(),{utf8DecodeBytes:i}=ut(),{HTTP_TOKEN_CODEPOINTS:a,isomorphicDecode:o}=ct(),{isFileLike:s}=ft(),{makeEntry:c}=pt(),l=F(`node:assert`),{File:u}=F(`node:buffer`),d=globalThis.File??u,f=Buffer.from(`form-data; name="`),p=Buffer.from(`; filename`),m=Buffer.from(`--`),h=Buffer.from(`--\r `);function g(e){for(let t=0;t70)return!1;for(let n=0;n=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||t===39||t===45||t===95))return!1}return!0}function v(e,t){l(t!==`failure`&&t.essence===`multipart/form-data`);let r=t.parameters.get(`boundary`);if(r===void 0)return`failure`;let a=Buffer.from(`--${r}`,`utf8`),o=[],u={position:0};for(;e[u.position]===13&&e[u.position+1]===10;)u.position+=2;let f=e.length;for(;e[f-1]===10&&e[f-2]===13;)f-=2;for(f!==e.length&&(e=e.subarray(0,f));;){if(e.subarray(u.position,u.position+a.length).equals(a))u.position+=a.length;else return`failure`;if(u.position===e.length-2&&C(e,m,u)||u.position===e.length-4&&C(e,h,u))return o;if(e[u.position]!==13||e[u.position+1]!==10)return`failure`;u.position+=2;let t=y(e,u);if(t===`failure`)return`failure`;let{name:r,filename:f,contentType:p,encoding:_}=t;u.position+=2;let v;{let t=e.indexOf(a.subarray(2),u.position);if(t===-1)return`failure`;v=e.subarray(u.position,t-4),u.position+=v.length,_===`base64`&&(v=Buffer.from(v.toString(),`base64`))}if(e[u.position]!==13||e[u.position+1]!==10)return`failure`;u.position+=2;let b;f===null?b=i(Buffer.from(v)):(p??=`text/plain`,g(p)||(p=``),b=new d([v],f,{type:p})),l(n(r)),l(typeof b==`string`&&n(b)||s(b)),o.push(c(r,b,f))}}function y(e,t){let n=null,i=null,s=null,c=null;for(;;){if(e[t.position]===13&&e[t.position+1]===10)return n===null?`failure`:{name:n,filename:i,contentType:s,encoding:c};let l=x(e=>e!==10&&e!==13&&e!==58,e,t);if(l=S(l,!0,!0,e=>e===9||e===32),!a.test(l.toString())||e[t.position]!==58)return`failure`;switch(t.position++,x(e=>e===32||e===9,e,t),r(l)){case`content-disposition`:if(n=i=null,!C(e,f,t)||(t.position+=17,n=b(e,t),n===null))return`failure`;if(C(e,p,t)){let n=t.position+p.length;if(e[n]===42&&(t.position+=1,n+=1),e[n]!==61||e[n+1]!==34||(t.position+=12,i=b(e,t),i===null))return`failure`}break;case`content-type`:{let n=x(e=>e!==10&&e!==13,e,t);n=S(n,!1,!0,e=>e===9||e===32),s=o(n);break}case`content-transfer-encoding`:{let n=x(e=>e!==10&&e!==13,e,t);n=S(n,!1,!0,e=>e===9||e===32),c=o(n);break}default:x(e=>e!==10&&e!==13,e,t)}if(e[t.position]!==13&&e[t.position+1]!==10)return`failure`;t.position+=2}}function b(e,t){l(e[t.position-1]===34);let n=x(e=>e!==10&&e!==13&&e!==34,e,t);return e[t.position]===34?(t.position++,n=new TextDecoder().decode(n).replace(/%0A/gi,` -`).replace(/%0D/gi,`\r`).replace(/%22/g,`"`),n):null}function x(e,t,n){let r=n.position;for(;r0&&r(e[a]);)a--;return i===0&&a===e.length-1?e:e.subarray(i,a+1)}function C(e,t,n){if(e.length{let n=L(),{ReadableStreamFrom:r,isBlobLike:i,isReadableStreamLike:a,readableStreamClose:o,createDeferredPromise:s,fullyReadBody:c,extractMimeType:l,utf8DecodeBytes:u}=ot(),{FormData:d}=lt(),{kState:f}=st(),{webidl:p}=at(),{Blob:m}=F(`node:buffer`),h=F(`node:assert`),{isErrored:g,isDisturbed:_}=F(`node:stream`),{isArrayBuffer:v}=F(`node:util/types`),{serializeAMimeType:y}=it(),{multipartFormDataParser:b}=ut(),x;try{let e=F(`node:crypto`);x=t=>e.randomInt(0,t)}catch{x=e=>Math.floor(Math.random(e))}let S=new TextEncoder;function C(){}let w=globalThis.FinalizationRegistry&&process.version.indexOf(`v18`)!==0,T;w&&(T=new FinalizationRegistry(e=>{let t=e.deref();t&&!t.locked&&!_(t)&&!g(t)&&t.cancel(`Response object has been garbage collected`).catch(C)}));function E(e,t=!1){let s=null;s=e instanceof ReadableStream?e:i(e)?e.stream():new ReadableStream({async pull(e){let t=typeof l==`string`?S.encode(l):l;t.byteLength&&e.enqueue(t),queueMicrotask(()=>o(e))},start(){},type:`bytes`}),h(a(s));let c=null,l=null,u=null,d=null;if(typeof e==`string`)l=e,d=`text/plain;charset=UTF-8`;else if(e instanceof URLSearchParams)l=e.toString(),d=`application/x-www-form-urlencoded;charset=UTF-8`;else if(v(e))l=new Uint8Array(e.slice());else if(ArrayBuffer.isView(e))l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength));else if(n.isFormDataLike(e)){let t=`----formdata-undici-0${`${x(1e11)}`.padStart(11,`0`)}`,n=`--${t}\r\nContent-Disposition: form-data`,r=e=>e.replace(/\n/g,`%0A`).replace(/\r/g,`%0D`).replace(/"/g,`%22`),i=e=>e.replace(/\r?\n|\r/g,`\r +`).replace(/%0D/gi,`\r`).replace(/%22/g,`"`),n):null}function x(e,t,n){let r=n.position;for(;r0&&r(e[a]);)a--;return i===0&&a===e.length-1?e:e.subarray(i,a+1)}function C(e,t,n){if(e.length{let n=I(),{ReadableStreamFrom:r,isBlobLike:i,isReadableStreamLike:a,readableStreamClose:o,createDeferredPromise:s,fullyReadBody:c,extractMimeType:l,utf8DecodeBytes:u}=ut(),{FormData:d}=pt(),{kState:f}=dt(),{webidl:p}=lt(),{Blob:m}=F(`node:buffer`),h=F(`node:assert`),{isErrored:g,isDisturbed:_}=F(`node:stream`),{isArrayBuffer:v}=F(`node:util/types`),{serializeAMimeType:y}=ct(),{multipartFormDataParser:b}=mt(),x;try{let e=F(`node:crypto`);x=t=>e.randomInt(0,t)}catch{x=e=>Math.floor(Math.random(e))}let S=new TextEncoder;function C(){}let w=globalThis.FinalizationRegistry&&process.version.indexOf(`v18`)!==0,T;w&&(T=new FinalizationRegistry(e=>{let t=e.deref();t&&!t.locked&&!_(t)&&!g(t)&&t.cancel(`Response object has been garbage collected`).catch(C)}));function E(e,t=!1){let s=null;s=e instanceof ReadableStream?e:i(e)?e.stream():new ReadableStream({async pull(e){let t=typeof l==`string`?S.encode(l):l;t.byteLength&&e.enqueue(t),queueMicrotask(()=>o(e))},start(){},type:`bytes`}),h(a(s));let c=null,l=null,u=null,d=null;if(typeof e==`string`)l=e,d=`text/plain;charset=UTF-8`;else if(e instanceof URLSearchParams)l=e.toString(),d=`application/x-www-form-urlencoded;charset=UTF-8`;else if(v(e))l=new Uint8Array(e.slice());else if(ArrayBuffer.isView(e))l=new Uint8Array(e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength));else if(n.isFormDataLike(e)){let t=`----formdata-undici-0${`${x(1e11)}`.padStart(11,`0`)}`,n=`--${t}\r\nContent-Disposition: form-data`,r=e=>e.replace(/\n/g,`%0A`).replace(/\r/g,`%0D`).replace(/"/g,`%22`),i=e=>e.replace(/\r?\n|\r/g,`\r `),a=[],o=new Uint8Array([13,10]);u=0;let s=!1;for(let[t,c]of e)if(typeof c==`string`){let e=S.encode(n+`; name="${r(i(t))}"\r\n\r\n${i(c)}\r\n`);a.push(e),u+=e.byteLength}else{let e=S.encode(`${n}; name="${r(i(t))}"`+(c.name?`; filename="${r(c.name)}"`:``)+`\r -Content-Type: ${c.type||`application/octet-stream`}\r\n\r\n`);a.push(e,c,o),typeof c.size==`number`?u+=e.byteLength+c.size+o.byteLength:s=!0}let f=S.encode(`--${t}--\r\n`);a.push(f),u+=f.byteLength,s&&(u=null),l=e,c=async function*(){for(let e of a)e.stream?yield*e.stream():yield e},d=`multipart/form-data; boundary=${t}`}else if(i(e))l=e,u=e.size,e.type&&(d=e.type);else if(typeof e[Symbol.asyncIterator]==`function`){if(t)throw TypeError(`keepalive`);if(n.isDisturbed(e)||e.locked)throw TypeError(`Response body object should not be disturbed or locked`);s=e instanceof ReadableStream?e:r(e)}if((typeof l==`string`||n.isBuffer(l))&&(u=Buffer.byteLength(l)),c!=null){let t;s=new ReadableStream({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){let{value:n,done:r}=await t.next();if(r)queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});else if(!g(s)){let t=new Uint8Array(n);t.byteLength&&e.enqueue(t)}return e.desiredSize>0},async cancel(e){await t.return()},type:`bytes`})}return[{stream:s,source:l,length:u},d]}function D(e,t=!1){return e instanceof ReadableStream&&(h(!n.isDisturbed(e),`The body has already been consumed.`),h(!e.locked,`The stream is locked.`)),E(e,t)}function O(e,t){let[n,r]=t.stream.tee();return t.stream=n,{stream:r,length:t.length,source:t.source}}function k(e){if(e.aborted)throw new DOMException(`The operation was aborted.`,`AbortError`)}function A(e){return{blob(){return M(this,e=>{let t=te(this);return t===null?t=``:t&&=y(t),new m([e],{type:t})},e)},arrayBuffer(){return M(this,e=>new Uint8Array(e).buffer,e)},text(){return M(this,u,e)},json(){return M(this,N,e)},formData(){return M(this,e=>{let t=te(this);if(t!==null)switch(t.essence){case`multipart/form-data`:{let n=b(e,t);if(n===`failure`)throw TypeError(`Failed to parse body as FormData.`);let r=new d;return r[f]=n,r}case`application/x-www-form-urlencoded`:{let t=new URLSearchParams(e.toString()),n=new d;for(let[e,r]of t)n.append(e,r);return n}}throw TypeError(`Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".`)},e)},bytes(){return M(this,e=>new Uint8Array(e),e)}}}function j(e){Object.assign(e.prototype,A(e))}async function M(e,t,n){if(p.brandCheck(e,n),ee(e))throw TypeError(`Body is unusable: Body has already been read`);k(e[f]);let r=s(),i=e=>r.reject(e),a=e=>{try{r.resolve(t(e))}catch(e){i(e)}};return e[f].body==null?(a(Buffer.allocUnsafe(0)),r.promise):(await c(e[f].body,a,i),r.promise)}function ee(e){let t=e[f].body;return t!=null&&(t.stream.locked||n.isDisturbed(t.stream))}function N(e){return JSON.parse(u(e))}function te(e){let t=e[f].headersList,n=l(t);return n===`failure`?null:n}t.exports={extractBody:E,safelyExtractBody:D,cloneBody:O,mixinBody:j,streamRegistry:T,hasFinalizationRegistry:w,bodyUnusable:ee}})),ft=P(((e,t)=>{let n=F(`node:assert`),r=L(),{channels:i}=Ke(),a=Xe(),{RequestContentLengthMismatchError:o,ResponseContentLengthMismatchError:s,RequestAbortedError:c,HeadersTimeoutError:l,HeadersOverflowError:u,SocketError:d,InformationalError:f,BodyTimeoutError:p,HTTPParserError:m,ResponseExceededMaxSizeError:h}=I(),{kUrl:g,kReset:_,kClient:v,kParser:y,kBlocking:b,kRunning:x,kPending:S,kSize:C,kWriting:w,kQueue:T,kNoRef:E,kKeepAliveDefaultTimeout:D,kHostHeader:O,kPendingIdx:k,kRunningIdx:A,kError:j,kPipelining:M,kSocket:ee,kKeepAliveTimeoutValue:N,kMaxHeadersSize:te,kKeepAliveMaxTimeout:ne,kKeepAliveTimeoutThreshold:re,kHeadersTimeout:ie,kBodyTimeout:ae,kStrictContentLength:oe,kMaxRequests:se,kCounter:ce,kMaxResponseSize:le,kOnError:ue,kResume:de,kHTTPContext:fe}=Ue(),pe=$e(),me=Buffer.alloc(0),he=Buffer[Symbol.species],ge=r.addListener,_e=r.removeAllListeners,ve;async function ye(){let e=process.env.JEST_WORKER_ID?et():void 0,t;try{t=await WebAssembly.compile(tt())}catch{t=await WebAssembly.compile(e||et())}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,n)=>0,wasm_on_status:(e,t,r)=>{n(Se.ptr===e);let i=t-P+Ce.byteOffset;return Se.onStatus(new he(Ce.buffer,i,r))||0},wasm_on_message_begin:e=>(n(Se.ptr===e),Se.onMessageBegin()||0),wasm_on_header_field:(e,t,r)=>{n(Se.ptr===e);let i=t-P+Ce.byteOffset;return Se.onHeaderField(new he(Ce.buffer,i,r))||0},wasm_on_header_value:(e,t,r)=>{n(Se.ptr===e);let i=t-P+Ce.byteOffset;return Se.onHeaderValue(new he(Ce.buffer,i,r))||0},wasm_on_headers_complete:(e,t,r,i)=>(n(Se.ptr===e),Se.onHeadersComplete(t,!!r,!!i)||0),wasm_on_body:(e,t,r)=>{n(Se.ptr===e);let i=t-P+Ce.byteOffset;return Se.onBody(new he(Ce.buffer,i,r))||0},wasm_on_message_complete:e=>(n(Se.ptr===e),Se.onMessageComplete()||0)}})}let be=null,xe=ye();xe.catch();let Se=null,Ce=null,we=0,P=null;var Te=class{constructor(e,t,{exports:r}){n(Number.isFinite(e[te])&&e[te]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(pe.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText=``,this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[te],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive=``,this.contentLength=``,this.connection=``,this.maxResponseSize=e[le]}setTimeout(e,t){e!==this.timeoutValue||t&1^this.timeoutType&1?(this.timeout&&=(a.clearTimeout(this.timeout),null),e&&(t&1?this.timeout=a.setFastTimeout(Ee,e,new WeakRef(this)):(this.timeout=setTimeout(Ee,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){this.socket.destroyed||!this.paused||(n(this.ptr!=null),n(Se==null),this.llhttp.llhttp_resume(this.ptr),n(this.timeoutType===5),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||me),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){n(this.ptr!=null),n(Se==null),n(!this.paused);let{socket:t,llhttp:i}=this;e.length>we&&(P&&i.free(P),we=Math.ceil(e.length/4096)*4096,P=i.malloc(we)),new Uint8Array(i.memory.buffer,P,we).set(e);try{let n;try{Ce=e,Se=this,n=i.llhttp_execute(this.ptr,P,e.length)}catch(e){throw e}finally{Se=null,Ce=null}let r=i.llhttp_get_error_pos(this.ptr)-P;if(n===pe.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(r));else if(n===pe.ERROR.PAUSED)this.paused=!0,t.unshift(e.slice(r));else if(n!==pe.ERROR.OK){let t=i.llhttp_get_error_reason(this.ptr),a=``;if(t){let e=new Uint8Array(i.memory.buffer,t).indexOf(0);a=`Response does not match the HTTP/1.1 protocol (`+Buffer.from(i.memory.buffer,t,e).toString()+`)`}throw new m(a,pe.ERROR[n],e.slice(r))}}catch(e){r.destroy(t,e)}}destroy(){n(this.ptr!=null),n(Se==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return-1;let n=t[T][t[A]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let t=this.headers.length;t&1?this.headers[t-1]=Buffer.concat([this.headers[t-1],e]):this.headers.push(e),this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;(t&1)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let n=this.headers[t-2];if(n.length===10){let t=r.bufferToLowerCasedHeaderName(n);t===`keep-alive`?this.keepAlive+=e.toString():t===`connection`&&(this.connection+=e.toString())}else n.length===14&&r.bufferToLowerCasedHeaderName(n)===`content-length`&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&r.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:i,socket:a,headers:o,statusCode:s}=this;n(t),n(i[ee]===a),n(!a.destroyed),n(!this.paused),n((o.length&1)==0);let c=i[T][i[A]];n(c),n(c.upgrade||c.method===`CONNECT`),this.statusCode=null,this.statusText=``,this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,a.unshift(e),a[y].destroy(),a[y]=null,a[v]=null,a[j]=null,_e(a),i[ee]=null,i[fe]=null,i[T][i[A]++]=null,i.emit(`disconnect`,i[g],[i],new f(`upgrade`));try{c.onUpgrade(s,o,a)}catch(e){r.destroy(a,e)}i[de]()}onHeadersComplete(e,t,i){let{client:a,socket:o,headers:s,statusText:c}=this;if(o.destroyed)return-1;let l=a[T][a[A]];if(!l)return-1;if(n(!this.upgrade),n(this.statusCode<200),e===100)return r.destroy(o,new d(`bad response`,r.getSocketInfo(o))),-1;if(t&&!l.upgrade)return r.destroy(o,new d(`bad upgrade`,r.getSocketInfo(o))),-1;if(n(this.timeoutType===3),this.statusCode=e,this.shouldKeepAlive=i||l.method===`HEAD`&&!o[_]&&this.connection.toLowerCase()===`keep-alive`,this.statusCode>=200){let e=l.bodyTimeout==null?a[ae]:l.bodyTimeout;this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method===`CONNECT`||t)return n(a[x]===1),this.upgrade=!0,2;if(n((this.headers.length&1)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&a[M]){let e=this.keepAlive?r.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){let t=Math.min(e-a[re],a[ne]);t<=0?o[_]=!0:a[N]=t}else a[N]=a[D]}else o[_]=!0;let u=l.onHeaders(e,s,this.resume,c)===!1;return l.aborted?-1:l.method===`HEAD`||e<200?1:(o[b]&&(o[b]=!1,a[de]()),u?pe.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:i,statusCode:a,maxResponseSize:o}=this;if(i.destroyed)return-1;let s=t[T][t[A]];if(n(s),n(this.timeoutType===5),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),n(a>=200),o>-1&&this.bytesRead+e.length>o)return r.destroy(i,new h),-1;if(this.bytesRead+=e.length,s.onData(e)===!1)return pe.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:t,statusCode:i,upgrade:a,headers:o,contentLength:c,bytesRead:l,shouldKeepAlive:u}=this;if(t.destroyed&&(!i||u))return-1;if(a)return;n(i>=100),n((this.headers.length&1)==0);let d=e[T][e[A]];if(n(d),this.statusCode=null,this.statusText=``,this.bytesRead=0,this.contentLength=``,this.keepAlive=``,this.connection=``,this.headers=[],this.headersSize=0,!(i<200)){if(d.method!==`HEAD`&&c&&l!==parseInt(c,10))return r.destroy(t,new s),-1;if(d.onComplete(o),e[T][e[A]++]=null,t[w])return n(e[x]===0),r.destroy(t,new f(`reset`)),pe.ERROR.PAUSED;if(!u||t[_]&&e[x]===0)return r.destroy(t,new f(`reset`)),pe.ERROR.PAUSED;e[M]==null||e[M]===1?setImmediate(()=>e[de]()):e[de]()}}};function Ee(e){let{socket:t,timeoutType:i,client:a,paused:o}=e.deref();i===3?(!t[w]||t.writableNeedDrain||a[x]>1)&&(n(!o,`cannot be paused while waiting for headers`),r.destroy(t,new l)):i===5?o||r.destroy(t,new p):i===8&&(n(a[x]===0&&a[N]),r.destroy(t,new f(`socket idle timeout`)))}async function De(e,t){e[ee]=t,be||(be=await xe,xe=null),t[E]=!1,t[w]=!1,t[_]=!1,t[b]=!1,t[y]=new Te(e,t,be),ge(t,`error`,function(e){n(e.code!==`ERR_TLS_CERT_ALTNAME_INVALID`);let t=this[y];if(e.code===`ECONNRESET`&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}this[j]=e,this[v][ue](e)}),ge(t,`readable`,function(){let e=this[y];e&&e.readMore()}),ge(t,`end`,function(){let e=this[y];if(e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete();return}r.destroy(this,new d(`other side closed`,r.getSocketInfo(this)))}),ge(t,`close`,function(){let e=this[v],t=this[y];t&&(!this[j]&&t.statusCode&&!t.shouldKeepAlive&&t.onMessageComplete(),this[y].destroy(),this[y]=null);let i=this[j]||new d(`closed`,r.getSocketInfo(this));if(e[ee]=null,e[fe]=null,e.destroyed){n(e[S]===0);let t=e[T].splice(e[A]);for(let n=0;n0&&i.code!==`UND_ERR_INFO`){let t=e[T][e[A]];e[T][e[A]++]=null,r.errorRequest(e,t,i)}e[k]=e[A],n(e[x]===0),e.emit(`disconnect`,e[g],[e],i),e[de]()});let i=!1;return t.on(`close`,()=>{i=!0}),{version:`h1`,defaultPipelining:1,write(...t){return Ae(e,...t)},resume(){Oe(e)},destroy(e,n){i?queueMicrotask(n):t.destroy(e).on(`close`,n)},get destroyed(){return t.destroyed},busy(n){return!!(t[w]||t[_]||t[b]||n&&(e[x]>0&&!n.idempotent||e[x]>0&&(n.upgrade||n.method===`CONNECT`)||e[x]>0&&r.bodyLength(n.body)!==0&&(r.isStream(n.body)||r.isAsyncIterable(n.body)||r.isFormDataLike(n.body))))}}}function Oe(e){let t=e[ee];if(t&&!t.destroyed){if(e[C]===0?!t[E]&&t.unref&&(t.unref(),t[E]=!0):t[E]&&t.ref&&(t.ref(),t[E]=!1),e[C]===0)t[y].timeoutType!==8&&t[y].setTimeout(e[N],8);else if(e[x]>0&&t[y].statusCode<200&&t[y].timeoutType!==3){let n=e[T][e[A]],r=n.headersTimeout==null?e[ie]:n.headersTimeout;t[y].setTimeout(r,3)}}}function ke(e){return e!==`GET`&&e!==`HEAD`&&e!==`OPTIONS`&&e!==`TRACE`&&e!==`CONNECT`}function Ae(e,t){let{method:a,path:s,host:l,upgrade:u,blocking:d,reset:p}=t,{body:m,headers:h,contentLength:g}=t,v=a===`PUT`||a===`POST`||a===`PATCH`||a===`QUERY`||a===`PROPFIND`||a===`PROPPATCH`;if(r.isFormDataLike(m)){ve||=dt().extractBody;let[e,n]=ve(m);t.contentType??h.push(`content-type`,n),m=e.stream,g=e.length}else r.isBlobLike(m)&&t.contentType==null&&m.type&&h.push(`content-type`,m.type);m&&typeof m.read==`function`&&m.read(0);let y=r.bodyLength(m);if(g=y??g,g===null&&(g=t.contentLength),g===0&&!v&&(g=null),ke(a)&&g>0&&t.contentLength!==null&&t.contentLength!==g){if(e[oe])return r.errorRequest(e,t,new o),!1;process.emitWarning(new o)}let x=e[ee],S=n=>{t.aborted||t.completed||(r.errorRequest(e,t,n||new c),r.destroy(m),r.destroy(x,new f(`aborted`)))};try{t.onConnect(S)}catch(n){r.errorRequest(e,t,n)}if(t.aborted)return!1;a===`HEAD`&&(x[_]=!0),(u||a===`CONNECT`)&&(x[_]=!0),p!=null&&(x[_]=p),e[se]&&x[ce]++>=e[se]&&(x[_]=!0),d&&(x[b]=!0);let C=`${a} ${s} HTTP/1.1\r\n`;if(typeof l==`string`?C+=`host: ${l}\r\n`:C+=e[O],u?C+=`connection: upgrade\r\nupgrade: ${u}\r\n`:e[M]&&!x[_]?C+=`connection: keep-alive\r +Content-Type: ${c.type||`application/octet-stream`}\r\n\r\n`);a.push(e,c,o),typeof c.size==`number`?u+=e.byteLength+c.size+o.byteLength:s=!0}let f=S.encode(`--${t}--\r\n`);a.push(f),u+=f.byteLength,s&&(u=null),l=e,c=async function*(){for(let e of a)e.stream?yield*e.stream():yield e},d=`multipart/form-data; boundary=${t}`}else if(i(e))l=e,u=e.size,e.type&&(d=e.type);else if(typeof e[Symbol.asyncIterator]==`function`){if(t)throw TypeError(`keepalive`);if(n.isDisturbed(e)||e.locked)throw TypeError(`Response body object should not be disturbed or locked`);s=e instanceof ReadableStream?e:r(e)}if((typeof l==`string`||n.isBuffer(l))&&(u=Buffer.byteLength(l)),c!=null){let t;s=new ReadableStream({async start(){t=c(e)[Symbol.asyncIterator]()},async pull(e){let{value:n,done:r}=await t.next();if(r)queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});else if(!g(s)){let t=new Uint8Array(n);t.byteLength&&e.enqueue(t)}return e.desiredSize>0},async cancel(e){await t.return()},type:`bytes`})}return[{stream:s,source:l,length:u},d]}function D(e,t=!1){return e instanceof ReadableStream&&(h(!n.isDisturbed(e),`The body has already been consumed.`),h(!e.locked,`The stream is locked.`)),E(e,t)}function O(e,t){let[n,r]=t.stream.tee();return t.stream=n,{stream:r,length:t.length,source:t.source}}function k(e){if(e.aborted)throw new DOMException(`The operation was aborted.`,`AbortError`)}function A(e){return{blob(){return M(this,e=>{let t=te(this);return t===null?t=``:t&&=y(t),new m([e],{type:t})},e)},arrayBuffer(){return M(this,e=>new Uint8Array(e).buffer,e)},text(){return M(this,u,e)},json(){return M(this,N,e)},formData(){return M(this,e=>{let t=te(this);if(t!==null)switch(t.essence){case`multipart/form-data`:{let n=b(e,t);if(n===`failure`)throw TypeError(`Failed to parse body as FormData.`);let r=new d;return r[f]=n,r}case`application/x-www-form-urlencoded`:{let t=new URLSearchParams(e.toString()),n=new d;for(let[e,r]of t)n.append(e,r);return n}}throw TypeError(`Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".`)},e)},bytes(){return M(this,e=>new Uint8Array(e),e)}}}function j(e){Object.assign(e.prototype,A(e))}async function M(e,t,n){if(p.brandCheck(e,n),ee(e))throw TypeError(`Body is unusable: Body has already been read`);k(e[f]);let r=s(),i=e=>r.reject(e),a=e=>{try{r.resolve(t(e))}catch(e){i(e)}};return e[f].body==null?(a(Buffer.allocUnsafe(0)),r.promise):(await c(e[f].body,a,i),r.promise)}function ee(e){let t=e[f].body;return t!=null&&(t.stream.locked||n.isDisturbed(t.stream))}function N(e){return JSON.parse(u(e))}function te(e){let t=e[f].headersList,n=l(t);return n===`failure`?null:n}t.exports={extractBody:E,safelyExtractBody:D,cloneBody:O,mixinBody:j,streamRegistry:T,hasFinalizationRegistry:w,bodyUnusable:ee}})),gt=P(((e,t)=>{let n=F(`node:assert`),r=I(),{channels:i}=Xe(),a=et(),{RequestContentLengthMismatchError:o,ResponseContentLengthMismatchError:s,RequestAbortedError:c,HeadersTimeoutError:l,HeadersOverflowError:u,SocketError:d,InformationalError:f,BodyTimeoutError:p,HTTPParserError:m,ResponseExceededMaxSizeError:h}=qe(),{kUrl:g,kReset:_,kClient:v,kParser:y,kBlocking:b,kRunning:x,kPending:S,kSize:C,kWriting:w,kQueue:T,kNoRef:E,kKeepAliveDefaultTimeout:D,kHostHeader:O,kPendingIdx:k,kRunningIdx:A,kError:j,kPipelining:M,kSocket:ee,kKeepAliveTimeoutValue:N,kMaxHeadersSize:te,kKeepAliveMaxTimeout:ne,kKeepAliveTimeoutThreshold:re,kHeadersTimeout:ie,kBodyTimeout:ae,kStrictContentLength:oe,kMaxRequests:se,kCounter:ce,kMaxResponseSize:le,kOnError:ue,kResume:de,kHTTPContext:fe}=Ke(),pe=rt(),me=Buffer.alloc(0),he=Buffer[Symbol.species],ge=r.addListener,_e=r.removeAllListeners,ve;async function ye(){let e=process.env.JEST_WORKER_ID?it():void 0,t;try{t=await WebAssembly.compile(at())}catch{t=await WebAssembly.compile(e||it())}return await WebAssembly.instantiate(t,{env:{wasm_on_url:(e,t,n)=>0,wasm_on_status:(e,t,r)=>{n(Se.ptr===e);let i=t-Te+Ce.byteOffset;return Se.onStatus(new he(Ce.buffer,i,r))||0},wasm_on_message_begin:e=>(n(Se.ptr===e),Se.onMessageBegin()||0),wasm_on_header_field:(e,t,r)=>{n(Se.ptr===e);let i=t-Te+Ce.byteOffset;return Se.onHeaderField(new he(Ce.buffer,i,r))||0},wasm_on_header_value:(e,t,r)=>{n(Se.ptr===e);let i=t-Te+Ce.byteOffset;return Se.onHeaderValue(new he(Ce.buffer,i,r))||0},wasm_on_headers_complete:(e,t,r,i)=>(n(Se.ptr===e),Se.onHeadersComplete(t,!!r,!!i)||0),wasm_on_body:(e,t,r)=>{n(Se.ptr===e);let i=t-Te+Ce.byteOffset;return Se.onBody(new he(Ce.buffer,i,r))||0},wasm_on_message_complete:e=>(n(Se.ptr===e),Se.onMessageComplete()||0)}})}let be=null,xe=ye();xe.catch();let Se=null,Ce=null,we=0,Te=null;var Ee=class{constructor(e,t,{exports:r}){n(Number.isFinite(e[te])&&e[te]>0),this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(pe.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.statusCode=null,this.statusText=``,this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[te],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive=``,this.contentLength=``,this.connection=``,this.maxResponseSize=e[le]}setTimeout(e,t){e!==this.timeoutValue||t&1^this.timeoutType&1?(this.timeout&&=(a.clearTimeout(this.timeout),null),e&&(t&1?this.timeout=a.setFastTimeout(De,e,new WeakRef(this)):(this.timeout=setTimeout(De,e,new WeakRef(this)),this.timeout.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){this.socket.destroyed||!this.paused||(n(this.ptr!=null),n(Se==null),this.llhttp.llhttp_resume(this.ptr),n(this.timeoutType===5),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||me),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(e===null)break;this.execute(e)}}execute(e){n(this.ptr!=null),n(Se==null),n(!this.paused);let{socket:t,llhttp:i}=this;e.length>we&&(Te&&i.free(Te),we=Math.ceil(e.length/4096)*4096,Te=i.malloc(we)),new Uint8Array(i.memory.buffer,Te,we).set(e);try{let n;try{Ce=e,Se=this,n=i.llhttp_execute(this.ptr,Te,e.length)}catch(e){throw e}finally{Se=null,Ce=null}let r=i.llhttp_get_error_pos(this.ptr)-Te;if(n===pe.ERROR.PAUSED_UPGRADE)this.onUpgrade(e.slice(r));else if(n===pe.ERROR.PAUSED)this.paused=!0,t.unshift(e.slice(r));else if(n!==pe.ERROR.OK){let t=i.llhttp_get_error_reason(this.ptr),a=``;if(t){let e=new Uint8Array(i.memory.buffer,t).indexOf(0);a=`Response does not match the HTTP/1.1 protocol (`+Buffer.from(i.memory.buffer,t,e).toString()+`)`}throw new m(a,pe.ERROR[n],e.slice(r))}}catch(e){r.destroy(t,e)}}destroy(){n(this.ptr!=null),n(Se==null),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){this.statusText=e.toString()}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return-1;let n=t[T][t[A]];if(!n)return-1;n.onResponseStarted()}onHeaderField(e){let t=this.headers.length;t&1?this.headers[t-1]=Buffer.concat([this.headers[t-1],e]):this.headers.push(e),this.trackHeader(e.length)}onHeaderValue(e){let t=this.headers.length;(t&1)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let n=this.headers[t-2];if(n.length===10){let t=r.bufferToLowerCasedHeaderName(n);t===`keep-alive`?this.keepAlive+=e.toString():t===`connection`&&(this.connection+=e.toString())}else n.length===14&&r.bufferToLowerCasedHeaderName(n)===`content-length`&&(this.contentLength+=e.toString());this.trackHeader(e.length)}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&r.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:i,socket:a,headers:o,statusCode:s}=this;n(t),n(i[ee]===a),n(!a.destroyed),n(!this.paused),n((o.length&1)==0);let c=i[T][i[A]];n(c),n(c.upgrade||c.method===`CONNECT`),this.statusCode=null,this.statusText=``,this.shouldKeepAlive=null,this.headers=[],this.headersSize=0,a.unshift(e),a[y].destroy(),a[y]=null,a[v]=null,a[j]=null,_e(a),i[ee]=null,i[fe]=null,i[T][i[A]++]=null,i.emit(`disconnect`,i[g],[i],new f(`upgrade`));try{c.onUpgrade(s,o,a)}catch(e){r.destroy(a,e)}i[de]()}onHeadersComplete(e,t,i){let{client:a,socket:o,headers:s,statusText:c}=this;if(o.destroyed)return-1;let l=a[T][a[A]];if(!l)return-1;if(n(!this.upgrade),n(this.statusCode<200),e===100)return r.destroy(o,new d(`bad response`,r.getSocketInfo(o))),-1;if(t&&!l.upgrade)return r.destroy(o,new d(`bad upgrade`,r.getSocketInfo(o))),-1;if(n(this.timeoutType===3),this.statusCode=e,this.shouldKeepAlive=i||l.method===`HEAD`&&!o[_]&&this.connection.toLowerCase()===`keep-alive`,this.statusCode>=200){let e=l.bodyTimeout==null?a[ae]:l.bodyTimeout;this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if(l.method===`CONNECT`||t)return n(a[x]===1),this.upgrade=!0,2;if(n((this.headers.length&1)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&a[M]){let e=this.keepAlive?r.parseKeepAliveTimeout(this.keepAlive):null;if(e!=null){let t=Math.min(e-a[re],a[ne]);t<=0?o[_]=!0:a[N]=t}else a[N]=a[D]}else o[_]=!0;let u=l.onHeaders(e,s,this.resume,c)===!1;return l.aborted?-1:l.method===`HEAD`||e<200?1:(o[b]&&(o[b]=!1,a[de]()),u?pe.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:i,statusCode:a,maxResponseSize:o}=this;if(i.destroyed)return-1;let s=t[T][t[A]];if(n(s),n(this.timeoutType===5),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),n(a>=200),o>-1&&this.bytesRead+e.length>o)return r.destroy(i,new h),-1;if(this.bytesRead+=e.length,s.onData(e)===!1)return pe.ERROR.PAUSED}onMessageComplete(){let{client:e,socket:t,statusCode:i,upgrade:a,headers:o,contentLength:c,bytesRead:l,shouldKeepAlive:u}=this;if(t.destroyed&&(!i||u))return-1;if(a)return;n(i>=100),n((this.headers.length&1)==0);let d=e[T][e[A]];if(n(d),this.statusCode=null,this.statusText=``,this.bytesRead=0,this.contentLength=``,this.keepAlive=``,this.connection=``,this.headers=[],this.headersSize=0,!(i<200)){if(d.method!==`HEAD`&&c&&l!==parseInt(c,10))return r.destroy(t,new s),-1;if(d.onComplete(o),e[T][e[A]++]=null,t[w])return n(e[x]===0),r.destroy(t,new f(`reset`)),pe.ERROR.PAUSED;if(!u||t[_]&&e[x]===0)return r.destroy(t,new f(`reset`)),pe.ERROR.PAUSED;e[M]==null||e[M]===1?setImmediate(()=>e[de]()):e[de]()}}};function De(e){let{socket:t,timeoutType:i,client:a,paused:o}=e.deref();i===3?(!t[w]||t.writableNeedDrain||a[x]>1)&&(n(!o,`cannot be paused while waiting for headers`),r.destroy(t,new l)):i===5?o||r.destroy(t,new p):i===8&&(n(a[x]===0&&a[N]),r.destroy(t,new f(`socket idle timeout`)))}async function P(e,t){e[ee]=t,be||(be=await xe,xe=null),t[E]=!1,t[w]=!1,t[_]=!1,t[b]=!1,t[y]=new Ee(e,t,be),ge(t,`error`,function(e){n(e.code!==`ERR_TLS_CERT_ALTNAME_INVALID`);let t=this[y];if(e.code===`ECONNRESET`&&t.statusCode&&!t.shouldKeepAlive){t.onMessageComplete();return}this[j]=e,this[v][ue](e)}),ge(t,`readable`,function(){let e=this[y];e&&e.readMore()}),ge(t,`end`,function(){let e=this[y];if(e.statusCode&&!e.shouldKeepAlive){e.onMessageComplete();return}r.destroy(this,new d(`other side closed`,r.getSocketInfo(this)))}),ge(t,`close`,function(){let e=this[v],t=this[y];t&&(!this[j]&&t.statusCode&&!t.shouldKeepAlive&&t.onMessageComplete(),this[y].destroy(),this[y]=null);let i=this[j]||new d(`closed`,r.getSocketInfo(this));if(e[ee]=null,e[fe]=null,e.destroyed){n(e[S]===0);let t=e[T].splice(e[A]);for(let n=0;n0&&i.code!==`UND_ERR_INFO`){let t=e[T][e[A]];e[T][e[A]++]=null,r.errorRequest(e,t,i)}e[k]=e[A],n(e[x]===0),e.emit(`disconnect`,e[g],[e],i),e[de]()});let i=!1;return t.on(`close`,()=>{i=!0}),{version:`h1`,defaultPipelining:1,write(...t){return Ae(e,...t)},resume(){Oe(e)},destroy(e,n){i?queueMicrotask(n):t.destroy(e).on(`close`,n)},get destroyed(){return t.destroyed},busy(n){return!!(t[w]||t[_]||t[b]||n&&(e[x]>0&&!n.idempotent||e[x]>0&&(n.upgrade||n.method===`CONNECT`)||e[x]>0&&r.bodyLength(n.body)!==0&&(r.isStream(n.body)||r.isAsyncIterable(n.body)||r.isFormDataLike(n.body))))}}}function Oe(e){let t=e[ee];if(t&&!t.destroyed){if(e[C]===0?!t[E]&&t.unref&&(t.unref(),t[E]=!0):t[E]&&t.ref&&(t.ref(),t[E]=!1),e[C]===0)t[y].timeoutType!==8&&t[y].setTimeout(e[N],8);else if(e[x]>0&&t[y].statusCode<200&&t[y].timeoutType!==3){let n=e[T][e[A]],r=n.headersTimeout==null?e[ie]:n.headersTimeout;t[y].setTimeout(r,3)}}}function ke(e){return e!==`GET`&&e!==`HEAD`&&e!==`OPTIONS`&&e!==`TRACE`&&e!==`CONNECT`}function Ae(e,t){let{method:a,path:s,host:l,upgrade:u,blocking:d,reset:p}=t,{body:m,headers:h,contentLength:g}=t,v=a===`PUT`||a===`POST`||a===`PATCH`||a===`QUERY`||a===`PROPFIND`||a===`PROPPATCH`;if(r.isFormDataLike(m)){ve||=ht().extractBody;let[e,n]=ve(m);t.contentType??h.push(`content-type`,n),m=e.stream,g=e.length}else r.isBlobLike(m)&&t.contentType==null&&m.type&&h.push(`content-type`,m.type);m&&typeof m.read==`function`&&m.read(0);let y=r.bodyLength(m);if(g=y??g,g===null&&(g=t.contentLength),g===0&&!v&&(g=null),ke(a)&&g>0&&t.contentLength!==null&&t.contentLength!==g){if(e[oe])return r.errorRequest(e,t,new o),!1;process.emitWarning(new o)}let x=e[ee],S=n=>{t.aborted||t.completed||(r.errorRequest(e,t,n||new c),r.destroy(m),r.destroy(x,new f(`aborted`)))};try{t.onConnect(S)}catch(n){r.errorRequest(e,t,n)}if(t.aborted)return!1;a===`HEAD`&&(x[_]=!0),(u||a===`CONNECT`)&&(x[_]=!0),p!=null&&(x[_]=p),e[se]&&x[ce]++>=e[se]&&(x[_]=!0),d&&(x[b]=!0);let C=`${a} ${s} HTTP/1.1\r\n`;if(typeof l==`string`?C+=`host: ${l}\r\n`:C+=e[O],u?C+=`connection: upgrade\r\nupgrade: ${u}\r\n`:e[M]&&!x[_]?C+=`connection: keep-alive\r `:C+=`connection: close\r `,Array.isArray(h))for(let e=0;e{t.removeListener(`error`,g)}),!d){let e=new c;queueMicrotask(()=>g(e))}},g=function(e){if(!d){if(d=!0,n(o.destroyed||o[w]&&i[x]<=1),o.off(`drain`,m).off(`error`,g),t.removeListener(`data`,p).removeListener(`end`,g).removeListener(`close`,h),!e)try{f.end()}catch(t){e=t}f.destroy(e),e&&(e.code!==`UND_ERR_INFO`||e.message!==`reset`)?r.destroy(t,e):r.destroy(t)}};t.on(`data`,p).on(`end`,g).on(`error`,g).on(`close`,h),t.resume&&t.resume(),o.on(`drain`,m).on(`error`,g),t.errorEmitted??t.errored?setImmediate(()=>g(t.errored)):(t.endEmitted??t.readableEnded)&&setImmediate(()=>g(null)),(t.closeEmitted??t.closed)&&setImmediate(h)}function Me(e,t,i,a,o,s,c,l){try{t?r.isBuffer(t)&&(n(s===t.byteLength,`buffer body must have content length`),o.cork(),o.write(`${c}content-length: ${s}\r\n\r\n`,`latin1`),o.write(t),o.uncork(),a.onBodySent(t),!l&&a.reset!==!1&&(o[_]=!0)):s===0?o.write(`${c}content-length: 0\r\n\r\n`,`latin1`):(n(s===null,`no body must not have content length`),o.write(`${c}\r\n`,`latin1`)),a.onRequestSent(),i[de]()}catch(t){e(t)}}async function Ne(e,t,r,i,a,s,c,l){n(s===t.size,`blob body must have content length`);try{if(s!=null&&s!==t.size)throw new o;let e=Buffer.from(await t.arrayBuffer());a.cork(),a.write(`${c}content-length: ${s}\r\n\r\n`,`latin1`),a.write(e),a.uncork(),i.onBodySent(e),i.onRequestSent(),!l&&i.reset!==!1&&(a[_]=!0),r[de]()}catch(t){e(t)}}async function Pe(e,t,r,i,a,o,s,c){n(o!==0||r[x]===0,`iterator body cannot be pipelined`);let l=null;function u(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(l===null),a[j]?t(a[j]):l=e});a.on(`close`,u).on(`drain`,u);let f=new Fe({abort:e,socket:a,request:i,contentLength:o,client:r,expectsPayload:c,header:s});try{for await(let e of t){if(a[j])throw a[j];f.write(e)||await d()}f.end()}catch(e){f.destroy(e)}finally{a.off(`close`,u).off(`drain`,u)}}var Fe=class{constructor({abort:e,socket:t,request:n,contentLength:r,client:i,expectsPayload:a,header:o}){this.socket=t,this.request=n,this.contentLength=r,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:n,contentLength:r,client:i,bytesWritten:a,expectsPayload:s,header:c}=this;if(t[j])throw t[j];if(t.destroyed)return!1;let l=Buffer.byteLength(e);if(!l)return!0;if(r!==null&&a+l>r){if(i[oe])throw new o;process.emitWarning(new o)}t.cork(),a===0&&(!s&&n.reset!==!1&&(t[_]=!0),r===null?t.write(`${c}transfer-encoding: chunked\r\n`,`latin1`):t.write(`${c}content-length: ${r}\r\n\r\n`,`latin1`)),r===null&&t.write(`\r\n${l.toString(16)}\r\n`,`latin1`),this.bytesWritten+=l;let u=t.write(e);return t.uncork(),n.onBodySent(e),u||t[y].timeout&&t[y].timeoutType===3&&t[y].timeout.refresh&&t[y].timeout.refresh(),u}end(){let{socket:e,contentLength:t,client:n,bytesWritten:r,expectsPayload:i,header:a,request:s}=this;if(s.onRequestSent(),e[w]=!1,e[j])throw e[j];if(!e.destroyed){if(r===0?i?e.write(`${a}content-length: 0\r\n\r\n`,`latin1`):e.write(`${a}\r\n`,`latin1`):t===null&&e.write(`\r 0\r \r -`,`latin1`),t!==null&&r!==t){if(n[oe])throw new o;process.emitWarning(new o)}e[y].timeout&&e[y].timeoutType===3&&e[y].timeout.refresh&&e[y].timeout.refresh(),n[de]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(n(r[x]<=1,`pipeline should only contain this request`),i(e))}};t.exports=De})),pt=P(((e,t)=>{let n=F(`node:assert`),{pipeline:r}=F(`node:stream`),i=L(),{RequestContentLengthMismatchError:a,RequestAbortedError:o,SocketError:s,InformationalError:c}=I(),{kUrl:l,kReset:u,kClient:d,kRunning:f,kPending:p,kQueue:m,kPendingIdx:h,kRunningIdx:g,kError:_,kSocket:v,kStrictContentLength:y,kOnError:b,kMaxConcurrentStreams:x,kHTTP2Session:S,kResume:C,kSize:w,kHTTPContext:T}=Ue(),E=Symbol(`open streams`),D,O=!1,k;try{k=F(`node:http2`)}catch{k={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:A,HTTP2_HEADER_METHOD:j,HTTP2_HEADER_PATH:M,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:N,HTTP2_HEADER_EXPECT:te,HTTP2_HEADER_STATUS:ne}}=k;function re(e){let t=[];for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.push(Buffer.from(n),Buffer.from(e));else t.push(Buffer.from(n),Buffer.from(r));return t}async function ie(e,t){e[v]=t,O||(O=!0,process.emitWarning(`H2 support is experimental, expect them to change at any time.`,{code:`UNDICI-H2`}));let r=k.connect(e[l],{createConnection:()=>t,peerMaxConcurrentStreams:e[x]});r[E]=0,r[d]=e,r[v]=t,i.addListener(r,`error`,oe),i.addListener(r,`frameError`,se),i.addListener(r,`end`,ce),i.addListener(r,`goaway`,le),i.addListener(r,`close`,function(){let{[d]:e}=this,{[v]:t}=e,r=this[v][_]||this[_]||new s(`closed`,i.getSocketInfo(t));if(e[S]=null,e.destroyed){n(e[p]===0);let t=e[m].splice(e[g]);for(let n=0;n{a=!0}),{version:`h2`,defaultPipelining:1/0,write(...t){return de(e,...t)},resume(){ae(e)},destroy(e,n){a?queueMicrotask(n):t.destroy(e).on(`close`,n)},get destroyed(){return t.destroyed},busy(){return!1}}}function ae(e){let t=e[v];t?.destroyed===!1&&(e[w]===0&&e[x]===0?(t.unref(),e[S].unref()):(t.ref(),e[S].ref()))}function oe(e){n(e.code!==`ERR_TLS_CERT_ALTNAME_INVALID`),this[v][_]=e,this[d][b](e)}function se(e,t,n){if(n===0){let n=new c(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[v][_]=n,this[d][b](n)}}function ce(){let e=new s(`other side closed`,i.getSocketInfo(this[v]));this.destroy(e),i.destroy(this[v],e)}function le(e){let t=this[_]||new s(`HTTP/2: "GOAWAY" frame received with code ${e}`,i.getSocketInfo(this)),r=this[d];if(r[v]=null,r[T]=null,this[S]!=null&&(this[S].destroy(t),this[S]=null),i.destroy(this[v],t),r[g]{t.aborted||t.completed||(n||=new o,i.errorRequest(e,t,n),T!=null&&i.destroy(T,n),i.destroy(x,n),e[m][e[g]++]=null,e[C]())};try{t.onConnect(ie)}catch(n){i.errorRequest(e,t,n)}if(t.aborted)return!1;if(s===`CONNECT`)return r.ref(),T=r.request(w,{endStream:!1,signal:_}),T.id&&!T.pending?(t.onUpgrade(null,null,T),++r[E],e[m][e[g]++]=null):T.once(`ready`,()=>{t.onUpgrade(null,null,T),++r[E],e[m][e[g]++]=null}),T.once(`close`,()=>{--r[E],r[E]===0&&r.unref()}),!0;w[M]=u,w[ee]=`https`;let ae=s===`PUT`||s===`POST`||s===`PATCH`;x&&typeof x.read==`function`&&x.read(0);let oe=i.bodyLength(x);if(i.isFormDataLike(x)){D??=dt().extractBody;let[e,t]=D(x);w[`content-type`]=t,x=e.stream,oe=e.length}if(oe??=t.contentLength,(oe===0||!ae)&&(oe=null),ue(s)&&oe>0&&t.contentLength!=null&&t.contentLength!==oe){if(e[y])return i.errorRequest(e,t,new a),!1;process.emitWarning(new a)}oe!=null&&(n(x,`no body must not have content length`),w[N]=`${oe}`),r.ref();let se=s===`GET`||s===`HEAD`||x===null;return p?(w[te]=`100-continue`,T=r.request(w,{endStream:se,signal:_}),T.once(`continue`,ce)):(T=r.request(w,{endStream:se,signal:_}),ce()),++r[E],T.once(`response`,n=>{let{[ne]:r,...a}=n;if(t.onResponseStarted(),t.aborted){let n=new o;i.errorRequest(e,t,n),i.destroy(T,n);return}t.onHeaders(Number(r),re(a),T.resume.bind(T),``)===!1&&T.pause(),T.on(`data`,e=>{t.onData(e)===!1&&T.pause()})}),T.once(`end`,()=>{(T.state?.state==null||T.state.state<6)&&t.onComplete([]),r[E]===0&&r.unref(),ie(new c(`HTTP/2: stream half-closed (remote)`)),e[m][e[g]++]=null,e[h]=e[g],e[C]()}),T.once(`close`,()=>{--r[E],r[E]===0&&r.unref()}),T.once(`error`,function(e){ie(e)}),T.once(`frameError`,(e,t)=>{ie(new c(`HTTP/2: "frameError" received - type ${e}, code ${t}`))}),!0;function ce(){!x||oe===0?fe(ie,T,null,e,t,e[v],oe,ae):i.isBuffer(x)?fe(ie,T,x,e,t,e[v],oe,ae):i.isBlobLike(x)?typeof x.stream==`function`?he(ie,T,x.stream(),e,t,e[v],oe,ae):me(ie,T,x,e,t,e[v],oe,ae):i.isStream(x)?pe(ie,e[v],ae,T,x,e,t,oe):i.isIterable(x)?he(ie,T,x,e,t,e[v],oe,ae):n(!1)}}function fe(e,t,r,a,o,s,c,l){try{r!=null&&i.isBuffer(r)&&(n(c===r.byteLength,`buffer body must have content length`),t.cork(),t.write(r),t.uncork(),t.end(),o.onBodySent(r)),l||(s[u]=!0),o.onRequestSent(),a[C]()}catch(t){e(t)}}function pe(e,t,a,o,s,c,l,d){n(d!==0||c[f]===0,`stream body cannot be pipelined`);let p=r(s,o,n=>{n?(i.destroy(p,n),e(n)):(i.removeAllListeners(p),l.onRequestSent(),a||(t[u]=!0),c[C]())});i.addListener(p,`data`,m);function m(e){l.onBodySent(e)}}async function me(e,t,r,i,o,s,c,l){n(c===r.size,`blob body must have content length`);try{if(c!=null&&c!==r.size)throw new a;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),o.onBodySent(e),o.onRequestSent(),l||(s[u]=!0),i[C]()}catch(t){e(t)}}async function he(e,t,r,i,a,o,s,c){n(s!==0||i[f]===0,`iterator body cannot be pipelined`);let l=null;function d(){if(l){let e=l;l=null,e()}}let p=()=>new Promise((e,t)=>{n(l===null),o[_]?t(o[_]):l=e});t.on(`close`,d).on(`drain`,d);try{for await(let e of r){if(o[_])throw o[_];let n=t.write(e);a.onBodySent(e),n||await p()}t.end(),a.onRequestSent(),c||(o[u]=!0),i[C]()}catch(t){e(t)}finally{t.off(`close`,d).off(`drain`,d)}}t.exports=ie})),mt=P(((e,t)=>{let n=L(),{kBodyUsed:r}=Ue(),i=F(`node:assert`),{InvalidArgumentError:a}=I(),o=F(`node:events`),s=[300,301,302,303,307,308],c=Symbol(`body`);var l=class{constructor(e){this[c]=e,this[r]=!1}async*[Symbol.asyncIterator](){i(!this[r],`disturbed`),this[r]=!0,yield*this[c]}},u=class{constructor(e,t,s,c){if(t!=null&&(!Number.isInteger(t)||t<0))throw new a(`maxRedirections must be a positive number`);n.validateHandler(c,s.method,s.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...s,maxRedirections:0},this.maxRedirections=t,this.handler=c,this.history=[],this.redirectionLimitReached=!1,n.isStream(this.opts.body)?(n.bodyLength(this.opts.body)===0&&this.opts.body.on(`data`,function(){i(!1)}),typeof this.opts.body.readableDidRead!=`boolean`&&(this.opts.body[r]=!1,o.prototype.on.call(this.opts.body,`data`,function(){this[r]=!0}))):(this.opts.body&&typeof this.opts.body.pipeTo==`function`||this.opts.body&&typeof this.opts.body!=`string`&&!ArrayBuffer.isView(this.opts.body)&&n.isIterable(this.opts.body))&&(this.opts.body=new l(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,n){this.handler.onUpgrade(e,t,n)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,i){if(this.location=this.history.length>=this.maxRedirections||n.isDisturbed(this.opts.body)?null:d(e,t),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(Error(`max redirects`)),this.redirectionLimitReached=!0,this.abort(Error(`max redirects`));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,t,r,i);let{origin:a,pathname:o,search:s}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),c=s?`${o}${s}`:o;this.opts.headers=p(this.opts.headers,e===303,this.opts.origin!==a),this.opts.path=c,this.opts.origin=a,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!==`HEAD`&&(this.opts.method=`GET`,this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function d(e,t){if(s.indexOf(e)===-1)return null;for(let e=0;e{let n=mt();function r({maxRedirections:e}){return t=>function(r,i){let{maxRedirections:a=e}=r;if(!a)return t(r,i);let o=new n(t,a,r,i);return r={...r,maxRedirections:0},t(r,o)}}t.exports=r})),gt=P(((e,t)=>{let n=F(`node:assert`),r=F(`node:net`),i=F(`node:http`),a=L(),{channels:o}=Ke(),s=qe(),c=Ye(),{InvalidArgumentError:l,InformationalError:u,ClientDestroyedError:d}=I(),f=Ze(),{kUrl:p,kServerName:m,kClient:h,kBusy:g,kConnect:_,kResuming:v,kRunning:y,kPending:b,kSize:x,kQueue:S,kConnected:C,kConnecting:w,kNeedDrain:T,kKeepAliveDefaultTimeout:E,kHostHeader:D,kPendingIdx:O,kRunningIdx:k,kError:A,kPipelining:j,kKeepAliveTimeoutValue:M,kMaxHeadersSize:ee,kKeepAliveMaxTimeout:N,kKeepAliveTimeoutThreshold:te,kHeadersTimeout:ne,kBodyTimeout:re,kStrictContentLength:ie,kConnector:ae,kMaxRedirections:oe,kMaxRequests:se,kCounter:ce,kClose:le,kDestroy:ue,kDispatch:de,kInterceptors:fe,kLocalAddress:pe,kMaxResponseSize:me,kOnError:he,kHTTPContext:ge,kMaxConcurrentStreams:_e,kResume:ve}=Ue(),ye=ft(),be=pt(),xe=!1,Se=Symbol(`kClosedResolve`),Ce=()=>{};function we(e){return e[j]??e[ge]?.defaultPipelining??1}var P=class extends c{constructor(e,{interceptors:t,maxHeaderSize:n,headersTimeout:o,socketTimeout:s,requestTimeout:c,connectTimeout:u,bodyTimeout:d,idleTimeout:h,keepAlive:g,keepAliveTimeout:_,maxKeepAliveTimeout:y,keepAliveMaxTimeout:b,keepAliveTimeoutThreshold:x,socketPath:C,pipelining:w,tls:A,strictContentLength:ce,maxCachedSessions:le,maxRedirections:ue,connect:de,maxRequestsPerClient:ye,localAddress:be,maxResponseSize:Ce,autoSelectFamily:we,autoSelectFamilyAttemptTimeout:P,maxConcurrentStreams:De,allowH2:F,webSocket:Oe}={}){if(super({webSocket:Oe}),g!==void 0)throw new l(`unsupported keepAlive, use pipelining=0 instead`);if(s!==void 0)throw new l(`unsupported socketTimeout, use headersTimeout & bodyTimeout instead`);if(c!==void 0)throw new l(`unsupported requestTimeout, use headersTimeout & bodyTimeout instead`);if(h!==void 0)throw new l(`unsupported idleTimeout, use keepAliveTimeout instead`);if(y!==void 0)throw new l(`unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead`);if(n!=null&&!Number.isFinite(n))throw new l(`invalid maxHeaderSize`);if(C!=null&&typeof C!=`string`)throw new l(`invalid socketPath`);if(u!=null&&(!Number.isFinite(u)||u<0))throw new l(`invalid connectTimeout`);if(_!=null&&(!Number.isFinite(_)||_<=0))throw new l(`invalid keepAliveTimeout`);if(b!=null&&(!Number.isFinite(b)||b<=0))throw new l(`invalid keepAliveMaxTimeout`);if(x!=null&&!Number.isFinite(x))throw new l(`invalid keepAliveTimeoutThreshold`);if(o!=null&&(!Number.isInteger(o)||o<0))throw new l(`headersTimeout must be a positive integer or zero`);if(d!=null&&(!Number.isInteger(d)||d<0))throw new l(`bodyTimeout must be a positive integer or zero`);if(de!=null&&typeof de!=`function`&&typeof de!=`object`)throw new l(`connect must be a function or an object`);if(ue!=null&&(!Number.isInteger(ue)||ue<0))throw new l(`maxRedirections must be a positive number`);if(ye!=null&&(!Number.isInteger(ye)||ye<0))throw new l(`maxRequestsPerClient must be a positive number`);if(be!=null&&(typeof be!=`string`||r.isIP(be)===0))throw new l(`localAddress must be valid string IP address`);if(Ce!=null&&(!Number.isInteger(Ce)||Ce<-1))throw new l(`maxResponseSize must be a positive number`);if(P!=null&&(!Number.isInteger(P)||P<-1))throw new l(`autoSelectFamilyAttemptTimeout must be a positive number`);if(F!=null&&typeof F!=`boolean`)throw new l(`allowH2 must be a valid boolean value`);if(De!=null&&(typeof De!=`number`||De<1))throw new l(`maxConcurrentStreams must be a positive integer, greater than 0`);typeof de!=`function`&&(de=f({...A,maxCachedSessions:le,allowH2:F,socketPath:C,timeout:u,...we?{autoSelectFamily:we,autoSelectFamilyAttemptTimeout:P}:void 0,...de})),t?.Client&&Array.isArray(t.Client)?(this[fe]=t.Client,xe||(xe=!0,process.emitWarning(`Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.`,{code:`UNDICI-CLIENT-INTERCEPTOR-DEPRECATED`}))):this[fe]=[Te({maxRedirections:ue})],this[p]=a.parseOrigin(e),this[ae]=de,this[j]=w??1,this[ee]=n||i.maxHeaderSize,this[E]=_??4e3,this[N]=b??6e5,this[te]=x??2e3,this[M]=this[E],this[m]=null,this[pe]=be??null,this[v]=0,this[T]=0,this[D]=`host: ${this[p].hostname}${this[p].port?`:${this[p].port}`:``}\r\n`,this[re]=d??3e5,this[ne]=o??3e5,this[ie]=ce??!0,this[oe]=ue,this[se]=ye,this[Se]=null,this[me]=Ce>-1?Ce:-1,this[_e]=De??100,this[ge]=null,this[S]=[],this[k]=0,this[O]=0,this[ve]=e=>ke(this,e),this[he]=e=>Ee(this,e)}get pipelining(){return this[j]}set pipelining(e){this[j]=e,this[ve](!0)}get[b](){return this[S].length-this[O]}get[y](){return this[O]-this[k]}get[x](){return this[S].length-this[k]}get[C](){return!!this[ge]&&!this[w]&&!this[ge].destroyed}get[g](){return!!(this[ge]?.busy(null)||this[x]>=(we(this)||1)||this[b]>0)}[_](e){De(this),this.once(`connect`,e)}[de](e,t){let n=new s(e.origin||this[p].origin,e,t);return this[S].push(n),this[v]||(a.bodyLength(n.body)==null&&a.isIterable(n.body)?(this[v]=1,queueMicrotask(()=>ke(this))):this[ve](!0)),this[v]&&this[T]!==2&&this[g]&&(this[T]=2),this[T]<2}async[le](){return new Promise(e=>{this[x]?this[Se]=e:e(null)})}async[ue](e){return new Promise(t=>{let n=this[S].splice(this[O]);for(let t=0;t{this[Se]&&(this[Se](),this[Se]=null),t(null)};this[ge]?(this[ge].destroy(e,r),this[ge]=null):queueMicrotask(r),this[ve]()})}};let Te=ht();function Ee(e,t){if(e[y]===0&&t.code!==`UND_ERR_INFO`&&t.code!==`UND_ERR_SOCKET`){n(e[O]===e[k]);let r=e[S].splice(e[k]);for(let n=0;n{e[ae]({host:t,hostname:i,protocol:s,port:c,servername:e[m],localAddress:e[pe]},(e,t)=>{e?r(e):n(t)})});if(e.destroyed){a.destroy(r.on(`error`,Ce),new d);return}n(r);try{e[ge]=r.alpnProtocol===`h2`?await be(e,r):await ye(e,r)}catch(e){throw r.destroy().on(`error`,Ce),e}e[w]=!1,r[ce]=0,r[se]=e[se],r[h]=e,r[A]=null,o.connected.hasSubscribers&&o.connected.publish({connectParams:{host:t,hostname:i,protocol:s,port:c,version:e[ge]?.version,servername:e[m],localAddress:e[pe]},connector:e[ae],socket:r}),e.emit(`connect`,e[p],[e])}catch(r){if(e.destroyed)return;if(e[w]=!1,o.connectError.hasSubscribers&&o.connectError.publish({connectParams:{host:t,hostname:i,protocol:s,port:c,version:e[ge]?.version,servername:e[m],localAddress:e[pe]},connector:e[ae],error:r}),r.code===`ERR_TLS_CERT_ALTNAME_INVALID`)for(n(e[y]===0);e[b]>0&&e[S][e[O]].servername===e[m];){let t=e[S][e[O]++];a.errorRequest(e,t,r)}else Ee(e,r);e.emit(`connectionError`,e[p],[e],r)}e[ve]()}function Oe(e){e[T]=0,e.emit(`drain`,e[p],[e])}function ke(e,t){e[v]!==2&&(e[v]=2,Ae(e,t),e[v]=0,e[k]>256&&(e[S].splice(0,e[k]),e[O]-=e[k],e[k]=0))}function Ae(e,t){for(;;){if(e.destroyed){n(e[b]===0);return}if(e[Se]&&!e[x]){e[Se](),e[Se]=null;return}if(e[ge]&&e[ge].resume(),e[g])e[T]=2;else if(e[T]===2){t?(e[T]=1,queueMicrotask(()=>Oe(e))):Oe(e);continue}if(e[b]===0||e[y]>=(we(e)||1))return;let r=e[S][e[O]];if(e[p].protocol===`https:`&&e[m]!==r.servername){if(e[y]>0)return;e[m]=r.servername,e[ge]?.destroy(new u(`servername changed`),()=>{e[ge]=null,ke(e)})}if(e[w])return;if(!e[ge]){De(e);return}if(e[ge].destroyed||e[ge].busy(r))return;!r.aborted&&e[ge].write(r)?e[O]++:e[S].splice(e[O],1)}}t.exports=P})),_t=P(((e,t)=>{let n=2048,r=n-1;var i=class{constructor(){this.bottom=0,this.top=0,this.list=Array(n),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&r)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&r}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&r,e)}};t.exports=class{constructor(){this.head=this.tail=new i}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new i),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),t}}})),vt=P(((e,t)=>{let{kFree:n,kConnected:r,kPending:i,kQueued:a,kRunning:o,kSize:s}=Ue(),c=Symbol(`pool`);t.exports=class{constructor(e){this[c]=e}get connected(){return this[c][r]}get free(){return this[c][n]}get pending(){return this[c][i]}get queued(){return this[c][a]}get running(){return this[c][o]}get size(){return this[c][s]}}})),yt=P(((e,t)=>{let n=Ye(),r=_t(),{kConnected:i,kSize:a,kRunning:o,kPending:s,kQueued:c,kBusy:l,kFree:u,kUrl:d,kClose:f,kDestroy:p,kDispatch:m}=Ue(),h=vt(),g=Symbol(`clients`),_=Symbol(`needDrain`),v=Symbol(`queue`),y=Symbol(`closed resolve`),b=Symbol(`onDrain`),x=Symbol(`onConnect`),S=Symbol(`onDisconnect`),C=Symbol(`onConnectionError`),w=Symbol(`get dispatcher`),T=Symbol(`add client`),E=Symbol(`remove client`),D=Symbol(`stats`);t.exports={PoolBase:class extends n{constructor(e){super(e),this[v]=new r,this[g]=[],this[c]=0;let t=this;this[b]=function(e,n){let r=t[v],i=!1;for(;!i;){let e=r.shift();if(!e)break;t[c]--,i=!this.dispatch(e.opts,e.handler)}this[_]=i,!this[_]&&t[_]&&(t[_]=!1,t.emit(`drain`,e,[t,...n])),t[y]&&r.isEmpty()&&Promise.all(t[g].map(e=>e.close())).then(t[y])},this[x]=(e,n)=>{t.emit(`connect`,e,[t,...n])},this[S]=(e,n,r)=>{t.emit(`disconnect`,e,[t,...n],r)},this[C]=(e,n,r)=>{t.emit(`connectionError`,e,[t,...n],r)},this[D]=new h(this)}get[l](){return this[_]}get[i](){return this[g].filter(e=>e[i]).length}get[u](){return this[g].filter(e=>e[i]&&!e[_]).length}get[s](){let e=this[c];for(let{[s]:t}of this[g])e+=t;return e}get[o](){let e=0;for(let{[o]:t}of this[g])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[g])e+=t;return e}get stats(){return this[D]}async[f](){this[v].isEmpty()?await Promise.all(this[g].map(e=>e.close())):await new Promise(e=>{this[y]=e})}async[p](e){for(;;){let t=this[v].shift();if(!t)break;t.handler.onError(e)}await Promise.all(this[g].map(t=>t.destroy(e)))}[m](e,t){let n=this[w]();return n?n.dispatch(e,t)||(n[_]=!0,this[_]=!this[w]()):(this[_]=!0,this[v].push({opts:e,handler:t}),this[c]++),!this[_]}[T](e){return e.on(`drain`,this[b]).on(`connect`,this[x]).on(`disconnect`,this[S]).on(`connectionError`,this[C]),this[g].push(e),this[_]&&queueMicrotask(()=>{this[_]&&this[b](e[d],[this,e])}),this}[E](e){e.close(()=>{let t=this[g].indexOf(e);t!==-1&&this[g].splice(t,1)}),this[_]=this[g].some(e=>!e[_]&&e.closed!==!0&&e.destroyed!==!0)}},kClients:g,kNeedDrain:_,kAddClient:T,kRemoveClient:E,kGetDispatcher:w}})),bt=P(((e,t)=>{let{PoolBase:n,kClients:r,kNeedDrain:i,kAddClient:a,kGetDispatcher:o}=yt(),s=gt(),{InvalidArgumentError:c}=I(),l=L(),{kUrl:u,kInterceptors:d}=Ue(),f=Ze(),p=Symbol(`options`),m=Symbol(`connections`),h=Symbol(`factory`);function g(e,t){return new s(e,t)}t.exports=class extends n{constructor(e,{connections:t,factory:n=g,connect:i,connectTimeout:a,tls:o,maxCachedSessions:s,socketPath:_,autoSelectFamily:v,autoSelectFamilyAttemptTimeout:y,allowH2:b,...x}={}){if(t!=null&&(!Number.isFinite(t)||t<0))throw new c(`invalid connections`);if(typeof n!=`function`)throw new c(`factory must be a function.`);if(i!=null&&typeof i!=`function`&&typeof i!=`object`)throw new c(`connect must be a function or an object`);typeof i!=`function`&&(i=f({...o,maxCachedSessions:s,allowH2:b,socketPath:_,timeout:a,...v?{autoSelectFamily:v,autoSelectFamilyAttemptTimeout:y}:void 0,...i})),super(x),this[d]=x.interceptors?.Pool&&Array.isArray(x.interceptors.Pool)?x.interceptors.Pool:[],this[m]=t||null,this[u]=l.parseOrigin(e),this[p]={...l.deepClone(x),connect:i,allowH2:b},this[p].interceptors=x.interceptors?{...x.interceptors}:void 0,this[h]=n,this.on(`connectionError`,(e,t,n)=>{for(let e of t){let t=this[r].indexOf(e);t!==-1&&this[r].splice(t,1)}})}[o](){for(let e of this[r])if(!e[i])return e;if(!this[m]||this[r].length{let{BalancedPoolMissingUpstreamError:n,InvalidArgumentError:r}=I(),{PoolBase:i,kClients:a,kNeedDrain:o,kAddClient:s,kRemoveClient:c,kGetDispatcher:l}=yt(),u=bt(),{kUrl:d,kInterceptors:f}=Ue(),{parseOrigin:p}=L(),m=Symbol(`factory`),h=Symbol(`options`),g=Symbol(`kGreatestCommonDivisor`),_=Symbol(`kCurrentWeight`),v=Symbol(`kIndex`),y=Symbol(`kWeight`),b=Symbol(`kMaxWeightPerServer`),x=Symbol(`kErrorPenalty`);function S(e,t){if(e===0)return t;for(;t!==0;){let n=t;t=e%t,e=n}return e}function C(e,t){return new u(e,t)}t.exports=class extends i{constructor(e=[],{factory:t=C,...n}={}){if(super(),this[h]=n,this[v]=-1,this[_]=0,this[b]=this[h].maxWeightPerServer||100,this[x]=this[h].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof t!=`function`)throw new r(`factory must be a function.`);this[f]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[m]=t;for(let t of e)this.addUpstream(t);this._updateBalancedPoolStats()}addUpstream(e){let t=p(e).origin;if(this[a].find(e=>e[d].origin===t&&e.closed!==!0&&e.destroyed!==!0))return this;let n=this[m](t,Object.assign({},this[h]));this[s](n),n.on(`connect`,()=>{n[y]=Math.min(this[b],n[y]+this[x])}),n.on(`connectionError`,()=>{n[y]=Math.max(1,n[y]-this[x]),this._updateBalancedPoolStats()}),n.on(`disconnect`,(...e)=>{let t=e[2];t&&t.code===`UND_ERR_SOCKET`&&(n[y]=Math.max(1,n[y]-this[x]),this._updateBalancedPoolStats())});for(let e of this[a])e[y]=this[b];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;te[d].origin===t&&e.closed!==!0&&e.destroyed!==!0);return n&&this[c](n),this}get upstreams(){return this[a].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[d].origin)}[l](){if(this[a].length===0)throw new n;if(!this[a].find(e=>!e[o]&&e.closed!==!0&&e.destroyed!==!0)||this[a].map(e=>e[o]).reduce((e,t)=>e&&t,!0))return;let e=0,t=this[a].findIndex(e=>!e[o]);for(;e++this[a][t][y]&&!e[o]&&(t=this[v]),this[v]===0&&(this[_]=this[_]-this[g],this[_]<=0&&(this[_]=this[b])),e[y]>=this[_]&&!e[o])return e}return this[_]=this[a][t][y],this[v]=t,this[a][t]}}})),St=P(((e,t)=>{let{InvalidArgumentError:n}=I(),{kClients:r,kRunning:i,kClose:a,kDestroy:o,kDispatch:s,kInterceptors:c}=Ue(),l=Ye(),u=bt(),d=gt(),f=L(),p=ht(),m=Symbol(`onConnect`),h=Symbol(`onDisconnect`),g=Symbol(`onConnectionError`),_=Symbol(`maxRedirections`),v=Symbol(`onDrain`),y=Symbol(`factory`),b=Symbol(`options`);function x(e,t){return t&&t.connections===1?new d(e,t):new u(e,t)}t.exports=class extends l{constructor({factory:e=x,maxRedirections:t=0,connect:i,...a}={}){if(typeof e!=`function`)throw new n(`factory must be a function.`);if(i!=null&&typeof i!=`function`&&typeof i!=`object`)throw new n(`connect must be a function or an object`);if(!Number.isInteger(t)||t<0)throw new n(`maxRedirections must be a positive number`);super(a),i&&typeof i!=`function`&&(i={...i}),this[c]=a.interceptors?.Agent&&Array.isArray(a.interceptors.Agent)?a.interceptors.Agent:[p({maxRedirections:t})],this[b]={...f.deepClone(a),connect:i},this[b].interceptors=a.interceptors?{...a.interceptors}:void 0,this[_]=t,this[y]=e,this[r]=new Map,this[v]=(e,t)=>{this.emit(`drain`,e,[this,...t])},this[m]=(e,t)=>{this.emit(`connect`,e,[this,...t])},this[h]=(e,t,n)=>{this.emit(`disconnect`,e,[this,...t],n)},this[g]=(e,t,n)=>{this.emit(`connectionError`,e,[this,...t],n)}}get[i](){let e=0;for(let t of this[r].values())e+=t[i];return e}[s](e,t){let i;if(e.origin&&(typeof e.origin==`string`||e.origin instanceof URL))i=String(e.origin);else throw new n(`opts.origin must be a non-empty string or URL.`);let a=this[r].get(i);return a||(a=this[y](e.origin,this[b]).on(`drain`,this[v]).on(`connect`,this[m]).on(`disconnect`,this[h]).on(`connectionError`,this[g]),this[r].set(i,a)),a.dispatch(e,t)}async[a](){let e=[];for(let t of this[r].values())e.push(t.close());this[r].clear(),await Promise.all(e)}async[o](e){let t=[];for(let n of this[r].values())t.push(n.destroy(e));this[r].clear(),await Promise.all(t)}}})),Ct=P(((e,t)=>{let{kProxy:n,kClose:r,kDestroy:i,kDispatch:a,kInterceptors:o}=Ue(),{URL:s}=F(`node:url`),c=St(),l=bt(),u=Ye(),{InvalidArgumentError:d,RequestAbortedError:f,SecureProxyConnectionError:p}=I(),m=Ze(),h=gt(),g=Symbol(`proxy agent`),_=Symbol(`proxy client`),v=Symbol(`proxy headers`),y=Symbol(`request tls settings`),b=Symbol(`proxy tls settings`),x=Symbol(`connect endpoint function`),S=Symbol(`tunnel proxy`);function C(e){return e===`https:`?443:80}function w(e,t){return new l(e,t)}let T=()=>{};function E(e,t){return t.connections===1?new h(e,t):new l(e,t)}var D=class extends u{#e;constructor(e,{headers:t={},connect:n,factory:r}){if(super(),!e)throw new d(`Proxy URL is mandatory`);this[v]=t,r?this.#e=r(e,{connect:n}):this.#e=new h(e,{connect:n})}[a](e,t){let n=t.onHeaders;t.onHeaders=function(e,r,i){if(e===407){typeof t.onError==`function`&&t.onError(new d(`Proxy Authentication Required (407)`));return}n&&n.call(this,e,r,i)};let{origin:r,path:i=`/`,headers:o={}}=e;if(e.path=r+i,!(`host`in o)&&!(`Host`in o)){let{host:e}=new s(r);o.host=e}return e.headers={...this[v],...o},this.#e[a](e,t)}async[r](){return this.#e.close()}async[i](e){return this.#e.destroy(e)}},O=class extends u{constructor(e){if(super(),!e||typeof e==`object`&&!(e instanceof s)&&!e.uri)throw new d(`Proxy uri is mandatory`);let{clientFactory:t=w}=e;if(typeof t!=`function`)throw new d(`Proxy opts.clientFactory must be a function.`);let{proxyTunnel:r=!0}=e,i=this.#e(e),{href:a,origin:l,port:u,protocol:h,username:O,password:k,hostname:A}=i;if(this[n]={uri:a,protocol:h},this[o]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[y]=e.requestTls,this[b]=e.proxyTls,this[v]=e.headers||{},this[S]=r,e.auth&&e.token)throw new d(`opts.auth cannot be used in combination with opts.token`);e.auth?this[v][`proxy-authorization`]=`Basic ${e.auth}`:e.token?this[v][`proxy-authorization`]=e.token:O&&k&&(this[v][`proxy-authorization`]=`Basic ${Buffer.from(`${decodeURIComponent(O)}:${decodeURIComponent(k)}`).toString(`base64`)}`);let j=m({...e.proxyTls});this[x]=m({...e.requestTls});let M=e.factory||E,ee=(e,t)=>{let{protocol:r}=new s(e);return!this[S]&&r===`http:`&&this[n].protocol===`http:`?new D(this[n].uri,{headers:this[v],connect:j,factory:M}):M(e,t)};this[_]=t(i,{connect:j}),this[g]=new c({...e,factory:ee,connect:async(e,t)=>{let n=e.host;e.port||(n+=`:${C(e.protocol)}`);try{let{socket:r,statusCode:i}=await this[_].connect({origin:l,port:u,path:n,signal:e.signal,headers:{...this[v],host:e.host},servername:this[b]?.servername||A});if(i!==200&&(r.on(`error`,T).destroy(),t(new f(`Proxy response (${i}) !== 200 when HTTP Tunneling`))),e.protocol!==`https:`){t(null,r);return}let a;a=this[y]?this[y].servername:e.servername,this[x]({...e,servername:a,httpSocket:r},t)}catch(e){e.code===`ERR_TLS_CERT_ALTNAME_INVALID`?t(new p(e)):t(e)}}})}dispatch(e,t){let n=k(e.headers);if(A(n),n&&!(`host`in n)&&!(`Host`in n)){let{host:t}=new s(e.origin);n.host=t}return this[g].dispatch({...e,headers:n},t)}#e(e){return typeof e==`string`?new s(e):e instanceof s?e:new s(e.uri)}async[r](){await this[g].close(),await this[_].close()}async[i](){await this[g].destroy(),await this[_].destroy()}};function k(e){if(Array.isArray(e)){let t={};for(let n=0;ne.toLowerCase()===`proxy-authorization`))throw new d(`Proxy-Authorization should be sent in ProxyAgent constructor`)}t.exports=O})),wt=P(((e,t)=>{let n=Ye(),{kClose:r,kDestroy:i,kClosed:a,kDestroyed:o,kDispatch:s,kNoProxyAgent:c,kHttpProxyAgent:l,kHttpsProxyAgent:u}=Ue(),d=Ct(),f=St(),p={"http:":80,"https:":443},m=!1;t.exports=class extends n{#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,m||(m=!0,process.emitWarning(`EnvHttpProxyAgent is experimental, expect them to change at any time.`,{code:`UNDICI-EHPA`}));let{httpProxy:t,httpsProxy:n,noProxy:r,...i}=e;this[c]=new f(i);let a=t??process.env.http_proxy??process.env.HTTP_PROXY;a?this[l]=new d({...i,uri:a}):this[l]=this[c];let o=n??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[u]=new d({...i,uri:o}):this[u]=this[l],this.#a()}[s](e,t){let n=new URL(e.origin);return this.#r(n).dispatch(e,t)}async[r](){await this[c].close(),this[l][a]||await this[l].close(),this[u][a]||await this[u].close()}async[i](e){await this[c].destroy(e),this[l][o]||await this[l].destroy(e),this[u][o]||await this[u].destroy(e)}#r(e){let{protocol:t,host:n,port:r}=e;return n=n.replace(/:\d*$/,``).toLowerCase(),r=Number.parseInt(r,10)||p[t]||0,this.#i(n,r)?t===`https:`?this[u]:this[l]:this[c]}#i(e,t){if(this.#o&&this.#a(),this.#t.length===0)return!0;if(this.#e===`*`)return!1;for(let n=0;n{let n=F(`node:assert`),{kRetryHandlerDefaultRetry:r}=Ue(),{RequestRetryError:i}=I(),{isDisturbed:a,parseHeaders:o,parseRangeHeader:s,wrapRequestBody:c}=L();function l(e){let t=Date.now();return new Date(e).getTime()-t}t.exports=class e{constructor(t,n){let{retryOptions:i,...a}=t,{retry:o,maxRetries:s,maxTimeout:l,minTimeout:u,timeoutFactor:d,methods:f,errorCodes:p,retryAfter:m,statusCodes:h}=i??{};this.dispatch=n.dispatch,this.handler=n.handler,this.opts={...a,body:c(t.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:o??e[r],retryAfter:m??!0,maxTimeout:l??30*1e3,minTimeout:u??500,timeoutFactor:d??2,maxRetries:s??5,methods:f??[`GET`,`HEAD`,`OPTIONS`,`PUT`,`DELETE`,`TRACE`],statusCodes:h??[500,502,503,504,429],errorCodes:p??[`ECONNRESET`,`ECONNREFUSED`,`ENOTFOUND`,`ENETDOWN`,`ENETUNREACH`,`EHOSTDOWN`,`EHOSTUNREACH`,`EPIPE`,`UND_ERR_SOCKET`]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(e=>{this.aborted=!0,this.abort?this.abort(e):this.reason=e})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,t,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,t,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[r](e,{state:t,opts:n},r){let{statusCode:i,code:a,headers:o}=e,{method:s,retryOptions:c}=n,{maxRetries:u,minTimeout:d,maxTimeout:f,timeoutFactor:p,statusCodes:m,errorCodes:h,methods:g}=c,{counter:_}=t;if(a&&a!==`UND_ERR_REQ_RETRY`&&!h.includes(a)){r(e);return}if(Array.isArray(g)&&!g.includes(s)){r(e);return}if(i!=null&&Array.isArray(m)&&!m.includes(i)){r(e);return}if(_>u){r(e);return}let v=o?.[`retry-after`];v&&=(v=Number(v),Number.isNaN(v)?l(v):v*1e3);let y=Math.min(v>0?v:d*p**(_-1),f);setTimeout(()=>r(null),y)}onHeaders(e,t,r,a){let c=o(t);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,t,r,a):(this.abort(new i(`Request failed`,e,{headers:c,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new i(`server does not support the range header and the payload was partially consumed`,e,{headers:c,data:{count:this.retryCount}})),!1;let t=s(c[`content-range`]);if(!t)return this.abort(new i(`Content-Range mismatch`,e,{headers:c,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==c.etag)return this.abort(new i(`ETag mismatch`,e,{headers:c,data:{count:this.retryCount}})),!1;let{start:a,size:o,end:l=o-1}=t;return n(this.start===a,`content-range mismatch`),n(this.end==null||this.end===l,`content-range mismatch`),this.resume=r,!0}if(this.end==null){if(e===206){let i=s(c[`content-range`]);if(i==null)return this.handler.onHeaders(e,t,r,a);let{start:o,size:l,end:u=l-1}=i;n(o!=null&&Number.isFinite(o),`content-range mismatch`),n(u!=null&&Number.isFinite(u),`invalid content-length`),this.start=o,this.end=u}if(this.end==null){let e=c[`content-length`];this.end=e==null?null:Number(e)-1}return n(Number.isFinite(this.start)),n(this.end==null||Number.isFinite(this.end),`invalid content-length`),this.resume=r,this.etag=c.etag==null?null:c.etag,this.etag!=null&&this.etag.startsWith(`W/`)&&(this.etag=null),this.handler.onHeaders(e,t,r,a)}let l=new i(`Request failed`,e,{headers:c,data:{count:this.retryCount}});return this.abort(l),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||a(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},t.bind(this));function t(e){if(e!=null||this.aborted||a(this.opts.body))return this.handler.onError(e);if(this.start!==0){let e={range:`bytes=${this.start}-${this.end??``}`};this.etag!=null&&(e[`if-match`]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}})),Et=P(((e,t)=>{let n=Je(),r=Tt();t.exports=class extends n{#e=null;#t=null;constructor(e,t={}){super(t),this.#e=e,this.#t=t}dispatch(e,t){let n=new r({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:t});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}}})),Dt=P(((e,t)=>{let n=F(`node:assert`),{Readable:r}=F(`node:stream`),{RequestAbortedError:i,NotSupportedError:a,InvalidArgumentError:o,AbortError:s}=I(),c=L(),{ReadableStreamFrom:l}=L(),u=Symbol(`kConsume`),d=Symbol(`kReading`),f=Symbol(`kBody`),p=Symbol(`kAbort`),m=Symbol(`kContentType`),h=Symbol(`kContentLength`),g=()=>{};var _=class extends r{constructor({resume:e,abort:t,contentType:n=``,contentLength:r,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[p]=t,this[u]=null,this[f]=null,this[m]=n,this[h]=r,this[d]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new i),e&&this[p](),super.destroy(e)}_destroy(e,t){this[d]?t(e):setImmediate(()=>{t(e)})}on(e,...t){return(e===`data`||e===`readable`)&&(this[d]=!0),super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){let n=super.off(e,...t);return(e===`data`||e===`readable`)&&(this[d]=this.listenerCount(`data`)>0||this.listenerCount(`readable`)>0),n}removeListener(e,...t){return this.off(e,...t)}push(e){return this[u]&&e!==null?(T(this[u],e),this[d]?super.push(e):!0):super.push(e)}async text(){return b(this,`text`)}async json(){return b(this,`json`)}async blob(){return b(this,`blob`)}async bytes(){return b(this,`bytes`)}async arrayBuffer(){return b(this,`arrayBuffer`)}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return this[f]||(this[f]=l(this),this[u]&&(this[f].getReader(),n(this[f].locked))),this[f]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:128*1024,n=e?.signal;if(n!=null&&(typeof n!=`object`||!(`aborted`in n)))throw new o(`signal must be an AbortSignal`);return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((e,r)=>{this[h]>t&&this.destroy(new s);let i=()=>{this.destroy(n.reason??new s)};n?.addEventListener(`abort`,i),this.on(`close`,function(){n?.removeEventListener(`abort`,i),n?.aborted?r(n.reason??new s):e(null)}).on(`error`,g).on(`data`,function(e){t-=e.length,t<=0&&this.destroy()}).resume()})}};function v(e){return e[f]&&e[f].locked===!0||e[u]}function y(e){return c.isDisturbed(e)||v(e)}async function b(e,t){return n(!e[u]),new Promise((n,r)=>{if(y(e)){let t=e._readableState;t.destroyed&&t.closeEmitted===!1?e.on(`error`,e=>{r(e)}).on(`close`,()=>{r(TypeError(`unusable`))}):r(t.errored??TypeError(`unusable`))}else queueMicrotask(()=>{e[u]={type:t,stream:e,resolve:n,reject:r,length:0,body:[]},e.on(`error`,function(e){E(this[u],e)}).on(`close`,function(){this[u].body!==null&&E(this[u],new i)}),x(e[u])})})}function x(e){if(e.body===null)return;let{_readableState:t}=e.stream;if(t.bufferIndex){let n=t.bufferIndex,r=t.buffer.length;for(let i=n;i2&&n[0]===239&&n[1]===187&&n[2]===191?3:0;return n.utf8Slice(i,r)}function C(e,t){if(e.length===0||t===0)return new Uint8Array;if(e.length===1)return new Uint8Array(e[0]);let n=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),r=0;for(let t=0;t{let n=F(`node:assert`),{ResponseStatusCodeError:r}=I(),{chunksDecode:i}=Dt();async function a({callback:e,body:t,contentType:a,statusCode:c,statusMessage:l,headers:u}){n(t);let d=[],f=0;try{for await(let e of t)if(d.push(e),f+=e.length,f>131072){d=[],f=0;break}}catch{d=[],f=0}let p=`Response status code ${c}${l?`: ${l}`:``}`;if(c===204||!a||!f){queueMicrotask(()=>e(new r(p,c,u)));return}let m=Error.stackTraceLimit;Error.stackTraceLimit=0;let h;try{o(a)?h=JSON.parse(i(d,f)):s(a)&&(h=i(d,f))}catch{}finally{Error.stackTraceLimit=m}queueMicrotask(()=>e(new r(p,c,u,h)))}let o=e=>e.length>15&&e[11]===`/`&&e[0]===`a`&&e[1]===`p`&&e[2]===`p`&&e[3]===`l`&&e[4]===`i`&&e[5]===`c`&&e[6]===`a`&&e[7]===`t`&&e[8]===`i`&&e[9]===`o`&&e[10]===`n`&&e[12]===`j`&&e[13]===`s`&&e[14]===`o`&&e[15]===`n`,s=e=>e.length>4&&e[4]===`/`&&e[0]===`t`&&e[1]===`e`&&e[2]===`x`&&e[3]===`t`;t.exports={getResolveErrorBodyCallback:a,isContentTypeApplicationJson:o,isContentTypeText:s}})),kt=P(((e,t)=>{let n=F(`node:assert`),{Readable:r}=Dt(),{InvalidArgumentError:i,RequestAbortedError:a}=I(),o=L(),{getResolveErrorBodyCallback:s}=Ot(),{AsyncResource:c}=F(`node:async_hooks`);var l=class extends c{constructor(e,t){if(!e||typeof e!=`object`)throw new i(`invalid opts`);let{signal:n,method:r,opaque:s,body:c,onInfo:l,responseHeaders:u,throwOnError:d,highWaterMark:f}=e;try{if(typeof t!=`function`)throw new i(`invalid callback`);if(f&&(typeof f!=`number`||f<0))throw new i(`invalid highWaterMark`);if(n&&typeof n.on!=`function`&&typeof n.addEventListener!=`function`)throw new i(`signal must be an EventEmitter or EventTarget`);if(r===`CONNECT`)throw new i(`invalid method`);if(l&&typeof l!=`function`)throw new i(`invalid onInfo callback`);super(`UNDICI_REQUEST`)}catch(e){throw o.isStream(c)&&o.destroy(c.on(`error`,o.nop),e),e}this.method=r,this.responseHeaders=u||null,this.opaque=s||null,this.callback=t,this.res=null,this.abort=null,this.body=c,this.trailers={},this.context=null,this.onInfo=l||null,this.throwOnError=d,this.highWaterMark=f,this.signal=n,this.reason=null,this.removeAbortListener=null,o.isStream(c)&&c.on(`error`,e=>{this.onError(e)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new a:this.removeAbortListener=o.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new a,this.res?o.destroy(this.res.on(`error`,o.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&=(this.res?.off(`close`,this.removeAbortListener),this.removeAbortListener(),null)}))}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback),this.abort=e,this.context=t}onHeaders(e,t,n,i){let{callback:a,opaque:c,abort:l,context:u,responseHeaders:d,highWaterMark:f}=this,p=d===`raw`?o.parseRawHeaders(t):o.parseHeaders(t);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:p});return}let m=d===`raw`?o.parseHeaders(t):p,h=m[`content-type`],g=m[`content-length`],_=new r({resume:n,abort:l,contentType:h,contentLength:this.method!==`HEAD`&&g?Number(g):null,highWaterMark:f});this.removeAbortListener&&_.on(`close`,this.removeAbortListener),this.callback=null,this.res=_,a!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(s,null,{callback:a,body:_,contentType:h,statusCode:e,statusMessage:i,headers:p}):this.runInAsyncScope(a,null,null,{statusCode:e,headers:p,trailers:this.trailers,opaque:c,body:_,context:u}))}onData(e){return this.res.push(e)}onComplete(e){o.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:t,callback:n,body:r,opaque:i}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),t&&(this.res=null,queueMicrotask(()=>{o.destroy(t,e)})),r&&(this.body=null,o.destroy(r,e)),this.removeAbortListener&&=(t?.off(`close`,this.removeAbortListener),this.removeAbortListener(),null)}};function u(e,t){if(t===void 0)return new Promise((t,n)=>{u.call(this,e,(e,r)=>e?n(e):t(r))});try{this.dispatch(e,new l(e,t))}catch(n){if(typeof t!=`function`)throw n;let r=e?.opaque;queueMicrotask(()=>t(n,{opaque:r}))}}t.exports=u,t.exports.RequestHandler=l})),At=P(((e,t)=>{let{addAbortListener:n}=L(),{RequestAbortedError:r}=I(),i=Symbol(`kListener`),a=Symbol(`kSignal`);function o(e){e.abort?e.abort(e[a]?.reason):e.reason=e[a]?.reason??new r,c(e)}function s(e,t){if(e.reason=null,e[a]=null,e[i]=null,t){if(t.aborted){o(e);return}e[a]=t,e[i]=()=>{o(e)},n(e[a],e[i])}}function c(e){e[a]&&(`removeEventListener`in e[a]?e[a].removeEventListener(`abort`,e[i]):e[a].removeListener(`abort`,e[i]),e[a]=null,e[i]=null)}t.exports={addSignal:s,removeSignal:c}})),jt=P(((e,t)=>{let n=F(`node:assert`),{finished:r,PassThrough:i}=F(`node:stream`),{InvalidArgumentError:a,InvalidReturnValueError:o}=I(),s=L(),{getResolveErrorBodyCallback:c}=Ot(),{AsyncResource:l}=F(`node:async_hooks`),{addSignal:u,removeSignal:d}=At();var f=class extends l{constructor(e,t,n){if(!e||typeof e!=`object`)throw new a(`invalid opts`);let{signal:r,method:i,opaque:o,body:c,onInfo:l,responseHeaders:d,throwOnError:f}=e;try{if(typeof n!=`function`)throw new a(`invalid callback`);if(typeof t!=`function`)throw new a(`invalid factory`);if(r&&typeof r.on!=`function`&&typeof r.addEventListener!=`function`)throw new a(`signal must be an EventEmitter or EventTarget`);if(i===`CONNECT`)throw new a(`invalid method`);if(l&&typeof l!=`function`)throw new a(`invalid onInfo callback`);super(`UNDICI_STREAM`)}catch(e){throw s.isStream(c)&&s.destroy(c.on(`error`,s.nop),e),e}this.responseHeaders=d||null,this.opaque=o||null,this.factory=t,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=f||!1,s.isStream(c)&&c.on(`error`,e=>{this.onError(e)}),u(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback),this.abort=e,this.context=t}onHeaders(e,t,n,a){let{factory:l,opaque:u,context:d,callback:f,responseHeaders:p}=this,m=p===`raw`?s.parseRawHeaders(t):s.parseHeaders(t);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:m});return}this.factory=null;let h;if(this.throwOnError&&e>=400){let n=(p===`raw`?s.parseHeaders(t):m)[`content-type`];h=new i,this.callback=null,this.runInAsyncScope(c,null,{callback:f,body:h,contentType:n,statusCode:e,statusMessage:a,headers:m})}else{if(l===null)return;if(h=this.runInAsyncScope(l,null,{statusCode:e,headers:m,opaque:u,context:d}),!h||typeof h.write!=`function`||typeof h.end!=`function`||typeof h.on!=`function`)throw new o(`expected Writable`);r(h,{readable:!1},e=>{let{callback:t,res:n,opaque:r,trailers:i,abort:a}=this;this.res=null,(e||!n.readable)&&s.destroy(n,e),this.callback=null,this.runInAsyncScope(t,null,e||null,{opaque:r,trailers:i}),e&&a()})}return h.on(`drain`,n),this.res=h,(h.writableNeedDrain===void 0?h._writableState?.needDrain:h.writableNeedDrain)!==!0}onData(e){let{res:t}=this;return t?t.write(e):!0}onComplete(e){let{res:t}=this;d(this),t&&(this.trailers=s.parseHeaders(e),t.end())}onError(e){let{res:t,callback:n,opaque:r,body:i}=this;d(this),this.factory=null,t?(this.res=null,s.destroy(t,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:r})})),i&&(this.body=null,s.destroy(i,e))}};function p(e,t,n){if(n===void 0)return new Promise((n,r)=>{p.call(this,e,t,(e,t)=>e?r(e):n(t))});try{this.dispatch(e,new f(e,t,n))}catch(t){if(typeof n!=`function`)throw t;let r=e?.opaque;queueMicrotask(()=>n(t,{opaque:r}))}}t.exports=p})),Mt=P(((e,t)=>{let{Readable:n,Duplex:r,PassThrough:i}=F(`node:stream`),{InvalidArgumentError:a,InvalidReturnValueError:o,RequestAbortedError:s}=I(),c=L(),{AsyncResource:l}=F(`node:async_hooks`),{addSignal:u,removeSignal:d}=At(),f=F(`node:assert`),p=Symbol(`resume`);var m=class extends n{constructor(){super({autoDestroy:!0}),this[p]=null}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}},h=class extends n{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){!e&&!this._readableState.endEmitted&&(e=new s),t(e)}},g=class extends l{constructor(e,t){if(!e||typeof e!=`object`)throw new a(`invalid opts`);if(typeof t!=`function`)throw new a(`invalid handler`);let{signal:n,method:i,opaque:o,onInfo:l,responseHeaders:f}=e;if(n&&typeof n.on!=`function`&&typeof n.addEventListener!=`function`)throw new a(`signal must be an EventEmitter or EventTarget`);if(i===`CONNECT`)throw new a(`invalid method`);if(l&&typeof l!=`function`)throw new a(`invalid onInfo callback`);super(`UNDICI_PIPELINE`),this.opaque=o||null,this.responseHeaders=f||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=l||null,this.req=new m().on(`error`,c.nop),this.ret=new r({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,n)=>{let{req:r}=this;r.push(e,t)||r._readableState.destroyed?n():r[p]=n},destroy:(e,t)=>{let{body:n,req:r,res:i,ret:a,abort:o}=this;!e&&!a._readableState.endEmitted&&(e=new s),o&&e&&o(),c.destroy(n,e),c.destroy(r,e),c.destroy(i,e),d(this),t(e)}}).on(`prefinish`,()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,n)}onConnect(e,t){let{ret:n,res:r}=this;if(this.reason){e(this.reason);return}f(!r,`pipeline cannot be retried`),f(!n.destroyed),this.abort=e,this.context=t}onHeaders(e,t,n){let{opaque:r,handler:i,context:a}=this;if(e<200){if(this.onInfo){let n=this.responseHeaders===`raw`?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:n})}return}this.res=new h(n);let l;try{this.handler=null;let n=this.responseHeaders===`raw`?c.parseRawHeaders(t):c.parseHeaders(t);l=this.runInAsyncScope(i,null,{statusCode:e,headers:n,opaque:r,body:this.res,context:a})}catch(e){throw this.res.on(`error`,c.nop),e}if(!l||typeof l.on!=`function`)throw new o(`expected Readable`);l.on(`data`,e=>{let{ret:t,body:n}=this;!t.push(e)&&n.pause&&n.pause()}).on(`error`,e=>{let{ret:t}=this;c.destroy(t,e)}).on(`end`,()=>{let{ret:e}=this;e.push(null)}).on(`close`,()=>{let{ret:e}=this;e._readableState.ended||c.destroy(e,new s)}),this.body=l}onData(e){let{res:t}=this;return t.push(e)}onComplete(e){let{res:t}=this;t.push(null)}onError(e){let{ret:t}=this;this.handler=null,c.destroy(t,e)}};function _(e,t){try{let n=new g(e,t);return this.dispatch({...e,body:n.req},n),n.ret}catch(e){return new i().destroy(e)}}t.exports=_})),Nt=P(((e,t)=>{let{InvalidArgumentError:n,SocketError:r}=I(),{AsyncResource:i}=F(`node:async_hooks`),a=L(),{addSignal:o,removeSignal:s}=At(),c=F(`node:assert`);var l=class extends i{constructor(e,t){if(!e||typeof e!=`object`)throw new n(`invalid opts`);if(typeof t!=`function`)throw new n(`invalid callback`);let{signal:r,opaque:i,responseHeaders:a}=e;if(r&&typeof r.on!=`function`&&typeof r.addEventListener!=`function`)throw new n(`signal must be an EventEmitter or EventTarget`);super(`UNDICI_UPGRADE`),this.responseHeaders=a||null,this.opaque=i||null,this.callback=t,this.abort=null,this.context=null,o(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}c(this.callback),this.abort=e,this.context=null}onHeaders(){throw new r(`bad upgrade`,null)}onUpgrade(e,t,n){c(e===101);let{callback:r,opaque:i,context:o}=this;s(this),this.callback=null;let l=this.responseHeaders===`raw`?a.parseRawHeaders(t):a.parseHeaders(t);this.runInAsyncScope(r,null,null,{headers:l,socket:n,opaque:i,context:o})}onError(e){let{callback:t,opaque:n}=this;s(this),t&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}};function u(e,t){if(t===void 0)return new Promise((t,n)=>{u.call(this,e,(e,r)=>e?n(e):t(r))});try{let n=new l(e,t);this.dispatch({...e,method:e.method||`GET`,upgrade:e.protocol||`Websocket`},n)}catch(n){if(typeof t!=`function`)throw n;let r=e?.opaque;queueMicrotask(()=>t(n,{opaque:r}))}}t.exports=u})),Pt=P(((e,t)=>{let n=F(`node:assert`),{AsyncResource:r}=F(`node:async_hooks`),{InvalidArgumentError:i,SocketError:a}=I(),o=L(),{addSignal:s,removeSignal:c}=At();var l=class extends r{constructor(e,t){if(!e||typeof e!=`object`)throw new i(`invalid opts`);if(typeof t!=`function`)throw new i(`invalid callback`);let{signal:n,opaque:r,responseHeaders:a}=e;if(n&&typeof n.on!=`function`&&typeof n.addEventListener!=`function`)throw new i(`signal must be an EventEmitter or EventTarget`);super(`UNDICI_CONNECT`),this.opaque=r||null,this.responseHeaders=a||null,this.callback=t,this.abort=null,s(this,n)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback),this.abort=e,this.context=t}onHeaders(){throw new a(`bad connect`,null)}onUpgrade(e,t,n){let{callback:r,opaque:i,context:a}=this;c(this),this.callback=null;let s=t;s!=null&&(s=this.responseHeaders===`raw`?o.parseRawHeaders(t):o.parseHeaders(t)),this.runInAsyncScope(r,null,null,{statusCode:e,headers:s,socket:n,opaque:i,context:a})}onError(e){let{callback:t,opaque:n}=this;c(this),t&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}};function u(e,t){if(t===void 0)return new Promise((t,n)=>{u.call(this,e,(e,r)=>e?n(e):t(r))});try{let n=new l(e,t);this.dispatch({...e,method:`CONNECT`},n)}catch(n){if(typeof t!=`function`)throw n;let r=e?.opaque;queueMicrotask(()=>t(n,{opaque:r}))}}t.exports=u})),Ft=P(((e,t)=>{t.exports.request=kt(),t.exports.stream=jt(),t.exports.pipeline=Mt(),t.exports.upgrade=Nt(),t.exports.connect=Pt()})),It=P(((e,t)=>{let{UndiciError:n}=I(),r=Symbol.for(`undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED`);t.exports={MockNotMatchedError:class e extends n{constructor(t){super(t),Error.captureStackTrace(this,e),this.name=`MockNotMatchedError`,this.message=t||`The request does not match any registered mock dispatches`,this.code=`UND_MOCK_ERR_MOCK_NOT_MATCHED`}static[Symbol.hasInstance](e){return e&&e[r]===!0}[r]=!0}}})),Lt=P(((e,t)=>{t.exports={kAgent:Symbol(`agent`),kOptions:Symbol(`options`),kFactory:Symbol(`factory`),kDispatches:Symbol(`dispatches`),kDispatchKey:Symbol(`dispatch key`),kDefaultHeaders:Symbol(`default headers`),kDefaultTrailers:Symbol(`default trailers`),kContentLength:Symbol(`content length`),kMockAgent:Symbol(`mock agent`),kMockAgentSet:Symbol(`mock agent set`),kMockAgentGet:Symbol(`mock agent get`),kMockDispatch:Symbol(`mock dispatch`),kClose:Symbol(`close`),kOriginalClose:Symbol(`original agent close`),kOrigin:Symbol(`origin`),kIsMockActive:Symbol(`is mock active`),kNetConnect:Symbol(`net connect`),kGetNetConnect:Symbol(`get net connect`),kConnected:Symbol(`connected`)}})),Rt=P(((e,t)=>{let{MockNotMatchedError:n}=It(),{kDispatches:r,kMockAgent:i,kOriginalDispatch:a,kOrigin:o,kGetNetConnect:s}=Lt(),{buildURL:c}=L(),{STATUS_CODES:l}=F(`node:http`),{types:{isPromise:u}}=F(`node:util`);function d(e,t){return typeof e==`string`?e===t:e instanceof RegExp?e.test(t):typeof e==`function`?e(t)===!0:!1}function f(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function p(e,t){if(Array.isArray(e)){for(let n=0;n!e).filter(({path:e})=>d(g(e),i));if(a.length===0)throw new n(`Mock dispatch not matched for path '${i}'`);if(a=a.filter(({method:e})=>d(e,t.method)),a.length===0)throw new n(`Mock dispatch not matched for method '${t.method}' on path '${i}'`);if(a=a.filter(({body:e})=>e===void 0?!0:d(e,t.body)),a.length===0)throw new n(`Mock dispatch not matched for body '${t.body}' on path '${i}'`);if(a=a.filter(e=>h(e,t.headers)),a.length===0)throw new n(`Mock dispatch not matched for headers '${typeof t.headers==`object`?JSON.stringify(t.headers):t.headers}' on path '${i}'`);return a[0]}function b(e,t,n){let r={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof n==`function`?{callback:n}:{...n},a={...r,...t,pending:!0,data:{error:null,...i}};return e.push(a),a}function x(e,t){let n=e.findIndex(e=>e.consumed?_(e,t):!1);n!==-1&&e.splice(n,1)}function S(e){let{path:t,method:n,body:r,headers:i,query:a}=e;return{path:t,method:n,body:r,headers:i,query:a}}function C(e){let t=Object.keys(e),n=[];for(let r=0;r=h,i.pending=p0?setTimeout(()=>{g(this[r])},d):g(this[r]);function g(r,i=o){let l=Array.isArray(e.headers)?m(e.headers):e.headers,d=typeof i==`function`?i({...e,headers:l}):i;if(u(d)){d.then(e=>g(r,e));return}let f=v(d),p=C(s),h=C(c);t.onConnect?.(e=>t.onError(e),null),t.onHeaders?.(a,p,_,w(a)),t.onData?.(Buffer.from(f)),t.onComplete?.(h),x(r,n)}function _(){}return!0}function D(){let e=this[i],t=this[o],r=this[a];return function(i,a){if(e.isMockActive)try{E.call(this,i,a)}catch(o){if(o instanceof n){let c=e[s]();if(c===!1)throw new n(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`);if(O(c,t))r.call(this,i,a);else throw new n(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}else throw o}else r.call(this,i,a)}}function O(e,t){let n=new URL(t);return e===!0?!0:!!(Array.isArray(e)&&e.some(e=>d(e,n.host)))}function k(e){if(e){let{agent:t,...n}=e;return n}}t.exports={getResponseData:v,getMockDispatch:y,addMockDispatch:b,deleteMockDispatch:x,buildKey:S,generateKeyValues:C,matchValue:d,getResponse:T,getStatusText:w,mockDispatch:E,buildMockDispatch:D,checkNetConnect:O,buildMockOptions:k,getHeaderByName:p,buildHeadersFromArray:m}})),zt=P(((e,t)=>{let{getResponseData:n,buildKey:r,addMockDispatch:i}=Rt(),{kDispatches:a,kDispatchKey:o,kDefaultHeaders:s,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=Lt(),{InvalidArgumentError:d}=I(),{buildURL:f}=L();var p=class{constructor(e){this[u]=e}delay(e){if(typeof e!=`number`||!Number.isInteger(e)||e<=0)throw new d(`waitInMs must be a valid integer > 0`);return this[u].delay=e,this}persist(){return this[u].persist=!0,this}times(e){if(typeof e!=`number`||!Number.isInteger(e)||e<=0)throw new d(`repeatTimes must be a valid integer > 0`);return this[u].times=e,this}},m=class{constructor(e,t){if(typeof e!=`object`)throw new d(`opts must be an object`);if(e.path===void 0)throw new d(`opts.path must be defined`);if(e.method===void 0&&(e.method=`GET`),typeof e.path==`string`)if(e.query)e.path=f(e.path,e.query);else{let t=new URL(e.path,`data://`);e.path=t.pathname+t.search}typeof e.method==`string`&&(e.method=e.method.toUpperCase()),this[o]=r(e),this[a]=t,this[s]={},this[c]={},this[l]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let i=n(t),a=this[l]?{"content-length":i.length}:{};return{statusCode:e,data:t,headers:{...this[s],...a,...r.headers},trailers:{...this[c],...r.trailers}}}validateReplyParameters(e){if(e.statusCode===void 0)throw new d(`statusCode must be defined`);if(typeof e.responseOptions!=`object`||e.responseOptions===null)throw new d(`responseOptions must be an object`)}reply(e){if(typeof e==`function`)return new p(i(this[a],this[o],t=>{let n=e(t);if(typeof n!=`object`||!n)throw new d(`reply options callback must return an object`);let r={data:``,responseOptions:{},...n};return this.validateReplyParameters(r),{...this.createMockScopeDispatchData(r)}}));let t={statusCode:e,data:arguments[1]===void 0?``:arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(t);let n=this.createMockScopeDispatchData(t);return new p(i(this[a],this[o],n))}replyWithError(e){if(e===void 0)throw new d(`error must be defined`);return new p(i(this[a],this[o],{error:e}))}defaultReplyHeaders(e){if(e===void 0)throw new d(`headers must be defined`);return this[s]=e,this}defaultReplyTrailers(e){if(e===void 0)throw new d(`trailers must be defined`);return this[c]=e,this}replyContentLength(){return this[l]=!0,this}};t.exports.MockInterceptor=m,t.exports.MockScope=p})),Bt=P(((e,t)=>{let{promisify:n}=F(`node:util`),r=gt(),{buildMockDispatch:i}=Rt(),{kDispatches:a,kMockAgent:o,kClose:s,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=Lt(),{MockInterceptor:f}=zt(),p=Ue(),{InvalidArgumentError:m}=I();t.exports=class extends r{constructor(e,t){if(super(e,t),!t||!t.agent||typeof t.agent.dispatch!=`function`)throw new m(`Argument opts.agent must implement Agent`);this[o]=t.agent,this[l]=e,this[a]=[],this[d]=1,this[u]=this.dispatch,this[c]=this.close.bind(this),this.dispatch=i.call(this),this.close=this[s]}get[p.kConnected](){return this[d]}intercept(e){return new f(e,this[a])}async[s](){await n(this[c])(),this[d]=0,this[o][p.kClients].delete(this[l])}}})),Vt=P(((e,t)=>{let{promisify:n}=F(`node:util`),r=bt(),{buildMockDispatch:i}=Rt(),{kDispatches:a,kMockAgent:o,kClose:s,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=Lt(),{MockInterceptor:f}=zt(),p=Ue(),{InvalidArgumentError:m}=I();t.exports=class extends r{constructor(e,t){if(super(e,t),!t||!t.agent||typeof t.agent.dispatch!=`function`)throw new m(`Argument opts.agent must implement Agent`);this[o]=t.agent,this[l]=e,this[a]=[],this[d]=1,this[u]=this.dispatch,this[c]=this.close.bind(this),this.dispatch=i.call(this),this.close=this[s]}get[p.kConnected](){return this[d]}intercept(e){return new f(e,this[a])}async[s](){await n(this[c])(),this[d]=0,this[o][p.kClients].delete(this[l])}}})),Ht=P(((e,t)=>{let n={pronoun:`it`,is:`is`,was:`was`,this:`this`},r={pronoun:`they`,is:`are`,was:`were`,this:`these`};t.exports=class{constructor(e,t){this.singular=e,this.plural=t}pluralize(e){let t=e===1,i=t?n:r,a=t?this.singular:this.plural;return{...i,count:e,noun:a}}}})),Ut=P(((e,t)=>{let{Transform:n}=F(`node:stream`),{Console:r}=F(`node:console`),i=process.versions.icu?`✅`:`Y `,a=process.versions.icu?`❌`:`N `;t.exports=class{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,n){n(null,e)}}),this.logger=new r({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:n},persist:r,times:o,timesInvoked:s,origin:c})=>({Method:e,Origin:c,Path:t,"Status code":n,Persistent:r?i:a,Invocations:s,Remaining:r?1/0:o-s}));return this.logger.table(t),this.transform.read().toString()}}})),Wt=P(((e,t)=>{let{kClients:n}=Ue(),r=St(),{kAgent:i,kMockAgentSet:a,kMockAgentGet:o,kDispatches:s,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:d,kFactory:f}=Lt(),p=Bt(),m=Vt(),{matchValue:h,buildMockOptions:g}=Rt(),{InvalidArgumentError:_,UndiciError:v}=I(),y=Je(),b=Ht(),x=Ut();t.exports=class extends y{constructor(e){if(super(e),this[l]=!0,this[c]=!0,e?.agent&&typeof e.agent.dispatch!=`function`)throw new _(`Argument opts.agent must implement Agent`);let t=e?.agent?e.agent:new r(e);this[i]=t,this[n]=t[n],this[d]=g(e)}get(e){let t=this[o](e);return t||(t=this[f](e),this[a](e,t)),t}dispatch(e,t){return this.get(e.origin),this[i].dispatch(e,t)}async close(){await this[i].close(),this[n].clear()}deactivate(){this[c]=!1}activate(){this[c]=!0}enableNetConnect(e){if(typeof e==`string`||typeof e==`function`||e instanceof RegExp)Array.isArray(this[l])?this[l].push(e):this[l]=[e];else if(e===void 0)this[l]=!0;else throw new _(`Unsupported matcher. Must be one of String|Function|RegExp.`)}disableNetConnect(){this[l]=!1}get isMockActive(){return this[c]}[a](e,t){this[n].set(e,t)}[f](e){let t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new p(e,t):new m(e,t)}[o](e){let t=this[n].get(e);if(t)return t;if(typeof e!=`string`){let t=this[f](`http://localhost:9999`);return this[a](e,t),t}for(let[t,r]of Array.from(this[n]))if(r&&typeof t!=`string`&&h(t,e)){let t=this[f](e);return this[a](e,t),t[s]=r[s],t}}[u](){return this[l]}pendingInterceptors(){let e=this[n];return Array.from(e.entries()).flatMap(([e,t])=>t[s].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new x}={}){let t=this.pendingInterceptors();if(t.length===0)return;let n=new b(`interceptor`,`interceptors`).pluralize(t.length);throw new v(` +`,`latin1`),t!==null&&r!==t){if(n[oe])throw new o;process.emitWarning(new o)}e[y].timeout&&e[y].timeoutType===3&&e[y].timeout.refresh&&e[y].timeout.refresh(),n[de]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(n(r[x]<=1,`pipeline should only contain this request`),i(e))}};t.exports=P})),_t=P(((e,t)=>{let n=F(`node:assert`),{pipeline:r}=F(`node:stream`),i=I(),{RequestContentLengthMismatchError:a,RequestAbortedError:o,SocketError:s,InformationalError:c}=qe(),{kUrl:l,kReset:u,kClient:d,kRunning:f,kPending:p,kQueue:m,kPendingIdx:h,kRunningIdx:g,kError:_,kSocket:v,kStrictContentLength:y,kOnError:b,kMaxConcurrentStreams:x,kHTTP2Session:S,kResume:C,kSize:w,kHTTPContext:T}=Ke(),E=Symbol(`open streams`),D,O=!1,k;try{k=F(`node:http2`)}catch{k={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:A,HTTP2_HEADER_METHOD:j,HTTP2_HEADER_PATH:M,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:N,HTTP2_HEADER_EXPECT:te,HTTP2_HEADER_STATUS:ne}}=k;function re(e){let t=[];for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.push(Buffer.from(n),Buffer.from(e));else t.push(Buffer.from(n),Buffer.from(r));return t}async function ie(e,t){e[v]=t,O||(O=!0,process.emitWarning(`H2 support is experimental, expect them to change at any time.`,{code:`UNDICI-H2`}));let r=k.connect(e[l],{createConnection:()=>t,peerMaxConcurrentStreams:e[x]});r[E]=0,r[d]=e,r[v]=t,i.addListener(r,`error`,oe),i.addListener(r,`frameError`,se),i.addListener(r,`end`,ce),i.addListener(r,`goaway`,le),i.addListener(r,`close`,function(){let{[d]:e}=this,{[v]:t}=e,r=this[v][_]||this[_]||new s(`closed`,i.getSocketInfo(t));if(e[S]=null,e.destroyed){n(e[p]===0);let t=e[m].splice(e[g]);for(let n=0;n{a=!0}),{version:`h2`,defaultPipelining:1/0,write(...t){return de(e,...t)},resume(){ae(e)},destroy(e,n){a?queueMicrotask(n):t.destroy(e).on(`close`,n)},get destroyed(){return t.destroyed},busy(){return!1}}}function ae(e){let t=e[v];t?.destroyed===!1&&(e[w]===0&&e[x]===0?(t.unref(),e[S].unref()):(t.ref(),e[S].ref()))}function oe(e){n(e.code!==`ERR_TLS_CERT_ALTNAME_INVALID`),this[v][_]=e,this[d][b](e)}function se(e,t,n){if(n===0){let n=new c(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[v][_]=n,this[d][b](n)}}function ce(){let e=new s(`other side closed`,i.getSocketInfo(this[v]));this.destroy(e),i.destroy(this[v],e)}function le(e){let t=this[_]||new s(`HTTP/2: "GOAWAY" frame received with code ${e}`,i.getSocketInfo(this)),r=this[d];if(r[v]=null,r[T]=null,this[S]!=null&&(this[S].destroy(t),this[S]=null),i.destroy(this[v],t),r[g]{t.aborted||t.completed||(n||=new o,i.errorRequest(e,t,n),T!=null&&i.destroy(T,n),i.destroy(x,n),e[m][e[g]++]=null,e[C]())};try{t.onConnect(ie)}catch(n){i.errorRequest(e,t,n)}if(t.aborted)return!1;if(s===`CONNECT`)return r.ref(),T=r.request(w,{endStream:!1,signal:_}),T.id&&!T.pending?(t.onUpgrade(null,null,T),++r[E],e[m][e[g]++]=null):T.once(`ready`,()=>{t.onUpgrade(null,null,T),++r[E],e[m][e[g]++]=null}),T.once(`close`,()=>{--r[E],r[E]===0&&r.unref()}),!0;w[M]=u,w[ee]=`https`;let ae=s===`PUT`||s===`POST`||s===`PATCH`;x&&typeof x.read==`function`&&x.read(0);let oe=i.bodyLength(x);if(i.isFormDataLike(x)){D??=ht().extractBody;let[e,t]=D(x);w[`content-type`]=t,x=e.stream,oe=e.length}if(oe??=t.contentLength,(oe===0||!ae)&&(oe=null),ue(s)&&oe>0&&t.contentLength!=null&&t.contentLength!==oe){if(e[y])return i.errorRequest(e,t,new a),!1;process.emitWarning(new a)}oe!=null&&(n(x,`no body must not have content length`),w[N]=`${oe}`),r.ref();let se=s===`GET`||s===`HEAD`||x===null;return p?(w[te]=`100-continue`,T=r.request(w,{endStream:se,signal:_}),T.once(`continue`,ce)):(T=r.request(w,{endStream:se,signal:_}),ce()),++r[E],T.once(`response`,n=>{let{[ne]:r,...a}=n;if(t.onResponseStarted(),t.aborted){let n=new o;i.errorRequest(e,t,n),i.destroy(T,n);return}t.onHeaders(Number(r),re(a),T.resume.bind(T),``)===!1&&T.pause(),T.on(`data`,e=>{t.onData(e)===!1&&T.pause()})}),T.once(`end`,()=>{(T.state?.state==null||T.state.state<6)&&t.onComplete([]),r[E]===0&&r.unref(),ie(new c(`HTTP/2: stream half-closed (remote)`)),e[m][e[g]++]=null,e[h]=e[g],e[C]()}),T.once(`close`,()=>{--r[E],r[E]===0&&r.unref()}),T.once(`error`,function(e){ie(e)}),T.once(`frameError`,(e,t)=>{ie(new c(`HTTP/2: "frameError" received - type ${e}, code ${t}`))}),!0;function ce(){!x||oe===0?fe(ie,T,null,e,t,e[v],oe,ae):i.isBuffer(x)?fe(ie,T,x,e,t,e[v],oe,ae):i.isBlobLike(x)?typeof x.stream==`function`?he(ie,T,x.stream(),e,t,e[v],oe,ae):me(ie,T,x,e,t,e[v],oe,ae):i.isStream(x)?pe(ie,e[v],ae,T,x,e,t,oe):i.isIterable(x)?he(ie,T,x,e,t,e[v],oe,ae):n(!1)}}function fe(e,t,r,a,o,s,c,l){try{r!=null&&i.isBuffer(r)&&(n(c===r.byteLength,`buffer body must have content length`),t.cork(),t.write(r),t.uncork(),t.end(),o.onBodySent(r)),l||(s[u]=!0),o.onRequestSent(),a[C]()}catch(t){e(t)}}function pe(e,t,a,o,s,c,l,d){n(d!==0||c[f]===0,`stream body cannot be pipelined`);let p=r(s,o,n=>{n?(i.destroy(p,n),e(n)):(i.removeAllListeners(p),l.onRequestSent(),a||(t[u]=!0),c[C]())});i.addListener(p,`data`,m);function m(e){l.onBodySent(e)}}async function me(e,t,r,i,o,s,c,l){n(c===r.size,`blob body must have content length`);try{if(c!=null&&c!==r.size)throw new a;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),o.onBodySent(e),o.onRequestSent(),l||(s[u]=!0),i[C]()}catch(t){e(t)}}async function he(e,t,r,i,a,o,s,c){n(s!==0||i[f]===0,`iterator body cannot be pipelined`);let l=null;function d(){if(l){let e=l;l=null,e()}}let p=()=>new Promise((e,t)=>{n(l===null),o[_]?t(o[_]):l=e});t.on(`close`,d).on(`drain`,d);try{for await(let e of r){if(o[_])throw o[_];let n=t.write(e);a.onBodySent(e),n||await p()}t.end(),a.onRequestSent(),c||(o[u]=!0),i[C]()}catch(t){e(t)}finally{t.off(`close`,d).off(`drain`,d)}}t.exports=ie})),vt=P(((e,t)=>{let n=I(),{kBodyUsed:r}=Ke(),i=F(`node:assert`),{InvalidArgumentError:a}=qe(),o=F(`node:events`),s=[300,301,302,303,307,308],c=Symbol(`body`);var l=class{constructor(e){this[c]=e,this[r]=!1}async*[Symbol.asyncIterator](){i(!this[r],`disturbed`),this[r]=!0,yield*this[c]}},u=class{constructor(e,t,s,c){if(t!=null&&(!Number.isInteger(t)||t<0))throw new a(`maxRedirections must be a positive number`);n.validateHandler(c,s.method,s.upgrade),this.dispatch=e,this.location=null,this.abort=null,this.opts={...s,maxRedirections:0},this.maxRedirections=t,this.handler=c,this.history=[],this.redirectionLimitReached=!1,n.isStream(this.opts.body)?(n.bodyLength(this.opts.body)===0&&this.opts.body.on(`data`,function(){i(!1)}),typeof this.opts.body.readableDidRead!=`boolean`&&(this.opts.body[r]=!1,o.prototype.on.call(this.opts.body,`data`,function(){this[r]=!0}))):(this.opts.body&&typeof this.opts.body.pipeTo==`function`||this.opts.body&&typeof this.opts.body!=`string`&&!ArrayBuffer.isView(this.opts.body)&&n.isIterable(this.opts.body))&&(this.opts.body=new l(this.opts.body))}onConnect(e){this.abort=e,this.handler.onConnect(e,{history:this.history})}onUpgrade(e,t,n){this.handler.onUpgrade(e,t,n)}onError(e){this.handler.onError(e)}onHeaders(e,t,r,i){if(this.location=this.history.length>=this.maxRedirections||n.isDisturbed(this.opts.body)?null:d(e,t),this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){this.request&&this.request.abort(Error(`max redirects`)),this.redirectionLimitReached=!0,this.abort(Error(`max redirects`));return}if(this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return this.handler.onHeaders(e,t,r,i);let{origin:a,pathname:o,search:s}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),c=s?`${o}${s}`:o;this.opts.headers=p(this.opts.headers,e===303,this.opts.origin!==a),this.opts.path=c,this.opts.origin=a,this.opts.maxRedirections=0,this.opts.query=null,e===303&&this.opts.method!==`HEAD`&&(this.opts.method=`GET`,this.opts.body=null)}onData(e){if(!this.location)return this.handler.onData(e)}onComplete(e){this.location?(this.location=null,this.abort=null,this.dispatch(this.opts,this)):this.handler.onComplete(e)}onBodySent(e){this.handler.onBodySent&&this.handler.onBodySent(e)}};function d(e,t){if(s.indexOf(e)===-1)return null;for(let e=0;e{let n=vt();function r({maxRedirections:e}){return t=>function(r,i){let{maxRedirections:a=e}=r;if(!a)return t(r,i);let o=new n(t,a,r,i);return r={...r,maxRedirections:0},t(r,o)}}t.exports=r})),bt=P(((e,t)=>{let n=F(`node:assert`),r=F(`node:net`),i=F(`node:http`),a=I(),{channels:o}=Xe(),s=Ze(),c=$e(),{InvalidArgumentError:l,InformationalError:u,ClientDestroyedError:d}=qe(),f=tt(),{kUrl:p,kServerName:m,kClient:h,kBusy:g,kConnect:_,kResuming:v,kRunning:y,kPending:b,kSize:x,kQueue:S,kConnected:C,kConnecting:w,kNeedDrain:T,kKeepAliveDefaultTimeout:E,kHostHeader:D,kPendingIdx:O,kRunningIdx:k,kError:A,kPipelining:j,kKeepAliveTimeoutValue:M,kMaxHeadersSize:ee,kKeepAliveMaxTimeout:N,kKeepAliveTimeoutThreshold:te,kHeadersTimeout:ne,kBodyTimeout:re,kStrictContentLength:ie,kConnector:ae,kMaxRedirections:oe,kMaxRequests:se,kCounter:ce,kClose:le,kDestroy:ue,kDispatch:de,kInterceptors:fe,kLocalAddress:pe,kMaxResponseSize:me,kOnError:he,kHTTPContext:ge,kMaxConcurrentStreams:_e,kResume:ve}=Ke(),ye=gt(),be=_t(),xe=!1,Se=Symbol(`kClosedResolve`),Ce=()=>{};function we(e){return e[j]??e[ge]?.defaultPipelining??1}var Te=class extends c{constructor(e,{interceptors:t,maxHeaderSize:n,headersTimeout:o,socketTimeout:s,requestTimeout:c,connectTimeout:u,bodyTimeout:d,idleTimeout:h,keepAlive:g,keepAliveTimeout:_,maxKeepAliveTimeout:y,keepAliveMaxTimeout:b,keepAliveTimeoutThreshold:x,socketPath:C,pipelining:w,tls:A,strictContentLength:ce,maxCachedSessions:le,maxRedirections:ue,connect:de,maxRequestsPerClient:ye,localAddress:be,maxResponseSize:Ce,autoSelectFamily:we,autoSelectFamilyAttemptTimeout:Te,maxConcurrentStreams:P,allowH2:Oe,webSocket:Ae}={}){if(super({webSocket:Ae}),g!==void 0)throw new l(`unsupported keepAlive, use pipelining=0 instead`);if(s!==void 0)throw new l(`unsupported socketTimeout, use headersTimeout & bodyTimeout instead`);if(c!==void 0)throw new l(`unsupported requestTimeout, use headersTimeout & bodyTimeout instead`);if(h!==void 0)throw new l(`unsupported idleTimeout, use keepAliveTimeout instead`);if(y!==void 0)throw new l(`unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead`);if(n!=null&&!Number.isFinite(n))throw new l(`invalid maxHeaderSize`);if(C!=null&&typeof C!=`string`)throw new l(`invalid socketPath`);if(u!=null&&(!Number.isFinite(u)||u<0))throw new l(`invalid connectTimeout`);if(_!=null&&(!Number.isFinite(_)||_<=0))throw new l(`invalid keepAliveTimeout`);if(b!=null&&(!Number.isFinite(b)||b<=0))throw new l(`invalid keepAliveMaxTimeout`);if(x!=null&&!Number.isFinite(x))throw new l(`invalid keepAliveTimeoutThreshold`);if(o!=null&&(!Number.isInteger(o)||o<0))throw new l(`headersTimeout must be a positive integer or zero`);if(d!=null&&(!Number.isInteger(d)||d<0))throw new l(`bodyTimeout must be a positive integer or zero`);if(de!=null&&typeof de!=`function`&&typeof de!=`object`)throw new l(`connect must be a function or an object`);if(ue!=null&&(!Number.isInteger(ue)||ue<0))throw new l(`maxRedirections must be a positive number`);if(ye!=null&&(!Number.isInteger(ye)||ye<0))throw new l(`maxRequestsPerClient must be a positive number`);if(be!=null&&(typeof be!=`string`||r.isIP(be)===0))throw new l(`localAddress must be valid string IP address`);if(Ce!=null&&(!Number.isInteger(Ce)||Ce<-1))throw new l(`maxResponseSize must be a positive number`);if(Te!=null&&(!Number.isInteger(Te)||Te<-1))throw new l(`autoSelectFamilyAttemptTimeout must be a positive number`);if(Oe!=null&&typeof Oe!=`boolean`)throw new l(`allowH2 must be a valid boolean value`);if(P!=null&&(typeof P!=`number`||P<1))throw new l(`maxConcurrentStreams must be a positive integer, greater than 0`);typeof de!=`function`&&(de=f({...A,maxCachedSessions:le,allowH2:Oe,socketPath:C,timeout:u,...we?{autoSelectFamily:we,autoSelectFamilyAttemptTimeout:Te}:void 0,...de})),t?.Client&&Array.isArray(t.Client)?(this[fe]=t.Client,xe||(xe=!0,process.emitWarning(`Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.`,{code:`UNDICI-CLIENT-INTERCEPTOR-DEPRECATED`}))):this[fe]=[Ee({maxRedirections:ue})],this[p]=a.parseOrigin(e),this[ae]=de,this[j]=w??1,this[ee]=n||i.maxHeaderSize,this[E]=_??4e3,this[N]=b??6e5,this[te]=x??2e3,this[M]=this[E],this[m]=null,this[pe]=be??null,this[v]=0,this[T]=0,this[D]=`host: ${this[p].hostname}${this[p].port?`:${this[p].port}`:``}\r\n`,this[re]=d??3e5,this[ne]=o??3e5,this[ie]=ce??!0,this[oe]=ue,this[se]=ye,this[Se]=null,this[me]=Ce>-1?Ce:-1,this[_e]=P??100,this[ge]=null,this[S]=[],this[k]=0,this[O]=0,this[ve]=e=>ke(this,e),this[he]=e=>De(this,e)}get pipelining(){return this[j]}set pipelining(e){this[j]=e,this[ve](!0)}get[b](){return this[S].length-this[O]}get[y](){return this[O]-this[k]}get[x](){return this[S].length-this[k]}get[C](){return!!this[ge]&&!this[w]&&!this[ge].destroyed}get[g](){return!!(this[ge]?.busy(null)||this[x]>=(we(this)||1)||this[b]>0)}[_](e){P(this),this.once(`connect`,e)}[de](e,t){let n=new s(e.origin||this[p].origin,e,t);return this[S].push(n),this[v]||(a.bodyLength(n.body)==null&&a.isIterable(n.body)?(this[v]=1,queueMicrotask(()=>ke(this))):this[ve](!0)),this[v]&&this[T]!==2&&this[g]&&(this[T]=2),this[T]<2}async[le](){return new Promise(e=>{this[x]?this[Se]=e:e(null)})}async[ue](e){return new Promise(t=>{let n=this[S].splice(this[O]);for(let t=0;t{this[Se]&&(this[Se](),this[Se]=null),t(null)};this[ge]?(this[ge].destroy(e,r),this[ge]=null):queueMicrotask(r),this[ve]()})}};let Ee=yt();function De(e,t){if(e[y]===0&&t.code!==`UND_ERR_INFO`&&t.code!==`UND_ERR_SOCKET`){n(e[O]===e[k]);let r=e[S].splice(e[k]);for(let n=0;n{e[ae]({host:t,hostname:i,protocol:s,port:c,servername:e[m],localAddress:e[pe]},(e,t)=>{e?r(e):n(t)})});if(e.destroyed){a.destroy(r.on(`error`,Ce),new d);return}n(r);try{e[ge]=r.alpnProtocol===`h2`?await be(e,r):await ye(e,r)}catch(e){throw r.destroy().on(`error`,Ce),e}e[w]=!1,r[ce]=0,r[se]=e[se],r[h]=e,r[A]=null,o.connected.hasSubscribers&&o.connected.publish({connectParams:{host:t,hostname:i,protocol:s,port:c,version:e[ge]?.version,servername:e[m],localAddress:e[pe]},connector:e[ae],socket:r}),e.emit(`connect`,e[p],[e])}catch(r){if(e.destroyed)return;if(e[w]=!1,o.connectError.hasSubscribers&&o.connectError.publish({connectParams:{host:t,hostname:i,protocol:s,port:c,version:e[ge]?.version,servername:e[m],localAddress:e[pe]},connector:e[ae],error:r}),r.code===`ERR_TLS_CERT_ALTNAME_INVALID`)for(n(e[y]===0);e[b]>0&&e[S][e[O]].servername===e[m];){let t=e[S][e[O]++];a.errorRequest(e,t,r)}else De(e,r);e.emit(`connectionError`,e[p],[e],r)}e[ve]()}function Oe(e){e[T]=0,e.emit(`drain`,e[p],[e])}function ke(e,t){e[v]!==2&&(e[v]=2,Ae(e,t),e[v]=0,e[k]>256&&(e[S].splice(0,e[k]),e[O]-=e[k],e[k]=0))}function Ae(e,t){for(;;){if(e.destroyed){n(e[b]===0);return}if(e[Se]&&!e[x]){e[Se](),e[Se]=null;return}if(e[ge]&&e[ge].resume(),e[g])e[T]=2;else if(e[T]===2){t?(e[T]=1,queueMicrotask(()=>Oe(e))):Oe(e);continue}if(e[b]===0||e[y]>=(we(e)||1))return;let r=e[S][e[O]];if(e[p].protocol===`https:`&&e[m]!==r.servername){if(e[y]>0)return;e[m]=r.servername,e[ge]?.destroy(new u(`servername changed`),()=>{e[ge]=null,ke(e)})}if(e[w])return;if(!e[ge]){P(e);return}if(e[ge].destroyed||e[ge].busy(r))return;!r.aborted&&e[ge].write(r)?e[O]++:e[S].splice(e[O],1)}}t.exports=Te})),xt=P(((e,t)=>{let n=2048,r=n-1;var i=class{constructor(){this.bottom=0,this.top=0,this.list=Array(n),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&r)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&r}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&r,e)}};t.exports=class{constructor(){this.head=this.tail=new i}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new i),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),t}}})),St=P(((e,t)=>{let{kFree:n,kConnected:r,kPending:i,kQueued:a,kRunning:o,kSize:s}=Ke(),c=Symbol(`pool`);t.exports=class{constructor(e){this[c]=e}get connected(){return this[c][r]}get free(){return this[c][n]}get pending(){return this[c][i]}get queued(){return this[c][a]}get running(){return this[c][o]}get size(){return this[c][s]}}})),Ct=P(((e,t)=>{let n=$e(),r=xt(),{kConnected:i,kSize:a,kRunning:o,kPending:s,kQueued:c,kBusy:l,kFree:u,kUrl:d,kClose:f,kDestroy:p,kDispatch:m}=Ke(),h=St(),g=Symbol(`clients`),_=Symbol(`needDrain`),v=Symbol(`queue`),y=Symbol(`closed resolve`),b=Symbol(`onDrain`),x=Symbol(`onConnect`),S=Symbol(`onDisconnect`),C=Symbol(`onConnectionError`),w=Symbol(`get dispatcher`),T=Symbol(`add client`),E=Symbol(`remove client`),D=Symbol(`stats`);t.exports={PoolBase:class extends n{constructor(e){super(e),this[v]=new r,this[g]=[],this[c]=0;let t=this;this[b]=function(e,n){let r=t[v],i=!1;for(;!i;){let e=r.shift();if(!e)break;t[c]--,i=!this.dispatch(e.opts,e.handler)}this[_]=i,!this[_]&&t[_]&&(t[_]=!1,t.emit(`drain`,e,[t,...n])),t[y]&&r.isEmpty()&&Promise.all(t[g].map(e=>e.close())).then(t[y])},this[x]=(e,n)=>{t.emit(`connect`,e,[t,...n])},this[S]=(e,n,r)=>{t.emit(`disconnect`,e,[t,...n],r)},this[C]=(e,n,r)=>{t.emit(`connectionError`,e,[t,...n],r)},this[D]=new h(this)}get[l](){return this[_]}get[i](){return this[g].filter(e=>e[i]).length}get[u](){return this[g].filter(e=>e[i]&&!e[_]).length}get[s](){let e=this[c];for(let{[s]:t}of this[g])e+=t;return e}get[o](){let e=0;for(let{[o]:t}of this[g])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[g])e+=t;return e}get stats(){return this[D]}async[f](){this[v].isEmpty()?await Promise.all(this[g].map(e=>e.close())):await new Promise(e=>{this[y]=e})}async[p](e){for(;;){let t=this[v].shift();if(!t)break;t.handler.onError(e)}await Promise.all(this[g].map(t=>t.destroy(e)))}[m](e,t){let n=this[w]();return n?n.dispatch(e,t)||(n[_]=!0,this[_]=!this[w]()):(this[_]=!0,this[v].push({opts:e,handler:t}),this[c]++),!this[_]}[T](e){return e.on(`drain`,this[b]).on(`connect`,this[x]).on(`disconnect`,this[S]).on(`connectionError`,this[C]),this[g].push(e),this[_]&&queueMicrotask(()=>{this[_]&&this[b](e[d],[this,e])}),this}[E](e){e.close(()=>{let t=this[g].indexOf(e);t!==-1&&this[g].splice(t,1)}),this[_]=this[g].some(e=>!e[_]&&e.closed!==!0&&e.destroyed!==!0)}},kClients:g,kNeedDrain:_,kAddClient:T,kRemoveClient:E,kGetDispatcher:w}})),wt=P(((e,t)=>{let{PoolBase:n,kClients:r,kNeedDrain:i,kAddClient:a,kGetDispatcher:o}=Ct(),s=bt(),{InvalidArgumentError:c}=qe(),l=I(),{kUrl:u,kInterceptors:d}=Ke(),f=tt(),p=Symbol(`options`),m=Symbol(`connections`),h=Symbol(`factory`);function g(e,t){return new s(e,t)}t.exports=class extends n{constructor(e,{connections:t,factory:n=g,connect:i,connectTimeout:a,tls:o,maxCachedSessions:s,socketPath:_,autoSelectFamily:v,autoSelectFamilyAttemptTimeout:y,allowH2:b,...x}={}){if(t!=null&&(!Number.isFinite(t)||t<0))throw new c(`invalid connections`);if(typeof n!=`function`)throw new c(`factory must be a function.`);if(i!=null&&typeof i!=`function`&&typeof i!=`object`)throw new c(`connect must be a function or an object`);typeof i!=`function`&&(i=f({...o,maxCachedSessions:s,allowH2:b,socketPath:_,timeout:a,...v?{autoSelectFamily:v,autoSelectFamilyAttemptTimeout:y}:void 0,...i})),super(x),this[d]=x.interceptors?.Pool&&Array.isArray(x.interceptors.Pool)?x.interceptors.Pool:[],this[m]=t||null,this[u]=l.parseOrigin(e),this[p]={...l.deepClone(x),connect:i,allowH2:b},this[p].interceptors=x.interceptors?{...x.interceptors}:void 0,this[h]=n,this.on(`connectionError`,(e,t,n)=>{for(let e of t){let t=this[r].indexOf(e);t!==-1&&this[r].splice(t,1)}})}[o](){for(let e of this[r])if(!e[i])return e;if(!this[m]||this[r].length{let{BalancedPoolMissingUpstreamError:n,InvalidArgumentError:r}=qe(),{PoolBase:i,kClients:a,kNeedDrain:o,kAddClient:s,kRemoveClient:c,kGetDispatcher:l}=Ct(),u=wt(),{kUrl:d,kInterceptors:f}=Ke(),{parseOrigin:p}=I(),m=Symbol(`factory`),h=Symbol(`options`),g=Symbol(`kGreatestCommonDivisor`),_=Symbol(`kCurrentWeight`),v=Symbol(`kIndex`),y=Symbol(`kWeight`),b=Symbol(`kMaxWeightPerServer`),x=Symbol(`kErrorPenalty`);function S(e,t){if(e===0)return t;for(;t!==0;){let n=t;t=e%t,e=n}return e}function C(e,t){return new u(e,t)}t.exports=class extends i{constructor(e=[],{factory:t=C,...n}={}){if(super(),this[h]=n,this[v]=-1,this[_]=0,this[b]=this[h].maxWeightPerServer||100,this[x]=this[h].errorPenalty||15,Array.isArray(e)||(e=[e]),typeof t!=`function`)throw new r(`factory must be a function.`);this[f]=n.interceptors?.BalancedPool&&Array.isArray(n.interceptors.BalancedPool)?n.interceptors.BalancedPool:[],this[m]=t;for(let t of e)this.addUpstream(t);this._updateBalancedPoolStats()}addUpstream(e){let t=p(e).origin;if(this[a].find(e=>e[d].origin===t&&e.closed!==!0&&e.destroyed!==!0))return this;let n=this[m](t,Object.assign({},this[h]));this[s](n),n.on(`connect`,()=>{n[y]=Math.min(this[b],n[y]+this[x])}),n.on(`connectionError`,()=>{n[y]=Math.max(1,n[y]-this[x]),this._updateBalancedPoolStats()}),n.on(`disconnect`,(...e)=>{let t=e[2];t&&t.code===`UND_ERR_SOCKET`&&(n[y]=Math.max(1,n[y]-this[x]),this._updateBalancedPoolStats())});for(let e of this[a])e[y]=this[b];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;te[d].origin===t&&e.closed!==!0&&e.destroyed!==!0);return n&&this[c](n),this}get upstreams(){return this[a].filter(e=>e.closed!==!0&&e.destroyed!==!0).map(e=>e[d].origin)}[l](){if(this[a].length===0)throw new n;if(!this[a].find(e=>!e[o]&&e.closed!==!0&&e.destroyed!==!0)||this[a].map(e=>e[o]).reduce((e,t)=>e&&t,!0))return;let e=0,t=this[a].findIndex(e=>!e[o]);for(;e++this[a][t][y]&&!e[o]&&(t=this[v]),this[v]===0&&(this[_]=this[_]-this[g],this[_]<=0&&(this[_]=this[b])),e[y]>=this[_]&&!e[o])return e}return this[_]=this[a][t][y],this[v]=t,this[a][t]}}})),Et=P(((e,t)=>{let{InvalidArgumentError:n}=qe(),{kClients:r,kRunning:i,kClose:a,kDestroy:o,kDispatch:s,kInterceptors:c}=Ke(),l=$e(),u=wt(),d=bt(),f=I(),p=yt(),m=Symbol(`onConnect`),h=Symbol(`onDisconnect`),g=Symbol(`onConnectionError`),_=Symbol(`maxRedirections`),v=Symbol(`onDrain`),y=Symbol(`factory`),b=Symbol(`options`);function x(e,t){return t&&t.connections===1?new d(e,t):new u(e,t)}t.exports=class extends l{constructor({factory:e=x,maxRedirections:t=0,connect:i,...a}={}){if(typeof e!=`function`)throw new n(`factory must be a function.`);if(i!=null&&typeof i!=`function`&&typeof i!=`object`)throw new n(`connect must be a function or an object`);if(!Number.isInteger(t)||t<0)throw new n(`maxRedirections must be a positive number`);super(a),i&&typeof i!=`function`&&(i={...i}),this[c]=a.interceptors?.Agent&&Array.isArray(a.interceptors.Agent)?a.interceptors.Agent:[p({maxRedirections:t})],this[b]={...f.deepClone(a),connect:i},this[b].interceptors=a.interceptors?{...a.interceptors}:void 0,this[_]=t,this[y]=e,this[r]=new Map,this[v]=(e,t)=>{this.emit(`drain`,e,[this,...t])},this[m]=(e,t)=>{this.emit(`connect`,e,[this,...t])},this[h]=(e,t,n)=>{this.emit(`disconnect`,e,[this,...t],n)},this[g]=(e,t,n)=>{this.emit(`connectionError`,e,[this,...t],n)}}get[i](){let e=0;for(let t of this[r].values())e+=t[i];return e}[s](e,t){let i;if(e.origin&&(typeof e.origin==`string`||e.origin instanceof URL))i=String(e.origin);else throw new n(`opts.origin must be a non-empty string or URL.`);let a=this[r].get(i);return a||(a=this[y](e.origin,this[b]).on(`drain`,this[v]).on(`connect`,this[m]).on(`disconnect`,this[h]).on(`connectionError`,this[g]),this[r].set(i,a)),a.dispatch(e,t)}async[a](){let e=[];for(let t of this[r].values())e.push(t.close());this[r].clear(),await Promise.all(e)}async[o](e){let t=[];for(let n of this[r].values())t.push(n.destroy(e));this[r].clear(),await Promise.all(t)}}})),Dt=P(((e,t)=>{let{kProxy:n,kClose:r,kDestroy:i,kDispatch:a,kInterceptors:o}=Ke(),{URL:s}=F(`node:url`),c=Et(),l=wt(),u=$e(),{InvalidArgumentError:d,RequestAbortedError:f,SecureProxyConnectionError:p}=qe(),m=tt(),h=bt(),g=Symbol(`proxy agent`),_=Symbol(`proxy client`),v=Symbol(`proxy headers`),y=Symbol(`request tls settings`),b=Symbol(`proxy tls settings`),x=Symbol(`connect endpoint function`),S=Symbol(`tunnel proxy`);function C(e){return e===`https:`?443:80}function w(e,t){return new l(e,t)}let T=()=>{};function E(e,t){return t.connections===1?new h(e,t):new l(e,t)}var D=class extends u{#e;constructor(e,{headers:t={},connect:n,factory:r}){if(super(),!e)throw new d(`Proxy URL is mandatory`);this[v]=t,r?this.#e=r(e,{connect:n}):this.#e=new h(e,{connect:n})}[a](e,t){let n=t.onHeaders;t.onHeaders=function(e,r,i){if(e===407){typeof t.onError==`function`&&t.onError(new d(`Proxy Authentication Required (407)`));return}n&&n.call(this,e,r,i)};let{origin:r,path:i=`/`,headers:o={}}=e;if(e.path=r+i,!(`host`in o)&&!(`Host`in o)){let{host:e}=new s(r);o.host=e}return e.headers={...this[v],...o},this.#e[a](e,t)}async[r](){return this.#e.close()}async[i](e){return this.#e.destroy(e)}},O=class extends u{constructor(e){if(super(),!e||typeof e==`object`&&!(e instanceof s)&&!e.uri)throw new d(`Proxy uri is mandatory`);let{clientFactory:t=w}=e;if(typeof t!=`function`)throw new d(`Proxy opts.clientFactory must be a function.`);let{proxyTunnel:r=!0}=e,i=this.#e(e),{href:a,origin:l,port:u,protocol:h,username:O,password:k,hostname:A}=i;if(this[n]={uri:a,protocol:h},this[o]=e.interceptors?.ProxyAgent&&Array.isArray(e.interceptors.ProxyAgent)?e.interceptors.ProxyAgent:[],this[y]=e.requestTls,this[b]=e.proxyTls,this[v]=e.headers||{},this[S]=r,e.auth&&e.token)throw new d(`opts.auth cannot be used in combination with opts.token`);e.auth?this[v][`proxy-authorization`]=`Basic ${e.auth}`:e.token?this[v][`proxy-authorization`]=e.token:O&&k&&(this[v][`proxy-authorization`]=`Basic ${Buffer.from(`${decodeURIComponent(O)}:${decodeURIComponent(k)}`).toString(`base64`)}`);let j=m({...e.proxyTls});this[x]=m({...e.requestTls});let M=e.factory||E,ee=(e,t)=>{let{protocol:r}=new s(e);return!this[S]&&r===`http:`&&this[n].protocol===`http:`?new D(this[n].uri,{headers:this[v],connect:j,factory:M}):M(e,t)};this[_]=t(i,{connect:j}),this[g]=new c({...e,factory:ee,connect:async(e,t)=>{let n=e.host;e.port||(n+=`:${C(e.protocol)}`);try{let{socket:r,statusCode:i}=await this[_].connect({origin:l,port:u,path:n,signal:e.signal,headers:{...this[v],host:e.host},servername:this[b]?.servername||A});if(i!==200&&(r.on(`error`,T).destroy(),t(new f(`Proxy response (${i}) !== 200 when HTTP Tunneling`))),e.protocol!==`https:`){t(null,r);return}let a;a=this[y]?this[y].servername:e.servername,this[x]({...e,servername:a,httpSocket:r},t)}catch(e){e.code===`ERR_TLS_CERT_ALTNAME_INVALID`?t(new p(e)):t(e)}}})}dispatch(e,t){let n=k(e.headers);if(A(n),n&&!(`host`in n)&&!(`Host`in n)){let{host:t}=new s(e.origin);n.host=t}return this[g].dispatch({...e,headers:n},t)}#e(e){return typeof e==`string`?new s(e):e instanceof s?e:new s(e.uri)}async[r](){await this[g].close(),await this[_].close()}async[i](){await this[g].destroy(),await this[_].destroy()}};function k(e){if(Array.isArray(e)){let t={};for(let n=0;ne.toLowerCase()===`proxy-authorization`))throw new d(`Proxy-Authorization should be sent in ProxyAgent constructor`)}t.exports=O})),Ot=P(((e,t)=>{let n=$e(),{kClose:r,kDestroy:i,kClosed:a,kDestroyed:o,kDispatch:s,kNoProxyAgent:c,kHttpProxyAgent:l,kHttpsProxyAgent:u}=Ke(),d=Dt(),f=Et(),p={"http:":80,"https:":443},m=!1;t.exports=class extends n{#e=null;#t=null;#n=null;constructor(e={}){super(),this.#n=e,m||(m=!0,process.emitWarning(`EnvHttpProxyAgent is experimental, expect them to change at any time.`,{code:`UNDICI-EHPA`}));let{httpProxy:t,httpsProxy:n,noProxy:r,...i}=e;this[c]=new f(i);let a=t??process.env.http_proxy??process.env.HTTP_PROXY;a?this[l]=new d({...i,uri:a}):this[l]=this[c];let o=n??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[u]=new d({...i,uri:o}):this[u]=this[l],this.#a()}[s](e,t){let n=new URL(e.origin);return this.#r(n).dispatch(e,t)}async[r](){await this[c].close(),this[l][a]||await this[l].close(),this[u][a]||await this[u].close()}async[i](e){await this[c].destroy(e),this[l][o]||await this[l].destroy(e),this[u][o]||await this[u].destroy(e)}#r(e){let{protocol:t,host:n,port:r}=e;return n=n.replace(/:\d*$/,``).toLowerCase(),r=Number.parseInt(r,10)||p[t]||0,this.#i(n,r)?t===`https:`?this[u]:this[l]:this[c]}#i(e,t){if(this.#o&&this.#a(),this.#t.length===0)return!0;if(this.#e===`*`)return!1;for(let n=0;n{let n=F(`node:assert`),{kRetryHandlerDefaultRetry:r}=Ke(),{RequestRetryError:i}=qe(),{isDisturbed:a,parseHeaders:o,parseRangeHeader:s,wrapRequestBody:c}=I();function l(e){let t=Date.now();return new Date(e).getTime()-t}t.exports=class e{constructor(t,n){let{retryOptions:i,...a}=t,{retry:o,maxRetries:s,maxTimeout:l,minTimeout:u,timeoutFactor:d,methods:f,errorCodes:p,retryAfter:m,statusCodes:h}=i??{};this.dispatch=n.dispatch,this.handler=n.handler,this.opts={...a,body:c(t.body)},this.abort=null,this.aborted=!1,this.retryOpts={retry:o??e[r],retryAfter:m??!0,maxTimeout:l??30*1e3,minTimeout:u??500,timeoutFactor:d??2,maxRetries:s??5,methods:f??[`GET`,`HEAD`,`OPTIONS`,`PUT`,`DELETE`,`TRACE`],statusCodes:h??[500,502,503,504,429],errorCodes:p??[`ECONNRESET`,`ECONNREFUSED`,`ENOTFOUND`,`ENETDOWN`,`ENETUNREACH`,`EHOSTDOWN`,`EHOSTUNREACH`,`EPIPE`,`UND_ERR_SOCKET`]},this.retryCount=0,this.retryCountCheckpoint=0,this.start=0,this.end=null,this.etag=null,this.resume=null,this.handler.onConnect(e=>{this.aborted=!0,this.abort?this.abort(e):this.reason=e})}onRequestSent(){this.handler.onRequestSent&&this.handler.onRequestSent()}onUpgrade(e,t,n){this.handler.onUpgrade&&this.handler.onUpgrade(e,t,n)}onConnect(e){this.aborted?e(this.reason):this.abort=e}onBodySent(e){if(this.handler.onBodySent)return this.handler.onBodySent(e)}static[r](e,{state:t,opts:n},r){let{statusCode:i,code:a,headers:o}=e,{method:s,retryOptions:c}=n,{maxRetries:u,minTimeout:d,maxTimeout:f,timeoutFactor:p,statusCodes:m,errorCodes:h,methods:g}=c,{counter:_}=t;if(a&&a!==`UND_ERR_REQ_RETRY`&&!h.includes(a)){r(e);return}if(Array.isArray(g)&&!g.includes(s)){r(e);return}if(i!=null&&Array.isArray(m)&&!m.includes(i)){r(e);return}if(_>u){r(e);return}let v=o?.[`retry-after`];v&&=(v=Number(v),Number.isNaN(v)?l(v):v*1e3);let y=Math.min(v>0?v:d*p**(_-1),f);setTimeout(()=>r(null),y)}onHeaders(e,t,r,a){let c=o(t);if(this.retryCount+=1,e>=300)return this.retryOpts.statusCodes.includes(e)===!1?this.handler.onHeaders(e,t,r,a):(this.abort(new i(`Request failed`,e,{headers:c,data:{count:this.retryCount}})),!1);if(this.resume!=null){if(this.resume=null,e!==206&&(this.start>0||e!==200))return this.abort(new i(`server does not support the range header and the payload was partially consumed`,e,{headers:c,data:{count:this.retryCount}})),!1;let t=s(c[`content-range`]);if(!t)return this.abort(new i(`Content-Range mismatch`,e,{headers:c,data:{count:this.retryCount}})),!1;if(this.etag!=null&&this.etag!==c.etag)return this.abort(new i(`ETag mismatch`,e,{headers:c,data:{count:this.retryCount}})),!1;let{start:a,size:o,end:l=o-1}=t;return n(this.start===a,`content-range mismatch`),n(this.end==null||this.end===l,`content-range mismatch`),this.resume=r,!0}if(this.end==null){if(e===206){let i=s(c[`content-range`]);if(i==null)return this.handler.onHeaders(e,t,r,a);let{start:o,size:l,end:u=l-1}=i;n(o!=null&&Number.isFinite(o),`content-range mismatch`),n(u!=null&&Number.isFinite(u),`invalid content-length`),this.start=o,this.end=u}if(this.end==null){let e=c[`content-length`];this.end=e==null?null:Number(e)-1}return n(Number.isFinite(this.start)),n(this.end==null||Number.isFinite(this.end),`invalid content-length`),this.resume=r,this.etag=c.etag==null?null:c.etag,this.etag!=null&&this.etag.startsWith(`W/`)&&(this.etag=null),this.handler.onHeaders(e,t,r,a)}let l=new i(`Request failed`,e,{headers:c,data:{count:this.retryCount}});return this.abort(l),!1}onData(e){return this.start+=e.length,this.handler.onData(e)}onComplete(e){return this.retryCount=0,this.handler.onComplete(e)}onError(e){if(this.aborted||a(this.opts.body))return this.handler.onError(e);this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(e,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},t.bind(this));function t(e){if(e!=null||this.aborted||a(this.opts.body))return this.handler.onError(e);if(this.start!==0){let e={range:`bytes=${this.start}-${this.end??``}`};this.etag!=null&&(e[`if-match`]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onError(e)}}}}})),At=P(((e,t)=>{let n=Qe(),r=kt();t.exports=class extends n{#e=null;#t=null;constructor(e,t={}){super(t),this.#e=e,this.#t=t}dispatch(e,t){let n=new r({...e,retryOptions:this.#t},{dispatch:this.#e.dispatch.bind(this.#e),handler:t});return this.#e.dispatch(e,n)}close(){return this.#e.close()}destroy(){return this.#e.destroy()}}})),jt=P(((e,t)=>{let n=F(`node:assert`),{Readable:r}=F(`node:stream`),{RequestAbortedError:i,NotSupportedError:a,InvalidArgumentError:o,AbortError:s}=qe(),c=I(),{ReadableStreamFrom:l}=I(),u=Symbol(`kConsume`),d=Symbol(`kReading`),f=Symbol(`kBody`),p=Symbol(`kAbort`),m=Symbol(`kContentType`),h=Symbol(`kContentLength`),g=()=>{};var _=class extends r{constructor({resume:e,abort:t,contentType:n=``,contentLength:r,highWaterMark:i=64*1024}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[p]=t,this[u]=null,this[f]=null,this[m]=n,this[h]=r,this[d]=!1}destroy(e){return!e&&!this._readableState.endEmitted&&(e=new i),e&&this[p](),super.destroy(e)}_destroy(e,t){this[d]?t(e):setImmediate(()=>{t(e)})}on(e,...t){return(e===`data`||e===`readable`)&&(this[d]=!0),super.on(e,...t)}addListener(e,...t){return this.on(e,...t)}off(e,...t){let n=super.off(e,...t);return(e===`data`||e===`readable`)&&(this[d]=this.listenerCount(`data`)>0||this.listenerCount(`readable`)>0),n}removeListener(e,...t){return this.off(e,...t)}push(e){return this[u]&&e!==null?(T(this[u],e),this[d]?super.push(e):!0):super.push(e)}async text(){return b(this,`text`)}async json(){return b(this,`json`)}async blob(){return b(this,`blob`)}async bytes(){return b(this,`bytes`)}async arrayBuffer(){return b(this,`arrayBuffer`)}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return this[f]||(this[f]=l(this),this[u]&&(this[f].getReader(),n(this[f].locked))),this[f]}async dump(e){let t=Number.isFinite(e?.limit)?e.limit:128*1024,n=e?.signal;if(n!=null&&(typeof n!=`object`||!(`aborted`in n)))throw new o(`signal must be an AbortSignal`);return n?.throwIfAborted(),this._readableState.closeEmitted?null:await new Promise((e,r)=>{this[h]>t&&this.destroy(new s);let i=()=>{this.destroy(n.reason??new s)};n?.addEventListener(`abort`,i),this.on(`close`,function(){n?.removeEventListener(`abort`,i),n?.aborted?r(n.reason??new s):e(null)}).on(`error`,g).on(`data`,function(e){t-=e.length,t<=0&&this.destroy()}).resume()})}};function v(e){return e[f]&&e[f].locked===!0||e[u]}function y(e){return c.isDisturbed(e)||v(e)}async function b(e,t){return n(!e[u]),new Promise((n,r)=>{if(y(e)){let t=e._readableState;t.destroyed&&t.closeEmitted===!1?e.on(`error`,e=>{r(e)}).on(`close`,()=>{r(TypeError(`unusable`))}):r(t.errored??TypeError(`unusable`))}else queueMicrotask(()=>{e[u]={type:t,stream:e,resolve:n,reject:r,length:0,body:[]},e.on(`error`,function(e){E(this[u],e)}).on(`close`,function(){this[u].body!==null&&E(this[u],new i)}),x(e[u])})})}function x(e){if(e.body===null)return;let{_readableState:t}=e.stream;if(t.bufferIndex){let n=t.bufferIndex,r=t.buffer.length;for(let i=n;i2&&n[0]===239&&n[1]===187&&n[2]===191?3:0;return n.utf8Slice(i,r)}function C(e,t){if(e.length===0||t===0)return new Uint8Array;if(e.length===1)return new Uint8Array(e[0]);let n=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),r=0;for(let t=0;t{let n=F(`node:assert`),{ResponseStatusCodeError:r}=qe(),{chunksDecode:i}=jt();async function a({callback:e,body:t,contentType:a,statusCode:c,statusMessage:l,headers:u}){n(t);let d=[],f=0;try{for await(let e of t)if(d.push(e),f+=e.length,f>131072){d=[],f=0;break}}catch{d=[],f=0}let p=`Response status code ${c}${l?`: ${l}`:``}`;if(c===204||!a||!f){queueMicrotask(()=>e(new r(p,c,u)));return}let m=Error.stackTraceLimit;Error.stackTraceLimit=0;let h;try{o(a)?h=JSON.parse(i(d,f)):s(a)&&(h=i(d,f))}catch{}finally{Error.stackTraceLimit=m}queueMicrotask(()=>e(new r(p,c,u,h)))}let o=e=>e.length>15&&e[11]===`/`&&e[0]===`a`&&e[1]===`p`&&e[2]===`p`&&e[3]===`l`&&e[4]===`i`&&e[5]===`c`&&e[6]===`a`&&e[7]===`t`&&e[8]===`i`&&e[9]===`o`&&e[10]===`n`&&e[12]===`j`&&e[13]===`s`&&e[14]===`o`&&e[15]===`n`,s=e=>e.length>4&&e[4]===`/`&&e[0]===`t`&&e[1]===`e`&&e[2]===`x`&&e[3]===`t`;t.exports={getResolveErrorBodyCallback:a,isContentTypeApplicationJson:o,isContentTypeText:s}})),Nt=P(((e,t)=>{let n=F(`node:assert`),{Readable:r}=jt(),{InvalidArgumentError:i,RequestAbortedError:a}=qe(),o=I(),{getResolveErrorBodyCallback:s}=Mt(),{AsyncResource:c}=F(`node:async_hooks`);var l=class extends c{constructor(e,t){if(!e||typeof e!=`object`)throw new i(`invalid opts`);let{signal:n,method:r,opaque:s,body:c,onInfo:l,responseHeaders:u,throwOnError:d,highWaterMark:f}=e;try{if(typeof t!=`function`)throw new i(`invalid callback`);if(f&&(typeof f!=`number`||f<0))throw new i(`invalid highWaterMark`);if(n&&typeof n.on!=`function`&&typeof n.addEventListener!=`function`)throw new i(`signal must be an EventEmitter or EventTarget`);if(r===`CONNECT`)throw new i(`invalid method`);if(l&&typeof l!=`function`)throw new i(`invalid onInfo callback`);super(`UNDICI_REQUEST`)}catch(e){throw o.isStream(c)&&o.destroy(c.on(`error`,o.nop),e),e}this.method=r,this.responseHeaders=u||null,this.opaque=s||null,this.callback=t,this.res=null,this.abort=null,this.body=c,this.trailers={},this.context=null,this.onInfo=l||null,this.throwOnError=d,this.highWaterMark=f,this.signal=n,this.reason=null,this.removeAbortListener=null,o.isStream(c)&&c.on(`error`,e=>{this.onError(e)}),this.signal&&(this.signal.aborted?this.reason=this.signal.reason??new a:this.removeAbortListener=o.addAbortListener(this.signal,()=>{this.reason=this.signal.reason??new a,this.res?o.destroy(this.res.on(`error`,o.nop),this.reason):this.abort&&this.abort(this.reason),this.removeAbortListener&&=(this.res?.off(`close`,this.removeAbortListener),this.removeAbortListener(),null)}))}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback),this.abort=e,this.context=t}onHeaders(e,t,n,i){let{callback:a,opaque:c,abort:l,context:u,responseHeaders:d,highWaterMark:f}=this,p=d===`raw`?o.parseRawHeaders(t):o.parseHeaders(t);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:p});return}let m=d===`raw`?o.parseHeaders(t):p,h=m[`content-type`],g=m[`content-length`],_=new r({resume:n,abort:l,contentType:h,contentLength:this.method!==`HEAD`&&g?Number(g):null,highWaterMark:f});this.removeAbortListener&&_.on(`close`,this.removeAbortListener),this.callback=null,this.res=_,a!==null&&(this.throwOnError&&e>=400?this.runInAsyncScope(s,null,{callback:a,body:_,contentType:h,statusCode:e,statusMessage:i,headers:p}):this.runInAsyncScope(a,null,null,{statusCode:e,headers:p,trailers:this.trailers,opaque:c,body:_,context:u}))}onData(e){return this.res.push(e)}onComplete(e){o.parseHeaders(e,this.trailers),this.res.push(null)}onError(e){let{res:t,callback:n,body:r,opaque:i}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:i})})),t&&(this.res=null,queueMicrotask(()=>{o.destroy(t,e)})),r&&(this.body=null,o.destroy(r,e)),this.removeAbortListener&&=(t?.off(`close`,this.removeAbortListener),this.removeAbortListener(),null)}};function u(e,t){if(t===void 0)return new Promise((t,n)=>{u.call(this,e,(e,r)=>e?n(e):t(r))});try{this.dispatch(e,new l(e,t))}catch(n){if(typeof t!=`function`)throw n;let r=e?.opaque;queueMicrotask(()=>t(n,{opaque:r}))}}t.exports=u,t.exports.RequestHandler=l})),Pt=P(((e,t)=>{let{addAbortListener:n}=I(),{RequestAbortedError:r}=qe(),i=Symbol(`kListener`),a=Symbol(`kSignal`);function o(e){e.abort?e.abort(e[a]?.reason):e.reason=e[a]?.reason??new r,c(e)}function s(e,t){if(e.reason=null,e[a]=null,e[i]=null,t){if(t.aborted){o(e);return}e[a]=t,e[i]=()=>{o(e)},n(e[a],e[i])}}function c(e){e[a]&&(`removeEventListener`in e[a]?e[a].removeEventListener(`abort`,e[i]):e[a].removeListener(`abort`,e[i]),e[a]=null,e[i]=null)}t.exports={addSignal:s,removeSignal:c}})),Ft=P(((e,t)=>{let n=F(`node:assert`),{finished:r,PassThrough:i}=F(`node:stream`),{InvalidArgumentError:a,InvalidReturnValueError:o}=qe(),s=I(),{getResolveErrorBodyCallback:c}=Mt(),{AsyncResource:l}=F(`node:async_hooks`),{addSignal:u,removeSignal:d}=Pt();var f=class extends l{constructor(e,t,n){if(!e||typeof e!=`object`)throw new a(`invalid opts`);let{signal:r,method:i,opaque:o,body:c,onInfo:l,responseHeaders:d,throwOnError:f}=e;try{if(typeof n!=`function`)throw new a(`invalid callback`);if(typeof t!=`function`)throw new a(`invalid factory`);if(r&&typeof r.on!=`function`&&typeof r.addEventListener!=`function`)throw new a(`signal must be an EventEmitter or EventTarget`);if(i===`CONNECT`)throw new a(`invalid method`);if(l&&typeof l!=`function`)throw new a(`invalid onInfo callback`);super(`UNDICI_STREAM`)}catch(e){throw s.isStream(c)&&s.destroy(c.on(`error`,s.nop),e),e}this.responseHeaders=d||null,this.opaque=o||null,this.factory=t,this.callback=n,this.res=null,this.abort=null,this.context=null,this.trailers=null,this.body=c,this.onInfo=l||null,this.throwOnError=f||!1,s.isStream(c)&&c.on(`error`,e=>{this.onError(e)}),u(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback),this.abort=e,this.context=t}onHeaders(e,t,n,a){let{factory:l,opaque:u,context:d,callback:f,responseHeaders:p}=this,m=p===`raw`?s.parseRawHeaders(t):s.parseHeaders(t);if(e<200){this.onInfo&&this.onInfo({statusCode:e,headers:m});return}this.factory=null;let h;if(this.throwOnError&&e>=400){let n=(p===`raw`?s.parseHeaders(t):m)[`content-type`];h=new i,this.callback=null,this.runInAsyncScope(c,null,{callback:f,body:h,contentType:n,statusCode:e,statusMessage:a,headers:m})}else{if(l===null)return;if(h=this.runInAsyncScope(l,null,{statusCode:e,headers:m,opaque:u,context:d}),!h||typeof h.write!=`function`||typeof h.end!=`function`||typeof h.on!=`function`)throw new o(`expected Writable`);r(h,{readable:!1},e=>{let{callback:t,res:n,opaque:r,trailers:i,abort:a}=this;this.res=null,(e||!n.readable)&&s.destroy(n,e),this.callback=null,this.runInAsyncScope(t,null,e||null,{opaque:r,trailers:i}),e&&a()})}return h.on(`drain`,n),this.res=h,(h.writableNeedDrain===void 0?h._writableState?.needDrain:h.writableNeedDrain)!==!0}onData(e){let{res:t}=this;return t?t.write(e):!0}onComplete(e){let{res:t}=this;d(this),t&&(this.trailers=s.parseHeaders(e),t.end())}onError(e){let{res:t,callback:n,opaque:r,body:i}=this;d(this),this.factory=null,t?(this.res=null,s.destroy(t,e)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,e,{opaque:r})})),i&&(this.body=null,s.destroy(i,e))}};function p(e,t,n){if(n===void 0)return new Promise((n,r)=>{p.call(this,e,t,(e,t)=>e?r(e):n(t))});try{this.dispatch(e,new f(e,t,n))}catch(t){if(typeof n!=`function`)throw t;let r=e?.opaque;queueMicrotask(()=>n(t,{opaque:r}))}}t.exports=p})),It=P(((e,t)=>{let{Readable:n,Duplex:r,PassThrough:i}=F(`node:stream`),{InvalidArgumentError:a,InvalidReturnValueError:o,RequestAbortedError:s}=qe(),c=I(),{AsyncResource:l}=F(`node:async_hooks`),{addSignal:u,removeSignal:d}=Pt(),f=F(`node:assert`),p=Symbol(`resume`);var m=class extends n{constructor(){super({autoDestroy:!0}),this[p]=null}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}},h=class extends n{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){!e&&!this._readableState.endEmitted&&(e=new s),t(e)}},g=class extends l{constructor(e,t){if(!e||typeof e!=`object`)throw new a(`invalid opts`);if(typeof t!=`function`)throw new a(`invalid handler`);let{signal:n,method:i,opaque:o,onInfo:l,responseHeaders:f}=e;if(n&&typeof n.on!=`function`&&typeof n.addEventListener!=`function`)throw new a(`signal must be an EventEmitter or EventTarget`);if(i===`CONNECT`)throw new a(`invalid method`);if(l&&typeof l!=`function`)throw new a(`invalid onInfo callback`);super(`UNDICI_PIPELINE`),this.opaque=o||null,this.responseHeaders=f||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=l||null,this.req=new m().on(`error`,c.nop),this.ret=new r({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,n)=>{let{req:r}=this;r.push(e,t)||r._readableState.destroyed?n():r[p]=n},destroy:(e,t)=>{let{body:n,req:r,res:i,ret:a,abort:o}=this;!e&&!a._readableState.endEmitted&&(e=new s),o&&e&&o(),c.destroy(n,e),c.destroy(r,e),c.destroy(i,e),d(this),t(e)}}).on(`prefinish`,()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,n)}onConnect(e,t){let{ret:n,res:r}=this;if(this.reason){e(this.reason);return}f(!r,`pipeline cannot be retried`),f(!n.destroyed),this.abort=e,this.context=t}onHeaders(e,t,n){let{opaque:r,handler:i,context:a}=this;if(e<200){if(this.onInfo){let n=this.responseHeaders===`raw`?c.parseRawHeaders(t):c.parseHeaders(t);this.onInfo({statusCode:e,headers:n})}return}this.res=new h(n);let l;try{this.handler=null;let n=this.responseHeaders===`raw`?c.parseRawHeaders(t):c.parseHeaders(t);l=this.runInAsyncScope(i,null,{statusCode:e,headers:n,opaque:r,body:this.res,context:a})}catch(e){throw this.res.on(`error`,c.nop),e}if(!l||typeof l.on!=`function`)throw new o(`expected Readable`);l.on(`data`,e=>{let{ret:t,body:n}=this;!t.push(e)&&n.pause&&n.pause()}).on(`error`,e=>{let{ret:t}=this;c.destroy(t,e)}).on(`end`,()=>{let{ret:e}=this;e.push(null)}).on(`close`,()=>{let{ret:e}=this;e._readableState.ended||c.destroy(e,new s)}),this.body=l}onData(e){let{res:t}=this;return t.push(e)}onComplete(e){let{res:t}=this;t.push(null)}onError(e){let{ret:t}=this;this.handler=null,c.destroy(t,e)}};function _(e,t){try{let n=new g(e,t);return this.dispatch({...e,body:n.req},n),n.ret}catch(e){return new i().destroy(e)}}t.exports=_})),Lt=P(((e,t)=>{let{InvalidArgumentError:n,SocketError:r}=qe(),{AsyncResource:i}=F(`node:async_hooks`),a=I(),{addSignal:o,removeSignal:s}=Pt(),c=F(`node:assert`);var l=class extends i{constructor(e,t){if(!e||typeof e!=`object`)throw new n(`invalid opts`);if(typeof t!=`function`)throw new n(`invalid callback`);let{signal:r,opaque:i,responseHeaders:a}=e;if(r&&typeof r.on!=`function`&&typeof r.addEventListener!=`function`)throw new n(`signal must be an EventEmitter or EventTarget`);super(`UNDICI_UPGRADE`),this.responseHeaders=a||null,this.opaque=i||null,this.callback=t,this.abort=null,this.context=null,o(this,r)}onConnect(e,t){if(this.reason){e(this.reason);return}c(this.callback),this.abort=e,this.context=null}onHeaders(){throw new r(`bad upgrade`,null)}onUpgrade(e,t,n){c(e===101);let{callback:r,opaque:i,context:o}=this;s(this),this.callback=null;let l=this.responseHeaders===`raw`?a.parseRawHeaders(t):a.parseHeaders(t);this.runInAsyncScope(r,null,null,{headers:l,socket:n,opaque:i,context:o})}onError(e){let{callback:t,opaque:n}=this;s(this),t&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}};function u(e,t){if(t===void 0)return new Promise((t,n)=>{u.call(this,e,(e,r)=>e?n(e):t(r))});try{let n=new l(e,t);this.dispatch({...e,method:e.method||`GET`,upgrade:e.protocol||`Websocket`},n)}catch(n){if(typeof t!=`function`)throw n;let r=e?.opaque;queueMicrotask(()=>t(n,{opaque:r}))}}t.exports=u})),Rt=P(((e,t)=>{let n=F(`node:assert`),{AsyncResource:r}=F(`node:async_hooks`),{InvalidArgumentError:i,SocketError:a}=qe(),o=I(),{addSignal:s,removeSignal:c}=Pt();var l=class extends r{constructor(e,t){if(!e||typeof e!=`object`)throw new i(`invalid opts`);if(typeof t!=`function`)throw new i(`invalid callback`);let{signal:n,opaque:r,responseHeaders:a}=e;if(n&&typeof n.on!=`function`&&typeof n.addEventListener!=`function`)throw new i(`signal must be an EventEmitter or EventTarget`);super(`UNDICI_CONNECT`),this.opaque=r||null,this.responseHeaders=a||null,this.callback=t,this.abort=null,s(this,n)}onConnect(e,t){if(this.reason){e(this.reason);return}n(this.callback),this.abort=e,this.context=t}onHeaders(){throw new a(`bad connect`,null)}onUpgrade(e,t,n){let{callback:r,opaque:i,context:a}=this;c(this),this.callback=null;let s=t;s!=null&&(s=this.responseHeaders===`raw`?o.parseRawHeaders(t):o.parseHeaders(t)),this.runInAsyncScope(r,null,null,{statusCode:e,headers:s,socket:n,opaque:i,context:a})}onError(e){let{callback:t,opaque:n}=this;c(this),t&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(t,null,e,{opaque:n})}))}};function u(e,t){if(t===void 0)return new Promise((t,n)=>{u.call(this,e,(e,r)=>e?n(e):t(r))});try{let n=new l(e,t);this.dispatch({...e,method:`CONNECT`},n)}catch(n){if(typeof t!=`function`)throw n;let r=e?.opaque;queueMicrotask(()=>t(n,{opaque:r}))}}t.exports=u})),zt=P(((e,t)=>{t.exports.request=Nt(),t.exports.stream=Ft(),t.exports.pipeline=It(),t.exports.upgrade=Lt(),t.exports.connect=Rt()})),Bt=P(((e,t)=>{let{UndiciError:n}=qe(),r=Symbol.for(`undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED`);t.exports={MockNotMatchedError:class e extends n{constructor(t){super(t),Error.captureStackTrace(this,e),this.name=`MockNotMatchedError`,this.message=t||`The request does not match any registered mock dispatches`,this.code=`UND_MOCK_ERR_MOCK_NOT_MATCHED`}static[Symbol.hasInstance](e){return e&&e[r]===!0}[r]=!0}}})),Vt=P(((e,t)=>{t.exports={kAgent:Symbol(`agent`),kOptions:Symbol(`options`),kFactory:Symbol(`factory`),kDispatches:Symbol(`dispatches`),kDispatchKey:Symbol(`dispatch key`),kDefaultHeaders:Symbol(`default headers`),kDefaultTrailers:Symbol(`default trailers`),kContentLength:Symbol(`content length`),kMockAgent:Symbol(`mock agent`),kMockAgentSet:Symbol(`mock agent set`),kMockAgentGet:Symbol(`mock agent get`),kMockDispatch:Symbol(`mock dispatch`),kClose:Symbol(`close`),kOriginalClose:Symbol(`original agent close`),kOrigin:Symbol(`origin`),kIsMockActive:Symbol(`is mock active`),kNetConnect:Symbol(`net connect`),kGetNetConnect:Symbol(`get net connect`),kConnected:Symbol(`connected`)}})),Ht=P(((e,t)=>{let{MockNotMatchedError:n}=Bt(),{kDispatches:r,kMockAgent:i,kOriginalDispatch:a,kOrigin:o,kGetNetConnect:s}=Vt(),{buildURL:c}=I(),{STATUS_CODES:l}=F(`node:http`),{types:{isPromise:u}}=F(`node:util`);function d(e,t){return typeof e==`string`?e===t:e instanceof RegExp?e.test(t):typeof e==`function`?e(t)===!0:!1}function f(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function p(e,t){if(Array.isArray(e)){for(let n=0;n!e).filter(({path:e})=>d(g(e),i));if(a.length===0)throw new n(`Mock dispatch not matched for path '${i}'`);if(a=a.filter(({method:e})=>d(e,t.method)),a.length===0)throw new n(`Mock dispatch not matched for method '${t.method}' on path '${i}'`);if(a=a.filter(({body:e})=>e===void 0?!0:d(e,t.body)),a.length===0)throw new n(`Mock dispatch not matched for body '${t.body}' on path '${i}'`);if(a=a.filter(e=>h(e,t.headers)),a.length===0)throw new n(`Mock dispatch not matched for headers '${typeof t.headers==`object`?JSON.stringify(t.headers):t.headers}' on path '${i}'`);return a[0]}function b(e,t,n){let r={timesInvoked:0,times:1,persist:!1,consumed:!1},i=typeof n==`function`?{callback:n}:{...n},a={...r,...t,pending:!0,data:{error:null,...i}};return e.push(a),a}function x(e,t){let n=e.findIndex(e=>e.consumed?_(e,t):!1);n!==-1&&e.splice(n,1)}function S(e){let{path:t,method:n,body:r,headers:i,query:a}=e;return{path:t,method:n,body:r,headers:i,query:a}}function C(e){let t=Object.keys(e),n=[];for(let r=0;r=h,i.pending=p0?setTimeout(()=>{g(this[r])},d):g(this[r]);function g(r,i=o){let l=Array.isArray(e.headers)?m(e.headers):e.headers,d=typeof i==`function`?i({...e,headers:l}):i;if(u(d)){d.then(e=>g(r,e));return}let f=v(d),p=C(s),h=C(c);t.onConnect?.(e=>t.onError(e),null),t.onHeaders?.(a,p,_,w(a)),t.onData?.(Buffer.from(f)),t.onComplete?.(h),x(r,n)}function _(){}return!0}function D(){let e=this[i],t=this[o],r=this[a];return function(i,a){if(e.isMockActive)try{E.call(this,i,a)}catch(o){if(o instanceof n){let c=e[s]();if(c===!1)throw new n(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)`);if(O(c,t))r.call(this,i,a);else throw new n(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)`)}else throw o}else r.call(this,i,a)}}function O(e,t){let n=new URL(t);return e===!0?!0:!!(Array.isArray(e)&&e.some(e=>d(e,n.host)))}function k(e){if(e){let{agent:t,...n}=e;return n}}t.exports={getResponseData:v,getMockDispatch:y,addMockDispatch:b,deleteMockDispatch:x,buildKey:S,generateKeyValues:C,matchValue:d,getResponse:T,getStatusText:w,mockDispatch:E,buildMockDispatch:D,checkNetConnect:O,buildMockOptions:k,getHeaderByName:p,buildHeadersFromArray:m}})),Ut=P(((e,t)=>{let{getResponseData:n,buildKey:r,addMockDispatch:i}=Ht(),{kDispatches:a,kDispatchKey:o,kDefaultHeaders:s,kDefaultTrailers:c,kContentLength:l,kMockDispatch:u}=Vt(),{InvalidArgumentError:d}=qe(),{buildURL:f}=I();var p=class{constructor(e){this[u]=e}delay(e){if(typeof e!=`number`||!Number.isInteger(e)||e<=0)throw new d(`waitInMs must be a valid integer > 0`);return this[u].delay=e,this}persist(){return this[u].persist=!0,this}times(e){if(typeof e!=`number`||!Number.isInteger(e)||e<=0)throw new d(`repeatTimes must be a valid integer > 0`);return this[u].times=e,this}},m=class{constructor(e,t){if(typeof e!=`object`)throw new d(`opts must be an object`);if(e.path===void 0)throw new d(`opts.path must be defined`);if(e.method===void 0&&(e.method=`GET`),typeof e.path==`string`)if(e.query)e.path=f(e.path,e.query);else{let t=new URL(e.path,`data://`);e.path=t.pathname+t.search}typeof e.method==`string`&&(e.method=e.method.toUpperCase()),this[o]=r(e),this[a]=t,this[s]={},this[c]={},this[l]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let i=n(t),a=this[l]?{"content-length":i.length}:{};return{statusCode:e,data:t,headers:{...this[s],...a,...r.headers},trailers:{...this[c],...r.trailers}}}validateReplyParameters(e){if(e.statusCode===void 0)throw new d(`statusCode must be defined`);if(typeof e.responseOptions!=`object`||e.responseOptions===null)throw new d(`responseOptions must be an object`)}reply(e){if(typeof e==`function`)return new p(i(this[a],this[o],t=>{let n=e(t);if(typeof n!=`object`||!n)throw new d(`reply options callback must return an object`);let r={data:``,responseOptions:{},...n};return this.validateReplyParameters(r),{...this.createMockScopeDispatchData(r)}}));let t={statusCode:e,data:arguments[1]===void 0?``:arguments[1],responseOptions:arguments[2]===void 0?{}:arguments[2]};this.validateReplyParameters(t);let n=this.createMockScopeDispatchData(t);return new p(i(this[a],this[o],n))}replyWithError(e){if(e===void 0)throw new d(`error must be defined`);return new p(i(this[a],this[o],{error:e}))}defaultReplyHeaders(e){if(e===void 0)throw new d(`headers must be defined`);return this[s]=e,this}defaultReplyTrailers(e){if(e===void 0)throw new d(`trailers must be defined`);return this[c]=e,this}replyContentLength(){return this[l]=!0,this}};t.exports.MockInterceptor=m,t.exports.MockScope=p})),Wt=P(((e,t)=>{let{promisify:n}=F(`node:util`),r=bt(),{buildMockDispatch:i}=Ht(),{kDispatches:a,kMockAgent:o,kClose:s,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=Vt(),{MockInterceptor:f}=Ut(),p=Ke(),{InvalidArgumentError:m}=qe();t.exports=class extends r{constructor(e,t){if(super(e,t),!t||!t.agent||typeof t.agent.dispatch!=`function`)throw new m(`Argument opts.agent must implement Agent`);this[o]=t.agent,this[l]=e,this[a]=[],this[d]=1,this[u]=this.dispatch,this[c]=this.close.bind(this),this.dispatch=i.call(this),this.close=this[s]}get[p.kConnected](){return this[d]}intercept(e){return new f(e,this[a])}async[s](){await n(this[c])(),this[d]=0,this[o][p.kClients].delete(this[l])}}})),Gt=P(((e,t)=>{let{promisify:n}=F(`node:util`),r=wt(),{buildMockDispatch:i}=Ht(),{kDispatches:a,kMockAgent:o,kClose:s,kOriginalClose:c,kOrigin:l,kOriginalDispatch:u,kConnected:d}=Vt(),{MockInterceptor:f}=Ut(),p=Ke(),{InvalidArgumentError:m}=qe();t.exports=class extends r{constructor(e,t){if(super(e,t),!t||!t.agent||typeof t.agent.dispatch!=`function`)throw new m(`Argument opts.agent must implement Agent`);this[o]=t.agent,this[l]=e,this[a]=[],this[d]=1,this[u]=this.dispatch,this[c]=this.close.bind(this),this.dispatch=i.call(this),this.close=this[s]}get[p.kConnected](){return this[d]}intercept(e){return new f(e,this[a])}async[s](){await n(this[c])(),this[d]=0,this[o][p.kClients].delete(this[l])}}})),Kt=P(((e,t)=>{let n={pronoun:`it`,is:`is`,was:`was`,this:`this`},r={pronoun:`they`,is:`are`,was:`were`,this:`these`};t.exports=class{constructor(e,t){this.singular=e,this.plural=t}pluralize(e){let t=e===1,i=t?n:r,a=t?this.singular:this.plural;return{...i,count:e,noun:a}}}})),qt=P(((e,t)=>{let{Transform:n}=F(`node:stream`),{Console:r}=F(`node:console`),i=process.versions.icu?`✅`:`Y `,a=process.versions.icu?`❌`:`N `;t.exports=class{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,n){n(null,e)}}),this.logger=new r({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:n},persist:r,times:o,timesInvoked:s,origin:c})=>({Method:e,Origin:c,Path:t,"Status code":n,Persistent:r?i:a,Invocations:s,Remaining:r?1/0:o-s}));return this.logger.table(t),this.transform.read().toString()}}})),Jt=P(((e,t)=>{let{kClients:n}=Ke(),r=Et(),{kAgent:i,kMockAgentSet:a,kMockAgentGet:o,kDispatches:s,kIsMockActive:c,kNetConnect:l,kGetNetConnect:u,kOptions:d,kFactory:f}=Vt(),p=Wt(),m=Gt(),{matchValue:h,buildMockOptions:g}=Ht(),{InvalidArgumentError:_,UndiciError:v}=qe(),y=Qe(),b=Kt(),x=qt();t.exports=class extends y{constructor(e){if(super(e),this[l]=!0,this[c]=!0,e?.agent&&typeof e.agent.dispatch!=`function`)throw new _(`Argument opts.agent must implement Agent`);let t=e?.agent?e.agent:new r(e);this[i]=t,this[n]=t[n],this[d]=g(e)}get(e){let t=this[o](e);return t||(t=this[f](e),this[a](e,t)),t}dispatch(e,t){return this.get(e.origin),this[i].dispatch(e,t)}async close(){await this[i].close(),this[n].clear()}deactivate(){this[c]=!1}activate(){this[c]=!0}enableNetConnect(e){if(typeof e==`string`||typeof e==`function`||e instanceof RegExp)Array.isArray(this[l])?this[l].push(e):this[l]=[e];else if(e===void 0)this[l]=!0;else throw new _(`Unsupported matcher. Must be one of String|Function|RegExp.`)}disableNetConnect(){this[l]=!1}get isMockActive(){return this[c]}[a](e,t){this[n].set(e,t)}[f](e){let t=Object.assign({agent:this},this[d]);return this[d]&&this[d].connections===1?new p(e,t):new m(e,t)}[o](e){let t=this[n].get(e);if(t)return t;if(typeof e!=`string`){let t=this[f](`http://localhost:9999`);return this[a](e,t),t}for(let[t,r]of Array.from(this[n]))if(r&&typeof t!=`string`&&h(t,e)){let t=this[f](e);return this[a](e,t),t[s]=r[s],t}}[u](){return this[l]}pendingInterceptors(){let e=this[n];return Array.from(e.entries()).flatMap(([e,t])=>t[s].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new x}={}){let t=this.pendingInterceptors();if(t.length===0)return;let n=new b(`interceptor`,`interceptors`).pluralize(t.length);throw new v(` ${n.count} ${n.noun} ${n.is} pending: ${e.format(t)} -`.trim())}}})),Gt=P(((e,t)=>{let n=Symbol.for(`undici.globalDispatcher.1`),{InvalidArgumentError:r}=I(),i=St();o()===void 0&&a(new i);function a(e){if(!e||typeof e.dispatch!=`function`)throw new r(`Argument agent must implement Agent`);Object.defineProperty(globalThis,n,{value:e,writable:!0,enumerable:!1,configurable:!1})}function o(){return globalThis[n]}t.exports={setGlobalDispatcher:a,getGlobalDispatcher:o}})),Kt=P(((e,t)=>{t.exports=class{#e;constructor(e){if(typeof e!=`object`||!e)throw TypeError(`handler must be an object`);this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}})),qt=P(((e,t)=>{let n=mt();t.exports=e=>{let t=e?.maxRedirections;return e=>function(r,i){let{maxRedirections:a=t,...o}=r;return a?e(o,new n(e,a,r,i)):e(r,i)}}})),Jt=P(((e,t)=>{let n=Tt();t.exports=e=>t=>function(r,i){return t(r,new n({...r,retryOptions:{...e,...r.retryOptions}},{handler:i,dispatch:t}))}})),Yt=P(((e,t)=>{let n=L(),{InvalidArgumentError:r,RequestAbortedError:i}=I(),a=Kt();var o=class extends a{#e=1024*1024;#t=null;#n=!1;#r=!1;#i=0;#a=null;#o=null;constructor({maxSize:e},t){if(super(t),e!=null&&(!Number.isFinite(e)||e<1))throw new r(`maxSize must be a number greater than 0`);this.#e=e??this.#e,this.#o=t}onConnect(e){this.#t=e,this.#o.onConnect(this.#s.bind(this))}#s(e){this.#r=!0,this.#a=e}onHeaders(e,t,r,a){let o=n.parseHeaders(t)[`content-length`];if(o!=null&&o>this.#e)throw new i(`Response size (${o}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#o.onHeaders(e,t,r,a)}onError(e){this.#n||(e=this.#a??e,this.#o.onError(e))}onData(e){return this.#i+=e.length,this.#i>=this.#e&&(this.#n=!0,this.#r?this.#o.onError(this.#a):this.#o.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#r){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function s({maxSize:e}={maxSize:1024*1024}){return t=>function(n,r){let{dumpMaxSize:i=e}=n;return t(n,new o({maxSize:i},r))}}t.exports=s})),Xt=P(((e,t)=>{let{isIP:n}=F(`node:net`),{lookup:r}=F(`node:dns`),i=Kt(),{InvalidArgumentError:a,InformationalError:o}=I(),s=2**31-1;var c=class{#e=0;#t=0;#n=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#i}get full(){return this.#n.size===this.#t}runLookup(e,t,n){let r=this.#n.get(e.hostname);if(r==null&&this.full){n(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#e,maxItems:this.#t};if(r==null)this.lookup(e,i,(t,r)=>{if(t||r==null||r.length===0){n(t??new o(`No DNS entries found`));return}this.setRecords(e,r);let a=this.#n.get(e.hostname),s=this.pick(e,a,i.affinity),c;c=typeof s.port==`number`?`:${s.port}`:e.port===``?``:`:${e.port}`,n(null,`${e.protocol}//${s.family===6?`[${s.address}]`:s.address}${c}`)});else{let a=this.pick(e,r,i.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,t,n);return}let o;o=typeof a.port==`number`?`:${a.port}`:e.port===``?``:`:${e.port}`,n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${o}`)}}#r(e,t,n){r(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:`ipv4first`},(e,t)=>{if(e)return n(e);let r=new Map;for(let e of t)r.set(`${e.address}:${e.family}`,e);n(null,r.values())})}#i(e,t,n){let r=null,{records:i,offset:a}=t,o;if(this.dualStack?(n??(a==null||a===s?(t.offset=0,n=4):(t.offset++,n=(t.offset&1)==1?6:4)),o=i[n]!=null&&i[n].ips.length>0?i[n]:i[n===4?6:4]):o=i[n],o==null||o.ips.length===0)return r;o.offset==null||o.offset===s?o.offset=0:o.offset++;let c=o.offset%o.ips.length;return r=o.ips[c]??null,r==null?r:Date.now()-r.timestamp>r.ttl?(o.ips.splice(c,1),this.pick(e,t,n)):r}setRecords(e,t){let n=Date.now(),r={records:{4:null,6:null}};for(let e of t){e.timestamp=n,typeof e.ttl==`number`?e.ttl=Math.min(e.ttl,this.#e):e.ttl=this.#e;let t=r.records[e.family]??{ips:[]};t.ips.push(e),r.records[e.family]=t}this.#n.set(e.hostname,r)}getHandler(e,t){return new l(this,e,t)}},l=class extends i{#e=null;#t=null;#n=null;#r=null;#i=null;constructor(e,{origin:t,handler:n,dispatch:r},i){super(n),this.#i=t,this.#r=n,this.#t={...i},this.#e=e,this.#n=r}onError(e){switch(e.code){case`ETIMEDOUT`:case`ECONNREFUSED`:if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(e,t)=>{if(e)return this.#r.onError(e);let n={...this.#t,origin:t};this.#n(n,this)});return}this.#r.onError(e);return;case`ENOTFOUND`:this.#e.deleteRecord(this.#i);default:this.#r.onError(e);break}}};t.exports=e=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=`number`||e?.maxTTL<0))throw new a(`Invalid maxTTL. Must be a positive number`);if(e?.maxItems!=null&&(typeof e?.maxItems!=`number`||e?.maxItems<1))throw new a(`Invalid maxItems. Must be a positive number and greater than zero`);if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new a(`Invalid affinity. Must be either 4 or 6`);if(e?.dualStack!=null&&typeof e?.dualStack!=`boolean`)throw new a(`Invalid dualStack. Must be a boolean`);if(e?.lookup!=null&&typeof e?.lookup!=`function`)throw new a(`Invalid lookup. Must be a function`);if(e?.pick!=null&&typeof e?.pick!=`function`)throw new a(`Invalid pick. Must be a function`);let t=e?.dualStack??!0,r;r=t?e?.affinity??null:e?.affinity??4;let i=new c({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:r,maxItems:e?.maxItems??1/0});return e=>function(t,r){let a=t.origin.constructor===URL?t.origin:new URL(t.origin);return n(a.hostname)===0?(i.runLookup(a,t,(n,o)=>{if(n)return r.onError(n);let s=null;s={...t,servername:a.hostname,origin:o,headers:{host:a.hostname,...t.headers}},e(s,i.getHandler({origin:a,dispatch:e,handler:r},t))}),!0):e(t,r)}}})),Zt=P(((e,t)=>{let{kConstruct:n}=Ue(),{kEnumerableProperty:r}=L(),{iteratorMixin:i,isValidHeaderName:a,isValidHeaderValue:o}=ot(),{webidl:s}=at(),c=F(`node:assert`),l=F(`node:util`),u=Symbol(`headers map`),d=Symbol(`headers map sorted`);function f(e){return e===10||e===13||e===9||e===32}function p(e){let t=0,n=e.length;for(;n>t&&f(e.charCodeAt(n-1));)--n;for(;n>t&&f(e.charCodeAt(t));)++t;return t===0&&n===e.length?e:e.substring(t,n)}function m(e,t){if(Array.isArray(t))for(let n=0;n>`,`record`]})}function h(e,t,n){if(n=p(n),!a(t))throw s.errors.invalidArgument({prefix:`Headers.append`,value:t,type:`header name`});if(!o(n))throw s.errors.invalidArgument({prefix:`Headers.append`,value:n,type:`header value`});if(y(e)===`immutable`)throw TypeError(`immutable`);return x(e).append(t,n,!1)}function g(e,t){return e[0]>1),t[s][0]<=l[0]?o=s+1:a=s;if(r!==s){for(i=r;i>o;)t[i]=t[--i];t[o]=l}}if(!n.next().done)throw TypeError(`Unreachable`);return t}else{let e=0;for(let{0:n,1:{value:r}}of this[u])t[e++]=[n,r],c(r!==null);return t.sort(g)}}},v=class e{#e;#t;constructor(e=void 0){s.util.markAsUncloneable(this),e!==n&&(this.#t=new _,this.#e=`none`,e!==void 0&&(e=s.converters.HeadersInit(e,`Headers contructor`,`init`),m(this,e)))}append(t,n){s.brandCheck(this,e),s.argumentLengthCheck(arguments,2,`Headers.append`);let r=`Headers.append`;return t=s.converters.ByteString(t,r,`name`),n=s.converters.ByteString(n,r,`value`),h(this,t,n)}delete(t){if(s.brandCheck(this,e),s.argumentLengthCheck(arguments,1,`Headers.delete`),t=s.converters.ByteString(t,`Headers.delete`,`name`),!a(t))throw s.errors.invalidArgument({prefix:`Headers.delete`,value:t,type:`header name`});if(this.#e===`immutable`)throw TypeError(`immutable`);this.#t.contains(t,!1)&&this.#t.delete(t,!1)}get(t){s.brandCheck(this,e),s.argumentLengthCheck(arguments,1,`Headers.get`);let n=`Headers.get`;if(t=s.converters.ByteString(t,n,`name`),!a(t))throw s.errors.invalidArgument({prefix:n,value:t,type:`header name`});return this.#t.get(t,!1)}has(t){s.brandCheck(this,e),s.argumentLengthCheck(arguments,1,`Headers.has`);let n=`Headers.has`;if(t=s.converters.ByteString(t,n,`name`),!a(t))throw s.errors.invalidArgument({prefix:n,value:t,type:`header name`});return this.#t.contains(t,!1)}set(t,n){s.brandCheck(this,e),s.argumentLengthCheck(arguments,2,`Headers.set`);let r=`Headers.set`;if(t=s.converters.ByteString(t,r,`name`),n=s.converters.ByteString(n,r,`value`),n=p(n),!a(t))throw s.errors.invalidArgument({prefix:r,value:t,type:`header name`});if(!o(n))throw s.errors.invalidArgument({prefix:r,value:n,type:`header value`});if(this.#e===`immutable`)throw TypeError(`immutable`);this.#t.set(t,n,!1)}getSetCookie(){s.brandCheck(this,e);let t=this.#t.cookies;return t?[...t]:[]}get[d](){if(this.#t[d])return this.#t[d];let e=[],t=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[d]=t;for(let r=0;r>`](e,t,n,r.bind(e)):s.converters[`record`](e,t,n)}throw s.errors.conversionFailed({prefix:`Headers constructor`,argument:`Argument 1`,types:[`sequence>`,`record`]})},t.exports={fill:m,compareHeaderName:g,Headers:v,HeadersList:_,getHeadersGuard:y,setHeadersGuard:b,setHeadersList:S,getHeadersList:x}})),Qt=P(((e,t)=>{let{Headers:n,HeadersList:r,fill:i,getHeadersGuard:a,setHeadersGuard:o,setHeadersList:s}=Zt(),{extractBody:c,cloneBody:l,mixinBody:u,hasFinalizationRegistry:d,streamRegistry:f,bodyUnusable:p}=dt(),m=L(),h=F(`node:util`),{kEnumerableProperty:g}=m,{isValidReasonPhrase:_,isCancelled:v,isAborted:y,isBlobLike:b,serializeJavascriptValueToJSONString:x,isErrorLike:S,isomorphicEncode:C,environmentSettingsObject:w}=ot(),{redirectStatusSet:T,nullBodyStatus:E}=nt(),{kState:D,kHeaders:O}=st(),{webidl:k}=at(),{FormData:A}=lt(),{URLSerializer:j}=it(),{kConstruct:M}=Ue(),ee=F(`node:assert`),{types:N}=F(`node:util`),te=new TextEncoder(`utf-8`);var ne=class e{static error(){return de(ae(),`immutable`)}static json(e,t={}){k.argumentLengthCheck(arguments,1,`Response.json`),t!==null&&(t=k.converters.ResponseInit(t));let n=c(te.encode(x(e))),r=de(ie({}),`response`);return ue(r,t,{body:n[0],type:`application/json`}),r}static redirect(e,t=302){k.argumentLengthCheck(arguments,1,`Response.redirect`),e=k.converters.USVString(e),t=k.converters[`unsigned short`](t);let n;try{n=new URL(e,w.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!T.has(t))throw RangeError(`Invalid status code ${t}`);let r=de(ie({}),`immutable`);r[D].status=t;let i=C(j(n));return r[D].headersList.append(`location`,i,!0),r}constructor(e=null,t={}){if(k.util.markAsUncloneable(this),e===M)return;e!==null&&(e=k.converters.BodyInit(e)),t=k.converters.ResponseInit(t),this[D]=ie({}),this[O]=new n(M),o(this[O],`response`),s(this[O],this[D].headersList);let r=null;if(e!=null){let[t,n]=c(e);r={body:t,type:n}}ue(this,t,r)}get type(){return k.brandCheck(this,e),this[D].type}get url(){k.brandCheck(this,e);let t=this[D].urlList,n=t[t.length-1]??null;return n===null?``:j(n,!0)}get redirected(){return k.brandCheck(this,e),this[D].urlList.length>1}get status(){return k.brandCheck(this,e),this[D].status}get ok(){return k.brandCheck(this,e),this[D].status>=200&&this[D].status<=299}get statusText(){return k.brandCheck(this,e),this[D].statusText}get headers(){return k.brandCheck(this,e),this[O]}get body(){return k.brandCheck(this,e),this[D].body?this[D].body.stream:null}get bodyUsed(){return k.brandCheck(this,e),!!this[D].body&&m.isDisturbed(this[D].body.stream)}clone(){if(k.brandCheck(this,e),p(this))throw k.errors.exception({header:`Response.clone`,message:`Body has already been consumed.`});let t=re(this[D]);return d&&this[D].body?.stream&&f.register(this,new WeakRef(this[D].body.stream)),de(t,a(this[O]))}[h.inspect.custom](e,t){t.depth===null&&(t.depth=2),t.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${h.formatWithOptions(t,n)}`}};u(ne),Object.defineProperties(ne.prototype,{type:g,url:g,status:g,ok:g,redirected:g,statusText:g,headers:g,clone:g,body:g,bodyUsed:g,[Symbol.toStringTag]:{value:`Response`,configurable:!0}}),Object.defineProperties(ne,{json:g,redirect:g,error:g});function re(e){if(e.internalResponse)return ce(re(e.internalResponse),e.type);let t=ie({...e,body:null});return e.body!=null&&(t.body=l(t,e.body)),t}function ie(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:`default`,status:200,timingInfo:null,cacheState:``,statusText:``,...e,headersList:e?.headersList?new r(e?.headersList):new r,urlList:e?.urlList?[...e.urlList]:[]}}function ae(e){return ie({type:`error`,status:0,error:S(e)?e:Error(e&&String(e)),aborted:e&&e.name===`AbortError`})}function oe(e){return e.type===`error`&&e.status===0}function se(e,t){return t={internalResponse:e,...t},new Proxy(e,{get(e,n){return n in t?t[n]:e[n]},set(e,n,r){return ee(!(n in t)),e[n]=r,!0}})}function ce(e,t){if(t===`basic`)return se(e,{type:`basic`,headersList:e.headersList});if(t===`cors`)return se(e,{type:`cors`,headersList:e.headersList});if(t===`opaque`)return se(e,{type:`opaque`,urlList:Object.freeze([]),status:0,statusText:``,body:null});if(t===`opaqueredirect`)return se(e,{type:`opaqueredirect`,status:0,statusText:``,headersList:[],body:null});ee(!1)}function le(e,t=null){return ee(v(e)),y(e)?ae(Object.assign(new DOMException(`The operation was aborted.`,`AbortError`),{cause:t})):ae(Object.assign(new DOMException(`Request was cancelled.`),{cause:t}))}function ue(e,t,n){if(t.status!==null&&(t.status<200||t.status>599))throw RangeError(`init["status"] must be in the range of 200 to 599, inclusive.`);if(`statusText`in t&&t.statusText!=null&&!_(String(t.statusText)))throw TypeError(`Invalid statusText`);if(`status`in t&&t.status!=null&&(e[D].status=t.status),`statusText`in t&&t.statusText!=null&&(e[D].statusText=t.statusText),`headers`in t&&t.headers!=null&&i(e[O],t.headers),n){if(E.includes(e.status))throw k.errors.exception({header:`Response constructor`,message:`Invalid response status code ${e.status}`});e[D].body=n.body,n.type!=null&&!e[D].headersList.contains(`content-type`,!0)&&e[D].headersList.append(`content-type`,n.type,!0)}}function de(e,t){let r=new ne(M);return r[D]=e,r[O]=new n(M),s(r[O],e.headersList),o(r[O],t),d&&e.body?.stream&&f.register(r,new WeakRef(e.body.stream)),r}k.converters.ReadableStream=k.interfaceConverter(ReadableStream),k.converters.FormData=k.interfaceConverter(A),k.converters.URLSearchParams=k.interfaceConverter(URLSearchParams),k.converters.XMLHttpRequestBodyInit=function(e,t,n){return typeof e==`string`?k.converters.USVString(e,t,n):b(e)?k.converters.Blob(e,t,n,{strict:!1}):ArrayBuffer.isView(e)||N.isArrayBuffer(e)?k.converters.BufferSource(e,t,n):m.isFormDataLike(e)?k.converters.FormData(e,t,n,{strict:!1}):e instanceof URLSearchParams?k.converters.URLSearchParams(e,t,n):k.converters.DOMString(e,t,n)},k.converters.BodyInit=function(e,t,n){return e instanceof ReadableStream?k.converters.ReadableStream(e,t,n):e?.[Symbol.asyncIterator]?e:k.converters.XMLHttpRequestBodyInit(e,t,n)},k.converters.ResponseInit=k.dictionaryConverter([{key:`status`,converter:k.converters[`unsigned short`],defaultValue:()=>200},{key:`statusText`,converter:k.converters.ByteString,defaultValue:()=>``},{key:`headers`,converter:k.converters.HeadersInit}]),t.exports={isNetworkError:oe,makeNetworkError:ae,makeResponse:ie,makeAppropriateNetworkError:le,filterResponse:ce,Response:ne,cloneResponse:re,fromInnerResponse:de}})),$t=P(((e,t)=>{let{kConnected:n,kSize:r}=Ue();var i=class{constructor(e){this.value=e}deref(){return this.value[n]===0&&this.value[r]===0?void 0:this.value}},a=class{constructor(e){this.finalizer=e}register(e,t){e.on&&e.on(`disconnect`,()=>{e[n]===0&&e[r]===0&&this.finalizer(t)})}unregister(e){}};t.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith(`v18`)?(process._rawDebug(`Using compatibility WeakRef and FinalizationRegistry`),{WeakRef:i,FinalizationRegistry:a}):{WeakRef,FinalizationRegistry}}})),en=P(((e,t)=>{let{extractBody:n,mixinBody:r,cloneBody:i,bodyUnusable:a}=dt(),{Headers:o,fill:s,HeadersList:c,setHeadersGuard:l,getHeadersGuard:u,setHeadersList:d,getHeadersList:f}=Zt(),{FinalizationRegistry:p}=$t()(),m=L(),h=F(`node:util`),{isValidHTTPToken:g,sameOrigin:_,environmentSettingsObject:v}=ot(),{forbiddenMethodsSet:y,corsSafeListedMethodsSet:b,referrerPolicy:x,requestRedirect:S,requestMode:C,requestCredentials:w,requestCache:T,requestDuplex:E}=nt(),{kEnumerableProperty:D,normalizedMethodRecordsBase:O,normalizedMethodRecords:k}=m,{kHeaders:A,kSignal:j,kState:M,kDispatcher:ee}=st(),{webidl:N}=at(),{URLSerializer:te}=it(),{kConstruct:ne}=Ue(),re=F(`node:assert`),{getMaxListeners:ie,setMaxListeners:ae,getEventListeners:oe,defaultMaxListeners:se}=F(`node:events`),ce=Symbol(`abortController`),le=new p(({signal:e,abort:t})=>{e.removeEventListener(`abort`,t)}),ue=new WeakMap;function de(e){return t;function t(){let n=e.deref();if(n!==void 0){le.unregister(t),this.removeEventListener(`abort`,t),n.abort(this.reason);let e=ue.get(n.signal);if(e!==void 0){if(e.size!==0){for(let t of e){let e=t.deref();e!==void 0&&e.abort(this.reason)}e.clear()}ue.delete(n.signal)}}}}let fe=!1;var pe=class e{constructor(t,r={}){if(N.util.markAsUncloneable(this),t===ne)return;let i=`Request constructor`;N.argumentLengthCheck(arguments,1,i),t=N.converters.RequestInfo(t,i,`input`),r=N.converters.RequestInit(r,i,`init`);let u=null,p=null,h=v.settingsObject.baseUrl,x=null;if(typeof t==`string`){this[ee]=r.dispatcher;let e;try{e=new URL(t,h)}catch(e){throw TypeError(`Failed to parse URL from `+t,{cause:e})}if(e.username||e.password)throw TypeError(`Request cannot be constructed from a URL that includes credentials: `+t);u=me({urlList:[e]}),p=`cors`}else this[ee]=r.dispatcher||t[ee],re(t instanceof e),u=t[M],x=t[j];let S=v.settingsObject.origin,C=`client`;if(u.window?.constructor?.name===`EnvironmentSettingsObject`&&_(u.window,S)&&(C=u.window),r.window!=null)throw TypeError(`'window' option '${C}' must be null`);`window`in r&&(C=`no-window`),u=me({method:u.method,headersList:u.headersList,unsafeRequest:u.unsafeRequest,client:v.settingsObject,window:C,priority:u.priority,origin:u.origin,referrer:u.referrer,referrerPolicy:u.referrerPolicy,mode:u.mode,credentials:u.credentials,cache:u.cache,redirect:u.redirect,integrity:u.integrity,keepalive:u.keepalive,reloadNavigation:u.reloadNavigation,historyNavigation:u.historyNavigation,urlList:[...u.urlList]});let w=Object.keys(r).length!==0;if(w&&(u.mode===`navigate`&&(u.mode=`same-origin`),u.reloadNavigation=!1,u.historyNavigation=!1,u.origin=`client`,u.referrer=`client`,u.referrerPolicy=``,u.url=u.urlList[u.urlList.length-1],u.urlList=[u.url]),r.referrer!==void 0){let e=r.referrer;if(e===``)u.referrer=`no-referrer`;else{let t;try{t=new URL(e,h)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}t.protocol===`about:`&&t.hostname===`client`||S&&!_(t,v.settingsObject.baseUrl)?u.referrer=`client`:u.referrer=t}}r.referrerPolicy!==void 0&&(u.referrerPolicy=r.referrerPolicy);let T;if(T=r.mode===void 0?p:r.mode,T===`navigate`)throw N.errors.exception({header:`Request constructor`,message:`invalid request mode navigate.`});if(T!=null&&(u.mode=T),r.credentials!==void 0&&(u.credentials=r.credentials),r.cache!==void 0&&(u.cache=r.cache),u.cache===`only-if-cached`&&u.mode!==`same-origin`)throw TypeError(`'only-if-cached' can be set only with 'same-origin' mode`);if(r.redirect!==void 0&&(u.redirect=r.redirect),r.integrity!=null&&(u.integrity=String(r.integrity)),r.keepalive!==void 0&&(u.keepalive=!!r.keepalive),r.method!==void 0){let e=r.method,t=k[e];if(t!==void 0)u.method=t;else{if(!g(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(y.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=O[t]??e,u.method=e}!fe&&u.method===`patch`&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:`UNDICI-FETCH-patch`}),fe=!0)}r.signal!==void 0&&(x=r.signal),this[M]=u;let E=new AbortController;if(this[j]=E.signal,x!=null){if(!x||typeof x.aborted!=`boolean`||typeof x.addEventListener!=`function`)throw TypeError(`Failed to construct 'Request': member signal is not of type AbortSignal.`);if(x.aborted)E.abort(x.reason);else{this[ce]=E;let e=de(new WeakRef(E));try{(typeof ie==`function`&&ie(x)===se||oe(x,`abort`).length>=se)&&ae(1500,x)}catch{}m.addAbortListener(x,e),le.register(E,{signal:x,abort:e},e)}}if(this[A]=new o(ne),d(this[A],u.headersList),l(this[A],`request`),T===`no-cors`){if(!b.has(u.method))throw TypeError(`'${u.method} is unsupported in no-cors mode.`);l(this[A],`request-no-cors`)}if(w){let e=f(this[A]),t=r.headers===void 0?new c(e):r.headers;if(e.clear(),t instanceof c){for(let{name:n,value:r}of t.rawValues())e.append(n,r,!1);e.cookies=t.cookies}else s(this[A],t)}let D=t instanceof e?t[M].body:null;if((r.body!=null||D!=null)&&(u.method===`GET`||u.method===`HEAD`))throw TypeError(`Request with GET/HEAD method cannot have body.`);let te=null;if(r.body!=null){let[e,t]=n(r.body,u.keepalive);te=e,t&&!f(this[A]).contains(`content-type`,!0)&&this[A].append(`content-type`,t)}let ue=te??D;if(ue!=null&&ue.source==null){if(te!=null&&r.duplex==null)throw TypeError(`RequestInit: duplex option is required when sending a body.`);if(u.mode!==`same-origin`&&u.mode!==`cors`)throw TypeError(`If request is made from ReadableStream, mode should be "same-origin" or "cors"`);u.useCORSPreflightFlag=!0}let pe=ue;if(te==null&&D!=null){if(a(t))throw TypeError(`Cannot construct a Request with a Request object that has already been used.`);let e=new TransformStream;D.stream.pipeThrough(e),pe={source:D.source,length:D.length,stream:e.readable}}this[M].body=pe}get method(){return N.brandCheck(this,e),this[M].method}get url(){return N.brandCheck(this,e),te(this[M].url)}get headers(){return N.brandCheck(this,e),this[A]}get destination(){return N.brandCheck(this,e),this[M].destination}get referrer(){return N.brandCheck(this,e),this[M].referrer===`no-referrer`?``:this[M].referrer===`client`?`about:client`:this[M].referrer.toString()}get referrerPolicy(){return N.brandCheck(this,e),this[M].referrerPolicy}get mode(){return N.brandCheck(this,e),this[M].mode}get credentials(){return this[M].credentials}get cache(){return N.brandCheck(this,e),this[M].cache}get redirect(){return N.brandCheck(this,e),this[M].redirect}get integrity(){return N.brandCheck(this,e),this[M].integrity}get keepalive(){return N.brandCheck(this,e),this[M].keepalive}get isReloadNavigation(){return N.brandCheck(this,e),this[M].reloadNavigation}get isHistoryNavigation(){return N.brandCheck(this,e),this[M].historyNavigation}get signal(){return N.brandCheck(this,e),this[j]}get body(){return N.brandCheck(this,e),this[M].body?this[M].body.stream:null}get bodyUsed(){return N.brandCheck(this,e),!!this[M].body&&m.isDisturbed(this[M].body.stream)}get duplex(){return N.brandCheck(this,e),`half`}clone(){if(N.brandCheck(this,e),a(this))throw TypeError(`unusable`);let t=he(this[M]),n=new AbortController;if(this.signal.aborted)n.abort(this.signal.reason);else{let e=ue.get(this.signal);e===void 0&&(e=new Set,ue.set(this.signal,e));let t=new WeakRef(n);e.add(t),m.addAbortListener(n.signal,de(t))}return ge(t,n.signal,u(this[A]))}[h.inspect.custom](e,t){t.depth===null&&(t.depth=2),t.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${h.formatWithOptions(t,n)}`}};r(pe);function me(e){return{method:e.method??`GET`,localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??``,window:e.window??`client`,keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??`all`,initiator:e.initiator??``,destination:e.destination??``,priority:e.priority??null,origin:e.origin??`client`,policyContainer:e.policyContainer??`client`,referrer:e.referrer??`client`,referrerPolicy:e.referrerPolicy??``,mode:e.mode??`no-cors`,useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??`same-origin`,useCredentials:e.useCredentials??!1,cache:e.cache??`default`,redirect:e.redirect??`follow`,integrity:e.integrity??``,cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??``,parserMetadata:e.parserMetadata??``,reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??`basic`,preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function he(e){let t=me({...e,body:null});return e.body!=null&&(t.body=i(t,e.body)),t}function ge(e,t,n){let r=new pe(ne);return r[M]=e,r[j]=t,r[A]=new o(ne),d(r[A],e.headersList),l(r[A],n),r}Object.defineProperties(pe.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:`Request`,configurable:!0}}),N.converters.Request=N.interfaceConverter(pe),N.converters.RequestInfo=function(e,t,n){return typeof e==`string`?N.converters.USVString(e,t,n):e instanceof pe?N.converters.Request(e,t,n):N.converters.USVString(e,t,n)},N.converters.AbortSignal=N.interfaceConverter(AbortSignal),N.converters.RequestInit=N.dictionaryConverter([{key:`method`,converter:N.converters.ByteString},{key:`headers`,converter:N.converters.HeadersInit},{key:`body`,converter:N.nullableConverter(N.converters.BodyInit)},{key:`referrer`,converter:N.converters.USVString},{key:`referrerPolicy`,converter:N.converters.DOMString,allowedValues:x},{key:`mode`,converter:N.converters.DOMString,allowedValues:C},{key:`credentials`,converter:N.converters.DOMString,allowedValues:w},{key:`cache`,converter:N.converters.DOMString,allowedValues:T},{key:`redirect`,converter:N.converters.DOMString,allowedValues:S},{key:`integrity`,converter:N.converters.DOMString},{key:`keepalive`,converter:N.converters.boolean},{key:`signal`,converter:N.nullableConverter(e=>N.converters.AbortSignal(e,`RequestInit`,`signal`,{strict:!1}))},{key:`window`,converter:N.converters.any},{key:`duplex`,converter:N.converters.DOMString,allowedValues:E},{key:`dispatcher`,converter:N.converters.any}]),t.exports={Request:pe,makeRequest:me,fromInnerRequest:ge,cloneRequest:he}})),tn=P(((e,t)=>{let{makeNetworkError:n,makeAppropriateNetworkError:r,filterResponse:i,makeResponse:a,fromInnerResponse:o}=Qt(),{HeadersList:s}=Zt(),{Request:c,cloneRequest:l}=en(),u=F(`node:zlib`),{bytesMatch:d,makePolicyContainer:f,clonePolicyContainer:p,requestBadPort:m,TAOCheck:h,appendRequestOriginHeader:g,responseLocationURL:_,requestCurrentURL:v,setRequestReferrerPolicyOnRedirect:y,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:x,appendFetchMetadata:S,corsCheck:C,crossOriginResourcePolicyCheck:w,determineRequestsReferrer:T,coarsenedSharedCurrentTime:E,createDeferredPromise:D,isBlobLike:O,sameOrigin:k,isCancelled:A,isAborted:j,isErrorLike:M,fullyReadBody:ee,readableStreamClose:N,isomorphicEncode:te,urlIsLocal:ne,urlIsHttpHttpsScheme:re,urlHasHttpsScheme:ie,clampAndCoarsenConnectionTimingInfo:ae,simpleRangeHeaderValue:oe,buildContentRange:se,createInflate:ce,extractMimeType:le}=ot(),{kState:ue,kDispatcher:de}=st(),fe=F(`node:assert`),{safelyExtractBody:pe,extractBody:me}=dt(),{redirectStatusSet:he,nullBodyStatus:ge,safeMethodsSet:_e,requestBodyHeader:ve,subresourceSet:ye}=nt(),be=F(`node:events`),{Readable:xe,pipeline:Se,finished:Ce}=F(`node:stream`),{addAbortListener:we,isErrored:P,isReadable:Te,bufferToLowerCasedHeaderName:Ee}=L(),{dataURLProcessor:De,serializeAMimeType:Oe,minimizeSupportedMimeType:ke}=it(),{getGlobalDispatcher:Ae}=Gt(),{webidl:je}=at(),{STATUS_CODES:Me}=F(`node:http`),Ne=[`GET`,`HEAD`],Pe=typeof __UNDICI_IS_NODE__<`u`||typeof esbuildDetection<`u`?`node`:`undici`,Fe;var Ie=class extends be{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state=`ongoing`}terminate(e){this.state===`ongoing`&&(this.state=`terminated`,this.connection?.destroy(e),this.emit(`terminated`,e))}abort(e){this.state===`ongoing`&&(this.state=`aborted`,e||=new DOMException(`The operation was aborted.`,`AbortError`),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit(`terminated`,e))}};function Le(e){ze(e,`fetch`)}function Re(e,t=void 0){je.argumentLengthCheck(arguments,1,`globalThis.fetch`);let n=D(),r;try{r=new c(e,t)}catch(e){return n.reject(e),n.promise}let i=r[ue];if(r.signal.aborted)return Ve(n,i,null,r.signal.reason),n.promise;i.client.globalObject?.constructor?.name===`ServiceWorkerGlobalScope`&&(i.serviceWorkers=`none`);let a=null,s=!1,l=null;return we(r.signal,()=>{s=!0,fe(l!=null),l.abort(r.signal.reason);let e=a?.deref();Ve(n,i,e,r.signal.reason)}),l=He({request:i,processResponseEndOfBody:Le,processResponse:e=>{if(!s){if(e.aborted){Ve(n,i,a,l.serializedAbortReason);return}if(e.type===`error`){n.reject(TypeError(`fetch failed`,{cause:e.error}));return}a=new WeakRef(o(e,`immutable`)),n.resolve(a.deref()),n=null}},dispatcher:r[de]}),n.promise}function ze(e,t=`other`){if(e.type===`error`&&e.aborted||!e.urlList?.length)return;let n=e.urlList[0],r=e.timingInfo,i=e.cacheState;re(n)&&r!==null&&(e.timingAllowPassed||(r=x({startTime:r.startTime}),i=``),r.endTime=E(),e.timingInfo=r,Be(r,n.href,t,globalThis,i))}let Be=performance.markResourceTiming;function Ve(e,t,n,r){if(e&&e.reject(r),t.body!=null&&Te(t.body?.stream)&&t.body.stream.cancel(r).catch(e=>{if(e.code!==`ERR_INVALID_STATE`)throw e}),n==null)return;let i=n[ue];i.body!=null&&Te(i.body?.stream)&&i.body.stream.cancel(r).catch(e=>{if(e.code!==`ERR_INVALID_STATE`)throw e})}function He({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:r,processResponseEndOfBody:i,processResponseConsumeBody:a,useParallelQueue:o=!1,dispatcher:s=Ae()}){fe(s);let c=null,l=!1;e.client!=null&&(c=e.client.globalObject,l=e.client.crossOriginIsolatedCapability);let u=x({startTime:E(l)}),d={controller:new Ie(s),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:r,processResponseConsumeBody:a,processResponseEndOfBody:i,taskDestination:c,crossOriginIsolatedCapability:l};return fe(!e.body||e.body.stream),e.window===`client`&&(e.window=e.client?.globalObject?.constructor?.name===`Window`?e.client:`no-window`),e.origin===`client`&&(e.origin=e.client.origin),e.policyContainer===`client`&&(e.client==null?e.policyContainer=f():e.policyContainer=p(e.client.policyContainer)),e.headersList.contains(`accept`,!0)||e.headersList.append(`accept`,`*/*`,!0),e.headersList.contains(`accept-language`,!0)||e.headersList.append(`accept-language`,`*`,!0),e.priority,ye.has(e.destination),Ue(d).catch(e=>{d.controller.terminate(e)}),d.controller}async function Ue(e,t=!1){let r=e.request,a=null;if(r.localURLsOnly&&!ne(v(r))&&(a=n(`local URLs only`)),b(r),m(r)===`blocked`&&(a=n(`bad port`)),r.referrerPolicy===``&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!==`no-referrer`&&(r.referrer=T(r)),a===null&&(a=await(async()=>{let t=v(r);return k(t,r.url)&&r.responseTainting===`basic`||t.protocol===`data:`||r.mode===`navigate`||r.mode===`websocket`?(r.responseTainting=`basic`,await I(e)):r.mode===`same-origin`?n(`request mode cannot be "same-origin"`):r.mode===`no-cors`?r.redirect===`follow`?(r.responseTainting=`opaque`,await I(e)):n(`redirect mode cannot be "follow" for "no-cors" request`):re(v(r))?(r.responseTainting=`cors`,await Ke(e)):n(`URL scheme must be a HTTP(S) scheme`)})()),t)return a;a.status!==0&&!a.internalResponse&&(r.responseTainting,r.responseTainting===`basic`?a=i(a,`basic`):r.responseTainting===`cors`?a=i(a,`cors`):r.responseTainting===`opaque`?a=i(a,`opaque`):fe(!1));let o=a.status===0?a:a.internalResponse;if(o.urlList.length===0&&o.urlList.push(...r.urlList),r.timingAllowFailed||(a.timingAllowPassed=!0),a.type===`opaque`&&o.status===206&&o.rangeRequested&&!r.headers.contains(`range`,!0)&&(a=o=n()),a.status!==0&&(r.method===`HEAD`||r.method===`CONNECT`||ge.includes(o.status))&&(o.body=null,e.controller.dump=!0),r.integrity){let t=t=>Ge(e,n(t));if(r.responseTainting===`opaque`||a.body==null){t(a.error);return}await ee(a.body,n=>{if(!d(n,r.integrity)){t(`integrity mismatch`);return}a.body=pe(n)[0],Ge(e,a)},t)}else Ge(e,a)}function I(e){if(A(e)&&e.request.redirectCount===0)return Promise.resolve(r(e));let{request:t}=e,{protocol:i}=v(t);switch(i){case`about:`:return Promise.resolve(n(`about scheme is not supported`));case`blob:`:{Fe||=F(`node:buffer`).resolveObjectURL;let e=v(t);if(e.search.length!==0)return Promise.resolve(n(`NetworkError when attempting to fetch resource.`));let r=Fe(e.toString());if(t.method!==`GET`||!O(r))return Promise.resolve(n(`invalid method`));let i=a(),o=r.size,s=te(`${o}`),c=r.type;if(t.headersList.contains(`range`,!0)){i.rangeRequested=!0;let e=oe(t.headersList.get(`range`,!0),!0);if(e===`failure`)return Promise.resolve(n(`failed to fetch the data URL`));let{rangeStartValue:a,rangeEndValue:s}=e;if(a===null)a=o-s,s=a+s-1;else{if(a>=o)return Promise.resolve(n(`Range start is greater than the blob's size.`));(s===null||s>=o)&&(s=o-1)}let l=r.slice(a,s,c);i.body=me(l)[0];let u=te(`${l.size}`),d=se(a,s,o);i.status=206,i.statusText=`Partial Content`,i.headersList.set(`content-length`,u,!0),i.headersList.set(`content-type`,c,!0),i.headersList.set(`content-range`,d,!0)}else{let e=me(r);i.statusText=`OK`,i.body=e[0],i.headersList.set(`content-length`,s,!0),i.headersList.set(`content-type`,c,!0)}return Promise.resolve(i)}case`data:`:{let e=De(v(t));if(e===`failure`)return Promise.resolve(n(`failed to fetch the data URL`));let r=Oe(e.mimeType);return Promise.resolve(a({statusText:`OK`,headersList:[[`content-type`,{name:`Content-Type`,value:r}]],body:pe(e.body)[0]}))}case`file:`:return Promise.resolve(n(`not implemented... yet...`));case`http:`:case`https:`:return Ke(e).catch(e=>n(e));default:return Promise.resolve(n(`unknown scheme`))}}function We(e,t){e.request.done=!0,e.processResponseDone!=null&&queueMicrotask(()=>e.processResponseDone(t))}function Ge(e,t){let n=e.timingInfo,r=()=>{let r=Date.now();e.request.destination===`document`&&(e.controller.fullTimingInfo=n),e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!==`https:`)return;n.endTime=r;let i=t.cacheState,a=t.bodyInfo;t.timingAllowPassed||(n=x(n),i=``);let o=0;if(e.request.mode!==`navigator`||!t.hasCrossOriginRedirects){o=t.status;let e=le(t.headersList);e!==`failure`&&(a.contentType=ke(e))}e.request.initiatorType!=null&&Be(n,e.request.url.href,e.request.initiatorType,globalThis,i,a,o)};let i=()=>{e.request.done=!0,e.processResponseEndOfBody!=null&&queueMicrotask(()=>e.processResponseEndOfBody(t)),e.request.initiatorType!=null&&e.controller.reportTimingSteps()};queueMicrotask(()=>i())};e.processResponse!=null&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let i=t.type===`error`?t:t.internalResponse??t;i.body==null?r():Ce(i.body.stream,()=>{r()})}async function Ke(e){let t=e.request,r=null,i=null,a=e.timingInfo;if(t.serviceWorkers,r===null){if(t.redirect===`follow`&&(t.serviceWorkers=`none`),i=r=await Je(e),t.responseTainting===`cors`&&C(t,r)===`failure`)return n(`cors failure`);h(t,r)===`failure`&&(t.timingAllowFailed=!0)}return(t.responseTainting===`opaque`||r.type===`opaque`)&&w(t.origin,t.client,t.destination,i)===`blocked`?n(`blocked`):(he.has(i.status)&&(t.redirect!==`manual`&&e.controller.connection.destroy(void 0,!1),t.redirect===`error`?r=n(`unexpected redirect`):t.redirect===`manual`?r=i:t.redirect===`follow`?r=await qe(e,r):fe(!1)),r.timingInfo=a,r)}function qe(e,t){let r=e.request,i=t.internalResponse?t.internalResponse:t,a;try{if(a=_(i,v(r).hash),a==null)return t}catch(e){return Promise.resolve(n(e))}if(!re(a))return Promise.resolve(n(`URL scheme must be a HTTP(S) scheme`));if(r.redirectCount===20)return Promise.resolve(n(`redirect count exceeded`));if(r.redirectCount+=1,r.mode===`cors`&&(a.username||a.password)&&!k(r,a))return Promise.resolve(n(`cross origin not allowed for request mode "cors"`));if(r.responseTainting===`cors`&&(a.username||a.password))return Promise.resolve(n(`URL cannot contain credentials for request mode "cors"`));if(i.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(n());if([301,302].includes(i.status)&&r.method===`POST`||i.status===303&&!Ne.includes(r.method)){r.method=`GET`,r.body=null;for(let e of ve)r.headersList.delete(e)}k(v(r),a)||(r.headersList.delete(`authorization`,!0),r.headersList.delete(`proxy-authorization`,!0),r.headersList.delete(`cookie`,!0),r.headersList.delete(`host`,!0)),r.body!=null&&(fe(r.body.source!=null),r.body=pe(r.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=E(e.crossOriginIsolatedCapability),o.redirectStartTime===0&&(o.redirectStartTime=o.startTime),r.urlList.push(a),y(r,i),Ue(e,!0)}async function Je(e,t=!1,i=!1){let a=e.request,o=null,s=null,c=null;a.window===`no-window`&&a.redirect===`error`?(o=e,s=a):(s=l(a),o={...e},o.request=s);let u=a.credentials===`include`||a.credentials===`same-origin`&&a.responseTainting===`basic`,d=s.body?s.body.length:null,f=null;if(s.body==null&&[`POST`,`PUT`].includes(s.method)&&(f=`0`),d!=null&&(f=te(`${d}`)),f!=null&&s.headersList.append(`content-length`,f,!0),d!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append(`referer`,te(s.referrer.href),!0),g(s),S(s),s.headersList.contains(`user-agent`,!0)||s.headersList.append(`user-agent`,Pe),s.cache===`default`&&(s.headersList.contains(`if-modified-since`,!0)||s.headersList.contains(`if-none-match`,!0)||s.headersList.contains(`if-unmodified-since`,!0)||s.headersList.contains(`if-match`,!0)||s.headersList.contains(`if-range`,!0))&&(s.cache=`no-store`),s.cache===`no-cache`&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains(`cache-control`,!0)&&s.headersList.append(`cache-control`,`max-age=0`,!0),(s.cache===`no-store`||s.cache===`reload`)&&(s.headersList.contains(`pragma`,!0)||s.headersList.append(`pragma`,`no-cache`,!0),s.headersList.contains(`cache-control`,!0)||s.headersList.append(`cache-control`,`no-cache`,!0)),s.headersList.contains(`range`,!0)&&s.headersList.append(`accept-encoding`,`identity`,!0),s.headersList.contains(`accept-encoding`,!0)||(ie(v(s))?s.headersList.append(`accept-encoding`,`br, gzip, deflate`,!0):s.headersList.append(`accept-encoding`,`gzip, deflate`,!0)),s.headersList.delete(`host`,!0),s.cache=`no-store`,s.cache!==`no-store`&&s.cache,c==null){if(s.cache===`only-if-cached`)return n(`only if cached`);let e=await Ye(o,u,i);!_e.has(s.method)&&e.status>=200&&e.status,c??=e}if(c.urlList=[...s.urlList],s.headersList.contains(`range`,!0)&&(c.rangeRequested=!0),c.requestIncludesCredentials=u,c.status===407)return a.window===`no-window`?n():A(e)?r(e):n(`proxy authentication required`);if(c.status===421&&!i&&(a.body==null||a.body.source!=null)){if(A(e))return r(e);e.controller.connection.destroy(),c=await Je(e,t,!0)}return c}async function Ye(e,t=!1,i=!1){fe(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){this.destroyed||(this.destroyed=!0,t&&this.abort?.(e??new DOMException(`The operation was aborted.`,`AbortError`)))}};let o=e.request,c=null,l=e.timingInfo;o.cache=`no-store`,o.mode;let d=null;if(o.body==null&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(o.body!=null){let t=async function*(t){A(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))},n=()=>{A(e)||e.processRequestEndOfBody&&e.processRequestEndOfBody()},r=t=>{A(e)||(t.name===`AbortError`?e.controller.abort():e.controller.terminate(t))};d=(async function*(){try{for await(let e of o.body.stream)yield*t(e);n()}catch(e){r(e)}})()}try{let{body:t,status:n,statusText:r,headersList:i,socket:o}=await g({body:d});if(o)c=a({status:n,statusText:r,headersList:i,socket:o});else{let o=t[Symbol.asyncIterator]();e.controller.next=()=>o.next(),c=a({status:n,statusText:r,headersList:i})}}catch(t){return t.name===`AbortError`?(e.controller.connection.destroy(),r(e,t)):n(t)}let f=async()=>{await e.controller.resume()},p=t=>{A(e)||e.controller.abort(t)},m=new ReadableStream({async start(t){e.controller.controller=t},async pull(e){await f(e)},async cancel(e){await p(e)},type:`bytes`});c.body={stream:m,source:null,length:null},e.controller.onAborted=h,e.controller.on(`terminated`,h),e.controller.resume=async()=>{for(;;){let t,n;try{let{done:n,value:r}=await e.controller.next();if(j(e))break;t=n?void 0:r}catch(r){e.controller.ended&&!l.encodedBodySize?t=void 0:(t=r,n=!0)}if(t===void 0){N(e.controller.controller),We(e,c);return}if(l.decodedBodySize+=t?.byteLength??0,n){e.controller.terminate(t);return}let r=new Uint8Array(t);if(r.byteLength&&e.controller.controller.enqueue(r),P(m)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0)return}};function h(t){j(e)?(c.aborted=!0,Te(m)&&e.controller.controller.error(e.controller.serializedAbortReason)):Te(m)&&e.controller.controller.error(TypeError(`terminated`,{cause:M(t)?t:void 0})),e.controller.connection.destroy()}return c;function g({body:t}){let n=v(o),r=e.controller.dispatcher;return new Promise((i,a)=>r.dispatch({path:n.pathname+n.search,origin:n.origin,method:o.method,body:r.isMockActive?o.body&&(o.body.source||o.body.stream):t,headers:o.headersList.entries,maxRedirections:0,upgrade:o.mode===`websocket`?`websocket`:void 0},{body:null,abort:null,onConnect(t){let{connection:n}=e.controller;l.finalConnectionTimingInfo=ae(void 0,l.postRedirectStartTime,e.crossOriginIsolatedCapability),n.destroyed?t(new DOMException(`The operation was aborted.`,`AbortError`)):(e.controller.on(`terminated`,t),this.abort=n.abort=t),l.finalNetworkRequestStartTime=E(e.crossOriginIsolatedCapability)},onResponseStarted(){l.finalNetworkResponseStartTime=E(e.crossOriginIsolatedCapability)},onHeaders(e,t,n,r){if(e<200)return;let c=``,l=new s;for(let e=0;e5)return a(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`)),!0;for(let e=t.length-1;e>=0;--e){let n=t[e].trim();if(n===`x-gzip`||n===`gzip`)d.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}));else if(n===`deflate`)d.push(ce({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}));else if(n===`br`)d.push(u.createBrotliDecompress({flush:u.constants.BROTLI_OPERATION_FLUSH,finishFlush:u.constants.BROTLI_OPERATION_FLUSH}));else{d.length=0;break}}}let p=this.onError.bind(this);return i({status:e,statusText:r,headersList:l,body:d.length?Se(this.body,...d,e=>{e&&this.onError(e)}).on(`error`,p):this.body.on(`error`,p)}),!0},onData(t){if(e.controller.dump)return;let n=t;return l.encodedBodySize+=n.byteLength,this.body.push(n)},onComplete(){this.abort&&e.controller.off(`terminated`,this.abort),e.controller.onAborted&&e.controller.off(`terminated`,e.controller.onAborted),e.controller.ended=!0,this.body.push(null)},onError(t){this.abort&&e.controller.off(`terminated`,this.abort),this.body?.destroy(t),e.controller.terminate(t),a(t)},onUpgrade(e,t,n){if(e!==101)return;let r=new s;for(let e=0;e{t.exports={kState:Symbol(`FileReader state`),kResult:Symbol(`FileReader result`),kError:Symbol(`FileReader error`),kLastProgressEventFired:Symbol(`FileReader last progress event fired timestamp`),kEvents:Symbol(`FileReader events`),kAborted:Symbol(`FileReader aborted`)}})),rn=P(((e,t)=>{let{webidl:n}=at(),r=Symbol(`ProgressEvent state`);var i=class e extends Event{constructor(e,t={}){e=n.converters.DOMString(e,`ProgressEvent constructor`,`type`),t=n.converters.ProgressEventInit(t??{}),super(e,t),this[r]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){return n.brandCheck(this,e),this[r].lengthComputable}get loaded(){return n.brandCheck(this,e),this[r].loaded}get total(){return n.brandCheck(this,e),this[r].total}};n.converters.ProgressEventInit=n.dictionaryConverter([{key:`lengthComputable`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`loaded`,converter:n.converters[`unsigned long long`],defaultValue:()=>0},{key:`total`,converter:n.converters[`unsigned long long`],defaultValue:()=>0},{key:`bubbles`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`cancelable`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`composed`,converter:n.converters.boolean,defaultValue:()=>!1}]),t.exports={ProgressEvent:i}})),an=P(((e,t)=>{function n(e){if(!e)return`failure`;switch(e.trim().toLowerCase()){case`unicode-1-1-utf-8`:case`unicode11utf8`:case`unicode20utf8`:case`utf-8`:case`utf8`:case`x-unicode20utf8`:return`UTF-8`;case`866`:case`cp866`:case`csibm866`:case`ibm866`:return`IBM866`;case`csisolatin2`:case`iso-8859-2`:case`iso-ir-101`:case`iso8859-2`:case`iso88592`:case`iso_8859-2`:case`iso_8859-2:1987`:case`l2`:case`latin2`:return`ISO-8859-2`;case`csisolatin3`:case`iso-8859-3`:case`iso-ir-109`:case`iso8859-3`:case`iso88593`:case`iso_8859-3`:case`iso_8859-3:1988`:case`l3`:case`latin3`:return`ISO-8859-3`;case`csisolatin4`:case`iso-8859-4`:case`iso-ir-110`:case`iso8859-4`:case`iso88594`:case`iso_8859-4`:case`iso_8859-4:1988`:case`l4`:case`latin4`:return`ISO-8859-4`;case`csisolatincyrillic`:case`cyrillic`:case`iso-8859-5`:case`iso-ir-144`:case`iso8859-5`:case`iso88595`:case`iso_8859-5`:case`iso_8859-5:1988`:return`ISO-8859-5`;case`arabic`:case`asmo-708`:case`csiso88596e`:case`csiso88596i`:case`csisolatinarabic`:case`ecma-114`:case`iso-8859-6`:case`iso-8859-6-e`:case`iso-8859-6-i`:case`iso-ir-127`:case`iso8859-6`:case`iso88596`:case`iso_8859-6`:case`iso_8859-6:1987`:return`ISO-8859-6`;case`csisolatingreek`:case`ecma-118`:case`elot_928`:case`greek`:case`greek8`:case`iso-8859-7`:case`iso-ir-126`:case`iso8859-7`:case`iso88597`:case`iso_8859-7`:case`iso_8859-7:1987`:case`sun_eu_greek`:return`ISO-8859-7`;case`csiso88598e`:case`csisolatinhebrew`:case`hebrew`:case`iso-8859-8`:case`iso-8859-8-e`:case`iso-ir-138`:case`iso8859-8`:case`iso88598`:case`iso_8859-8`:case`iso_8859-8:1988`:case`visual`:return`ISO-8859-8`;case`csiso88598i`:case`iso-8859-8-i`:case`logical`:return`ISO-8859-8-I`;case`csisolatin6`:case`iso-8859-10`:case`iso-ir-157`:case`iso8859-10`:case`iso885910`:case`l6`:case`latin6`:return`ISO-8859-10`;case`iso-8859-13`:case`iso8859-13`:case`iso885913`:return`ISO-8859-13`;case`iso-8859-14`:case`iso8859-14`:case`iso885914`:return`ISO-8859-14`;case`csisolatin9`:case`iso-8859-15`:case`iso8859-15`:case`iso885915`:case`iso_8859-15`:case`l9`:return`ISO-8859-15`;case`iso-8859-16`:return`ISO-8859-16`;case`cskoi8r`:case`koi`:case`koi8`:case`koi8-r`:case`koi8_r`:return`KOI8-R`;case`koi8-ru`:case`koi8-u`:return`KOI8-U`;case`csmacintosh`:case`mac`:case`macintosh`:case`x-mac-roman`:return`macintosh`;case`iso-8859-11`:case`iso8859-11`:case`iso885911`:case`tis-620`:case`windows-874`:return`windows-874`;case`cp1250`:case`windows-1250`:case`x-cp1250`:return`windows-1250`;case`cp1251`:case`windows-1251`:case`x-cp1251`:return`windows-1251`;case`ansi_x3.4-1968`:case`ascii`:case`cp1252`:case`cp819`:case`csisolatin1`:case`ibm819`:case`iso-8859-1`:case`iso-ir-100`:case`iso8859-1`:case`iso88591`:case`iso_8859-1`:case`iso_8859-1:1987`:case`l1`:case`latin1`:case`us-ascii`:case`windows-1252`:case`x-cp1252`:return`windows-1252`;case`cp1253`:case`windows-1253`:case`x-cp1253`:return`windows-1253`;case`cp1254`:case`csisolatin5`:case`iso-8859-9`:case`iso-ir-148`:case`iso8859-9`:case`iso88599`:case`iso_8859-9`:case`iso_8859-9:1989`:case`l5`:case`latin5`:case`windows-1254`:case`x-cp1254`:return`windows-1254`;case`cp1255`:case`windows-1255`:case`x-cp1255`:return`windows-1255`;case`cp1256`:case`windows-1256`:case`x-cp1256`:return`windows-1256`;case`cp1257`:case`windows-1257`:case`x-cp1257`:return`windows-1257`;case`cp1258`:case`windows-1258`:case`x-cp1258`:return`windows-1258`;case`x-mac-cyrillic`:case`x-mac-ukrainian`:return`x-mac-cyrillic`;case`chinese`:case`csgb2312`:case`csiso58gb231280`:case`gb2312`:case`gb_2312`:case`gb_2312-80`:case`gbk`:case`iso-ir-58`:case`x-gbk`:return`GBK`;case`gb18030`:return`gb18030`;case`big5`:case`big5-hkscs`:case`cn-big5`:case`csbig5`:case`x-x-big5`:return`Big5`;case`cseucpkdfmtjapanese`:case`euc-jp`:case`x-euc-jp`:return`EUC-JP`;case`csiso2022jp`:case`iso-2022-jp`:return`ISO-2022-JP`;case`csshiftjis`:case`ms932`:case`ms_kanji`:case`shift-jis`:case`shift_jis`:case`sjis`:case`windows-31j`:case`x-sjis`:return`Shift_JIS`;case`cseuckr`:case`csksc56011987`:case`euc-kr`:case`iso-ir-149`:case`korean`:case`ks_c_5601-1987`:case`ks_c_5601-1989`:case`ksc5601`:case`ksc_5601`:case`windows-949`:return`EUC-KR`;case`csiso2022kr`:case`hz-gb-2312`:case`iso-2022-cn`:case`iso-2022-cn-ext`:case`iso-2022-kr`:case`replacement`:return`replacement`;case`unicodefffe`:case`utf-16be`:return`UTF-16BE`;case`csunicode`:case`iso-10646-ucs-2`:case`ucs-2`:case`unicode`:case`unicodefeff`:case`utf-16`:case`utf-16le`:return`UTF-16LE`;case`x-user-defined`:return`x-user-defined`;default:return`failure`}}t.exports={getEncoding:n}})),on=P(((e,t)=>{let{kState:n,kError:r,kResult:i,kAborted:a,kLastProgressEventFired:o}=nn(),{ProgressEvent:s}=rn(),{getEncoding:c}=an(),{serializeAMimeType:l,parseMIMEType:u}=it(),{types:d}=F(`node:util`),{StringDecoder:f}=F(`string_decoder`),{btoa:p}=F(`node:buffer`),m={enumerable:!0,writable:!1,configurable:!1};function h(e,t,s,c){if(e[n]===`loading`)throw new DOMException(`Invalid state`,`InvalidStateError`);e[n]=`loading`,e[i]=null,e[r]=null;let l=t.stream().getReader(),u=[],f=l.read(),p=!0;(async()=>{for(;!e[a];)try{let{done:m,value:h}=await f;if(p&&!e[a]&&queueMicrotask(()=>{g(`loadstart`,e)}),p=!1,!m&&d.isUint8Array(h))u.push(h),(e[o]===void 0||Date.now()-e[o]>=50)&&!e[a]&&(e[o]=Date.now(),queueMicrotask(()=>{g(`progress`,e)})),f=l.read();else if(m){queueMicrotask(()=>{e[n]=`done`;try{let n=_(u,s,t.type,c);if(e[a])return;e[i]=n,g(`load`,e)}catch(t){e[r]=t,g(`error`,e)}e[n]!==`loading`&&g(`loadend`,e)});break}}catch(t){if(e[a])return;queueMicrotask(()=>{e[n]=`done`,e[r]=t,g(`error`,e),e[n]!==`loading`&&g(`loadend`,e)});break}})()}function g(e,t){let n=new s(e,{bubbles:!1,cancelable:!1});t.dispatchEvent(n)}function _(e,t,n,r){switch(t){case`DataURL`:{let t=`data:`,r=u(n||`application/octet-stream`);r!==`failure`&&(t+=l(r)),t+=`;base64,`;let i=new f(`latin1`);for(let n of e)t+=p(i.write(n));return t+=p(i.end()),t}case`Text`:{let t=`failure`;if(r&&(t=c(r)),t===`failure`&&n){let e=u(n);e!==`failure`&&(t=c(e.parameters.get(`charset`)))}return t===`failure`&&(t=`UTF-8`),v(e,t)}case`ArrayBuffer`:return b(e).buffer;case`BinaryString`:{let t=``,n=new f(`latin1`);for(let r of e)t+=n.write(r);return t+=n.end(),t}}}function v(e,t){let n=b(e),r=y(n),i=0;r!==null&&(t=r,i=r===`UTF-8`?3:2);let a=n.slice(i);return new TextDecoder(t).decode(a)}function y(e){let[t,n,r]=e;return t===239&&n===187&&r===191?`UTF-8`:t===254&&n===255?`UTF-16BE`:t===255&&n===254?`UTF-16LE`:null}function b(e){let t=e.reduce((e,t)=>e+t.byteLength,0),n=0;return e.reduce((e,t)=>(e.set(t,n),n+=t.byteLength,e),new Uint8Array(t))}t.exports={staticPropertyDescriptors:m,readOperation:h,fireAProgressEvent:g}})),sn=P(((e,t)=>{let{staticPropertyDescriptors:n,readOperation:r,fireAProgressEvent:i}=on(),{kState:a,kError:o,kResult:s,kEvents:c,kAborted:l}=nn(),{webidl:u}=at(),{kEnumerableProperty:d}=L();var f=class e extends EventTarget{constructor(){super(),this[a]=`empty`,this[s]=null,this[o]=null,this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(t){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsArrayBuffer`),t=u.converters.Blob(t,{strict:!1}),r(this,t,`ArrayBuffer`)}readAsBinaryString(t){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsBinaryString`),t=u.converters.Blob(t,{strict:!1}),r(this,t,`BinaryString`)}readAsText(t,n=void 0){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsText`),t=u.converters.Blob(t,{strict:!1}),n!==void 0&&(n=u.converters.DOMString(n,`FileReader.readAsText`,`encoding`)),r(this,t,`Text`,n)}readAsDataURL(t){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsDataURL`),t=u.converters.Blob(t,{strict:!1}),r(this,t,`DataURL`)}abort(){if(this[a]===`empty`||this[a]===`done`){this[s]=null;return}this[a]===`loading`&&(this[a]=`done`,this[s]=null),this[l]=!0,i(`abort`,this),this[a]!==`loading`&&i(`loadend`,this)}get readyState(){switch(u.brandCheck(this,e),this[a]){case`empty`:return this.EMPTY;case`loading`:return this.LOADING;case`done`:return this.DONE}}get result(){return u.brandCheck(this,e),this[s]}get error(){return u.brandCheck(this,e),this[o]}get onloadend(){return u.brandCheck(this,e),this[c].loadend}set onloadend(t){u.brandCheck(this,e),this[c].loadend&&this.removeEventListener(`loadend`,this[c].loadend),typeof t==`function`?(this[c].loadend=t,this.addEventListener(`loadend`,t)):this[c].loadend=null}get onerror(){return u.brandCheck(this,e),this[c].error}set onerror(t){u.brandCheck(this,e),this[c].error&&this.removeEventListener(`error`,this[c].error),typeof t==`function`?(this[c].error=t,this.addEventListener(`error`,t)):this[c].error=null}get onloadstart(){return u.brandCheck(this,e),this[c].loadstart}set onloadstart(t){u.brandCheck(this,e),this[c].loadstart&&this.removeEventListener(`loadstart`,this[c].loadstart),typeof t==`function`?(this[c].loadstart=t,this.addEventListener(`loadstart`,t)):this[c].loadstart=null}get onprogress(){return u.brandCheck(this,e),this[c].progress}set onprogress(t){u.brandCheck(this,e),this[c].progress&&this.removeEventListener(`progress`,this[c].progress),typeof t==`function`?(this[c].progress=t,this.addEventListener(`progress`,t)):this[c].progress=null}get onload(){return u.brandCheck(this,e),this[c].load}set onload(t){u.brandCheck(this,e),this[c].load&&this.removeEventListener(`load`,this[c].load),typeof t==`function`?(this[c].load=t,this.addEventListener(`load`,t)):this[c].load=null}get onabort(){return u.brandCheck(this,e),this[c].abort}set onabort(t){u.brandCheck(this,e),this[c].abort&&this.removeEventListener(`abort`,this[c].abort),typeof t==`function`?(this[c].abort=t,this.addEventListener(`abort`,t)):this[c].abort=null}};f.EMPTY=f.prototype.EMPTY=0,f.LOADING=f.prototype.LOADING=1,f.DONE=f.prototype.DONE=2,Object.defineProperties(f.prototype,{EMPTY:n,LOADING:n,DONE:n,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:`FileReader`,writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(f,{EMPTY:n,LOADING:n,DONE:n}),t.exports={FileReader:f}})),cn=P(((e,t)=>{t.exports={kConstruct:Ue().kConstruct}})),ln=P(((e,t)=>{let n=F(`node:assert`),{URLSerializer:r}=it(),{isValidHeaderName:i}=ot();function a(e,t,n=!1){return r(e,n)===r(t,n)}function o(e){n(e!==null);let t=[];for(let n of e.split(`,`))n=n.trim(),i(n)&&t.push(n);return t}t.exports={urlEquals:a,getFieldValues:o}})),un=P(((e,t)=>{let{kConstruct:n}=cn(),{urlEquals:r,getFieldValues:i}=ln(),{kEnumerableProperty:a,isDisturbed:o}=L(),{webidl:s}=at(),{Response:c,cloneResponse:l,fromInnerResponse:u}=Qt(),{Request:d,fromInnerRequest:f}=en(),{kState:p}=st(),{fetching:m}=tn(),{urlIsHttpHttpsScheme:h,createDeferredPromise:g,readAllBytes:_}=ot(),v=F(`node:assert`);var y=class e{#e;constructor(){arguments[0]!==n&&s.illegalConstructor(),s.util.markAsUncloneable(this),this.#e=arguments[1]}async match(t,n={}){s.brandCheck(this,e);let r=`Cache.match`;s.argumentLengthCheck(arguments,1,r),t=s.converters.RequestInfo(t,r,`request`),n=s.converters.CacheQueryOptions(n,r,`options`);let i=this.#i(t,n,1);if(i.length!==0)return i[0]}async matchAll(t=void 0,n={}){s.brandCheck(this,e);let r=`Cache.matchAll`;return t!==void 0&&(t=s.converters.RequestInfo(t,r,`request`)),n=s.converters.CacheQueryOptions(n,r,`options`),this.#i(t,n)}async add(t){s.brandCheck(this,e);let n=`Cache.add`;s.argumentLengthCheck(arguments,1,n),t=s.converters.RequestInfo(t,n,`request`);let r=[t];return await this.addAll(r)}async addAll(t){s.brandCheck(this,e);let n=`Cache.addAll`;s.argumentLengthCheck(arguments,1,n);let r=[],a=[];for(let e of t){if(e===void 0)throw s.errors.conversionFailed({prefix:n,argument:`Argument 1`,types:[`undefined is not allowed`]});if(e=s.converters.RequestInfo(e),typeof e==`string`)continue;let t=e[p];if(!h(t.url)||t.method!==`GET`)throw s.errors.exception({header:n,message:`Expected http/s scheme when method is not GET.`})}let o=[];for(let e of t){let t=new d(e)[p];if(!h(t.url))throw s.errors.exception({header:n,message:`Expected http/s scheme.`});t.initiator=`fetch`,t.destination=`subresource`,a.push(t);let c=g();o.push(m({request:t,processResponse(e){if(e.type===`error`||e.status===206||e.status<200||e.status>299)c.reject(s.errors.exception({header:`Cache.addAll`,message:`Received an invalid status code or the request failed.`}));else if(e.headersList.contains(`vary`)){let t=i(e.headersList.get(`vary`));for(let e of t)if(e===`*`){c.reject(s.errors.exception({header:`Cache.addAll`,message:`invalid vary field value`}));for(let e of o)e.abort();return}}},processResponseEndOfBody(e){if(e.aborted){c.reject(new DOMException(`aborted`,`AbortError`));return}c.resolve(e)}})),r.push(c.promise)}let c=await Promise.all(r),l=[],u=0;for(let e of c){let t={type:`put`,request:a[u],response:e};l.push(t),u++}let f=g(),_=null;try{this.#t(l)}catch(e){_=e}return queueMicrotask(()=>{_===null?f.resolve(void 0):f.reject(_)}),f.promise}async put(t,n){s.brandCheck(this,e);let r=`Cache.put`;s.argumentLengthCheck(arguments,2,r),t=s.converters.RequestInfo(t,r,`request`),n=s.converters.Response(n,r,`response`);let a=null;if(a=t instanceof d?t[p]:new d(t)[p],!h(a.url)||a.method!==`GET`)throw s.errors.exception({header:r,message:`Expected an http/s scheme when method is not GET`});let c=n[p];if(c.status===206)throw s.errors.exception({header:r,message:`Got 206 status`});if(c.headersList.contains(`vary`)){let e=i(c.headersList.get(`vary`));for(let t of e)if(t===`*`)throw s.errors.exception({header:r,message:`Got * vary field value`})}if(c.body&&(o(c.body.stream)||c.body.stream.locked))throw s.errors.exception({header:r,message:`Response body is locked or disturbed`});let u=l(c),f=g();c.body==null?f.resolve(void 0):_(c.body.stream.getReader()).then(f.resolve,f.reject);let m=[],v={type:`put`,request:a,response:u};m.push(v);let y=await f.promise;u.body!=null&&(u.body.source=y);let b=g(),x=null;try{this.#t(m)}catch(e){x=e}return queueMicrotask(()=>{x===null?b.resolve():b.reject(x)}),b.promise}async delete(t,n={}){s.brandCheck(this,e);let r=`Cache.delete`;s.argumentLengthCheck(arguments,1,r),t=s.converters.RequestInfo(t,r,`request`),n=s.converters.CacheQueryOptions(n,r,`options`);let i=null;if(t instanceof d){if(i=t[p],i.method!==`GET`&&!n.ignoreMethod)return!1}else v(typeof t==`string`),i=new d(t)[p];let a=[],o={type:`delete`,request:i,options:n};a.push(o);let c=g(),l=null,u;try{u=this.#t(a)}catch(e){l=e}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(t=void 0,n={}){s.brandCheck(this,e);let r=`Cache.keys`;t!==void 0&&(t=s.converters.RequestInfo(t,r,`request`)),n=s.converters.CacheQueryOptions(n,r,`options`);let i=null;if(t!==void 0)if(t instanceof d){if(i=t[p],i.method!==`GET`&&!n.ignoreMethod)return[]}else typeof t==`string`&&(i=new d(t)[p]);let a=g(),o=[];if(t===void 0)for(let e of this.#e)o.push(e[0]);else{let e=this.#n(i,n);for(let t of e)o.push(t[0])}return queueMicrotask(()=>{let e=[];for(let t of o){let n=f(t,new AbortController().signal,`immutable`);e.push(n)}a.resolve(Object.freeze(e))}),a.promise}#t(e){let t=this.#e,n=[...t],r=[],i=[];try{for(let n of e){if(n.type!==`delete`&&n.type!==`put`)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`operation type does not match "delete" or "put"`});if(n.type===`delete`&&n.response!=null)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`delete operation should not have an associated response`});if(this.#n(n.request,n.options,r).length)throw new DOMException(`???`,`InvalidStateError`);let e;if(n.type===`delete`){if(e=this.#n(n.request,n.options),e.length===0)return[];for(let n of e){let e=t.indexOf(n);v(e!==-1),t.splice(e,1)}}else if(n.type===`put`){if(n.response==null)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`put operation should have an associated response`});let i=n.request;if(!h(i.url))throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`expected http or https scheme`});if(i.method!==`GET`)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`not get method`});if(n.options!=null)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`options must not be defined`});e=this.#n(n.request);for(let n of e){let e=t.indexOf(n);v(e!==-1),t.splice(e,1)}t.push([n.request,n.response]),r.push([n.request,n.response])}i.push([n.request,n.response])}return i}catch(e){throw this.#e.length=0,this.#e=n,e}}#n(e,t,n){let r=[],i=n??this.#e;for(let n of i){let[i,a]=n;this.#r(e,i,a,t)&&r.push(n)}return r}#r(e,t,n=null,a){let o=new URL(e.url),s=new URL(t.url);if(a?.ignoreSearch&&(s.search=``,o.search=``),!r(o,s,!0))return!1;if(n==null||a?.ignoreVary||!n.headersList.contains(`vary`))return!0;let c=i(n.headersList.get(`vary`));for(let n of c)if(n===`*`||t.headersList.get(n)!==e.headersList.get(n))return!1;return!0}#i(e,t,n=1/0){let r=null;if(e!==void 0)if(e instanceof d){if(r=e[p],r.method!==`GET`&&!t.ignoreMethod)return[]}else typeof e==`string`&&(r=new d(e)[p]);let i=[];if(e===void 0)for(let e of this.#e)i.push(e[1]);else{let e=this.#n(r,t);for(let t of e)i.push(t[1])}let a=[];for(let e of i){let t=u(e,`immutable`);if(a.push(t.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(y.prototype,{[Symbol.toStringTag]:{value:`Cache`,configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let b=[{key:`ignoreSearch`,converter:s.converters.boolean,defaultValue:()=>!1},{key:`ignoreMethod`,converter:s.converters.boolean,defaultValue:()=>!1},{key:`ignoreVary`,converter:s.converters.boolean,defaultValue:()=>!1}];s.converters.CacheQueryOptions=s.dictionaryConverter(b),s.converters.MultiCacheQueryOptions=s.dictionaryConverter([...b,{key:`cacheName`,converter:s.converters.DOMString}]),s.converters.Response=s.interfaceConverter(c),s.converters[`sequence`]=s.sequenceConverter(s.converters.RequestInfo),t.exports={Cache:y}})),dn=P(((e,t)=>{let{kConstruct:n}=cn(),{Cache:r}=un(),{webidl:i}=at(),{kEnumerableProperty:a}=L();var o=class e{#e=new Map;constructor(){arguments[0]!==n&&i.illegalConstructor(),i.util.markAsUncloneable(this)}async match(t,a={}){if(i.brandCheck(this,e),i.argumentLengthCheck(arguments,1,`CacheStorage.match`),t=i.converters.RequestInfo(t),a=i.converters.MultiCacheQueryOptions(a),a.cacheName!=null){if(this.#e.has(a.cacheName))return await new r(n,this.#e.get(a.cacheName)).match(t,a)}else for(let e of this.#e.values()){let i=await new r(n,e).match(t,a);if(i!==void 0)return i}}async has(t){i.brandCheck(this,e);let n=`CacheStorage.has`;return i.argumentLengthCheck(arguments,1,n),t=i.converters.DOMString(t,n,`cacheName`),this.#e.has(t)}async open(t){i.brandCheck(this,e);let a=`CacheStorage.open`;if(i.argumentLengthCheck(arguments,1,a),t=i.converters.DOMString(t,a,`cacheName`),this.#e.has(t))return new r(n,this.#e.get(t));let o=[];return this.#e.set(t,o),new r(n,o)}async delete(t){i.brandCheck(this,e);let n=`CacheStorage.delete`;return i.argumentLengthCheck(arguments,1,n),t=i.converters.DOMString(t,n,`cacheName`),this.#e.delete(t)}async keys(){return i.brandCheck(this,e),[...this.#e.keys()]}};Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:`CacheStorage`,configurable:!0},match:a,has:a,open:a,delete:a,keys:a}),t.exports={CacheStorage:o}})),fn=P(((e,t)=>{t.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}})),pn=P(((e,t)=>{function n(e){for(let t=0;t=0&&n<=8||n>=10&&n<=31||n===127)return!0}return!1}function r(e){for(let t=0;t126||n===34||n===40||n===41||n===60||n===62||n===64||n===44||n===59||n===58||n===92||n===47||n===91||n===93||n===63||n===61||n===123||n===125)throw Error(`Invalid cookie name`)}}function i(e){let t=e.length,n=0;if(e[0]===`"`){if(t===1||e[t-1]!==`"`)throw Error(`Invalid cookie value`);--t,++n}for(;n126||t===34||t===44||t===59||t===92)throw Error(`Invalid cookie value`)}}function a(e){for(let t=0;tt.toString().padStart(2,`0`));function u(e){return typeof e==`number`&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${l[e.getUTCDate()]} ${c[e.getUTCMonth()]} ${e.getUTCFullYear()} ${l[e.getUTCHours()]}:${l[e.getUTCMinutes()]}:${l[e.getUTCSeconds()]} GMT`}function d(e){if(e<0)throw Error(`Invalid cookie max-age`)}function f(e){if(e.name.length===0)return null;r(e.name),i(e.value);let t=[`${e.name}=${e.value}`];e.name.startsWith(`__Secure-`)&&(e.secure=!0),e.name.startsWith(`__Host-`)&&(e.secure=!0,e.domain=null,e.path=`/`),e.secure&&t.push(`Secure`),e.httpOnly&&t.push(`HttpOnly`),typeof e.maxAge==`number`&&(d(e.maxAge),t.push(`Max-Age=${e.maxAge}`)),e.domain&&(o(e.domain),t.push(`Domain=${e.domain}`)),e.path&&(a(e.path),t.push(`Path=${e.path}`)),e.expires&&e.expires.toString()!==`Invalid Date`&&t.push(`Expires=${u(e.expires)}`),e.sameSite&&t.push(`SameSite=${e.sameSite}`);for(let n of e.unparsed){if(!n.includes(`=`))throw Error(`Invalid unparsed`);let[e,...r]=n.split(`=`);t.push(`${e.trim()}=${r.join(`=`)}`)}return t.join(`; `)}t.exports={isCTLExcludingHtab:n,validateCookieName:r,validateCookiePath:a,validateCookieValue:i,toIMFDate:u,stringify:f}})),mn=P(((e,t)=>{let{maxNameValuePairSize:n,maxAttributeValueSize:r}=fn(),{isCTLExcludingHtab:i}=pn(),{collectASequenceOfCodePointsFast:a}=it(),o=F(`node:assert`);function s(e){if(i(e))return null;let t=``,r=``,o=``,s=``;if(e.includes(`;`)){let n={position:0};t=a(`;`,e,n),r=e.slice(n.position)}else t=e;if(!t.includes(`=`))s=t;else{let e={position:0};o=a(`=`,t,e),s=t.slice(e.position+1)}return o=o.trim(),s=s.trim(),o.length+s.length>n?null:{name:o,value:s,...c(r)}}function c(e,t={}){if(e.length===0)return t;o(e[0]===`;`),e=e.slice(1);let n=``;e.includes(`;`)?(n=a(`;`,e,{position:0}),e=e.slice(n.length)):(n=e,e=``);let i=``,s=``;if(n.includes(`=`)){let e={position:0};i=a(`=`,n,e),s=n.slice(e.position+1)}else i=n;if(i=i.trim(),s=s.trim(),s.length>r)return c(e,t);let l=i.toLowerCase();if(l===`expires`)t.expires=new Date(s);else if(l===`max-age`){let n=s.charCodeAt(0);if((n<48||n>57)&&s[0]!==`-`||!/^\d+$/.test(s))return c(e,t);t.maxAge=Number(s)}else if(l===`domain`){let e=s;e[0]===`.`&&(e=e.slice(1)),e=e.toLowerCase(),t.domain=e}else if(l===`path`){let e=``;e=s.length===0||s[0]!==`/`?`/`:s,t.path=e}else if(l===`secure`)t.secure=!0;else if(l===`httponly`)t.httpOnly=!0;else if(l===`samesite`){let e=`Default`,n=s.toLowerCase();n.includes(`none`)&&(e=`None`),n.includes(`strict`)&&(e=`Strict`),n.includes(`lax`)&&(e=`Lax`),t.sameSite=e}else t.unparsed??=[],t.unparsed.push(`${i}=${s}`);return c(e,t)}t.exports={parseSetCookie:s,parseUnparsedAttributes:c}})),hn=P(((e,t)=>{let{parseSetCookie:n}=mn(),{stringify:r}=pn(),{webidl:i}=at(),{Headers:a}=Zt();function o(e){i.argumentLengthCheck(arguments,1,`getCookies`),i.brandCheck(e,a,{strict:!1});let t=e.get(`cookie`),n={};if(!t)return n;for(let e of t.split(`;`)){let[t,...r]=e.split(`=`);n[t.trim()]=r.join(`=`)}return n}function s(e,t,n){i.brandCheck(e,a,{strict:!1});let r=`deleteCookie`;i.argumentLengthCheck(arguments,2,r),t=i.converters.DOMString(t,r,`name`),n=i.converters.DeleteCookieAttributes(n),l(e,{name:t,value:``,expires:new Date(0),...n})}function c(e){i.argumentLengthCheck(arguments,1,`getSetCookies`),i.brandCheck(e,a,{strict:!1});let t=e.getSetCookie();return t?t.map(e=>n(e)):[]}function l(e,t){i.argumentLengthCheck(arguments,2,`setCookie`),i.brandCheck(e,a,{strict:!1}),t=i.converters.Cookie(t);let n=r(t);n&&e.append(`Set-Cookie`,n)}i.converters.DeleteCookieAttributes=i.dictionaryConverter([{converter:i.nullableConverter(i.converters.DOMString),key:`path`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:`domain`,defaultValue:()=>null}]),i.converters.Cookie=i.dictionaryConverter([{converter:i.converters.DOMString,key:`name`},{converter:i.converters.DOMString,key:`value`},{converter:i.nullableConverter(e=>typeof e==`number`?i.converters[`unsigned long long`](e):new Date(e)),key:`expires`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters[`long long`]),key:`maxAge`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:`domain`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:`path`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.boolean),key:`secure`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.boolean),key:`httpOnly`,defaultValue:()=>null},{converter:i.converters.USVString,key:`sameSite`,allowedValues:[`Strict`,`Lax`,`None`]},{converter:i.sequenceConverter(i.converters.DOMString),key:`unparsed`,defaultValue:()=>[]}]),t.exports={getCookies:o,deleteCookie:s,getSetCookies:c,setCookie:l}})),gn=P(((e,t)=>{let{webidl:n}=at(),{kEnumerableProperty:r}=L(),{kConstruct:i}=Ue(),{MessagePort:a}=F(`node:worker_threads`);var o=class e extends Event{#e;constructor(e,t={}){if(e===i){super(arguments[1],arguments[2]),n.util.markAsUncloneable(this);return}let r=`MessageEvent constructor`;n.argumentLengthCheck(arguments,1,r),e=n.converters.DOMString(e,r,`type`),t=n.converters.MessageEventInit(t,r,`eventInitDict`),super(e,t),this.#e=t,n.util.markAsUncloneable(this)}get data(){return n.brandCheck(this,e),this.#e.data}get origin(){return n.brandCheck(this,e),this.#e.origin}get lastEventId(){return n.brandCheck(this,e),this.#e.lastEventId}get source(){return n.brandCheck(this,e),this.#e.source}get ports(){return n.brandCheck(this,e),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(t,r=!1,i=!1,a=null,o=``,s=``,c=null,l=[]){return n.brandCheck(this,e),n.argumentLengthCheck(arguments,1,`MessageEvent.initMessageEvent`),new e(t,{bubbles:r,cancelable:i,data:a,origin:o,lastEventId:s,source:c,ports:l})}static createFastMessageEvent(t,n){let r=new e(i,t,n);return r.#e=n,r.#e.data??=null,r.#e.origin??=``,r.#e.lastEventId??=``,r.#e.source??=null,r.#e.ports??=[],r}};let{createFastMessageEvent:s}=o;delete o.createFastMessageEvent;var c=class e extends Event{#e;constructor(e,t={}){let r=`CloseEvent constructor`;n.argumentLengthCheck(arguments,1,r),e=n.converters.DOMString(e,r,`type`),t=n.converters.CloseEventInit(t),super(e,t),this.#e=t,n.util.markAsUncloneable(this)}get wasClean(){return n.brandCheck(this,e),this.#e.wasClean}get code(){return n.brandCheck(this,e),this.#e.code}get reason(){return n.brandCheck(this,e),this.#e.reason}},l=class e extends Event{#e;constructor(e,t){let r=`ErrorEvent constructor`;n.argumentLengthCheck(arguments,1,r),super(e,t),n.util.markAsUncloneable(this),e=n.converters.DOMString(e,r,`type`),t=n.converters.ErrorEventInit(t??{}),this.#e=t}get message(){return n.brandCheck(this,e),this.#e.message}get filename(){return n.brandCheck(this,e),this.#e.filename}get lineno(){return n.brandCheck(this,e),this.#e.lineno}get colno(){return n.brandCheck(this,e),this.#e.colno}get error(){return n.brandCheck(this,e),this.#e.error}};Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:`MessageEvent`,configurable:!0},data:r,origin:r,lastEventId:r,source:r,ports:r,initMessageEvent:r}),Object.defineProperties(c.prototype,{[Symbol.toStringTag]:{value:`CloseEvent`,configurable:!0},reason:r,code:r,wasClean:r}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:`ErrorEvent`,configurable:!0},message:r,filename:r,lineno:r,colno:r,error:r}),n.converters.MessagePort=n.interfaceConverter(a),n.converters[`sequence`]=n.sequenceConverter(n.converters.MessagePort);let u=[{key:`bubbles`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`cancelable`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`composed`,converter:n.converters.boolean,defaultValue:()=>!1}];n.converters.MessageEventInit=n.dictionaryConverter([...u,{key:`data`,converter:n.converters.any,defaultValue:()=>null},{key:`origin`,converter:n.converters.USVString,defaultValue:()=>``},{key:`lastEventId`,converter:n.converters.DOMString,defaultValue:()=>``},{key:`source`,converter:n.nullableConverter(n.converters.MessagePort),defaultValue:()=>null},{key:`ports`,converter:n.converters[`sequence`],defaultValue:()=>[]}]),n.converters.CloseEventInit=n.dictionaryConverter([...u,{key:`wasClean`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`code`,converter:n.converters[`unsigned short`],defaultValue:()=>0},{key:`reason`,converter:n.converters.USVString,defaultValue:()=>``}]),n.converters.ErrorEventInit=n.dictionaryConverter([...u,{key:`message`,converter:n.converters.DOMString,defaultValue:()=>``},{key:`filename`,converter:n.converters.USVString,defaultValue:()=>``},{key:`lineno`,converter:n.converters[`unsigned long`],defaultValue:()=>0},{key:`colno`,converter:n.converters[`unsigned long`],defaultValue:()=>0},{key:`error`,converter:n.converters.any}]),t.exports={MessageEvent:o,CloseEvent:c,ErrorEvent:l,createFastMessageEvent:s}})),_n=P(((e,t)=>{t.exports={uid:`258EAFA5-E914-47DA-95CA-C5AB0DC85B11`,sentCloseFrameState:{NOT_SENT:0,PROCESSING:1,SENT:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:2**16-1,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{string:1,typedArray:2,arrayBuffer:3,blob:4}}})),vn=P(((e,t)=>{t.exports={kWebSocketURL:Symbol(`url`),kReadyState:Symbol(`ready state`),kController:Symbol(`controller`),kResponse:Symbol(`response`),kBinaryType:Symbol(`binary type`),kSentClose:Symbol(`sent close`),kReceivedClose:Symbol(`received close`),kByteParser:Symbol(`byte parser`)}})),yn=P(((e,t)=>{let{kReadyState:n,kController:r,kResponse:i,kBinaryType:a,kWebSocketURL:o}=vn(),{states:s,opcodes:c}=_n(),{ErrorEvent:l,createFastMessageEvent:u}=gn(),{isUtf8:d}=F(`node:buffer`),{collectASequenceOfCodePointsFast:f,removeHTTPWhitespace:p}=it();function m(e){return e[n]===s.CONNECTING}function h(e){return e[n]===s.OPEN}function g(e){return e[n]===s.CLOSING}function _(e){return e[n]===s.CLOSED}function v(e,t,n=(e,t)=>new Event(e,t),r={}){let i=n(e,r);t.dispatchEvent(i)}function y(e,t,r){if(e[n]!==s.OPEN)return;let i;if(t===c.TEXT)try{i=M(r)}catch{C(e,`Received invalid UTF-8 in text frame.`);return}else t===c.BINARY&&(i=e[a]===`blob`?new Blob([r]):b(r));v(`message`,e,u,{origin:e[o].origin,data:i})}function b(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function x(e){if(e.length===0)return!1;for(let t=0;t126||n===34||n===40||n===41||n===44||n===47||n===58||n===59||n===60||n===61||n===62||n===63||n===64||n===91||n===92||n===93||n===123||n===125)return!1}return!0}function S(e){return e>=1e3&&e<1015?e!==1004&&e!==1005&&e!==1006:e>=3e3&&e<=4999}function C(e,t){let{[r]:n,[i]:a}=e;n.abort(),a?.socket&&!a.socket.destroyed&&a.socket.destroy(),t&&v(`error`,e,(e,t)=>new l(e,t),{error:Error(t),message:t})}function w(e){return e===c.CLOSE||e===c.PING||e===c.PONG}function T(e){return e===c.CONTINUATION}function E(e){return e===c.TEXT||e===c.BINARY}function D(e){return E(e)||T(e)||w(e)}function O(e){let t={position:0},n=new Map;for(;t.position57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15}let A=typeof process.versions.icu==`string`,j=A?new TextDecoder(`utf-8`,{fatal:!0}):void 0,M=A?j.decode.bind(j):function(e){if(d(e))return e.toString(`utf-8`);throw TypeError(`Invalid utf-8 received.`)};t.exports={isConnecting:m,isEstablished:h,isClosing:g,isClosed:_,fireEvent:v,isValidSubprotocol:x,isValidStatusCode:S,failWebsocketConnection:C,websocketMessageReceived:y,utf8Decode:M,isControlFrame:w,isContinuationFrame:T,isTextBinaryFrame:E,isValidOpcode:D,parseExtensions:O,isValidClientWindowBits:k}})),bn=P(((e,t)=>{let{maxUnsigned16Bit:n}=_n(),r=16386,i,a=null,o=r;try{i=F(`node:crypto`)}catch{i={randomFillSync:function(e,t,n){for(let t=0;tn?(o+=8,a=127):i>125&&(o+=2,a=126);let c=Buffer.allocUnsafe(i+o);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e,c[o-4]=r[0],c[o-3]=r[1],c[o-2]=r[2],c[o-1]=r[3],c[1]=a,a===126?c.writeUInt16BE(i,2):a===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let e=0;e{let{uid:n,states:r,sentCloseFrameState:i,emptyBuffer:a,opcodes:o}=_n(),{kReadyState:s,kSentClose:c,kByteParser:l,kReceivedClose:u,kResponse:d}=vn(),{fireEvent:f,failWebsocketConnection:p,isClosing:m,isClosed:h,isEstablished:g,parseExtensions:_}=yn(),{channels:v}=Ke(),{CloseEvent:y}=gn(),{makeRequest:b}=en(),{fetching:x}=tn(),{Headers:S,getHeadersList:C}=Zt(),{getDecodeSplit:w}=ot(),{WebsocketFrameSend:T}=bn(),E;try{E=F(`node:crypto`)}catch{}function D(e,t,r,i,a,o){let s=e;s.protocol=e.protocol===`ws:`?`http:`:`https:`;let c=b({urlList:[s],client:r,serviceWorkers:`none`,referrer:`no-referrer`,mode:`websocket`,credentials:`include`,cache:`no-store`,redirect:`error`});o.headers&&(c.headersList=C(new S(o.headers)));let l=E.randomBytes(16).toString(`base64`);c.headersList.append(`sec-websocket-key`,l),c.headersList.append(`sec-websocket-version`,`13`);for(let e of t)c.headersList.append(`sec-websocket-protocol`,e);return c.headersList.append(`sec-websocket-extensions`,`permessage-deflate; client_max_window_bits`),x({request:c,useParallelQueue:!0,dispatcher:o.dispatcher,processResponse(e){if(e.type===`error`||e.status!==101){p(i,`Received network error or non-101 status code.`);return}if(t.length!==0&&!e.headersList.get(`Sec-WebSocket-Protocol`)){p(i,`Server did not respond with sent protocols.`);return}if(e.headersList.get(`Upgrade`)?.toLowerCase()!==`websocket`){p(i,`Server did not set Upgrade header to "websocket".`);return}if(e.headersList.get(`Connection`)?.toLowerCase()!==`upgrade`){p(i,`Server did not set Connection header to "upgrade".`);return}if(e.headersList.get(`Sec-WebSocket-Accept`)!==E.createHash(`sha1`).update(l+n).digest(`base64`)){p(i,`Incorrect hash received in Sec-WebSocket-Accept header.`);return}let r=e.headersList.get(`Sec-WebSocket-Extensions`),o;if(r!==null&&(o=_(r),!o.has(`permessage-deflate`))){p(i,`Sec-WebSocket-Extensions header does not match.`);return}let s=e.headersList.get(`Sec-WebSocket-Protocol`);if(s!==null&&!w(`sec-websocket-protocol`,c.headersList).includes(s)){p(i,`Protocol was not set in the opening handshake.`);return}e.socket.on(`data`,k),e.socket.on(`close`,A),e.socket.on(`error`,j),v.open.hasSubscribers&&v.open.publish({address:e.socket.address(),protocol:s,extensions:r}),a(e,o)}})}function O(e,t,n,l){if(!(m(e)||h(e)))if(!g(e))p(e,`Connection was closed before it was established.`),e[s]=r.CLOSING;else if(e[c]===i.NOT_SENT){e[c]=i.PROCESSING;let u=new T;t!==void 0&&n===void 0?(u.frameData=Buffer.allocUnsafe(2),u.frameData.writeUInt16BE(t,0)):t!==void 0&&n!==void 0?(u.frameData=Buffer.allocUnsafe(2+l),u.frameData.writeUInt16BE(t,0),u.frameData.write(n,2,`utf-8`)):u.frameData=a,e[d].socket.write(u.createFrame(o.CLOSE)),e[c]=i.SENT,e[s]=r.CLOSING}else e[s]=r.CLOSING}function k(e){this.ws[l].write(e)||this.pause()}function A(){let{ws:e}=this,{[d]:t}=e;t.socket.off(`data`,k),t.socket.off(`close`,A),t.socket.off(`error`,j);let n=e[c]===i.SENT&&e[u],a=1005,o=``,p=e[l].closingInfo;p&&!p.error?(a=p.code??1005,o=p.reason):e[u]||(a=1006),e[s]=r.CLOSED,f(`close`,e,(e,t)=>new y(e,t),{wasClean:n,code:a,reason:o}),v.close.hasSubscribers&&v.close.publish({websocket:e,code:a,reason:o})}function j(e){let{ws:t}=this;t[s]=r.CLOSING,v.socketError.hasSubscribers&&v.socketError.publish(e),this.destroy()}t.exports={establishWebSocketConnection:D,closeWebSocketConnection:O}})),Sn=P(((e,t)=>{let{createInflateRaw:n,Z_DEFAULT_WINDOWBITS:r}=F(`node:zlib`),{isValidClientWindowBits:i}=yn(),{MessageSizeExceededError:a}=I(),o=Buffer.from([0,0,255,255]),s=Symbol(`kBuffer`),c=Symbol(`kLength`);t.exports={PerMessageDeflate:class{#e;#t={};#n=0;constructor(e,t){this.#t.serverNoContextTakeover=e.has(`server_no_context_takeover`),this.#t.serverMaxWindowBits=e.get(`server_max_window_bits`),this.#n=t.maxPayloadSize}decompress(e,t,l){if(!this.#e){let e=r;if(this.#t.serverMaxWindowBits){if(!i(this.#t.serverMaxWindowBits)){l(Error(`Invalid server_max_window_bits`));return}e=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=n({windowBits:e})}catch(e){l(e);return}this.#e[s]=[],this.#e[c]=0,this.#e.on(`data`,e=>{if(this.#e[c]+=e.length,this.#n>0&&this.#e[c]>this.#n){l(new a),this.#e.removeAllListeners(),this.#e=null;return}this.#e[s].push(e)}),this.#e.on(`error`,e=>{this.#e=null,l(e)})}this.#e.write(e),t&&this.#e.write(o),this.#e.flush(()=>{if(!this.#e)return;let e=Buffer.concat(this.#e[s],this.#e[c]);this.#e[s].length=0,this.#e[c]=0,l(null,e)})}}}})),Cn=P(((e,t)=>{let{Writable:n}=F(`node:stream`),r=F(`node:assert`),{parserStates:i,opcodes:a,states:o,emptyBuffer:s,sentCloseFrameState:c}=_n(),{kReadyState:l,kSentClose:u,kResponse:d,kReceivedClose:f}=vn(),{channels:p}=Ke(),{isValidStatusCode:m,isValidOpcode:h,failWebsocketConnection:g,websocketMessageReceived:_,utf8Decode:v,isControlFrame:y,isTextBinaryFrame:b,isContinuationFrame:x}=yn(),{WebsocketFrameSend:S}=bn(),{closeWebSocketConnection:C}=xn(),{PerMessageDeflate:w}=Sn(),{MessageSizeExceededError:T}=I();t.exports={ByteParser:class extends n{#e=[];#t=0;#n=0;#r=!1;#i=i.INFO;#a={};#o=[];#s;#c;constructor(e,t,n={}){super(),this.ws=e,this.#s=t??new Map,this.#c=n.maxPayloadSize??0,this.#s.has(`permessage-deflate`)&&this.#s.set(`permessage-deflate`,new w(t,n))}_write(e,t,n){this.#e.push(e),this.#n+=e.length,this.#r=!0,this.run(n)}#l(){return this.#c>0&&!y(this.#a.opcode)&&this.#a.payloadLength>this.#c?(g(this.ws,`Payload size exceeds maximum allowed size`),!1):!0}run(e){for(;this.#r;)if(this.#i===i.INFO){if(this.#n<2)return e();let t=this.consume(2),n=(t[0]&128)!=0,r=t[0]&15,o=(t[1]&128)==128,s=!n&&r!==a.CONTINUATION,c=t[1]&127,l=t[0]&64,u=t[0]&32,d=t[0]&16;if(!h(r))return g(this.ws,`Invalid opcode received`),e();if(o)return g(this.ws,`Frame cannot be masked`),e();if(l!==0&&!this.#s.has(`permessage-deflate`)){g(this.ws,`Expected RSV1 to be clear.`);return}if(u!==0||d!==0){g(this.ws,`RSV1, RSV2, RSV3 must be clear`);return}if(s&&!b(r)){g(this.ws,`Invalid frame type was fragmented.`);return}if(b(r)&&this.#o.length>0){g(this.ws,`Expected continuation frame`);return}if(this.#a.fragmented&&s){g(this.ws,`Fragmented frame exceeded 125 bytes.`);return}if((c>125||s)&&y(r)){g(this.ws,`Control frame either too large or fragmented`);return}if(x(r)&&this.#o.length===0&&!this.#a.compressed){g(this.ws,`Unexpected continuation frame`);return}if(c<=125){if(this.#a.payloadLength=c,this.#i=i.READ_DATA,!this.#l())return}else c===126?this.#i=i.PAYLOADLENGTH_16:c===127&&(this.#i=i.PAYLOADLENGTH_64);b(r)&&(this.#a.binaryType=r,this.#a.compressed=l!==0),this.#a.opcode=r,this.#a.masked=o,this.#a.fin=n,this.#a.fragmented=s}else if(this.#i===i.PAYLOADLENGTH_16){if(this.#n<2)return e();let t=this.consume(2);if(this.#a.payloadLength=t.readUInt16BE(0),this.#i=i.READ_DATA,!this.#l())return}else if(this.#i===i.PAYLOADLENGTH_64){if(this.#n<8)return e();let t=this.consume(8),n=t.readUInt32BE(0),r=t.readUInt32BE(4);if(n!==0||r>2**31-1){g(this.ws,`Received payload length > 2^31 bytes.`);return}if(this.#a.payloadLength=r,this.#i=i.READ_DATA,!this.#l())return}else if(this.#i===i.READ_DATA){if(this.#n{if(t){g(this.ws,t.message);return}if(this.writeFragments(n),this.#c>0&&this.#t>this.#c){g(this.ws,new T().message);return}if(!this.#a.fin){this.#i=i.INFO,this.#r=!0,this.run(e);return}_(this.ws,this.#a.binaryType,this.consumeFragments()),this.#r=!0,this.#i=i.INFO,this.run(e)}),this.#r=!1;break}else{if(this.writeFragments(t),this.#c>0&&this.#t>this.#c){g(this.ws,new T().message);return}!this.#a.fragmented&&this.#a.fin&&_(this.ws,this.#a.binaryType,this.consumeFragments()),this.#i=i.INFO}}}consume(e){if(e>this.#n)throw Error(`Called consume() before buffers satiated.`);if(e===0)return s;if(this.#e[0].length===e)return this.#n-=this.#e[0].length,this.#e.shift();let t=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let r=this.#e[0],{length:i}=r;if(i+n===e){t.set(this.#e.shift(),n);break}else if(i+n>e){t.set(r.subarray(0,e-n),n),this.#e[0]=r.subarray(e-n);break}else t.set(this.#e.shift(),n),n+=r.length}return this.#n-=e,t}writeFragments(e){this.#t+=e.length,this.#o.push(e)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let t=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,t}parseCloseBody(e){r(e.length!==1);let t;if(e.length>=2&&(t=e.readUInt16BE(0)),t!==void 0&&!m(t))return{code:1002,reason:`Invalid status code`,error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=v(n)}catch{return{code:1007,reason:`Invalid UTF-8`,error:!0}}return{code:t,reason:n,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:n}=this.#a;if(t===a.CLOSE){if(n===1)return g(this.ws,`Received close frame with a 1-byte body.`),!1;if(this.#a.closeInfo=this.parseCloseBody(e),this.#a.closeInfo.error){let{code:e,reason:t}=this.#a.closeInfo;return C(this.ws,e,t,t.length),g(this.ws,t),!1}if(this.ws[u]!==c.SENT){let e=s;this.#a.closeInfo.code&&(e=Buffer.allocUnsafe(2),e.writeUInt16BE(this.#a.closeInfo.code,0));let t=new S(e);this.ws[d].socket.write(t.createFrame(a.CLOSE),e=>{e||(this.ws[u]=c.SENT)})}return this.ws[l]=o.CLOSING,this.ws[f]=!0,!1}else if(t===a.PING){if(!this.ws[f]){let t=new S(e);this.ws[d].socket.write(t.createFrame(a.PONG)),p.ping.hasSubscribers&&p.ping.publish({payload:e})}}else t===a.PONG&&p.pong.hasSubscribers&&p.pong.publish({payload:e});return!0}get closingInfo(){return this.#a.closeInfo}}}})),wn=P(((e,t)=>{let{WebsocketFrameSend:n}=bn(),{opcodes:r,sendHints:i}=_n(),a=_t(),o=Buffer[Symbol.species];var s=class{#e=new a;#t=!1;#n;constructor(e){this.#n=e}add(e,t,n){if(n!==i.blob){let r=c(e,n);if(!this.#t)this.#n.write(r,t);else{let e={promise:null,callback:t,frame:r};this.#e.push(e)}return}let r={promise:e.arrayBuffer().then(e=>{r.promise=null,r.frame=c(e,n)}),callback:t,frame:null};this.#e.push(r),this.#t||this.#r()}async#r(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let t=e.shift();t.promise!==null&&await t.promise,this.#n.write(t.frame,t.callback),t.callback=t.frame=null}this.#t=!1}};function c(e,t){return new n(l(e,t)).createFrame(t===i.string?r.TEXT:r.BINARY)}function l(e,t){switch(t){case i.string:return Buffer.from(e);case i.arrayBuffer:case i.blob:return new o(e);case i.typedArray:return new o(e.buffer,e.byteOffset,e.byteLength)}}t.exports={SendQueue:s}})),Tn=P(((e,t)=>{let{webidl:n}=at(),{URLSerializer:r}=it(),{environmentSettingsObject:i}=ot(),{staticPropertyDescriptors:a,states:o,sentCloseFrameState:s,sendHints:c}=_n(),{kWebSocketURL:l,kReadyState:u,kController:d,kBinaryType:f,kResponse:p,kSentClose:m,kByteParser:h}=vn(),{isConnecting:g,isEstablished:_,isClosing:v,isValidSubprotocol:y,fireEvent:b}=yn(),{establishWebSocketConnection:x,closeWebSocketConnection:S}=xn(),{ByteParser:C}=Cn(),{kEnumerableProperty:w,isBlobLike:T}=L(),{getGlobalDispatcher:E}=Gt(),{types:D}=F(`node:util`),{ErrorEvent:O,CloseEvent:k}=gn(),{SendQueue:A}=wn();var j=class e extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#n=``;#r=``;#i;constructor(t,r=[]){super(),n.util.markAsUncloneable(this);let a=`WebSocket constructor`;n.argumentLengthCheck(arguments,1,a);let o=n.converters[`DOMString or sequence or WebSocketInit`](r,a,`options`);t=n.converters.USVString(t,a,`url`),r=o.protocols;let c=i.settingsObject.baseUrl,p;try{p=new URL(t,c)}catch(e){throw new DOMException(e,`SyntaxError`)}if(p.protocol===`http:`?p.protocol=`ws:`:p.protocol===`https:`&&(p.protocol=`wss:`),p.protocol!==`ws:`&&p.protocol!==`wss:`)throw new DOMException(`Expected a ws: or wss: protocol, got ${p.protocol}`,`SyntaxError`);if(p.hash||p.href.endsWith(`#`))throw new DOMException(`Got fragment`,`SyntaxError`);if(typeof r==`string`&&(r=[r]),r.length!==new Set(r.map(e=>e.toLowerCase())).size||r.length>0&&!r.every(e=>y(e)))throw new DOMException(`Invalid Sec-WebSocket-Protocol value`,`SyntaxError`);this[l]=new URL(p.href);let h=i.settingsObject;this[d]=x(p,r,h,this,(e,t)=>this.#a(e,t),o),this[u]=e.CONNECTING,this[m]=s.NOT_SENT,this[f]=`blob`}close(t=void 0,r=void 0){n.brandCheck(this,e);let i=`WebSocket.close`;if(t!==void 0&&(t=n.converters[`unsigned short`](t,i,`code`,{clamp:!0})),r!==void 0&&(r=n.converters.USVString(r,i,`reason`)),t!==void 0&&t!==1e3&&(t<3e3||t>4999))throw new DOMException(`invalid code`,`InvalidAccessError`);let a=0;if(r!==void 0&&(a=Buffer.byteLength(r),a>123))throw new DOMException(`Reason must be less than 123 bytes; received ${a}`,`SyntaxError`);S(this,t,r,a)}send(t){n.brandCheck(this,e);let r=`WebSocket.send`;if(n.argumentLengthCheck(arguments,1,r),t=n.converters.WebSocketSendData(t,r,`data`),g(this))throw new DOMException(`Sent before connected.`,`InvalidStateError`);if(!(!_(this)||v(this)))if(typeof t==`string`){let e=Buffer.byteLength(t);this.#t+=e,this.#i.add(t,()=>{this.#t-=e},c.string)}else D.isArrayBuffer(t)?(this.#t+=t.byteLength,this.#i.add(t,()=>{this.#t-=t.byteLength},c.arrayBuffer)):ArrayBuffer.isView(t)?(this.#t+=t.byteLength,this.#i.add(t,()=>{this.#t-=t.byteLength},c.typedArray)):T(t)&&(this.#t+=t.size,this.#i.add(t,()=>{this.#t-=t.size},c.blob))}get readyState(){return n.brandCheck(this,e),this[u]}get bufferedAmount(){return n.brandCheck(this,e),this.#t}get url(){return n.brandCheck(this,e),r(this[l])}get extensions(){return n.brandCheck(this,e),this.#r}get protocol(){return n.brandCheck(this,e),this.#n}get onopen(){return n.brandCheck(this,e),this.#e.open}set onopen(t){n.brandCheck(this,e),this.#e.open&&this.removeEventListener(`open`,this.#e.open),typeof t==`function`?(this.#e.open=t,this.addEventListener(`open`,t)):this.#e.open=null}get onerror(){return n.brandCheck(this,e),this.#e.error}set onerror(t){n.brandCheck(this,e),this.#e.error&&this.removeEventListener(`error`,this.#e.error),typeof t==`function`?(this.#e.error=t,this.addEventListener(`error`,t)):this.#e.error=null}get onclose(){return n.brandCheck(this,e),this.#e.close}set onclose(t){n.brandCheck(this,e),this.#e.close&&this.removeEventListener(`close`,this.#e.close),typeof t==`function`?(this.#e.close=t,this.addEventListener(`close`,t)):this.#e.close=null}get onmessage(){return n.brandCheck(this,e),this.#e.message}set onmessage(t){n.brandCheck(this,e),this.#e.message&&this.removeEventListener(`message`,this.#e.message),typeof t==`function`?(this.#e.message=t,this.addEventListener(`message`,t)):this.#e.message=null}get binaryType(){return n.brandCheck(this,e),this[f]}set binaryType(t){n.brandCheck(this,e),t!==`blob`&&t!==`arraybuffer`?this[f]=`blob`:this[f]=t}#a(e,t){this[p]=e;let n=this[d]?.dispatcher?.webSocketOptions?.maxPayloadSize,r=new C(this,t,{maxPayloadSize:n});r.on(`drain`,M),r.on(`error`,ee.bind(this)),e.socket.ws=this,this[h]=r,this.#i=new A(e.socket),this[u]=o.OPEN;let i=e.headersList.get(`sec-websocket-extensions`);i!==null&&(this.#r=i);let a=e.headersList.get(`sec-websocket-protocol`);a!==null&&(this.#n=a),b(`open`,this)}};j.CONNECTING=j.prototype.CONNECTING=o.CONNECTING,j.OPEN=j.prototype.OPEN=o.OPEN,j.CLOSING=j.prototype.CLOSING=o.CLOSING,j.CLOSED=j.prototype.CLOSED=o.CLOSED,Object.defineProperties(j.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:w,readyState:w,bufferedAmount:w,onopen:w,onerror:w,onclose:w,close:w,onmessage:w,binaryType:w,send:w,extensions:w,protocol:w,[Symbol.toStringTag]:{value:`WebSocket`,writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(j,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),n.converters[`sequence`]=n.sequenceConverter(n.converters.DOMString),n.converters[`DOMString or sequence`]=function(e,t,r){return n.util.Type(e)===`Object`&&Symbol.iterator in e?n.converters[`sequence`](e):n.converters.DOMString(e,t,r)},n.converters.WebSocketInit=n.dictionaryConverter([{key:`protocols`,converter:n.converters[`DOMString or sequence`],defaultValue:()=>[]},{key:`dispatcher`,converter:n.converters.any,defaultValue:()=>E()},{key:`headers`,converter:n.nullableConverter(n.converters.HeadersInit)}]),n.converters[`DOMString or sequence or WebSocketInit`]=function(e){return n.util.Type(e)===`Object`&&!(Symbol.iterator in e)?n.converters.WebSocketInit(e):{protocols:n.converters[`DOMString or sequence`](e)}},n.converters.WebSocketSendData=function(e){if(n.util.Type(e)===`Object`){if(T(e))return n.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||D.isArrayBuffer(e))return n.converters.BufferSource(e)}return n.converters.USVString(e)};function M(){this.ws[p].socket.resume()}function ee(e){let t,n;e instanceof k?(t=e.reason,n=e.code):t=e.message,b(`error`,this,()=>new O(`error`,{error:e,message:t})),S(this,n)}t.exports={WebSocket:j}})),En=P(((e,t)=>{function n(e){return e.indexOf(`\0`)===-1}function r(e){if(e.length===0)return!1;for(let t=0;t57)return!1;return!0}function i(e){return new Promise(t=>{setTimeout(t,e).unref()})}t.exports={isValidLastEventId:n,isASCIINumber:r,delay:i}})),Dn=P(((e,t)=>{let{Transform:n}=F(`node:stream`),{isASCIINumber:r,isValidLastEventId:i}=En(),a=[239,187,191];t.exports={EventSourceStream:class extends n{state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===a[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===a[0]&&this.buffer[1]===a[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===a[0]&&this.buffer[1]===a[1]&&this.buffer[2]===a[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===a[0]&&this.buffer[1]===a[1]&&this.buffer[2]===a[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(t[a]=o);break}}processEvent(e){e.retry&&r(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&i(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||`message`,options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}}}})),On=P(((e,t)=>{let{pipeline:n}=F(`node:stream`),{fetching:r}=tn(),{makeRequest:i}=en(),{webidl:a}=at(),{EventSourceStream:o}=Dn(),{parseMIMEType:s}=it(),{createFastMessageEvent:c}=gn(),{isNetworkError:l}=Qt(),{delay:u}=En(),{kEnumerableProperty:d}=L(),{environmentSettingsObject:f}=ot(),p=!1,m=3e3;var h=class e extends EventTarget{#e={open:null,error:null,message:null};#t=null;#n=!1;#r=0;#i=null;#a=null;#o;#s;constructor(e,t={}){super(),a.util.markAsUncloneable(this);let n=`EventSource constructor`;a.argumentLengthCheck(arguments,1,n),p||(p=!0,process.emitWarning(`EventSource is experimental, expect them to change at any time.`,{code:`UNDICI-ES`})),e=a.converters.USVString(e,n,`url`),t=a.converters.EventSourceInitDict(t,n,`eventSourceInitDict`),this.#o=t.dispatcher,this.#s={lastEventId:``,reconnectionTime:m};let r=f,o;try{o=new URL(e,r.settingsObject.baseUrl),this.#s.origin=o.origin}catch(e){throw new DOMException(e,`SyntaxError`)}this.#t=o.href;let s=`anonymous`;t.withCredentials&&(s=`use-credentials`,this.#n=!0);let c={redirect:`follow`,keepalive:!0,mode:`cors`,credentials:s===`anonymous`?`same-origin`:`omit`,referrer:`no-referrer`};c.client=f.settingsObject,c.headersList=[[`accept`,{name:`accept`,value:`text/event-stream`}]],c.cache=`no-store`,c.initiator=`other`,c.urlList=[new URL(this.#t)],this.#i=i(c),this.#c()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#c(){if(this.#r===2)return;this.#r=0;let e={request:this.#i,dispatcher:this.#o};e.processResponseEndOfBody=e=>{l(e)&&(this.dispatchEvent(new Event(`error`)),this.close()),this.#l()},e.processResponse=e=>{if(l(e))if(e.aborted){this.close(),this.dispatchEvent(new Event(`error`));return}else{this.#l();return}let t=e.headersList.get(`content-type`,!0),r=t===null?`failure`:s(t),i=r!==`failure`&&r.essence===`text/event-stream`;if(e.status!==200||i===!1){this.close(),this.dispatchEvent(new Event(`error`));return}this.#r=1,this.dispatchEvent(new Event(`open`)),this.#s.origin=e.urlList[e.urlList.length-1].origin;let a=new o({eventSourceSettings:this.#s,push:e=>{this.dispatchEvent(c(e.type,e.options))}});n(e.body.stream,a,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event(`error`)))})},this.#a=r(e)}async#l(){this.#r!==2&&(this.#r=0,this.dispatchEvent(new Event(`error`)),await u(this.#s.reconnectionTime),this.#r===0&&(this.#s.lastEventId.length&&this.#i.headersList.set(`last-event-id`,this.#s.lastEventId,!0),this.#c()))}close(){a.brandCheck(this,e),this.#r!==2&&(this.#r=2,this.#a.abort(),this.#i=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener(`open`,this.#e.open),typeof e==`function`?(this.#e.open=e,this.addEventListener(`open`,e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener(`message`,this.#e.message),typeof e==`function`?(this.#e.message=e,this.addEventListener(`message`,e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener(`error`,this.#e.error),typeof e==`function`?(this.#e.error=e,this.addEventListener(`error`,e)):this.#e.error=null}};let g={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,g),Object.defineProperties(h.prototype,g),Object.defineProperties(h.prototype,{close:d,onerror:d,onmessage:d,onopen:d,readyState:d,url:d,withCredentials:d}),a.converters.EventSourceInitDict=a.dictionaryConverter([{key:`withCredentials`,converter:a.converters.boolean,defaultValue:()=>!1},{key:`dispatcher`,converter:a.converters.any}]),t.exports={EventSource:h,defaultReconnectionTime:m}})),kn=P(((e,t)=>{let n=gt(),r=Je(),i=bt(),a=xt(),o=St(),s=Ct(),c=wt(),l=Et(),u=I(),d=L(),{InvalidArgumentError:f}=u,p=Ft(),m=Ze(),h=Bt(),g=Wt(),_=Vt(),v=It(),y=Tt(),{getGlobalDispatcher:b,setGlobalDispatcher:x}=Gt(),S=Kt(),C=mt(),w=ht();Object.assign(r.prototype,p),t.exports.Dispatcher=r,t.exports.Client=n,t.exports.Pool=i,t.exports.BalancedPool=a,t.exports.Agent=o,t.exports.ProxyAgent=s,t.exports.EnvHttpProxyAgent=c,t.exports.RetryAgent=l,t.exports.RetryHandler=y,t.exports.DecoratorHandler=S,t.exports.RedirectHandler=C,t.exports.createRedirectInterceptor=w,t.exports.interceptors={redirect:qt(),retry:Jt(),dump:Yt(),dns:Xt()},t.exports.buildConnector=m,t.exports.errors=u,t.exports.util={parseHeaders:d.parseHeaders,headerNameToString:d.headerNameToString};function T(e){return(t,n,r)=>{if(typeof n==`function`&&(r=n,n=null),!t||typeof t!=`string`&&typeof t!=`object`&&!(t instanceof URL))throw new f(`invalid url`);if(n!=null&&typeof n!=`object`)throw new f(`invalid opts`);if(n&&n.path!=null){if(typeof n.path!=`string`)throw new f(`invalid opts.path`);let e=n.path;n.path.startsWith(`/`)||(e=`/${e}`),t=new URL(d.parseOrigin(t).origin+e)}else n||=typeof t==`object`?t:{},t=d.parseURL(t);let{agent:i,dispatcher:a=b()}=n;if(i)throw new f(`unsupported opts.agent. Did you mean opts.client?`);return e.call(a,{...n,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:n.method||(n.body?`PUT`:`GET`)},r)}}t.exports.setGlobalDispatcher=x,t.exports.getGlobalDispatcher=b;let E=tn().fetch;t.exports.fetch=async function(e,t=void 0){try{return await E(e,t)}catch(e){throw e&&typeof e==`object`&&Error.captureStackTrace(e),e}},t.exports.Headers=Zt().Headers,t.exports.Response=Qt().Response,t.exports.Request=en().Request,t.exports.FormData=lt().FormData,t.exports.File=globalThis.File??F(`node:buffer`).File,t.exports.FileReader=sn().FileReader;let{setGlobalOrigin:D,getGlobalOrigin:O}=rt();t.exports.setGlobalOrigin=D,t.exports.getGlobalOrigin=O;let{CacheStorage:k}=dn(),{kConstruct:A}=cn();t.exports.caches=new k(A);let{deleteCookie:j,getCookies:M,getSetCookies:ee,setCookie:N}=hn();t.exports.deleteCookie=j,t.exports.getCookies=M,t.exports.getSetCookies=ee,t.exports.setCookie=N;let{parseMIMEType:te,serializeAMimeType:ne}=it();t.exports.parseMIMEType=te,t.exports.serializeAMimeType=ne;let{CloseEvent:re,ErrorEvent:ie,MessageEvent:ae}=gn();t.exports.WebSocket=Tn().WebSocket,t.exports.CloseEvent=re,t.exports.ErrorEvent=ie,t.exports.MessageEvent=ae,t.exports.request=T(p.request),t.exports.stream=T(p.stream),t.exports.pipeline=T(p.pipeline),t.exports.connect=T(p.connect),t.exports.upgrade=T(p.upgrade),t.exports.MockClient=h,t.exports.MockPool=_,t.exports.MockAgent=g,t.exports.mockErrors=v;let{EventSource:oe}=On();t.exports.EventSource=oe})),An=De(He(),1),jn=kn(),Mn=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},Nn;(function(e){e[e.OK=200]=`OK`,e[e.MultipleChoices=300]=`MultipleChoices`,e[e.MovedPermanently=301]=`MovedPermanently`,e[e.ResourceMoved=302]=`ResourceMoved`,e[e.SeeOther=303]=`SeeOther`,e[e.NotModified=304]=`NotModified`,e[e.UseProxy=305]=`UseProxy`,e[e.SwitchProxy=306]=`SwitchProxy`,e[e.TemporaryRedirect=307]=`TemporaryRedirect`,e[e.PermanentRedirect=308]=`PermanentRedirect`,e[e.BadRequest=400]=`BadRequest`,e[e.Unauthorized=401]=`Unauthorized`,e[e.PaymentRequired=402]=`PaymentRequired`,e[e.Forbidden=403]=`Forbidden`,e[e.NotFound=404]=`NotFound`,e[e.MethodNotAllowed=405]=`MethodNotAllowed`,e[e.NotAcceptable=406]=`NotAcceptable`,e[e.ProxyAuthenticationRequired=407]=`ProxyAuthenticationRequired`,e[e.RequestTimeout=408]=`RequestTimeout`,e[e.Conflict=409]=`Conflict`,e[e.Gone=410]=`Gone`,e[e.TooManyRequests=429]=`TooManyRequests`,e[e.InternalServerError=500]=`InternalServerError`,e[e.NotImplemented=501]=`NotImplemented`,e[e.BadGateway=502]=`BadGateway`,e[e.ServiceUnavailable=503]=`ServiceUnavailable`,e[e.GatewayTimeout=504]=`GatewayTimeout`})(Nn||={});var Pn;(function(e){e.Accept=`accept`,e.ContentType=`content-type`})(Pn||={});var Fn;(function(e){e.ApplicationJson=`application/json`})(Fn||={});const In=[Nn.MovedPermanently,Nn.ResourceMoved,Nn.SeeOther,Nn.TemporaryRedirect,Nn.PermanentRedirect],Ln=[Nn.BadGateway,Nn.ServiceUnavailable,Nn.GatewayTimeout],Rn=[`OPTIONS`,`GET`,`DELETE`,`HEAD`];var zn=class e extends Error{constructor(t,n){super(t),this.name=`HttpClientError`,this.statusCode=n,Object.setPrototypeOf(this,e.prototype)}},Bn=class{constructor(e){this.message=e}readBody(){return Mn(this,void 0,void 0,function*(){return new Promise(e=>Mn(this,void 0,void 0,function*(){let t=Buffer.alloc(0);this.message.on(`data`,e=>{t=Buffer.concat([t,e])}),this.message.on(`end`,()=>{e(t.toString())})}))})}readBodyBuffer(){return Mn(this,void 0,void 0,function*(){return new Promise(e=>Mn(this,void 0,void 0,function*(){let t=[];this.message.on(`data`,e=>{t.push(e)}),this.message.on(`end`,()=>{e(Buffer.concat(t))})}))})}},Vn=class{constructor(e,t,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=t||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,t){return Mn(this,void 0,void 0,function*(){return this.request(`OPTIONS`,e,null,t||{})})}get(e,t){return Mn(this,void 0,void 0,function*(){return this.request(`GET`,e,null,t||{})})}del(e,t){return Mn(this,void 0,void 0,function*(){return this.request(`DELETE`,e,null,t||{})})}post(e,t,n){return Mn(this,void 0,void 0,function*(){return this.request(`POST`,e,t,n||{})})}patch(e,t,n){return Mn(this,void 0,void 0,function*(){return this.request(`PATCH`,e,t,n||{})})}put(e,t,n){return Mn(this,void 0,void 0,function*(){return this.request(`PUT`,e,t,n||{})})}head(e,t){return Mn(this,void 0,void 0,function*(){return this.request(`HEAD`,e,null,t||{})})}sendStream(e,t,n,r){return Mn(this,void 0,void 0,function*(){return this.request(e,t,n,r)})}getJson(e){return Mn(this,arguments,void 0,function*(e,t={}){t[Pn.Accept]=this._getExistingOrDefaultHeader(t,Pn.Accept,Fn.ApplicationJson);let n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)})}postJson(e,t){return Mn(this,arguments,void 0,function*(e,t,n={}){let r=JSON.stringify(t,null,2);n[Pn.Accept]=this._getExistingOrDefaultHeader(n,Pn.Accept,Fn.ApplicationJson),n[Pn.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,Fn.ApplicationJson);let i=yield this.post(e,r,n);return this._processResponse(i,this.requestOptions)})}putJson(e,t){return Mn(this,arguments,void 0,function*(e,t,n={}){let r=JSON.stringify(t,null,2);n[Pn.Accept]=this._getExistingOrDefaultHeader(n,Pn.Accept,Fn.ApplicationJson),n[Pn.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,Fn.ApplicationJson);let i=yield this.put(e,r,n);return this._processResponse(i,this.requestOptions)})}patchJson(e,t){return Mn(this,arguments,void 0,function*(e,t,n={}){let r=JSON.stringify(t,null,2);n[Pn.Accept]=this._getExistingOrDefaultHeader(n,Pn.Accept,Fn.ApplicationJson),n[Pn.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,Fn.ApplicationJson);let i=yield this.patch(e,r,n);return this._processResponse(i,this.requestOptions)})}request(e,t,n,r){return Mn(this,void 0,void 0,function*(){if(this._disposed)throw Error(`Client has already been disposed.`);let i=new URL(t),a=this._prepareRequest(e,i,r),o=this._allowRetries&&Rn.includes(e)?this._maxRetries+1:1,s=0,c;do{if(c=yield this.requestRaw(a,n),c&&c.message&&c.message.statusCode===Nn.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(c)){e=t;break}return e?e.handleAuthentication(this,a,n):c}let t=this._maxRedirects;for(;c.message.statusCode&&In.includes(c.message.statusCode)&&this._allowRedirects&&t>0;){let o=c.message.headers.location;if(!o)break;let s=new URL(o);if(i.protocol===`https:`&&i.protocol!==s.protocol&&!this._allowRedirectDowngrade)throw Error(`Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.`);if(yield c.readBody(),s.hostname!==i.hostname)for(let e in r)e.toLowerCase()===`authorization`&&delete r[e];a=this._prepareRequest(e,s,r),c=yield this.requestRaw(a,n),t--}if(!c.message.statusCode||!Ln.includes(c.message.statusCode))return c;s+=1,s{function i(e,t){e?r(e):t?n(t):r(Error(`Unknown error`))}this.requestRawWithCallback(e,t,i)})})}requestRawWithCallback(e,t,n){typeof t==`string`&&(e.options.headers||(e.options.headers={}),e.options.headers[`Content-Length`]=Buffer.byteLength(t,`utf8`));let r=!1;function i(e,t){r||(r=!0,n(e,t))}let a=e.httpModule.request(e.options,e=>{i(void 0,new Bn(e))}),o;a.on(`socket`,e=>{o=e}),a.setTimeout(this._socketTimeout||3*6e4,()=>{o&&o.end(),i(Error(`Request timeout: ${e.options.path}`))}),a.on(`error`,function(e){i(e)}),t&&typeof t==`string`&&a.write(t,`utf8`),t&&typeof t!=`string`?(t.on(`close`,function(){a.end()}),t.pipe(a)):a.end()}getAgent(e){let t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){let t=new URL(e),n=Le(t);if(n&&n.hostname)return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){let r={};r.parsedUrl=t;let i=r.parsedUrl.protocol===`https:`;r.httpModule=i?f:d;let a=i?443:80;if(r.options={},r.options.host=r.parsedUrl.hostname,r.options.port=r.parsedUrl.port?parseInt(r.parsedUrl.port):a,r.options.path=(r.parsedUrl.pathname||``)+(r.parsedUrl.search||``),r.options.method=e,r.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(r.options.headers[`user-agent`]=this.userAgent),r.options.agent=this._getAgent(r.parsedUrl),this.handlers)for(let e of this.handlers)e.prepareRequest(r.options);return r}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Hn(this.requestOptions.headers),Hn(e||{})):Hn(e||{})}_getExistingOrDefaultHeader(e,t,n){let r;if(this.requestOptions&&this.requestOptions.headers){let e=Hn(this.requestOptions.headers)[t];e&&(r=typeof e==`number`?e.toString():e)}let i=e[t];return i===void 0?r===void 0?n:r:typeof i==`number`?i.toString():i}_getExistingOrDefaultContentTypeHeader(e,t){let n;if(this.requestOptions&&this.requestOptions.headers){let e=Hn(this.requestOptions.headers)[Pn.ContentType];e&&(n=typeof e==`number`?String(e):Array.isArray(e)?e.join(`, `):e)}let r=e[Pn.ContentType];return r===void 0?n===void 0?t:n:typeof r==`number`?String(r):Array.isArray(r)?r.join(`, `):r}_getAgent(e){let t,n=Le(e),r=n&&n.hostname;if(this._keepAlive&&r&&(t=this._proxyAgent),r||(t=this._agent),t)return t;let i=e.protocol===`https:`,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||d.globalAgent.maxSockets),n&&n.hostname){let e={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},r,o=n.protocol===`https:`;r=i?o?An.httpsOverHttps:An.httpsOverHttp:o?An.httpOverHttps:An.httpOverHttp,t=r(e),this._proxyAgent=t}if(!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=i?new f.Agent(e):new d.Agent(e),this._agent=t}return i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let r=e.protocol===`https:`;return n=new jn.ProxyAgent(Object.assign({uri:t.href,pipelining:+!!this._keepAlive},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString(`base64`)}`})),this._proxyAgentDispatcher=n,r&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let t=e||`actions/http-client`,n=process.env.ACTIONS_ORCHESTRATION_ID;return n?`${t} actions_orchestration_id/${n.replace(/[^a-z0-9_.-]/gi,`_`)}`:t}_performExponentialBackoff(e){return Mn(this,void 0,void 0,function*(){e=Math.min(10,e);let t=5*2**e;return new Promise(e=>setTimeout(()=>e(),t))})}_processResponse(e,t){return Mn(this,void 0,void 0,function*(){return new Promise((n,r)=>Mn(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Nn.NotFound&&n(a);function o(e,t){if(typeof t==`string`){let e=new Date(t);if(!isNaN(e.valueOf()))return e}return t}let s,c;try{c=yield e.readBody(),c&&c.length>0&&(s=t&&t.deserializeDates?JSON.parse(c,o):JSON.parse(c),a.result=s),a.headers=e.message.headers}catch{}if(i>299){let e;e=s&&s.message?s.message:c&&c.length>0?c:`Failed request: (${i})`;let t=new zn(e,i);t.result=a.result,r(t)}else n(a)}))})}};const Hn=e=>Object.keys(e).reduce((t,n)=>(t[n.toLowerCase()]=e[n],t),{});var Un=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},Wn=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error(`The request has no headers`);e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return Un(this,void 0,void 0,function*(){throw Error(`not implemented`)})}},Gn=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const{access:Kn,appendFile:qn,writeFile:Jn}=c,Yn=`GITHUB_STEP_SUMMARY`;new class{constructor(){this._buffer=``}filePath(){return Gn(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[Yn];if(!e)throw Error(`Unable to find environment variable for $${Yn}. Check if your runtime environment supports job summaries.`);try{yield Kn(e,o.R_OK|o.W_OK)}catch{throw Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,t,n={}){let r=Object.entries(n).map(([e,t])=>` ${e}="${t}"`).join(``);return t?`<${e}${r}>${t}`:`<${e}${r}>`}write(e){return Gn(this,void 0,void 0,function*(){let t=!!e?.overwrite,n=yield this.filePath();return yield(t?Jn:qn)(n,this._buffer,{encoding:`utf8`}),this.emptyBuffer()})}clear(){return Gn(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer=``,this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(r)}addCodeBlock(e,t){let n=Object.assign({},t&&{lang:t}),r=this.wrap(`pre`,this.wrap(`code`,e),n);return this.addRaw(r).addEOL()}addList(e,t=!1){let n=t?`ol`:`ul`,r=e.map(e=>this.wrap(`li`,e)).join(``),i=this.wrap(n,r);return this.addRaw(i).addEOL()}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if(typeof e==`string`)return this.wrap(`td`,e);let{header:t,data:n,colspan:r,rowspan:i}=e,a=t?`th`:`td`,o=Object.assign(Object.assign({},r&&{colspan:r}),i&&{rowspan:i});return this.wrap(a,n,o)}).join(``);return this.wrap(`tr`,t)}).join(``),n=this.wrap(`table`,t);return this.addRaw(n).addEOL()}addDetails(e,t){let n=this.wrap(`details`,this.wrap(`summary`,e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){let{width:r,height:i}=n||{},a=Object.assign(Object.assign({},r&&{width:r}),i&&{height:i}),o=this.wrap(`img`,null,Object.assign({src:e,alt:t},a));return this.addRaw(o).addEOL()}addHeading(e,t){let n=`h${t}`,r=[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`].includes(n)?n:`h1`,i=this.wrap(r,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap(`hr`,null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap(`br`,null);return this.addRaw(e).addEOL()}addQuote(e,t){let n=Object.assign({},t&&{cite:t}),r=this.wrap(`blockquote`,e,n);return this.addRaw(r).addEOL()}addLink(e,t){let n=this.wrap(`a`,e,{href:t});return this.addRaw(n).addEOL()}};var Xn=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const{chmod:Zn,copyFile:Qn,lstat:$n,mkdir:er,open:tr,readdir:nr,rename:rr,rm:ir,rmdir:ar,stat:or,symlink:sr,unlink:cr}=a.promises,lr=process.platform===`win32`;a.constants.O_RDONLY;function ur(e){return Xn(this,void 0,void 0,function*(){try{yield or(e)}catch(e){if(e.code===`ENOENT`)return!1;throw e}return!0})}function dr(e){if(e=pr(e),!e)throw Error(`isRooted() parameter "p" cannot be empty`);return lr?e.startsWith(`\\`)||/^[A-Z]:/i.test(e):e.startsWith(`/`)}function fr(e,t){return Xn(this,void 0,void 0,function*(){let n;try{n=yield or(e)}catch(t){t.code!==`ENOENT`&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile()){if(lr){let n=u.extname(e).toUpperCase();if(t.some(e=>e.toUpperCase()===n))return e}else if(mr(n))return e}let r=e;for(let i of t){e=r+i,n=void 0;try{n=yield or(e)}catch(t){t.code!==`ENOENT`&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile()){if(lr){try{let t=u.dirname(e),n=u.basename(e).toUpperCase();for(let r of yield nr(t))if(n===r.toUpperCase()){e=u.join(t,r);break}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else if(mr(n))return e}}return``})}function pr(e){return e||=``,lr?(e=e.replace(/\//g,`\\`),e.replace(/\\\\+/g,`\\`)):e.replace(/\/\/+/g,`/`)}function mr(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==void 0&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==void 0&&e.uid===process.getuid()}var hr=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function gr(e){return hr(this,void 0,void 0,function*(){g(e,`a path argument must be provided`),yield er(e,{recursive:!0})})}function _r(e,t){return hr(this,void 0,void 0,function*(){if(!e)throw Error(`parameter 'tool' is required`);if(t){let t=yield _r(e,!1);if(!t)throw Error(lr?`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`:`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return t}let n=yield vr(e);return n&&n.length>0?n[0]:``})}function vr(e){return hr(this,void 0,void 0,function*(){if(!e)throw Error(`parameter 'tool' is required`);let t=[];if(lr&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(dr(e)){let n=yield fr(e,t);return n?[n]:[]}if(e.includes(u.sep))return[];let n=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&n.push(e);let r=[];for(let i of n){let n=yield fr(u.join(i,e),t);n&&r.push(n)}return r})}var yr=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const br=process.platform===`win32`;var xr=class extends p.EventEmitter{constructor(e,t,n){if(super(),!e)throw Error(`Parameter 'toolPath' cannot be null or empty.`);this.toolPath=e,this.args=t||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){let n=this._getSpawnFileName(),r=this._getSpawnArgs(e),i=t?``:`[command]`;if(br)if(this._isCmdFile()){i+=n;for(let e of r)i+=` ${e}`}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(let e of r)i+=` ${e}`}else{i+=this._windowsQuoteCmdArg(n);for(let e of r)i+=` ${this._windowsQuoteCmdArg(e)}`}else{i+=n;for(let e of r)i+=` ${e}`}return i}_processLineBuffer(e,n,r){try{let i=n+e.toString(),a=i.indexOf(t.EOL);for(;a>-1;)r(i.substring(0,a)),i=i.substring(a+t.EOL.length),a=i.indexOf(t.EOL);return i}catch(e){return this._debug(`error processing line. Failed with error ${e}`),``}}_getSpawnFileName(){return br&&this._isCmdFile()?process.env.COMSPEC||`cmd.exe`:this.toolPath}_getSpawnArgs(e){if(br&&this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)t+=` `,t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return t+=`"`,[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,`.CMD`)||this._endsWith(e,`.BAT`)}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return`""`;let t=[` `,` `,`&`,`(`,`)`,`[`,`]`,`{`,`}`,`^`,`=`,`;`,`!`,`'`,`+`,`,`,"`",`~`,`|`,`<`,`>`,`"`],n=!1;for(let r of e)if(t.some(e=>e===r)){n=!0;break}if(!n)return e;let r=`"`,i=!0;for(let t=e.length;t>0;t--)r+=e[t-1],i&&e[t-1]===`\\`?r+=`\\`:e[t-1]===`"`?(i=!0,r+=`"`):i=!1;return r+=`"`,r.split(``).reverse().join(``)}_uvQuoteCmdArg(e){if(!e)return`""`;if(!e.includes(` `)&&!e.includes(` `)&&!e.includes(`"`))return e;if(!e.includes(`"`)&&!e.includes(`\\`))return`"${e}"`;let t=`"`,n=!0;for(let r=e.length;r>0;r--)t+=e[r-1],n&&e[r-1]===`\\`?t+=`\\`:e[r-1]===`"`?(n=!0,t+=`\\`):n=!1;return t+=`"`,t.split(``).reverse().join(``)}_cloneExecOptions(e){e||={};let t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){e||={};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${t}"`),n}exec(){return yr(this,void 0,void 0,function*(){return!dr(this.toolPath)&&(this.toolPath.includes(`/`)||br&&this.toolPath.includes(`\\`))&&(this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield _r(this.toolPath,!0),new Promise((e,n)=>yr(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug(`arguments:`);for(let e of this.args)this._debug(` ${e}`);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+t.EOL);let i=new Cr(r,this.toolPath);if(i.on(`debug`,e=>{this._debug(e)}),this.options.cwd&&!(yield ur(this.options.cwd)))return n(Error(`The cwd: ${this.options.cwd} does not exist!`));let a=this._getSpawnFileName(),o=D.spawn(a,this._getSpawnArgs(r),this._getSpawnOptions(this.options,a)),s=``;o.stdout&&o.stdout.on(`data`,e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),s=this._processLineBuffer(e,s,e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)})});let c=``;if(o.stderr&&o.stderr.on(`data`,e=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)})}),o.on(`error`,e=>{i.processError=e.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),o.on(`exit`,e=>{i.processExitCode=e,i.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),i.CheckComplete()}),o.on(`close`,e=>{i.processExitCode=e,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on(`done`,(t,r)=>{s.length>0&&this.emit(`stdline`,s),c.length>0&&this.emit(`errline`,c),o.removeAllListeners(),t?n(t):e(r)}),this.options.input){if(!o.stdin)throw Error(`child process missing stdin`);o.stdin.end(this.options.input)}}))})}};function Sr(e){let t=[],n=!1,r=!1,i=``;function a(e){r&&e!==`"`&&(i+=`\\`),i+=e,r=!1}for(let o=0;o0&&(t.push(i),i=``);continue}a(s)}return i.length>0&&t.push(i.trim()),t}var Cr=class e extends p.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError=``,this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error(`toolPath must not be empty`);this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=O(e.HandleTimeout,this.delay,this)))}_debug(e){this.emit(`debug`,e)}_setResult(){let e;this.processExited&&(this.processError?e=Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&=(clearTimeout(this.timeout),null),this.done=!0,this.emit(`done`,e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},wr=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function Tr(e,t,n){return wr(this,void 0,void 0,function*(){let r=Sr(e);if(r.length===0)throw Error(`Parameter 'commandLine' cannot be null or empty.`);let i=r[0];return t=r.slice(1).concat(t||[]),new xr(i,t,n).exec()})}function Er(e,t,n){return wr(this,void 0,void 0,function*(){let r=``,i=``,a=new E(`utf8`),o=new E(`utf8`),s=n?.listeners?.stdout,c=n?.listeners?.stderr,l=Object.assign(Object.assign({},n?.listeners),{stdout:e=>{r+=a.write(e),s&&s(e)},stderr:e=>{i+=o.write(e),c&&c(e)}}),u=yield Tr(e,t,Object.assign(Object.assign({},n),{listeners:l}));return r+=a.end(),i+=o.end(),{exitCode:u,stdout:r,stderr:i}})}n.platform(),n.arch();var Dr;(function(e){e[e.Success=0]=`Success`,e[e.Failure=1]=`Failure`})(Dr||={});function Or(e,t){let n=Oe(t);if(process.env[e]=n,process.env.GITHUB_ENV)return Fe(`ENV`,Ie(e,t));Ae(`set-env`,{name:e},n)}function kr(e){Ae(`add-mask`,{},e)}function Ar(e){process.env.GITHUB_PATH?Fe(`PATH`,e):Ae(`add-path`,{},e),process.env.PATH=`${e}${u.delimiter}${process.env.PATH}`}function jr(e,t){let n=process.env[`INPUT_${e.replace(/ /g,`_`).toUpperCase()}`]||``;if(t&&t.required&&!n)throw Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?n:n.trim()}function Mr(e,t){let n=[`true`,`True`,`TRUE`],r=[`false`,`False`,`FALSE`],i=jr(e,t);if(n.includes(i))return!0;if(r.includes(i))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function Nr(e,n){if(process.env.GITHUB_OUTPUT)return Fe(`OUTPUT`,Ie(e,n));process.stdout.write(t.EOL),Ae(`set-output`,{name:e},Oe(n))}function Pr(e){process.exitCode=Dr.Failure,Ir(e)}function Fr(){return process.env.RUNNER_DEBUG===`1`}function R(e){Ae(`debug`,{},e)}function Ir(e,t={}){Ae(`error`,ke(t),e instanceof Error?e.toString():e)}function Lr(e,t={}){Ae(`warning`,ke(t),e instanceof Error?e.toString():e)}function Rr(e){process.stdout.write(e+t.EOL)}function zr(e){je(`group`,e)}function Br(){je(`endgroup`)}function Vr(e,t){if(process.env.GITHUB_STATE)return Fe(`STATE`,Ie(e,t));Ae(`save-state`,{name:e},Oe(t))}function Hr(e){return process.env[`STATE_${e}`]||``}var Ur=P((e=>{let t=Symbol.for(`yaml.alias`),n=Symbol.for(`yaml.document`),r=Symbol.for(`yaml.map`),i=Symbol.for(`yaml.pair`),a=Symbol.for(`yaml.scalar`),o=Symbol.for(`yaml.seq`),s=Symbol.for(`yaml.node.type`),c=e=>!!e&&typeof e==`object`&&e[s]===t,l=e=>!!e&&typeof e==`object`&&e[s]===n,u=e=>!!e&&typeof e==`object`&&e[s]===r,d=e=>!!e&&typeof e==`object`&&e[s]===i,f=e=>!!e&&typeof e==`object`&&e[s]===a,p=e=>!!e&&typeof e==`object`&&e[s]===o;function m(e){if(e&&typeof e==`object`)switch(e[s]){case r:case o:return!0}return!1}function h(e){if(e&&typeof e==`object`)switch(e[s]){case t:case r:case a:case o:return!0}return!1}e.ALIAS=t,e.DOC=n,e.MAP=r,e.NODE_TYPE=s,e.PAIR=i,e.SCALAR=a,e.SEQ=o,e.hasAnchor=e=>(f(e)||m(e))&&!!e.anchor,e.isAlias=c,e.isCollection=m,e.isDocument=l,e.isMap=u,e.isNode=h,e.isPair=d,e.isScalar=f,e.isSeq=p})),Wr=P((e=>{var t=Ur();let n=Symbol(`break visit`),r=Symbol(`skip children`),i=Symbol(`remove node`);function a(e,n){let r=l(n);t.isDocument(e)?o(null,e.contents,r,Object.freeze([e]))===i&&(e.contents=null):o(null,e,r,Object.freeze([]))}a.BREAK=n,a.SKIP=r,a.REMOVE=i;function o(e,r,a,s){let c=u(e,r,a,s);if(t.isNode(c)||t.isPair(c))return d(e,s,c),o(e,c,a,s);if(typeof c!=`symbol`){if(t.isCollection(r)){s=Object.freeze(s.concat(r));for(let e=0;e{var t=Ur(),n=Wr();let r={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},i=e=>e.replace(/[!,[\]{}]/g,e=>r[e]);var a=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+i(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let r=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],i=Object.entries(this.tags),a;if(e&&i.length>0&&t.isNode(e.contents)){let r={};n.visit(e.contents,(e,n)=>{t.isNode(n)&&n.tag&&(r[n.tag]=!0)}),a=Object.keys(r)}else a=[];for(let[t,n]of i)t===`!!`&&n===`tag:yaml.org,2002:`||(!e||a.some(e=>e.startsWith(n)))&&r.push(`%TAG ${t} ${n}`);return r.join(` -`)}};a.defaultYaml={explicit:!1,version:`1.2`},a.defaultTags={"!!":`tag:yaml.org,2002:`},e.Directives=a})),Kr=P((e=>{var t=Ur(),n=Wr();function r(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function i(e){let t=new Set;return n.visit(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function a(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function o(e,n){let r=[],o=new Map,s=null;return{onAnchor:t=>{r.push(t),s??=i(e);let o=a(n,s);return s.add(o),o},setAnchors:()=>{for(let e of r){let n=o.get(e);if(typeof n==`object`&&n.anchor&&(t.isScalar(n.node)||t.isCollection(n.node)))n.node.anchor=n.anchor;else{let t=Error(`Failed to resolve repeated object (this should not happen)`);throw t.source=e,t}}},sourceObjects:o}}e.anchorIsValid=r,e.anchorNames=i,e.createNodeAnchors=o,e.findNewAnchor=a})),qr=P((e=>{function t(e,n,r,i){if(i&&typeof i==`object`)if(Array.isArray(i))for(let n=0,r=i.length;n{var t=Ur();function n(e,r,i){if(Array.isArray(e))return e.map((e,t)=>n(e,String(t),i));if(e&&typeof e.toJSON==`function`){if(!i||!t.hasAnchor(e))return e.toJSON(r,i);let n={aliasCount:0,count:1,res:void 0};i.anchors.set(e,n),i.onCreate=e=>{n.res=e,delete i.onCreate};let a=e.toJSON(r,i);return i.onCreate&&i.onCreate(a),a}return typeof e==`bigint`&&!i?.keep?Number(e):e}e.toJS=n})),Yr=P((e=>{var t=qr(),n=Ur(),r=Jr();e.NodeBase=class{constructor(e){Object.defineProperty(this,n.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:i,maxAliasCount:a,onAnchor:o,reviver:s}={}){if(!n.isDocument(e))throw TypeError(`A document argument is required`);let c={anchors:new Map,doc:e,keep:!0,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof a==`number`?a:100},l=r.toJS(this,``,c);if(typeof o==`function`)for(let{count:e,res:t}of c.anchors.values())o(t,e);return typeof s==`function`?t.applyReviver(s,{"":l},``,l):l}}})),Xr=P((e=>{var t=Kr(),n=Wr(),r=Ur(),i=Yr(),a=Jr(),o=class extends i.NodeBase{constructor(e){super(r.ALIAS),this.source=e,Object.defineProperty(this,`tag`,{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){if(t?.maxAliasCount===0)throw ReferenceError(`Alias resolution is disabled`);let i;t?.aliasResolveCache?i=t.aliasResolveCache:(i=[],n.visit(e,{Node:(e,t)=>{(r.isAlias(t)||r.hasAnchor(t))&&i.push(t)}}),t&&(t.aliasResolveCache=i));let a;for(let e of i){if(e===this)break;e.anchor===this.source&&(a=e)}return a}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,o=this.resolve(r,t);if(!o){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}let c=n.get(o);if(c||=(a.toJS(o,null,t),n.get(o)),c?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(c.count+=1,c.aliasCount===0&&(c.aliasCount=s(r,o,n)),c.count*c.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`);return c.res}toString(e,n,r){let i=`*${this.source}`;if(e){if(t.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${i} `}return i}};function s(e,t,n){if(r.isAlias(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(r.isCollection(t)){let r=0;for(let i of t.items){let t=s(e,i,n);t>r&&(r=t)}return r}else if(r.isPair(t)){let r=s(e,t.key,n),i=s(e,t.value,n);return Math.max(r,i)}return 1}e.Alias=o})),Zr=P((e=>{var t=Ur(),n=Yr(),r=Jr();let i=e=>!e||typeof e!=`function`&&typeof e!=`object`;var a=class extends n.NodeBase{constructor(e){super(t.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:r.toJS(this.value,e,t)}toString(){return String(this.value)}};a.BLOCK_FOLDED=`BLOCK_FOLDED`,a.BLOCK_LITERAL=`BLOCK_LITERAL`,a.PLAIN=`PLAIN`,a.QUOTE_DOUBLE=`QUOTE_DOUBLE`,a.QUOTE_SINGLE=`QUOTE_SINGLE`,e.Scalar=a,e.isScalarValue=i})),Qr=P((e=>{var t=Xr(),n=Ur(),r=Zr();function i(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function a(e,a,o){if(n.isDocument(e)&&(e=e.contents),n.isNode(e))return e;if(n.isPair(e)){let t=o.schema[n.MAP].createNode?.(o.schema,null,o);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<`u`&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:s,onAnchor:c,onTagObj:l,schema:u,sourceObjects:d}=o,f;if(s&&e&&typeof e==`object`){if(f=d.get(e),f)return f.anchor??=c(e),new t.Alias(f.anchor);f={anchor:null,node:null},d.set(e,f)}a?.startsWith(`!!`)&&(a=`tag:yaml.org,2002:`+a.slice(2));let p=i(e,a,u.tags);if(!p){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new r.Scalar(e);return f&&(f.node=t),t}p=e instanceof Map?u[n.MAP]:Symbol.iterator in Object(e)?u[n.SEQ]:u[n.MAP]}l&&(l(p),delete o.onTagObj);let m=p?.createNode?p.createNode(o.schema,e,o):typeof p?.nodeClass?.from==`function`?p.nodeClass.from(o.schema,e,o):new r.Scalar(e);return a?m.tag=a:p.default||(m.tag=p.tag),f&&(f.node=m),m}e.createNode=a})),$r=P((e=>{var t=Qr(),n=Ur(),r=Yr();function i(e,n,r){let i=r;for(let e=n.length-1;e>=0;--e){let t=n[e];if(typeof t==`number`&&Number.isInteger(t)&&t>=0){let e=[];e[t]=i,i=e}else i=new Map([[t,i]])}return t.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}let a=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done;e.Collection=class extends r.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,`schema`,{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>n.isNode(t)||n.isPair(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(a(e))this.add(t);else{let[r,...a]=e,o=this.get(r,!0);if(n.isCollection(o))o.addIn(a,t);else if(o===void 0&&this.schema)this.set(r,i(this.schema,a,t));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}deleteIn(e){let[t,...r]=e;if(r.length===0)return this.delete(t);let i=this.get(t,!0);if(n.isCollection(i))return i.deleteIn(r);throw Error(`Expected YAML collection at ${t}. Remaining path: ${r}`)}getIn(e,t){let[r,...i]=e,a=this.get(r,!0);return i.length===0?!t&&n.isScalar(a)?a.value:a:n.isCollection(a)?a.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!n.isPair(t))return!1;let r=t.value;return r==null||e&&n.isScalar(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(e){let[t,...r]=e;if(r.length===0)return this.has(t);let i=this.get(t,!0);return n.isCollection(i)?i.hasIn(r):!1}setIn(e,t){let[r,...a]=e;if(a.length===0)this.set(r,t);else{let e=this.get(r,!0);if(n.isCollection(e))e.setIn(a,t);else if(e===void 0&&this.schema)this.set(r,i(this.schema,a,t));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}},e.collectionFromPath=i,e.isEmptyPath=a})),ei=P((e=>{let t=e=>e.replace(/^(?!$)(?: $)?/gm,`#`);function n(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}e.indentComment=n,e.lineComment=(e,t,r)=>e.endsWith(` +`.trim())}}})),Yt=P(((e,t)=>{let n=Symbol.for(`undici.globalDispatcher.1`),{InvalidArgumentError:r}=qe(),i=Et();o()===void 0&&a(new i);function a(e){if(!e||typeof e.dispatch!=`function`)throw new r(`Argument agent must implement Agent`);Object.defineProperty(globalThis,n,{value:e,writable:!0,enumerable:!1,configurable:!1})}function o(){return globalThis[n]}t.exports={setGlobalDispatcher:a,getGlobalDispatcher:o}})),Xt=P(((e,t)=>{t.exports=class{#e;constructor(e){if(typeof e!=`object`||!e)throw TypeError(`handler must be an object`);this.#e=e}onConnect(...e){return this.#e.onConnect?.(...e)}onError(...e){return this.#e.onError?.(...e)}onUpgrade(...e){return this.#e.onUpgrade?.(...e)}onResponseStarted(...e){return this.#e.onResponseStarted?.(...e)}onHeaders(...e){return this.#e.onHeaders?.(...e)}onData(...e){return this.#e.onData?.(...e)}onComplete(...e){return this.#e.onComplete?.(...e)}onBodySent(...e){return this.#e.onBodySent?.(...e)}}})),Zt=P(((e,t)=>{let n=vt();t.exports=e=>{let t=e?.maxRedirections;return e=>function(r,i){let{maxRedirections:a=t,...o}=r;return a?e(o,new n(e,a,r,i)):e(r,i)}}})),Qt=P(((e,t)=>{let n=kt();t.exports=e=>t=>function(r,i){return t(r,new n({...r,retryOptions:{...e,...r.retryOptions}},{handler:i,dispatch:t}))}})),$t=P(((e,t)=>{let n=I(),{InvalidArgumentError:r,RequestAbortedError:i}=qe(),a=Xt();var o=class extends a{#e=1024*1024;#t=null;#n=!1;#r=!1;#i=0;#a=null;#o=null;constructor({maxSize:e},t){if(super(t),e!=null&&(!Number.isFinite(e)||e<1))throw new r(`maxSize must be a number greater than 0`);this.#e=e??this.#e,this.#o=t}onConnect(e){this.#t=e,this.#o.onConnect(this.#s.bind(this))}#s(e){this.#r=!0,this.#a=e}onHeaders(e,t,r,a){let o=n.parseHeaders(t)[`content-length`];if(o!=null&&o>this.#e)throw new i(`Response size (${o}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#o.onHeaders(e,t,r,a)}onError(e){this.#n||(e=this.#a??e,this.#o.onError(e))}onData(e){return this.#i+=e.length,this.#i>=this.#e&&(this.#n=!0,this.#r?this.#o.onError(this.#a):this.#o.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#r){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function s({maxSize:e}={maxSize:1024*1024}){return t=>function(n,r){let{dumpMaxSize:i=e}=n;return t(n,new o({maxSize:i},r))}}t.exports=s})),en=P(((e,t)=>{let{isIP:n}=F(`node:net`),{lookup:r}=F(`node:dns`),i=Xt(),{InvalidArgumentError:a,InformationalError:o}=qe(),s=2**31-1;var c=class{#e=0;#t=0;#n=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#i}get full(){return this.#n.size===this.#t}runLookup(e,t,n){let r=this.#n.get(e.hostname);if(r==null&&this.full){n(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#e,maxItems:this.#t};if(r==null)this.lookup(e,i,(t,r)=>{if(t||r==null||r.length===0){n(t??new o(`No DNS entries found`));return}this.setRecords(e,r);let a=this.#n.get(e.hostname),s=this.pick(e,a,i.affinity),c;c=typeof s.port==`number`?`:${s.port}`:e.port===``?``:`:${e.port}`,n(null,`${e.protocol}//${s.family===6?`[${s.address}]`:s.address}${c}`)});else{let a=this.pick(e,r,i.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,t,n);return}let o;o=typeof a.port==`number`?`:${a.port}`:e.port===``?``:`:${e.port}`,n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${o}`)}}#r(e,t,n){r(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:`ipv4first`},(e,t)=>{if(e)return n(e);let r=new Map;for(let e of t)r.set(`${e.address}:${e.family}`,e);n(null,r.values())})}#i(e,t,n){let r=null,{records:i,offset:a}=t,o;if(this.dualStack?(n??(a==null||a===s?(t.offset=0,n=4):(t.offset++,n=(t.offset&1)==1?6:4)),o=i[n]!=null&&i[n].ips.length>0?i[n]:i[n===4?6:4]):o=i[n],o==null||o.ips.length===0)return r;o.offset==null||o.offset===s?o.offset=0:o.offset++;let c=o.offset%o.ips.length;return r=o.ips[c]??null,r==null?r:Date.now()-r.timestamp>r.ttl?(o.ips.splice(c,1),this.pick(e,t,n)):r}setRecords(e,t){let n=Date.now(),r={records:{4:null,6:null}};for(let e of t){e.timestamp=n,typeof e.ttl==`number`?e.ttl=Math.min(e.ttl,this.#e):e.ttl=this.#e;let t=r.records[e.family]??{ips:[]};t.ips.push(e),r.records[e.family]=t}this.#n.set(e.hostname,r)}getHandler(e,t){return new l(this,e,t)}},l=class extends i{#e=null;#t=null;#n=null;#r=null;#i=null;constructor(e,{origin:t,handler:n,dispatch:r},i){super(n),this.#i=t,this.#r=n,this.#t={...i},this.#e=e,this.#n=r}onError(e){switch(e.code){case`ETIMEDOUT`:case`ECONNREFUSED`:if(this.#e.dualStack){this.#e.runLookup(this.#i,this.#t,(e,t)=>{if(e)return this.#r.onError(e);let n={...this.#t,origin:t};this.#n(n,this)});return}this.#r.onError(e);return;case`ENOTFOUND`:this.#e.deleteRecord(this.#i);default:this.#r.onError(e);break}}};t.exports=e=>{if(e?.maxTTL!=null&&(typeof e?.maxTTL!=`number`||e?.maxTTL<0))throw new a(`Invalid maxTTL. Must be a positive number`);if(e?.maxItems!=null&&(typeof e?.maxItems!=`number`||e?.maxItems<1))throw new a(`Invalid maxItems. Must be a positive number and greater than zero`);if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new a(`Invalid affinity. Must be either 4 or 6`);if(e?.dualStack!=null&&typeof e?.dualStack!=`boolean`)throw new a(`Invalid dualStack. Must be a boolean`);if(e?.lookup!=null&&typeof e?.lookup!=`function`)throw new a(`Invalid lookup. Must be a function`);if(e?.pick!=null&&typeof e?.pick!=`function`)throw new a(`Invalid pick. Must be a function`);let t=e?.dualStack??!0,r;r=t?e?.affinity??null:e?.affinity??4;let i=new c({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:t,affinity:r,maxItems:e?.maxItems??1/0});return e=>function(t,r){let a=t.origin.constructor===URL?t.origin:new URL(t.origin);return n(a.hostname)===0?(i.runLookup(a,t,(n,o)=>{if(n)return r.onError(n);let s=null;s={...t,servername:a.hostname,origin:o,headers:{host:a.hostname,...t.headers}},e(s,i.getHandler({origin:a,dispatch:e,handler:r},t))}),!0):e(t,r)}}})),tn=P(((e,t)=>{let{kConstruct:n}=Ke(),{kEnumerableProperty:r}=I(),{iteratorMixin:i,isValidHeaderName:a,isValidHeaderValue:o}=ut(),{webidl:s}=lt(),c=F(`node:assert`),l=F(`node:util`),u=Symbol(`headers map`),d=Symbol(`headers map sorted`);function f(e){return e===10||e===13||e===9||e===32}function p(e){let t=0,n=e.length;for(;n>t&&f(e.charCodeAt(n-1));)--n;for(;n>t&&f(e.charCodeAt(t));)++t;return t===0&&n===e.length?e:e.substring(t,n)}function m(e,t){if(Array.isArray(t))for(let n=0;n>`,`record`]})}function h(e,t,n){if(n=p(n),!a(t))throw s.errors.invalidArgument({prefix:`Headers.append`,value:t,type:`header name`});if(!o(n))throw s.errors.invalidArgument({prefix:`Headers.append`,value:n,type:`header value`});if(y(e)===`immutable`)throw TypeError(`immutable`);return x(e).append(t,n,!1)}function g(e,t){return e[0]>1),t[s][0]<=l[0]?o=s+1:a=s;if(r!==s){for(i=r;i>o;)t[i]=t[--i];t[o]=l}}if(!n.next().done)throw TypeError(`Unreachable`);return t}else{let e=0;for(let{0:n,1:{value:r}}of this[u])t[e++]=[n,r],c(r!==null);return t.sort(g)}}},v=class e{#e;#t;constructor(e=void 0){s.util.markAsUncloneable(this),e!==n&&(this.#t=new _,this.#e=`none`,e!==void 0&&(e=s.converters.HeadersInit(e,`Headers contructor`,`init`),m(this,e)))}append(t,n){s.brandCheck(this,e),s.argumentLengthCheck(arguments,2,`Headers.append`);let r=`Headers.append`;return t=s.converters.ByteString(t,r,`name`),n=s.converters.ByteString(n,r,`value`),h(this,t,n)}delete(t){if(s.brandCheck(this,e),s.argumentLengthCheck(arguments,1,`Headers.delete`),t=s.converters.ByteString(t,`Headers.delete`,`name`),!a(t))throw s.errors.invalidArgument({prefix:`Headers.delete`,value:t,type:`header name`});if(this.#e===`immutable`)throw TypeError(`immutable`);this.#t.contains(t,!1)&&this.#t.delete(t,!1)}get(t){s.brandCheck(this,e),s.argumentLengthCheck(arguments,1,`Headers.get`);let n=`Headers.get`;if(t=s.converters.ByteString(t,n,`name`),!a(t))throw s.errors.invalidArgument({prefix:n,value:t,type:`header name`});return this.#t.get(t,!1)}has(t){s.brandCheck(this,e),s.argumentLengthCheck(arguments,1,`Headers.has`);let n=`Headers.has`;if(t=s.converters.ByteString(t,n,`name`),!a(t))throw s.errors.invalidArgument({prefix:n,value:t,type:`header name`});return this.#t.contains(t,!1)}set(t,n){s.brandCheck(this,e),s.argumentLengthCheck(arguments,2,`Headers.set`);let r=`Headers.set`;if(t=s.converters.ByteString(t,r,`name`),n=s.converters.ByteString(n,r,`value`),n=p(n),!a(t))throw s.errors.invalidArgument({prefix:r,value:t,type:`header name`});if(!o(n))throw s.errors.invalidArgument({prefix:r,value:n,type:`header value`});if(this.#e===`immutable`)throw TypeError(`immutable`);this.#t.set(t,n,!1)}getSetCookie(){s.brandCheck(this,e);let t=this.#t.cookies;return t?[...t]:[]}get[d](){if(this.#t[d])return this.#t[d];let e=[],t=this.#t.toSortedArray(),n=this.#t.cookies;if(n===null||n.length===1)return this.#t[d]=t;for(let r=0;r>`](e,t,n,r.bind(e)):s.converters[`record`](e,t,n)}throw s.errors.conversionFailed({prefix:`Headers constructor`,argument:`Argument 1`,types:[`sequence>`,`record`]})},t.exports={fill:m,compareHeaderName:g,Headers:v,HeadersList:_,getHeadersGuard:y,setHeadersGuard:b,setHeadersList:S,getHeadersList:x}})),nn=P(((e,t)=>{let{Headers:n,HeadersList:r,fill:i,getHeadersGuard:a,setHeadersGuard:o,setHeadersList:s}=tn(),{extractBody:c,cloneBody:l,mixinBody:u,hasFinalizationRegistry:d,streamRegistry:f,bodyUnusable:p}=ht(),m=I(),h=F(`node:util`),{kEnumerableProperty:g}=m,{isValidReasonPhrase:_,isCancelled:v,isAborted:y,isBlobLike:b,serializeJavascriptValueToJSONString:x,isErrorLike:S,isomorphicEncode:C,environmentSettingsObject:w}=ut(),{redirectStatusSet:T,nullBodyStatus:E}=ot(),{kState:D,kHeaders:O}=dt(),{webidl:k}=lt(),{FormData:A}=pt(),{URLSerializer:j}=ct(),{kConstruct:M}=Ke(),ee=F(`node:assert`),{types:N}=F(`node:util`),te=new TextEncoder(`utf-8`);var ne=class e{static error(){return de(ae(),`immutable`)}static json(e,t={}){k.argumentLengthCheck(arguments,1,`Response.json`),t!==null&&(t=k.converters.ResponseInit(t));let n=c(te.encode(x(e))),r=de(ie({}),`response`);return ue(r,t,{body:n[0],type:`application/json`}),r}static redirect(e,t=302){k.argumentLengthCheck(arguments,1,`Response.redirect`),e=k.converters.USVString(e),t=k.converters[`unsigned short`](t);let n;try{n=new URL(e,w.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!T.has(t))throw RangeError(`Invalid status code ${t}`);let r=de(ie({}),`immutable`);r[D].status=t;let i=C(j(n));return r[D].headersList.append(`location`,i,!0),r}constructor(e=null,t={}){if(k.util.markAsUncloneable(this),e===M)return;e!==null&&(e=k.converters.BodyInit(e)),t=k.converters.ResponseInit(t),this[D]=ie({}),this[O]=new n(M),o(this[O],`response`),s(this[O],this[D].headersList);let r=null;if(e!=null){let[t,n]=c(e);r={body:t,type:n}}ue(this,t,r)}get type(){return k.brandCheck(this,e),this[D].type}get url(){k.brandCheck(this,e);let t=this[D].urlList,n=t[t.length-1]??null;return n===null?``:j(n,!0)}get redirected(){return k.brandCheck(this,e),this[D].urlList.length>1}get status(){return k.brandCheck(this,e),this[D].status}get ok(){return k.brandCheck(this,e),this[D].status>=200&&this[D].status<=299}get statusText(){return k.brandCheck(this,e),this[D].statusText}get headers(){return k.brandCheck(this,e),this[O]}get body(){return k.brandCheck(this,e),this[D].body?this[D].body.stream:null}get bodyUsed(){return k.brandCheck(this,e),!!this[D].body&&m.isDisturbed(this[D].body.stream)}clone(){if(k.brandCheck(this,e),p(this))throw k.errors.exception({header:`Response.clone`,message:`Body has already been consumed.`});let t=re(this[D]);return d&&this[D].body?.stream&&f.register(this,new WeakRef(this[D].body.stream)),de(t,a(this[O]))}[h.inspect.custom](e,t){t.depth===null&&(t.depth=2),t.colors??=!0;let n={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${h.formatWithOptions(t,n)}`}};u(ne),Object.defineProperties(ne.prototype,{type:g,url:g,status:g,ok:g,redirected:g,statusText:g,headers:g,clone:g,body:g,bodyUsed:g,[Symbol.toStringTag]:{value:`Response`,configurable:!0}}),Object.defineProperties(ne,{json:g,redirect:g,error:g});function re(e){if(e.internalResponse)return ce(re(e.internalResponse),e.type);let t=ie({...e,body:null});return e.body!=null&&(t.body=l(t,e.body)),t}function ie(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:`default`,status:200,timingInfo:null,cacheState:``,statusText:``,...e,headersList:e?.headersList?new r(e?.headersList):new r,urlList:e?.urlList?[...e.urlList]:[]}}function ae(e){return ie({type:`error`,status:0,error:S(e)?e:Error(e&&String(e)),aborted:e&&e.name===`AbortError`})}function oe(e){return e.type===`error`&&e.status===0}function se(e,t){return t={internalResponse:e,...t},new Proxy(e,{get(e,n){return n in t?t[n]:e[n]},set(e,n,r){return ee(!(n in t)),e[n]=r,!0}})}function ce(e,t){if(t===`basic`)return se(e,{type:`basic`,headersList:e.headersList});if(t===`cors`)return se(e,{type:`cors`,headersList:e.headersList});if(t===`opaque`)return se(e,{type:`opaque`,urlList:Object.freeze([]),status:0,statusText:``,body:null});if(t===`opaqueredirect`)return se(e,{type:`opaqueredirect`,status:0,statusText:``,headersList:[],body:null});ee(!1)}function le(e,t=null){return ee(v(e)),y(e)?ae(Object.assign(new DOMException(`The operation was aborted.`,`AbortError`),{cause:t})):ae(Object.assign(new DOMException(`Request was cancelled.`),{cause:t}))}function ue(e,t,n){if(t.status!==null&&(t.status<200||t.status>599))throw RangeError(`init["status"] must be in the range of 200 to 599, inclusive.`);if(`statusText`in t&&t.statusText!=null&&!_(String(t.statusText)))throw TypeError(`Invalid statusText`);if(`status`in t&&t.status!=null&&(e[D].status=t.status),`statusText`in t&&t.statusText!=null&&(e[D].statusText=t.statusText),`headers`in t&&t.headers!=null&&i(e[O],t.headers),n){if(E.includes(e.status))throw k.errors.exception({header:`Response constructor`,message:`Invalid response status code ${e.status}`});e[D].body=n.body,n.type!=null&&!e[D].headersList.contains(`content-type`,!0)&&e[D].headersList.append(`content-type`,n.type,!0)}}function de(e,t){let r=new ne(M);return r[D]=e,r[O]=new n(M),s(r[O],e.headersList),o(r[O],t),d&&e.body?.stream&&f.register(r,new WeakRef(e.body.stream)),r}k.converters.ReadableStream=k.interfaceConverter(ReadableStream),k.converters.FormData=k.interfaceConverter(A),k.converters.URLSearchParams=k.interfaceConverter(URLSearchParams),k.converters.XMLHttpRequestBodyInit=function(e,t,n){return typeof e==`string`?k.converters.USVString(e,t,n):b(e)?k.converters.Blob(e,t,n,{strict:!1}):ArrayBuffer.isView(e)||N.isArrayBuffer(e)?k.converters.BufferSource(e,t,n):m.isFormDataLike(e)?k.converters.FormData(e,t,n,{strict:!1}):e instanceof URLSearchParams?k.converters.URLSearchParams(e,t,n):k.converters.DOMString(e,t,n)},k.converters.BodyInit=function(e,t,n){return e instanceof ReadableStream?k.converters.ReadableStream(e,t,n):e?.[Symbol.asyncIterator]?e:k.converters.XMLHttpRequestBodyInit(e,t,n)},k.converters.ResponseInit=k.dictionaryConverter([{key:`status`,converter:k.converters[`unsigned short`],defaultValue:()=>200},{key:`statusText`,converter:k.converters.ByteString,defaultValue:()=>``},{key:`headers`,converter:k.converters.HeadersInit}]),t.exports={isNetworkError:oe,makeNetworkError:ae,makeResponse:ie,makeAppropriateNetworkError:le,filterResponse:ce,Response:ne,cloneResponse:re,fromInnerResponse:de}})),rn=P(((e,t)=>{let{kConnected:n,kSize:r}=Ke();var i=class{constructor(e){this.value=e}deref(){return this.value[n]===0&&this.value[r]===0?void 0:this.value}},a=class{constructor(e){this.finalizer=e}register(e,t){e.on&&e.on(`disconnect`,()=>{e[n]===0&&e[r]===0&&this.finalizer(t)})}unregister(e){}};t.exports=function(){return process.env.NODE_V8_COVERAGE&&process.version.startsWith(`v18`)?(process._rawDebug(`Using compatibility WeakRef and FinalizationRegistry`),{WeakRef:i,FinalizationRegistry:a}):{WeakRef,FinalizationRegistry}}})),an=P(((e,t)=>{let{extractBody:n,mixinBody:r,cloneBody:i,bodyUnusable:a}=ht(),{Headers:o,fill:s,HeadersList:c,setHeadersGuard:l,getHeadersGuard:u,setHeadersList:d,getHeadersList:f}=tn(),{FinalizationRegistry:p}=rn()(),m=I(),h=F(`node:util`),{isValidHTTPToken:g,sameOrigin:_,environmentSettingsObject:v}=ut(),{forbiddenMethodsSet:y,corsSafeListedMethodsSet:b,referrerPolicy:x,requestRedirect:S,requestMode:C,requestCredentials:w,requestCache:T,requestDuplex:E}=ot(),{kEnumerableProperty:D,normalizedMethodRecordsBase:O,normalizedMethodRecords:k}=m,{kHeaders:A,kSignal:j,kState:M,kDispatcher:ee}=dt(),{webidl:N}=lt(),{URLSerializer:te}=ct(),{kConstruct:ne}=Ke(),re=F(`node:assert`),{getMaxListeners:ie,setMaxListeners:ae,getEventListeners:oe,defaultMaxListeners:se}=F(`node:events`),ce=Symbol(`abortController`),le=new p(({signal:e,abort:t})=>{e.removeEventListener(`abort`,t)}),ue=new WeakMap;function de(e){return t;function t(){let n=e.deref();if(n!==void 0){le.unregister(t),this.removeEventListener(`abort`,t),n.abort(this.reason);let e=ue.get(n.signal);if(e!==void 0){if(e.size!==0){for(let t of e){let e=t.deref();e!==void 0&&e.abort(this.reason)}e.clear()}ue.delete(n.signal)}}}}let fe=!1;var pe=class e{constructor(t,r={}){if(N.util.markAsUncloneable(this),t===ne)return;let i=`Request constructor`;N.argumentLengthCheck(arguments,1,i),t=N.converters.RequestInfo(t,i,`input`),r=N.converters.RequestInit(r,i,`init`);let u=null,p=null,h=v.settingsObject.baseUrl,x=null;if(typeof t==`string`){this[ee]=r.dispatcher;let e;try{e=new URL(t,h)}catch(e){throw TypeError(`Failed to parse URL from `+t,{cause:e})}if(e.username||e.password)throw TypeError(`Request cannot be constructed from a URL that includes credentials: `+t);u=me({urlList:[e]}),p=`cors`}else this[ee]=r.dispatcher||t[ee],re(t instanceof e),u=t[M],x=t[j];let S=v.settingsObject.origin,C=`client`;if(u.window?.constructor?.name===`EnvironmentSettingsObject`&&_(u.window,S)&&(C=u.window),r.window!=null)throw TypeError(`'window' option '${C}' must be null`);`window`in r&&(C=`no-window`),u=me({method:u.method,headersList:u.headersList,unsafeRequest:u.unsafeRequest,client:v.settingsObject,window:C,priority:u.priority,origin:u.origin,referrer:u.referrer,referrerPolicy:u.referrerPolicy,mode:u.mode,credentials:u.credentials,cache:u.cache,redirect:u.redirect,integrity:u.integrity,keepalive:u.keepalive,reloadNavigation:u.reloadNavigation,historyNavigation:u.historyNavigation,urlList:[...u.urlList]});let w=Object.keys(r).length!==0;if(w&&(u.mode===`navigate`&&(u.mode=`same-origin`),u.reloadNavigation=!1,u.historyNavigation=!1,u.origin=`client`,u.referrer=`client`,u.referrerPolicy=``,u.url=u.urlList[u.urlList.length-1],u.urlList=[u.url]),r.referrer!==void 0){let e=r.referrer;if(e===``)u.referrer=`no-referrer`;else{let t;try{t=new URL(e,h)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}t.protocol===`about:`&&t.hostname===`client`||S&&!_(t,v.settingsObject.baseUrl)?u.referrer=`client`:u.referrer=t}}r.referrerPolicy!==void 0&&(u.referrerPolicy=r.referrerPolicy);let T;if(T=r.mode===void 0?p:r.mode,T===`navigate`)throw N.errors.exception({header:`Request constructor`,message:`invalid request mode navigate.`});if(T!=null&&(u.mode=T),r.credentials!==void 0&&(u.credentials=r.credentials),r.cache!==void 0&&(u.cache=r.cache),u.cache===`only-if-cached`&&u.mode!==`same-origin`)throw TypeError(`'only-if-cached' can be set only with 'same-origin' mode`);if(r.redirect!==void 0&&(u.redirect=r.redirect),r.integrity!=null&&(u.integrity=String(r.integrity)),r.keepalive!==void 0&&(u.keepalive=!!r.keepalive),r.method!==void 0){let e=r.method,t=k[e];if(t!==void 0)u.method=t;else{if(!g(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(y.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=O[t]??e,u.method=e}!fe&&u.method===`patch`&&(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:`UNDICI-FETCH-patch`}),fe=!0)}r.signal!==void 0&&(x=r.signal),this[M]=u;let E=new AbortController;if(this[j]=E.signal,x!=null){if(!x||typeof x.aborted!=`boolean`||typeof x.addEventListener!=`function`)throw TypeError(`Failed to construct 'Request': member signal is not of type AbortSignal.`);if(x.aborted)E.abort(x.reason);else{this[ce]=E;let e=de(new WeakRef(E));try{(typeof ie==`function`&&ie(x)===se||oe(x,`abort`).length>=se)&&ae(1500,x)}catch{}m.addAbortListener(x,e),le.register(E,{signal:x,abort:e},e)}}if(this[A]=new o(ne),d(this[A],u.headersList),l(this[A],`request`),T===`no-cors`){if(!b.has(u.method))throw TypeError(`'${u.method} is unsupported in no-cors mode.`);l(this[A],`request-no-cors`)}if(w){let e=f(this[A]),t=r.headers===void 0?new c(e):r.headers;if(e.clear(),t instanceof c){for(let{name:n,value:r}of t.rawValues())e.append(n,r,!1);e.cookies=t.cookies}else s(this[A],t)}let D=t instanceof e?t[M].body:null;if((r.body!=null||D!=null)&&(u.method===`GET`||u.method===`HEAD`))throw TypeError(`Request with GET/HEAD method cannot have body.`);let te=null;if(r.body!=null){let[e,t]=n(r.body,u.keepalive);te=e,t&&!f(this[A]).contains(`content-type`,!0)&&this[A].append(`content-type`,t)}let ue=te??D;if(ue!=null&&ue.source==null){if(te!=null&&r.duplex==null)throw TypeError(`RequestInit: duplex option is required when sending a body.`);if(u.mode!==`same-origin`&&u.mode!==`cors`)throw TypeError(`If request is made from ReadableStream, mode should be "same-origin" or "cors"`);u.useCORSPreflightFlag=!0}let pe=ue;if(te==null&&D!=null){if(a(t))throw TypeError(`Cannot construct a Request with a Request object that has already been used.`);let e=new TransformStream;D.stream.pipeThrough(e),pe={source:D.source,length:D.length,stream:e.readable}}this[M].body=pe}get method(){return N.brandCheck(this,e),this[M].method}get url(){return N.brandCheck(this,e),te(this[M].url)}get headers(){return N.brandCheck(this,e),this[A]}get destination(){return N.brandCheck(this,e),this[M].destination}get referrer(){return N.brandCheck(this,e),this[M].referrer===`no-referrer`?``:this[M].referrer===`client`?`about:client`:this[M].referrer.toString()}get referrerPolicy(){return N.brandCheck(this,e),this[M].referrerPolicy}get mode(){return N.brandCheck(this,e),this[M].mode}get credentials(){return this[M].credentials}get cache(){return N.brandCheck(this,e),this[M].cache}get redirect(){return N.brandCheck(this,e),this[M].redirect}get integrity(){return N.brandCheck(this,e),this[M].integrity}get keepalive(){return N.brandCheck(this,e),this[M].keepalive}get isReloadNavigation(){return N.brandCheck(this,e),this[M].reloadNavigation}get isHistoryNavigation(){return N.brandCheck(this,e),this[M].historyNavigation}get signal(){return N.brandCheck(this,e),this[j]}get body(){return N.brandCheck(this,e),this[M].body?this[M].body.stream:null}get bodyUsed(){return N.brandCheck(this,e),!!this[M].body&&m.isDisturbed(this[M].body.stream)}get duplex(){return N.brandCheck(this,e),`half`}clone(){if(N.brandCheck(this,e),a(this))throw TypeError(`unusable`);let t=he(this[M]),n=new AbortController;if(this.signal.aborted)n.abort(this.signal.reason);else{let e=ue.get(this.signal);e===void 0&&(e=new Set,ue.set(this.signal,e));let t=new WeakRef(n);e.add(t),m.addAbortListener(n.signal,de(t))}return ge(t,n.signal,u(this[A]))}[h.inspect.custom](e,t){t.depth===null&&(t.depth=2),t.colors??=!0;let n={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${h.formatWithOptions(t,n)}`}};r(pe);function me(e){return{method:e.method??`GET`,localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??``,window:e.window??`client`,keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??`all`,initiator:e.initiator??``,destination:e.destination??``,priority:e.priority??null,origin:e.origin??`client`,policyContainer:e.policyContainer??`client`,referrer:e.referrer??`client`,referrerPolicy:e.referrerPolicy??``,mode:e.mode??`no-cors`,useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??`same-origin`,useCredentials:e.useCredentials??!1,cache:e.cache??`default`,redirect:e.redirect??`follow`,integrity:e.integrity??``,cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??``,parserMetadata:e.parserMetadata??``,reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??`basic`,preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function he(e){let t=me({...e,body:null});return e.body!=null&&(t.body=i(t,e.body)),t}function ge(e,t,n){let r=new pe(ne);return r[M]=e,r[j]=t,r[A]=new o(ne),d(r[A],e.headersList),l(r[A],n),r}Object.defineProperties(pe.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:`Request`,configurable:!0}}),N.converters.Request=N.interfaceConverter(pe),N.converters.RequestInfo=function(e,t,n){return typeof e==`string`?N.converters.USVString(e,t,n):e instanceof pe?N.converters.Request(e,t,n):N.converters.USVString(e,t,n)},N.converters.AbortSignal=N.interfaceConverter(AbortSignal),N.converters.RequestInit=N.dictionaryConverter([{key:`method`,converter:N.converters.ByteString},{key:`headers`,converter:N.converters.HeadersInit},{key:`body`,converter:N.nullableConverter(N.converters.BodyInit)},{key:`referrer`,converter:N.converters.USVString},{key:`referrerPolicy`,converter:N.converters.DOMString,allowedValues:x},{key:`mode`,converter:N.converters.DOMString,allowedValues:C},{key:`credentials`,converter:N.converters.DOMString,allowedValues:w},{key:`cache`,converter:N.converters.DOMString,allowedValues:T},{key:`redirect`,converter:N.converters.DOMString,allowedValues:S},{key:`integrity`,converter:N.converters.DOMString},{key:`keepalive`,converter:N.converters.boolean},{key:`signal`,converter:N.nullableConverter(e=>N.converters.AbortSignal(e,`RequestInit`,`signal`,{strict:!1}))},{key:`window`,converter:N.converters.any},{key:`duplex`,converter:N.converters.DOMString,allowedValues:E},{key:`dispatcher`,converter:N.converters.any}]),t.exports={Request:pe,makeRequest:me,fromInnerRequest:ge,cloneRequest:he}})),on=P(((e,t)=>{let{makeNetworkError:n,makeAppropriateNetworkError:r,filterResponse:i,makeResponse:a,fromInnerResponse:o}=nn(),{HeadersList:s}=tn(),{Request:c,cloneRequest:l}=an(),u=F(`node:zlib`),{bytesMatch:d,makePolicyContainer:f,clonePolicyContainer:p,requestBadPort:m,TAOCheck:h,appendRequestOriginHeader:g,responseLocationURL:_,requestCurrentURL:v,setRequestReferrerPolicyOnRedirect:y,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:x,appendFetchMetadata:S,corsCheck:C,crossOriginResourcePolicyCheck:w,determineRequestsReferrer:T,coarsenedSharedCurrentTime:E,createDeferredPromise:D,isBlobLike:O,sameOrigin:k,isCancelled:A,isAborted:j,isErrorLike:M,fullyReadBody:ee,readableStreamClose:N,isomorphicEncode:te,urlIsLocal:ne,urlIsHttpHttpsScheme:re,urlHasHttpsScheme:ie,clampAndCoarsenConnectionTimingInfo:ae,simpleRangeHeaderValue:oe,buildContentRange:se,createInflate:ce,extractMimeType:le}=ut(),{kState:ue,kDispatcher:de}=dt(),fe=F(`node:assert`),{safelyExtractBody:pe,extractBody:me}=ht(),{redirectStatusSet:he,nullBodyStatus:ge,safeMethodsSet:_e,requestBodyHeader:ve,subresourceSet:ye}=ot(),be=F(`node:events`),{Readable:xe,pipeline:Se,finished:Ce}=F(`node:stream`),{addAbortListener:we,isErrored:Te,isReadable:Ee,bufferToLowerCasedHeaderName:De}=I(),{dataURLProcessor:P,serializeAMimeType:Oe,minimizeSupportedMimeType:ke}=ct(),{getGlobalDispatcher:Ae}=Yt(),{webidl:je}=lt(),{STATUS_CODES:Me}=F(`node:http`),Ne=[`GET`,`HEAD`],Pe=typeof __UNDICI_IS_NODE__<`u`||typeof esbuildDetection<`u`?`node`:`undici`,Fe;var Ie=class extends be{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state=`ongoing`}terminate(e){this.state===`ongoing`&&(this.state=`terminated`,this.connection?.destroy(e),this.emit(`terminated`,e))}abort(e){this.state===`ongoing`&&(this.state=`aborted`,e||=new DOMException(`The operation was aborted.`,`AbortError`),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit(`terminated`,e))}};function Le(e){ze(e,`fetch`)}function Re(e,t=void 0){je.argumentLengthCheck(arguments,1,`globalThis.fetch`);let n=D(),r;try{r=new c(e,t)}catch(e){return n.reject(e),n.promise}let i=r[ue];if(r.signal.aborted)return Ve(n,i,null,r.signal.reason),n.promise;i.client.globalObject?.constructor?.name===`ServiceWorkerGlobalScope`&&(i.serviceWorkers=`none`);let a=null,s=!1,l=null;return we(r.signal,()=>{s=!0,fe(l!=null),l.abort(r.signal.reason);let e=a?.deref();Ve(n,i,e,r.signal.reason)}),l=He({request:i,processResponseEndOfBody:Le,processResponse:e=>{if(!s){if(e.aborted){Ve(n,i,a,l.serializedAbortReason);return}if(e.type===`error`){n.reject(TypeError(`fetch failed`,{cause:e.error}));return}a=new WeakRef(o(e,`immutable`)),n.resolve(a.deref()),n=null}},dispatcher:r[de]}),n.promise}function ze(e,t=`other`){if(e.type===`error`&&e.aborted||!e.urlList?.length)return;let n=e.urlList[0],r=e.timingInfo,i=e.cacheState;re(n)&&r!==null&&(e.timingAllowPassed||(r=x({startTime:r.startTime}),i=``),r.endTime=E(),e.timingInfo=r,Be(r,n.href,t,globalThis,i))}let Be=performance.markResourceTiming;function Ve(e,t,n,r){if(e&&e.reject(r),t.body!=null&&Ee(t.body?.stream)&&t.body.stream.cancel(r).catch(e=>{if(e.code!==`ERR_INVALID_STATE`)throw e}),n==null)return;let i=n[ue];i.body!=null&&Ee(i.body?.stream)&&i.body.stream.cancel(r).catch(e=>{if(e.code!==`ERR_INVALID_STATE`)throw e})}function He({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:r,processResponseEndOfBody:i,processResponseConsumeBody:a,useParallelQueue:o=!1,dispatcher:s=Ae()}){fe(s);let c=null,l=!1;e.client!=null&&(c=e.client.globalObject,l=e.client.crossOriginIsolatedCapability);let u=x({startTime:E(l)}),d={controller:new Ie(s),request:e,timingInfo:u,processRequestBodyChunkLength:t,processRequestEndOfBody:n,processResponse:r,processResponseConsumeBody:a,processResponseEndOfBody:i,taskDestination:c,crossOriginIsolatedCapability:l};return fe(!e.body||e.body.stream),e.window===`client`&&(e.window=e.client?.globalObject?.constructor?.name===`Window`?e.client:`no-window`),e.origin===`client`&&(e.origin=e.client.origin),e.policyContainer===`client`&&(e.client==null?e.policyContainer=f():e.policyContainer=p(e.client.policyContainer)),e.headersList.contains(`accept`,!0)||e.headersList.append(`accept`,`*/*`,!0),e.headersList.contains(`accept-language`,!0)||e.headersList.append(`accept-language`,`*`,!0),e.priority,ye.has(e.destination),Ue(d).catch(e=>{d.controller.terminate(e)}),d.controller}async function Ue(e,t=!1){let r=e.request,a=null;if(r.localURLsOnly&&!ne(v(r))&&(a=n(`local URLs only`)),b(r),m(r)===`blocked`&&(a=n(`bad port`)),r.referrerPolicy===``&&(r.referrerPolicy=r.policyContainer.referrerPolicy),r.referrer!==`no-referrer`&&(r.referrer=T(r)),a===null&&(a=await(async()=>{let t=v(r);return k(t,r.url)&&r.responseTainting===`basic`||t.protocol===`data:`||r.mode===`navigate`||r.mode===`websocket`?(r.responseTainting=`basic`,await We(e)):r.mode===`same-origin`?n(`request mode cannot be "same-origin"`):r.mode===`no-cors`?r.redirect===`follow`?(r.responseTainting=`opaque`,await We(e)):n(`redirect mode cannot be "follow" for "no-cors" request`):re(v(r))?(r.responseTainting=`cors`,await qe(e)):n(`URL scheme must be a HTTP(S) scheme`)})()),t)return a;a.status!==0&&!a.internalResponse&&(r.responseTainting,r.responseTainting===`basic`?a=i(a,`basic`):r.responseTainting===`cors`?a=i(a,`cors`):r.responseTainting===`opaque`?a=i(a,`opaque`):fe(!1));let o=a.status===0?a:a.internalResponse;if(o.urlList.length===0&&o.urlList.push(...r.urlList),r.timingAllowFailed||(a.timingAllowPassed=!0),a.type===`opaque`&&o.status===206&&o.rangeRequested&&!r.headers.contains(`range`,!0)&&(a=o=n()),a.status!==0&&(r.method===`HEAD`||r.method===`CONNECT`||ge.includes(o.status))&&(o.body=null,e.controller.dump=!0),r.integrity){let t=t=>Ke(e,n(t));if(r.responseTainting===`opaque`||a.body==null){t(a.error);return}await ee(a.body,n=>{if(!d(n,r.integrity)){t(`integrity mismatch`);return}a.body=pe(n)[0],Ke(e,a)},t)}else Ke(e,a)}function We(e){if(A(e)&&e.request.redirectCount===0)return Promise.resolve(r(e));let{request:t}=e,{protocol:i}=v(t);switch(i){case`about:`:return Promise.resolve(n(`about scheme is not supported`));case`blob:`:{Fe||=F(`node:buffer`).resolveObjectURL;let e=v(t);if(e.search.length!==0)return Promise.resolve(n(`NetworkError when attempting to fetch resource.`));let r=Fe(e.toString());if(t.method!==`GET`||!O(r))return Promise.resolve(n(`invalid method`));let i=a(),o=r.size,s=te(`${o}`),c=r.type;if(t.headersList.contains(`range`,!0)){i.rangeRequested=!0;let e=oe(t.headersList.get(`range`,!0),!0);if(e===`failure`)return Promise.resolve(n(`failed to fetch the data URL`));let{rangeStartValue:a,rangeEndValue:s}=e;if(a===null)a=o-s,s=a+s-1;else{if(a>=o)return Promise.resolve(n(`Range start is greater than the blob's size.`));(s===null||s>=o)&&(s=o-1)}let l=r.slice(a,s,c);i.body=me(l)[0];let u=te(`${l.size}`),d=se(a,s,o);i.status=206,i.statusText=`Partial Content`,i.headersList.set(`content-length`,u,!0),i.headersList.set(`content-type`,c,!0),i.headersList.set(`content-range`,d,!0)}else{let e=me(r);i.statusText=`OK`,i.body=e[0],i.headersList.set(`content-length`,s,!0),i.headersList.set(`content-type`,c,!0)}return Promise.resolve(i)}case`data:`:{let e=P(v(t));if(e===`failure`)return Promise.resolve(n(`failed to fetch the data URL`));let r=Oe(e.mimeType);return Promise.resolve(a({statusText:`OK`,headersList:[[`content-type`,{name:`Content-Type`,value:r}]],body:pe(e.body)[0]}))}case`file:`:return Promise.resolve(n(`not implemented... yet...`));case`http:`:case`https:`:return qe(e).catch(e=>n(e));default:return Promise.resolve(n(`unknown scheme`))}}function Ge(e,t){e.request.done=!0,e.processResponseDone!=null&&queueMicrotask(()=>e.processResponseDone(t))}function Ke(e,t){let n=e.timingInfo,r=()=>{let r=Date.now();e.request.destination===`document`&&(e.controller.fullTimingInfo=n),e.controller.reportTimingSteps=()=>{if(e.request.url.protocol!==`https:`)return;n.endTime=r;let i=t.cacheState,a=t.bodyInfo;t.timingAllowPassed||(n=x(n),i=``);let o=0;if(e.request.mode!==`navigator`||!t.hasCrossOriginRedirects){o=t.status;let e=le(t.headersList);e!==`failure`&&(a.contentType=ke(e))}e.request.initiatorType!=null&&Be(n,e.request.url.href,e.request.initiatorType,globalThis,i,a,o)};let i=()=>{e.request.done=!0,e.processResponseEndOfBody!=null&&queueMicrotask(()=>e.processResponseEndOfBody(t)),e.request.initiatorType!=null&&e.controller.reportTimingSteps()};queueMicrotask(()=>i())};e.processResponse!=null&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let i=t.type===`error`?t:t.internalResponse??t;i.body==null?r():Ce(i.body.stream,()=>{r()})}async function qe(e){let t=e.request,r=null,i=null,a=e.timingInfo;if(t.serviceWorkers,r===null){if(t.redirect===`follow`&&(t.serviceWorkers=`none`),i=r=await Ye(e),t.responseTainting===`cors`&&C(t,r)===`failure`)return n(`cors failure`);h(t,r)===`failure`&&(t.timingAllowFailed=!0)}return(t.responseTainting===`opaque`||r.type===`opaque`)&&w(t.origin,t.client,t.destination,i)===`blocked`?n(`blocked`):(he.has(i.status)&&(t.redirect!==`manual`&&e.controller.connection.destroy(void 0,!1),t.redirect===`error`?r=n(`unexpected redirect`):t.redirect===`manual`?r=i:t.redirect===`follow`?r=await Je(e,r):fe(!1)),r.timingInfo=a,r)}function Je(e,t){let r=e.request,i=t.internalResponse?t.internalResponse:t,a;try{if(a=_(i,v(r).hash),a==null)return t}catch(e){return Promise.resolve(n(e))}if(!re(a))return Promise.resolve(n(`URL scheme must be a HTTP(S) scheme`));if(r.redirectCount===20)return Promise.resolve(n(`redirect count exceeded`));if(r.redirectCount+=1,r.mode===`cors`&&(a.username||a.password)&&!k(r,a))return Promise.resolve(n(`cross origin not allowed for request mode "cors"`));if(r.responseTainting===`cors`&&(a.username||a.password))return Promise.resolve(n(`URL cannot contain credentials for request mode "cors"`));if(i.status!==303&&r.body!=null&&r.body.source==null)return Promise.resolve(n());if([301,302].includes(i.status)&&r.method===`POST`||i.status===303&&!Ne.includes(r.method)){r.method=`GET`,r.body=null;for(let e of ve)r.headersList.delete(e)}k(v(r),a)||(r.headersList.delete(`authorization`,!0),r.headersList.delete(`proxy-authorization`,!0),r.headersList.delete(`cookie`,!0),r.headersList.delete(`host`,!0)),r.body!=null&&(fe(r.body.source!=null),r.body=pe(r.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=E(e.crossOriginIsolatedCapability),o.redirectStartTime===0&&(o.redirectStartTime=o.startTime),r.urlList.push(a),y(r,i),Ue(e,!0)}async function Ye(e,t=!1,i=!1){let a=e.request,o=null,s=null,c=null;a.window===`no-window`&&a.redirect===`error`?(o=e,s=a):(s=l(a),o={...e},o.request=s);let u=a.credentials===`include`||a.credentials===`same-origin`&&a.responseTainting===`basic`,d=s.body?s.body.length:null,f=null;if(s.body==null&&[`POST`,`PUT`].includes(s.method)&&(f=`0`),d!=null&&(f=te(`${d}`)),f!=null&&s.headersList.append(`content-length`,f,!0),d!=null&&s.keepalive,s.referrer instanceof URL&&s.headersList.append(`referer`,te(s.referrer.href),!0),g(s),S(s),s.headersList.contains(`user-agent`,!0)||s.headersList.append(`user-agent`,Pe),s.cache===`default`&&(s.headersList.contains(`if-modified-since`,!0)||s.headersList.contains(`if-none-match`,!0)||s.headersList.contains(`if-unmodified-since`,!0)||s.headersList.contains(`if-match`,!0)||s.headersList.contains(`if-range`,!0))&&(s.cache=`no-store`),s.cache===`no-cache`&&!s.preventNoCacheCacheControlHeaderModification&&!s.headersList.contains(`cache-control`,!0)&&s.headersList.append(`cache-control`,`max-age=0`,!0),(s.cache===`no-store`||s.cache===`reload`)&&(s.headersList.contains(`pragma`,!0)||s.headersList.append(`pragma`,`no-cache`,!0),s.headersList.contains(`cache-control`,!0)||s.headersList.append(`cache-control`,`no-cache`,!0)),s.headersList.contains(`range`,!0)&&s.headersList.append(`accept-encoding`,`identity`,!0),s.headersList.contains(`accept-encoding`,!0)||(ie(v(s))?s.headersList.append(`accept-encoding`,`br, gzip, deflate`,!0):s.headersList.append(`accept-encoding`,`gzip, deflate`,!0)),s.headersList.delete(`host`,!0),s.cache=`no-store`,s.cache!==`no-store`&&s.cache,c==null){if(s.cache===`only-if-cached`)return n(`only if cached`);let e=await Xe(o,u,i);!_e.has(s.method)&&e.status>=200&&e.status,c??=e}if(c.urlList=[...s.urlList],s.headersList.contains(`range`,!0)&&(c.rangeRequested=!0),c.requestIncludesCredentials=u,c.status===407)return a.window===`no-window`?n():A(e)?r(e):n(`proxy authentication required`);if(c.status===421&&!i&&(a.body==null||a.body.source!=null)){if(A(e))return r(e);e.controller.connection.destroy(),c=await Ye(e,t,!0)}return c}async function Xe(e,t=!1,i=!1){fe(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){this.destroyed||(this.destroyed=!0,t&&this.abort?.(e??new DOMException(`The operation was aborted.`,`AbortError`)))}};let o=e.request,c=null,l=e.timingInfo;o.cache=`no-store`,o.mode;let d=null;if(o.body==null&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(o.body!=null){let t=async function*(t){A(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))},n=()=>{A(e)||e.processRequestEndOfBody&&e.processRequestEndOfBody()},r=t=>{A(e)||(t.name===`AbortError`?e.controller.abort():e.controller.terminate(t))};d=(async function*(){try{for await(let e of o.body.stream)yield*t(e);n()}catch(e){r(e)}})()}try{let{body:t,status:n,statusText:r,headersList:i,socket:o}=await g({body:d});if(o)c=a({status:n,statusText:r,headersList:i,socket:o});else{let o=t[Symbol.asyncIterator]();e.controller.next=()=>o.next(),c=a({status:n,statusText:r,headersList:i})}}catch(t){return t.name===`AbortError`?(e.controller.connection.destroy(),r(e,t)):n(t)}let f=async()=>{await e.controller.resume()},p=t=>{A(e)||e.controller.abort(t)},m=new ReadableStream({async start(t){e.controller.controller=t},async pull(e){await f(e)},async cancel(e){await p(e)},type:`bytes`});c.body={stream:m,source:null,length:null},e.controller.onAborted=h,e.controller.on(`terminated`,h),e.controller.resume=async()=>{for(;;){let t,n;try{let{done:n,value:r}=await e.controller.next();if(j(e))break;t=n?void 0:r}catch(r){e.controller.ended&&!l.encodedBodySize?t=void 0:(t=r,n=!0)}if(t===void 0){N(e.controller.controller),Ge(e,c);return}if(l.decodedBodySize+=t?.byteLength??0,n){e.controller.terminate(t);return}let r=new Uint8Array(t);if(r.byteLength&&e.controller.controller.enqueue(r),Te(m)){e.controller.terminate();return}if(e.controller.controller.desiredSize<=0)return}};function h(t){j(e)?(c.aborted=!0,Ee(m)&&e.controller.controller.error(e.controller.serializedAbortReason)):Ee(m)&&e.controller.controller.error(TypeError(`terminated`,{cause:M(t)?t:void 0})),e.controller.connection.destroy()}return c;function g({body:t}){let n=v(o),r=e.controller.dispatcher;return new Promise((i,a)=>r.dispatch({path:n.pathname+n.search,origin:n.origin,method:o.method,body:r.isMockActive?o.body&&(o.body.source||o.body.stream):t,headers:o.headersList.entries,maxRedirections:0,upgrade:o.mode===`websocket`?`websocket`:void 0},{body:null,abort:null,onConnect(t){let{connection:n}=e.controller;l.finalConnectionTimingInfo=ae(void 0,l.postRedirectStartTime,e.crossOriginIsolatedCapability),n.destroyed?t(new DOMException(`The operation was aborted.`,`AbortError`)):(e.controller.on(`terminated`,t),this.abort=n.abort=t),l.finalNetworkRequestStartTime=E(e.crossOriginIsolatedCapability)},onResponseStarted(){l.finalNetworkResponseStartTime=E(e.crossOriginIsolatedCapability)},onHeaders(e,t,n,r){if(e<200)return;let c=``,l=new s;for(let e=0;e5)return a(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`)),!0;for(let e=t.length-1;e>=0;--e){let n=t[e].trim();if(n===`x-gzip`||n===`gzip`)d.push(u.createGunzip({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}));else if(n===`deflate`)d.push(ce({flush:u.constants.Z_SYNC_FLUSH,finishFlush:u.constants.Z_SYNC_FLUSH}));else if(n===`br`)d.push(u.createBrotliDecompress({flush:u.constants.BROTLI_OPERATION_FLUSH,finishFlush:u.constants.BROTLI_OPERATION_FLUSH}));else{d.length=0;break}}}let p=this.onError.bind(this);return i({status:e,statusText:r,headersList:l,body:d.length?Se(this.body,...d,e=>{e&&this.onError(e)}).on(`error`,p):this.body.on(`error`,p)}),!0},onData(t){if(e.controller.dump)return;let n=t;return l.encodedBodySize+=n.byteLength,this.body.push(n)},onComplete(){this.abort&&e.controller.off(`terminated`,this.abort),e.controller.onAborted&&e.controller.off(`terminated`,e.controller.onAborted),e.controller.ended=!0,this.body.push(null)},onError(t){this.abort&&e.controller.off(`terminated`,this.abort),this.body?.destroy(t),e.controller.terminate(t),a(t)},onUpgrade(e,t,n){if(e!==101)return;let r=new s;for(let e=0;e{t.exports={kState:Symbol(`FileReader state`),kResult:Symbol(`FileReader result`),kError:Symbol(`FileReader error`),kLastProgressEventFired:Symbol(`FileReader last progress event fired timestamp`),kEvents:Symbol(`FileReader events`),kAborted:Symbol(`FileReader aborted`)}})),cn=P(((e,t)=>{let{webidl:n}=lt(),r=Symbol(`ProgressEvent state`);var i=class e extends Event{constructor(e,t={}){e=n.converters.DOMString(e,`ProgressEvent constructor`,`type`),t=n.converters.ProgressEventInit(t??{}),super(e,t),this[r]={lengthComputable:t.lengthComputable,loaded:t.loaded,total:t.total}}get lengthComputable(){return n.brandCheck(this,e),this[r].lengthComputable}get loaded(){return n.brandCheck(this,e),this[r].loaded}get total(){return n.brandCheck(this,e),this[r].total}};n.converters.ProgressEventInit=n.dictionaryConverter([{key:`lengthComputable`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`loaded`,converter:n.converters[`unsigned long long`],defaultValue:()=>0},{key:`total`,converter:n.converters[`unsigned long long`],defaultValue:()=>0},{key:`bubbles`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`cancelable`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`composed`,converter:n.converters.boolean,defaultValue:()=>!1}]),t.exports={ProgressEvent:i}})),ln=P(((e,t)=>{function n(e){if(!e)return`failure`;switch(e.trim().toLowerCase()){case`unicode-1-1-utf-8`:case`unicode11utf8`:case`unicode20utf8`:case`utf-8`:case`utf8`:case`x-unicode20utf8`:return`UTF-8`;case`866`:case`cp866`:case`csibm866`:case`ibm866`:return`IBM866`;case`csisolatin2`:case`iso-8859-2`:case`iso-ir-101`:case`iso8859-2`:case`iso88592`:case`iso_8859-2`:case`iso_8859-2:1987`:case`l2`:case`latin2`:return`ISO-8859-2`;case`csisolatin3`:case`iso-8859-3`:case`iso-ir-109`:case`iso8859-3`:case`iso88593`:case`iso_8859-3`:case`iso_8859-3:1988`:case`l3`:case`latin3`:return`ISO-8859-3`;case`csisolatin4`:case`iso-8859-4`:case`iso-ir-110`:case`iso8859-4`:case`iso88594`:case`iso_8859-4`:case`iso_8859-4:1988`:case`l4`:case`latin4`:return`ISO-8859-4`;case`csisolatincyrillic`:case`cyrillic`:case`iso-8859-5`:case`iso-ir-144`:case`iso8859-5`:case`iso88595`:case`iso_8859-5`:case`iso_8859-5:1988`:return`ISO-8859-5`;case`arabic`:case`asmo-708`:case`csiso88596e`:case`csiso88596i`:case`csisolatinarabic`:case`ecma-114`:case`iso-8859-6`:case`iso-8859-6-e`:case`iso-8859-6-i`:case`iso-ir-127`:case`iso8859-6`:case`iso88596`:case`iso_8859-6`:case`iso_8859-6:1987`:return`ISO-8859-6`;case`csisolatingreek`:case`ecma-118`:case`elot_928`:case`greek`:case`greek8`:case`iso-8859-7`:case`iso-ir-126`:case`iso8859-7`:case`iso88597`:case`iso_8859-7`:case`iso_8859-7:1987`:case`sun_eu_greek`:return`ISO-8859-7`;case`csiso88598e`:case`csisolatinhebrew`:case`hebrew`:case`iso-8859-8`:case`iso-8859-8-e`:case`iso-ir-138`:case`iso8859-8`:case`iso88598`:case`iso_8859-8`:case`iso_8859-8:1988`:case`visual`:return`ISO-8859-8`;case`csiso88598i`:case`iso-8859-8-i`:case`logical`:return`ISO-8859-8-I`;case`csisolatin6`:case`iso-8859-10`:case`iso-ir-157`:case`iso8859-10`:case`iso885910`:case`l6`:case`latin6`:return`ISO-8859-10`;case`iso-8859-13`:case`iso8859-13`:case`iso885913`:return`ISO-8859-13`;case`iso-8859-14`:case`iso8859-14`:case`iso885914`:return`ISO-8859-14`;case`csisolatin9`:case`iso-8859-15`:case`iso8859-15`:case`iso885915`:case`iso_8859-15`:case`l9`:return`ISO-8859-15`;case`iso-8859-16`:return`ISO-8859-16`;case`cskoi8r`:case`koi`:case`koi8`:case`koi8-r`:case`koi8_r`:return`KOI8-R`;case`koi8-ru`:case`koi8-u`:return`KOI8-U`;case`csmacintosh`:case`mac`:case`macintosh`:case`x-mac-roman`:return`macintosh`;case`iso-8859-11`:case`iso8859-11`:case`iso885911`:case`tis-620`:case`windows-874`:return`windows-874`;case`cp1250`:case`windows-1250`:case`x-cp1250`:return`windows-1250`;case`cp1251`:case`windows-1251`:case`x-cp1251`:return`windows-1251`;case`ansi_x3.4-1968`:case`ascii`:case`cp1252`:case`cp819`:case`csisolatin1`:case`ibm819`:case`iso-8859-1`:case`iso-ir-100`:case`iso8859-1`:case`iso88591`:case`iso_8859-1`:case`iso_8859-1:1987`:case`l1`:case`latin1`:case`us-ascii`:case`windows-1252`:case`x-cp1252`:return`windows-1252`;case`cp1253`:case`windows-1253`:case`x-cp1253`:return`windows-1253`;case`cp1254`:case`csisolatin5`:case`iso-8859-9`:case`iso-ir-148`:case`iso8859-9`:case`iso88599`:case`iso_8859-9`:case`iso_8859-9:1989`:case`l5`:case`latin5`:case`windows-1254`:case`x-cp1254`:return`windows-1254`;case`cp1255`:case`windows-1255`:case`x-cp1255`:return`windows-1255`;case`cp1256`:case`windows-1256`:case`x-cp1256`:return`windows-1256`;case`cp1257`:case`windows-1257`:case`x-cp1257`:return`windows-1257`;case`cp1258`:case`windows-1258`:case`x-cp1258`:return`windows-1258`;case`x-mac-cyrillic`:case`x-mac-ukrainian`:return`x-mac-cyrillic`;case`chinese`:case`csgb2312`:case`csiso58gb231280`:case`gb2312`:case`gb_2312`:case`gb_2312-80`:case`gbk`:case`iso-ir-58`:case`x-gbk`:return`GBK`;case`gb18030`:return`gb18030`;case`big5`:case`big5-hkscs`:case`cn-big5`:case`csbig5`:case`x-x-big5`:return`Big5`;case`cseucpkdfmtjapanese`:case`euc-jp`:case`x-euc-jp`:return`EUC-JP`;case`csiso2022jp`:case`iso-2022-jp`:return`ISO-2022-JP`;case`csshiftjis`:case`ms932`:case`ms_kanji`:case`shift-jis`:case`shift_jis`:case`sjis`:case`windows-31j`:case`x-sjis`:return`Shift_JIS`;case`cseuckr`:case`csksc56011987`:case`euc-kr`:case`iso-ir-149`:case`korean`:case`ks_c_5601-1987`:case`ks_c_5601-1989`:case`ksc5601`:case`ksc_5601`:case`windows-949`:return`EUC-KR`;case`csiso2022kr`:case`hz-gb-2312`:case`iso-2022-cn`:case`iso-2022-cn-ext`:case`iso-2022-kr`:case`replacement`:return`replacement`;case`unicodefffe`:case`utf-16be`:return`UTF-16BE`;case`csunicode`:case`iso-10646-ucs-2`:case`ucs-2`:case`unicode`:case`unicodefeff`:case`utf-16`:case`utf-16le`:return`UTF-16LE`;case`x-user-defined`:return`x-user-defined`;default:return`failure`}}t.exports={getEncoding:n}})),un=P(((e,t)=>{let{kState:n,kError:r,kResult:i,kAborted:a,kLastProgressEventFired:o}=sn(),{ProgressEvent:s}=cn(),{getEncoding:c}=ln(),{serializeAMimeType:l,parseMIMEType:u}=ct(),{types:d}=F(`node:util`),{StringDecoder:f}=F(`string_decoder`),{btoa:p}=F(`node:buffer`),m={enumerable:!0,writable:!1,configurable:!1};function h(e,t,s,c){if(e[n]===`loading`)throw new DOMException(`Invalid state`,`InvalidStateError`);e[n]=`loading`,e[i]=null,e[r]=null;let l=t.stream().getReader(),u=[],f=l.read(),p=!0;(async()=>{for(;!e[a];)try{let{done:m,value:h}=await f;if(p&&!e[a]&&queueMicrotask(()=>{g(`loadstart`,e)}),p=!1,!m&&d.isUint8Array(h))u.push(h),(e[o]===void 0||Date.now()-e[o]>=50)&&!e[a]&&(e[o]=Date.now(),queueMicrotask(()=>{g(`progress`,e)})),f=l.read();else if(m){queueMicrotask(()=>{e[n]=`done`;try{let n=_(u,s,t.type,c);if(e[a])return;e[i]=n,g(`load`,e)}catch(t){e[r]=t,g(`error`,e)}e[n]!==`loading`&&g(`loadend`,e)});break}}catch(t){if(e[a])return;queueMicrotask(()=>{e[n]=`done`,e[r]=t,g(`error`,e),e[n]!==`loading`&&g(`loadend`,e)});break}})()}function g(e,t){let n=new s(e,{bubbles:!1,cancelable:!1});t.dispatchEvent(n)}function _(e,t,n,r){switch(t){case`DataURL`:{let t=`data:`,r=u(n||`application/octet-stream`);r!==`failure`&&(t+=l(r)),t+=`;base64,`;let i=new f(`latin1`);for(let n of e)t+=p(i.write(n));return t+=p(i.end()),t}case`Text`:{let t=`failure`;if(r&&(t=c(r)),t===`failure`&&n){let e=u(n);e!==`failure`&&(t=c(e.parameters.get(`charset`)))}return t===`failure`&&(t=`UTF-8`),v(e,t)}case`ArrayBuffer`:return b(e).buffer;case`BinaryString`:{let t=``,n=new f(`latin1`);for(let r of e)t+=n.write(r);return t+=n.end(),t}}}function v(e,t){let n=b(e),r=y(n),i=0;r!==null&&(t=r,i=r===`UTF-8`?3:2);let a=n.slice(i);return new TextDecoder(t).decode(a)}function y(e){let[t,n,r]=e;return t===239&&n===187&&r===191?`UTF-8`:t===254&&n===255?`UTF-16BE`:t===255&&n===254?`UTF-16LE`:null}function b(e){let t=e.reduce((e,t)=>e+t.byteLength,0),n=0;return e.reduce((e,t)=>(e.set(t,n),n+=t.byteLength,e),new Uint8Array(t))}t.exports={staticPropertyDescriptors:m,readOperation:h,fireAProgressEvent:g}})),dn=P(((e,t)=>{let{staticPropertyDescriptors:n,readOperation:r,fireAProgressEvent:i}=un(),{kState:a,kError:o,kResult:s,kEvents:c,kAborted:l}=sn(),{webidl:u}=lt(),{kEnumerableProperty:d}=I();var f=class e extends EventTarget{constructor(){super(),this[a]=`empty`,this[s]=null,this[o]=null,this[c]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(t){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsArrayBuffer`),t=u.converters.Blob(t,{strict:!1}),r(this,t,`ArrayBuffer`)}readAsBinaryString(t){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsBinaryString`),t=u.converters.Blob(t,{strict:!1}),r(this,t,`BinaryString`)}readAsText(t,n=void 0){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsText`),t=u.converters.Blob(t,{strict:!1}),n!==void 0&&(n=u.converters.DOMString(n,`FileReader.readAsText`,`encoding`)),r(this,t,`Text`,n)}readAsDataURL(t){u.brandCheck(this,e),u.argumentLengthCheck(arguments,1,`FileReader.readAsDataURL`),t=u.converters.Blob(t,{strict:!1}),r(this,t,`DataURL`)}abort(){if(this[a]===`empty`||this[a]===`done`){this[s]=null;return}this[a]===`loading`&&(this[a]=`done`,this[s]=null),this[l]=!0,i(`abort`,this),this[a]!==`loading`&&i(`loadend`,this)}get readyState(){switch(u.brandCheck(this,e),this[a]){case`empty`:return this.EMPTY;case`loading`:return this.LOADING;case`done`:return this.DONE}}get result(){return u.brandCheck(this,e),this[s]}get error(){return u.brandCheck(this,e),this[o]}get onloadend(){return u.brandCheck(this,e),this[c].loadend}set onloadend(t){u.brandCheck(this,e),this[c].loadend&&this.removeEventListener(`loadend`,this[c].loadend),typeof t==`function`?(this[c].loadend=t,this.addEventListener(`loadend`,t)):this[c].loadend=null}get onerror(){return u.brandCheck(this,e),this[c].error}set onerror(t){u.brandCheck(this,e),this[c].error&&this.removeEventListener(`error`,this[c].error),typeof t==`function`?(this[c].error=t,this.addEventListener(`error`,t)):this[c].error=null}get onloadstart(){return u.brandCheck(this,e),this[c].loadstart}set onloadstart(t){u.brandCheck(this,e),this[c].loadstart&&this.removeEventListener(`loadstart`,this[c].loadstart),typeof t==`function`?(this[c].loadstart=t,this.addEventListener(`loadstart`,t)):this[c].loadstart=null}get onprogress(){return u.brandCheck(this,e),this[c].progress}set onprogress(t){u.brandCheck(this,e),this[c].progress&&this.removeEventListener(`progress`,this[c].progress),typeof t==`function`?(this[c].progress=t,this.addEventListener(`progress`,t)):this[c].progress=null}get onload(){return u.brandCheck(this,e),this[c].load}set onload(t){u.brandCheck(this,e),this[c].load&&this.removeEventListener(`load`,this[c].load),typeof t==`function`?(this[c].load=t,this.addEventListener(`load`,t)):this[c].load=null}get onabort(){return u.brandCheck(this,e),this[c].abort}set onabort(t){u.brandCheck(this,e),this[c].abort&&this.removeEventListener(`abort`,this[c].abort),typeof t==`function`?(this[c].abort=t,this.addEventListener(`abort`,t)):this[c].abort=null}};f.EMPTY=f.prototype.EMPTY=0,f.LOADING=f.prototype.LOADING=1,f.DONE=f.prototype.DONE=2,Object.defineProperties(f.prototype,{EMPTY:n,LOADING:n,DONE:n,readAsArrayBuffer:d,readAsBinaryString:d,readAsText:d,readAsDataURL:d,abort:d,readyState:d,result:d,error:d,onloadstart:d,onprogress:d,onload:d,onabort:d,onerror:d,onloadend:d,[Symbol.toStringTag]:{value:`FileReader`,writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(f,{EMPTY:n,LOADING:n,DONE:n}),t.exports={FileReader:f}})),fn=P(((e,t)=>{t.exports={kConstruct:Ke().kConstruct}})),pn=P(((e,t)=>{let n=F(`node:assert`),{URLSerializer:r}=ct(),{isValidHeaderName:i}=ut();function a(e,t,n=!1){return r(e,n)===r(t,n)}function o(e){n(e!==null);let t=[];for(let n of e.split(`,`))n=n.trim(),i(n)&&t.push(n);return t}t.exports={urlEquals:a,getFieldValues:o}})),mn=P(((e,t)=>{let{kConstruct:n}=fn(),{urlEquals:r,getFieldValues:i}=pn(),{kEnumerableProperty:a,isDisturbed:o}=I(),{webidl:s}=lt(),{Response:c,cloneResponse:l,fromInnerResponse:u}=nn(),{Request:d,fromInnerRequest:f}=an(),{kState:p}=dt(),{fetching:m}=on(),{urlIsHttpHttpsScheme:h,createDeferredPromise:g,readAllBytes:_}=ut(),v=F(`node:assert`);var y=class e{#e;constructor(){arguments[0]!==n&&s.illegalConstructor(),s.util.markAsUncloneable(this),this.#e=arguments[1]}async match(t,n={}){s.brandCheck(this,e);let r=`Cache.match`;s.argumentLengthCheck(arguments,1,r),t=s.converters.RequestInfo(t,r,`request`),n=s.converters.CacheQueryOptions(n,r,`options`);let i=this.#i(t,n,1);if(i.length!==0)return i[0]}async matchAll(t=void 0,n={}){s.brandCheck(this,e);let r=`Cache.matchAll`;return t!==void 0&&(t=s.converters.RequestInfo(t,r,`request`)),n=s.converters.CacheQueryOptions(n,r,`options`),this.#i(t,n)}async add(t){s.brandCheck(this,e);let n=`Cache.add`;s.argumentLengthCheck(arguments,1,n),t=s.converters.RequestInfo(t,n,`request`);let r=[t];return await this.addAll(r)}async addAll(t){s.brandCheck(this,e);let n=`Cache.addAll`;s.argumentLengthCheck(arguments,1,n);let r=[],a=[];for(let e of t){if(e===void 0)throw s.errors.conversionFailed({prefix:n,argument:`Argument 1`,types:[`undefined is not allowed`]});if(e=s.converters.RequestInfo(e),typeof e==`string`)continue;let t=e[p];if(!h(t.url)||t.method!==`GET`)throw s.errors.exception({header:n,message:`Expected http/s scheme when method is not GET.`})}let o=[];for(let e of t){let t=new d(e)[p];if(!h(t.url))throw s.errors.exception({header:n,message:`Expected http/s scheme.`});t.initiator=`fetch`,t.destination=`subresource`,a.push(t);let c=g();o.push(m({request:t,processResponse(e){if(e.type===`error`||e.status===206||e.status<200||e.status>299)c.reject(s.errors.exception({header:`Cache.addAll`,message:`Received an invalid status code or the request failed.`}));else if(e.headersList.contains(`vary`)){let t=i(e.headersList.get(`vary`));for(let e of t)if(e===`*`){c.reject(s.errors.exception({header:`Cache.addAll`,message:`invalid vary field value`}));for(let e of o)e.abort();return}}},processResponseEndOfBody(e){if(e.aborted){c.reject(new DOMException(`aborted`,`AbortError`));return}c.resolve(e)}})),r.push(c.promise)}let c=await Promise.all(r),l=[],u=0;for(let e of c){let t={type:`put`,request:a[u],response:e};l.push(t),u++}let f=g(),_=null;try{this.#t(l)}catch(e){_=e}return queueMicrotask(()=>{_===null?f.resolve(void 0):f.reject(_)}),f.promise}async put(t,n){s.brandCheck(this,e);let r=`Cache.put`;s.argumentLengthCheck(arguments,2,r),t=s.converters.RequestInfo(t,r,`request`),n=s.converters.Response(n,r,`response`);let a=null;if(a=t instanceof d?t[p]:new d(t)[p],!h(a.url)||a.method!==`GET`)throw s.errors.exception({header:r,message:`Expected an http/s scheme when method is not GET`});let c=n[p];if(c.status===206)throw s.errors.exception({header:r,message:`Got 206 status`});if(c.headersList.contains(`vary`)){let e=i(c.headersList.get(`vary`));for(let t of e)if(t===`*`)throw s.errors.exception({header:r,message:`Got * vary field value`})}if(c.body&&(o(c.body.stream)||c.body.stream.locked))throw s.errors.exception({header:r,message:`Response body is locked or disturbed`});let u=l(c),f=g();c.body==null?f.resolve(void 0):_(c.body.stream.getReader()).then(f.resolve,f.reject);let m=[],v={type:`put`,request:a,response:u};m.push(v);let y=await f.promise;u.body!=null&&(u.body.source=y);let b=g(),x=null;try{this.#t(m)}catch(e){x=e}return queueMicrotask(()=>{x===null?b.resolve():b.reject(x)}),b.promise}async delete(t,n={}){s.brandCheck(this,e);let r=`Cache.delete`;s.argumentLengthCheck(arguments,1,r),t=s.converters.RequestInfo(t,r,`request`),n=s.converters.CacheQueryOptions(n,r,`options`);let i=null;if(t instanceof d){if(i=t[p],i.method!==`GET`&&!n.ignoreMethod)return!1}else v(typeof t==`string`),i=new d(t)[p];let a=[],o={type:`delete`,request:i,options:n};a.push(o);let c=g(),l=null,u;try{u=this.#t(a)}catch(e){l=e}return queueMicrotask(()=>{l===null?c.resolve(!!u?.length):c.reject(l)}),c.promise}async keys(t=void 0,n={}){s.brandCheck(this,e);let r=`Cache.keys`;t!==void 0&&(t=s.converters.RequestInfo(t,r,`request`)),n=s.converters.CacheQueryOptions(n,r,`options`);let i=null;if(t!==void 0)if(t instanceof d){if(i=t[p],i.method!==`GET`&&!n.ignoreMethod)return[]}else typeof t==`string`&&(i=new d(t)[p]);let a=g(),o=[];if(t===void 0)for(let e of this.#e)o.push(e[0]);else{let e=this.#n(i,n);for(let t of e)o.push(t[0])}return queueMicrotask(()=>{let e=[];for(let t of o){let n=f(t,new AbortController().signal,`immutable`);e.push(n)}a.resolve(Object.freeze(e))}),a.promise}#t(e){let t=this.#e,n=[...t],r=[],i=[];try{for(let n of e){if(n.type!==`delete`&&n.type!==`put`)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`operation type does not match "delete" or "put"`});if(n.type===`delete`&&n.response!=null)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`delete operation should not have an associated response`});if(this.#n(n.request,n.options,r).length)throw new DOMException(`???`,`InvalidStateError`);let e;if(n.type===`delete`){if(e=this.#n(n.request,n.options),e.length===0)return[];for(let n of e){let e=t.indexOf(n);v(e!==-1),t.splice(e,1)}}else if(n.type===`put`){if(n.response==null)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`put operation should have an associated response`});let i=n.request;if(!h(i.url))throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`expected http or https scheme`});if(i.method!==`GET`)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`not get method`});if(n.options!=null)throw s.errors.exception({header:`Cache.#batchCacheOperations`,message:`options must not be defined`});e=this.#n(n.request);for(let n of e){let e=t.indexOf(n);v(e!==-1),t.splice(e,1)}t.push([n.request,n.response]),r.push([n.request,n.response])}i.push([n.request,n.response])}return i}catch(e){throw this.#e.length=0,this.#e=n,e}}#n(e,t,n){let r=[],i=n??this.#e;for(let n of i){let[i,a]=n;this.#r(e,i,a,t)&&r.push(n)}return r}#r(e,t,n=null,a){let o=new URL(e.url),s=new URL(t.url);if(a?.ignoreSearch&&(s.search=``,o.search=``),!r(o,s,!0))return!1;if(n==null||a?.ignoreVary||!n.headersList.contains(`vary`))return!0;let c=i(n.headersList.get(`vary`));for(let n of c)if(n===`*`||t.headersList.get(n)!==e.headersList.get(n))return!1;return!0}#i(e,t,n=1/0){let r=null;if(e!==void 0)if(e instanceof d){if(r=e[p],r.method!==`GET`&&!t.ignoreMethod)return[]}else typeof e==`string`&&(r=new d(e)[p]);let i=[];if(e===void 0)for(let e of this.#e)i.push(e[1]);else{let e=this.#n(r,t);for(let t of e)i.push(t[1])}let a=[];for(let e of i){let t=u(e,`immutable`);if(a.push(t.clone()),a.length>=n)break}return Object.freeze(a)}};Object.defineProperties(y.prototype,{[Symbol.toStringTag]:{value:`Cache`,configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let b=[{key:`ignoreSearch`,converter:s.converters.boolean,defaultValue:()=>!1},{key:`ignoreMethod`,converter:s.converters.boolean,defaultValue:()=>!1},{key:`ignoreVary`,converter:s.converters.boolean,defaultValue:()=>!1}];s.converters.CacheQueryOptions=s.dictionaryConverter(b),s.converters.MultiCacheQueryOptions=s.dictionaryConverter([...b,{key:`cacheName`,converter:s.converters.DOMString}]),s.converters.Response=s.interfaceConverter(c),s.converters[`sequence`]=s.sequenceConverter(s.converters.RequestInfo),t.exports={Cache:y}})),hn=P(((e,t)=>{let{kConstruct:n}=fn(),{Cache:r}=mn(),{webidl:i}=lt(),{kEnumerableProperty:a}=I();var o=class e{#e=new Map;constructor(){arguments[0]!==n&&i.illegalConstructor(),i.util.markAsUncloneable(this)}async match(t,a={}){if(i.brandCheck(this,e),i.argumentLengthCheck(arguments,1,`CacheStorage.match`),t=i.converters.RequestInfo(t),a=i.converters.MultiCacheQueryOptions(a),a.cacheName!=null){if(this.#e.has(a.cacheName))return await new r(n,this.#e.get(a.cacheName)).match(t,a)}else for(let e of this.#e.values()){let i=await new r(n,e).match(t,a);if(i!==void 0)return i}}async has(t){i.brandCheck(this,e);let n=`CacheStorage.has`;return i.argumentLengthCheck(arguments,1,n),t=i.converters.DOMString(t,n,`cacheName`),this.#e.has(t)}async open(t){i.brandCheck(this,e);let a=`CacheStorage.open`;if(i.argumentLengthCheck(arguments,1,a),t=i.converters.DOMString(t,a,`cacheName`),this.#e.has(t))return new r(n,this.#e.get(t));let o=[];return this.#e.set(t,o),new r(n,o)}async delete(t){i.brandCheck(this,e);let n=`CacheStorage.delete`;return i.argumentLengthCheck(arguments,1,n),t=i.converters.DOMString(t,n,`cacheName`),this.#e.delete(t)}async keys(){return i.brandCheck(this,e),[...this.#e.keys()]}};Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:`CacheStorage`,configurable:!0},match:a,has:a,open:a,delete:a,keys:a}),t.exports={CacheStorage:o}})),gn=P(((e,t)=>{t.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}})),_n=P(((e,t)=>{function n(e){for(let t=0;t=0&&n<=8||n>=10&&n<=31||n===127)return!0}return!1}function r(e){for(let t=0;t126||n===34||n===40||n===41||n===60||n===62||n===64||n===44||n===59||n===58||n===92||n===47||n===91||n===93||n===63||n===61||n===123||n===125)throw Error(`Invalid cookie name`)}}function i(e){let t=e.length,n=0;if(e[0]===`"`){if(t===1||e[t-1]!==`"`)throw Error(`Invalid cookie value`);--t,++n}for(;n126||t===34||t===44||t===59||t===92)throw Error(`Invalid cookie value`)}}function a(e){for(let t=0;tt.toString().padStart(2,`0`));function u(e){return typeof e==`number`&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${l[e.getUTCDate()]} ${c[e.getUTCMonth()]} ${e.getUTCFullYear()} ${l[e.getUTCHours()]}:${l[e.getUTCMinutes()]}:${l[e.getUTCSeconds()]} GMT`}function d(e){if(e<0)throw Error(`Invalid cookie max-age`)}function f(e){if(e.name.length===0)return null;r(e.name),i(e.value);let t=[`${e.name}=${e.value}`];e.name.startsWith(`__Secure-`)&&(e.secure=!0),e.name.startsWith(`__Host-`)&&(e.secure=!0,e.domain=null,e.path=`/`),e.secure&&t.push(`Secure`),e.httpOnly&&t.push(`HttpOnly`),typeof e.maxAge==`number`&&(d(e.maxAge),t.push(`Max-Age=${e.maxAge}`)),e.domain&&(o(e.domain),t.push(`Domain=${e.domain}`)),e.path&&(a(e.path),t.push(`Path=${e.path}`)),e.expires&&e.expires.toString()!==`Invalid Date`&&t.push(`Expires=${u(e.expires)}`),e.sameSite&&t.push(`SameSite=${e.sameSite}`);for(let n of e.unparsed){if(!n.includes(`=`))throw Error(`Invalid unparsed`);let[e,...r]=n.split(`=`);t.push(`${e.trim()}=${r.join(`=`)}`)}return t.join(`; `)}t.exports={isCTLExcludingHtab:n,validateCookieName:r,validateCookiePath:a,validateCookieValue:i,toIMFDate:u,stringify:f}})),vn=P(((e,t)=>{let{maxNameValuePairSize:n,maxAttributeValueSize:r}=gn(),{isCTLExcludingHtab:i}=_n(),{collectASequenceOfCodePointsFast:a}=ct(),o=F(`node:assert`);function s(e){if(i(e))return null;let t=``,r=``,o=``,s=``;if(e.includes(`;`)){let n={position:0};t=a(`;`,e,n),r=e.slice(n.position)}else t=e;if(!t.includes(`=`))s=t;else{let e={position:0};o=a(`=`,t,e),s=t.slice(e.position+1)}return o=o.trim(),s=s.trim(),o.length+s.length>n?null:{name:o,value:s,...c(r)}}function c(e,t={}){if(e.length===0)return t;o(e[0]===`;`),e=e.slice(1);let n=``;e.includes(`;`)?(n=a(`;`,e,{position:0}),e=e.slice(n.length)):(n=e,e=``);let i=``,s=``;if(n.includes(`=`)){let e={position:0};i=a(`=`,n,e),s=n.slice(e.position+1)}else i=n;if(i=i.trim(),s=s.trim(),s.length>r)return c(e,t);let l=i.toLowerCase();if(l===`expires`)t.expires=new Date(s);else if(l===`max-age`){let n=s.charCodeAt(0);if((n<48||n>57)&&s[0]!==`-`||!/^\d+$/.test(s))return c(e,t);t.maxAge=Number(s)}else if(l===`domain`){let e=s;e[0]===`.`&&(e=e.slice(1)),e=e.toLowerCase(),t.domain=e}else if(l===`path`){let e=``;e=s.length===0||s[0]!==`/`?`/`:s,t.path=e}else if(l===`secure`)t.secure=!0;else if(l===`httponly`)t.httpOnly=!0;else if(l===`samesite`){let e=`Default`,n=s.toLowerCase();n.includes(`none`)&&(e=`None`),n.includes(`strict`)&&(e=`Strict`),n.includes(`lax`)&&(e=`Lax`),t.sameSite=e}else t.unparsed??=[],t.unparsed.push(`${i}=${s}`);return c(e,t)}t.exports={parseSetCookie:s,parseUnparsedAttributes:c}})),yn=P(((e,t)=>{let{parseSetCookie:n}=vn(),{stringify:r}=_n(),{webidl:i}=lt(),{Headers:a}=tn();function o(e){i.argumentLengthCheck(arguments,1,`getCookies`),i.brandCheck(e,a,{strict:!1});let t=e.get(`cookie`),n={};if(!t)return n;for(let e of t.split(`;`)){let[t,...r]=e.split(`=`);n[t.trim()]=r.join(`=`)}return n}function s(e,t,n){i.brandCheck(e,a,{strict:!1});let r=`deleteCookie`;i.argumentLengthCheck(arguments,2,r),t=i.converters.DOMString(t,r,`name`),n=i.converters.DeleteCookieAttributes(n),l(e,{name:t,value:``,expires:new Date(0),...n})}function c(e){i.argumentLengthCheck(arguments,1,`getSetCookies`),i.brandCheck(e,a,{strict:!1});let t=e.getSetCookie();return t?t.map(e=>n(e)):[]}function l(e,t){i.argumentLengthCheck(arguments,2,`setCookie`),i.brandCheck(e,a,{strict:!1}),t=i.converters.Cookie(t);let n=r(t);n&&e.append(`Set-Cookie`,n)}i.converters.DeleteCookieAttributes=i.dictionaryConverter([{converter:i.nullableConverter(i.converters.DOMString),key:`path`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:`domain`,defaultValue:()=>null}]),i.converters.Cookie=i.dictionaryConverter([{converter:i.converters.DOMString,key:`name`},{converter:i.converters.DOMString,key:`value`},{converter:i.nullableConverter(e=>typeof e==`number`?i.converters[`unsigned long long`](e):new Date(e)),key:`expires`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters[`long long`]),key:`maxAge`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:`domain`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.DOMString),key:`path`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.boolean),key:`secure`,defaultValue:()=>null},{converter:i.nullableConverter(i.converters.boolean),key:`httpOnly`,defaultValue:()=>null},{converter:i.converters.USVString,key:`sameSite`,allowedValues:[`Strict`,`Lax`,`None`]},{converter:i.sequenceConverter(i.converters.DOMString),key:`unparsed`,defaultValue:()=>[]}]),t.exports={getCookies:o,deleteCookie:s,getSetCookies:c,setCookie:l}})),bn=P(((e,t)=>{let{webidl:n}=lt(),{kEnumerableProperty:r}=I(),{kConstruct:i}=Ke(),{MessagePort:a}=F(`node:worker_threads`);var o=class e extends Event{#e;constructor(e,t={}){if(e===i){super(arguments[1],arguments[2]),n.util.markAsUncloneable(this);return}let r=`MessageEvent constructor`;n.argumentLengthCheck(arguments,1,r),e=n.converters.DOMString(e,r,`type`),t=n.converters.MessageEventInit(t,r,`eventInitDict`),super(e,t),this.#e=t,n.util.markAsUncloneable(this)}get data(){return n.brandCheck(this,e),this.#e.data}get origin(){return n.brandCheck(this,e),this.#e.origin}get lastEventId(){return n.brandCheck(this,e),this.#e.lastEventId}get source(){return n.brandCheck(this,e),this.#e.source}get ports(){return n.brandCheck(this,e),Object.isFrozen(this.#e.ports)||Object.freeze(this.#e.ports),this.#e.ports}initMessageEvent(t,r=!1,i=!1,a=null,o=``,s=``,c=null,l=[]){return n.brandCheck(this,e),n.argumentLengthCheck(arguments,1,`MessageEvent.initMessageEvent`),new e(t,{bubbles:r,cancelable:i,data:a,origin:o,lastEventId:s,source:c,ports:l})}static createFastMessageEvent(t,n){let r=new e(i,t,n);return r.#e=n,r.#e.data??=null,r.#e.origin??=``,r.#e.lastEventId??=``,r.#e.source??=null,r.#e.ports??=[],r}};let{createFastMessageEvent:s}=o;delete o.createFastMessageEvent;var c=class e extends Event{#e;constructor(e,t={}){let r=`CloseEvent constructor`;n.argumentLengthCheck(arguments,1,r),e=n.converters.DOMString(e,r,`type`),t=n.converters.CloseEventInit(t),super(e,t),this.#e=t,n.util.markAsUncloneable(this)}get wasClean(){return n.brandCheck(this,e),this.#e.wasClean}get code(){return n.brandCheck(this,e),this.#e.code}get reason(){return n.brandCheck(this,e),this.#e.reason}},l=class e extends Event{#e;constructor(e,t){let r=`ErrorEvent constructor`;n.argumentLengthCheck(arguments,1,r),super(e,t),n.util.markAsUncloneable(this),e=n.converters.DOMString(e,r,`type`),t=n.converters.ErrorEventInit(t??{}),this.#e=t}get message(){return n.brandCheck(this,e),this.#e.message}get filename(){return n.brandCheck(this,e),this.#e.filename}get lineno(){return n.brandCheck(this,e),this.#e.lineno}get colno(){return n.brandCheck(this,e),this.#e.colno}get error(){return n.brandCheck(this,e),this.#e.error}};Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:`MessageEvent`,configurable:!0},data:r,origin:r,lastEventId:r,source:r,ports:r,initMessageEvent:r}),Object.defineProperties(c.prototype,{[Symbol.toStringTag]:{value:`CloseEvent`,configurable:!0},reason:r,code:r,wasClean:r}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:`ErrorEvent`,configurable:!0},message:r,filename:r,lineno:r,colno:r,error:r}),n.converters.MessagePort=n.interfaceConverter(a),n.converters[`sequence`]=n.sequenceConverter(n.converters.MessagePort);let u=[{key:`bubbles`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`cancelable`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`composed`,converter:n.converters.boolean,defaultValue:()=>!1}];n.converters.MessageEventInit=n.dictionaryConverter([...u,{key:`data`,converter:n.converters.any,defaultValue:()=>null},{key:`origin`,converter:n.converters.USVString,defaultValue:()=>``},{key:`lastEventId`,converter:n.converters.DOMString,defaultValue:()=>``},{key:`source`,converter:n.nullableConverter(n.converters.MessagePort),defaultValue:()=>null},{key:`ports`,converter:n.converters[`sequence`],defaultValue:()=>[]}]),n.converters.CloseEventInit=n.dictionaryConverter([...u,{key:`wasClean`,converter:n.converters.boolean,defaultValue:()=>!1},{key:`code`,converter:n.converters[`unsigned short`],defaultValue:()=>0},{key:`reason`,converter:n.converters.USVString,defaultValue:()=>``}]),n.converters.ErrorEventInit=n.dictionaryConverter([...u,{key:`message`,converter:n.converters.DOMString,defaultValue:()=>``},{key:`filename`,converter:n.converters.USVString,defaultValue:()=>``},{key:`lineno`,converter:n.converters[`unsigned long`],defaultValue:()=>0},{key:`colno`,converter:n.converters[`unsigned long`],defaultValue:()=>0},{key:`error`,converter:n.converters.any}]),t.exports={MessageEvent:o,CloseEvent:c,ErrorEvent:l,createFastMessageEvent:s}})),xn=P(((e,t)=>{t.exports={uid:`258EAFA5-E914-47DA-95CA-C5AB0DC85B11`,sentCloseFrameState:{NOT_SENT:0,PROCESSING:1,SENT:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:2**16-1,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{string:1,typedArray:2,arrayBuffer:3,blob:4}}})),Sn=P(((e,t)=>{t.exports={kWebSocketURL:Symbol(`url`),kReadyState:Symbol(`ready state`),kController:Symbol(`controller`),kResponse:Symbol(`response`),kBinaryType:Symbol(`binary type`),kSentClose:Symbol(`sent close`),kReceivedClose:Symbol(`received close`),kByteParser:Symbol(`byte parser`)}})),Cn=P(((e,t)=>{let{kReadyState:n,kController:r,kResponse:i,kBinaryType:a,kWebSocketURL:o}=Sn(),{states:s,opcodes:c}=xn(),{ErrorEvent:l,createFastMessageEvent:u}=bn(),{isUtf8:d}=F(`node:buffer`),{collectASequenceOfCodePointsFast:f,removeHTTPWhitespace:p}=ct();function m(e){return e[n]===s.CONNECTING}function h(e){return e[n]===s.OPEN}function g(e){return e[n]===s.CLOSING}function _(e){return e[n]===s.CLOSED}function v(e,t,n=(e,t)=>new Event(e,t),r={}){let i=n(e,r);t.dispatchEvent(i)}function y(e,t,r){if(e[n]!==s.OPEN)return;let i;if(t===c.TEXT)try{i=M(r)}catch{C(e,`Received invalid UTF-8 in text frame.`);return}else t===c.BINARY&&(i=e[a]===`blob`?new Blob([r]):b(r));v(`message`,e,u,{origin:e[o].origin,data:i})}function b(e){return e.byteLength===e.buffer.byteLength?e.buffer:e.buffer.slice(e.byteOffset,e.byteOffset+e.byteLength)}function x(e){if(e.length===0)return!1;for(let t=0;t126||n===34||n===40||n===41||n===44||n===47||n===58||n===59||n===60||n===61||n===62||n===63||n===64||n===91||n===92||n===93||n===123||n===125)return!1}return!0}function S(e){return e>=1e3&&e<1015?e!==1004&&e!==1005&&e!==1006:e>=3e3&&e<=4999}function C(e,t){let{[r]:n,[i]:a}=e;n.abort(),a?.socket&&!a.socket.destroyed&&a.socket.destroy(),t&&v(`error`,e,(e,t)=>new l(e,t),{error:Error(t),message:t})}function w(e){return e===c.CLOSE||e===c.PING||e===c.PONG}function T(e){return e===c.CONTINUATION}function E(e){return e===c.TEXT||e===c.BINARY}function D(e){return E(e)||T(e)||w(e)}function O(e){let t={position:0},n=new Map;for(;t.position57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15}let A=typeof process.versions.icu==`string`,j=A?new TextDecoder(`utf-8`,{fatal:!0}):void 0,M=A?j.decode.bind(j):function(e){if(d(e))return e.toString(`utf-8`);throw TypeError(`Invalid utf-8 received.`)};t.exports={isConnecting:m,isEstablished:h,isClosing:g,isClosed:_,fireEvent:v,isValidSubprotocol:x,isValidStatusCode:S,failWebsocketConnection:C,websocketMessageReceived:y,utf8Decode:M,isControlFrame:w,isContinuationFrame:T,isTextBinaryFrame:E,isValidOpcode:D,parseExtensions:O,isValidClientWindowBits:k}})),wn=P(((e,t)=>{let{maxUnsigned16Bit:n}=xn(),r=16386,i,a=null,o=r;try{i=F(`node:crypto`)}catch{i={randomFillSync:function(e,t,n){for(let t=0;tn?(o+=8,a=127):i>125&&(o+=2,a=126);let c=Buffer.allocUnsafe(i+o);c[0]=c[1]=0,c[0]|=128,c[0]=(c[0]&240)+e,c[o-4]=r[0],c[o-3]=r[1],c[o-2]=r[2],c[o-1]=r[3],c[1]=a,a===126?c.writeUInt16BE(i,2):a===127&&(c[2]=c[3]=0,c.writeUIntBE(i,4,6)),c[1]|=128;for(let e=0;e{let{uid:n,states:r,sentCloseFrameState:i,emptyBuffer:a,opcodes:o}=xn(),{kReadyState:s,kSentClose:c,kByteParser:l,kReceivedClose:u,kResponse:d}=Sn(),{fireEvent:f,failWebsocketConnection:p,isClosing:m,isClosed:h,isEstablished:g,parseExtensions:_}=Cn(),{channels:v}=Xe(),{CloseEvent:y}=bn(),{makeRequest:b}=an(),{fetching:x}=on(),{Headers:S,getHeadersList:C}=tn(),{getDecodeSplit:w}=ut(),{WebsocketFrameSend:T}=wn(),E;try{E=F(`node:crypto`)}catch{}function D(e,t,r,i,a,o){let s=e;s.protocol=e.protocol===`ws:`?`http:`:`https:`;let c=b({urlList:[s],client:r,serviceWorkers:`none`,referrer:`no-referrer`,mode:`websocket`,credentials:`include`,cache:`no-store`,redirect:`error`});o.headers&&(c.headersList=C(new S(o.headers)));let l=E.randomBytes(16).toString(`base64`);c.headersList.append(`sec-websocket-key`,l),c.headersList.append(`sec-websocket-version`,`13`);for(let e of t)c.headersList.append(`sec-websocket-protocol`,e);return c.headersList.append(`sec-websocket-extensions`,`permessage-deflate; client_max_window_bits`),x({request:c,useParallelQueue:!0,dispatcher:o.dispatcher,processResponse(e){if(e.type===`error`||e.status!==101){p(i,`Received network error or non-101 status code.`);return}if(t.length!==0&&!e.headersList.get(`Sec-WebSocket-Protocol`)){p(i,`Server did not respond with sent protocols.`);return}if(e.headersList.get(`Upgrade`)?.toLowerCase()!==`websocket`){p(i,`Server did not set Upgrade header to "websocket".`);return}if(e.headersList.get(`Connection`)?.toLowerCase()!==`upgrade`){p(i,`Server did not set Connection header to "upgrade".`);return}if(e.headersList.get(`Sec-WebSocket-Accept`)!==E.createHash(`sha1`).update(l+n).digest(`base64`)){p(i,`Incorrect hash received in Sec-WebSocket-Accept header.`);return}let r=e.headersList.get(`Sec-WebSocket-Extensions`),o;if(r!==null&&(o=_(r),!o.has(`permessage-deflate`))){p(i,`Sec-WebSocket-Extensions header does not match.`);return}let s=e.headersList.get(`Sec-WebSocket-Protocol`);if(s!==null&&!w(`sec-websocket-protocol`,c.headersList).includes(s)){p(i,`Protocol was not set in the opening handshake.`);return}e.socket.on(`data`,k),e.socket.on(`close`,A),e.socket.on(`error`,j),v.open.hasSubscribers&&v.open.publish({address:e.socket.address(),protocol:s,extensions:r}),a(e,o)}})}function O(e,t,n,l){if(!(m(e)||h(e)))if(!g(e))p(e,`Connection was closed before it was established.`),e[s]=r.CLOSING;else if(e[c]===i.NOT_SENT){e[c]=i.PROCESSING;let u=new T;t!==void 0&&n===void 0?(u.frameData=Buffer.allocUnsafe(2),u.frameData.writeUInt16BE(t,0)):t!==void 0&&n!==void 0?(u.frameData=Buffer.allocUnsafe(2+l),u.frameData.writeUInt16BE(t,0),u.frameData.write(n,2,`utf-8`)):u.frameData=a,e[d].socket.write(u.createFrame(o.CLOSE)),e[c]=i.SENT,e[s]=r.CLOSING}else e[s]=r.CLOSING}function k(e){this.ws[l].write(e)||this.pause()}function A(){let{ws:e}=this,{[d]:t}=e;t.socket.off(`data`,k),t.socket.off(`close`,A),t.socket.off(`error`,j);let n=e[c]===i.SENT&&e[u],a=1005,o=``,p=e[l].closingInfo;p&&!p.error?(a=p.code??1005,o=p.reason):e[u]||(a=1006),e[s]=r.CLOSED,f(`close`,e,(e,t)=>new y(e,t),{wasClean:n,code:a,reason:o}),v.close.hasSubscribers&&v.close.publish({websocket:e,code:a,reason:o})}function j(e){let{ws:t}=this;t[s]=r.CLOSING,v.socketError.hasSubscribers&&v.socketError.publish(e),this.destroy()}t.exports={establishWebSocketConnection:D,closeWebSocketConnection:O}})),En=P(((e,t)=>{let{createInflateRaw:n,Z_DEFAULT_WINDOWBITS:r}=F(`node:zlib`),{isValidClientWindowBits:i}=Cn(),{MessageSizeExceededError:a}=qe(),o=Buffer.from([0,0,255,255]),s=Symbol(`kBuffer`),c=Symbol(`kLength`);t.exports={PerMessageDeflate:class{#e;#t={};#n=0;constructor(e,t){this.#t.serverNoContextTakeover=e.has(`server_no_context_takeover`),this.#t.serverMaxWindowBits=e.get(`server_max_window_bits`),this.#n=t.maxPayloadSize}decompress(e,t,l){if(!this.#e){let e=r;if(this.#t.serverMaxWindowBits){if(!i(this.#t.serverMaxWindowBits)){l(Error(`Invalid server_max_window_bits`));return}e=Number.parseInt(this.#t.serverMaxWindowBits)}try{this.#e=n({windowBits:e})}catch(e){l(e);return}this.#e[s]=[],this.#e[c]=0,this.#e.on(`data`,e=>{if(this.#e[c]+=e.length,this.#n>0&&this.#e[c]>this.#n){l(new a),this.#e.removeAllListeners(),this.#e=null;return}this.#e[s].push(e)}),this.#e.on(`error`,e=>{this.#e=null,l(e)})}this.#e.write(e),t&&this.#e.write(o),this.#e.flush(()=>{if(!this.#e)return;let e=Buffer.concat(this.#e[s],this.#e[c]);this.#e[s].length=0,this.#e[c]=0,l(null,e)})}}}})),Dn=P(((e,t)=>{let{Writable:n}=F(`node:stream`),r=F(`node:assert`),{parserStates:i,opcodes:a,states:o,emptyBuffer:s,sentCloseFrameState:c}=xn(),{kReadyState:l,kSentClose:u,kResponse:d,kReceivedClose:f}=Sn(),{channels:p}=Xe(),{isValidStatusCode:m,isValidOpcode:h,failWebsocketConnection:g,websocketMessageReceived:_,utf8Decode:v,isControlFrame:y,isTextBinaryFrame:b,isContinuationFrame:x}=Cn(),{WebsocketFrameSend:S}=wn(),{closeWebSocketConnection:C}=Tn(),{PerMessageDeflate:w}=En(),{MessageSizeExceededError:T}=qe();t.exports={ByteParser:class extends n{#e=[];#t=0;#n=0;#r=!1;#i=i.INFO;#a={};#o=[];#s;#c;constructor(e,t,n={}){super(),this.ws=e,this.#s=t??new Map,this.#c=n.maxPayloadSize??0,this.#s.has(`permessage-deflate`)&&this.#s.set(`permessage-deflate`,new w(t,n))}_write(e,t,n){this.#e.push(e),this.#n+=e.length,this.#r=!0,this.run(n)}#l(){return this.#c>0&&!y(this.#a.opcode)&&this.#a.payloadLength>this.#c?(g(this.ws,`Payload size exceeds maximum allowed size`),!1):!0}run(e){for(;this.#r;)if(this.#i===i.INFO){if(this.#n<2)return e();let t=this.consume(2),n=(t[0]&128)!=0,r=t[0]&15,o=(t[1]&128)==128,s=!n&&r!==a.CONTINUATION,c=t[1]&127,l=t[0]&64,u=t[0]&32,d=t[0]&16;if(!h(r))return g(this.ws,`Invalid opcode received`),e();if(o)return g(this.ws,`Frame cannot be masked`),e();if(l!==0&&!this.#s.has(`permessage-deflate`)){g(this.ws,`Expected RSV1 to be clear.`);return}if(u!==0||d!==0){g(this.ws,`RSV1, RSV2, RSV3 must be clear`);return}if(s&&!b(r)){g(this.ws,`Invalid frame type was fragmented.`);return}if(b(r)&&this.#o.length>0){g(this.ws,`Expected continuation frame`);return}if(this.#a.fragmented&&s){g(this.ws,`Fragmented frame exceeded 125 bytes.`);return}if((c>125||s)&&y(r)){g(this.ws,`Control frame either too large or fragmented`);return}if(x(r)&&this.#o.length===0&&!this.#a.compressed){g(this.ws,`Unexpected continuation frame`);return}if(c<=125){if(this.#a.payloadLength=c,this.#i=i.READ_DATA,!this.#l())return}else c===126?this.#i=i.PAYLOADLENGTH_16:c===127&&(this.#i=i.PAYLOADLENGTH_64);b(r)&&(this.#a.binaryType=r,this.#a.compressed=l!==0),this.#a.opcode=r,this.#a.masked=o,this.#a.fin=n,this.#a.fragmented=s}else if(this.#i===i.PAYLOADLENGTH_16){if(this.#n<2)return e();let t=this.consume(2);if(this.#a.payloadLength=t.readUInt16BE(0),this.#i=i.READ_DATA,!this.#l())return}else if(this.#i===i.PAYLOADLENGTH_64){if(this.#n<8)return e();let t=this.consume(8),n=t.readUInt32BE(0),r=t.readUInt32BE(4);if(n!==0||r>2**31-1){g(this.ws,`Received payload length > 2^31 bytes.`);return}if(this.#a.payloadLength=r,this.#i=i.READ_DATA,!this.#l())return}else if(this.#i===i.READ_DATA){if(this.#n{if(t){g(this.ws,t.message);return}if(this.writeFragments(n),this.#c>0&&this.#t>this.#c){g(this.ws,new T().message);return}if(!this.#a.fin){this.#i=i.INFO,this.#r=!0,this.run(e);return}_(this.ws,this.#a.binaryType,this.consumeFragments()),this.#r=!0,this.#i=i.INFO,this.run(e)}),this.#r=!1;break}else{if(this.writeFragments(t),this.#c>0&&this.#t>this.#c){g(this.ws,new T().message);return}!this.#a.fragmented&&this.#a.fin&&_(this.ws,this.#a.binaryType,this.consumeFragments()),this.#i=i.INFO}}}consume(e){if(e>this.#n)throw Error(`Called consume() before buffers satiated.`);if(e===0)return s;if(this.#e[0].length===e)return this.#n-=this.#e[0].length,this.#e.shift();let t=Buffer.allocUnsafe(e),n=0;for(;n!==e;){let r=this.#e[0],{length:i}=r;if(i+n===e){t.set(this.#e.shift(),n);break}else if(i+n>e){t.set(r.subarray(0,e-n),n),this.#e[0]=r.subarray(e-n);break}else t.set(this.#e.shift(),n),n+=r.length}return this.#n-=e,t}writeFragments(e){this.#t+=e.length,this.#o.push(e)}consumeFragments(){let e=this.#o;if(e.length===1)return this.#t=0,e.shift();let t=Buffer.concat(e,this.#t);return this.#o=[],this.#t=0,t}parseCloseBody(e){r(e.length!==1);let t;if(e.length>=2&&(t=e.readUInt16BE(0)),t!==void 0&&!m(t))return{code:1002,reason:`Invalid status code`,error:!0};let n=e.subarray(2);n[0]===239&&n[1]===187&&n[2]===191&&(n=n.subarray(3));try{n=v(n)}catch{return{code:1007,reason:`Invalid UTF-8`,error:!0}}return{code:t,reason:n,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:n}=this.#a;if(t===a.CLOSE){if(n===1)return g(this.ws,`Received close frame with a 1-byte body.`),!1;if(this.#a.closeInfo=this.parseCloseBody(e),this.#a.closeInfo.error){let{code:e,reason:t}=this.#a.closeInfo;return C(this.ws,e,t,t.length),g(this.ws,t),!1}if(this.ws[u]!==c.SENT){let e=s;this.#a.closeInfo.code&&(e=Buffer.allocUnsafe(2),e.writeUInt16BE(this.#a.closeInfo.code,0));let t=new S(e);this.ws[d].socket.write(t.createFrame(a.CLOSE),e=>{e||(this.ws[u]=c.SENT)})}return this.ws[l]=o.CLOSING,this.ws[f]=!0,!1}else if(t===a.PING){if(!this.ws[f]){let t=new S(e);this.ws[d].socket.write(t.createFrame(a.PONG)),p.ping.hasSubscribers&&p.ping.publish({payload:e})}}else t===a.PONG&&p.pong.hasSubscribers&&p.pong.publish({payload:e});return!0}get closingInfo(){return this.#a.closeInfo}}}})),On=P(((e,t)=>{let{WebsocketFrameSend:n}=wn(),{opcodes:r,sendHints:i}=xn(),a=xt(),o=Buffer[Symbol.species];var s=class{#e=new a;#t=!1;#n;constructor(e){this.#n=e}add(e,t,n){if(n!==i.blob){let r=c(e,n);if(!this.#t)this.#n.write(r,t);else{let e={promise:null,callback:t,frame:r};this.#e.push(e)}return}let r={promise:e.arrayBuffer().then(e=>{r.promise=null,r.frame=c(e,n)}),callback:t,frame:null};this.#e.push(r),this.#t||this.#r()}async#r(){this.#t=!0;let e=this.#e;for(;!e.isEmpty();){let t=e.shift();t.promise!==null&&await t.promise,this.#n.write(t.frame,t.callback),t.callback=t.frame=null}this.#t=!1}};function c(e,t){return new n(l(e,t)).createFrame(t===i.string?r.TEXT:r.BINARY)}function l(e,t){switch(t){case i.string:return Buffer.from(e);case i.arrayBuffer:case i.blob:return new o(e);case i.typedArray:return new o(e.buffer,e.byteOffset,e.byteLength)}}t.exports={SendQueue:s}})),kn=P(((e,t)=>{let{webidl:n}=lt(),{URLSerializer:r}=ct(),{environmentSettingsObject:i}=ut(),{staticPropertyDescriptors:a,states:o,sentCloseFrameState:s,sendHints:c}=xn(),{kWebSocketURL:l,kReadyState:u,kController:d,kBinaryType:f,kResponse:p,kSentClose:m,kByteParser:h}=Sn(),{isConnecting:g,isEstablished:_,isClosing:v,isValidSubprotocol:y,fireEvent:b}=Cn(),{establishWebSocketConnection:x,closeWebSocketConnection:S}=Tn(),{ByteParser:C}=Dn(),{kEnumerableProperty:w,isBlobLike:T}=I(),{getGlobalDispatcher:E}=Yt(),{types:D}=F(`node:util`),{ErrorEvent:O,CloseEvent:k}=bn(),{SendQueue:A}=On();var j=class e extends EventTarget{#e={open:null,error:null,close:null,message:null};#t=0;#n=``;#r=``;#i;constructor(t,r=[]){super(),n.util.markAsUncloneable(this);let a=`WebSocket constructor`;n.argumentLengthCheck(arguments,1,a);let o=n.converters[`DOMString or sequence or WebSocketInit`](r,a,`options`);t=n.converters.USVString(t,a,`url`),r=o.protocols;let c=i.settingsObject.baseUrl,p;try{p=new URL(t,c)}catch(e){throw new DOMException(e,`SyntaxError`)}if(p.protocol===`http:`?p.protocol=`ws:`:p.protocol===`https:`&&(p.protocol=`wss:`),p.protocol!==`ws:`&&p.protocol!==`wss:`)throw new DOMException(`Expected a ws: or wss: protocol, got ${p.protocol}`,`SyntaxError`);if(p.hash||p.href.endsWith(`#`))throw new DOMException(`Got fragment`,`SyntaxError`);if(typeof r==`string`&&(r=[r]),r.length!==new Set(r.map(e=>e.toLowerCase())).size||r.length>0&&!r.every(e=>y(e)))throw new DOMException(`Invalid Sec-WebSocket-Protocol value`,`SyntaxError`);this[l]=new URL(p.href);let h=i.settingsObject;this[d]=x(p,r,h,this,(e,t)=>this.#a(e,t),o),this[u]=e.CONNECTING,this[m]=s.NOT_SENT,this[f]=`blob`}close(t=void 0,r=void 0){n.brandCheck(this,e);let i=`WebSocket.close`;if(t!==void 0&&(t=n.converters[`unsigned short`](t,i,`code`,{clamp:!0})),r!==void 0&&(r=n.converters.USVString(r,i,`reason`)),t!==void 0&&t!==1e3&&(t<3e3||t>4999))throw new DOMException(`invalid code`,`InvalidAccessError`);let a=0;if(r!==void 0&&(a=Buffer.byteLength(r),a>123))throw new DOMException(`Reason must be less than 123 bytes; received ${a}`,`SyntaxError`);S(this,t,r,a)}send(t){n.brandCheck(this,e);let r=`WebSocket.send`;if(n.argumentLengthCheck(arguments,1,r),t=n.converters.WebSocketSendData(t,r,`data`),g(this))throw new DOMException(`Sent before connected.`,`InvalidStateError`);if(!(!_(this)||v(this)))if(typeof t==`string`){let e=Buffer.byteLength(t);this.#t+=e,this.#i.add(t,()=>{this.#t-=e},c.string)}else D.isArrayBuffer(t)?(this.#t+=t.byteLength,this.#i.add(t,()=>{this.#t-=t.byteLength},c.arrayBuffer)):ArrayBuffer.isView(t)?(this.#t+=t.byteLength,this.#i.add(t,()=>{this.#t-=t.byteLength},c.typedArray)):T(t)&&(this.#t+=t.size,this.#i.add(t,()=>{this.#t-=t.size},c.blob))}get readyState(){return n.brandCheck(this,e),this[u]}get bufferedAmount(){return n.brandCheck(this,e),this.#t}get url(){return n.brandCheck(this,e),r(this[l])}get extensions(){return n.brandCheck(this,e),this.#r}get protocol(){return n.brandCheck(this,e),this.#n}get onopen(){return n.brandCheck(this,e),this.#e.open}set onopen(t){n.brandCheck(this,e),this.#e.open&&this.removeEventListener(`open`,this.#e.open),typeof t==`function`?(this.#e.open=t,this.addEventListener(`open`,t)):this.#e.open=null}get onerror(){return n.brandCheck(this,e),this.#e.error}set onerror(t){n.brandCheck(this,e),this.#e.error&&this.removeEventListener(`error`,this.#e.error),typeof t==`function`?(this.#e.error=t,this.addEventListener(`error`,t)):this.#e.error=null}get onclose(){return n.brandCheck(this,e),this.#e.close}set onclose(t){n.brandCheck(this,e),this.#e.close&&this.removeEventListener(`close`,this.#e.close),typeof t==`function`?(this.#e.close=t,this.addEventListener(`close`,t)):this.#e.close=null}get onmessage(){return n.brandCheck(this,e),this.#e.message}set onmessage(t){n.brandCheck(this,e),this.#e.message&&this.removeEventListener(`message`,this.#e.message),typeof t==`function`?(this.#e.message=t,this.addEventListener(`message`,t)):this.#e.message=null}get binaryType(){return n.brandCheck(this,e),this[f]}set binaryType(t){n.brandCheck(this,e),t!==`blob`&&t!==`arraybuffer`?this[f]=`blob`:this[f]=t}#a(e,t){this[p]=e;let n=this[d]?.dispatcher?.webSocketOptions?.maxPayloadSize,r=new C(this,t,{maxPayloadSize:n});r.on(`drain`,M),r.on(`error`,ee.bind(this)),e.socket.ws=this,this[h]=r,this.#i=new A(e.socket),this[u]=o.OPEN;let i=e.headersList.get(`sec-websocket-extensions`);i!==null&&(this.#r=i);let a=e.headersList.get(`sec-websocket-protocol`);a!==null&&(this.#n=a),b(`open`,this)}};j.CONNECTING=j.prototype.CONNECTING=o.CONNECTING,j.OPEN=j.prototype.OPEN=o.OPEN,j.CLOSING=j.prototype.CLOSING=o.CLOSING,j.CLOSED=j.prototype.CLOSED=o.CLOSED,Object.defineProperties(j.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:w,readyState:w,bufferedAmount:w,onopen:w,onerror:w,onclose:w,close:w,onmessage:w,binaryType:w,send:w,extensions:w,protocol:w,[Symbol.toStringTag]:{value:`WebSocket`,writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(j,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),n.converters[`sequence`]=n.sequenceConverter(n.converters.DOMString),n.converters[`DOMString or sequence`]=function(e,t,r){return n.util.Type(e)===`Object`&&Symbol.iterator in e?n.converters[`sequence`](e):n.converters.DOMString(e,t,r)},n.converters.WebSocketInit=n.dictionaryConverter([{key:`protocols`,converter:n.converters[`DOMString or sequence`],defaultValue:()=>[]},{key:`dispatcher`,converter:n.converters.any,defaultValue:()=>E()},{key:`headers`,converter:n.nullableConverter(n.converters.HeadersInit)}]),n.converters[`DOMString or sequence or WebSocketInit`]=function(e){return n.util.Type(e)===`Object`&&!(Symbol.iterator in e)?n.converters.WebSocketInit(e):{protocols:n.converters[`DOMString or sequence`](e)}},n.converters.WebSocketSendData=function(e){if(n.util.Type(e)===`Object`){if(T(e))return n.converters.Blob(e,{strict:!1});if(ArrayBuffer.isView(e)||D.isArrayBuffer(e))return n.converters.BufferSource(e)}return n.converters.USVString(e)};function M(){this.ws[p].socket.resume()}function ee(e){let t,n;e instanceof k?(t=e.reason,n=e.code):t=e.message,b(`error`,this,()=>new O(`error`,{error:e,message:t})),S(this,n)}t.exports={WebSocket:j}})),An=P(((e,t)=>{function n(e){return e.indexOf(`\0`)===-1}function r(e){if(e.length===0)return!1;for(let t=0;t57)return!1;return!0}function i(e){return new Promise(t=>{setTimeout(t,e).unref()})}t.exports={isValidLastEventId:n,isASCIINumber:r,delay:i}})),jn=P(((e,t)=>{let{Transform:n}=F(`node:stream`),{isASCIINumber:r,isValidLastEventId:i}=An(),a=[239,187,191];t.exports={EventSourceStream:class extends n{state=null;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;buffer=null;pos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,n){if(e.length===0){n();return}if(this.buffer?this.buffer=Buffer.concat([this.buffer,e]):this.buffer=e,this.checkBOM)switch(this.buffer.length){case 1:if(this.buffer[0]===a[0]){n();return}this.checkBOM=!1,n();return;case 2:if(this.buffer[0]===a[0]&&this.buffer[1]===a[1]){n();return}this.checkBOM=!1;break;case 3:if(this.buffer[0]===a[0]&&this.buffer[1]===a[1]&&this.buffer[2]===a[2]){this.buffer=Buffer.alloc(0),this.checkBOM=!1,n();return}this.checkBOM=!1;break;default:this.buffer[0]===a[0]&&this.buffer[1]===a[1]&&this.buffer[2]===a[2]&&(this.buffer=this.buffer.subarray(3)),this.checkBOM=!1;break}for(;this.pos0&&(t[a]=o);break}}processEvent(e){e.retry&&r(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&i(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||`message`,options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}}}})),Mn=P(((e,t)=>{let{pipeline:n}=F(`node:stream`),{fetching:r}=on(),{makeRequest:i}=an(),{webidl:a}=lt(),{EventSourceStream:o}=jn(),{parseMIMEType:s}=ct(),{createFastMessageEvent:c}=bn(),{isNetworkError:l}=nn(),{delay:u}=An(),{kEnumerableProperty:d}=I(),{environmentSettingsObject:f}=ut(),p=!1,m=3e3;var h=class e extends EventTarget{#e={open:null,error:null,message:null};#t=null;#n=!1;#r=0;#i=null;#a=null;#o;#s;constructor(e,t={}){super(),a.util.markAsUncloneable(this);let n=`EventSource constructor`;a.argumentLengthCheck(arguments,1,n),p||(p=!0,process.emitWarning(`EventSource is experimental, expect them to change at any time.`,{code:`UNDICI-ES`})),e=a.converters.USVString(e,n,`url`),t=a.converters.EventSourceInitDict(t,n,`eventSourceInitDict`),this.#o=t.dispatcher,this.#s={lastEventId:``,reconnectionTime:m};let r=f,o;try{o=new URL(e,r.settingsObject.baseUrl),this.#s.origin=o.origin}catch(e){throw new DOMException(e,`SyntaxError`)}this.#t=o.href;let s=`anonymous`;t.withCredentials&&(s=`use-credentials`,this.#n=!0);let c={redirect:`follow`,keepalive:!0,mode:`cors`,credentials:s===`anonymous`?`same-origin`:`omit`,referrer:`no-referrer`};c.client=f.settingsObject,c.headersList=[[`accept`,{name:`accept`,value:`text/event-stream`}]],c.cache=`no-store`,c.initiator=`other`,c.urlList=[new URL(this.#t)],this.#i=i(c),this.#c()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#c(){if(this.#r===2)return;this.#r=0;let e={request:this.#i,dispatcher:this.#o};e.processResponseEndOfBody=e=>{l(e)&&(this.dispatchEvent(new Event(`error`)),this.close()),this.#l()},e.processResponse=e=>{if(l(e))if(e.aborted){this.close(),this.dispatchEvent(new Event(`error`));return}else{this.#l();return}let t=e.headersList.get(`content-type`,!0),r=t===null?`failure`:s(t),i=r!==`failure`&&r.essence===`text/event-stream`;if(e.status!==200||i===!1){this.close(),this.dispatchEvent(new Event(`error`));return}this.#r=1,this.dispatchEvent(new Event(`open`)),this.#s.origin=e.urlList[e.urlList.length-1].origin;let a=new o({eventSourceSettings:this.#s,push:e=>{this.dispatchEvent(c(e.type,e.options))}});n(e.body.stream,a,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event(`error`)))})},this.#a=r(e)}async#l(){this.#r!==2&&(this.#r=0,this.dispatchEvent(new Event(`error`)),await u(this.#s.reconnectionTime),this.#r===0&&(this.#s.lastEventId.length&&this.#i.headersList.set(`last-event-id`,this.#s.lastEventId,!0),this.#c()))}close(){a.brandCheck(this,e),this.#r!==2&&(this.#r=2,this.#a.abort(),this.#i=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener(`open`,this.#e.open),typeof e==`function`?(this.#e.open=e,this.addEventListener(`open`,e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener(`message`,this.#e.message),typeof e==`function`?(this.#e.message=e,this.addEventListener(`message`,e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener(`error`,this.#e.error),typeof e==`function`?(this.#e.error=e,this.addEventListener(`error`,e)):this.#e.error=null}};let g={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,g),Object.defineProperties(h.prototype,g),Object.defineProperties(h.prototype,{close:d,onerror:d,onmessage:d,onopen:d,readyState:d,url:d,withCredentials:d}),a.converters.EventSourceInitDict=a.dictionaryConverter([{key:`withCredentials`,converter:a.converters.boolean,defaultValue:()=>!1},{key:`dispatcher`,converter:a.converters.any}]),t.exports={EventSource:h,defaultReconnectionTime:m}})),Nn=P(((e,t)=>{let n=bt(),r=Qe(),i=wt(),a=Tt(),o=Et(),s=Dt(),c=Ot(),l=At(),u=qe(),d=I(),{InvalidArgumentError:f}=u,p=zt(),m=tt(),h=Wt(),g=Jt(),_=Gt(),v=Bt(),y=kt(),{getGlobalDispatcher:b,setGlobalDispatcher:x}=Yt(),S=Xt(),C=vt(),w=yt();Object.assign(r.prototype,p),t.exports.Dispatcher=r,t.exports.Client=n,t.exports.Pool=i,t.exports.BalancedPool=a,t.exports.Agent=o,t.exports.ProxyAgent=s,t.exports.EnvHttpProxyAgent=c,t.exports.RetryAgent=l,t.exports.RetryHandler=y,t.exports.DecoratorHandler=S,t.exports.RedirectHandler=C,t.exports.createRedirectInterceptor=w,t.exports.interceptors={redirect:Zt(),retry:Qt(),dump:$t(),dns:en()},t.exports.buildConnector=m,t.exports.errors=u,t.exports.util={parseHeaders:d.parseHeaders,headerNameToString:d.headerNameToString};function T(e){return(t,n,r)=>{if(typeof n==`function`&&(r=n,n=null),!t||typeof t!=`string`&&typeof t!=`object`&&!(t instanceof URL))throw new f(`invalid url`);if(n!=null&&typeof n!=`object`)throw new f(`invalid opts`);if(n&&n.path!=null){if(typeof n.path!=`string`)throw new f(`invalid opts.path`);let e=n.path;n.path.startsWith(`/`)||(e=`/${e}`),t=new URL(d.parseOrigin(t).origin+e)}else n||=typeof t==`object`?t:{},t=d.parseURL(t);let{agent:i,dispatcher:a=b()}=n;if(i)throw new f(`unsupported opts.agent. Did you mean opts.client?`);return e.call(a,{...n,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:n.method||(n.body?`PUT`:`GET`)},r)}}t.exports.setGlobalDispatcher=x,t.exports.getGlobalDispatcher=b;let E=on().fetch;t.exports.fetch=async function(e,t=void 0){try{return await E(e,t)}catch(e){throw e&&typeof e==`object`&&Error.captureStackTrace(e),e}},t.exports.Headers=tn().Headers,t.exports.Response=nn().Response,t.exports.Request=an().Request,t.exports.FormData=pt().FormData,t.exports.File=globalThis.File??F(`node:buffer`).File,t.exports.FileReader=dn().FileReader;let{setGlobalOrigin:D,getGlobalOrigin:O}=st();t.exports.setGlobalOrigin=D,t.exports.getGlobalOrigin=O;let{CacheStorage:k}=hn(),{kConstruct:A}=fn();t.exports.caches=new k(A);let{deleteCookie:j,getCookies:M,getSetCookies:ee,setCookie:N}=yn();t.exports.deleteCookie=j,t.exports.getCookies=M,t.exports.getSetCookies=ee,t.exports.setCookie=N;let{parseMIMEType:te,serializeAMimeType:ne}=ct();t.exports.parseMIMEType=te,t.exports.serializeAMimeType=ne;let{CloseEvent:re,ErrorEvent:ie,MessageEvent:ae}=bn();t.exports.WebSocket=kn().WebSocket,t.exports.CloseEvent=re,t.exports.ErrorEvent=ie,t.exports.MessageEvent=ae,t.exports.request=T(p.request),t.exports.stream=T(p.stream),t.exports.pipeline=T(p.pipeline),t.exports.connect=T(p.connect),t.exports.upgrade=T(p.upgrade),t.exports.MockClient=h,t.exports.MockPool=_,t.exports.MockAgent=g,t.exports.mockErrors=v;let{EventSource:oe}=Mn();t.exports.EventSource=oe})),Pn=Ae(Ge(),1),Fn=Nn(),In=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},Ln;(function(e){e[e.OK=200]=`OK`,e[e.MultipleChoices=300]=`MultipleChoices`,e[e.MovedPermanently=301]=`MovedPermanently`,e[e.ResourceMoved=302]=`ResourceMoved`,e[e.SeeOther=303]=`SeeOther`,e[e.NotModified=304]=`NotModified`,e[e.UseProxy=305]=`UseProxy`,e[e.SwitchProxy=306]=`SwitchProxy`,e[e.TemporaryRedirect=307]=`TemporaryRedirect`,e[e.PermanentRedirect=308]=`PermanentRedirect`,e[e.BadRequest=400]=`BadRequest`,e[e.Unauthorized=401]=`Unauthorized`,e[e.PaymentRequired=402]=`PaymentRequired`,e[e.Forbidden=403]=`Forbidden`,e[e.NotFound=404]=`NotFound`,e[e.MethodNotAllowed=405]=`MethodNotAllowed`,e[e.NotAcceptable=406]=`NotAcceptable`,e[e.ProxyAuthenticationRequired=407]=`ProxyAuthenticationRequired`,e[e.RequestTimeout=408]=`RequestTimeout`,e[e.Conflict=409]=`Conflict`,e[e.Gone=410]=`Gone`,e[e.TooManyRequests=429]=`TooManyRequests`,e[e.InternalServerError=500]=`InternalServerError`,e[e.NotImplemented=501]=`NotImplemented`,e[e.BadGateway=502]=`BadGateway`,e[e.ServiceUnavailable=503]=`ServiceUnavailable`,e[e.GatewayTimeout=504]=`GatewayTimeout`})(Ln||={});var Rn;(function(e){e.Accept=`accept`,e.ContentType=`content-type`})(Rn||={});var zn;(function(e){e.ApplicationJson=`application/json`})(zn||={});const Bn=[Ln.MovedPermanently,Ln.ResourceMoved,Ln.SeeOther,Ln.TemporaryRedirect,Ln.PermanentRedirect],Vn=[Ln.BadGateway,Ln.ServiceUnavailable,Ln.GatewayTimeout],Hn=[`OPTIONS`,`GET`,`DELETE`,`HEAD`];var Un=class e extends Error{constructor(t,n){super(t),this.name=`HttpClientError`,this.statusCode=n,Object.setPrototypeOf(this,e.prototype)}},Wn=class{constructor(e){this.message=e}readBody(){return In(this,void 0,void 0,function*(){return new Promise(e=>In(this,void 0,void 0,function*(){let t=Buffer.alloc(0);this.message.on(`data`,e=>{t=Buffer.concat([t,e])}),this.message.on(`end`,()=>{e(t.toString())})}))})}readBodyBuffer(){return In(this,void 0,void 0,function*(){return new Promise(e=>In(this,void 0,void 0,function*(){let t=[];this.message.on(`data`,e=>{t.push(e)}),this.message.on(`end`,()=>{e(Buffer.concat(t))})}))})}},Gn=class{constructor(e,t,n){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=this._getUserAgentWithOrchestrationId(e),this.handlers=t||[],this.requestOptions=n,n&&(n.ignoreSslError!=null&&(this._ignoreSslError=n.ignoreSslError),this._socketTimeout=n.socketTimeout,n.allowRedirects!=null&&(this._allowRedirects=n.allowRedirects),n.allowRedirectDowngrade!=null&&(this._allowRedirectDowngrade=n.allowRedirectDowngrade),n.maxRedirects!=null&&(this._maxRedirects=Math.max(n.maxRedirects,0)),n.keepAlive!=null&&(this._keepAlive=n.keepAlive),n.allowRetries!=null&&(this._allowRetries=n.allowRetries),n.maxRetries!=null&&(this._maxRetries=n.maxRetries))}options(e,t){return In(this,void 0,void 0,function*(){return this.request(`OPTIONS`,e,null,t||{})})}get(e,t){return In(this,void 0,void 0,function*(){return this.request(`GET`,e,null,t||{})})}del(e,t){return In(this,void 0,void 0,function*(){return this.request(`DELETE`,e,null,t||{})})}post(e,t,n){return In(this,void 0,void 0,function*(){return this.request(`POST`,e,t,n||{})})}patch(e,t,n){return In(this,void 0,void 0,function*(){return this.request(`PATCH`,e,t,n||{})})}put(e,t,n){return In(this,void 0,void 0,function*(){return this.request(`PUT`,e,t,n||{})})}head(e,t){return In(this,void 0,void 0,function*(){return this.request(`HEAD`,e,null,t||{})})}sendStream(e,t,n,r){return In(this,void 0,void 0,function*(){return this.request(e,t,n,r)})}getJson(e){return In(this,arguments,void 0,function*(e,t={}){t[Rn.Accept]=this._getExistingOrDefaultHeader(t,Rn.Accept,zn.ApplicationJson);let n=yield this.get(e,t);return this._processResponse(n,this.requestOptions)})}postJson(e,t){return In(this,arguments,void 0,function*(e,t,n={}){let r=JSON.stringify(t,null,2);n[Rn.Accept]=this._getExistingOrDefaultHeader(n,Rn.Accept,zn.ApplicationJson),n[Rn.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,zn.ApplicationJson);let i=yield this.post(e,r,n);return this._processResponse(i,this.requestOptions)})}putJson(e,t){return In(this,arguments,void 0,function*(e,t,n={}){let r=JSON.stringify(t,null,2);n[Rn.Accept]=this._getExistingOrDefaultHeader(n,Rn.Accept,zn.ApplicationJson),n[Rn.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,zn.ApplicationJson);let i=yield this.put(e,r,n);return this._processResponse(i,this.requestOptions)})}patchJson(e,t){return In(this,arguments,void 0,function*(e,t,n={}){let r=JSON.stringify(t,null,2);n[Rn.Accept]=this._getExistingOrDefaultHeader(n,Rn.Accept,zn.ApplicationJson),n[Rn.ContentType]=this._getExistingOrDefaultContentTypeHeader(n,zn.ApplicationJson);let i=yield this.patch(e,r,n);return this._processResponse(i,this.requestOptions)})}request(e,t,n,r){return In(this,void 0,void 0,function*(){if(this._disposed)throw Error(`Client has already been disposed.`);let i=new URL(t),a=this._prepareRequest(e,i,r),o=this._allowRetries&&Hn.includes(e)?this._maxRetries+1:1,s=0,c;do{if(c=yield this.requestRaw(a,n),c&&c.message&&c.message.statusCode===Ln.Unauthorized){let e;for(let t of this.handlers)if(t.canHandleAuthentication(c)){e=t;break}return e?e.handleAuthentication(this,a,n):c}let t=this._maxRedirects;for(;c.message.statusCode&&Bn.includes(c.message.statusCode)&&this._allowRedirects&&t>0;){let o=c.message.headers.location;if(!o)break;let s=new URL(o);if(i.protocol===`https:`&&i.protocol!==s.protocol&&!this._allowRedirectDowngrade)throw Error(`Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.`);if(yield c.readBody(),s.hostname!==i.hostname)for(let e in r)e.toLowerCase()===`authorization`&&delete r[e];a=this._prepareRequest(e,s,r),c=yield this.requestRaw(a,n),t--}if(!c.message.statusCode||!Vn.includes(c.message.statusCode))return c;s+=1,s{function i(e,t){e?r(e):t?n(t):r(Error(`Unknown error`))}this.requestRawWithCallback(e,t,i)})})}requestRawWithCallback(e,t,n){typeof t==`string`&&(e.options.headers||(e.options.headers={}),e.options.headers[`Content-Length`]=Buffer.byteLength(t,`utf8`));let r=!1;function i(e,t){r||(r=!0,n(e,t))}let a=e.httpModule.request(e.options,e=>{i(void 0,new Wn(e))}),o;a.on(`socket`,e=>{o=e}),a.setTimeout(this._socketTimeout||3*6e4,()=>{o&&o.end(),i(Error(`Request timeout: ${e.options.path}`))}),a.on(`error`,function(e){i(e)}),t&&typeof t==`string`&&a.write(t,`utf8`),t&&typeof t!=`string`?(t.on(`close`,function(){a.end()}),t.pipe(a)):a.end()}getAgent(e){let t=new URL(e);return this._getAgent(t)}getAgentDispatcher(e){let t=new URL(e),n=Be(t);if(n&&n.hostname)return this._getProxyAgentDispatcher(t,n)}_prepareRequest(e,t,n){let r={};r.parsedUrl=t;let i=r.parsedUrl.protocol===`https:`;r.httpModule=i?f:d;let a=i?443:80;if(r.options={},r.options.host=r.parsedUrl.hostname,r.options.port=r.parsedUrl.port?parseInt(r.parsedUrl.port):a,r.options.path=(r.parsedUrl.pathname||``)+(r.parsedUrl.search||``),r.options.method=e,r.options.headers=this._mergeHeaders(n),this.userAgent!=null&&(r.options.headers[`user-agent`]=this.userAgent),r.options.agent=this._getAgent(r.parsedUrl),this.handlers)for(let e of this.handlers)e.prepareRequest(r.options);return r}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},Kn(this.requestOptions.headers),Kn(e||{})):Kn(e||{})}_getExistingOrDefaultHeader(e,t,n){let r;if(this.requestOptions&&this.requestOptions.headers){let e=Kn(this.requestOptions.headers)[t];e&&(r=typeof e==`number`?e.toString():e)}let i=e[t];return i===void 0?r===void 0?n:r:typeof i==`number`?i.toString():i}_getExistingOrDefaultContentTypeHeader(e,t){let n;if(this.requestOptions&&this.requestOptions.headers){let e=Kn(this.requestOptions.headers)[Rn.ContentType];e&&(n=typeof e==`number`?String(e):Array.isArray(e)?e.join(`, `):e)}let r=e[Rn.ContentType];return r===void 0?n===void 0?t:n:typeof r==`number`?String(r):Array.isArray(r)?r.join(`, `):r}_getAgent(e){let t,n=Be(e),r=n&&n.hostname;if(this._keepAlive&&r&&(t=this._proxyAgent),r||(t=this._agent),t)return t;let i=e.protocol===`https:`,a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||d.globalAgent.maxSockets),n&&n.hostname){let e={maxSockets:a,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`}),{host:n.hostname,port:n.port})},r,o=n.protocol===`https:`;r=i?o?Pn.httpsOverHttps:Pn.httpsOverHttp:o?Pn.httpOverHttps:Pn.httpOverHttp,t=r(e),this._proxyAgent=t}if(!t){let e={keepAlive:this._keepAlive,maxSockets:a};t=i?new f.Agent(e):new d.Agent(e),this._agent=t}return i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_getProxyAgentDispatcher(e,t){let n;if(this._keepAlive&&(n=this._proxyAgentDispatcher),n)return n;let r=e.protocol===`https:`;return n=new Fn.ProxyAgent(Object.assign({uri:t.href,pipelining:+!!this._keepAlive},(t.username||t.password)&&{token:`Basic ${Buffer.from(`${t.username}:${t.password}`).toString(`base64`)}`})),this._proxyAgentDispatcher=n,r&&this._ignoreSslError&&(n.options=Object.assign(n.options.requestTls||{},{rejectUnauthorized:!1})),n}_getUserAgentWithOrchestrationId(e){let t=e||`actions/http-client`,n=process.env.ACTIONS_ORCHESTRATION_ID;return n?`${t} actions_orchestration_id/${n.replace(/[^a-z0-9_.-]/gi,`_`)}`:t}_performExponentialBackoff(e){return In(this,void 0,void 0,function*(){e=Math.min(10,e);let t=5*2**e;return new Promise(e=>setTimeout(()=>e(),t))})}_processResponse(e,t){return In(this,void 0,void 0,function*(){return new Promise((n,r)=>In(this,void 0,void 0,function*(){let i=e.message.statusCode||0,a={statusCode:i,result:null,headers:{}};i===Ln.NotFound&&n(a);function o(e,t){if(typeof t==`string`){let e=new Date(t);if(!isNaN(e.valueOf()))return e}return t}let s,c;try{c=yield e.readBody(),c&&c.length>0&&(s=t&&t.deserializeDates?JSON.parse(c,o):JSON.parse(c),a.result=s),a.headers=e.message.headers}catch{}if(i>299){let e;e=s&&s.message?s.message:c&&c.length>0?c:`Failed request: (${i})`;let t=new Un(e,i);t.result=a.result,r(t)}else n(a)}))})}};const Kn=e=>Object.keys(e).reduce((t,n)=>(t[n.toLowerCase()]=e[n],t),{});var qn=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},Jn=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error(`The request has no headers`);e.headers.Authorization=`Bearer ${this.token}`}canHandleAuthentication(){return!1}handleAuthentication(){return qn(this,void 0,void 0,function*(){throw Error(`not implemented`)})}},Yn=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const{access:Xn,appendFile:Zn,writeFile:Qn}=c,$n=`GITHUB_STEP_SUMMARY`;new class{constructor(){this._buffer=``}filePath(){return Yn(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[$n];if(!e)throw Error(`Unable to find environment variable for $${$n}. Check if your runtime environment supports job summaries.`);try{yield Xn(e,o.R_OK|o.W_OK)}catch{throw Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,t,n={}){let r=Object.entries(n).map(([e,t])=>` ${e}="${t}"`).join(``);return t?`<${e}${r}>${t}`:`<${e}${r}>`}write(e){return Yn(this,void 0,void 0,function*(){let t=!!e?.overwrite,n=yield this.filePath();return yield(t?Qn:Zn)(n,this._buffer,{encoding:`utf8`}),this.emptyBuffer()})}clear(){return Yn(this,void 0,void 0,function*(){return this.emptyBuffer().write({overwrite:!0})})}stringify(){return this._buffer}isEmptyBuffer(){return this._buffer.length===0}emptyBuffer(){return this._buffer=``,this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(r)}addCodeBlock(e,t){let n=Object.assign({},t&&{lang:t}),r=this.wrap(`pre`,this.wrap(`code`,e),n);return this.addRaw(r).addEOL()}addList(e,t=!1){let n=t?`ol`:`ul`,r=e.map(e=>this.wrap(`li`,e)).join(``),i=this.wrap(n,r);return this.addRaw(i).addEOL()}addTable(e){let t=e.map(e=>{let t=e.map(e=>{if(typeof e==`string`)return this.wrap(`td`,e);let{header:t,data:n,colspan:r,rowspan:i}=e,a=t?`th`:`td`,o=Object.assign(Object.assign({},r&&{colspan:r}),i&&{rowspan:i});return this.wrap(a,n,o)}).join(``);return this.wrap(`tr`,t)}).join(``),n=this.wrap(`table`,t);return this.addRaw(n).addEOL()}addDetails(e,t){let n=this.wrap(`details`,this.wrap(`summary`,e)+t);return this.addRaw(n).addEOL()}addImage(e,t,n){let{width:r,height:i}=n||{},a=Object.assign(Object.assign({},r&&{width:r}),i&&{height:i}),o=this.wrap(`img`,null,Object.assign({src:e,alt:t},a));return this.addRaw(o).addEOL()}addHeading(e,t){let n=`h${t}`,r=[`h1`,`h2`,`h3`,`h4`,`h5`,`h6`].includes(n)?n:`h1`,i=this.wrap(r,e);return this.addRaw(i).addEOL()}addSeparator(){let e=this.wrap(`hr`,null);return this.addRaw(e).addEOL()}addBreak(){let e=this.wrap(`br`,null);return this.addRaw(e).addEOL()}addQuote(e,t){let n=Object.assign({},t&&{cite:t}),r=this.wrap(`blockquote`,e,n);return this.addRaw(r).addEOL()}addLink(e,t){let n=this.wrap(`a`,e,{href:t});return this.addRaw(n).addEOL()}};var er=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const{chmod:tr,copyFile:nr,lstat:rr,mkdir:ir,open:ar,readdir:or,rename:sr,rm:cr,rmdir:lr,stat:ur,symlink:dr,unlink:fr}=a.promises,pr=process.platform===`win32`;a.constants.O_RDONLY;function mr(e){return er(this,void 0,void 0,function*(){try{yield ur(e)}catch(e){if(e.code===`ENOENT`)return!1;throw e}return!0})}function hr(e){if(e=_r(e),!e)throw Error(`isRooted() parameter "p" cannot be empty`);return pr?e.startsWith(`\\`)||/^[A-Z]:/i.test(e):e.startsWith(`/`)}function gr(e,t){return er(this,void 0,void 0,function*(){let n;try{n=yield ur(e)}catch(t){t.code!==`ENOENT`&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile()){if(pr){let n=u.extname(e).toUpperCase();if(t.some(e=>e.toUpperCase()===n))return e}else if(vr(n))return e}let r=e;for(let i of t){e=r+i,n=void 0;try{n=yield ur(e)}catch(t){t.code!==`ENOENT`&&console.log(`Unexpected error attempting to determine if executable file exists '${e}': ${t}`)}if(n&&n.isFile()){if(pr){try{let t=u.dirname(e),n=u.basename(e).toUpperCase();for(let r of yield or(t))if(n===r.toUpperCase()){e=u.join(t,r);break}}catch(t){console.log(`Unexpected error attempting to determine the actual case of the file '${e}': ${t}`)}return e}else if(vr(n))return e}}return``})}function _r(e){return e||=``,pr?(e=e.replace(/\//g,`\\`),e.replace(/\\\\+/g,`\\`)):e.replace(/\/\/+/g,`/`)}function vr(e){return(e.mode&1)>0||(e.mode&8)>0&&process.getgid!==void 0&&e.gid===process.getgid()||(e.mode&64)>0&&process.getuid!==void 0&&e.uid===process.getuid()}var yr=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function br(e){return yr(this,void 0,void 0,function*(){g(e,`a path argument must be provided`),yield ir(e,{recursive:!0})})}function xr(e,t){return yr(this,void 0,void 0,function*(){if(!e)throw Error(`parameter 'tool' is required`);if(t){let t=yield xr(e,!1);if(!t)throw Error(pr?`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`:`Unable to locate executable file: ${e}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return t}let n=yield Sr(e);return n&&n.length>0?n[0]:``})}function Sr(e){return yr(this,void 0,void 0,function*(){if(!e)throw Error(`parameter 'tool' is required`);let t=[];if(pr&&process.env.PATHEXT)for(let e of process.env.PATHEXT.split(u.delimiter))e&&t.push(e);if(hr(e)){let n=yield gr(e,t);return n?[n]:[]}if(e.includes(u.sep))return[];let n=[];if(process.env.PATH)for(let e of process.env.PATH.split(u.delimiter))e&&n.push(e);let r=[];for(let i of n){let n=yield gr(u.join(i,e),t);n&&r.push(n)}return r})}var Cr=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const wr=process.platform===`win32`;var Tr=class extends p.EventEmitter{constructor(e,t,n){if(super(),!e)throw Error(`Parameter 'toolPath' cannot be null or empty.`);this.toolPath=e,this.args=t||[],this.options=n||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){let n=this._getSpawnFileName(),r=this._getSpawnArgs(e),i=t?``:`[command]`;if(wr)if(this._isCmdFile()){i+=n;for(let e of r)i+=` ${e}`}else if(e.windowsVerbatimArguments){i+=`"${n}"`;for(let e of r)i+=` ${e}`}else{i+=this._windowsQuoteCmdArg(n);for(let e of r)i+=` ${this._windowsQuoteCmdArg(e)}`}else{i+=n;for(let e of r)i+=` ${e}`}return i}_processLineBuffer(e,n,r){try{let i=n+e.toString(),a=i.indexOf(t.EOL);for(;a>-1;)r(i.substring(0,a)),i=i.substring(a+t.EOL.length),a=i.indexOf(t.EOL);return i}catch(e){return this._debug(`error processing line. Failed with error ${e}`),``}}_getSpawnFileName(){return wr&&this._isCmdFile()?process.env.COMSPEC||`cmd.exe`:this.toolPath}_getSpawnArgs(e){if(wr&&this._isCmdFile()){let t=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(let n of this.args)t+=` `,t+=e.windowsVerbatimArguments?n:this._windowsQuoteCmdArg(n);return t+=`"`,[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){let e=this.toolPath.toUpperCase();return this._endsWith(e,`.CMD`)||this._endsWith(e,`.BAT`)}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return`""`;let t=[` `,` `,`&`,`(`,`)`,`[`,`]`,`{`,`}`,`^`,`=`,`;`,`!`,`'`,`+`,`,`,"`",`~`,`|`,`<`,`>`,`"`],n=!1;for(let r of e)if(t.some(e=>e===r)){n=!0;break}if(!n)return e;let r=`"`,i=!0;for(let t=e.length;t>0;t--)r+=e[t-1],i&&e[t-1]===`\\`?r+=`\\`:e[t-1]===`"`?(i=!0,r+=`"`):i=!1;return r+=`"`,r.split(``).reverse().join(``)}_uvQuoteCmdArg(e){if(!e)return`""`;if(!e.includes(` `)&&!e.includes(` `)&&!e.includes(`"`))return e;if(!e.includes(`"`)&&!e.includes(`\\`))return`"${e}"`;let t=`"`,n=!0;for(let r=e.length;r>0;r--)t+=e[r-1],n&&e[r-1]===`\\`?t+=`\\`:e[r-1]===`"`?(n=!0,t+=`\\`):n=!1;return t+=`"`,t.split(``).reverse().join(``)}_cloneExecOptions(e){e||={};let t={cwd:e.cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){e||={};let n={};return n.cwd=e.cwd,n.env=e.env,n.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(n.argv0=`"${t}"`),n}exec(){return Cr(this,void 0,void 0,function*(){return!hr(this.toolPath)&&(this.toolPath.includes(`/`)||wr&&this.toolPath.includes(`\\`))&&(this.toolPath=u.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield xr(this.toolPath,!0),new Promise((e,n)=>Cr(this,void 0,void 0,function*(){this._debug(`exec tool: ${this.toolPath}`),this._debug(`arguments:`);for(let e of this.args)this._debug(` ${e}`);let r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+t.EOL);let i=new Dr(r,this.toolPath);if(i.on(`debug`,e=>{this._debug(e)}),this.options.cwd&&!(yield mr(this.options.cwd)))return n(Error(`The cwd: ${this.options.cwd} does not exist!`));let a=this._getSpawnFileName(),o=D.spawn(a,this._getSpawnArgs(r),this._getSpawnOptions(this.options,a)),s=``;o.stdout&&o.stdout.on(`data`,e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),s=this._processLineBuffer(e,s,e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)})});let c=``;if(o.stderr&&o.stderr.on(`data`,e=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)})}),o.on(`error`,e=>{i.processError=e.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()}),o.on(`exit`,e=>{i.processExitCode=e,i.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),i.CheckComplete()}),o.on(`close`,e=>{i.processExitCode=e,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()}),i.on(`done`,(t,r)=>{s.length>0&&this.emit(`stdline`,s),c.length>0&&this.emit(`errline`,c),o.removeAllListeners(),t?n(t):e(r)}),this.options.input){if(!o.stdin)throw Error(`child process missing stdin`);o.stdin.end(this.options.input)}}))})}};function Er(e){let t=[],n=!1,r=!1,i=``;function a(e){r&&e!==`"`&&(i+=`\\`),i+=e,r=!1}for(let o=0;o0&&(t.push(i),i=``);continue}a(s)}return i.length>0&&t.push(i.trim()),t}var Dr=class e extends p.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError=``,this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error(`toolPath must not be empty`);this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=O(e.HandleTimeout,this.delay,this)))}_debug(e){this.emit(`debug`,e)}_setResult(){let e;this.processExited&&(this.processError?e=Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):this.processExitCode!==0&&!this.options.ignoreReturnCode?e=Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`):this.processStderr&&this.options.failOnStdErr&&(e=Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`))),this.timeout&&=(clearTimeout(this.timeout),null),this.done=!0,this.emit(`done`,e,this.processExitCode)}static HandleTimeout(e){if(!e.done){if(!e.processClosed&&e.processExited){let t=`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;e._debug(t)}e._setResult()}}},Or=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function kr(e,t,n){return Or(this,void 0,void 0,function*(){let r=Er(e);if(r.length===0)throw Error(`Parameter 'commandLine' cannot be null or empty.`);let i=r[0];return t=r.slice(1).concat(t||[]),new Tr(i,t,n).exec()})}function Ar(e,t,n){return Or(this,void 0,void 0,function*(){let r=``,i=``,a=new E(`utf8`),o=new E(`utf8`),s=n?.listeners?.stdout,c=n?.listeners?.stderr,l=Object.assign(Object.assign({},n?.listeners),{stdout:e=>{r+=a.write(e),s&&s(e)},stderr:e=>{i+=o.write(e),c&&c(e)}}),u=yield kr(e,t,Object.assign(Object.assign({},n),{listeners:l}));return r+=a.end(),i+=o.end(),{exitCode:u,stdout:r,stderr:i}})}n.platform(),n.arch();var jr;(function(e){e[e.Success=0]=`Success`,e[e.Failure=1]=`Failure`})(jr||={});function Mr(e,t){let n=je(t);if(process.env[e]=n,process.env.GITHUB_ENV)return Re(`ENV`,ze(e,t));Ne(`set-env`,{name:e},n)}function Nr(e){Ne(`add-mask`,{},e)}function Pr(e){process.env.GITHUB_PATH?Re(`PATH`,e):Ne(`add-path`,{},e),process.env.PATH=`${e}${u.delimiter}${process.env.PATH}`}function Fr(e,t){let n=process.env[`INPUT_${e.replace(/ /g,`_`).toUpperCase()}`]||``;if(t&&t.required&&!n)throw Error(`Input required and not supplied: ${e}`);return t&&t.trimWhitespace===!1?n:n.trim()}function Ir(e,t){let n=[`true`,`True`,`TRUE`],r=[`false`,`False`,`FALSE`],i=Fr(e,t);if(n.includes(i))return!0;if(r.includes(i))return!1;throw TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function Lr(e,n){if(process.env.GITHUB_OUTPUT)return Re(`OUTPUT`,ze(e,n));process.stdout.write(t.EOL),Ne(`set-output`,{name:e},je(n))}function Rr(e){process.exitCode=jr.Failure,Br(e)}function zr(){return process.env.RUNNER_DEBUG===`1`}function L(e){Ne(`debug`,{},e)}function Br(e,t={}){Ne(`error`,Me(t),e instanceof Error?e.toString():e)}function Vr(e,t={}){Ne(`warning`,Me(t),e instanceof Error?e.toString():e)}function R(e){process.stdout.write(e+t.EOL)}function Hr(e){Pe(`group`,e)}function Ur(){Pe(`endgroup`)}function Wr(e,t){if(process.env.GITHUB_STATE)return Re(`STATE`,ze(e,t));Ne(`save-state`,{name:e},je(t))}function Gr(e){return process.env[`STATE_${e}`]||``}var Kr=P((e=>{let t=Symbol.for(`yaml.alias`),n=Symbol.for(`yaml.document`),r=Symbol.for(`yaml.map`),i=Symbol.for(`yaml.pair`),a=Symbol.for(`yaml.scalar`),o=Symbol.for(`yaml.seq`),s=Symbol.for(`yaml.node.type`),c=e=>!!e&&typeof e==`object`&&e[s]===t,l=e=>!!e&&typeof e==`object`&&e[s]===n,u=e=>!!e&&typeof e==`object`&&e[s]===r,d=e=>!!e&&typeof e==`object`&&e[s]===i,f=e=>!!e&&typeof e==`object`&&e[s]===a,p=e=>!!e&&typeof e==`object`&&e[s]===o;function m(e){if(e&&typeof e==`object`)switch(e[s]){case r:case o:return!0}return!1}function h(e){if(e&&typeof e==`object`)switch(e[s]){case t:case r:case a:case o:return!0}return!1}e.ALIAS=t,e.DOC=n,e.MAP=r,e.NODE_TYPE=s,e.PAIR=i,e.SCALAR=a,e.SEQ=o,e.hasAnchor=e=>(f(e)||m(e))&&!!e.anchor,e.isAlias=c,e.isCollection=m,e.isDocument=l,e.isMap=u,e.isNode=h,e.isPair=d,e.isScalar=f,e.isSeq=p})),qr=P((e=>{var t=Kr();let n=Symbol(`break visit`),r=Symbol(`skip children`),i=Symbol(`remove node`);function a(e,n){let r=l(n);t.isDocument(e)?o(null,e.contents,r,Object.freeze([e]))===i&&(e.contents=null):o(null,e,r,Object.freeze([]))}a.BREAK=n,a.SKIP=r,a.REMOVE=i;function o(e,r,a,s){let c=u(e,r,a,s);if(t.isNode(c)||t.isPair(c))return d(e,s,c),o(e,c,a,s);if(typeof c!=`symbol`){if(t.isCollection(r)){s=Object.freeze(s.concat(r));for(let e=0;e{var t=Kr(),n=qr();let r={"!":`%21`,",":`%2C`,"[":`%5B`,"]":`%5D`,"{":`%7B`,"}":`%7D`},i=e=>e.replace(/[!,[\]{}]/g,e=>r[e]);var a=class e{constructor(t,n){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},e.defaultYaml,t),this.tags=Object.assign({},e.defaultTags,n)}clone(){let t=new e(this.yaml,this.tags);return t.docStart=this.docStart,t}atDocument(){let t=new e(this.yaml,this.tags);switch(this.yaml.version){case`1.1`:this.atNextDocument=!0;break;case`1.2`:this.atNextDocument=!1,this.yaml={explicit:e.defaultYaml.explicit,version:`1.2`},this.tags=Object.assign({},e.defaultTags);break}return t}add(t,n){this.atNextDocument&&=(this.yaml={explicit:e.defaultYaml.explicit,version:`1.1`},this.tags=Object.assign({},e.defaultTags),!1);let r=t.trim().split(/[ \t]+/),i=r.shift();switch(i){case`%TAG`:{if(r.length!==2&&(n(0,`%TAG directive should contain exactly two parts`),r.length<2))return!1;let[e,t]=r;return this.tags[e]=t,!0}case`%YAML`:{if(this.yaml.explicit=!0,r.length!==1)return n(0,`%YAML directive should contain exactly one part`),!1;let[e]=r;if(e===`1.1`||e===`1.2`)return this.yaml.version=e,!0;{let t=/^\d+\.\d+$/.test(e);return n(6,`Unsupported YAML version ${e}`,t),!1}}default:return n(0,`Unknown directive ${i}`,!0),!1}}tagName(e,t){if(e===`!`)return`!`;if(e[0]!==`!`)return t(`Not a valid tag: ${e}`),null;if(e[1]===`<`){let n=e.slice(2,-1);return n===`!`||n===`!!`?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(e[e.length-1]!==`>`&&t(`Verbatim tags must end with a >`),n)}let[,n,r]=e.match(/^(.*!)([^!]*)$/s);r||t(`The ${e} tag has no suffix`);let i=this.tags[n];if(i)try{return i+decodeURIComponent(r)}catch(e){return t(String(e)),null}return n===`!`?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,n]of Object.entries(this.tags))if(e.startsWith(n))return t+i(e.substring(n.length));return e[0]===`!`?e:`!<${e}>`}toString(e){let r=this.yaml.explicit?[`%YAML ${this.yaml.version||`1.2`}`]:[],i=Object.entries(this.tags),a;if(e&&i.length>0&&t.isNode(e.contents)){let r={};n.visit(e.contents,(e,n)=>{t.isNode(n)&&n.tag&&(r[n.tag]=!0)}),a=Object.keys(r)}else a=[];for(let[t,n]of i)t===`!!`&&n===`tag:yaml.org,2002:`||(!e||a.some(e=>e.startsWith(n)))&&r.push(`%TAG ${t} ${n}`);return r.join(` +`)}};a.defaultYaml={explicit:!1,version:`1.2`},a.defaultTags={"!!":`tag:yaml.org,2002:`},e.Directives=a})),Yr=P((e=>{var t=Kr(),n=qr();function r(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=`Anchor must not contain whitespace or control characters: ${JSON.stringify(e)}`;throw Error(t)}return!0}function i(e){let t=new Set;return n.visit(e,{Value(e,n){n.anchor&&t.add(n.anchor)}}),t}function a(e,t){for(let n=1;;++n){let r=`${e}${n}`;if(!t.has(r))return r}}function o(e,n){let r=[],o=new Map,s=null;return{onAnchor:t=>{r.push(t),s??=i(e);let o=a(n,s);return s.add(o),o},setAnchors:()=>{for(let e of r){let n=o.get(e);if(typeof n==`object`&&n.anchor&&(t.isScalar(n.node)||t.isCollection(n.node)))n.node.anchor=n.anchor;else{let t=Error(`Failed to resolve repeated object (this should not happen)`);throw t.source=e,t}}},sourceObjects:o}}e.anchorIsValid=r,e.anchorNames=i,e.createNodeAnchors=o,e.findNewAnchor=a})),Xr=P((e=>{function t(e,n,r,i){if(i&&typeof i==`object`)if(Array.isArray(i))for(let n=0,r=i.length;n{var t=Kr();function n(e,r,i){if(Array.isArray(e))return e.map((e,t)=>n(e,String(t),i));if(e&&typeof e.toJSON==`function`){if(!i||!t.hasAnchor(e))return e.toJSON(r,i);let n={aliasCount:0,count:1,res:void 0};i.anchors.set(e,n),i.onCreate=e=>{n.res=e,delete i.onCreate};let a=e.toJSON(r,i);return i.onCreate&&i.onCreate(a),a}return typeof e==`bigint`&&!i?.keep?Number(e):e}e.toJS=n})),Qr=P((e=>{var t=Xr(),n=Kr(),r=Zr();e.NodeBase=class{constructor(e){Object.defineProperty(this,n.NODE_TYPE,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:i,maxAliasCount:a,onAnchor:o,reviver:s}={}){if(!n.isDocument(e))throw TypeError(`A document argument is required`);let c={anchors:new Map,doc:e,keep:!0,mapAsMap:i===!0,mapKeyWarned:!1,maxAliasCount:typeof a==`number`?a:100},l=r.toJS(this,``,c);if(typeof o==`function`)for(let{count:e,res:t}of c.anchors.values())o(t,e);return typeof s==`function`?t.applyReviver(s,{"":l},``,l):l}}})),$r=P((e=>{var t=Yr(),n=qr(),r=Kr(),i=Qr(),a=Zr(),o=class extends i.NodeBase{constructor(e){super(r.ALIAS),this.source=e,Object.defineProperty(this,`tag`,{set(){throw Error(`Alias nodes cannot have tags`)}})}resolve(e,t){if(t?.maxAliasCount===0)throw ReferenceError(`Alias resolution is disabled`);let i;t?.aliasResolveCache?i=t.aliasResolveCache:(i=[],n.visit(e,{Node:(e,t)=>{(r.isAlias(t)||r.hasAnchor(t))&&i.push(t)}}),t&&(t.aliasResolveCache=i));let a;for(let e of i){if(e===this)break;e.anchor===this.source&&(a=e)}return a}toJSON(e,t){if(!t)return{source:this.source};let{anchors:n,doc:r,maxAliasCount:i}=t,o=this.resolve(r,t);if(!o){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw ReferenceError(e)}let c=n.get(o);if(c||=(a.toJS(o,null,t),n.get(o)),c?.res===void 0)throw ReferenceError(`This should not happen: Alias anchor was not resolved?`);if(i>=0&&(c.count+=1,c.aliasCount===0&&(c.aliasCount=s(r,o,n)),c.count*c.aliasCount>i))throw ReferenceError(`Excessive alias count indicates a resource exhaustion attack`);return c.res}toString(e,n,r){let i=`*${this.source}`;if(e){if(t.anchorIsValid(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source)){let e=`Unresolved alias (the anchor must be set before the alias): ${this.source}`;throw Error(e)}if(e.implicitKey)return`${i} `}return i}};function s(e,t,n){if(r.isAlias(t)){let r=t.resolve(e),i=n&&r&&n.get(r);return i?i.count*i.aliasCount:0}else if(r.isCollection(t)){let r=0;for(let i of t.items){let t=s(e,i,n);t>r&&(r=t)}return r}else if(r.isPair(t)){let r=s(e,t.key,n),i=s(e,t.value,n);return Math.max(r,i)}return 1}e.Alias=o})),ei=P((e=>{var t=Kr(),n=Qr(),r=Zr();let i=e=>!e||typeof e!=`function`&&typeof e!=`object`;var a=class extends n.NodeBase{constructor(e){super(t.SCALAR),this.value=e}toJSON(e,t){return t?.keep?this.value:r.toJS(this.value,e,t)}toString(){return String(this.value)}};a.BLOCK_FOLDED=`BLOCK_FOLDED`,a.BLOCK_LITERAL=`BLOCK_LITERAL`,a.PLAIN=`PLAIN`,a.QUOTE_DOUBLE=`QUOTE_DOUBLE`,a.QUOTE_SINGLE=`QUOTE_SINGLE`,e.Scalar=a,e.isScalarValue=i})),ti=P((e=>{var t=$r(),n=Kr(),r=ei();function i(e,t,n){if(t){let e=n.filter(e=>e.tag===t),r=e.find(e=>!e.format)??e[0];if(!r)throw Error(`Tag ${t} not found`);return r}return n.find(t=>t.identify?.(e)&&!t.format)}function a(e,a,o){if(n.isDocument(e)&&(e=e.contents),n.isNode(e))return e;if(n.isPair(e)){let t=o.schema[n.MAP].createNode?.(o.schema,null,o);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||typeof BigInt<`u`&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:s,onAnchor:c,onTagObj:l,schema:u,sourceObjects:d}=o,f;if(s&&e&&typeof e==`object`){if(f=d.get(e),f)return f.anchor??=c(e),new t.Alias(f.anchor);f={anchor:null,node:null},d.set(e,f)}a?.startsWith(`!!`)&&(a=`tag:yaml.org,2002:`+a.slice(2));let p=i(e,a,u.tags);if(!p){if(e&&typeof e.toJSON==`function`&&(e=e.toJSON()),!e||typeof e!=`object`){let t=new r.Scalar(e);return f&&(f.node=t),t}p=e instanceof Map?u[n.MAP]:Symbol.iterator in Object(e)?u[n.SEQ]:u[n.MAP]}l&&(l(p),delete o.onTagObj);let m=p?.createNode?p.createNode(o.schema,e,o):typeof p?.nodeClass?.from==`function`?p.nodeClass.from(o.schema,e,o):new r.Scalar(e);return a?m.tag=a:p.default||(m.tag=p.tag),f&&(f.node=m),m}e.createNode=a})),ni=P((e=>{var t=ti(),n=Kr(),r=Qr();function i(e,n,r){let i=r;for(let e=n.length-1;e>=0;--e){let t=n[e];if(typeof t==`number`&&Number.isInteger(t)&&t>=0){let e=[];e[t]=i,i=e}else i=new Map([[t,i]])}return t.createNode(i,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error(`This should not happen, please report a bug.`)},schema:e,sourceObjects:new Map})}let a=e=>e==null||typeof e==`object`&&!!e[Symbol.iterator]().next().done;e.Collection=class extends r.NodeBase{constructor(e,t){super(e),Object.defineProperty(this,`schema`,{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>n.isNode(t)||n.isPair(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(a(e))this.add(t);else{let[r,...a]=e,o=this.get(r,!0);if(n.isCollection(o))o.addIn(a,t);else if(o===void 0&&this.schema)this.set(r,i(this.schema,a,t));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}deleteIn(e){let[t,...r]=e;if(r.length===0)return this.delete(t);let i=this.get(t,!0);if(n.isCollection(i))return i.deleteIn(r);throw Error(`Expected YAML collection at ${t}. Remaining path: ${r}`)}getIn(e,t){let[r,...i]=e,a=this.get(r,!0);return i.length===0?!t&&n.isScalar(a)?a.value:a:n.isCollection(a)?a.getIn(i,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!n.isPair(t))return!1;let r=t.value;return r==null||e&&n.isScalar(r)&&r.value==null&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(e){let[t,...r]=e;if(r.length===0)return this.has(t);let i=this.get(t,!0);return n.isCollection(i)?i.hasIn(r):!1}setIn(e,t){let[r,...a]=e;if(a.length===0)this.set(r,t);else{let e=this.get(r,!0);if(n.isCollection(e))e.setIn(a,t);else if(e===void 0&&this.schema)this.set(r,i(this.schema,a,t));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${a}`)}}},e.collectionFromPath=i,e.isEmptyPath=a})),ri=P((e=>{let t=e=>e.replace(/^(?!$)(?: $)?/gm,`#`);function n(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}e.indentComment=n,e.lineComment=(e,t,r)=>e.endsWith(` `)?n(r,t):r.includes(` `)?` -`+n(r,t):(e.endsWith(` `)?``:` `)+r,e.stringifyComment=t})),ti=P((e=>{let t=`block`,n=`quoted`;function r(e,r,a=`flow`,{indentAtStart:o,lineWidth:s=80,minContentWidth:c=20,onFold:l,onOverflow:u}={}){if(!s||s<0)return e;ss-Math.max(2,c)?f.push(0):m=s-o);let h,g,_=!1,v=-1,y=-1,b=-1;a===t&&(v=i(e,v,r.length),v!==-1&&(m=v+d));for(let o;o=e[v+=1];){if(a===n&&o===`\\`){switch(y=v,e[v+1]){case`x`:v+=3;break;case`u`:v+=5;break;case`U`:v+=9;break;default:v+=1}b=v}if(o===` +`+n(r,t):(e.endsWith(` `)?``:` `)+r,e.stringifyComment=t})),ii=P((e=>{let t=`block`,n=`quoted`;function r(e,r,a=`flow`,{indentAtStart:o,lineWidth:s=80,minContentWidth:c=20,onFold:l,onOverflow:u}={}){if(!s||s<0)return e;ss-Math.max(2,c)?f.push(0):m=s-o);let h,g,_=!1,v=-1,y=-1,b=-1;a===t&&(v=i(e,v,r.length),v!==-1&&(m=v+d));for(let o;o=e[v+=1];){if(a===n&&o===`\\`){switch(y=v,e[v+1]){case`x`:v+=3;break;case`u`:v+=5;break;case`U`:v+=9;break;default:v+=1}b=v}if(o===` `)a===t&&(v=i(e,v,r.length)),m=v+r.length+d,h=void 0;else{if(o===` `&&g&&g!==` `&&g!==` `&&g!==` `){let t=e[v+1];t&&t!==` `&&t!==` `&&t!==` `&&(h=v)}if(v>=m)if(h)f.push(h),m=h+d,h=void 0;else if(a===n){for(;g===` `||g===` `;)g=o,o=e[v+=1],_=!0;let t=v>b+1?v-2:y-1;if(p[t])return e;f.push(t),p[t]=!0,m=t+d,h=void 0}else _=!0}g=o}if(_&&u&&u(),f.length===0)return e;l&&l();let x=e.slice(0,f[0]);for(let t=0;t{var t=Zr(),n=ti();let r=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),i=e=>/^(%|---|\.\.\.)/m.test(e);function a(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;t{var t=ei(),n=ii();let r=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),i=e=>/^(%|---|\.\.\.)/m.test(e);function a(e,t,n){if(!t||t<0)return!1;let r=t-n,i=e.length;if(i<=r)return!1;for(let t=0,n=0;tr)return!0;if(n=t+1,i-n<=r)return!1}return!0}function o(e,t){let a=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return a;let{implicitKey:o}=t,s=t.options.doubleQuotedMinMultiLineLength,c=t.indent||(i(e)?` `:``),l=``,u=0;for(let e=0,t=a[e];t;t=a[++e])if(t===` `&&a[e+1]===`\\`&&a[e+2]===`n`&&(l+=a.slice(u,e)+`\\ `,e+=1,u=e,t=`\\`),t===`\\`)switch(a[e+1]){case`u`:{l+=a.slice(u,e);let t=a.substr(e+2,4);switch(t){case`0000`:l+=`\\0`;break;case`0007`:l+=`\\a`;break;case`000b`:l+=`\\v`;break;case`001b`:l+=`\\e`;break;case`0085`:l+=`\\N`;break;case`00a0`:l+=`\\_`;break;case`2028`:l+=`\\L`;break;case`2029`:l+=`\\P`;break;default:t.substr(0,2)===`00`?l+=`\\x`+t.substr(2):l+=a.substr(e,6)}e+=5,u=e+1}break;case`n`:if(o||a[e+2]===`"`||a.length{i=!0});let c=n.foldFlowLines(`${T}${e}${b}`,g,n.FOLD_BLOCK,a);if(!i)return`>${E}\n${g}${c}`}return s=s.replace(/\n+/g,`$&${g}`),`|${E}\n${g}${T}${s}${b}`}function d(e,a,o,s){let{type:l,value:d}=e,{actualString:f,implicitKey:p,indent:m,indentStep:h,inFlow:g}=a;if(p&&d.includes(` `)||g&&/[[\]{},]/.test(d))return c(d,a);if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(d))return p||g||!d.includes(` `)?c(d,a):u(e,a,o,s);if(!p&&!g&&l!==t.Scalar.PLAIN&&d.includes(` -`))return u(e,a,o,s);if(i(d)){if(m===``)return a.forceBlockIndent=!0,u(e,a,o,s);if(p&&m===h)return c(d,a)}let _=d.replace(/\n+/g,`$&\n${m}`);if(f){let e=e=>e.default&&e.tag!==`tag:yaml.org,2002:str`&&e.test?.test(_),{compat:t,tags:n}=a.doc.schema;if(n.some(e)||t?.some(e))return c(d,a)}return p?_:n.foldFlowLines(_,m,n.FOLD_FLOW,r(a,!1))}function f(e,n,r,i){let{implicitKey:a,inFlow:l}=n,f=typeof e.value==`string`?e:Object.assign({},e,{value:String(e.value)}),{type:p}=e;p!==t.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(f.value)&&(p=t.Scalar.QUOTE_DOUBLE);let m=e=>{switch(e){case t.Scalar.BLOCK_FOLDED:case t.Scalar.BLOCK_LITERAL:return a||l?c(f.value,n):u(f,n,r,i);case t.Scalar.QUOTE_DOUBLE:return o(f.value,n);case t.Scalar.QUOTE_SINGLE:return s(f.value,n);case t.Scalar.PLAIN:return d(f,n,r,i);default:return null}},h=m(p);if(h===null){let{defaultKeyType:e,defaultStringType:t}=n.options,r=a&&e||t;if(h=m(r),h===null)throw Error(`Unsupported default string type ${r}`)}return h}e.stringifyString=f})),ri=P((e=>{var t=Kr(),n=Ur(),r=ei(),i=ni();function a(e,t){let n=Object.assign({blockQuote:!0,commentString:r.stringifyComment,defaultKeyType:null,defaultStringType:`PLAIN`,directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:`false`,flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:`null`,simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:`true`,verifyAliasOrder:!0},e.schema.toStringOptions,t),i;switch(n.collectionStyle){case`block`:i=!1;break;case`flow`:i=!0;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?` `:``,indent:``,indentStep:typeof n.indent==`number`?` `.repeat(n.indent):` `,inFlow:i,options:n}}function o(e,t){if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}let r,i;if(n.isScalar(t)){i=t.value;let n=e.filter(e=>e.identify?.(i));if(n.length>1){let e=n.filter(e=>e.test);e.length>0&&(n=e)}r=n.find(e=>e.format===t.format)??n.find(e=>!e.format)}else i=t,r=e.find(e=>e.nodeClass&&i instanceof e.nodeClass);if(!r){let e=i?.constructor?.name??(i===null?`null`:typeof i);throw Error(`Tag not resolved for ${e} value`)}return r}function s(e,r,{anchors:i,doc:a}){if(!a.directives)return``;let o=[],s=(n.isScalar(e)||n.isCollection(e))&&e.anchor;s&&t.anchorIsValid(s)&&(i.add(s),o.push(`&${s}`));let c=e.tag??(r.default?null:r.tag);return c&&o.push(a.directives.tagString(c)),o.join(` `)}function c(e,t,r,a){if(n.isPair(e))return e.toString(t,r,a);if(n.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError(`Cannot stringify circular structure without alias nodes`);t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let c,l=n.isNode(e)?e:t.doc.createNode(e,{onTagObj:e=>c=e});c??=o(t.doc.schema.tags,l);let u=s(l,c,t);u.length>0&&(t.indentAtStart=(t.indentAtStart??0)+u.length+1);let d=typeof c.stringify==`function`?c.stringify(l,t,r,a):n.isScalar(l)?i.stringifyString(l,t,r,a):l.toString(t,r,a);return u?n.isScalar(l)||d[0]===`{`||d[0]===`[`?`${u} ${d}`:`${u}\n${t.indent}${d}`:d}e.createStringifyContext=a,e.stringify=c})),ii=P((e=>{var t=Ur(),n=Zr(),r=ri(),i=ei();function a({key:e,value:a},o,s,c){let{allNullValues:l,doc:u,indent:d,indentStep:f,options:{commentString:p,indentSeq:m,simpleKeys:h}}=o,g=t.isNode(e)&&e.comment||null;if(h){if(g)throw Error(`With simple keys, key nodes cannot have comments`);if(t.isCollection(e)||!t.isNode(e)&&typeof e==`object`)throw Error(`With simple keys, collection cannot be used as a key value`)}let _=!h&&(!e||g&&a==null&&!o.inFlow||t.isCollection(e)||(t.isScalar(e)?e.type===n.Scalar.BLOCK_FOLDED||e.type===n.Scalar.BLOCK_LITERAL:typeof e==`object`));o=Object.assign({},o,{allNullValues:!1,implicitKey:!_&&(h||!l),indent:d+f});let v=!1,y=!1,b=r.stringify(e,o,()=>v=!0,()=>y=!0);if(!_&&!o.inFlow&&b.length>1024){if(h)throw Error(`With simple keys, single line scalar must not span more than 1024 characters`);_=!0}if(o.inFlow){if(l||a==null)return v&&s&&s(),b===``?`?`:_?`? ${b}`:b}else if(l&&!h||a==null&&_)return b=`? ${b}`,g&&!v?b+=i.lineComment(b,o.indent,p(g)):y&&c&&c(),b;v&&(g=null),_?(g&&(b+=i.lineComment(b,o.indent,p(g))),b=`? ${b}\n${d}:`):(b=`${b}:`,g&&(b+=i.lineComment(b,o.indent,p(g))));let x,S,C;t.isNode(a)?(x=!!a.spaceBefore,S=a.commentBefore,C=a.comment):(x=!1,S=null,C=null,a&&typeof a==`object`&&(a=u.createNode(a))),o.implicitKey=!1,!_&&!g&&t.isScalar(a)&&(o.indentAtStart=b.length+1),y=!1,!m&&f.length>=2&&!o.inFlow&&!_&&t.isSeq(a)&&!a.flow&&!a.tag&&!a.anchor&&(o.indent=o.indent.substring(2));let w=!1,T=r.stringify(a,o,()=>w=!0,()=>y=!0),E=` `;if(g||x||S){if(E=x?` +`))return u(e,a,o,s);if(i(d)){if(m===``)return a.forceBlockIndent=!0,u(e,a,o,s);if(p&&m===h)return c(d,a)}let _=d.replace(/\n+/g,`$&\n${m}`);if(f){let e=e=>e.default&&e.tag!==`tag:yaml.org,2002:str`&&e.test?.test(_),{compat:t,tags:n}=a.doc.schema;if(n.some(e)||t?.some(e))return c(d,a)}return p?_:n.foldFlowLines(_,m,n.FOLD_FLOW,r(a,!1))}function f(e,n,r,i){let{implicitKey:a,inFlow:l}=n,f=typeof e.value==`string`?e:Object.assign({},e,{value:String(e.value)}),{type:p}=e;p!==t.Scalar.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(f.value)&&(p=t.Scalar.QUOTE_DOUBLE);let m=e=>{switch(e){case t.Scalar.BLOCK_FOLDED:case t.Scalar.BLOCK_LITERAL:return a||l?c(f.value,n):u(f,n,r,i);case t.Scalar.QUOTE_DOUBLE:return o(f.value,n);case t.Scalar.QUOTE_SINGLE:return s(f.value,n);case t.Scalar.PLAIN:return d(f,n,r,i);default:return null}},h=m(p);if(h===null){let{defaultKeyType:e,defaultStringType:t}=n.options,r=a&&e||t;if(h=m(r),h===null)throw Error(`Unsupported default string type ${r}`)}return h}e.stringifyString=f})),oi=P((e=>{var t=Yr(),n=Kr(),r=ri(),i=ai();function a(e,t){let n=Object.assign({blockQuote:!0,commentString:r.stringifyComment,defaultKeyType:null,defaultStringType:`PLAIN`,directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:`false`,flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:`null`,simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:`true`,verifyAliasOrder:!0},e.schema.toStringOptions,t),i;switch(n.collectionStyle){case`block`:i=!1;break;case`flow`:i=!0;break;default:i=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?` `:``,indent:``,indentStep:typeof n.indent==`number`?` `.repeat(n.indent):` `,inFlow:i,options:n}}function o(e,t){if(t.tag){let n=e.filter(e=>e.tag===t.tag);if(n.length>0)return n.find(e=>e.format===t.format)??n[0]}let r,i;if(n.isScalar(t)){i=t.value;let n=e.filter(e=>e.identify?.(i));if(n.length>1){let e=n.filter(e=>e.test);e.length>0&&(n=e)}r=n.find(e=>e.format===t.format)??n.find(e=>!e.format)}else i=t,r=e.find(e=>e.nodeClass&&i instanceof e.nodeClass);if(!r){let e=i?.constructor?.name??(i===null?`null`:typeof i);throw Error(`Tag not resolved for ${e} value`)}return r}function s(e,r,{anchors:i,doc:a}){if(!a.directives)return``;let o=[],s=(n.isScalar(e)||n.isCollection(e))&&e.anchor;s&&t.anchorIsValid(s)&&(i.add(s),o.push(`&${s}`));let c=e.tag??(r.default?null:r.tag);return c&&o.push(a.directives.tagString(c)),o.join(` `)}function c(e,t,r,a){if(n.isPair(e))return e.toString(t,r,a);if(n.isAlias(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError(`Cannot stringify circular structure without alias nodes`);t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let c,l=n.isNode(e)?e:t.doc.createNode(e,{onTagObj:e=>c=e});c??=o(t.doc.schema.tags,l);let u=s(l,c,t);u.length>0&&(t.indentAtStart=(t.indentAtStart??0)+u.length+1);let d=typeof c.stringify==`function`?c.stringify(l,t,r,a):n.isScalar(l)?i.stringifyString(l,t,r,a):l.toString(t,r,a);return u?n.isScalar(l)||d[0]===`{`||d[0]===`[`?`${u} ${d}`:`${u}\n${t.indent}${d}`:d}e.createStringifyContext=a,e.stringify=c})),si=P((e=>{var t=Kr(),n=ei(),r=oi(),i=ri();function a({key:e,value:a},o,s,c){let{allNullValues:l,doc:u,indent:d,indentStep:f,options:{commentString:p,indentSeq:m,simpleKeys:h}}=o,g=t.isNode(e)&&e.comment||null;if(h){if(g)throw Error(`With simple keys, key nodes cannot have comments`);if(t.isCollection(e)||!t.isNode(e)&&typeof e==`object`)throw Error(`With simple keys, collection cannot be used as a key value`)}let _=!h&&(!e||g&&a==null&&!o.inFlow||t.isCollection(e)||(t.isScalar(e)?e.type===n.Scalar.BLOCK_FOLDED||e.type===n.Scalar.BLOCK_LITERAL:typeof e==`object`));o=Object.assign({},o,{allNullValues:!1,implicitKey:!_&&(h||!l),indent:d+f});let v=!1,y=!1,b=r.stringify(e,o,()=>v=!0,()=>y=!0);if(!_&&!o.inFlow&&b.length>1024){if(h)throw Error(`With simple keys, single line scalar must not span more than 1024 characters`);_=!0}if(o.inFlow){if(l||a==null)return v&&s&&s(),b===``?`?`:_?`? ${b}`:b}else if(l&&!h||a==null&&_)return b=`? ${b}`,g&&!v?b+=i.lineComment(b,o.indent,p(g)):y&&c&&c(),b;v&&(g=null),_?(g&&(b+=i.lineComment(b,o.indent,p(g))),b=`? ${b}\n${d}:`):(b=`${b}:`,g&&(b+=i.lineComment(b,o.indent,p(g))));let x,S,C;t.isNode(a)?(x=!!a.spaceBefore,S=a.commentBefore,C=a.comment):(x=!1,S=null,C=null,a&&typeof a==`object`&&(a=u.createNode(a))),o.implicitKey=!1,!_&&!g&&t.isScalar(a)&&(o.indentAtStart=b.length+1),y=!1,!m&&f.length>=2&&!o.inFlow&&!_&&t.isSeq(a)&&!a.flow&&!a.tag&&!a.anchor&&(o.indent=o.indent.substring(2));let w=!1,T=r.stringify(a,o,()=>w=!0,()=>y=!0),E=` `;if(g||x||S){if(E=x?` `:``,S){let e=p(S);E+=`\n${i.indentComment(e,o.indent)}`}T===``&&!o.inFlow?E===` `&&C&&(E=` `):E+=`\n${o.indent}`}else if(!_&&t.isCollection(a)){let e=T[0],t=T.indexOf(` `),n=t!==-1,r=o.inFlow??a.flow??a.items.length===0;if(n||!r){let r=!1;if(n&&(e===`&`||e===`!`)){let n=T.indexOf(` `);e===`&`&&n!==-1&&n{var t=F(`process`);function n(e,...t){e===`debug`&&console.log(...t)}function r(e,n){(e===`debug`||e===`warn`)&&(typeof t.emitWarning==`function`?t.emitWarning(n):console.warn(n))}e.debug=n,e.warn=r})),oi=P((e=>{var t=Ur(),n=Zr();let r={identify:e=>e===`<<`||typeof e==`symbol`&&e.description===`<<`,default:`key`,tag:`tag:yaml.org,2002:merge`,test:/^<<$/,resolve:()=>Object.assign(new n.Scalar(Symbol(`<<`)),{addToJSMap:a}),stringify:()=>`<<`},i=(e,i)=>(r.identify(i)||t.isScalar(i)&&(!i.type||i.type===n.Scalar.PLAIN)&&r.identify(i.value))&&e?.doc.schema.tags.some(e=>e.tag===r.tag&&e.default);function a(e,n,r){let i=s(e,r);if(t.isSeq(i))for(let t of i.items)o(e,n,t);else if(Array.isArray(i))for(let t of i)o(e,n,t);else o(e,n,i)}function o(e,n,r){let i=s(e,r);if(!t.isMap(i))throw Error(`Merge sources must be maps or map aliases`);let a=i.toJSON(null,e,Map);for(let[e,t]of a)n instanceof Map?n.has(e)||n.set(e,t):n instanceof Set?n.add(e):Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(n,e,{value:t,writable:!0,enumerable:!0,configurable:!0});return n}function s(e,n){return e&&t.isAlias(n)?n.resolve(e.doc,e):n}e.addMergeToJSMap=a,e.isMergeKey=i,e.merge=r})),si=P((e=>{var t=ai(),n=oi(),r=ri(),i=Ur(),a=Jr();function o(e,t,{key:r,value:o}){if(i.isNode(r)&&r.addToJSMap)r.addToJSMap(e,t,o);else if(n.isMergeKey(e,r))n.addMergeToJSMap(e,t,o);else{let n=a.toJS(r,``,e);if(t instanceof Map)t.set(n,a.toJS(o,n,e));else if(t instanceof Set)t.add(n);else{let i=s(r,n,e),c=a.toJS(o,i,e);i in t?Object.defineProperty(t,i,{value:c,writable:!0,enumerable:!0,configurable:!0}):t[i]=c}}return t}function s(e,n,a){if(n===null)return``;if(typeof n!=`object`)return String(n);if(i.isNode(e)&&a?.doc){let n=r.createStringifyContext(a.doc,{});n.anchors=new Set;for(let e of a.anchors.keys())n.anchors.add(e.anchor);n.inFlow=!0,n.inStringifyKey=!0;let i=e.toString(n);if(!a.mapKeyWarned){let e=JSON.stringify(i);e.length>40&&(e=e.substring(0,36)+`..."`),t.warn(a.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),a.mapKeyWarned=!0}return i}return JSON.stringify(n)}e.addPairToJSMap=o})),ci=P((e=>{var t=Qr(),n=ii(),r=si(),i=Ur();function a(e,n,r){return new o(t.createNode(e,void 0,r),t.createNode(n,void 0,r))}var o=class e{constructor(e,t=null){Object.defineProperty(this,i.NODE_TYPE,{value:i.PAIR}),this.key=e,this.value=t}clone(t){let{key:n,value:r}=this;return i.isNode(n)&&(n=n.clone(t)),i.isNode(r)&&(r=r.clone(t)),new e(n,r)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return r.addPairToJSMap(t,n,this)}toString(e,t,r){return e?.doc?n.stringifyPair(this,e,t,r):JSON.stringify(this)}};e.Pair=o,e.createPair=a})),li=P((e=>{var t=Ur(),n=ri(),r=ei();function i(e,t,n){return(t.inFlow??e.flow?o:a)(e,t,n)}function a({comment:e,items:i},a,{blockItemPrefix:o,flowChars:c,itemIndent:l,onChompKeep:u,onComment:d}){let{indent:f,options:{commentString:p}}=a,m=Object.assign({},a,{indent:l,type:null}),h=!1,g=[];for(let e=0;eu=null,()=>h=!0);u&&(d+=r.lineComment(d,l,p(u))),h&&u&&(h=!1),g.push(o+d)}let _;if(g.length===0)_=c.start+c.end;else{_=g[0];for(let e=1;e{var t=F(`process`);function n(e,...t){e===`debug`&&console.log(...t)}function r(e,n){(e===`debug`||e===`warn`)&&(typeof t.emitWarning==`function`?t.emitWarning(n):console.warn(n))}e.debug=n,e.warn=r})),li=P((e=>{var t=Kr(),n=ei();let r={identify:e=>e===`<<`||typeof e==`symbol`&&e.description===`<<`,default:`key`,tag:`tag:yaml.org,2002:merge`,test:/^<<$/,resolve:()=>Object.assign(new n.Scalar(Symbol(`<<`)),{addToJSMap:a}),stringify:()=>`<<`},i=(e,i)=>(r.identify(i)||t.isScalar(i)&&(!i.type||i.type===n.Scalar.PLAIN)&&r.identify(i.value))&&e?.doc.schema.tags.some(e=>e.tag===r.tag&&e.default);function a(e,n,r){let i=s(e,r);if(t.isSeq(i))for(let t of i.items)o(e,n,t);else if(Array.isArray(i))for(let t of i)o(e,n,t);else o(e,n,i)}function o(e,n,r){let i=s(e,r);if(!t.isMap(i))throw Error(`Merge sources must be maps or map aliases`);let a=i.toJSON(null,e,Map);for(let[e,t]of a)n instanceof Map?n.has(e)||n.set(e,t):n instanceof Set?n.add(e):Object.prototype.hasOwnProperty.call(n,e)||Object.defineProperty(n,e,{value:t,writable:!0,enumerable:!0,configurable:!0});return n}function s(e,n){return e&&t.isAlias(n)?n.resolve(e.doc,e):n}e.addMergeToJSMap=a,e.isMergeKey=i,e.merge=r})),ui=P((e=>{var t=ci(),n=li(),r=oi(),i=Kr(),a=Zr();function o(e,t,{key:r,value:o}){if(i.isNode(r)&&r.addToJSMap)r.addToJSMap(e,t,o);else if(n.isMergeKey(e,r))n.addMergeToJSMap(e,t,o);else{let n=a.toJS(r,``,e);if(t instanceof Map)t.set(n,a.toJS(o,n,e));else if(t instanceof Set)t.add(n);else{let i=s(r,n,e),c=a.toJS(o,i,e);i in t?Object.defineProperty(t,i,{value:c,writable:!0,enumerable:!0,configurable:!0}):t[i]=c}}return t}function s(e,n,a){if(n===null)return``;if(typeof n!=`object`)return String(n);if(i.isNode(e)&&a?.doc){let n=r.createStringifyContext(a.doc,{});n.anchors=new Set;for(let e of a.anchors.keys())n.anchors.add(e.anchor);n.inFlow=!0,n.inStringifyKey=!0;let i=e.toString(n);if(!a.mapKeyWarned){let e=JSON.stringify(i);e.length>40&&(e=e.substring(0,36)+`..."`),t.warn(a.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),a.mapKeyWarned=!0}return i}return JSON.stringify(n)}e.addPairToJSMap=o})),di=P((e=>{var t=ti(),n=si(),r=ui(),i=Kr();function a(e,n,r){return new o(t.createNode(e,void 0,r),t.createNode(n,void 0,r))}var o=class e{constructor(e,t=null){Object.defineProperty(this,i.NODE_TYPE,{value:i.PAIR}),this.key=e,this.value=t}clone(t){let{key:n,value:r}=this;return i.isNode(n)&&(n=n.clone(t)),i.isNode(r)&&(r=r.clone(t)),new e(n,r)}toJSON(e,t){let n=t?.mapAsMap?new Map:{};return r.addPairToJSMap(t,n,this)}toString(e,t,r){return e?.doc?n.stringifyPair(this,e,t,r):JSON.stringify(this)}};e.Pair=o,e.createPair=a})),fi=P((e=>{var t=Kr(),n=oi(),r=ri();function i(e,t,n){return(t.inFlow??e.flow?o:a)(e,t,n)}function a({comment:e,items:i},a,{blockItemPrefix:o,flowChars:c,itemIndent:l,onChompKeep:u,onComment:d}){let{indent:f,options:{commentString:p}}=a,m=Object.assign({},a,{indent:l,type:null}),h=!1,g=[];for(let e=0;eu=null,()=>h=!0);u&&(d+=r.lineComment(d,l,p(u))),h&&u&&(h=!1),g.push(o+d)}let _;if(g.length===0)_=c.start+c.end;else{_=g[0];for(let e=1;el=null);p||=h.length>m||u.includes(` `),a0&&(p||=h.reduce((e,t)=>e+t.length+2,2)+(u.length+2)>i.options.lineWidth),p&&(u+=`,`)),l&&(u+=r.lineComment(u,o,d(l))),h.push(u),m=h.length}let{start:g,end:_}=a;if(h.length===0)return g+_;if(!p){let e=h.reduce((e,t)=>e+t.length+2,2);p=i.options.lineWidth>0&&e>i.options.lineWidth}if(p){let e=g;for(let t of h)e+=t?`\n${l}${c}${t}`:` -`;return`${e}\n${c}${_}`}else return`${g}${u}${h.join(` `)}${u}${_}`}function s({indent:e,options:{commentString:t}},n,i,a){if(i&&a&&(i=i.replace(/^\n+/,``)),i){let a=r.indentComment(t(i),e);n.push(a.trimStart())}}e.stringifyCollection=i})),ui=P((e=>{var t=li(),n=si(),r=$r(),i=Ur(),a=ci(),o=Zr();function s(e,t){let n=i.isScalar(t)?t.value:t;for(let r of e)if(i.isPair(r)&&(r.key===t||r.key===n||i.isScalar(r.key)&&r.key.value===n))return r}e.YAMLMap=class extends r.Collection{static get tagName(){return`tag:yaml.org,2002:map`}constructor(e){super(i.MAP,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,o=new this(e),s=(e,s)=>{if(typeof i==`function`)s=i.call(t,e,s);else if(Array.isArray(i)&&!i.includes(e))return;(s!==void 0||r)&&o.items.push(a.createPair(e,s,n))};if(t instanceof Map)for(let[e,n]of t)s(e,n);else if(t&&typeof t==`object`)for(let e of Object.keys(t))s(e,t[e]);return typeof e.sortMapEntries==`function`&&o.items.sort(e.sortMapEntries),o}add(e,t){let n;n=i.isPair(e)?e:!e||typeof e!=`object`||!(`key`in e)?new a.Pair(e,e?.value):new a.Pair(e.key,e.value);let r=s(this.items,n.key),c=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);i.isScalar(r.value)&&o.isScalarValue(n.value)?r.value.value=n.value:r.value=n.value}else if(c){let e=this.items.findIndex(e=>c(n,e)<0);e===-1?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=s(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){let n=s(this.items,e)?.value;return(!t&&i.isScalar(n)?n.value:n)??void 0}has(e){return!!s(this.items,e)}set(e,t){this.add(new a.Pair(e,t),!0)}toJSON(e,t,r){let i=r?new r:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(i);for(let e of this.items)n.addPairToJSMap(t,i,e);return i}toString(e,n,r){if(!e)return JSON.stringify(this);for(let e of this.items)if(!i.isPair(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),t.stringifyCollection(this,e,{blockItemPrefix:``,flowChars:{start:`{`,end:`}`},itemIndent:e.indent||``,onChompKeep:r,onComment:n})}},e.findPair=s})),di=P((e=>{var t=Ur(),n=ui();e.map={collection:`map`,default:!0,nodeClass:n.YAMLMap,tag:`tag:yaml.org,2002:map`,resolve(e,n){return t.isMap(e)||n(`Expected a mapping for this tag`),e},createNode:(e,t,r)=>n.YAMLMap.from(e,t,r)}})),fi=P((e=>{var t=Qr(),n=li(),r=$r(),i=Ur(),a=Zr(),o=Jr(),s=class extends r.Collection{static get tagName(){return`tag:yaml.org,2002:seq`}constructor(e){super(i.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=c(e);return typeof t==`number`?this.items.splice(t,1).length>0:!1}get(e,t){let n=c(e);if(typeof n!=`number`)return;let r=this.items[n];return!t&&i.isScalar(r)?r.value:r}has(e){let t=c(e);return typeof t==`number`&&t=0?t:null}e.YAMLSeq=s})),pi=P((e=>{var t=Ur(),n=fi();e.seq={collection:`seq`,default:!0,nodeClass:n.YAMLSeq,tag:`tag:yaml.org,2002:seq`,resolve(e,n){return t.isSeq(e)||n(`Expected a sequence for this tag`),e},createNode:(e,t,r)=>n.YAMLSeq.from(e,t,r)}})),mi=P((e=>{var t=ni();e.string={identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify(e,n,r,i){return n=Object.assign({actualString:!0},n),t.stringifyString(e,n,r,i)}}})),hi=P((e=>{var t=Zr();let n={identify:e=>e==null,createNode:()=>new t.Scalar(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new t.Scalar(null),stringify:({source:e},t)=>typeof e==`string`&&n.test.test(e)?e:t.options.nullStr};e.nullTag=n})),gi=P((e=>{var t=Zr();let n={identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new t.Scalar(e[0]===`t`||e[0]===`T`),stringify({source:e,value:t},r){return e&&n.test.test(e)&&t===(e[0]===`t`||e[0]===`T`)?e:t?r.options.trueStr:r.options.falseStr}};e.boolTag=n})),_i=P((e=>{function t({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r==`bigint`)return String(r);let i=typeof r==`number`?r:Number(r);if(!isFinite(i))return isNaN(i)?`.nan`:i<0?`-.inf`:`.inf`;let a=Object.is(r,-0)?`-0`:JSON.stringify(r);if(!e&&t&&(!n||n===`tag:yaml.org,2002:float`)&&/^-?\d/.test(a)&&!a.includes(`e`)){let e=a.indexOf(`.`);e<0&&(e=a.length,a+=`.`);let n=t-(a.length-e-1);for(;n-- >0;)a+=`0`}return a}e.stringifyNumber=t})),vi=P((e=>{var t=Zr(),n=_i();let r={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:n.stringifyNumber};e.float={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let n=new t.Scalar(parseFloat(e)),r=e.indexOf(`.`);return r!==-1&&e[e.length-1]===`0`&&(n.minFractionDigits=e.length-r-1),n},stringify:n.stringifyNumber},e.floatExp={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`EXP`,test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():n.stringifyNumber(e)}},e.floatNaN=r})),yi=P((e=>{var t=_i();let n=e=>typeof e==`bigint`||Number.isInteger(e),r=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function i(e,r,i){let{value:a}=e;return n(a)&&a>=0?i+a.toString(r):t.stringifyNumber(e)}e.int={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>r(e,0,10,n),stringify:t.stringifyNumber},e.intHex={identify:e=>n(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>r(e,2,16,n),stringify:e=>i(e,16,`0x`)},e.intOct={identify:e=>n(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^0o[0-7]+$/,resolve:(e,t,n)=>r(e,2,8,n),stringify:e=>i(e,8,`0o`)}})),bi=P((e=>{var t=di(),n=hi(),r=pi(),i=mi(),a=gi(),o=vi(),s=yi();e.schema=[t.map,r.seq,i.string,n.nullTag,a.boolTag,s.intOct,s.int,s.intHex,o.floatNaN,o.floatExp,o.float]})),xi=P((e=>{var t=Zr(),n=di(),r=pi();function i(e){return typeof e==`bigint`||Number.isInteger(e)}let a=({value:e})=>JSON.stringify(e),o=[{identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify:a},{identify:e=>e==null,createNode:()=>new t.Scalar(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^null$/,resolve:()=>null,stringify:a},{identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^true$|^false$/,resolve:e=>e===`true`,stringify:a},{identify:i,default:!0,tag:`tag:yaml.org,2002:int`,test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>i(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:a}];e.schema=[n.map,r.seq].concat(o,{default:!0,tag:``,test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}})})),Si=P((e=>{var t=F(`buffer`),n=Zr(),r=ni();e.binary={identify:e=>e instanceof Uint8Array,default:!1,tag:`tag:yaml.org,2002:binary`,resolve(e,n){if(typeof t.Buffer==`function`)return t.Buffer.from(e,`base64`);if(typeof atob==`function`){let t=atob(e.replace(/[\n\r]/g,``)),n=new Uint8Array(t.length);for(let e=0;e{var t=Ur(),n=ci(),r=Zr(),i=fi();function a(e,i){if(t.isSeq(e))for(let a=0;a1&&i(`Each pair must have its own sequence indicator`);let e=o.items[0]||new n.Pair(new r.Scalar(null));if(o.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${o.commentBefore}\n${e.key.commentBefore}`:o.commentBefore),o.comment){let t=e.value??e.key;t.comment=t.comment?`${o.comment}\n${t.comment}`:o.comment}o=e}e.items[a]=t.isPair(o)?o:new n.Pair(o)}}else i(`Expected a sequence for this tag`);return e}function o(e,t,r){let{replacer:a}=r,o=new i.YAMLSeq(e);o.tag=`tag:yaml.org,2002:pairs`;let s=0;if(t&&Symbol.iterator in Object(t))for(let e of t){typeof a==`function`&&(e=a.call(t,String(s++),e));let i,c;if(Array.isArray(e))if(e.length===2)i=e[0],c=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(t.length===1)i=t[0],c=e[i];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else i=e;o.items.push(n.createPair(i,c,r))}return o}let s={collection:`seq`,default:!1,tag:`tag:yaml.org,2002:pairs`,resolve:a,createNode:o};e.createPairs=o,e.pairs=s,e.resolvePairs=a})),wi=P((e=>{var t=Ur(),n=Jr(),r=ui(),i=fi(),a=Ci(),o=class e extends i.YAMLSeq{constructor(){super(),this.add=r.YAMLMap.prototype.add.bind(this),this.delete=r.YAMLMap.prototype.delete.bind(this),this.get=r.YAMLMap.prototype.get.bind(this),this.has=r.YAMLMap.prototype.has.bind(this),this.set=r.YAMLMap.prototype.set.bind(this),this.tag=e.tag}toJSON(e,r){if(!r)return super.toJSON(e);let i=new Map;r?.onCreate&&r.onCreate(i);for(let e of this.items){let a,o;if(t.isPair(e)?(a=n.toJS(e.key,``,r),o=n.toJS(e.value,a,r)):a=n.toJS(e,``,r),i.has(a))throw Error(`Ordered maps must not include duplicate keys`);i.set(a,o)}return i}static from(e,t,n){let r=a.createPairs(e,t,n),i=new this;return i.items=r.items,i}};o.tag=`tag:yaml.org,2002:omap`;let s={collection:`seq`,identify:e=>e instanceof Map,nodeClass:o,default:!1,tag:`tag:yaml.org,2002:omap`,resolve(e,n){let r=a.resolvePairs(e,n),i=[];for(let{key:e}of r.items)t.isScalar(e)&&(i.includes(e.value)?n(`Ordered maps must not include duplicate keys: ${e.value}`):i.push(e.value));return Object.assign(new o,r)},createNode:(e,t,n)=>o.from(e,t,n)};e.YAMLOMap=o,e.omap=s})),Ti=P((e=>{var t=Zr();function n({value:e,source:t},n){return t&&(e?r:i).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let r={identify:e=>e===!0,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new t.Scalar(!0),stringify:n},i={identify:e=>e===!1,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new t.Scalar(!1),stringify:n};e.falseTag=i,e.trueTag=r})),Ei=P((e=>{var t=Zr(),n=_i();let r={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:n.stringifyNumber};e.float={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let n=new t.Scalar(parseFloat(e.replace(/_/g,``))),r=e.indexOf(`.`);if(r!==-1){let t=e.substring(r+1).replace(/_/g,``);t[t.length-1]===`0`&&(n.minFractionDigits=t.length)}return n},stringify:n.stringifyNumber},e.floatExp={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`EXP`,test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,``)),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():n.stringifyNumber(e)}},e.floatNaN=r})),Di=P((e=>{var t=_i();let n=e=>typeof e==`bigint`||Number.isInteger(e);function r(e,t,n,{intAsBigInt:r}){let i=e[0];if((i===`-`||i===`+`)&&(t+=1),e=e.substring(t).replace(/_/g,``),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}let t=BigInt(e);return i===`-`?BigInt(-1)*t:t}let a=parseInt(e,n);return i===`-`?-1*a:a}function i(e,r,i){let{value:a}=e;if(n(a)){let e=a.toString(r);return a<0?`-`+i+e.substr(1):i+e}return t.stringifyNumber(e)}let a={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,format:`BIN`,test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>r(e,2,2,n),stringify:e=>i(e,2,`0b`)},o={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>r(e,1,8,n),stringify:e=>i(e,8,`0`)},s={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>r(e,0,10,n),stringify:t.stringifyNumber},c={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>r(e,2,16,n),stringify:e=>i(e,16,`0x`)};e.int=s,e.intBin=a,e.intHex=c,e.intOct=o})),Oi=P((e=>{var t=Ur(),n=ci(),r=ui(),i=class e extends r.YAMLMap{constructor(t){super(t),this.tag=e.tag}add(e){let i;i=t.isPair(e)?e:e&&typeof e==`object`&&`key`in e&&`value`in e&&e.value===null?new n.Pair(e.key,null):new n.Pair(e,null),r.findPair(this.items,i.key)||this.items.push(i)}get(e,n){let i=r.findPair(this.items,e);return!n&&t.isPair(i)?t.isScalar(i.key)?i.key.value:i.key:i}set(e,t){if(typeof t!=`boolean`)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let i=r.findPair(this.items,e);i&&!t?this.items.splice(this.items.indexOf(i),1):!i&&t&&this.items.push(new n.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error(`Set items must all have null values`)}static from(e,t,r){let{replacer:i}=r,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)typeof i==`function`&&(e=i.call(t,e,e)),a.items.push(n.createPair(e,null,r));return a}};i.tag=`tag:yaml.org,2002:set`;let a={collection:`map`,identify:e=>e instanceof Set,nodeClass:i,default:!1,tag:`tag:yaml.org,2002:set`,createNode:(e,t,n)=>i.from(e,t,n),resolve(e,n){if(t.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new i,e);n(`Set items must all have null values`)}else n(`Expected a mapping for this tag`);return e}};e.YAMLSet=i,e.set=a})),ki=P((e=>{var t=_i();function n(e,t){let n=e[0],r=n===`-`||n===`+`?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,``).split(`:`).reduce((e,t)=>e*i(60)+i(t),i(0));return n===`-`?i(-1)*a:a}function r(e){let{value:n}=e,r=e=>e;if(typeof n==`bigint`)r=e=>BigInt(e);else if(isNaN(n)||!isFinite(n))return t.stringifyNumber(e);let i=``;n<0&&(i=`-`,n*=r(-1));let a=r(60),o=[n%a];return n<60?o.unshift(0):(n=(n-o[0])/a,o.unshift(n%a),n>=60&&(n=(n-o[0])/a,o.unshift(n))),i+o.map(e=>String(e).padStart(2,`0`)).join(`:`).replace(/000000\d*$/,``)}let i={identify:e=>typeof e==`bigint`||Number.isInteger(e),default:!0,tag:`tag:yaml.org,2002:int`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>n(e,r),stringify:r},a={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>n(e,!1),stringify:r},o={identify:e=>e instanceof Date,default:!0,tag:`tag:yaml.org,2002:timestamp`,test:RegExp(`^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$`),resolve(e){let t=e.match(o.test);if(!t)throw Error(`!!timestamp expects a date, starting with yyyy-mm-dd`);let[,r,i,a,s,c,l]=t.map(Number),u=t[7]?Number((t[7]+`00`).substr(1,3)):0,d=Date.UTC(r,i-1,a,s||0,c||0,l||0,u),f=t[8];if(f&&f!==`Z`){let e=n(f,!1);Math.abs(e)<30&&(e*=60),d-=6e4*e}return new Date(d)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,``)??``};e.floatTime=a,e.intTime=i,e.timestamp=o})),Ai=P((e=>{var t=di(),n=hi(),r=pi(),i=mi(),a=Si(),o=Ti(),s=Ei(),c=Di(),l=oi(),u=wi(),d=Ci(),f=Oi(),p=ki();e.schema=[t.map,r.seq,i.string,n.nullTag,o.trueTag,o.falseTag,c.intBin,c.intOct,c.int,c.intHex,s.floatNaN,s.floatExp,s.float,a.binary,l.merge,u.omap,d.pairs,f.set,p.intTime,p.floatTime,p.timestamp]})),ji=P((e=>{var t=di(),n=hi(),r=pi(),i=mi(),a=gi(),o=vi(),s=yi(),c=bi(),l=xi(),u=Si(),d=oi(),f=wi(),p=Ci(),m=Ai(),h=Oi(),g=ki();let _=new Map([[`core`,c.schema],[`failsafe`,[t.map,r.seq,i.string]],[`json`,l.schema],[`yaml11`,m.schema],[`yaml-1.1`,m.schema]]),v={binary:u.binary,bool:a.boolTag,float:o.float,floatExp:o.floatExp,floatNaN:o.floatNaN,floatTime:g.floatTime,int:s.int,intHex:s.intHex,intOct:s.intOct,intTime:g.intTime,map:t.map,merge:d.merge,null:n.nullTag,omap:f.omap,pairs:p.pairs,seq:r.seq,set:h.set,timestamp:g.timestamp},y={"tag:yaml.org,2002:binary":u.binary,"tag:yaml.org,2002:merge":d.merge,"tag:yaml.org,2002:omap":f.omap,"tag:yaml.org,2002:pairs":p.pairs,"tag:yaml.org,2002:set":h.set,"tag:yaml.org,2002:timestamp":g.timestamp};function b(e,t,n){let r=_.get(t);if(r&&!e)return n&&!r.includes(d.merge)?r.concat(d.merge):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(_.keys()).filter(e=>e!==`yaml11`).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else typeof e==`function`&&(i=e(i.slice()));return n&&(i=i.concat(d.merge)),i.reduce((e,t)=>{let n=typeof t==`string`?v[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(v).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}e.coreKnownTags=y,e.getTags=b})),Mi=P((e=>{var t=Ur(),n=di(),r=pi(),i=mi(),a=ji();let o=(e,t)=>e.keyt.key);e.Schema=class e{constructor({compat:e,customTags:s,merge:c,resolveKnownTags:l,schema:u,sortMapEntries:d,toStringDefaults:f}){this.compat=Array.isArray(e)?a.getTags(e,`compat`):e?a.getTags(null,e):null,this.name=typeof u==`string`&&u||`core`,this.knownTags=l?a.coreKnownTags:{},this.tags=a.getTags(s,this.name,c),this.toStringOptions=f??null,Object.defineProperty(this,t.MAP,{value:n.map}),Object.defineProperty(this,t.SCALAR,{value:i.string}),Object.defineProperty(this,t.SEQ,{value:r.seq}),this.sortMapEntries=typeof d==`function`?d:d===!0?o:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}})),Ni=P((e=>{var t=Ur(),n=ri(),r=ei();function i(e,i){let a=[],o=i.directives===!0;if(i.directives!==!1&&e.directives){let t=e.directives.toString(e);t?(a.push(t),o=!0):e.directives.docStart&&(o=!0)}o&&a.push(`---`);let s=n.createStringifyContext(e,i),{commentString:c}=s.options;if(e.commentBefore){a.length!==1&&a.unshift(``);let t=c(e.commentBefore);a.unshift(r.indentComment(t,``))}let l=!1,u=null;if(e.contents){if(t.isNode(e.contents)){if(e.contents.spaceBefore&&o&&a.push(``),e.contents.commentBefore){let t=c(e.contents.commentBefore);a.push(r.indentComment(t,``))}s.forceBlockIndent=!!e.comment,u=e.contents.comment}let i=u?void 0:()=>l=!0,d=n.stringify(e.contents,s,()=>u=null,i);u&&(d+=r.lineComment(d,``,c(u))),(d[0]===`|`||d[0]===`>`)&&a[a.length-1]===`---`?a[a.length-1]=`--- ${d}`:a.push(d)}else a.push(n.stringify(e.contents,s));if(e.directives?.docEnd)if(e.comment){let t=c(e.comment);t.includes(` +`;return`${e}\n${c}${_}`}else return`${g}${u}${h.join(` `)}${u}${_}`}function s({indent:e,options:{commentString:t}},n,i,a){if(i&&a&&(i=i.replace(/^\n+/,``)),i){let a=r.indentComment(t(i),e);n.push(a.trimStart())}}e.stringifyCollection=i})),pi=P((e=>{var t=fi(),n=ui(),r=ni(),i=Kr(),a=di(),o=ei();function s(e,t){let n=i.isScalar(t)?t.value:t;for(let r of e)if(i.isPair(r)&&(r.key===t||r.key===n||i.isScalar(r.key)&&r.key.value===n))return r}e.YAMLMap=class extends r.Collection{static get tagName(){return`tag:yaml.org,2002:map`}constructor(e){super(i.MAP,e),this.items=[]}static from(e,t,n){let{keepUndefined:r,replacer:i}=n,o=new this(e),s=(e,s)=>{if(typeof i==`function`)s=i.call(t,e,s);else if(Array.isArray(i)&&!i.includes(e))return;(s!==void 0||r)&&o.items.push(a.createPair(e,s,n))};if(t instanceof Map)for(let[e,n]of t)s(e,n);else if(t&&typeof t==`object`)for(let e of Object.keys(t))s(e,t[e]);return typeof e.sortMapEntries==`function`&&o.items.sort(e.sortMapEntries),o}add(e,t){let n;n=i.isPair(e)?e:!e||typeof e!=`object`||!(`key`in e)?new a.Pair(e,e?.value):new a.Pair(e.key,e.value);let r=s(this.items,n.key),c=this.schema?.sortMapEntries;if(r){if(!t)throw Error(`Key ${n.key} already set`);i.isScalar(r.value)&&o.isScalarValue(n.value)?r.value.value=n.value:r.value=n.value}else if(c){let e=this.items.findIndex(e=>c(n,e)<0);e===-1?this.items.push(n):this.items.splice(e,0,n)}else this.items.push(n)}delete(e){let t=s(this.items,e);return t?this.items.splice(this.items.indexOf(t),1).length>0:!1}get(e,t){let n=s(this.items,e)?.value;return(!t&&i.isScalar(n)?n.value:n)??void 0}has(e){return!!s(this.items,e)}set(e,t){this.add(new a.Pair(e,t),!0)}toJSON(e,t,r){let i=r?new r:t?.mapAsMap?new Map:{};t?.onCreate&&t.onCreate(i);for(let e of this.items)n.addPairToJSMap(t,i,e);return i}toString(e,n,r){if(!e)return JSON.stringify(this);for(let e of this.items)if(!i.isPair(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),t.stringifyCollection(this,e,{blockItemPrefix:``,flowChars:{start:`{`,end:`}`},itemIndent:e.indent||``,onChompKeep:r,onComment:n})}},e.findPair=s})),mi=P((e=>{var t=Kr(),n=pi();e.map={collection:`map`,default:!0,nodeClass:n.YAMLMap,tag:`tag:yaml.org,2002:map`,resolve(e,n){return t.isMap(e)||n(`Expected a mapping for this tag`),e},createNode:(e,t,r)=>n.YAMLMap.from(e,t,r)}})),hi=P((e=>{var t=ti(),n=fi(),r=ni(),i=Kr(),a=ei(),o=Zr(),s=class extends r.Collection{static get tagName(){return`tag:yaml.org,2002:seq`}constructor(e){super(i.SEQ,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=c(e);return typeof t==`number`?this.items.splice(t,1).length>0:!1}get(e,t){let n=c(e);if(typeof n!=`number`)return;let r=this.items[n];return!t&&i.isScalar(r)?r.value:r}has(e){let t=c(e);return typeof t==`number`&&t=0?t:null}e.YAMLSeq=s})),gi=P((e=>{var t=Kr(),n=hi();e.seq={collection:`seq`,default:!0,nodeClass:n.YAMLSeq,tag:`tag:yaml.org,2002:seq`,resolve(e,n){return t.isSeq(e)||n(`Expected a sequence for this tag`),e},createNode:(e,t,r)=>n.YAMLSeq.from(e,t,r)}})),_i=P((e=>{var t=ai();e.string={identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify(e,n,r,i){return n=Object.assign({actualString:!0},n),t.stringifyString(e,n,r,i)}}})),vi=P((e=>{var t=ei();let n={identify:e=>e==null,createNode:()=>new t.Scalar(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new t.Scalar(null),stringify:({source:e},t)=>typeof e==`string`&&n.test.test(e)?e:t.options.nullStr};e.nullTag=n})),yi=P((e=>{var t=ei();let n={identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new t.Scalar(e[0]===`t`||e[0]===`T`),stringify({source:e,value:t},r){return e&&n.test.test(e)&&t===(e[0]===`t`||e[0]===`T`)?e:t?r.options.trueStr:r.options.falseStr}};e.boolTag=n})),bi=P((e=>{function t({format:e,minFractionDigits:t,tag:n,value:r}){if(typeof r==`bigint`)return String(r);let i=typeof r==`number`?r:Number(r);if(!isFinite(i))return isNaN(i)?`.nan`:i<0?`-.inf`:`.inf`;let a=Object.is(r,-0)?`-0`:JSON.stringify(r);if(!e&&t&&(!n||n===`tag:yaml.org,2002:float`)&&/^-?\d/.test(a)&&!a.includes(`e`)){let e=a.indexOf(`.`);e<0&&(e=a.length,a+=`.`);let n=t-(a.length-e-1);for(;n-- >0;)a+=`0`}return a}e.stringifyNumber=t})),xi=P((e=>{var t=ei(),n=bi();let r={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:n.stringifyNumber};e.float={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let n=new t.Scalar(parseFloat(e)),r=e.indexOf(`.`);return r!==-1&&e[e.length-1]===`0`&&(n.minFractionDigits=e.length-r-1),n},stringify:n.stringifyNumber},e.floatExp={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`EXP`,test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():n.stringifyNumber(e)}},e.floatNaN=r})),Si=P((e=>{var t=bi();let n=e=>typeof e==`bigint`||Number.isInteger(e),r=(e,t,n,{intAsBigInt:r})=>r?BigInt(e):parseInt(e.substring(t),n);function i(e,r,i){let{value:a}=e;return n(a)&&a>=0?i+a.toString(r):t.stringifyNumber(e)}e.int={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9]+$/,resolve:(e,t,n)=>r(e,0,10,n),stringify:t.stringifyNumber},e.intHex={identify:e=>n(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,n)=>r(e,2,16,n),stringify:e=>i(e,16,`0x`)},e.intOct={identify:e=>n(e)&&e>=0,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^0o[0-7]+$/,resolve:(e,t,n)=>r(e,2,8,n),stringify:e=>i(e,8,`0o`)}})),Ci=P((e=>{var t=mi(),n=vi(),r=gi(),i=_i(),a=yi(),o=xi(),s=Si();e.schema=[t.map,r.seq,i.string,n.nullTag,a.boolTag,s.intOct,s.int,s.intHex,o.floatNaN,o.floatExp,o.float]})),wi=P((e=>{var t=ei(),n=mi(),r=gi();function i(e){return typeof e==`bigint`||Number.isInteger(e)}let a=({value:e})=>JSON.stringify(e),o=[{identify:e=>typeof e==`string`,default:!0,tag:`tag:yaml.org,2002:str`,resolve:e=>e,stringify:a},{identify:e=>e==null,createNode:()=>new t.Scalar(null),default:!0,tag:`tag:yaml.org,2002:null`,test:/^null$/,resolve:()=>null,stringify:a},{identify:e=>typeof e==`boolean`,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^true$|^false$/,resolve:e=>e===`true`,stringify:a},{identify:i,default:!0,tag:`tag:yaml.org,2002:int`,test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:n})=>n?BigInt(e):parseInt(e,10),stringify:({value:e})=>i(e)?e.toString():JSON.stringify(e)},{identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:a}];e.schema=[n.map,r.seq].concat(o,{default:!0,tag:``,test:/^/,resolve(e,t){return t(`Unresolved plain scalar ${JSON.stringify(e)}`),e}})})),Ti=P((e=>{var t=F(`buffer`),n=ei(),r=ai();e.binary={identify:e=>e instanceof Uint8Array,default:!1,tag:`tag:yaml.org,2002:binary`,resolve(e,n){if(typeof t.Buffer==`function`)return t.Buffer.from(e,`base64`);if(typeof atob==`function`){let t=atob(e.replace(/[\n\r]/g,``)),n=new Uint8Array(t.length);for(let e=0;e{var t=Kr(),n=di(),r=ei(),i=hi();function a(e,i){if(t.isSeq(e))for(let a=0;a1&&i(`Each pair must have its own sequence indicator`);let e=o.items[0]||new n.Pair(new r.Scalar(null));if(o.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${o.commentBefore}\n${e.key.commentBefore}`:o.commentBefore),o.comment){let t=e.value??e.key;t.comment=t.comment?`${o.comment}\n${t.comment}`:o.comment}o=e}e.items[a]=t.isPair(o)?o:new n.Pair(o)}}else i(`Expected a sequence for this tag`);return e}function o(e,t,r){let{replacer:a}=r,o=new i.YAMLSeq(e);o.tag=`tag:yaml.org,2002:pairs`;let s=0;if(t&&Symbol.iterator in Object(t))for(let e of t){typeof a==`function`&&(e=a.call(t,String(s++),e));let i,c;if(Array.isArray(e))if(e.length===2)i=e[0],c=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(t.length===1)i=t[0],c=e[i];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else i=e;o.items.push(n.createPair(i,c,r))}return o}let s={collection:`seq`,default:!1,tag:`tag:yaml.org,2002:pairs`,resolve:a,createNode:o};e.createPairs=o,e.pairs=s,e.resolvePairs=a})),Di=P((e=>{var t=Kr(),n=Zr(),r=pi(),i=hi(),a=Ei(),o=class e extends i.YAMLSeq{constructor(){super(),this.add=r.YAMLMap.prototype.add.bind(this),this.delete=r.YAMLMap.prototype.delete.bind(this),this.get=r.YAMLMap.prototype.get.bind(this),this.has=r.YAMLMap.prototype.has.bind(this),this.set=r.YAMLMap.prototype.set.bind(this),this.tag=e.tag}toJSON(e,r){if(!r)return super.toJSON(e);let i=new Map;r?.onCreate&&r.onCreate(i);for(let e of this.items){let a,o;if(t.isPair(e)?(a=n.toJS(e.key,``,r),o=n.toJS(e.value,a,r)):a=n.toJS(e,``,r),i.has(a))throw Error(`Ordered maps must not include duplicate keys`);i.set(a,o)}return i}static from(e,t,n){let r=a.createPairs(e,t,n),i=new this;return i.items=r.items,i}};o.tag=`tag:yaml.org,2002:omap`;let s={collection:`seq`,identify:e=>e instanceof Map,nodeClass:o,default:!1,tag:`tag:yaml.org,2002:omap`,resolve(e,n){let r=a.resolvePairs(e,n),i=[];for(let{key:e}of r.items)t.isScalar(e)&&(i.includes(e.value)?n(`Ordered maps must not include duplicate keys: ${e.value}`):i.push(e.value));return Object.assign(new o,r)},createNode:(e,t,n)=>o.from(e,t,n)};e.YAMLOMap=o,e.omap=s})),Oi=P((e=>{var t=ei();function n({value:e,source:t},n){return t&&(e?r:i).test.test(t)?t:e?n.options.trueStr:n.options.falseStr}let r={identify:e=>e===!0,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new t.Scalar(!0),stringify:n},i={identify:e=>e===!1,default:!0,tag:`tag:yaml.org,2002:bool`,test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>new t.Scalar(!1),stringify:n};e.falseTag=i,e.trueTag=r})),ki=P((e=>{var t=ei(),n=bi();let r={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>e.slice(-3).toLowerCase()===`nan`?NaN:e[0]===`-`?-1/0:1/0,stringify:n.stringifyNumber};e.float={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let n=new t.Scalar(parseFloat(e.replace(/_/g,``))),r=e.indexOf(`.`);if(r!==-1){let t=e.substring(r+1).replace(/_/g,``);t[t.length-1]===`0`&&(n.minFractionDigits=t.length)}return n},stringify:n.stringifyNumber},e.floatExp={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`EXP`,test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,``)),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():n.stringifyNumber(e)}},e.floatNaN=r})),Ai=P((e=>{var t=bi();let n=e=>typeof e==`bigint`||Number.isInteger(e);function r(e,t,n,{intAsBigInt:r}){let i=e[0];if((i===`-`||i===`+`)&&(t+=1),e=e.substring(t).replace(/_/g,``),r){switch(n){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`;break}let t=BigInt(e);return i===`-`?BigInt(-1)*t:t}let a=parseInt(e,n);return i===`-`?-1*a:a}function i(e,r,i){let{value:a}=e;if(n(a)){let e=a.toString(r);return a<0?`-`+i+e.substr(1):i+e}return t.stringifyNumber(e)}let a={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,format:`BIN`,test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,n)=>r(e,2,2,n),stringify:e=>i(e,2,`0b`)},o={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,format:`OCT`,test:/^[-+]?0[0-7_]+$/,resolve:(e,t,n)=>r(e,1,8,n),stringify:e=>i(e,8,`0`)},s={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,n)=>r(e,0,10,n),stringify:t.stringifyNumber},c={identify:n,default:!0,tag:`tag:yaml.org,2002:int`,format:`HEX`,test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,n)=>r(e,2,16,n),stringify:e=>i(e,16,`0x`)};e.int=s,e.intBin=a,e.intHex=c,e.intOct=o})),ji=P((e=>{var t=Kr(),n=di(),r=pi(),i=class e extends r.YAMLMap{constructor(t){super(t),this.tag=e.tag}add(e){let i;i=t.isPair(e)?e:e&&typeof e==`object`&&`key`in e&&`value`in e&&e.value===null?new n.Pair(e.key,null):new n.Pair(e,null),r.findPair(this.items,i.key)||this.items.push(i)}get(e,n){let i=r.findPair(this.items,e);return!n&&t.isPair(i)?t.isScalar(i.key)?i.key.value:i.key:i}set(e,t){if(typeof t!=`boolean`)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let i=r.findPair(this.items,e);i&&!t?this.items.splice(this.items.indexOf(i),1):!i&&t&&this.items.push(new n.Pair(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,n){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,n);throw Error(`Set items must all have null values`)}static from(e,t,r){let{replacer:i}=r,a=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)typeof i==`function`&&(e=i.call(t,e,e)),a.items.push(n.createPair(e,null,r));return a}};i.tag=`tag:yaml.org,2002:set`;let a={collection:`map`,identify:e=>e instanceof Set,nodeClass:i,default:!1,tag:`tag:yaml.org,2002:set`,createNode:(e,t,n)=>i.from(e,t,n),resolve(e,n){if(t.isMap(e)){if(e.hasAllNullValues(!0))return Object.assign(new i,e);n(`Set items must all have null values`)}else n(`Expected a mapping for this tag`);return e}};e.YAMLSet=i,e.set=a})),Mi=P((e=>{var t=bi();function n(e,t){let n=e[0],r=n===`-`||n===`+`?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=r.replace(/_/g,``).split(`:`).reduce((e,t)=>e*i(60)+i(t),i(0));return n===`-`?i(-1)*a:a}function r(e){let{value:n}=e,r=e=>e;if(typeof n==`bigint`)r=e=>BigInt(e);else if(isNaN(n)||!isFinite(n))return t.stringifyNumber(e);let i=``;n<0&&(i=`-`,n*=r(-1));let a=r(60),o=[n%a];return n<60?o.unshift(0):(n=(n-o[0])/a,o.unshift(n%a),n>=60&&(n=(n-o[0])/a,o.unshift(n))),i+o.map(e=>String(e).padStart(2,`0`)).join(`:`).replace(/000000\d*$/,``)}let i={identify:e=>typeof e==`bigint`||Number.isInteger(e),default:!0,tag:`tag:yaml.org,2002:int`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>n(e,r),stringify:r},a={identify:e=>typeof e==`number`,default:!0,tag:`tag:yaml.org,2002:float`,format:`TIME`,test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>n(e,!1),stringify:r},o={identify:e=>e instanceof Date,default:!0,tag:`tag:yaml.org,2002:timestamp`,test:RegExp(`^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$`),resolve(e){let t=e.match(o.test);if(!t)throw Error(`!!timestamp expects a date, starting with yyyy-mm-dd`);let[,r,i,a,s,c,l]=t.map(Number),u=t[7]?Number((t[7]+`00`).substr(1,3)):0,d=Date.UTC(r,i-1,a,s||0,c||0,l||0,u),f=t[8];if(f&&f!==`Z`){let e=n(f,!1);Math.abs(e)<30&&(e*=60),d-=6e4*e}return new Date(d)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,``)??``};e.floatTime=a,e.intTime=i,e.timestamp=o})),Ni=P((e=>{var t=mi(),n=vi(),r=gi(),i=_i(),a=Ti(),o=Oi(),s=ki(),c=Ai(),l=li(),u=Di(),d=Ei(),f=ji(),p=Mi();e.schema=[t.map,r.seq,i.string,n.nullTag,o.trueTag,o.falseTag,c.intBin,c.intOct,c.int,c.intHex,s.floatNaN,s.floatExp,s.float,a.binary,l.merge,u.omap,d.pairs,f.set,p.intTime,p.floatTime,p.timestamp]})),Pi=P((e=>{var t=mi(),n=vi(),r=gi(),i=_i(),a=yi(),o=xi(),s=Si(),c=Ci(),l=wi(),u=Ti(),d=li(),f=Di(),p=Ei(),m=Ni(),h=ji(),g=Mi();let _=new Map([[`core`,c.schema],[`failsafe`,[t.map,r.seq,i.string]],[`json`,l.schema],[`yaml11`,m.schema],[`yaml-1.1`,m.schema]]),v={binary:u.binary,bool:a.boolTag,float:o.float,floatExp:o.floatExp,floatNaN:o.floatNaN,floatTime:g.floatTime,int:s.int,intHex:s.intHex,intOct:s.intOct,intTime:g.intTime,map:t.map,merge:d.merge,null:n.nullTag,omap:f.omap,pairs:p.pairs,seq:r.seq,set:h.set,timestamp:g.timestamp},y={"tag:yaml.org,2002:binary":u.binary,"tag:yaml.org,2002:merge":d.merge,"tag:yaml.org,2002:omap":f.omap,"tag:yaml.org,2002:pairs":p.pairs,"tag:yaml.org,2002:set":h.set,"tag:yaml.org,2002:timestamp":g.timestamp};function b(e,t,n){let r=_.get(t);if(r&&!e)return n&&!r.includes(d.merge)?r.concat(d.merge):r.slice();let i=r;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(_.keys()).filter(e=>e!==`yaml11`).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else typeof e==`function`&&(i=e(i.slice()));return n&&(i=i.concat(d.merge)),i.reduce((e,t)=>{let n=typeof t==`string`?v[t]:t;if(!n){let e=JSON.stringify(t),n=Object.keys(v).map(e=>JSON.stringify(e)).join(`, `);throw Error(`Unknown custom tag ${e}; use one of ${n}`)}return e.includes(n)||e.push(n),e},[])}e.coreKnownTags=y,e.getTags=b})),Fi=P((e=>{var t=Kr(),n=mi(),r=gi(),i=_i(),a=Pi();let o=(e,t)=>e.keyt.key);e.Schema=class e{constructor({compat:e,customTags:s,merge:c,resolveKnownTags:l,schema:u,sortMapEntries:d,toStringDefaults:f}){this.compat=Array.isArray(e)?a.getTags(e,`compat`):e?a.getTags(null,e):null,this.name=typeof u==`string`&&u||`core`,this.knownTags=l?a.coreKnownTags:{},this.tags=a.getTags(s,this.name,c),this.toStringOptions=f??null,Object.defineProperty(this,t.MAP,{value:n.map}),Object.defineProperty(this,t.SCALAR,{value:i.string}),Object.defineProperty(this,t.SEQ,{value:r.seq}),this.sortMapEntries=typeof d==`function`?d:d===!0?o:null}clone(){let t=Object.create(e.prototype,Object.getOwnPropertyDescriptors(this));return t.tags=this.tags.slice(),t}}})),Ii=P((e=>{var t=Kr(),n=oi(),r=ri();function i(e,i){let a=[],o=i.directives===!0;if(i.directives!==!1&&e.directives){let t=e.directives.toString(e);t?(a.push(t),o=!0):e.directives.docStart&&(o=!0)}o&&a.push(`---`);let s=n.createStringifyContext(e,i),{commentString:c}=s.options;if(e.commentBefore){a.length!==1&&a.unshift(``);let t=c(e.commentBefore);a.unshift(r.indentComment(t,``))}let l=!1,u=null;if(e.contents){if(t.isNode(e.contents)){if(e.contents.spaceBefore&&o&&a.push(``),e.contents.commentBefore){let t=c(e.contents.commentBefore);a.push(r.indentComment(t,``))}s.forceBlockIndent=!!e.comment,u=e.contents.comment}let i=u?void 0:()=>l=!0,d=n.stringify(e.contents,s,()=>u=null,i);u&&(d+=r.lineComment(d,``,c(u))),(d[0]===`|`||d[0]===`>`)&&a[a.length-1]===`---`?a[a.length-1]=`--- ${d}`:a.push(d)}else a.push(n.stringify(e.contents,s));if(e.directives?.docEnd)if(e.comment){let t=c(e.comment);t.includes(` `)?(a.push(`...`),a.push(r.indentComment(t,``))):a.push(`... ${t}`)}else a.push(`...`);else{let t=e.comment;t&&l&&(t=t.replace(/^\n+/,``)),t&&((!l||u)&&a[a.length-1]!==``&&a.push(``),a.push(r.indentComment(c(t),``)))}return a.join(` `)+` -`}e.stringifyDocument=i})),Pi=P((e=>{var t=Xr(),n=$r(),r=Ur(),i=ci(),a=Jr(),o=Mi(),s=Ni(),c=Kr(),l=qr(),u=Qr(),d=Gr(),f=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,r.NODE_TYPE,{value:r.DOC});let i=null;typeof t==`function`||Array.isArray(t)?i=t:n===void 0&&t&&(n=t,t=void 0);let a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:`warn`,prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:`1.2`},n);this.options=a;let{version:o}=a;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new d.Directives({version:o}),this.setSchema(o,n),this.contents=e===void 0?null:this.createNode(e,i,n)}clone(){let t=Object.create(e.prototype,{[r.NODE_TYPE]:{value:r.DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=r.isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){p(this.contents)&&this.contents.add(e)}addIn(e,t){p(this.contents)&&this.contents.addIn(e,t)}createAlias(e,n){if(!e.anchor){let t=c.anchorNames(this);e.anchor=!n||t.has(n)?c.findNewAnchor(n||`a`,t):n}return new t.Alias(e.anchor)}createNode(e,t,n){let i;if(typeof t==`function`)e=t.call({"":e},``,e),i=t;else if(Array.isArray(t)){let e=t.filter(e=>typeof e==`number`||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),i=t}else n===void 0&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:a,anchorPrefix:o,flow:s,keepUndefined:l,onTagObj:d,tag:f}=n??{},{onAnchor:p,setAnchors:m,sourceObjects:h}=c.createNodeAnchors(this,o||`a`),g={aliasDuplicateObjects:a??!0,keepUndefined:l??!1,onAnchor:p,onTagObj:d,replacer:i,schema:this.schema,sourceObjects:h},_=u.createNode(e,f,g);return s&&r.isCollection(_)&&(_.flow=!0),m(),_}createPair(e,t,n={}){let r=this.createNode(e,null,n),a=this.createNode(t,null,n);return new i.Pair(r,a)}delete(e){return p(this.contents)?this.contents.delete(e):!1}deleteIn(e){return n.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):p(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return r.isCollection(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return n.isEmptyPath(e)?!t&&r.isScalar(this.contents)?this.contents.value:this.contents:r.isCollection(this.contents)?this.contents.getIn(e,t):void 0}has(e){return r.isCollection(this.contents)?this.contents.has(e):!1}hasIn(e){return n.isEmptyPath(e)?this.contents!==void 0:r.isCollection(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=n.collectionFromPath(this.schema,[e],t):p(this.contents)&&this.contents.set(e,t)}setIn(e,t){n.isEmptyPath(e)?this.contents=t:this.contents==null?this.contents=n.collectionFromPath(this.schema,Array.from(e),t):p(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e==`number`&&(e=String(e));let n;switch(e){case`1.1`:this.directives?this.directives.yaml.version=`1.1`:this.directives=new d.Directives({version:`1.1`}),n={resolveKnownTags:!1,schema:`yaml-1.1`};break;case`1.2`:case`next`:this.directives?this.directives.yaml.version=e:this.directives=new d.Directives({version:e}),n={resolveKnownTags:!0,schema:`core`};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new o.Schema(Object.assign(n,t));else throw Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:o}={}){let s={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r==`number`?r:100},c=a.toJS(this.contents,t??``,s);if(typeof i==`function`)for(let{count:e,res:t}of s.anchors.values())i(t,e);return typeof o==`function`?l.applyReviver(o,{"":c},``,c):c}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error(`Document with errors cannot be stringified`);if(`indent`in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return s.stringifyDocument(this,e)}};function p(e){if(r.isCollection(e))return!0;throw Error(`Expected a YAML collection as document contents`)}e.Document=f})),Fi=P((e=>{var t=class extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}},n=class extends t{constructor(e,t,n){super(`YAMLParseError`,e,t,n)}},r=class extends t{constructor(e,t,n){super(`YAMLWarning`,e,t,n)}};e.YAMLError=t,e.YAMLParseError=n,e.YAMLWarning=r,e.prettifyError=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,``);if(a>=60&&o.length>80){let e=Math.min(a-39,o.length-79);o=`…`+o.substring(e),a-=e-1}if(o.length>80&&(o=o.substring(0,79)+`…`),r>1&&/^ *$/.test(o.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+`… -`),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=` `.repeat(a)+`^`.repeat(e);n.message+=`:\n\n${o}\n${s}\n`}}})),Ii=P((e=>{function t(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:(!b||n!==`seq-item-ind`)&&(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let S=e[e.length-1],C=S?S.offset+S.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:C,start:x??C}}e.resolveProps=t})),Li=P((e=>{function t(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(` -`))return!0;if(e.end){for(let t of e.end)if(t.type===`newline`)return!0}return!1;case`flow-collection`:for(let n of e.items){for(let e of n.start)if(e.type===`newline`)return!0;if(n.sep){for(let e of n.sep)if(e.type===`newline`)return!0}if(t(n.key)||t(n.value))return!0}return!1;default:return!0}}e.containsNewline=t})),Ri=P((e=>{var t=Li();function n(e,n,r){if(n?.type===`flow-collection`){let i=n.end[0];i.indent===e&&(i.source===`]`||i.source===`}`)&&t.containsNewline(n)&&r(i,`BAD_INDENT`,`Flow end indicator should be more indented than parent`,!0)}}e.flowIndentCheck=n})),zi=P((e=>{var t=Ur();function n(e,n,r){let{uniqueKeys:i}=e.options;if(i===!1)return!1;let a=typeof i==`function`?i:(e,n)=>e===n||t.isScalar(e)&&t.isScalar(n)&&e.value===n.value;return n.some(e=>a(e.key,r))}e.mapIncludes=n})),Bi=P((e=>{var t=ci(),n=ui(),r=Ii(),i=Li(),a=Ri(),o=zi();let s=`All mapping items must start at the same column`;function c({composeNode:e,composeEmptyNode:c},l,u,d,f){let p=new(f?.nodeClass??n.YAMLMap)(l.schema);l.atRoot&&=!1;let m=u.offset,h=null;for(let n of u.items){let{start:f,key:g,sep:_,value:v}=n,y=r.resolveProps(f,{indicator:`explicit-key-ind`,next:g??_?.[0],offset:m,onError:d,parentIndent:u.indent,startOnNewline:!0}),b=!y.found;if(b){if(g&&(g.type===`block-seq`?d(m,`BLOCK_AS_IMPLICIT_KEY`,`A block sequence may not be used as an implicit map key`):`indent`in g&&g.indent!==u.indent&&d(m,`BAD_INDENT`,s)),!y.anchor&&!y.tag&&!_){h=y.end,y.comment&&(p.comment?p.comment+=` +`}e.stringifyDocument=i})),Li=P((e=>{var t=$r(),n=ni(),r=Kr(),i=di(),a=Zr(),o=Fi(),s=Ii(),c=Yr(),l=Xr(),u=ti(),d=Jr(),f=class e{constructor(e,t,n){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,r.NODE_TYPE,{value:r.DOC});let i=null;typeof t==`function`||Array.isArray(t)?i=t:n===void 0&&t&&(n=t,t=void 0);let a=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:`warn`,prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:`1.2`},n);this.options=a;let{version:o}=a;n?._directives?(this.directives=n._directives.atDocument(),this.directives.yaml.explicit&&(o=this.directives.yaml.version)):this.directives=new d.Directives({version:o}),this.setSchema(o,n),this.contents=e===void 0?null:this.createNode(e,i,n)}clone(){let t=Object.create(e.prototype,{[r.NODE_TYPE]:{value:r.DOC}});return t.commentBefore=this.commentBefore,t.comment=this.comment,t.errors=this.errors.slice(),t.warnings=this.warnings.slice(),t.options=Object.assign({},this.options),this.directives&&(t.directives=this.directives.clone()),t.schema=this.schema.clone(),t.contents=r.isNode(this.contents)?this.contents.clone(t.schema):this.contents,this.range&&(t.range=this.range.slice()),t}add(e){p(this.contents)&&this.contents.add(e)}addIn(e,t){p(this.contents)&&this.contents.addIn(e,t)}createAlias(e,n){if(!e.anchor){let t=c.anchorNames(this);e.anchor=!n||t.has(n)?c.findNewAnchor(n||`a`,t):n}return new t.Alias(e.anchor)}createNode(e,t,n){let i;if(typeof t==`function`)e=t.call({"":e},``,e),i=t;else if(Array.isArray(t)){let e=t.filter(e=>typeof e==`number`||e instanceof String||e instanceof Number).map(String);e.length>0&&(t=t.concat(e)),i=t}else n===void 0&&t&&(n=t,t=void 0);let{aliasDuplicateObjects:a,anchorPrefix:o,flow:s,keepUndefined:l,onTagObj:d,tag:f}=n??{},{onAnchor:p,setAnchors:m,sourceObjects:h}=c.createNodeAnchors(this,o||`a`),g={aliasDuplicateObjects:a??!0,keepUndefined:l??!1,onAnchor:p,onTagObj:d,replacer:i,schema:this.schema,sourceObjects:h},_=u.createNode(e,f,g);return s&&r.isCollection(_)&&(_.flow=!0),m(),_}createPair(e,t,n={}){let r=this.createNode(e,null,n),a=this.createNode(t,null,n);return new i.Pair(r,a)}delete(e){return p(this.contents)?this.contents.delete(e):!1}deleteIn(e){return n.isEmptyPath(e)?this.contents==null?!1:(this.contents=null,!0):p(this.contents)?this.contents.deleteIn(e):!1}get(e,t){return r.isCollection(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return n.isEmptyPath(e)?!t&&r.isScalar(this.contents)?this.contents.value:this.contents:r.isCollection(this.contents)?this.contents.getIn(e,t):void 0}has(e){return r.isCollection(this.contents)?this.contents.has(e):!1}hasIn(e){return n.isEmptyPath(e)?this.contents!==void 0:r.isCollection(this.contents)?this.contents.hasIn(e):!1}set(e,t){this.contents==null?this.contents=n.collectionFromPath(this.schema,[e],t):p(this.contents)&&this.contents.set(e,t)}setIn(e,t){n.isEmptyPath(e)?this.contents=t:this.contents==null?this.contents=n.collectionFromPath(this.schema,Array.from(e),t):p(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){typeof e==`number`&&(e=String(e));let n;switch(e){case`1.1`:this.directives?this.directives.yaml.version=`1.1`:this.directives=new d.Directives({version:`1.1`}),n={resolveKnownTags:!1,schema:`yaml-1.1`};break;case`1.2`:case`next`:this.directives?this.directives.yaml.version=e:this.directives=new d.Directives({version:e}),n={resolveKnownTags:!0,schema:`core`};break;case null:this.directives&&delete this.directives,n=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(n)this.schema=new o.Schema(Object.assign(n,t));else throw Error(`With a null YAML version, the { schema: Schema } option is required`)}toJS({json:e,jsonArg:t,mapAsMap:n,maxAliasCount:r,onAnchor:i,reviver:o}={}){let s={anchors:new Map,doc:this,keep:!e,mapAsMap:n===!0,mapKeyWarned:!1,maxAliasCount:typeof r==`number`?r:100},c=a.toJS(this.contents,t??``,s);if(typeof i==`function`)for(let{count:e,res:t}of s.anchors.values())i(t,e);return typeof o==`function`?l.applyReviver(o,{"":c},``,c):c}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error(`Document with errors cannot be stringified`);if(`indent`in e&&(!Number.isInteger(e.indent)||Number(e.indent)<=0)){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return s.stringifyDocument(this,e)}};function p(e){if(r.isCollection(e))return!0;throw Error(`Expected a YAML collection as document contents`)}e.Document=f})),Ri=P((e=>{var t=class extends Error{constructor(e,t,n,r){super(),this.name=e,this.code=n,this.message=r,this.pos=t}},n=class extends t{constructor(e,t,n){super(`YAMLParseError`,e,t,n)}},r=class extends t{constructor(e,t,n){super(`YAMLWarning`,e,t,n)}};e.YAMLError=t,e.YAMLParseError=n,e.YAMLWarning=r,e.prettifyError=(e,t)=>n=>{if(n.pos[0]===-1)return;n.linePos=n.pos.map(e=>t.linePos(e));let{line:r,col:i}=n.linePos[0];n.message+=` at line ${r}, column ${i}`;let a=i-1,o=e.substring(t.lineStarts[r-1],t.lineStarts[r]).replace(/[\n\r]+$/,``);if(a>=60&&o.length>80){let e=Math.min(a-39,o.length-79);o=`…`+o.substring(e),a-=e-1}if(o.length>80&&(o=o.substring(0,79)+`…`),r>1&&/^ *$/.test(o.substring(0,a))){let n=e.substring(t.lineStarts[r-2],t.lineStarts[r-1]);n.length>80&&(n=n.substring(0,79)+`… +`),o=n+o}if(/[^ ]/.test(o)){let e=1,t=n.linePos[1];t?.line===r&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=` `.repeat(a)+`^`.repeat(e);n.message+=`:\n\n${o}\n${s}\n`}}})),zi=P((e=>{function t(e,{flow:t,indicator:n,next:r,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let c=!1,l=s,u=s,d=``,f=``,p=!1,m=!1,h=null,g=null,_=null,v=null,y=null,b=null,x=null;for(let i of e)switch(m&&=(i.type!==`space`&&i.type!==`newline`&&i.type!==`comma`&&a(i.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),!1),h&&=(l&&i.type!==`comment`&&i.type!==`newline`&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),null),i.type){case`space`:!t&&(n!==`doc-start`||r?.type!==`flow-collection`)&&i.source.includes(` `)&&(h=i),u=!0;break;case`comment`:{u||a(i,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let e=i.source.substring(1)||` `;d?d+=f+e:d=e,f=``,l=!1;break}case`newline`:l?d?d+=i.source:(!b||n!==`seq-item-ind`)&&(c=!0):f+=i.source,l=!0,p=!0,(g||_)&&(v=i),u=!0;break;case`anchor`:g&&a(i,`MULTIPLE_ANCHORS`,`A node can have at most one anchor`),i.source.endsWith(`:`)&&a(i.offset+i.source.length-1,`BAD_ALIAS`,`Anchor ending in : is ambiguous`,!0),g=i,x??=i.offset,l=!1,u=!1,m=!0;break;case`tag`:_&&a(i,`MULTIPLE_TAGS`,`A node can have at most one tag`),_=i,x??=i.offset,l=!1,u=!1,m=!0;break;case n:(g||_)&&a(i,`BAD_PROP_ORDER`,`Anchors and tags must be after the ${i.source} indicator`),b&&a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.source} in ${t??`collection`}`),b=i,l=n===`seq-item-ind`||n===`explicit-key-ind`,u=!1;break;case`comma`:if(t){y&&a(i,`UNEXPECTED_TOKEN`,`Unexpected , in ${t}`),y=i,l=!1,u=!1;break}default:a(i,`UNEXPECTED_TOKEN`,`Unexpected ${i.type} token`),l=!1,u=!1}let S=e[e.length-1],C=S?S.offset+S.source.length:i;return m&&r&&r.type!==`space`&&r.type!==`newline`&&r.type!==`comma`&&(r.type!==`scalar`||r.source!==``)&&a(r.offset,`MISSING_CHAR`,`Tags and anchors must be separated from the next token by white space`),h&&(l&&h.indent<=o||r?.type===`block-map`||r?.type===`block-seq`)&&a(h,`TAB_AS_INDENT`,`Tabs are not allowed as indentation`),{comma:y,found:b,spaceBefore:c,comment:d,hasNewline:p,anchor:g,tag:_,newlineAfterProp:v,end:C,start:x??C}}e.resolveProps=t})),Bi=P((e=>{function t(e){if(!e)return null;switch(e.type){case`alias`:case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:if(e.source.includes(` +`))return!0;if(e.end){for(let t of e.end)if(t.type===`newline`)return!0}return!1;case`flow-collection`:for(let n of e.items){for(let e of n.start)if(e.type===`newline`)return!0;if(n.sep){for(let e of n.sep)if(e.type===`newline`)return!0}if(t(n.key)||t(n.value))return!0}return!1;default:return!0}}e.containsNewline=t})),Vi=P((e=>{var t=Bi();function n(e,n,r){if(n?.type===`flow-collection`){let i=n.end[0];i.indent===e&&(i.source===`]`||i.source===`}`)&&t.containsNewline(n)&&r(i,`BAD_INDENT`,`Flow end indicator should be more indented than parent`,!0)}}e.flowIndentCheck=n})),Hi=P((e=>{var t=Kr();function n(e,n,r){let{uniqueKeys:i}=e.options;if(i===!1)return!1;let a=typeof i==`function`?i:(e,n)=>e===n||t.isScalar(e)&&t.isScalar(n)&&e.value===n.value;return n.some(e=>a(e.key,r))}e.mapIncludes=n})),Ui=P((e=>{var t=di(),n=pi(),r=zi(),i=Bi(),a=Vi(),o=Hi();let s=`All mapping items must start at the same column`;function c({composeNode:e,composeEmptyNode:c},l,u,d,f){let p=new(f?.nodeClass??n.YAMLMap)(l.schema);l.atRoot&&=!1;let m=u.offset,h=null;for(let n of u.items){let{start:f,key:g,sep:_,value:v}=n,y=r.resolveProps(f,{indicator:`explicit-key-ind`,next:g??_?.[0],offset:m,onError:d,parentIndent:u.indent,startOnNewline:!0}),b=!y.found;if(b){if(g&&(g.type===`block-seq`?d(m,`BLOCK_AS_IMPLICIT_KEY`,`A block sequence may not be used as an implicit map key`):`indent`in g&&g.indent!==u.indent&&d(m,`BAD_INDENT`,s)),!y.anchor&&!y.tag&&!_){h=y.end,y.comment&&(p.comment?p.comment+=` `+y.comment:p.comment=y.comment);continue}(y.newlineAfterProp||i.containsNewline(g))&&d(g??f[f.length-1],`MULTILINE_IMPLICIT_KEY`,`Implicit keys need to be on a single line`)}else y.found?.indent!==u.indent&&d(m,`BAD_INDENT`,s);l.atKey=!0;let x=y.end,S=g?e(l,g,y,d):c(l,x,f,null,y,d);l.schema.compat&&a.flowIndentCheck(u.indent,g,d),l.atKey=!1,o.mapIncludes(l,p.items,S)&&d(x,`DUPLICATE_KEY`,`Map keys must be unique`);let C=r.resolveProps(_??[],{indicator:`map-value-ind`,next:v,offset:S.range[2],onError:d,parentIndent:u.indent,startOnNewline:!g||g.type===`block-scalar`});if(m=C.end,C.found){b&&(v?.type===`block-map`&&!C.hasNewline&&d(m,`BLOCK_AS_IMPLICIT_KEY`,`Nested mappings are not allowed in compact mappings`),l.options.strict&&y.start{var t=fi(),n=Ii(),r=Ri();function i({composeNode:e,composeEmptyNode:i},a,o,s,c){let l=new(c?.nodeClass??t.YAMLSeq)(a.schema);a.atRoot&&=!1,a.atKey&&=!1;let u=o.offset,d=null;for(let{start:t,value:c}of o.items){let f=n.resolveProps(t,{indicator:`seq-item-ind`,next:c,offset:u,onError:s,parentIndent:o.indent,startOnNewline:!0});if(!f.found)if(f.anchor||f.tag||c)c?.type===`block-seq`?s(f.end,`BAD_INDENT`,`All sequence items must start at the same column`):s(u,`MISSING_CHAR`,`Sequence item without - indicator`);else{d=f.end,f.comment&&(l.comment=f.comment);continue}let p=c?e(a,c,f,s):i(a,f.end,t,null,f,s);a.schema.compat&&r.flowIndentCheck(o.indent,c,s),u=p.range[2],l.items.push(p)}return l.range=[o.offset,u,d??u],l}e.resolveBlockSeq=i})),Hi=P((e=>{function t(e,t,n,r){let i=``;if(e){let a=!1,o=``;for(let s of e){let{source:e,type:c}=s;switch(c){case`space`:a=!0;break;case`comment`:{n&&!a&&r(s,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let t=e.substring(1)||` `;i?i+=o+t:i=t,o=``;break}case`newline`:i&&(o+=e),a=!0;break;default:r(s,`UNEXPECTED_TOKEN`,`Unexpected ${c} at node end`)}t+=e.length}}return{comment:i,offset:t}}e.resolveEnd=t})),Ui=P((e=>{var t=Ur(),n=ci(),r=ui(),i=fi(),a=Hi(),o=Ii(),s=Li(),c=zi();let l=`Block collections are not allowed within flow collections`,u=e=>e&&(e.type===`block-map`||e.type===`block-seq`);function d({composeNode:e,composeEmptyNode:d},f,p,m,h){let g=p.start.source===`{`,_=g?`flow map`:`flow sequence`,v=new(h?.nodeClass??(g?r.YAMLMap:i.YAMLSeq))(f.schema);v.flow=!0;let y=f.atRoot;y&&(f.atRoot=!1),f.atKey&&=!1;let b=p.offset+p.start.source.length;for(let i=0;i{var t=hi(),n=zi(),r=Vi();function i({composeNode:e,composeEmptyNode:i},a,o,s,c){let l=new(c?.nodeClass??t.YAMLSeq)(a.schema);a.atRoot&&=!1,a.atKey&&=!1;let u=o.offset,d=null;for(let{start:t,value:c}of o.items){let f=n.resolveProps(t,{indicator:`seq-item-ind`,next:c,offset:u,onError:s,parentIndent:o.indent,startOnNewline:!0});if(!f.found)if(f.anchor||f.tag||c)c?.type===`block-seq`?s(f.end,`BAD_INDENT`,`All sequence items must start at the same column`):s(u,`MISSING_CHAR`,`Sequence item without - indicator`);else{d=f.end,f.comment&&(l.comment=f.comment);continue}let p=c?e(a,c,f,s):i(a,f.end,t,null,f,s);a.schema.compat&&r.flowIndentCheck(o.indent,c,s),u=p.range[2],l.items.push(p)}return l.range=[o.offset,u,d??u],l}e.resolveBlockSeq=i})),Gi=P((e=>{function t(e,t,n,r){let i=``;if(e){let a=!1,o=``;for(let s of e){let{source:e,type:c}=s;switch(c){case`space`:a=!0;break;case`comment`:{n&&!a&&r(s,`MISSING_CHAR`,`Comments must be separated from other tokens by white space characters`);let t=e.substring(1)||` `;i?i+=o+t:i=t,o=``;break}case`newline`:i&&(o+=e),a=!0;break;default:r(s,`UNEXPECTED_TOKEN`,`Unexpected ${c} at node end`)}t+=e.length}}return{comment:i,offset:t}}e.resolveEnd=t})),Ki=P((e=>{var t=Kr(),n=di(),r=pi(),i=hi(),a=Gi(),o=zi(),s=Bi(),c=Hi();let l=`Block collections are not allowed within flow collections`,u=e=>e&&(e.type===`block-map`||e.type===`block-seq`);function d({composeNode:e,composeEmptyNode:d},f,p,m,h){let g=p.start.source===`{`,_=g?`flow map`:`flow sequence`,v=new(h?.nodeClass??(g?r.YAMLMap:i.YAMLSeq))(f.schema);v.flow=!0;let y=f.atRoot;y&&(f.atRoot=!1),f.atKey&&=!1;let b=p.offset+p.start.source.length;for(let i=0;i0){let e=a.resolveEnd(C,w,f.options.strict,m);e.comment&&(v.comment?v.comment+=` -`+e.comment:v.comment=e.comment),v.range=[p.offset,w,e.offset]}else v.range=[p.offset,w,w];return v}e.resolveFlowCollection=d})),Wi=P((e=>{var t=Ur(),n=Zr(),r=ui(),i=fi(),a=Bi(),o=Vi(),s=Ui();function c(e,t,n,r,i,c){let l=n.type===`block-map`?a.resolveBlockMap(e,t,n,r,c):n.type===`block-seq`?o.resolveBlockSeq(e,t,n,r,c):s.resolveFlowCollection(e,t,n,r,c),u=l.constructor;return i===`!`||i===u.tagName?(l.tag=u.tagName,l):(i&&(l.tag=i),l)}function l(e,a,o,s,l){let u=s.tag,d=u?a.directives.tagName(u.source,e=>l(u,`TAG_RESOLVE_FAILED`,e)):null;if(o.type===`block-seq`){let{anchor:e,newlineAfterProp:t}=s,n=e&&u?e.offset>u.offset?e:u:e??u;n&&(!t||t.offsete.tag===d&&e.collection===f);if(!p){let t=a.schema.knownTags[d];if(t?.collection===f)a.schema.tags.push(Object.assign({},t,{default:!1})),p=t;else return t?l(u,`BAD_COLLECTION_TYPE`,`${t.tag} used for ${f} collection, but expects ${t.collection??`scalar`}`,!0):l(u,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${d}`,!0),c(e,a,o,l,d)}let m=c(e,a,o,l,d,p),h=p.resolve?.(m,e=>l(u,`TAG_RESOLVE_FAILED`,e),a.options)??m,g=t.isNode(h)?h:new n.Scalar(h);return g.range=m.range,g.tag=d,p?.format&&(g.format=p.format),g}e.composeCollection=l})),Gi=P((e=>{var t=Zr();function n(e,n,a){let o=n.offset,s=r(n,e.options.strict,a);if(!s)return{value:``,type:null,comment:``,range:[o,o,o]};let c=s.mode===`>`?t.Scalar.BLOCK_FOLDED:t.Scalar.BLOCK_LITERAL,l=n.source?i(n.source):[],u=l.length;for(let e=l.length-1;e>=0;--e){let t=l[e][1];if(t===``||t===`\r`)u=e;else break}if(u===0){let e=s.chomp===`+`&&l.length>0?` +`+e.comment:v.comment=e.comment),v.range=[p.offset,w,e.offset]}else v.range=[p.offset,w,w];return v}e.resolveFlowCollection=d})),qi=P((e=>{var t=Kr(),n=ei(),r=pi(),i=hi(),a=Ui(),o=Wi(),s=Ki();function c(e,t,n,r,i,c){let l=n.type===`block-map`?a.resolveBlockMap(e,t,n,r,c):n.type===`block-seq`?o.resolveBlockSeq(e,t,n,r,c):s.resolveFlowCollection(e,t,n,r,c),u=l.constructor;return i===`!`||i===u.tagName?(l.tag=u.tagName,l):(i&&(l.tag=i),l)}function l(e,a,o,s,l){let u=s.tag,d=u?a.directives.tagName(u.source,e=>l(u,`TAG_RESOLVE_FAILED`,e)):null;if(o.type===`block-seq`){let{anchor:e,newlineAfterProp:t}=s,n=e&&u?e.offset>u.offset?e:u:e??u;n&&(!t||t.offsete.tag===d&&e.collection===f);if(!p){let t=a.schema.knownTags[d];if(t?.collection===f)a.schema.tags.push(Object.assign({},t,{default:!1})),p=t;else return t?l(u,`BAD_COLLECTION_TYPE`,`${t.tag} used for ${f} collection, but expects ${t.collection??`scalar`}`,!0):l(u,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${d}`,!0),c(e,a,o,l,d)}let m=c(e,a,o,l,d,p),h=p.resolve?.(m,e=>l(u,`TAG_RESOLVE_FAILED`,e),a.options)??m,g=t.isNode(h)?h:new n.Scalar(h);return g.range=m.range,g.tag=d,p?.format&&(g.format=p.format),g}e.composeCollection=l})),Ji=P((e=>{var t=ei();function n(e,n,a){let o=n.offset,s=r(n,e.options.strict,a);if(!s)return{value:``,type:null,comment:``,range:[o,o,o]};let c=s.mode===`>`?t.Scalar.BLOCK_FOLDED:t.Scalar.BLOCK_LITERAL,l=n.source?i(n.source):[],u=l.length;for(let e=l.length-1;e>=0;--e){let t=l[e][1];if(t===``||t===`\r`)u=e;else break}if(u===0){let e=s.chomp===`+`&&l.length>0?` `.repeat(Math.max(1,l.length-1)):``,t=o+s.length;return n.source&&(t+=n.source.length),{value:e,type:c,comment:s.comment,range:[o,t,t]}}let d=n.indent+s.indent,f=n.offset+s.length,p=0;for(let t=0;td&&(d=n.length);else{n.length=u;--e)l[e][0].length>d&&(u=e+1);let m=``,h=``,g=!1;for(let e=0;ed||r[0]===` `?(h===` `?h=` @@ -76,7 +76,7 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\ `+l[e][0].slice(d);m[m.length-1]!==` `&&(m+=` `);break;default:m+=` -`}let _=o+s.length+n.source.length;return{value:m,type:c,comment:s.comment,range:[o,_,_]}}function r({offset:e,props:t},n,r){if(t[0].type!==`block-scalar-header`)return r(t[0],`IMPOSSIBLE`,`Block scalar header not found`),null;let{source:i}=t[0],a=i[0],o=0,s=``,c=-1;for(let t=1;t{var t=Zr(),n=Hi();function r(e,r,o){let{offset:c,type:l,source:u,end:d}=e,f,p,m=(e,t,n)=>o(c+e,t,n);switch(l){case`scalar`:f=t.Scalar.PLAIN,p=i(u,m);break;case`single-quoted-scalar`:f=t.Scalar.QUOTE_SINGLE,p=a(u,m);break;case`double-quoted-scalar`:f=t.Scalar.QUOTE_DOUBLE,p=s(u,m);break;default:return o(e,`UNEXPECTED_TOKEN`,`Expected a flow scalar value, but found: ${l}`),{value:``,type:null,comment:``,range:[c,c+u.length,c+u.length]}}let h=c+u.length,g=n.resolveEnd(d,h,r,o);return{value:p,type:f,comment:g.comment,range:[c,h,g.offset]}}function i(e,t){let n=``;switch(e[0]){case` `:n=`a tab character`;break;case`,`:n=`flow indicator character ,`;break;case`%`:n=`directive indicator character %`;break;case`|`:case`>`:n=`block scalar indicator ${e[0]}`;break;case`@`:case"`":n=`reserved character ${e[0]}`;break}return n&&t(0,`BAD_SCALAR_START`,`Plain value cannot start with ${n}`),o(e)}function a(e,t){return(e[e.length-1]!==`'`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing 'quote`),o(e.slice(1,-1)).replace(/''/g,`'`)}function o(e){let t,n;try{t=RegExp(`(.*?)(?{var t=ei(),n=Gi();function r(e,r,o){let{offset:c,type:l,source:u,end:d}=e,f,p,m=(e,t,n)=>o(c+e,t,n);switch(l){case`scalar`:f=t.Scalar.PLAIN,p=i(u,m);break;case`single-quoted-scalar`:f=t.Scalar.QUOTE_SINGLE,p=a(u,m);break;case`double-quoted-scalar`:f=t.Scalar.QUOTE_DOUBLE,p=s(u,m);break;default:return o(e,`UNEXPECTED_TOKEN`,`Expected a flow scalar value, but found: ${l}`),{value:``,type:null,comment:``,range:[c,c+u.length,c+u.length]}}let h=c+u.length,g=n.resolveEnd(d,h,r,o);return{value:p,type:f,comment:g.comment,range:[c,h,g.offset]}}function i(e,t){let n=``;switch(e[0]){case` `:n=`a tab character`;break;case`,`:n=`flow indicator character ,`;break;case`%`:n=`directive indicator character %`;break;case`|`:case`>`:n=`block scalar indicator ${e[0]}`;break;case`@`:case"`":n=`reserved character ${e[0]}`;break}return n&&t(0,`BAD_SCALAR_START`,`Plain value cannot start with ${n}`),o(e)}function a(e,t){return(e[e.length-1]!==`'`||e.length===1)&&t(e.length,`MISSING_CHAR`,`Missing closing 'quote`),o(e.slice(1,-1)).replace(/''/g,`'`)}function o(e){let t,n;try{t=RegExp(`(.*?)(?{var t=Ur(),n=Zr(),r=Gi(),i=Ki();function a(e,a,c,l){let{value:u,type:d,comment:f,range:p}=a.type===`block-scalar`?r.resolveBlockScalar(e,a,l):i.resolveFlowScalar(a,e.options.strict,l),m=c?e.directives.tagName(c.source,e=>l(c,`TAG_RESOLVE_FAILED`,e)):null,h;h=e.options.stringKeys&&e.atKey?e.schema[t.SCALAR]:m?o(e.schema,u,m,c,l):a.type===`scalar`?s(e,u,a,l):e.schema[t.SCALAR];let g;try{let r=h.resolve(u,e=>l(c??a,`TAG_RESOLVE_FAILED`,e),e.options);g=t.isScalar(r)?r:new n.Scalar(r)}catch(e){let t=e instanceof Error?e.message:String(e);l(c??a,`TAG_RESOLVE_FAILED`,t),g=new n.Scalar(u)}return g.range=p,g.source=u,d&&(g.type=d),m&&(g.tag=m),h.format&&(g.format=h.format),f&&(g.comment=f),g}function o(e,n,r,i,a){if(r===`!`)return e[t.SCALAR];let o=[];for(let t of e.tags)if(!t.collection&&t.tag===r)if(t.default&&t.test)o.push(t);else return t;for(let e of o)if(e.test?.test(n))return e;let s=e.knownTags[r];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(a(i,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${r}`,r!==`tag:yaml.org,2002:str`),e[t.SCALAR])}function s({atKey:e,directives:n,schema:r},i,a,o){let s=r.tags.find(t=>(t.default===!0||e&&t.default===`key`)&&t.test?.test(i))||r[t.SCALAR];if(r.compat){let e=r.compat.find(e=>e.default&&e.test?.test(i))??r[t.SCALAR];s.tag!==e.tag&&o(a,`TAG_RESOLVE_FAILED`,`Value may be parsed as either ${n.tagString(s.tag)} or ${n.tagString(e.tag)}`,!0)}return s}e.composeScalar=a})),Ji=P((e=>{function t(e,t,n){if(t){n??=t.length;for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case`space`:case`comment`:case`newline`:e-=n.source.length;continue}for(n=t[++r];n?.type===`space`;)e+=n.source.length,n=t[++r];break}}return e}e.emptyScalarPosition=t})),Yi=P((e=>{var t=Xr(),n=Ur(),r=Wi(),i=qi(),a=Hi(),o=Ji();let s={composeNode:c,composeEmptyNode:l};function c(e,t,a,o){let c=e.atKey,{spaceBefore:d,comment:f,anchor:p,tag:m}=a,h,g=!0;switch(t.type){case`alias`:h=u(e,t,o),(p||m)&&o(t,`ALIAS_PROPS`,`An alias node must not specify any properties`);break;case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:case`block-scalar`:h=i.composeScalar(e,t,m,o),p&&(h.anchor=p.source.substring(1));break;case`block-map`:case`block-seq`:case`flow-collection`:try{h=r.composeCollection(s,e,t,a,o),p&&(h.anchor=p.source.substring(1))}catch(e){o(t,`RESOURCE_EXHAUSTION`,e instanceof Error?e.message:String(e))}break;default:o(t,`UNEXPECTED_TOKEN`,t.type===`error`?t.message:`Unsupported token (type: ${t.type})`),g=!1}return h??=l(e,t.offset,void 0,null,a,o),p&&h.anchor===``&&o(p,`BAD_ALIAS`,`Anchor cannot be an empty string`),c&&e.options.stringKeys&&(!n.isScalar(h)||typeof h.value!=`string`||h.tag&&h.tag!==`tag:yaml.org,2002:str`)&&o(m??t,`NON_STRING_KEY`,`With stringKeys, all keys must be strings`),d&&(h.spaceBefore=!0),f&&(t.type===`scalar`&&t.source===``?h.comment=f:h.commentBefore=f),e.options.keepSourceTokens&&g&&(h.srcToken=t),h}function l(e,t,n,r,{spaceBefore:a,comment:s,anchor:c,tag:l,end:u},d){let f={type:`scalar`,offset:o.emptyScalarPosition(t,n,r),indent:-1,source:``},p=i.composeScalar(e,f,l,d);return c&&(p.anchor=c.source.substring(1),p.anchor===``&&d(c,`BAD_ALIAS`,`Anchor cannot be an empty string`)),a&&(p.spaceBefore=!0),s&&(p.comment=s,p.range[2]=u),p}function u({options:e},{offset:n,source:r,end:i},o){let s=new t.Alias(r.substring(1));s.source===``&&o(n,`BAD_ALIAS`,`Alias cannot be an empty string`),s.source.endsWith(`:`)&&o(n+r.length-1,`BAD_ALIAS`,`Alias ending in : is ambiguous`,!0);let c=n+r.length,l=a.resolveEnd(i,c,e.strict,o);return s.range=[n,c,l.offset],l.comment&&(s.comment=l.comment),s}e.composeEmptyNode=l,e.composeNode=c})),Xi=P((e=>{var t=Pi(),n=Yi(),r=Hi(),i=Ii();function a(e,a,{offset:o,start:s,value:c,end:l},u){let d=Object.assign({_directives:a},e),f=new t.Document(void 0,d),p={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},m=i.resolveProps(s,{indicator:`doc-start`,next:c??l?.[0],offset:o,onError:u,parentIndent:0,startOnNewline:!0});m.found&&(f.directives.docStart=!0,c&&(c.type===`block-map`||c.type===`block-seq`)&&!m.hasNewline&&u(m.end,`MISSING_CHAR`,`Block collection cannot start on same line with directives-end marker`)),f.contents=c?n.composeNode(p,c,m,u):n.composeEmptyNode(p,m.end,s,null,m,u);let h=f.contents.range[2],g=r.resolveEnd(l,h,!1,u);return g.comment&&(f.comment=g.comment),f.range=[o,h,g.offset],f}e.composeDoc=a})),Zi=P((e=>{var t=F(`process`),n=Gr(),r=Pi(),i=Fi(),a=Ur(),o=Xi(),s=Hi();function c(e){if(typeof e==`number`)return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+(typeof n==`string`?n.length:1)]}function l(e){let t=``,n=!1,r=!1;for(let i=0;i{var t=Kr(),n=ei(),r=Ji(),i=Yi();function a(e,a,c,l){let{value:u,type:d,comment:f,range:p}=a.type===`block-scalar`?r.resolveBlockScalar(e,a,l):i.resolveFlowScalar(a,e.options.strict,l),m=c?e.directives.tagName(c.source,e=>l(c,`TAG_RESOLVE_FAILED`,e)):null,h;h=e.options.stringKeys&&e.atKey?e.schema[t.SCALAR]:m?o(e.schema,u,m,c,l):a.type===`scalar`?s(e,u,a,l):e.schema[t.SCALAR];let g;try{let r=h.resolve(u,e=>l(c??a,`TAG_RESOLVE_FAILED`,e),e.options);g=t.isScalar(r)?r:new n.Scalar(r)}catch(e){let t=e instanceof Error?e.message:String(e);l(c??a,`TAG_RESOLVE_FAILED`,t),g=new n.Scalar(u)}return g.range=p,g.source=u,d&&(g.type=d),m&&(g.tag=m),h.format&&(g.format=h.format),f&&(g.comment=f),g}function o(e,n,r,i,a){if(r===`!`)return e[t.SCALAR];let o=[];for(let t of e.tags)if(!t.collection&&t.tag===r)if(t.default&&t.test)o.push(t);else return t;for(let e of o)if(e.test?.test(n))return e;let s=e.knownTags[r];return s&&!s.collection?(e.tags.push(Object.assign({},s,{default:!1,test:void 0})),s):(a(i,`TAG_RESOLVE_FAILED`,`Unresolved tag: ${r}`,r!==`tag:yaml.org,2002:str`),e[t.SCALAR])}function s({atKey:e,directives:n,schema:r},i,a,o){let s=r.tags.find(t=>(t.default===!0||e&&t.default===`key`)&&t.test?.test(i))||r[t.SCALAR];if(r.compat){let e=r.compat.find(e=>e.default&&e.test?.test(i))??r[t.SCALAR];s.tag!==e.tag&&o(a,`TAG_RESOLVE_FAILED`,`Value may be parsed as either ${n.tagString(s.tag)} or ${n.tagString(e.tag)}`,!0)}return s}e.composeScalar=a})),Zi=P((e=>{function t(e,t,n){if(t){n??=t.length;for(let r=n-1;r>=0;--r){let n=t[r];switch(n.type){case`space`:case`comment`:case`newline`:e-=n.source.length;continue}for(n=t[++r];n?.type===`space`;)e+=n.source.length,n=t[++r];break}}return e}e.emptyScalarPosition=t})),Qi=P((e=>{var t=$r(),n=Kr(),r=qi(),i=Xi(),a=Gi(),o=Zi();let s={composeNode:c,composeEmptyNode:l};function c(e,t,a,o){let c=e.atKey,{spaceBefore:d,comment:f,anchor:p,tag:m}=a,h,g=!0;switch(t.type){case`alias`:h=u(e,t,o),(p||m)&&o(t,`ALIAS_PROPS`,`An alias node must not specify any properties`);break;case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:case`block-scalar`:h=i.composeScalar(e,t,m,o),p&&(h.anchor=p.source.substring(1));break;case`block-map`:case`block-seq`:case`flow-collection`:try{h=r.composeCollection(s,e,t,a,o),p&&(h.anchor=p.source.substring(1))}catch(e){o(t,`RESOURCE_EXHAUSTION`,e instanceof Error?e.message:String(e))}break;default:o(t,`UNEXPECTED_TOKEN`,t.type===`error`?t.message:`Unsupported token (type: ${t.type})`),g=!1}return h??=l(e,t.offset,void 0,null,a,o),p&&h.anchor===``&&o(p,`BAD_ALIAS`,`Anchor cannot be an empty string`),c&&e.options.stringKeys&&(!n.isScalar(h)||typeof h.value!=`string`||h.tag&&h.tag!==`tag:yaml.org,2002:str`)&&o(m??t,`NON_STRING_KEY`,`With stringKeys, all keys must be strings`),d&&(h.spaceBefore=!0),f&&(t.type===`scalar`&&t.source===``?h.comment=f:h.commentBefore=f),e.options.keepSourceTokens&&g&&(h.srcToken=t),h}function l(e,t,n,r,{spaceBefore:a,comment:s,anchor:c,tag:l,end:u},d){let f={type:`scalar`,offset:o.emptyScalarPosition(t,n,r),indent:-1,source:``},p=i.composeScalar(e,f,l,d);return c&&(p.anchor=c.source.substring(1),p.anchor===``&&d(c,`BAD_ALIAS`,`Anchor cannot be an empty string`)),a&&(p.spaceBefore=!0),s&&(p.comment=s,p.range[2]=u),p}function u({options:e},{offset:n,source:r,end:i},o){let s=new t.Alias(r.substring(1));s.source===``&&o(n,`BAD_ALIAS`,`Alias cannot be an empty string`),s.source.endsWith(`:`)&&o(n+r.length-1,`BAD_ALIAS`,`Alias ending in : is ambiguous`,!0);let c=n+r.length,l=a.resolveEnd(i,c,e.strict,o);return s.range=[n,c,l.offset],l.comment&&(s.comment=l.comment),s}e.composeEmptyNode=l,e.composeNode=c})),$i=P((e=>{var t=Li(),n=Qi(),r=Gi(),i=zi();function a(e,a,{offset:o,start:s,value:c,end:l},u){let d=Object.assign({_directives:a},e),f=new t.Document(void 0,d),p={atKey:!1,atRoot:!0,directives:f.directives,options:f.options,schema:f.schema},m=i.resolveProps(s,{indicator:`doc-start`,next:c??l?.[0],offset:o,onError:u,parentIndent:0,startOnNewline:!0});m.found&&(f.directives.docStart=!0,c&&(c.type===`block-map`||c.type===`block-seq`)&&!m.hasNewline&&u(m.end,`MISSING_CHAR`,`Block collection cannot start on same line with directives-end marker`)),f.contents=c?n.composeNode(p,c,m,u):n.composeEmptyNode(p,m.end,s,null,m,u);let h=f.contents.range[2],g=r.resolveEnd(l,h,!1,u);return g.comment&&(f.comment=g.comment),f.range=[o,h,g.offset],f}e.composeDoc=a})),ea=P((e=>{var t=F(`process`),n=Jr(),r=Li(),i=Ri(),a=Kr(),o=$i(),s=Gi();function c(e){if(typeof e==`number`)return[e,e+1];if(Array.isArray(e))return e.length===2?e:[e[0],e[1]];let{offset:t,source:n}=e;return[t,t+(typeof n==`string`?n.length:1)]}function l(e){let t=``,n=!1,r=!1;for(let i=0;i{let a=c(e);r?this.warnings.push(new i.YAMLWarning(a,t,n)):this.errors.push(new i.YAMLParseError(a,t,n))},this.directives=new n.Directives({version:e.version||`1.2`}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=l(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(a.isCollection(i)&&!i.flow&&i.items.length>0){let e=i.items[0];a.isPair(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n}\n${e}`:n}}if(t){for(let t=0;t{let i=c(e);i[0]+=t,this.onError(i,`BAD_DIRECTIVE`,n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case`document`:{let t=o.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,`MISSING_CHAR`,`Missing directives-end/doc-start indicator line`),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case`byte-order-mark`:case`space`:break;case`comment`:case`newline`:this.prelude.push(e.source);break;case`error`:{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new i.YAMLParseError(c(e),`UNEXPECTED_TOKEN`,t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case`doc-end`:{if(!this.doc){this.errors.push(new i.YAMLParseError(c(e),`UNEXPECTED_TOKEN`,`Unexpected doc-end without preceding document`));break}this.doc.directives.docEnd=!0;let t=s.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new i.YAMLParseError(c(e),`UNEXPECTED_TOKEN`,`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=Object.assign({_directives:this.directives},this.options),n=new r.Document(void 0,e);this.atDirectives&&this.onError(t,`MISSING_CHAR`,`Missing directives-end indicator line`),n.range=[0,t,t],this.decorate(n,!1),yield n}}}})),Qi=P((e=>{var t=Gi(),n=Ki(),r=Fi(),i=ni();function a(e,i=!0,a){if(e){let o=(e,t,n)=>{let i=typeof e==`number`?e:Array.isArray(e)?e[0]:e.offset;if(a)a(i,t,n);else throw new r.YAMLParseError([i,i+1],t,n)};switch(e.type){case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return n.resolveFlowScalar(e,i,o);case`block-scalar`:return t.resolveBlockScalar({options:{strict:i}},e,o)}}return null}function o(e,t){let{implicitKey:n=!1,indent:r,inFlow:a=!1,offset:o=-1,type:s=`PLAIN`}=t,c=i.stringifyString({type:s,value:e},{implicitKey:n,indent:r>0?` `.repeat(r):``,inFlow:a,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:`newline`,offset:-1,indent:r,source:` +`)+(a.substring(1)||` `),n=!0,r=!1;break;case`%`:e[i+1]?.[0]!==`#`&&(i+=1),n=!1;break;default:n||(r=!0),n=!1}}return{comment:t,afterEmptyLine:r}}e.Composer=class{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,n,r)=>{let a=c(e);r?this.warnings.push(new i.YAMLWarning(a,t,n)):this.errors.push(new i.YAMLParseError(a,t,n))},this.directives=new n.Directives({version:e.version||`1.2`}),this.options=e}decorate(e,t){let{comment:n,afterEmptyLine:r}=l(this.prelude);if(n){let i=e.contents;if(t)e.comment=e.comment?`${e.comment}\n${n}`:n;else if(r||e.directives.docStart||!i)e.commentBefore=n;else if(a.isCollection(i)&&!i.flow&&i.items.length>0){let e=i.items[0];a.isPair(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${n}\n${t}`:n}else{let e=i.commentBefore;i.commentBefore=e?`${n}\n${e}`:n}}if(t){for(let t=0;t{let i=c(e);i[0]+=t,this.onError(i,`BAD_DIRECTIVE`,n,r)}),this.prelude.push(e.source),this.atDirectives=!0;break;case`document`:{let t=o.composeDoc(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,`MISSING_CHAR`,`Missing directives-end/doc-start indicator line`),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case`byte-order-mark`:case`space`:break;case`comment`:case`newline`:this.prelude.push(e.source);break;case`error`:{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,n=new i.YAMLParseError(c(e),`UNEXPECTED_TOKEN`,t);this.atDirectives||!this.doc?this.errors.push(n):this.doc.errors.push(n);break}case`doc-end`:{if(!this.doc){this.errors.push(new i.YAMLParseError(c(e),`UNEXPECTED_TOKEN`,`Unexpected doc-end without preceding document`));break}this.doc.directives.docEnd=!0;let t=s.resolveEnd(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e}\n${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new i.YAMLParseError(c(e),`UNEXPECTED_TOKEN`,`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=Object.assign({_directives:this.directives},this.options),n=new r.Document(void 0,e);this.atDirectives&&this.onError(t,`MISSING_CHAR`,`Missing directives-end indicator line`),n.range=[0,t,t],this.decorate(n,!1),yield n}}}})),ta=P((e=>{var t=Ji(),n=Yi(),r=Ri(),i=ai();function a(e,i=!0,a){if(e){let o=(e,t,n)=>{let i=typeof e==`number`?e:Array.isArray(e)?e[0]:e.offset;if(a)a(i,t,n);else throw new r.YAMLParseError([i,i+1],t,n)};switch(e.type){case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return n.resolveFlowScalar(e,i,o);case`block-scalar`:return t.resolveBlockScalar({options:{strict:i}},e,o)}}return null}function o(e,t){let{implicitKey:n=!1,indent:r,inFlow:a=!1,offset:o=-1,type:s=`PLAIN`}=t,c=i.stringifyString({type:s,value:e},{implicitKey:n,indent:r>0?` `.repeat(r):``,inFlow:a,options:{blockQuote:!0,lineWidth:-1}}),u=t.end??[{type:`newline`,offset:-1,indent:r,source:` `}];switch(c[0]){case`|`:case`>`:{let e=c.indexOf(` `),t=c.substring(0,e),n=c.substring(e+1)+` `,i=[{type:`block-scalar-header`,offset:o,indent:r,source:t}];return l(i,u)||i.push({type:`newline`,offset:-1,indent:r,source:` @@ -102,9 +102,9 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\ `),r=t.substring(0,n),i=t.substring(n+1)+` `;if(e.type===`block-scalar`){let t=e.props[0];if(t.type!==`block-scalar-header`)throw Error(`Invalid block scalar header`);t.source=r,e.source=i}else{let{offset:t}=e,n=`indent`in e?e.indent:-1,a=[{type:`block-scalar-header`,offset:t,indent:n,source:r}];l(a,`end`in e?e.end:void 0)||a.push({type:`newline`,offset:-1,indent:n,source:` `});for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:`block-scalar`,indent:n,props:a,source:i})}}function l(e,t){if(t)for(let n of t)switch(n.type){case`space`:case`comment`:e.push(n);break;case`newline`:return e.push(n),!0}return!1}function u(e,t,n){switch(e.type){case`scalar`:case`double-quoted-scalar`:case`single-quoted-scalar`:e.type=n,e.source=t;break;case`block-scalar`:{let r=e.props.slice(1),i=t.length;e.props[0].type===`block-scalar-header`&&(i-=e.props[0].source.length);for(let e of r)e.offset+=i;delete e.props,Object.assign(e,{type:n,source:t,end:r});break}case`block-map`:case`block-seq`:{let r={type:`newline`,offset:e.offset+t.length,indent:e.indent,source:` -`};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r=`indent`in e?e.indent:-1,i=`end`in e&&Array.isArray(e.end)?e.end.filter(e=>e.type===`space`||e.type===`comment`||e.type===`newline`):[];for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}e.createScalarToken=o,e.resolveAsScalar=a,e.setScalarValue=s})),$i=P((e=>{let t=e=>`type`in e?n(e):r(e);function n(e){switch(e.type){case`block-scalar`:{let t=``;for(let r of e.props)t+=n(r);return t+e.source}case`block-map`:case`block-seq`:{let t=``;for(let n of e.items)t+=r(n);return t}case`flow-collection`:{let t=e.start.source;for(let n of e.items)t+=r(n);for(let n of e.end)t+=n.source;return t}case`document`:{let t=r(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if(`end`in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function r({start:e,key:t,sep:r,value:i}){let a=``;for(let t of e)a+=t.source;if(t&&(a+=n(t)),r)for(let e of r)a+=e.source;return i&&(a+=n(i)),a}e.stringify=t})),ea=P((e=>{let t=Symbol(`break visit`),n=Symbol(`skip children`),r=Symbol(`remove item`);function i(e,t){`type`in e&&e.type===`document`&&(e={start:e.start,value:e.value}),a(Object.freeze([]),e,t)}i.BREAK=t,i.SKIP=n,i.REMOVE=r,i.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(t&&`items`in t)n=t.items[r];else return}return n},i.parentCollection=(e,t)=>{let n=i.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],a=n?.[r];if(a&&`items`in a)return a;throw Error(`Parent collection not found`)};function a(e,n,i){let o=i(n,e);if(typeof o==`symbol`)return o;for(let s of[`key`,`value`]){let c=n[s];if(c&&`items`in c){for(let n=0;n{var t=Qi(),n=$i(),r=ea();let i=e=>!!e&&`items`in e,a=e=>!!e&&(e.type===`scalar`||e.type===`single-quoted-scalar`||e.type===`double-quoted-scalar`||e.type===`block-scalar`);function o(e){switch(e){case``:return``;case``:return``;case``:return``;case``:return``;default:return JSON.stringify(e)}}function s(e){switch(e){case``:return`byte-order-mark`;case``:return`doc-mode`;case``:return`flow-error-end`;case``:return`scalar`;case`---`:return`doc-start`;case`...`:return`doc-end`;case``:case` +`};delete e.items,Object.assign(e,{type:n,source:t,end:[r]});break}default:{let r=`indent`in e?e.indent:-1,i=`end`in e&&Array.isArray(e.end)?e.end.filter(e=>e.type===`space`||e.type===`comment`||e.type===`newline`):[];for(let t of Object.keys(e))t!==`type`&&t!==`offset`&&delete e[t];Object.assign(e,{type:n,indent:r,source:t,end:i})}}}e.createScalarToken=o,e.resolveAsScalar=a,e.setScalarValue=s})),na=P((e=>{let t=e=>`type`in e?n(e):r(e);function n(e){switch(e.type){case`block-scalar`:{let t=``;for(let r of e.props)t+=n(r);return t+e.source}case`block-map`:case`block-seq`:{let t=``;for(let n of e.items)t+=r(n);return t}case`flow-collection`:{let t=e.start.source;for(let n of e.items)t+=r(n);for(let n of e.end)t+=n.source;return t}case`document`:{let t=r(e);if(e.end)for(let n of e.end)t+=n.source;return t}default:{let t=e.source;if(`end`in e&&e.end)for(let n of e.end)t+=n.source;return t}}}function r({start:e,key:t,sep:r,value:i}){let a=``;for(let t of e)a+=t.source;if(t&&(a+=n(t)),r)for(let e of r)a+=e.source;return i&&(a+=n(i)),a}e.stringify=t})),ra=P((e=>{let t=Symbol(`break visit`),n=Symbol(`skip children`),r=Symbol(`remove item`);function i(e,t){`type`in e&&e.type===`document`&&(e={start:e.start,value:e.value}),a(Object.freeze([]),e,t)}i.BREAK=t,i.SKIP=n,i.REMOVE=r,i.itemAtPath=(e,t)=>{let n=e;for(let[e,r]of t){let t=n?.[e];if(t&&`items`in t)n=t.items[r];else return}return n},i.parentCollection=(e,t)=>{let n=i.itemAtPath(e,t.slice(0,-1)),r=t[t.length-1][0],a=n?.[r];if(a&&`items`in a)return a;throw Error(`Parent collection not found`)};function a(e,n,i){let o=i(n,e);if(typeof o==`symbol`)return o;for(let s of[`key`,`value`]){let c=n[s];if(c&&`items`in c){for(let n=0;n{var t=ta(),n=na(),r=ra();let i=e=>!!e&&`items`in e,a=e=>!!e&&(e.type===`scalar`||e.type===`single-quoted-scalar`||e.type===`double-quoted-scalar`||e.type===`block-scalar`);function o(e){switch(e){case``:return``;case``:return``;case``:return``;case``:return``;default:return JSON.stringify(e)}}function s(e){switch(e){case``:return`byte-order-mark`;case``:return`doc-mode`;case``:return`flow-error-end`;case``:return`scalar`;case`---`:return`doc-start`;case`...`:return`doc-end`;case``:case` `:case`\r -`:return`newline`;case`-`:return`seq-item-ind`;case`?`:return`explicit-key-ind`;case`:`:return`map-value-ind`;case`{`:return`flow-map-start`;case`}`:return`flow-map-end`;case`[`:return`flow-seq-start`;case`]`:return`flow-seq-end`;case`,`:return`comma`}switch(e[0]){case` `:case` `:return`space`;case`#`:return`comment`;case`%`:return`directive-line`;case`*`:return`alias`;case`&`:return`anchor`;case`!`:return`tag`;case`'`:return`single-quoted-scalar`;case`"`:return`double-quoted-scalar`;case`|`:case`>`:return`block-scalar-header`}return null}e.createScalarToken=t.createScalarToken,e.resolveAsScalar=t.resolveAsScalar,e.setScalarValue=t.setScalarValue,e.stringify=n.stringify,e.visit=r.visit,e.BOM=``,e.DOCUMENT=``,e.FLOW_END=``,e.SCALAR=``,e.isCollection=i,e.isScalar=a,e.prettyToken=o,e.tokenType=s})),na=P((e=>{var t=ta();function n(e){switch(e){case void 0:case` `:case` +`:return`newline`;case`-`:return`seq-item-ind`;case`?`:return`explicit-key-ind`;case`:`:return`map-value-ind`;case`{`:return`flow-map-start`;case`}`:return`flow-map-end`;case`[`:return`flow-seq-start`;case`]`:return`flow-seq-end`;case`,`:return`comma`}switch(e[0]){case` `:case` `:return`space`;case`#`:return`comment`;case`%`:return`directive-line`;case`*`:return`alias`;case`&`:return`anchor`;case`!`:return`tag`;case`'`:return`single-quoted-scalar`;case`"`:return`double-quoted-scalar`;case`|`:case`>`:return`block-scalar-header`}return null}e.createScalarToken=t.createScalarToken,e.resolveAsScalar=t.resolveAsScalar,e.setScalarValue=t.setScalarValue,e.stringify=n.stringify,e.visit=r.visit,e.BOM=``,e.DOCUMENT=``,e.FLOW_END=``,e.SCALAR=``,e.isCollection=i,e.isScalar=a,e.prettyToken=o,e.tokenType=s})),aa=P((e=>{var t=ia();function n(e){switch(e){case void 0:case` `:case` `:case`\r`:case` `:return!0;default:return!1}}let r=new Set(`0123456789ABCDEFabcdef`),i=new Set(`0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()`),a=new Set(`,[]{}`),o=new Set(` ,[]{} \r `),s=e=>!e||o.has(e);e.Lexer=class{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer=``,this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if(typeof e!=`string`)throw TypeError(`source is not a string`);this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let n=this.next??`stream`;for(;n&&(t||this.hasChars(1));)n=yield*this.parseNext(n)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;t===` `||t===` `;)t=this.buffer[++e];return!t||t===`#`||t===` `?!0:t===`\r`?this.buffer[e+1]===` @@ -123,13 +123,13 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\ `,t=this.buffer[i+1]):r=i),t===`#`||e&&a.has(t))break;if(o===` `){let e=this.continueScalar(i+1);if(e===-1)break;i=Math.max(i,e-2)}}else{if(e&&a.has(o))break;r=i}return!o&&!this.atEnd?this.setNext(`plain-scalar`):(yield t.SCALAR,yield*this.pushToIndex(r+1,!0),e?`flow`:`doc`)}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let n=this.buffer.slice(this.pos,e);return n?(yield n,this.pos+=n.length,n.length):(t&&(yield``),0)}*pushIndicators(){let e=0;loop:for(;;){switch(this.charAt(0)){case`!`:e+=yield*this.pushTag(),e+=yield*this.pushSpaces(!0);continue loop;case`&`:e+=yield*this.pushUntil(s),e+=yield*this.pushSpaces(!0);continue loop;case`-`:case`?`:case`:`:{let t=this.flowLevel>0,r=this.charAt(1);if(n(r)||t&&a.has(r)){t?this.flowKey&&=!1:this.indentNext=this.indentValue+1,e+=yield*this.pushCount(1),e+=yield*this.pushSpaces(!0);continue loop}}}break loop}return e}*pushTag(){if(this.charAt(1)===`<`){let e=this.pos+2,t=this.buffer[e];for(;!n(t)&&t!==`>`;)t=this.buffer[++e];return yield*this.pushToIndex(t===`>`?e+1:e,!1)}else{let e=this.pos+1,t=this.buffer[e];for(;t;)if(i.has(t))t=this.buffer[++e];else if(t===`%`&&r.has(this.buffer[e+1])&&r.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return e===` `?yield*this.pushCount(1):e===`\r`&&this.charAt(1)===` -`?yield*this.pushCount(2):0}*pushSpaces(e){let t=this.pos-1,n;do n=this.buffer[++t];while(n===` `||e&&n===` `);let r=t-this.pos;return r>0&&(yield this.buffer.substr(this.pos,r),this.pos=t),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}})),ra=P((e=>{e.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]{var t=F(`process`),n=ta(),r=na();function i(e,t){for(let n=0;n=0;)switch(e[t].type){case`doc-start`:case`explicit-key-ind`:case`map-value-ind`:case`seq-item-ind`:case`newline`:break loop}for(;e[++t]?.type===`space`;);return e.splice(t,e.length)}function l(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if(this.type===`doc-end`&&e?.type!==`doc-end`){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:`doc-end`,offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case`document`:return yield*this.document(e);case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return yield*this.scalar(e);case`block-scalar`:return yield*this.blockScalar(e);case`block-map`:return yield*this.blockMap(e);case`block-seq`:return yield*this.blockSequence(e);case`flow-collection`:return yield*this.flowCollection(e);case`doc-end`:return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(!t)yield{type:`error`,offset:this.offset,source:``,message:`Tried to pop an empty stack`};else if(this.stack.length===0)yield t;else{let e=this.peek(1);switch(t.type===`block-scalar`?t.indent=`indent`in e?e.indent:0:t.type===`flow-collection`&&e.type===`document`&&(t.indent=0),t.type===`flow-collection`&&u(t),e.type){case`document`:e.value=t;break;case`block-scalar`:e.props.push(t);break;case`block-map`:{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case`block-seq`:{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case`flow-collection`:{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((e.type===`document`||e.type===`block-map`||e.type===`block-seq`)&&(t.type===`block-map`||t.type===`block-seq`)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&a(n.start)===-1&&(t.indent===0||n.start.every(e=>e.type!==`comment`||e.indent0&&(yield this.buffer.substr(this.pos,r),this.pos=t),r}*pushUntil(e){let t=this.pos,n=this.buffer[t];for(;!e(n);)n=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}})),oa=P((e=>{e.LineCounter=class{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,n=this.lineStarts.length;for(;t>1;this.lineStarts[r]{var t=F(`process`),n=ia(),r=aa();function i(e,t){for(let n=0;n=0;)switch(e[t].type){case`doc-start`:case`explicit-key-ind`:case`map-value-ind`:case`seq-item-ind`:case`newline`:break loop}for(;e[++t]?.type===`space`;);return e.splice(t,e.length)}function l(e,t){if(t.length<1e5)Array.prototype.push.apply(e,t);else for(let n=0;n0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if(this.type===`doc-end`&&e?.type!==`doc-end`){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:`doc-end`,offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case`document`:return yield*this.document(e);case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return yield*this.scalar(e);case`block-scalar`:return yield*this.blockScalar(e);case`block-map`:return yield*this.blockMap(e);case`block-seq`:return yield*this.blockSequence(e);case`flow-collection`:return yield*this.flowCollection(e);case`doc-end`:return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(!t)yield{type:`error`,offset:this.offset,source:``,message:`Tried to pop an empty stack`};else if(this.stack.length===0)yield t;else{let e=this.peek(1);switch(t.type===`block-scalar`?t.indent=`indent`in e?e.indent:0:t.type===`flow-collection`&&e.type===`document`&&(t.indent=0),t.type===`flow-collection`&&u(t),e.type){case`document`:e.value=t;break;case`block-scalar`:e.props.push(t);break;case`block-map`:{let n=e.items[e.items.length-1];if(n.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}else if(n.sep)n.value=t;else{Object.assign(n,{key:t,sep:[]}),this.onKeyLine=!n.explicitKey;return}break}case`block-seq`:{let n=e.items[e.items.length-1];n.value?e.items.push({start:[],value:t}):n.value=t;break}case`flow-collection`:{let n=e.items[e.items.length-1];!n||n.value?e.items.push({start:[],key:t,sep:[]}):n.sep?n.value=t:Object.assign(n,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if((e.type===`document`||e.type===`block-map`||e.type===`block-seq`)&&(t.type===`block-map`||t.type===`block-seq`)){let n=t.items[t.items.length-1];n&&!n.sep&&!n.value&&n.start.length>0&&a(n.start)===-1&&(t.indent===0||n.start.every(e=>e.type!==`comment`||e.indent=e.indent){let n=!this.onKeyLine&&this.indent===e.indent,r=n&&(t.sep||t.explicitKey)&&this.type!==`seq-item-ind`,a=[];if(r&&t.sep&&!t.value){let n=[];for(let r=0;re.indent&&(n.length=0);break;default:n.length=0}}n.length>=2&&(a=t.sep.splice(n[1]))}switch(this.type){case`anchor`:case`tag`:r||t.value?(a.push(this.sourceToken),e.items.push({start:a}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`explicit-key-ind`:!t.sep&&!t.explicitKey?(t.start.push(this.sourceToken),t.explicitKey=!0):r||t.value?(a.push(this.sourceToken),e.items.push({start:a,explicitKey:!0})):this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}),this.onKeyLine=!0;return;case`map-value-ind`:if(t.explicitKey)if(!t.sep)if(i(t.start,`newline`))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=c(t.start);this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else if(t.value)e.items.push({start:[],key:null,sep:[this.sourceToken]});else if(i(t.sep,`map-value-ind`))this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:a,key:null,sep:[this.sourceToken]}]});else if(o(t.key)&&!i(t.sep,`newline`)){let e=c(t.start),n=t.key,r=t.sep;r.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:e,key:n,sep:r}]})}else a.length>0?t.sep=t.sep.concat(a,this.sourceToken):t.sep.push(this.sourceToken);else t.sep?t.value||r?e.items.push({start:a,key:null,sep:[this.sourceToken]}):i(t.sep,`map-value-ind`)?this.stack.push({type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);r||t.value?(e.items.push({start:a,key:n,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(n):(Object.assign(t,{key:n,sep:[]}),this.onKeyLine=!0);return}default:{let r=this.startBlockValue(e);if(r){if(r.type===`block-seq`){if(!t.explicitKey&&t.sep&&!i(t.sep,`newline`)){yield*this.pop({type:`error`,offset:this.offset,message:`Unexpected block-seq-ind on same line with key`,source:this.source});return}}else n&&e.items.push({start:a});this.stack.push(r);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case`newline`:if(t.value){let n=`end`in t.value?t.value.end:void 0;(Array.isArray(n)?n[n.length-1]:void 0)?.type===`comment`?n?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case`space`:case`comment`:if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let n=e.items[e.items.length-2]?.value?.end;if(Array.isArray(n)){l(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case`anchor`:case`tag`:if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case`seq-item-ind`:if(this.indent!==e.indent)break;t.value||i(t.start,`seq-item-ind`)?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t){this.stack.push(t);return}}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if(this.type===`flow-error-end`){let e;do yield*this.pop(),e=this.peek(1);while(e?.type===`flow-collection`)}else if(e.end.length===0){switch(this.type){case`comma`:case`explicit-key-ind`:!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case`map-value-ind`:!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case`space`:case`comment`:case`newline`:case`anchor`:case`tag`:!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:{let n=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:n,sep:[]}):t.sep?this.stack.push(n):Object.assign(t,{key:n,sep:[]});return}case`flow-map-end`:case`flow-seq-end`:e.end.push(this.sourceToken);return}let n=this.startBlockValue(e);n?this.stack.push(n):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if(t.type===`block-map`&&(this.type===`map-value-ind`&&t.indent===e.indent||this.type===`newline`&&!t.items[t.items.length-1].sep))yield*this.pop(),yield*this.step();else if(this.type===`map-value-ind`&&t.type!==`flow-collection`){let n=c(s(t));u(e);let r=e.end.splice(1,e.end.length);r.push(this.sourceToken);let i={type:`block-map`,offset:e.offset,indent:e.indent,items:[{start:n,key:e,sep:r}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e)}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf(` `)+1;for(;e!==0;)this.onNewLine(this.offset+e),e=this.source.indexOf(` -`,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=c(s(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=c(s(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}}})),aa=P((e=>{var t=Zi(),n=Pi(),r=Fi(),i=ai(),a=Ur(),o=ra(),s=ia();function c(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new o.LineCounter||null,prettyErrors:t}}function l(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=Array.from(l.compose(o.parse(e)));if(a&&i)for(let t of u)t.errors.forEach(r.prettifyError(e,i)),t.warnings.forEach(r.prettifyError(e,i));return u.length>0?u:Object.assign([],{empty:!0},l.streamInfo())}function u(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=null;for(let t of l.compose(o.parse(e),!0,e.length))if(!u)u=t;else if(u.options.logLevel!==`silent`){u.errors.push(new r.YAMLParseError(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return a&&i&&(u.errors.forEach(r.prettifyError(e,i)),u.warnings.forEach(r.prettifyError(e,i))),u}function d(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let a=u(e,n);if(!a)return null;if(a.warnings.forEach(e=>i.warn(a.options.logLevel,e)),a.errors.length>0){if(a.options.logLevel!==`silent`)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:r},n))}function f(e,t,r){let i=null;if(typeof t==`function`||Array.isArray(t)?i=t:r===void 0&&t&&(r=t),typeof r==`string`&&(r=r.length),typeof r==`number`){let e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=r??t??{};if(!e)return}return a.isDocument(e)&&!i?e.toString(r):new n.Document(e,i,r).toString(r)}e.parse=d,e.parseAllDocuments=l,e.parseDocument=u,e.stringify=f})),oa=P((e=>{var t=Zi(),n=Pi(),r=Mi(),i=Fi(),a=Xr(),o=Ur(),s=ci(),c=Zr(),l=ui(),u=fi();ta();var d=na(),f=ra(),p=ia(),m=aa(),h=Wr();e.Composer=t.Composer,e.Document=n.Document,e.Schema=r.Schema,e.YAMLError=i.YAMLError,e.YAMLParseError=i.YAMLParseError,e.YAMLWarning=i.YAMLWarning,e.Alias=a.Alias,e.isAlias=o.isAlias,e.isCollection=o.isCollection,e.isDocument=o.isDocument,e.isMap=o.isMap,e.isNode=o.isNode,e.isPair=o.isPair,e.isScalar=o.isScalar,e.isSeq=o.isSeq,e.Pair=s.Pair,e.Scalar=c.Scalar,e.YAMLMap=l.YAMLMap,e.YAMLSeq=u.YAMLSeq,e.Lexer=d.Lexer,e.LineCounter=f.LineCounter,e.Parser=p.Parser,e.parse=m.parse,e.parseAllDocuments=m.parseAllDocuments,e.parseDocument=m.parseDocument,e.stringify=m.stringify,e.visit=h.visit,e.visitAsync=h.visitAsync})),sa;function z(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,`_zod`,{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;en?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,`name`,{value:e}),o}var ca=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},la=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(sa=globalThis).__zod_globalConfig??(sa.__zod_globalConfig={});const ua=globalThis.__zod_globalConfig;function da(e){return e&&Object.assign(ua,e),ua}function fa(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function pa(e,t){return typeof t==`bigint`?t.toString():t}function ma(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function ha(e){return e==null}function ga(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}const _a=Symbol(`evaluating`);function va(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==_a)return r===void 0&&(r=_a,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function ya(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function ba(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function xa(e){return JSON.stringify(e)}function Sa(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}const Ca=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function wa(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}const Ta=ma(()=>{if(ua.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function Ea(e){if(wa(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(wa(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function Da(e){return Ea(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const Oa=new Set([`string`,`number`,`symbol`]);function ka(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Aa(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function B(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function ja(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}-Number.MAX_VALUE,Number.MAX_VALUE;function Ma(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return Aa(e,ba(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return ya(this,`shape`,e),e},checks:[]}))}function Na(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return Aa(e,ba(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return ya(this,`shape`,r),r},checks:[]}))}function Pa(e,t){if(!Ea(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Aa(e,ba(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ya(this,`shape`,n),n}}))}function Fa(e,t){if(!Ea(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Aa(e,ba(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return ya(this,`shape`,n),n}}))}function Ia(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return Aa(e,ba(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return ya(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function La(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return Aa(t,ba(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return ya(this,`shape`,i),i},checks:[]}))}function Ra(e,t,n){return Aa(t,ba(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return ya(this,`shape`,i),i}}))}function za(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Ha(e){return typeof e==`string`?e:e?.message}function Ua(e,t,n){let r=e.message?e.message:Ha(e.inst?._zod.def?.error?.(e))??Ha(t?.error?.(e))??Ha(n.customError?.(e))??Ha(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function Wa(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Ga(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}const Ka=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,`_zod`,{value:e._zod,enumerable:!1}),Object.defineProperty(e,`issues`,{value:t,enumerable:!1}),e.message=JSON.stringify(t,pa,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},qa=z(`$ZodError`,Ka),Ja=z(`$ZodError`,Ka,{Parent:Error});function Ya(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function Xa(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new ca;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Ua(e,a,da())));throw Ca(t,i?.callee),t}return o.value},Qa=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Ua(e,a,da())));throw Ca(t,i?.callee),t}return o.value},$a=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new ca;return a.issues.length?{success:!1,error:new(e??qa)(a.issues.map(e=>Ua(e,i,da())))}:{success:!0,data:a.value}},eo=$a(Ja),to=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Ua(e,i,da())))}:{success:!0,data:a.value}},no=to(Ja),ro=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Za(e)(t,n,i)},io=e=>(t,n,r)=>Za(e)(t,n,r),ao=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return Qa(e)(t,n,i)},oo=e=>async(t,n,r)=>Qa(e)(t,n,r),so=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return $a(e)(t,n,i)},co=e=>(t,n,r)=>$a(e)(t,n,r),lo=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return to(e)(t,n,i)},uo=e=>async(t,n,r)=>to(e)(t,n,r),fo=/^[cC][0-9a-z]{6,}$/,po=/^[0-9a-z]+$/,mo=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,ho=/^[0-9a-vA-V]{20}$/,go=/^[A-Za-z0-9]{27}$/,_o=/^[a-zA-Z0-9_-]{21}$/,vo=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,yo=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,bo=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,xo=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;function So(){return RegExp(`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,`u`)}const Co=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,wo=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,To=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,Eo=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Do=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,Oo=/^[A-Za-z0-9_-]*$/,ko=/^https?$/,Ao=/^\+[1-9]\d{6,14}$/,jo=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,Mo=RegExp(`^${jo}$`);function No(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Po(e){return RegExp(`^${No(e)}$`)}function Fo(e){let t=No({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${jo}T(?:${r})$`)}const Io=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Lo=/^(?:true|false)$/i,Ro=/^null$/i,zo=/^[^A-Z]*$/,Bo=/^[^a-z]*$/,Vo=z(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Ho=z(`$ZodCheckMaxLength`,(e,t)=>{var n;Vo.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!ha(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum{let r=n.value;if(r.length<=t.maximum)return;let i=Wa(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Uo=z(`$ZodCheckMinLength`,(e,t)=>{var n;Vo.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!ha(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=Wa(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Wo=z(`$ZodCheckLengthEquals`,(e,t)=>{var n;Vo.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!ha(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=Wa(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Go=z(`$ZodCheckStringFormat`,(e,t)=>{var n,r;Vo.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Ko=z(`$ZodCheckRegex`,(e,t)=>{Go.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),qo=z(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=zo,Go.init(e,t)}),Jo=z(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Bo,Go.init(e,t)}),Yo=z(`$ZodCheckIncludes`,(e,t)=>{Vo.init(e,t);let n=ka(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),Xo=z(`$ZodCheckStartsWith`,(e,t)=>{Vo.init(e,t);let n=RegExp(`^${ka(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),Zo=z(`$ZodCheckEndsWith`,(e,t)=>{Vo.init(e,t);let n=RegExp(`.*${ka(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),Qo=z(`$ZodCheckOverwrite`,(e,t)=>{Vo.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});var $o=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(` +`,e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case`alias`:case`scalar`:case`single-quoted-scalar`:case`double-quoted-scalar`:return this.flowScalar(this.type);case`block-scalar-header`:return{type:`block-scalar`,offset:this.offset,indent:this.indent,props:[this.sourceToken],source:``};case`flow-map-start`:case`flow-seq-start`:return{type:`flow-collection`,offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case`seq-item-ind`:return{type:`block-seq`,offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case`explicit-key-ind`:{this.onKeyLine=!0;let t=c(s(e));return t.push(this.sourceToken),{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case`map-value-ind`:{this.onKeyLine=!0;let t=c(s(e));return{type:`block-map`,offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return this.type!==`comment`||this.indent<=t?!1:e.every(e=>e.type===`newline`||e.type===`space`)}*documentEnd(e){this.type!==`doc-mode`&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case`comma`:case`doc-start`:case`doc-end`:case`flow-seq-end`:case`flow-map-end`:case`map-value-ind`:yield*this.pop(),yield*this.step();break;case`newline`:this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type===`newline`&&(yield*this.pop())}}}})),ca=P((e=>{var t=ea(),n=Li(),r=Ri(),i=ci(),a=Kr(),o=oa(),s=sa();function c(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new o.LineCounter||null,prettyErrors:t}}function l(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=Array.from(l.compose(o.parse(e)));if(a&&i)for(let t of u)t.errors.forEach(r.prettifyError(e,i)),t.warnings.forEach(r.prettifyError(e,i));return u.length>0?u:Object.assign([],{empty:!0},l.streamInfo())}function u(e,n={}){let{lineCounter:i,prettyErrors:a}=c(n),o=new s.Parser(i?.addNewLine),l=new t.Composer(n),u=null;for(let t of l.compose(o.parse(e),!0,e.length))if(!u)u=t;else if(u.options.logLevel!==`silent`){u.errors.push(new r.YAMLParseError(t.range.slice(0,2),`MULTIPLE_DOCS`,`Source contains multiple documents; please use YAML.parseAllDocuments()`));break}return a&&i&&(u.errors.forEach(r.prettifyError(e,i)),u.warnings.forEach(r.prettifyError(e,i))),u}function d(e,t,n){let r;typeof t==`function`?r=t:n===void 0&&t&&typeof t==`object`&&(n=t);let a=u(e,n);if(!a)return null;if(a.warnings.forEach(e=>i.warn(a.options.logLevel,e)),a.errors.length>0){if(a.options.logLevel!==`silent`)throw a.errors[0];a.errors=[]}return a.toJS(Object.assign({reviver:r},n))}function f(e,t,r){let i=null;if(typeof t==`function`||Array.isArray(t)?i=t:r===void 0&&t&&(r=t),typeof r==`string`&&(r=r.length),typeof r==`number`){let e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(e===void 0){let{keepUndefined:e}=r??t??{};if(!e)return}return a.isDocument(e)&&!i?e.toString(r):new n.Document(e,i,r).toString(r)}e.parse=d,e.parseAllDocuments=l,e.parseDocument=u,e.stringify=f})),la=P((e=>{var t=ea(),n=Li(),r=Fi(),i=Ri(),a=$r(),o=Kr(),s=di(),c=ei(),l=pi(),u=hi();ia();var d=aa(),f=oa(),p=sa(),m=ca(),h=qr();e.Composer=t.Composer,e.Document=n.Document,e.Schema=r.Schema,e.YAMLError=i.YAMLError,e.YAMLParseError=i.YAMLParseError,e.YAMLWarning=i.YAMLWarning,e.Alias=a.Alias,e.isAlias=o.isAlias,e.isCollection=o.isCollection,e.isDocument=o.isDocument,e.isMap=o.isMap,e.isNode=o.isNode,e.isPair=o.isPair,e.isScalar=o.isScalar,e.isSeq=o.isSeq,e.Pair=s.Pair,e.Scalar=c.Scalar,e.YAMLMap=l.YAMLMap,e.YAMLSeq=u.YAMLSeq,e.Lexer=d.Lexer,e.LineCounter=f.LineCounter,e.Parser=p.Parser,e.parse=m.parse,e.parseAllDocuments=m.parseAllDocuments,e.parseDocument=m.parseDocument,e.stringify=m.stringify,e.visit=h.visit,e.visitAsync=h.visitAsync})),ua;function z(e,t,n){function r(n,r){if(n._zod||Object.defineProperty(n,`_zod`,{value:{def:r,constr:o,traits:new Set},enumerable:!1}),n._zod.traits.has(e))return;n._zod.traits.add(e),t(n,r);let i=o.prototype,a=Object.keys(i);for(let e=0;en?.Parent&&t instanceof n.Parent?!0:t?._zod?.traits?.has(e)}),Object.defineProperty(o,`name`,{value:e}),o}var da=class extends Error{constructor(){super(`Encountered Promise during synchronous parse. Use .parseAsync() instead.`)}},fa=class extends Error{constructor(e){super(`Encountered unidirectional transform during encode: ${e}`),this.name=`ZodEncodeError`}};(ua=globalThis).__zod_globalConfig??(ua.__zod_globalConfig={});const pa=globalThis.__zod_globalConfig;function ma(e){return e&&Object.assign(pa,e),pa}function ha(e){let t=Object.values(e).filter(e=>typeof e==`number`);return Object.entries(e).filter(([e,n])=>t.indexOf(+e)===-1).map(([e,t])=>t)}function ga(e,t){return typeof t==`bigint`?t.toString():t}function _a(e){return{get value(){{let t=e();return Object.defineProperty(this,`value`,{value:t}),t}throw Error(`cached value already set`)}}}function va(e){return e==null}function ya(e){let t=+!!e.startsWith(`^`),n=e.endsWith(`$`)?e.length-1:e.length;return e.slice(t,n)}const ba=Symbol(`evaluating`);function xa(e,t,n){let r;Object.defineProperty(e,t,{get(){if(r!==ba)return r===void 0&&(r=ba,r=n()),r},set(n){Object.defineProperty(e,t,{value:n})},configurable:!0})}function Sa(e,t,n){Object.defineProperty(e,t,{value:n,writable:!0,enumerable:!0,configurable:!0})}function Ca(...e){let t={};for(let n of e)Object.assign(t,Object.getOwnPropertyDescriptors(n));return Object.defineProperties({},t)}function wa(e){return JSON.stringify(e)}function Ta(e){return e.toLowerCase().trim().replace(/[^\w\s-]/g,``).replace(/[\s_-]+/g,`-`).replace(/^-+|-+$/g,``)}const Ea=`captureStackTrace`in Error?Error.captureStackTrace:(...e)=>{};function Da(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}const Oa=_a(()=>{if(pa.jitless||typeof navigator<`u`&&navigator?.userAgent?.includes(`Cloudflare`))return!1;try{return Function(``),!0}catch{return!1}});function ka(e){if(Da(e)===!1)return!1;let t=e.constructor;if(t===void 0||typeof t!=`function`)return!0;let n=t.prototype;return!(Da(n)===!1||Object.prototype.hasOwnProperty.call(n,`isPrototypeOf`)===!1)}function Aa(e){return ka(e)?{...e}:Array.isArray(e)?[...e]:e instanceof Map?new Map(e):e instanceof Set?new Set(e):e}const ja=new Set([`string`,`number`,`symbol`]);function Ma(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function Na(e,t,n){let r=new e._zod.constr(t??e._zod.def);return(!t||n?.parent)&&(r._zod.parent=e),r}function B(e){let t=e;if(!t)return{};if(typeof t==`string`)return{error:()=>t};if(t?.message!==void 0){if(t?.error!==void 0)throw Error("Cannot specify both `message` and `error` params");t.error=t.message}return delete t.message,typeof t.error==`string`?{...t,error:()=>t.error}:t}function Pa(e){return Object.keys(e).filter(t=>e[t]._zod.optin===`optional`&&e[t]._zod.optout===`optional`)}-Number.MAX_VALUE,Number.MAX_VALUE;function Fa(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.pick() cannot be used on object schemas containing refinements`);return Na(e,Ca(e._zod.def,{get shape(){let e={};for(let r in t){if(!(r in n.shape))throw Error(`Unrecognized key: "${r}"`);t[r]&&(e[r]=n.shape[r])}return Sa(this,`shape`,e),e},checks:[]}))}function Ia(e,t){let n=e._zod.def,r=n.checks;if(r&&r.length>0)throw Error(`.omit() cannot be used on object schemas containing refinements`);return Na(e,Ca(e._zod.def,{get shape(){let r={...e._zod.def.shape};for(let e in t){if(!(e in n.shape))throw Error(`Unrecognized key: "${e}"`);t[e]&&delete r[e]}return Sa(this,`shape`,r),r},checks:[]}))}function La(e,t){if(!ka(t))throw Error(`Invalid input to extend: expected a plain object`);let n=e._zod.def.checks;if(n&&n.length>0){let n=e._zod.def.shape;for(let e in t)if(Object.getOwnPropertyDescriptor(n,e)!==void 0)throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.")}return Na(e,Ca(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return Sa(this,`shape`,n),n}}))}function Ra(e,t){if(!ka(t))throw Error(`Invalid input to safeExtend: expected a plain object`);return Na(e,Ca(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t};return Sa(this,`shape`,n),n}}))}function za(e,t){if(e._zod.def.checks?.length)throw Error(`.merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.`);return Na(e,Ca(e._zod.def,{get shape(){let n={...e._zod.def.shape,...t._zod.def.shape};return Sa(this,`shape`,n),n},get catchall(){return t._zod.def.catchall},checks:t._zod.def.checks??[]}))}function Ba(e,t,n){let r=t._zod.def.checks;if(r&&r.length>0)throw Error(`.partial() cannot be used on object schemas containing refinements`);return Na(t,Ca(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in r))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t])}else for(let t in r)i[t]=e?new e({type:`optional`,innerType:r[t]}):r[t];return Sa(this,`shape`,i),i},checks:[]}))}function Va(e,t,n){return Na(t,Ca(t._zod.def,{get shape(){let r=t._zod.def.shape,i={...r};if(n)for(let t in n){if(!(t in i))throw Error(`Unrecognized key: "${t}"`);n[t]&&(i[t]=new e({type:`nonoptional`,innerType:r[t]}))}else for(let t in r)i[t]=new e({type:`nonoptional`,innerType:r[t]});return Sa(this,`shape`,i),i}}))}function Ha(e,t=0){if(e.aborted===!0)return!0;for(let n=t;n{var n;return(n=t).path??(n.path=[]),t.path.unshift(e),t})}function Ga(e){return typeof e==`string`?e:e?.message}function Ka(e,t,n){let r=e.message?e.message:Ga(e.inst?._zod.def?.error?.(e))??Ga(t?.error?.(e))??Ga(n.customError?.(e))??Ga(n.localeError?.(e))??`Invalid input`,{inst:i,continue:a,input:o,...s}=e;return s.path??=[],s.message=r,t?.reportInput&&(s.input=o),s}function qa(e){return Array.isArray(e)?`array`:typeof e==`string`?`string`:`unknown`}function Ja(...e){let[t,n,r]=e;return typeof t==`string`?{message:t,code:`custom`,input:n,inst:r}:{...t}}const Ya=(e,t)=>{e.name=`$ZodError`,Object.defineProperty(e,`_zod`,{value:e._zod,enumerable:!1}),Object.defineProperty(e,`issues`,{value:t,enumerable:!1}),e.message=JSON.stringify(t,ga,2),Object.defineProperty(e,`toString`,{value:()=>e.message,enumerable:!1})},Xa=z(`$ZodError`,Ya),Za=z(`$ZodError`,Ya,{Parent:Error});function Qa(e,t=e=>e.message){let n={},r=[];for(let i of e.issues)i.path.length>0?(n[i.path[0]]=n[i.path[0]]||[],n[i.path[0]].push(t(i))):r.push(t(i));return{formErrors:r,fieldErrors:n}}function $a(e,t=e=>e.message){let n={_errors:[]},r=(e,i=[])=>{for(let a of e.issues)if(a.code===`invalid_union`&&a.errors.length)a.errors.map(e=>r({issues:e},[...i,...a.path]));else if(a.code===`invalid_key`)r({issues:a.issues},[...i,...a.path]);else if(a.code===`invalid_element`)r({issues:a.issues},[...i,...a.path]);else{let e=[...i,...a.path];if(e.length===0)n._errors.push(t(a));else{let r=n,i=0;for(;i(t,n,r,i)=>{let a=r?{...r,async:!1}:{async:!1},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise)throw new da;if(o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Ka(e,a,ma())));throw Ea(t,i?.callee),t}return o.value},to=e=>async(t,n,r,i)=>{let a=r?{...r,async:!0}:{async:!0},o=t._zod.run({value:n,issues:[]},a);if(o instanceof Promise&&(o=await o),o.issues.length){let t=new(i?.Err??e)(o.issues.map(e=>Ka(e,a,ma())));throw Ea(t,i?.callee),t}return o.value},no=e=>(t,n,r)=>{let i=r?{...r,async:!1}:{async:!1},a=t._zod.run({value:n,issues:[]},i);if(a instanceof Promise)throw new da;return a.issues.length?{success:!1,error:new(e??Xa)(a.issues.map(e=>Ka(e,i,ma())))}:{success:!0,data:a.value}},ro=no(Za),io=e=>async(t,n,r)=>{let i=r?{...r,async:!0}:{async:!0},a=t._zod.run({value:n,issues:[]},i);return a instanceof Promise&&(a=await a),a.issues.length?{success:!1,error:new e(a.issues.map(e=>Ka(e,i,ma())))}:{success:!0,data:a.value}},ao=io(Za),oo=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return eo(e)(t,n,i)},so=e=>(t,n,r)=>eo(e)(t,n,r),co=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return to(e)(t,n,i)},lo=e=>async(t,n,r)=>to(e)(t,n,r),uo=e=>(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return no(e)(t,n,i)},fo=e=>(t,n,r)=>no(e)(t,n,r),po=e=>async(t,n,r)=>{let i=r?{...r,direction:`backward`}:{direction:`backward`};return io(e)(t,n,i)},mo=e=>async(t,n,r)=>io(e)(t,n,r),ho=/^[cC][0-9a-z]{6,}$/,go=/^[0-9a-z]+$/,_o=/^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/,vo=/^[0-9a-vA-V]{20}$/,yo=/^[A-Za-z0-9]{27}$/,bo=/^[a-zA-Z0-9_-]{21}$/,xo=/^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/,So=/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/,Co=e=>e?RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`):/^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/,wo=/^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/;function To(){return RegExp(`^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$`,`u`)}const Eo=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,Do=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/,Oo=/^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/,ko=/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,Ao=/^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/,jo=/^[A-Za-z0-9_-]*$/,Mo=/^https?$/,No=/^\+[1-9]\d{6,14}$/,Po=`(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))`,Fo=RegExp(`^${Po}$`);function Io(e){let t=`(?:[01]\\d|2[0-3]):[0-5]\\d`;return typeof e.precision==`number`?e.precision===-1?`${t}`:e.precision===0?`${t}:[0-5]\\d`:`${t}:[0-5]\\d\\.\\d{${e.precision}}`:`${t}(?::[0-5]\\d(?:\\.\\d+)?)?`}function Lo(e){return RegExp(`^${Io(e)}$`)}function Ro(e){let t=Io({precision:e.precision}),n=[`Z`];e.local&&n.push(``),e.offset&&n.push(`([+-](?:[01]\\d|2[0-3]):[0-5]\\d)`);let r=`${t}(?:${n.join(`|`)})`;return RegExp(`^${Po}T(?:${r})$`)}const zo=e=>{let t=e?`[\\s\\S]{${e?.minimum??0},${e?.maximum??``}}`:`[\\s\\S]*`;return RegExp(`^${t}$`)},Bo=/^(?:true|false)$/i,Vo=/^null$/i,Ho=/^[^A-Z]*$/,Uo=/^[^a-z]*$/,Wo=z(`$ZodCheck`,(e,t)=>{var n;e._zod??={},e._zod.def=t,(n=e._zod).onattach??(n.onattach=[])}),Go=z(`$ZodCheckMaxLength`,(e,t)=>{var n;Wo.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!va(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.maximum??1/0;t.maximum{let r=n.value;if(r.length<=t.maximum)return;let i=qa(r);n.issues.push({origin:i,code:`too_big`,maximum:t.maximum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),Ko=z(`$ZodCheckMinLength`,(e,t)=>{var n;Wo.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!va(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag.minimum??-1/0;t.minimum>n&&(e._zod.bag.minimum=t.minimum)}),e._zod.check=n=>{let r=n.value;if(r.length>=t.minimum)return;let i=qa(r);n.issues.push({origin:i,code:`too_small`,minimum:t.minimum,inclusive:!0,input:r,inst:e,continue:!t.abort})}}),qo=z(`$ZodCheckLengthEquals`,(e,t)=>{var n;Wo.init(e,t),(n=e._zod.def).when??(n.when=e=>{let t=e.value;return!va(t)&&t.length!==void 0}),e._zod.onattach.push(e=>{let n=e._zod.bag;n.minimum=t.length,n.maximum=t.length,n.length=t.length}),e._zod.check=n=>{let r=n.value,i=r.length;if(i===t.length)return;let a=qa(r),o=i>t.length;n.issues.push({origin:a,...o?{code:`too_big`,maximum:t.length}:{code:`too_small`,minimum:t.length},inclusive:!0,exact:!0,input:n.value,inst:e,continue:!t.abort})}}),Jo=z(`$ZodCheckStringFormat`,(e,t)=>{var n,r;Wo.init(e,t),e._zod.onattach.push(e=>{let n=e._zod.bag;n.format=t.format,t.pattern&&(n.patterns??=new Set,n.patterns.add(t.pattern))}),t.pattern?(n=e._zod).check??(n.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:t.format,input:n.value,...t.pattern?{pattern:t.pattern.toString()}:{},inst:e,continue:!t.abort})}):(r=e._zod).check??(r.check=()=>{})}),Yo=z(`$ZodCheckRegex`,(e,t)=>{Jo.init(e,t),e._zod.check=n=>{t.pattern.lastIndex=0,!t.pattern.test(n.value)&&n.issues.push({origin:`string`,code:`invalid_format`,format:`regex`,input:n.value,pattern:t.pattern.toString(),inst:e,continue:!t.abort})}}),Xo=z(`$ZodCheckLowerCase`,(e,t)=>{t.pattern??=Ho,Jo.init(e,t)}),Zo=z(`$ZodCheckUpperCase`,(e,t)=>{t.pattern??=Uo,Jo.init(e,t)}),Qo=z(`$ZodCheckIncludes`,(e,t)=>{Wo.init(e,t);let n=Ma(t.includes),r=new RegExp(typeof t.position==`number`?`^.{${t.position}}${n}`:n);t.pattern=r,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(r)}),e._zod.check=n=>{n.value.includes(t.includes,t.position)||n.issues.push({origin:`string`,code:`invalid_format`,format:`includes`,includes:t.includes,input:n.value,inst:e,continue:!t.abort})}}),$o=z(`$ZodCheckStartsWith`,(e,t)=>{Wo.init(e,t);let n=RegExp(`^${Ma(t.prefix)}.*`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.startsWith(t.prefix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`starts_with`,prefix:t.prefix,input:n.value,inst:e,continue:!t.abort})}}),es=z(`$ZodCheckEndsWith`,(e,t)=>{Wo.init(e,t);let n=RegExp(`.*${Ma(t.suffix)}$`);t.pattern??=n,e._zod.onattach.push(e=>{let t=e._zod.bag;t.patterns??=new Set,t.patterns.add(n)}),e._zod.check=n=>{n.value.endsWith(t.suffix)||n.issues.push({origin:`string`,code:`invalid_format`,format:`ends_with`,suffix:t.suffix,input:n.value,inst:e,continue:!t.abort})}}),ts=z(`$ZodCheckOverwrite`,(e,t)=>{Wo.init(e,t),e._zod.check=e=>{e.value=t.tx(e.value)}});var ns=class{constructor(e=[]){this.content=[],this.indent=0,this&&(this.args=e)}indented(e){this.indent+=1,e(this),--this.indent}write(e){if(typeof e==`function`){e(this,{execution:`sync`}),e(this,{execution:`async`});return}let t=e.split(` `).filter(e=>e),n=Math.min(...t.map(e=>e.length-e.trimStart().length)),r=t.map(e=>e.slice(n)).map(e=>` `.repeat(this.indent*2)+e);for(let e of r)this.content.push(e)}compile(){let e=Function,t=this?.args,n=[...(this?.content??[``]).map(e=>` ${e}`)];return new e(...t,n.join(` -`))}};const es={major:4,minor:4,patch:3},ts=z(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=es;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=za(e),i;for(let a of t){if(a._zod.def.when){if(Ba(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new ca;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=za(e,t))});else{if(e.issues.length===t)continue;r||=za(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(za(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new ca;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new ca;return o.then(e=>t(e,r,a))}return t(o,r,a)}}va(e,`~standard`,()=>({validate:t=>{try{let n=eo(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return no(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),ns=z(`$ZodString`,(e,t)=>{ts.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??Io(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),rs=z(`$ZodStringFormat`,(e,t)=>{Go.init(e,t),ns.init(e,t)}),is=z(`$ZodGUID`,(e,t)=>{t.pattern??=yo,rs.init(e,t)}),as=z(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=bo(e)}else t.pattern??=bo();rs.init(e,t)}),os=z(`$ZodEmail`,(e,t)=>{t.pattern??=xo,rs.init(e,t)}),ss=z(`$ZodURL`,(e,t)=>{rs.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===ko.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),cs=z(`$ZodEmoji`,(e,t)=>{t.pattern??=So(),rs.init(e,t)}),ls=z(`$ZodNanoID`,(e,t)=>{t.pattern??=_o,rs.init(e,t)}),us=z(`$ZodCUID`,(e,t)=>{t.pattern??=fo,rs.init(e,t)}),ds=z(`$ZodCUID2`,(e,t)=>{t.pattern??=po,rs.init(e,t)}),fs=z(`$ZodULID`,(e,t)=>{t.pattern??=mo,rs.init(e,t)}),ps=z(`$ZodXID`,(e,t)=>{t.pattern??=ho,rs.init(e,t)}),ms=z(`$ZodKSUID`,(e,t)=>{t.pattern??=go,rs.init(e,t)}),hs=z(`$ZodISODateTime`,(e,t)=>{t.pattern??=Fo(t),rs.init(e,t)}),gs=z(`$ZodISODate`,(e,t)=>{t.pattern??=Mo,rs.init(e,t)}),_s=z(`$ZodISOTime`,(e,t)=>{t.pattern??=Po(t),rs.init(e,t)}),vs=z(`$ZodISODuration`,(e,t)=>{t.pattern??=vo,rs.init(e,t)}),ys=z(`$ZodIPv4`,(e,t)=>{t.pattern??=Co,rs.init(e,t),e._zod.bag.format=`ipv4`}),bs=z(`$ZodIPv6`,(e,t)=>{t.pattern??=wo,rs.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),xs=z(`$ZodCIDRv4`,(e,t)=>{t.pattern??=To,rs.init(e,t)}),Ss=z(`$ZodCIDRv6`,(e,t)=>{t.pattern??=Eo,rs.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function Cs(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const ws=z(`$ZodBase64`,(e,t)=>{t.pattern??=Do,rs.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{Cs(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function Ts(e){if(!Oo.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Cs(t.padEnd(Math.ceil(t.length/4)*4,`=`))}const Es=z(`$ZodBase64URL`,(e,t)=>{t.pattern??=Oo,rs.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{Ts(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),Ds=z(`$ZodE164`,(e,t)=>{t.pattern??=Ao,rs.init(e,t)});function Os(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}const ks=z(`$ZodJWT`,(e,t)=>{rs.init(e,t),e._zod.check=n=>{Os(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),As=z(`$ZodBoolean`,(e,t)=>{ts.init(e,t),e._zod.pattern=Lo,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),js=z(`$ZodNull`,(e,t)=>{ts.init(e,t),e._zod.pattern=Ro,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),Ms=z(`$ZodUnknown`,(e,t)=>{ts.init(e,t),e._zod.parse=e=>e}),Ns=z(`$ZodNever`,(e,t)=>{ts.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function Ps(e,t,n){e.issues.length&&t.issues.push(...Va(n,e.issues)),t.value[n]=e.value}const Fs=z(`$ZodArray`,(e,t)=>{ts.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;ePs(t,n,e))):Ps(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function Is(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...Va(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function Ls(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=ja(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function Rs(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>Is(e,n,i,t,u,d))):Is(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}const zs=z(`$ZodObject`,(e,t)=>{if(ts.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,`shape`,{get:()=>{let n={...e};return Object.defineProperty(t,`shape`,{value:n}),n}})}let n=ma(()=>Ls(t));va(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=wa,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>Is(n,t,e,s,r,i))):Is(a,t,e,s,r,i)}return i?Rs(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Bs=z(`$ZodObjectJIT`,(e,t)=>{zs.init(e,t);let n=e._zod.parse,r=ma(()=>Ls(t)),i=e=>{let t=new $o([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=xa(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=xa(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(` +`))}};const rs={major:4,minor:4,patch:3},is=z(`$ZodType`,(e,t)=>{var n;e??={},e._zod.def=t,e._zod.bag=e._zod.bag||{},e._zod.version=rs;let r=[...e._zod.def.checks??[]];e._zod.traits.has(`$ZodCheck`)&&r.unshift(e);for(let t of r)for(let n of t._zod.onattach)n(e);if(r.length===0)(n=e._zod).deferred??(n.deferred=[]),e._zod.deferred?.push(()=>{e._zod.run=e._zod.parse});else{let t=(e,t,n)=>{let r=Ha(e),i;for(let a of t){if(a._zod.def.when){if(Ua(e)||!a._zod.def.when(e))continue}else if(r)continue;let t=e.issues.length,o=a._zod.check(e);if(o instanceof Promise&&n?.async===!1)throw new da;if(i||o instanceof Promise)i=(i??Promise.resolve()).then(async()=>{await o,e.issues.length!==t&&(r||=Ha(e,t))});else{if(e.issues.length===t)continue;r||=Ha(e,t)}}return i?i.then(()=>e):e},n=(n,i,a)=>{if(Ha(n))return n.aborted=!0,n;let o=t(i,r,a);if(o instanceof Promise){if(a.async===!1)throw new da;return o.then(t=>e._zod.parse(t,a))}return e._zod.parse(o,a)};e._zod.run=(i,a)=>{if(a.skipChecks)return e._zod.parse(i,a);if(a.direction===`backward`){let t=e._zod.parse({value:i.value,issues:[]},{...a,skipChecks:!0});return t instanceof Promise?t.then(e=>n(e,i,a)):n(t,i,a)}let o=e._zod.parse(i,a);if(o instanceof Promise){if(a.async===!1)throw new da;return o.then(e=>t(e,r,a))}return t(o,r,a)}}xa(e,`~standard`,()=>({validate:t=>{try{let n=ro(e,t);return n.success?{value:n.data}:{issues:n.error?.issues}}catch{return ao(e,t).then(e=>e.success?{value:e.data}:{issues:e.error?.issues})}},vendor:`zod`,version:1}))}),as=z(`$ZodString`,(e,t)=>{is.init(e,t),e._zod.pattern=[...e?._zod.bag?.patterns??[]].pop()??zo(e._zod.bag),e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=String(n.value)}catch{}return typeof n.value==`string`||n.issues.push({expected:`string`,code:`invalid_type`,input:n.value,inst:e}),n}}),os=z(`$ZodStringFormat`,(e,t)=>{Jo.init(e,t),as.init(e,t)}),ss=z(`$ZodGUID`,(e,t)=>{t.pattern??=So,os.init(e,t)}),cs=z(`$ZodUUID`,(e,t)=>{if(t.version){let e={v1:1,v2:2,v3:3,v4:4,v5:5,v6:6,v7:7,v8:8}[t.version];if(e===void 0)throw Error(`Invalid UUID version: "${t.version}"`);t.pattern??=Co(e)}else t.pattern??=Co();os.init(e,t)}),ls=z(`$ZodEmail`,(e,t)=>{t.pattern??=wo,os.init(e,t)}),us=z(`$ZodURL`,(e,t)=>{os.init(e,t),e._zod.check=n=>{try{let r=n.value.trim();if(!t.normalize&&t.protocol?.source===Mo.source&&!/^https?:\/\//i.test(r)){n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid URL format`,input:n.value,inst:e,continue:!t.abort});return}let i=new URL(r);t.hostname&&(t.hostname.lastIndex=0,t.hostname.test(i.hostname)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid hostname`,pattern:t.hostname.source,input:n.value,inst:e,continue:!t.abort})),t.protocol&&(t.protocol.lastIndex=0,t.protocol.test(i.protocol.endsWith(`:`)?i.protocol.slice(0,-1):i.protocol)||n.issues.push({code:`invalid_format`,format:`url`,note:`Invalid protocol`,pattern:t.protocol.source,input:n.value,inst:e,continue:!t.abort})),t.normalize?n.value=i.href:n.value=r;return}catch{n.issues.push({code:`invalid_format`,format:`url`,input:n.value,inst:e,continue:!t.abort})}}}),ds=z(`$ZodEmoji`,(e,t)=>{t.pattern??=To(),os.init(e,t)}),fs=z(`$ZodNanoID`,(e,t)=>{t.pattern??=bo,os.init(e,t)}),ps=z(`$ZodCUID`,(e,t)=>{t.pattern??=ho,os.init(e,t)}),ms=z(`$ZodCUID2`,(e,t)=>{t.pattern??=go,os.init(e,t)}),hs=z(`$ZodULID`,(e,t)=>{t.pattern??=_o,os.init(e,t)}),gs=z(`$ZodXID`,(e,t)=>{t.pattern??=vo,os.init(e,t)}),_s=z(`$ZodKSUID`,(e,t)=>{t.pattern??=yo,os.init(e,t)}),vs=z(`$ZodISODateTime`,(e,t)=>{t.pattern??=Ro(t),os.init(e,t)}),ys=z(`$ZodISODate`,(e,t)=>{t.pattern??=Fo,os.init(e,t)}),bs=z(`$ZodISOTime`,(e,t)=>{t.pattern??=Lo(t),os.init(e,t)}),xs=z(`$ZodISODuration`,(e,t)=>{t.pattern??=xo,os.init(e,t)}),Ss=z(`$ZodIPv4`,(e,t)=>{t.pattern??=Eo,os.init(e,t),e._zod.bag.format=`ipv4`}),Cs=z(`$ZodIPv6`,(e,t)=>{t.pattern??=Do,os.init(e,t),e._zod.bag.format=`ipv6`,e._zod.check=n=>{try{new URL(`http://[${n.value}]`)}catch{n.issues.push({code:`invalid_format`,format:`ipv6`,input:n.value,inst:e,continue:!t.abort})}}}),ws=z(`$ZodCIDRv4`,(e,t)=>{t.pattern??=Oo,os.init(e,t)}),Ts=z(`$ZodCIDRv6`,(e,t)=>{t.pattern??=ko,os.init(e,t),e._zod.check=n=>{let r=n.value.split(`/`);try{if(r.length!==2)throw Error();let[e,t]=r;if(!t)throw Error();let n=Number(t);if(`${n}`!==t||n<0||n>128)throw Error();new URL(`http://[${e}]`)}catch{n.issues.push({code:`invalid_format`,format:`cidrv6`,input:n.value,inst:e,continue:!t.abort})}}});function Es(e){if(e===``)return!0;if(/\s/.test(e)||e.length%4!=0)return!1;try{return atob(e),!0}catch{return!1}}const Ds=z(`$ZodBase64`,(e,t)=>{t.pattern??=Ao,os.init(e,t),e._zod.bag.contentEncoding=`base64`,e._zod.check=n=>{Es(n.value)||n.issues.push({code:`invalid_format`,format:`base64`,input:n.value,inst:e,continue:!t.abort})}});function Os(e){if(!jo.test(e))return!1;let t=e.replace(/[-_]/g,e=>e===`-`?`+`:`/`);return Es(t.padEnd(Math.ceil(t.length/4)*4,`=`))}const ks=z(`$ZodBase64URL`,(e,t)=>{t.pattern??=jo,os.init(e,t),e._zod.bag.contentEncoding=`base64url`,e._zod.check=n=>{Os(n.value)||n.issues.push({code:`invalid_format`,format:`base64url`,input:n.value,inst:e,continue:!t.abort})}}),As=z(`$ZodE164`,(e,t)=>{t.pattern??=No,os.init(e,t)});function js(e,t=null){try{let n=e.split(`.`);if(n.length!==3)return!1;let[r]=n;if(!r)return!1;let i=JSON.parse(atob(r));return!(`typ`in i&&i?.typ!==`JWT`||!i.alg||t&&(!(`alg`in i)||i.alg!==t))}catch{return!1}}const Ms=z(`$ZodJWT`,(e,t)=>{os.init(e,t),e._zod.check=n=>{js(n.value,t.alg)||n.issues.push({code:`invalid_format`,format:`jwt`,input:n.value,inst:e,continue:!t.abort})}}),Ns=z(`$ZodBoolean`,(e,t)=>{is.init(e,t),e._zod.pattern=Bo,e._zod.parse=(n,r)=>{if(t.coerce)try{n.value=!!n.value}catch{}let i=n.value;return typeof i==`boolean`||n.issues.push({expected:`boolean`,code:`invalid_type`,input:i,inst:e}),n}}),Ps=z(`$ZodNull`,(e,t)=>{is.init(e,t),e._zod.pattern=Vo,e._zod.values=new Set([null]),e._zod.parse=(t,n)=>{let r=t.value;return r===null||t.issues.push({expected:`null`,code:`invalid_type`,input:r,inst:e}),t}}),Fs=z(`$ZodUnknown`,(e,t)=>{is.init(e,t),e._zod.parse=e=>e}),Is=z(`$ZodNever`,(e,t)=>{is.init(e,t),e._zod.parse=(t,n)=>(t.issues.push({expected:`never`,code:`invalid_type`,input:t.value,inst:e}),t)});function Ls(e,t,n){e.issues.length&&t.issues.push(...Wa(n,e.issues)),t.value[n]=e.value}const Rs=z(`$ZodArray`,(e,t)=>{is.init(e,t),e._zod.parse=(n,r)=>{let i=n.value;if(!Array.isArray(i))return n.issues.push({expected:`array`,code:`invalid_type`,input:i,inst:e}),n;n.value=Array(i.length);let a=[];for(let e=0;eLs(t,n,e))):Ls(s,n,e)}return a.length?Promise.all(a).then(()=>n):n}});function zs(e,t,n,r,i,a){let o=n in r;if(e.issues.length){if(i&&a&&!o)return;t.issues.push(...Wa(n,e.issues))}if(!o&&!i){e.issues.length||t.issues.push({code:`invalid_type`,expected:`nonoptional`,input:void 0,path:[n]});return}e.value===void 0?o&&(t.value[n]=void 0):t.value[n]=e.value}function Bs(e){let t=Object.keys(e.shape);for(let n of t)if(!e.shape?.[n]?._zod?.traits?.has(`$ZodType`))throw Error(`Invalid element at key "${n}": expected a Zod schema`);let n=Pa(e.shape);return{...e,keys:t,keySet:new Set(t),numKeys:t.length,optionalKeys:new Set(n)}}function Vs(e,t,n,r,i,a){let o=[],s=i.keySet,c=i.catchall._zod,l=c.def.type,u=c.optin===`optional`,d=c.optout===`optional`;for(let i in t){if(i===`__proto__`||s.has(i))continue;if(l===`never`){o.push(i);continue}let a=c.run({value:t[i],issues:[]},r);a instanceof Promise?e.push(a.then(e=>zs(e,n,i,t,u,d))):zs(a,n,i,t,u,d)}return o.length&&n.issues.push({code:`unrecognized_keys`,keys:o,input:t,inst:a}),e.length?Promise.all(e).then(()=>n):n}const Hs=z(`$ZodObject`,(e,t)=>{if(is.init(e,t),!Object.getOwnPropertyDescriptor(t,`shape`)?.get){let e=t.shape;Object.defineProperty(t,`shape`,{get:()=>{let n={...e};return Object.defineProperty(t,`shape`,{value:n}),n}})}let n=_a(()=>Bs(t));xa(e._zod,`propValues`,()=>{let e=t.shape,n={};for(let t in e){let r=e[t]._zod;if(r.values){n[t]??(n[t]=new Set);for(let e of r.values)n[t].add(e)}}return n});let r=Da,i=t.catchall,a;e._zod.parse=(t,o)=>{a??=n.value;let s=t.value;if(!r(s))return t.issues.push({expected:`object`,code:`invalid_type`,input:s,inst:e}),t;t.value={};let c=[],l=a.shape;for(let e of a.keys){let n=l[e],r=n._zod.optin===`optional`,i=n._zod.optout===`optional`,a=n._zod.run({value:s[e],issues:[]},o);a instanceof Promise?c.push(a.then(n=>zs(n,t,e,s,r,i))):zs(a,t,e,s,r,i)}return i?Vs(c,s,t,o,n.value,e):c.length?Promise.all(c).then(()=>t):t}}),Us=z(`$ZodObjectJIT`,(e,t)=>{Hs.init(e,t);let n=e._zod.parse,r=_a(()=>Bs(t)),i=e=>{let t=new ns([`shape`,`payload`,`ctx`]),n=r.value,i=e=>{let t=wa(e);return`shape[${t}]._zod.run({ value: input[${t}], issues: [] }, ctx)`};t.write(`const input = payload.value;`);let a=Object.create(null),o=0;for(let e of n.keys)a[e]=`key_${o++}`;t.write(`const newResult = {};`);for(let r of n.keys){let n=a[r],o=wa(r),s=e[r],c=s?._zod?.optin===`optional`,l=s?._zod?.optout===`optional`;t.write(`const ${n} = ${i(r)};`),c&&l?t.write(` if (${n}.issues.length) { if (${o} in input) { payload.issues = payload.issues.concat(${n}.issues.map(iss => ({ @@ -188,52 +188,52 @@ $&`).replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,`$1$2`).replace(/\ } } - `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=wa,s=!ua.jitless,c=s&&Ta.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?Rs([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function Vs(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!za(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Ua(e,r,da())))}),t)}const Hs=z(`$ZodUnion`,(e,t)=>{ts.init(e,t),va(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),va(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),va(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),va(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>ga(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Vs(t,r,e,i)):Vs(o,r,e,i)}}),Us=z(`$ZodIntersection`,(e,t)=>{ts.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Gs(e,t,n)):Gs(e,i,a)}});function Ws(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(Ea(e)&&Ea(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=Ws(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;re.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),za(e))return e;let o=Ws(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}const Ks=z(`$ZodEnum`,(e,t)=>{ts.init(e,t);let n=fa(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>Oa.has(typeof e)).map(e=>typeof e==`string`?ka(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),qs=z(`$ZodTransform`,(e,t)=>{ts.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new la(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new ca;return n.value=i,n.fallback=!0,n}});function Js(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const Ys=z(`$ZodOptional`,(e,t)=>{ts.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,va(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),va(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ga(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>Js(e,r)):Js(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),Xs=z(`$ZodExactOptional`,(e,t)=>{Ys.init(e,t),va(e._zod,`values`,()=>t.innerType._zod.values),va(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),Zs=z(`$ZodNullable`,(e,t)=>{ts.init(e,t),va(e._zod,`optin`,()=>t.innerType._zod.optin),va(e._zod,`optout`,()=>t.innerType._zod.optout),va(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ga(e.source)}|null)$`):void 0}),va(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),Qs=z(`$ZodDefault`,(e,t)=>{ts.init(e,t),e._zod.optin=`optional`,va(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>$s(e,t)):$s(r,t)}});function $s(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const ec=z(`$ZodPrefault`,(e,t)=>{ts.init(e,t),e._zod.optin=`optional`,va(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),tc=z(`$ZodNonOptional`,(e,t)=>{ts.init(e,t),va(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>nc(t,e)):nc(i,e)}});function nc(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}const rc=z(`$ZodCatch`,(e,t)=>{ts.init(e,t),e._zod.optin=`optional`,va(e._zod,`optout`,()=>t.innerType._zod.optout),va(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Ua(e,n,da()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Ua(e,n,da()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),ic=z(`$ZodPipe`,(e,t)=>{ts.init(e,t),va(e._zod,`values`,()=>t.in._zod.values),va(e._zod,`optin`,()=>t.in._zod.optin),va(e._zod,`optout`,()=>t.out._zod.optout),va(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>ac(e,t.in,n)):ac(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>ac(e,t.out,n)):ac(r,t.out,n)}});function ac(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}const oc=z(`$ZodReadonly`,(e,t)=>{ts.init(e,t),va(e._zod,`propValues`,()=>t.innerType._zod.propValues),va(e._zod,`values`,()=>t.innerType._zod.values),va(e._zod,`optin`,()=>t.innerType?._zod?.optin),va(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(sc):sc(r)}});function sc(e){return e.value=Object.freeze(e.value),e}const cc=z(`$ZodCustom`,(e,t)=>{Vo.init(e,t),ts.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>lc(t,n,r,e));lc(i,n,r,e)}});function lc(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Ga(e))}}var uc,dc=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function fc(){return new dc}(uc=globalThis).__zod_globalRegistry??(uc.__zod_globalRegistry=fc());const pc=globalThis.__zod_globalRegistry;function mc(e,t){return new e({type:`string`,...B(t)})}function hc(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...B(t)})}function gc(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...B(t)})}function _c(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...B(t)})}function vc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...B(t)})}function yc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...B(t)})}function bc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...B(t)})}function xc(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...B(t)})}function Sc(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...B(t)})}function Cc(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...B(t)})}function wc(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...B(t)})}function Tc(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...B(t)})}function Ec(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...B(t)})}function Dc(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...B(t)})}function Oc(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...B(t)})}function kc(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...B(t)})}function Ac(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...B(t)})}function jc(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...B(t)})}function Mc(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...B(t)})}function Nc(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...B(t)})}function Pc(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...B(t)})}function Fc(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...B(t)})}function Ic(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...B(t)})}function Lc(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...B(t)})}function Rc(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...B(t)})}function zc(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...B(t)})}function Bc(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...B(t)})}function Vc(e,t){return new e({type:`boolean`,...B(t)})}function Hc(e,t){return new e({type:`null`,...B(t)})}function Uc(e){return new e({type:`unknown`})}function Wc(e,t){return new e({type:`never`,...B(t)})}function Gc(e,t){return new Ho({check:`max_length`,...B(t),maximum:e})}function Kc(e,t){return new Uo({check:`min_length`,...B(t),minimum:e})}function qc(e,t){return new Wo({check:`length_equals`,...B(t),length:e})}function Jc(e,t){return new Ko({check:`string_format`,format:`regex`,...B(t),pattern:e})}function Yc(e){return new qo({check:`string_format`,format:`lowercase`,...B(e)})}function Xc(e){return new Jo({check:`string_format`,format:`uppercase`,...B(e)})}function Zc(e,t){return new Yo({check:`string_format`,format:`includes`,...B(t),includes:e})}function Qc(e,t){return new Xo({check:`string_format`,format:`starts_with`,...B(t),prefix:e})}function $c(e,t){return new Zo({check:`string_format`,format:`ends_with`,...B(t),suffix:e})}function el(e){return new Qo({check:`overwrite`,tx:e})}function tl(e){return el(t=>t.normalize(e))}function nl(){return el(e=>e.trim())}function rl(){return el(e=>e.toLowerCase())}function il(){return el(e=>e.toUpperCase())}function al(){return el(e=>Sa(e))}function ol(e,t,n){return new e({type:`array`,element:t,...B(n)})}function sl(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...B(n)})}function cl(e,t){let n=ll(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(Ga(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(Ga(r))}},e(t.value,t)),t);return n}function ll(e,t){let n=new Vo({check:`custom`,...B(t)});return n._zod.check=e,n}function ul(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??pc,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function dl(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,dl(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&ml(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function fl(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/ + `)}t.write(`payload.value = newResult;`),t.write(`return payload;`);let s=t.compile();return(t,n)=>s(e,t,n)},a,o=Da,s=!pa.jitless,c=s&&Oa.value,l=t.catchall,u;e._zod.parse=(d,f)=>{u??=r.value;let p=d.value;return o(p)?s&&c&&f?.async===!1&&f.jitless!==!0?(a||=i(t.shape),d=a(d,f),l?Vs([],p,d,f,u,e):d):n(d,f):(d.issues.push({expected:`object`,code:`invalid_type`,input:p,inst:e}),d)}});function Ws(e,t,n,r){for(let n of e)if(n.issues.length===0)return t.value=n.value,t;let i=e.filter(e=>!Ha(e));return i.length===1?(t.value=i[0].value,i[0]):(t.issues.push({code:`invalid_union`,input:t.value,inst:n,errors:e.map(e=>e.issues.map(e=>Ka(e,r,ma())))}),t)}const Gs=z(`$ZodUnion`,(e,t)=>{is.init(e,t),xa(e._zod,`optin`,()=>t.options.some(e=>e._zod.optin===`optional`)?`optional`:void 0),xa(e._zod,`optout`,()=>t.options.some(e=>e._zod.optout===`optional`)?`optional`:void 0),xa(e._zod,`values`,()=>{if(t.options.every(e=>e._zod.values))return new Set(t.options.flatMap(e=>Array.from(e._zod.values)))}),xa(e._zod,`pattern`,()=>{if(t.options.every(e=>e._zod.pattern)){let e=t.options.map(e=>e._zod.pattern);return RegExp(`^(${e.map(e=>ya(e.source)).join(`|`)})$`)}});let n=t.options.length===1?t.options[0]._zod.run:null;e._zod.parse=(r,i)=>{if(n)return n(r,i);let a=!1,o=[];for(let e of t.options){let t=e._zod.run({value:r.value,issues:[]},i);if(t instanceof Promise)o.push(t),a=!0;else{if(t.issues.length===0)return t;o.push(t)}}return a?Promise.all(o).then(t=>Ws(t,r,e,i)):Ws(o,r,e,i)}}),Ks=z(`$ZodIntersection`,(e,t)=>{is.init(e,t),e._zod.parse=(e,n)=>{let r=e.value,i=t.left._zod.run({value:r,issues:[]},n),a=t.right._zod.run({value:r,issues:[]},n);return i instanceof Promise||a instanceof Promise?Promise.all([i,a]).then(([t,n])=>Js(e,t,n)):Js(e,i,a)}});function qs(e,t){if(e===t||e instanceof Date&&t instanceof Date&&+e==+t)return{valid:!0,data:e};if(ka(e)&&ka(t)){let n=Object.keys(t),r=Object.keys(e).filter(e=>n.indexOf(e)!==-1),i={...e,...t};for(let n of r){let r=qs(e[n],t[n]);if(!r.valid)return{valid:!1,mergeErrorPath:[n,...r.mergeErrorPath]};i[n]=r.data}return{valid:!0,data:i}}if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return{valid:!1,mergeErrorPath:[]};let n=[];for(let r=0;re.l&&e.r).map(([e])=>e);if(a.length&&i&&e.issues.push({...i,keys:a}),Ha(e))return e;let o=qs(t.value,n.value);if(!o.valid)throw Error(`Unmergable intersection. Error path: ${JSON.stringify(o.mergeErrorPath)}`);return e.value=o.data,e}const Ys=z(`$ZodEnum`,(e,t)=>{is.init(e,t);let n=ha(t.entries),r=new Set(n);e._zod.values=r,e._zod.pattern=RegExp(`^(${n.filter(e=>ja.has(typeof e)).map(e=>typeof e==`string`?Ma(e):e.toString()).join(`|`)})$`),e._zod.parse=(t,i)=>{let a=t.value;return r.has(a)||t.issues.push({code:`invalid_value`,values:n,input:a,inst:e}),t}}),Xs=z(`$ZodTransform`,(e,t)=>{is.init(e,t),e._zod.optin=`optional`,e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new fa(e.constructor.name);let i=t.transform(n.value,n);if(r.async)return(i instanceof Promise?i:Promise.resolve(i)).then(e=>(n.value=e,n.fallback=!0,n));if(i instanceof Promise)throw new da;return n.value=i,n.fallback=!0,n}});function Zs(e,t){return t===void 0&&(e.issues.length||e.fallback)?{issues:[],value:void 0}:e}const Qs=z(`$ZodOptional`,(e,t)=>{is.init(e,t),e._zod.optin=`optional`,e._zod.optout=`optional`,xa(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,void 0]):void 0),xa(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ya(e.source)})?$`):void 0}),e._zod.parse=(e,n)=>{if(t.innerType._zod.optin===`optional`){let r=e.value,i=t.innerType._zod.run(e,n);return i instanceof Promise?i.then(e=>Zs(e,r)):Zs(i,r)}return e.value===void 0?e:t.innerType._zod.run(e,n)}}),$s=z(`$ZodExactOptional`,(e,t)=>{Qs.init(e,t),xa(e._zod,`values`,()=>t.innerType._zod.values),xa(e._zod,`pattern`,()=>t.innerType._zod.pattern),e._zod.parse=(e,n)=>t.innerType._zod.run(e,n)}),ec=z(`$ZodNullable`,(e,t)=>{is.init(e,t),xa(e._zod,`optin`,()=>t.innerType._zod.optin),xa(e._zod,`optout`,()=>t.innerType._zod.optout),xa(e._zod,`pattern`,()=>{let e=t.innerType._zod.pattern;return e?RegExp(`^(${ya(e.source)}|null)$`):void 0}),xa(e._zod,`values`,()=>t.innerType._zod.values?new Set([...t.innerType._zod.values,null]):void 0),e._zod.parse=(e,n)=>e.value===null?e:t.innerType._zod.run(e,n)}),tc=z(`$ZodDefault`,(e,t)=>{is.init(e,t),e._zod.optin=`optional`,xa(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);if(e.value===void 0)return e.value=t.defaultValue,e;let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(e=>nc(e,t)):nc(r,t)}});function nc(e,t){return e.value===void 0&&(e.value=t.defaultValue),e}const rc=z(`$ZodPrefault`,(e,t)=>{is.init(e,t),e._zod.optin=`optional`,xa(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>(n.direction===`backward`||e.value===void 0&&(e.value=t.defaultValue),t.innerType._zod.run(e,n))}),ic=z(`$ZodNonOptional`,(e,t)=>{is.init(e,t),xa(e._zod,`values`,()=>{let e=t.innerType._zod.values;return e?new Set([...e].filter(e=>e!==void 0)):void 0}),e._zod.parse=(n,r)=>{let i=t.innerType._zod.run(n,r);return i instanceof Promise?i.then(t=>ac(t,e)):ac(i,e)}});function ac(e,t){return!e.issues.length&&e.value===void 0&&e.issues.push({code:`invalid_type`,expected:`nonoptional`,input:e.value,inst:t}),e}const oc=z(`$ZodCatch`,(e,t)=>{is.init(e,t),e._zod.optin=`optional`,xa(e._zod,`optout`,()=>t.innerType._zod.optout),xa(e._zod,`values`,()=>t.innerType._zod.values),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(r=>(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Ka(e,n,ma()))},input:e.value}),e.issues=[],e.fallback=!0),e)):(e.value=r.value,r.issues.length&&(e.value=t.catchValue({...e,error:{issues:r.issues.map(e=>Ka(e,n,ma()))},input:e.value}),e.issues=[],e.fallback=!0),e)}}),sc=z(`$ZodPipe`,(e,t)=>{is.init(e,t),xa(e._zod,`values`,()=>t.in._zod.values),xa(e._zod,`optin`,()=>t.in._zod.optin),xa(e._zod,`optout`,()=>t.out._zod.optout),xa(e._zod,`propValues`,()=>t.in._zod.propValues),e._zod.parse=(e,n)=>{if(n.direction===`backward`){let r=t.out._zod.run(e,n);return r instanceof Promise?r.then(e=>cc(e,t.in,n)):cc(r,t.in,n)}let r=t.in._zod.run(e,n);return r instanceof Promise?r.then(e=>cc(e,t.out,n)):cc(r,t.out,n)}});function cc(e,t,n){return e.issues.length?(e.aborted=!0,e):t._zod.run({value:e.value,issues:e.issues,fallback:e.fallback},n)}const lc=z(`$ZodReadonly`,(e,t)=>{is.init(e,t),xa(e._zod,`propValues`,()=>t.innerType._zod.propValues),xa(e._zod,`values`,()=>t.innerType._zod.values),xa(e._zod,`optin`,()=>t.innerType?._zod?.optin),xa(e._zod,`optout`,()=>t.innerType?._zod?.optout),e._zod.parse=(e,n)=>{if(n.direction===`backward`)return t.innerType._zod.run(e,n);let r=t.innerType._zod.run(e,n);return r instanceof Promise?r.then(uc):uc(r)}});function uc(e){return e.value=Object.freeze(e.value),e}const dc=z(`$ZodCustom`,(e,t)=>{Wo.init(e,t),is.init(e,t),e._zod.parse=(e,t)=>e,e._zod.check=n=>{let r=n.value,i=t.fn(r);if(i instanceof Promise)return i.then(t=>fc(t,n,r,e));fc(i,n,r,e)}});function fc(e,t,n,r){if(!e){let e={code:`custom`,input:n,inst:r,path:[...r._zod.def.path??[]],continue:!r._zod.def.abort};r._zod.def.params&&(e.params=r._zod.def.params),t.issues.push(Ja(e))}}var pc,mc=class{constructor(){this._map=new WeakMap,this._idmap=new Map}add(e,...t){let n=t[0];return this._map.set(e,n),n&&typeof n==`object`&&`id`in n&&this._idmap.set(n.id,e),this}clear(){return this._map=new WeakMap,this._idmap=new Map,this}remove(e){let t=this._map.get(e);return t&&typeof t==`object`&&`id`in t&&this._idmap.delete(t.id),this._map.delete(e),this}get(e){let t=e._zod.parent;if(t){let n={...this.get(t)??{}};delete n.id;let r={...n,...this._map.get(e)};return Object.keys(r).length?r:void 0}return this._map.get(e)}has(e){return this._map.has(e)}};function hc(){return new mc}(pc=globalThis).__zod_globalRegistry??(pc.__zod_globalRegistry=hc());const gc=globalThis.__zod_globalRegistry;function _c(e,t){return new e({type:`string`,...B(t)})}function vc(e,t){return new e({type:`string`,format:`email`,check:`string_format`,abort:!1,...B(t)})}function yc(e,t){return new e({type:`string`,format:`guid`,check:`string_format`,abort:!1,...B(t)})}function bc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,...B(t)})}function xc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v4`,...B(t)})}function Sc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v6`,...B(t)})}function Cc(e,t){return new e({type:`string`,format:`uuid`,check:`string_format`,abort:!1,version:`v7`,...B(t)})}function wc(e,t){return new e({type:`string`,format:`url`,check:`string_format`,abort:!1,...B(t)})}function Tc(e,t){return new e({type:`string`,format:`emoji`,check:`string_format`,abort:!1,...B(t)})}function Ec(e,t){return new e({type:`string`,format:`nanoid`,check:`string_format`,abort:!1,...B(t)})}function Dc(e,t){return new e({type:`string`,format:`cuid`,check:`string_format`,abort:!1,...B(t)})}function Oc(e,t){return new e({type:`string`,format:`cuid2`,check:`string_format`,abort:!1,...B(t)})}function kc(e,t){return new e({type:`string`,format:`ulid`,check:`string_format`,abort:!1,...B(t)})}function Ac(e,t){return new e({type:`string`,format:`xid`,check:`string_format`,abort:!1,...B(t)})}function jc(e,t){return new e({type:`string`,format:`ksuid`,check:`string_format`,abort:!1,...B(t)})}function Mc(e,t){return new e({type:`string`,format:`ipv4`,check:`string_format`,abort:!1,...B(t)})}function Nc(e,t){return new e({type:`string`,format:`ipv6`,check:`string_format`,abort:!1,...B(t)})}function Pc(e,t){return new e({type:`string`,format:`cidrv4`,check:`string_format`,abort:!1,...B(t)})}function Fc(e,t){return new e({type:`string`,format:`cidrv6`,check:`string_format`,abort:!1,...B(t)})}function Ic(e,t){return new e({type:`string`,format:`base64`,check:`string_format`,abort:!1,...B(t)})}function Lc(e,t){return new e({type:`string`,format:`base64url`,check:`string_format`,abort:!1,...B(t)})}function Rc(e,t){return new e({type:`string`,format:`e164`,check:`string_format`,abort:!1,...B(t)})}function zc(e,t){return new e({type:`string`,format:`jwt`,check:`string_format`,abort:!1,...B(t)})}function Bc(e,t){return new e({type:`string`,format:`datetime`,check:`string_format`,offset:!1,local:!1,precision:null,...B(t)})}function Vc(e,t){return new e({type:`string`,format:`date`,check:`string_format`,...B(t)})}function Hc(e,t){return new e({type:`string`,format:`time`,check:`string_format`,precision:null,...B(t)})}function Uc(e,t){return new e({type:`string`,format:`duration`,check:`string_format`,...B(t)})}function Wc(e,t){return new e({type:`boolean`,...B(t)})}function Gc(e,t){return new e({type:`null`,...B(t)})}function Kc(e){return new e({type:`unknown`})}function qc(e,t){return new e({type:`never`,...B(t)})}function Jc(e,t){return new Go({check:`max_length`,...B(t),maximum:e})}function Yc(e,t){return new Ko({check:`min_length`,...B(t),minimum:e})}function Xc(e,t){return new qo({check:`length_equals`,...B(t),length:e})}function Zc(e,t){return new Yo({check:`string_format`,format:`regex`,...B(t),pattern:e})}function Qc(e){return new Xo({check:`string_format`,format:`lowercase`,...B(e)})}function $c(e){return new Zo({check:`string_format`,format:`uppercase`,...B(e)})}function el(e,t){return new Qo({check:`string_format`,format:`includes`,...B(t),includes:e})}function tl(e,t){return new $o({check:`string_format`,format:`starts_with`,...B(t),prefix:e})}function nl(e,t){return new es({check:`string_format`,format:`ends_with`,...B(t),suffix:e})}function rl(e){return new ts({check:`overwrite`,tx:e})}function il(e){return rl(t=>t.normalize(e))}function al(){return rl(e=>e.trim())}function ol(){return rl(e=>e.toLowerCase())}function sl(){return rl(e=>e.toUpperCase())}function cl(){return rl(e=>Ta(e))}function ll(e,t,n){return new e({type:`array`,element:t,...B(n)})}function ul(e,t,n){return new e({type:`custom`,check:`custom`,fn:t,...B(n)})}function dl(e,t){let n=fl(t=>(t.addIssue=e=>{if(typeof e==`string`)t.issues.push(Ja(e,t.value,n._zod.def));else{let r=e;r.fatal&&(r.continue=!1),r.code??=`custom`,r.input??=t.value,r.inst??=n,r.continue??=!n._zod.def.abort,t.issues.push(Ja(r))}},e(t.value,t)),t);return n}function fl(e,t){let n=new Wo({check:`custom`,...B(t)});return n._zod.check=e,n}function pl(e){let t=e?.target??`draft-2020-12`;return t===`draft-4`&&(t=`draft-04`),t===`draft-7`&&(t=`draft-07`),{processors:e.processors??{},metadataRegistry:e?.metadata??gc,target:t,unrepresentable:e?.unrepresentable??`throw`,override:e?.override??(()=>{}),io:e?.io??`output`,counter:0,seen:new Map,cycles:e?.cycles??`ref`,reused:e?.reused??`inline`,external:e?.external??void 0}}function ml(e,t,n={path:[],schemaPath:[]}){var r;let i=e._zod.def,a=t.seen.get(e);if(a)return a.count++,n.schemaPath.includes(e)&&(a.cycle=n.path),a.schema;let o={schema:{},count:1,cycle:void 0,path:n.path};t.seen.set(e,o);let s=e._zod.toJSONSchema?.();if(s)o.schema=s;else{let r={...n,schemaPath:[...n.schemaPath,e],path:n.path};if(e._zod.processJSONSchema)e._zod.processJSONSchema(t,o.schema,r);else{let n=o.schema,a=t.processors[i.type];if(!a)throw Error(`[toJSONSchema]: Non-representable type encountered: ${i.type}`);a(e,t,n,r)}let a=e._zod.parent;a&&(o.ref||=a,ml(a,t,r),t.seen.get(a).isParent=!0)}let c=t.metadataRegistry.get(e);return c&&Object.assign(o.schema,c),t.io===`input`&&_l(e)&&(delete o.schema.examples,delete o.schema.default),t.io===`input`&&`_prefault`in o.schema&&((r=o.schema).default??(r.default=o.schema._prefault)),delete o.schema._prefault,t.seen.get(e).schema}function hl(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=new Map;for(let t of e.seen.entries()){let n=e.metadataRegistry.get(t[0])?.id;if(n){let e=r.get(n);if(e&&e!==t[0])throw Error(`Duplicate schema id "${n}" detected during JSON Schema conversion. Two different schemas cannot share the same id when converted together.`);r.set(n,t[0])}}let i=t=>{let r=e.target===`draft-2020-12`?`$defs`:`definitions`;if(e.external){let n=e.external.registry.get(t[0])?.id,i=e.external.uri??(e=>e);if(n)return{ref:i(n)};let a=t[1].defId??t[1].schema.id??`schema${e.counter++}`;return t[1].defId=a,{defId:a,ref:`${i(`__shared`)}#/${r}/${a}`}}if(t[1]===n)return{ref:`#`};let i=`#/${r}/`,a=t[1].schema.id??`__schema${e.counter++}`;return{defId:a,ref:i+a}},a=e=>{if(e[1].schema.$ref)return;let t=e[1],{ref:n,defId:r}=i(e);t.def={...t.schema},r&&(t.defId=r);let a=t.schema;for(let e in a)delete a[e];a.$ref=n};if(e.cycles===`throw`)for(let t of e.seen.entries()){let e=t[1];if(e.cycle)throw Error(`Cycle detected: #/${e.cycle?.join(`/`)}/ -Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function pl(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref&&n.def)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:gl(t,`input`,e.processors),output:gl(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function ml(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return ml(r.element,n);if(r.type===`set`)return ml(r.valueType,n);if(r.type===`lazy`)return ml(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===`default`||r.type===`prefault`)return ml(r.innerType,n);if(r.type===`intersection`)return ml(r.left,n)||ml(r.right,n);if(r.type===`record`||r.type===`map`)return ml(r.keyType,n)||ml(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:ml(r.in,n)||ml(r.out,n);if(r.type===`object`){for(let e in r.shape)if(ml(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(ml(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(ml(e,n))return!0;return!!(r.rest&&ml(r.rest,n))}return!1}const hl=(e,t={})=>n=>{let r=ul({...n,processors:t});return dl(e,r),fl(r,e),pl(r,e)},gl=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=ul({...i??{},target:a,io:t,processors:n});return dl(e,o),fl(o,e),pl(o,e)},_l={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},vl=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=_l[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},yl=(e,t,n,r)=>{n.type=`boolean`},bl=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},xl=(e,t,n,r)=>{n.not={}},Sl=(e,t,n,r)=>{let i=e._zod.def,a=fa(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},Cl=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},wl=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},Tl=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=dl(a.element,t,{...r,path:[...r.path,`items`]})},El=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=dl(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=dl(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Dl=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>dl(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},Ol=(e,t,n,r)=>{let i=e._zod.def,a=dl(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=dl(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},kl=(e,t,n,r)=>{let i=e._zod.def,a=dl(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Al=(e,t,n,r)=>{let i=e._zod.def;dl(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},jl=(e,t,n,r)=>{let i=e._zod.def;dl(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},Ml=(e,t,n,r)=>{let i=e._zod.def;dl(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Nl=(e,t,n,r)=>{let i=e._zod.def;dl(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},Pl=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;dl(o,t,r);let s=t.seen.get(e);s.ref=o},Fl=(e,t,n,r)=>{let i=e._zod.def;dl(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},Il=(e,t,n,r)=>{let i=e._zod.def;dl(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Ll=z(`ZodISODateTime`,(e,t)=>{hs.init(e,t),fu.init(e,t)});function Rl(e){return Lc(Ll,e)}const zl=z(`ZodISODate`,(e,t)=>{gs.init(e,t),fu.init(e,t)});function Bl(e){return Rc(zl,e)}const Vl=z(`ZodISOTime`,(e,t)=>{_s.init(e,t),fu.init(e,t)});function Hl(e){return zc(Vl,e)}const Ul=z(`ZodISODuration`,(e,t)=>{vs.init(e,t),fu.init(e,t)});function Wl(e){return Bc(Ul,e)}const Gl=(e,t)=>{qa.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>Xa(e,t)},flatten:{value:t=>Ya(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,pa,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,pa,2)}},isEmpty:{get(){return e.issues.length===0}}})},Kl=z(`ZodError`,Gl),ql=z(`ZodError`,Gl,{Parent:Error}),Jl=Za(ql),Yl=Qa(ql),Xl=$a(ql),Zl=to(ql),Ql=ro(ql),$l=io(ql),eu=ao(ql),tu=oo(ql),nu=so(ql),ru=co(ql),iu=lo(ql),au=uo(ql),ou=new WeakMap;function su(e,t,n){let r=Object.getPrototypeOf(e),i=ou.get(r);if(i||(i=new Set,ou.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}const cu=z(`ZodType`,(e,t)=>(ts.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:gl(e,`input`),output:gl(e,`output`)}}),e.toJSONSchema=hl(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.parse=(t,n)=>Jl(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>Xl(e,t,n),e.parseAsync=async(t,n)=>Yl(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>Zl(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>Ql(e,t,n),e.decode=(t,n)=>$l(e,t,n),e.encodeAsync=async(t,n)=>eu(e,t,n),e.decodeAsync=async(t,n)=>tu(e,t,n),e.safeEncode=(t,n)=>nu(e,t,n),e.safeDecode=(t,n)=>ru(e,t,n),e.safeEncodeAsync=async(t,n)=>iu(e,t,n),e.safeDecodeAsync=async(t,n)=>au(e,t,n),su(e,`ZodType`,{check(...e){let t=this.def;return this.clone(ba(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Aa(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(_d(e,t))},superRefine(e,t){return this.check(vd(e,t))},overwrite(e){return this.check(el(e))},optional(){return $u(this)},exactOptional(){return td(this)},nullable(){return rd(this)},nullish(){return $u(rd(this))},nonoptional(e){return ld(this,e)},array(){return Vu(this)},or(e){return Gu([this,e])},and(e){return qu(this,e)},transform(e){return pd(this,Zu(e))},default(e){return ad(this,e)},prefault(e){return sd(this,e)},catch(e){return dd(this,e)},pipe(e){return pd(this,e)},readonly(){return hd(this)},describe(e){let t=this.clone();return pc.add(t,{description:e}),t},meta(...e){if(e.length===0)return pc.get(this);let t=this.clone();return pc.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,`description`,{get(){return pc.get(e)?.description},configurable:!0}),e)),lu=z(`_ZodString`,(e,t)=>{ns.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>vl(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,su(e,`_ZodString`,{regex(...e){return this.check(Jc(...e))},includes(...e){return this.check(Zc(...e))},startsWith(...e){return this.check(Qc(...e))},endsWith(...e){return this.check($c(...e))},min(...e){return this.check(Kc(...e))},max(...e){return this.check(Gc(...e))},length(...e){return this.check(qc(...e))},nonempty(...e){return this.check(Kc(1,...e))},lowercase(e){return this.check(Yc(e))},uppercase(e){return this.check(Xc(e))},trim(){return this.check(nl())},normalize(...e){return this.check(tl(...e))},toLowerCase(){return this.check(rl())},toUpperCase(){return this.check(il())},slugify(){return this.check(al())}})}),uu=z(`ZodString`,(e,t)=>{ns.init(e,t),lu.init(e,t),e.email=t=>e.check(hc(pu,t)),e.url=t=>e.check(xc(gu,t)),e.jwt=t=>e.check(Ic(ju,t)),e.emoji=t=>e.check(Sc(_u,t)),e.guid=t=>e.check(gc(mu,t)),e.uuid=t=>e.check(_c(hu,t)),e.uuidv4=t=>e.check(vc(hu,t)),e.uuidv6=t=>e.check(yc(hu,t)),e.uuidv7=t=>e.check(bc(hu,t)),e.nanoid=t=>e.check(Cc(vu,t)),e.guid=t=>e.check(gc(mu,t)),e.cuid=t=>e.check(wc(yu,t)),e.cuid2=t=>e.check(Tc(bu,t)),e.ulid=t=>e.check(Ec(xu,t)),e.base64=t=>e.check(Nc(Ou,t)),e.base64url=t=>e.check(Pc(ku,t)),e.xid=t=>e.check(Dc(Su,t)),e.ksuid=t=>e.check(Oc(Cu,t)),e.ipv4=t=>e.check(kc(wu,t)),e.ipv6=t=>e.check(Ac(Tu,t)),e.cidrv4=t=>e.check(jc(Eu,t)),e.cidrv6=t=>e.check(Mc(Du,t)),e.e164=t=>e.check(Fc(Au,t)),e.datetime=t=>e.check(Rl(t)),e.date=t=>e.check(Bl(t)),e.time=t=>e.check(Hl(t)),e.duration=t=>e.check(Wl(t))});function du(e){return mc(uu,e)}const fu=z(`ZodStringFormat`,(e,t)=>{rs.init(e,t),lu.init(e,t)}),pu=z(`ZodEmail`,(e,t)=>{os.init(e,t),fu.init(e,t)}),mu=z(`ZodGUID`,(e,t)=>{is.init(e,t),fu.init(e,t)}),hu=z(`ZodUUID`,(e,t)=>{as.init(e,t),fu.init(e,t)}),gu=z(`ZodURL`,(e,t)=>{ss.init(e,t),fu.init(e,t)}),_u=z(`ZodEmoji`,(e,t)=>{cs.init(e,t),fu.init(e,t)}),vu=z(`ZodNanoID`,(e,t)=>{ls.init(e,t),fu.init(e,t)}),yu=z(`ZodCUID`,(e,t)=>{us.init(e,t),fu.init(e,t)}),bu=z(`ZodCUID2`,(e,t)=>{ds.init(e,t),fu.init(e,t)}),xu=z(`ZodULID`,(e,t)=>{fs.init(e,t),fu.init(e,t)}),Su=z(`ZodXID`,(e,t)=>{ps.init(e,t),fu.init(e,t)}),Cu=z(`ZodKSUID`,(e,t)=>{ms.init(e,t),fu.init(e,t)}),wu=z(`ZodIPv4`,(e,t)=>{ys.init(e,t),fu.init(e,t)}),Tu=z(`ZodIPv6`,(e,t)=>{bs.init(e,t),fu.init(e,t)}),Eu=z(`ZodCIDRv4`,(e,t)=>{xs.init(e,t),fu.init(e,t)}),Du=z(`ZodCIDRv6`,(e,t)=>{Ss.init(e,t),fu.init(e,t)}),Ou=z(`ZodBase64`,(e,t)=>{ws.init(e,t),fu.init(e,t)}),ku=z(`ZodBase64URL`,(e,t)=>{Es.init(e,t),fu.init(e,t)}),Au=z(`ZodE164`,(e,t)=>{Ds.init(e,t),fu.init(e,t)}),ju=z(`ZodJWT`,(e,t)=>{ks.init(e,t),fu.init(e,t)}),Mu=z(`ZodBoolean`,(e,t)=>{As.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>yl(e,t,n,r)});function Nu(e){return Vc(Mu,e)}const Pu=z(`ZodNull`,(e,t)=>{js.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>bl(e,t,n,r)});function Fu(e){return Hc(Pu,e)}const Iu=z(`ZodUnknown`,(e,t)=>{Ms.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Lu(){return Uc(Iu)}const Ru=z(`ZodNever`,(e,t)=>{Ns.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xl(e,t,n,r)});function zu(e){return Wc(Ru,e)}const Bu=z(`ZodArray`,(e,t)=>{Fs.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Tl(e,t,n,r),e.element=t.element,su(e,`ZodArray`,{min(e,t){return this.check(Kc(e,t))},nonempty(e){return this.check(Kc(1,e))},max(e,t){return this.check(Gc(e,t))},length(e,t){return this.check(qc(e,t))},unwrap(){return this.element}})});function Vu(e,t){return ol(Bu,e,t)}const Hu=z(`ZodObject`,(e,t)=>{Bs.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>El(e,t,n,r),va(e,`shape`,()=>t.shape),su(e,`ZodObject`,{keyof(){return Yu(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:Lu()})},loose(){return this.clone({...this._zod.def,catchall:Lu()})},strict(){return this.clone({...this._zod.def,catchall:zu()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return Pa(this,e)},safeExtend(e){return Fa(this,e)},merge(e){return Ia(this,e)},pick(e){return Ma(this,e)},omit(e){return Na(this,e)},partial(...e){return La(Qu,this,e[0])},required(...e){return Ra(cd,this,e[0])}})});function Uu(e,t){return new Hu({type:`object`,shape:e??{},...B(t)})}const Wu=z(`ZodUnion`,(e,t)=>{Hs.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Dl(e,t,n,r),e.options=t.options});function Gu(e,t){return new Wu({type:`union`,options:e,...B(t)})}const Ku=z(`ZodIntersection`,(e,t)=>{Us.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ol(e,t,n,r)});function qu(e,t){return new Ku({type:`intersection`,left:e,right:t})}const Ju=z(`ZodEnum`,(e,t)=>{Ks.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sl(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Ju({...t,checks:[],...B(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Ju({...t,checks:[],...B(r),entries:i})}});function Yu(e,t){return new Ju({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...B(t)})}const Xu=z(`ZodTransform`,(e,t)=>{qs.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wl(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new la(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Ga(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Ga(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function Zu(e){return new Xu({type:`transform`,transform:e})}const Qu=z(`ZodOptional`,(e,t)=>{Ys.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Il(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function $u(e){return new Qu({type:`optional`,innerType:e})}const ed=z(`ZodExactOptional`,(e,t)=>{Xs.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Il(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function td(e){return new ed({type:`optional`,innerType:e})}const nd=z(`ZodNullable`,(e,t)=>{Zs.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function rd(e){return new nd({type:`nullable`,innerType:e})}const id=z(`ZodDefault`,(e,t)=>{Qs.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function ad(e,t){return new id({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Da(t)}})}const od=z(`ZodPrefault`,(e,t)=>{ec.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ml(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function sd(e,t){return new od({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Da(t)}})}const cd=z(`ZodNonOptional`,(e,t)=>{tc.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Al(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ld(e,t){return new cd({type:`nonoptional`,innerType:e,...B(t)})}const ud=z(`ZodCatch`,(e,t)=>{rc.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function dd(e,t){return new ud({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}const fd=z(`ZodPipe`,(e,t)=>{ic.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pl(e,t,n,r),e.in=t.in,e.out=t.out});function pd(e,t){return new fd({type:`pipe`,in:e,out:t})}const md=z(`ZodReadonly`,(e,t)=>{oc.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function hd(e){return new md({type:`readonly`,innerType:e})}const gd=z(`ZodCustom`,(e,t)=>{cc.init(e,t),cu.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cl(e,t,n,r)});function _d(e,t={}){return sl(gd,e,t)}function vd(e,t){return cl(e,t)}var yd=oa();const bd=Uu({cwd:du().optional(),args:Vu(du()).optional()}),xd=Gu([Fu(),Nu(),bd,Vu(bd)]),Sd=`Vite+`;function Cd(){return{version:jr(`version`)||`latest`,nodeVersion:jr(`node-version`)||void 0,nodeVersionFile:jr(`node-version-file`)||void 0,workingDirectory:jr(`working-directory`)||void 0,runInstall:wd(jr(`run-install`)),cache:Mr(`cache`),cacheDependencyPath:jr(`cache-dependency-path`)||void 0,registryUrl:jr(`registry-url`)||void 0,scope:jr(`scope`)||void 0}}function wd(e){if(!e||e===`false`||e===`null`)return[];if(e===`true`)return[{}];let t=(0,yd.parse)(e);try{let e=xd.parse(t);return e?e===!0?[{}]:Array.isArray(e)?e:[e]:[]}catch(e){throw e instanceof Kl?Error(`Invalid run-install input: ${e.issues.map(e=>e.message).join(`, `)}`):e}}function Td(){return N((process.platform===`win32`?process.env.USERPROFILE:process.env.HOME)||fe(),`.vite-plus`)}function Ed(){return process.env.GITHUB_WORKSPACE||process.cwd()}function Dd(e,t){return ee(e)?e:N(t,e)}function Od(e){if(!e.workingDirectory)return Ed();let t=Dd(e.workingDirectory,Ed());if(!ie(t))throw Error(`working-directory not found: ${e.workingDirectory} (resolved to ${t})`);if(!se(t).isDirectory())throw Error(`working-directory is not a directory: ${e.workingDirectory} (resolved to ${t})`);return t}function kd(e,t){return t?Dd(t,e):e}const Ad=[{filename:`pnpm-lock.yaml`,type:`pnpm`},{filename:`bun.lockb`,type:`bun`},{filename:`bun.lock`,type:`bun`},{filename:`package-lock.json`,type:`npm`},{filename:`npm-shrinkwrap.json`,type:`npm`},{filename:`yarn.lock`,type:`yarn`}];function jd(e,t=Ed()){if(e){let n=Dd(e,t);if(ie(n)){let e=j(n),t=Ad.find(t=>t.filename===e);return t?{type:t.type,path:n,filename:e}:Md(n,e)}return}let n=oe(t);for(let e of Ad)if(n.includes(e.filename)){let n=N(t,e.filename);return Rr(`Auto-detected lock file: ${e.filename}`),{type:e.type,path:n,filename:e.filename}}}function Md(e,t){return t.includes(`pnpm`)?{type:`pnpm`,path:e,filename:t}:t.includes(`yarn`)?{type:`yarn`,path:e,filename:t}:t.startsWith(`bun.`)?{type:`bun`,path:e,filename:t}:{type:`npm`,path:e,filename:t}}async function Nd(e,t){switch(e){case`npm`:case`pnpm`:case`yarn`:case`bun`:return Fd(t);default:return[]}}async function Pd(e,t,n){let r=`${e} ${t.join(` `)}`;try{let i=await Er(e,t,{cwd:n?.cwd,silent:!0,ignoreReturnCode:!0});if(i.exitCode===0)return i.stdout.trim();R(`Command "${r}" exited with code ${i.exitCode}`);return}catch(e){Lr(`Failed to run "${r}": ${String(e)}`);return}}async function Fd(e){let t=await Pd(`vp`,[`pm`,`cache`,`dir`],{cwd:e});return t?[t]:[]}const Id=[`https://viteplus.dev/install.sh`,`https://raw.githubusercontent.com/voidzero-dev/vite-plus/main/packages/cli/install.sh`],Ld=[`https://viteplus.dev/install.ps1`,`https://raw.githubusercontent.com/voidzero-dev/vite-plus/main/packages/cli/install.ps1`],Rd=2e3;async function zd(e){let{version:t}=e;Rr(`Installing ${Sd}@${t}...`);let n={...process.env,VP_VERSION:t,VITE_PLUS_VERSION:t},r=process.platform===`win32`?Ld:Id,i=2*r.length,a=``,o=0;for(let e=0;e<2;e++)for(let e of r){o++;try{let t=await Bd(e,n);if(t===0){Vd();return}a=`exit code ${t}`}catch(e){a=e instanceof Error?e.message:String(e)}o!e.negate);let t={};for(let n of e){let e=$d?n.searchPath.toUpperCase():n.searchPath;t[e]=`candidate`}let n=[];for(let r of e){let e=$d?r.searchPath.toUpperCase():r.searchPath;if(t[e]===`included`)continue;let i=!1,a=e,o=Kd(a);for(;o!==a;){if(t[o]){i=!0;break}a=o,o=Kd(a)}i||(n.push(r.searchPath),t[e]=`included`)}return n}function tf(e,t){let n=Qd.None;for(let r of e)r.negate?n&=~r.match(t):n|=r.match(t);return n}function nf(e,t){return e.some(e=>!e.negate&&e.partialMatch(t))}var rf=P(((e,t)=>{t.exports=function(e,t){for(var r=[],i=0;i{t.exports=n;function n(e,t,n){e instanceof RegExp&&(e=r(e,n)),t instanceof RegExp&&(t=r(t,n));var a=i(e,t,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+e.length,a[1]),post:n.slice(a[1]+t.length)}}function r(e,t){var n=t.match(e);return n?n[0]:null}n.range=i;function i(e,t,n){var r,i,a,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){if(e===t)return[c,l];for(r=[],a=n.length;u>=0&&!s;)u==c?(r.push(u),c=n.indexOf(e,u+1)):r.length==1?s=[r.pop(),l]:(i=r.pop(),i=0?c:l;r.length&&(s=[a,o])}return s}})),of=P(((e,t)=>{var n=rf(),r=af();t.exports=p;var i=`\0SLASH`+Math.random()+`\0`,a=`\0OPEN`+Math.random()+`\0`,o=`\0CLOSE`+Math.random()+`\0`,s=`\0COMMA`+Math.random()+`\0`,c=`\0PERIOD`+Math.random()+`\0`;function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function u(e){return e.split(`\\\\`).join(i).split(`\\{`).join(a).split(`\\}`).join(o).split(`\\,`).join(s).split(`\\.`).join(c)}function d(e){return e.split(i).join(`\\`).split(a).join(`{`).split(o).join(`}`).split(s).join(`,`).split(c).join(`.`)}function f(e){if(!e)return[``];var t=[],n=r(`{`,`}`,e);if(!n)return e.split(`,`);var i=n.pre,a=n.body,o=n.post,s=i.split(`,`);s[s.length-1]+=`{`+a+`}`;var c=f(o);return o.length&&(s[s.length-1]+=c.shift(),s.push.apply(s,c)),t.push.apply(t,s),t}function p(e,t){if(!e)return[];t||={};var n=t.max==null?1/0:t.max;return e.substr(0,2)===`{}`&&(e=`\\{\\}`+e.substr(2)),v(u(e),n,!0).map(d)}function m(e){return`{`+e+`}`}function h(e){return/^-?0\d/.test(e)}function g(e,t){return e<=t}function _(e,t){return e>=t}function v(e,t,i){var a=[],s=r(`{`,`}`,e);if(!s||/\$$/.test(s.pre))return[e];var c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),d=c||u,p=s.body.indexOf(`,`)>=0;if(!d&&!p)return s.post.match(/,(?!,).*\}/)?(e=s.pre+`{`+s.body+o+s.post,v(e,t,!0)):[e];var y;if(d)y=s.body.split(/\.\./);else if(y=f(s.body),y.length===1&&(y=v(y[0],t,!1).map(m),y.length===1)){var b=s.post.length?v(s.post,t,!1):[``];return b.map(function(e){return s.pre+y[0]+e})}var x=s.pre,b=s.post.length?v(s.post,t,!1):[``],S;if(d){var C=l(y[0]),w=l(y[1]),T=Math.max(y[0].length,y[1].length),E=y.length==3?Math.max(Math.abs(l(y[2])),1):1,D=g;w0){var M=Array(j+1).join(`0`);A=k<0?`-`+M+A.slice(1):M+A}}S.push(A)}}else S=n(y,function(e){return v(e,t,!1)});for(var ee=0;ee{t.exports=h,h.Minimatch=g;var n=function(){try{return F(`path`)}catch{}}()||{sep:`/`};h.sep=n.sep;var r=h.GLOBSTAR=g.GLOBSTAR={},i=of(),a={"!":{open:`(?:(?!(?:`,close:`))[^/]*?)`},"?":{open:`(?:`,close:`)?`},"+":{open:`(?:`,close:`)+`},"*":{open:`(?:`,close:`)*`},"@":{open:`(?:`,close:`)`}},o=`[^/]`,s=o+`*?`,c=`(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?`,l=`(?:(?!(?:\\/|^)\\.).)*?`,u=d(`().*{}+?[]^$\\!`);function d(e){return e.split(``).reduce(function(e,t){return e[t]=!0,e},{})}var f=/\/+/;h.filter=p;function p(e,t){return t||={},function(n,r,i){return h(n,e,t)}}function m(e,t){t||={};var n={};return Object.keys(e).forEach(function(t){n[t]=e[t]}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}h.defaults=function(e){if(!e||typeof e!=`object`||!Object.keys(e).length)return h;var t=h,n=function(n,r,i){return t(n,r,m(e,i))};return n.Minimatch=function(n,r){return new t.Minimatch(n,m(e,r))},n.Minimatch.defaults=function(n){return t.defaults(m(e,n)).Minimatch},n.filter=function(n,r){return t.filter(n,m(e,r))},n.defaults=function(n){return t.defaults(m(e,n))},n.makeRe=function(n,r){return t.makeRe(n,m(e,r))},n.braceExpand=function(n,r){return t.braceExpand(n,m(e,r))},n.match=function(n,r,i){return t.match(n,r,m(e,i))},n},g.defaults=function(e){return h.defaults(e).Minimatch};function h(e,t,n){return x(t),n||={},!n.nocomment&&t.charAt(0)===`#`?!1:new g(t,n).match(e)}function g(e,t){if(!(this instanceof g))return new g(e,t);x(e),t||={},e=e.trim(),!t.allowWindowsEscape&&n.sep!==`/`&&(e=e.split(n.sep).join(`/`)),this.options=t,this.maxGlobstarRecursion=t.maxGlobstarRecursion===void 0?200:t.maxGlobstarRecursion,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}g.prototype.debug=function(){},g.prototype.make=_;function _(){var e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)===`#`){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,n),n=this.globParts=n.map(function(e){return e.split(f)}),this.debug(this.pattern,n),n=n.map(function(e,t,n){return e.map(this.parse,this)},this),this.debug(this.pattern,n),n=n.filter(function(e){return e.indexOf(!1)===-1}),this.debug(this.pattern,n),this.set=n}g.prototype.parseNegate=v;function v(){var e=this.pattern,t=!1,n=this.options,r=0;if(!n.nonegate){for(var i=0,a=e.length;ib)throw TypeError(`pattern is too long`)};g.prototype.parse=C;var S={};function C(e,t){x(e);var n=this.options;if(e===`**`)if(n.noglobstar)e=`*`;else return r;if(e===``)return``;var i=``,c=!!n.nocase,l=!1,d=[],f=[],p,m=!1,h=-1,g=-1,_=e.charAt(0)===`.`?``:n.dot?`(?!(?:^|\\/)\\.{1,2}(?:$|\\/))`:`(?!\\.)`,v=this;function y(){if(p){switch(p){case`*`:i+=s,c=!0;break;case`?`:i+=o,c=!0;break;default:i+=`\\`+p;break}v.debug(`clearStateChar %j %j`,p,i),p=!1}}for(var b=0,C=e.length,w;b-1;M--){var ee=f[M],N=i.slice(0,ee.reStart),te=i.slice(ee.reStart,ee.reEnd-8),ne=i.slice(ee.reEnd-8,ee.reEnd),re=i.slice(ee.reEnd);ne+=re;var ie=N.split(`(`).length-1,ae=re;for(b=0;b=0&&(a=e[o],!a);o--);for(o=0;o=0;o--)if(t[o]===r){c=o;break}var l=t.slice(a,s),u=n?t.slice(s+1):t.slice(s+1,c),d=n?[]:t.slice(c+1);if(l.length){var f=e.slice(i,i+l.length);if(!this._matchOne(f,l,n,0,0))return!1;i+=l.length}var p=0;if(d.length){if(d.length+i>e.length)return!1;var m=e.length-d.length;if(this._matchOne(e,d,n,m,0))p=d.length;else{if(e[e.length-1]!==``||i+d.length===e.length||(m--,!this._matchOne(e,d,n,m,0)))return!1;p=d.length+1}}if(!u.length){var h=!!p;for(o=i;o0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;te.getLiteral(t)).filter(e=>!o&&!(o=e===``));this.searchPath=new lf(s).toString(),this.rootRegExp=new RegExp(e.regExpEscape(s[0]),df?`i`:``),this.isImplicitPattern=n;let c={dot:!0,nobrace:!0,nocase:df,nocomment:!0,noext:!0,nonegate:!0};a=df?a.replace(/\\/g,`/`):a,this.minimatch=new uf(a,c)}match(e){return this.segments[this.segments.length-1]===`**`?(e=Xd(e),!e.endsWith(u.sep)&&this.isImplicitPattern===!1&&(e=`${e}${u.sep}`)):e=Zd(e),this.minimatch.match(e)?this.trailingSeparator?Qd.Directory:Qd.All:Qd.None}partialMatch(e){return e=Zd(e),Kd(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(df?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(df?e:e.replace(/\\/g,`\\\\`)).replace(/(\[)(?=[^/]+\])/g,`[[]`).replace(/\?/g,`[?]`).replace(/\*/g,`[*]`)}static fixupPattern(n,r){h(n,`pattern cannot be empty`);let i=new lf(n).segments.map(t=>e.getLiteral(t));if(h(i.every((e,t)=>(e!==`.`||t===0)&&e!==`..`),`Invalid pattern '${n}'. Relative pathing '.' and '..' is not allowed.`),h(!Yd(n)||i[0],`Invalid pattern '${n}'. Root segment must not contain globs.`),n=Xd(n),n===`.`||n.startsWith(`.${u.sep}`))n=e.globEscape(process.cwd())+n.substr(1);else if(n===`~`||n.startsWith(`~${u.sep}`))r||=t.homedir(),h(r,`Unable to determine HOME directory`),h(Jd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),n=e.globEscape(r)+n.substr(1);else if(df&&(n.match(/^[A-Z]:$/i)||n.match(/^[A-Z]:[^\\]/i))){let t=qd(`C:\\dummy-root`,n.substr(0,2));n.length>2&&!t.endsWith(`\\`)&&(t+=`\\`),n=e.globEscape(t)+n.substr(2)}else if(df&&(n===`\\`||n.match(/^\\[^\\]/))){let t=qd(`C:\\dummy-root`,`\\`);t.endsWith(`\\`)||(t+=`\\`),n=e.globEscape(t)+n.substr(1)}else n=qd(e.globEscape(process.cwd()),n);return Xd(n)}static getLiteral(e){let t=``;for(let n=0;n=0){if(r.length>1)return``;if(r){t+=r,n=i;continue}}}t+=r}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,`\\$&`)}},pf=class{constructor(e,t){this.path=e,this.level=t}},mf=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},hf=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},gf=function(e){return this instanceof gf?(this.v=e,this):new gf(e)},_f=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof gf?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};const vf=process.platform===`win32`;var yf=class e{constructor(e){this.patterns=[],this.searchPaths=[],this.options=Wd(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return mf(this,void 0,void 0,function*(){var e,t,n,r;let i=[];try{for(var a=!0,o=hf(this.globGenerator()),s;s=yield o.next(),e=s.done,!e;a=!0){r=s.value,a=!1;let e=r;i.push(e)}}catch(e){t={error:e}}finally{try{!a&&!e&&(n=o.return)&&(yield n.call(o))}finally{if(t)throw t.error}}return i})}globGenerator(){return _f(this,arguments,function*(){let t=Wd(this.options),n=[];for(let e of this.patterns)n.push(e),t.implicitDescendants&&(e.trailingSeparator||e.segments[e.segments.length-1]!==`**`)&&n.push(new ff(e.negate,!0,e.segments.concat(`**`)));let r=[];for(let e of ef(n)){R(`Search path '${e}'`);try{yield gf(a.promises.lstat(e))}catch(e){if(e.code===`ENOENT`)continue;throw e}r.unshift(new pf(e,1))}let i=[];for(;r.length;){let o=r.pop(),s=tf(n,o.path),c=!!s||nf(n,o.path);if(!s&&!c)continue;let l=yield gf(e.stat(o,t,i));if(l&&!(t.excludeHiddenFiles&&u.basename(o.path).match(/^\./)))if(l.isDirectory()){if(s&Qd.Directory&&t.matchDirectories)yield yield gf(o.path);else if(!c)continue;let e=o.level+1,n=(yield gf(a.promises.readdir(o.path))).map(t=>new pf(u.join(o.path,t),e));r.push(...n.reverse())}else s&Qd.File&&(yield yield gf(o.path))}})}static create(t,n){return mf(this,void 0,void 0,function*(){let r=new e(n);vf&&(t=t.replace(/\r\n/g,` +Set the \`cycles\` parameter to \`"ref"\` to resolve cyclical schemas with defs.`)}for(let n of e.seen.entries()){let r=n[1];if(t===n[0]){a(n);continue}if(e.external){let r=e.external.registry.get(n[0])?.id;if(t!==n[0]&&r){a(n);continue}}if(e.metadataRegistry.get(n[0])?.id){a(n);continue}if(r.cycle){a(n);continue}if(r.count>1&&e.reused===`ref`){a(n);continue}}}function gl(e,t){let n=e.seen.get(t);if(!n)throw Error(`Unprocessed schema. This is a bug in Zod.`);let r=t=>{let n=e.seen.get(t);if(n.ref===null)return;let i=n.def??n.schema,a={...i},o=n.ref;if(n.ref=null,o){r(o);let n=e.seen.get(o),s=n.schema;if(s.$ref&&(e.target===`draft-07`||e.target===`draft-04`||e.target===`openapi-3.0`)?(i.allOf=i.allOf??[],i.allOf.push(s)):Object.assign(i,s),Object.assign(i,a),t._zod.parent===o)for(let e in i)e===`$ref`||e===`allOf`||e in a||delete i[e];if(s.$ref&&n.def)for(let e in i)e===`$ref`||e===`allOf`||e in n.def&&JSON.stringify(i[e])===JSON.stringify(n.def[e])&&delete i[e]}let s=t._zod.parent;if(s&&s!==o){r(s);let t=e.seen.get(s);if(t?.schema.$ref&&(i.$ref=t.schema.$ref,t.def))for(let e in i)e===`$ref`||e===`allOf`||e in t.def&&JSON.stringify(i[e])===JSON.stringify(t.def[e])&&delete i[e]}e.override({zodSchema:t,jsonSchema:i,path:n.path??[]})};for(let t of[...e.seen.entries()].reverse())r(t[0]);let i={};if(e.target===`draft-2020-12`?i.$schema=`https://json-schema.org/draft/2020-12/schema`:e.target===`draft-07`?i.$schema=`http://json-schema.org/draft-07/schema#`:e.target===`draft-04`?i.$schema=`http://json-schema.org/draft-04/schema#`:e.target,e.external?.uri){let n=e.external.registry.get(t)?.id;if(!n)throw Error("Schema is missing an `id` property");i.$id=e.external.uri(n)}Object.assign(i,n.def??n.schema);let a=e.metadataRegistry.get(t)?.id;a!==void 0&&i.id===a&&delete i.id;let o=e.external?.defs??{};for(let t of e.seen.entries()){let e=t[1];e.def&&e.defId&&(e.def.id===e.defId&&delete e.def.id,o[e.defId]=e.def)}e.external||Object.keys(o).length>0&&(e.target===`draft-2020-12`?i.$defs=o:i.definitions=o);try{let n=JSON.parse(JSON.stringify(i));return Object.defineProperty(n,`~standard`,{value:{...t[`~standard`],jsonSchema:{input:yl(t,`input`,e.processors),output:yl(t,`output`,e.processors)}},enumerable:!1,writable:!1}),n}catch{throw Error(`Error converting schema to JSON.`)}}function _l(e,t){let n=t??{seen:new Set};if(n.seen.has(e))return!1;n.seen.add(e);let r=e._zod.def;if(r.type===`transform`)return!0;if(r.type===`array`)return _l(r.element,n);if(r.type===`set`)return _l(r.valueType,n);if(r.type===`lazy`)return _l(r.getter(),n);if(r.type===`promise`||r.type===`optional`||r.type===`nonoptional`||r.type===`nullable`||r.type===`readonly`||r.type===`default`||r.type===`prefault`)return _l(r.innerType,n);if(r.type===`intersection`)return _l(r.left,n)||_l(r.right,n);if(r.type===`record`||r.type===`map`)return _l(r.keyType,n)||_l(r.valueType,n);if(r.type===`pipe`)return e._zod.traits.has(`$ZodCodec`)?!0:_l(r.in,n)||_l(r.out,n);if(r.type===`object`){for(let e in r.shape)if(_l(r.shape[e],n))return!0;return!1}if(r.type===`union`){for(let e of r.options)if(_l(e,n))return!0;return!1}if(r.type===`tuple`){for(let e of r.items)if(_l(e,n))return!0;return!!(r.rest&&_l(r.rest,n))}return!1}const vl=(e,t={})=>n=>{let r=pl({...n,processors:t});return ml(e,r),hl(r,e),gl(r,e)},yl=(e,t,n={})=>r=>{let{libraryOptions:i,target:a}=r??{},o=pl({...i??{},target:a,io:t,processors:n});return ml(e,o),hl(o,e),gl(o,e)},bl={guid:`uuid`,url:`uri`,datetime:`date-time`,json_string:`json-string`,regex:``},xl=(e,t,n,r)=>{let i=n;i.type=`string`;let{minimum:a,maximum:o,format:s,patterns:c,contentEncoding:l}=e._zod.bag;if(typeof a==`number`&&(i.minLength=a),typeof o==`number`&&(i.maxLength=o),s&&(i.format=bl[s]??s,i.format===``&&delete i.format,s===`time`&&delete i.format),l&&(i.contentEncoding=l),c&&c.size>0){let e=[...c];e.length===1?i.pattern=e[0].source:e.length>1&&(i.allOf=[...e.map(e=>({...t.target===`draft-07`||t.target===`draft-04`||t.target===`openapi-3.0`?{type:`string`}:{},pattern:e.source}))])}},Sl=(e,t,n,r)=>{n.type=`boolean`},Cl=(e,t,n,r)=>{t.target===`openapi-3.0`?(n.type=`string`,n.nullable=!0,n.enum=[null]):n.type=`null`},wl=(e,t,n,r)=>{n.not={}},Tl=(e,t,n,r)=>{let i=e._zod.def,a=ha(i.entries);a.every(e=>typeof e==`number`)&&(n.type=`number`),a.every(e=>typeof e==`string`)&&(n.type=`string`),n.enum=a},El=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Custom types cannot be represented in JSON Schema`)},Dl=(e,t,n,r)=>{if(t.unrepresentable===`throw`)throw Error(`Transforms cannot be represented in JSON Schema`)},Ol=(e,t,n,r)=>{let i=n,a=e._zod.def,{minimum:o,maximum:s}=e._zod.bag;typeof o==`number`&&(i.minItems=o),typeof s==`number`&&(i.maxItems=s),i.type=`array`,i.items=ml(a.element,t,{...r,path:[...r.path,`items`]})},kl=(e,t,n,r)=>{let i=n,a=e._zod.def;i.type=`object`,i.properties={};let o=a.shape;for(let e in o)i.properties[e]=ml(o[e],t,{...r,path:[...r.path,`properties`,e]});let s=new Set(Object.keys(o)),c=new Set([...s].filter(e=>{let n=a.shape[e]._zod;return t.io===`input`?n.optin===void 0:n.optout===void 0}));c.size>0&&(i.required=Array.from(c)),a.catchall?._zod.def.type===`never`?i.additionalProperties=!1:a.catchall?a.catchall&&(i.additionalProperties=ml(a.catchall,t,{...r,path:[...r.path,`additionalProperties`]})):t.io===`output`&&(i.additionalProperties=!1)},Al=(e,t,n,r)=>{let i=e._zod.def,a=i.inclusive===!1,o=i.options.map((e,n)=>ml(e,t,{...r,path:[...r.path,a?`oneOf`:`anyOf`,n]}));a?n.oneOf=o:n.anyOf=o},jl=(e,t,n,r)=>{let i=e._zod.def,a=ml(i.left,t,{...r,path:[...r.path,`allOf`,0]}),o=ml(i.right,t,{...r,path:[...r.path,`allOf`,1]}),s=e=>`allOf`in e&&Object.keys(e).length===1;n.allOf=[...s(a)?a.allOf:[a],...s(o)?o.allOf:[o]]},Ml=(e,t,n,r)=>{let i=e._zod.def,a=ml(i.innerType,t,r),o=t.seen.get(e);t.target===`openapi-3.0`?(o.ref=i.innerType,n.nullable=!0):n.anyOf=[a,{type:`null`}]},Nl=(e,t,n,r)=>{let i=e._zod.def;ml(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Pl=(e,t,n,r)=>{let i=e._zod.def;ml(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.default=JSON.parse(JSON.stringify(i.defaultValue))},Fl=(e,t,n,r)=>{let i=e._zod.def;ml(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,t.io===`input`&&(n._prefault=JSON.parse(JSON.stringify(i.defaultValue)))},Il=(e,t,n,r)=>{let i=e._zod.def;ml(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType;let o;try{o=i.catchValue(void 0)}catch{throw Error(`Dynamic catch values are not supported in JSON Schema`)}n.default=o},Ll=(e,t,n,r)=>{let i=e._zod.def,a=i.in._zod.traits.has(`$ZodTransform`),o=t.io===`input`?a?i.out:i.in:i.out;ml(o,t,r);let s=t.seen.get(e);s.ref=o},Rl=(e,t,n,r)=>{let i=e._zod.def;ml(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType,n.readOnly=!0},zl=(e,t,n,r)=>{let i=e._zod.def;ml(i.innerType,t,r);let a=t.seen.get(e);a.ref=i.innerType},Bl=z(`ZodISODateTime`,(e,t)=>{vs.init(e,t),hu.init(e,t)});function Vl(e){return Bc(Bl,e)}const Hl=z(`ZodISODate`,(e,t)=>{ys.init(e,t),hu.init(e,t)});function Ul(e){return Vc(Hl,e)}const Wl=z(`ZodISOTime`,(e,t)=>{bs.init(e,t),hu.init(e,t)});function Gl(e){return Hc(Wl,e)}const Kl=z(`ZodISODuration`,(e,t)=>{xs.init(e,t),hu.init(e,t)});function ql(e){return Uc(Kl,e)}const Jl=(e,t)=>{Xa.init(e,t),e.name=`ZodError`,Object.defineProperties(e,{format:{value:t=>$a(e,t)},flatten:{value:t=>Qa(e,t)},addIssue:{value:t=>{e.issues.push(t),e.message=JSON.stringify(e.issues,ga,2)}},addIssues:{value:t=>{e.issues.push(...t),e.message=JSON.stringify(e.issues,ga,2)}},isEmpty:{get(){return e.issues.length===0}}})},Yl=z(`ZodError`,Jl),Xl=z(`ZodError`,Jl,{Parent:Error}),Zl=eo(Xl),Ql=to(Xl),$l=no(Xl),eu=io(Xl),tu=oo(Xl),nu=so(Xl),ru=co(Xl),iu=lo(Xl),au=uo(Xl),ou=fo(Xl),su=po(Xl),cu=mo(Xl),lu=new WeakMap;function uu(e,t,n){let r=Object.getPrototypeOf(e),i=lu.get(r);if(i||(i=new Set,lu.set(r,i)),!i.has(t)){i.add(t);for(let e in n){let t=n[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,get(){let n=t.bind(this);return Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:n}),n},set(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,enumerable:!0,value:t})}})}}}const du=z(`ZodType`,(e,t)=>(is.init(e,t),Object.assign(e[`~standard`],{jsonSchema:{input:yl(e,`input`),output:yl(e,`output`)}}),e.toJSONSchema=vl(e,{}),e.def=t,e.type=t.type,Object.defineProperty(e,`_def`,{value:t}),e.parse=(t,n)=>Zl(e,t,n,{callee:e.parse}),e.safeParse=(t,n)=>$l(e,t,n),e.parseAsync=async(t,n)=>Ql(e,t,n,{callee:e.parseAsync}),e.safeParseAsync=async(t,n)=>eu(e,t,n),e.spa=e.safeParseAsync,e.encode=(t,n)=>tu(e,t,n),e.decode=(t,n)=>nu(e,t,n),e.encodeAsync=async(t,n)=>ru(e,t,n),e.decodeAsync=async(t,n)=>iu(e,t,n),e.safeEncode=(t,n)=>au(e,t,n),e.safeDecode=(t,n)=>ou(e,t,n),e.safeEncodeAsync=async(t,n)=>su(e,t,n),e.safeDecodeAsync=async(t,n)=>cu(e,t,n),uu(e,`ZodType`,{check(...e){let t=this.def;return this.clone(Ca(t,{checks:[...t.checks??[],...e.map(e=>typeof e==`function`?{_zod:{check:e,def:{check:`custom`},onattach:[]}}:e)]}),{parent:!0})},with(...e){return this.check(...e)},clone(e,t){return Na(this,e,t)},brand(){return this},register(e,t){return e.add(this,t),this},refine(e,t){return this.check(bd(e,t))},superRefine(e,t){return this.check(xd(e,t))},overwrite(e){return this.check(rl(e))},optional(){return nd(this)},exactOptional(){return id(this)},nullable(){return od(this)},nullish(){return nd(od(this))},nonoptional(e){return fd(this,e)},array(){return Wu(this)},or(e){return Ju([this,e])},and(e){return Xu(this,e)},transform(e){return gd(this,ed(e))},default(e){return cd(this,e)},prefault(e){return ud(this,e)},catch(e){return md(this,e)},pipe(e){return gd(this,e)},readonly(){return vd(this)},describe(e){let t=this.clone();return gc.add(t,{description:e}),t},meta(...e){if(e.length===0)return gc.get(this);let t=this.clone();return gc.add(t,e[0]),t},isOptional(){return this.safeParse(void 0).success},isNullable(){return this.safeParse(null).success},apply(e){return e(this)}}),Object.defineProperty(e,`description`,{get(){return gc.get(e)?.description},configurable:!0}),e)),fu=z(`_ZodString`,(e,t)=>{as.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>xl(e,t,n,r);let n=e._zod.bag;e.format=n.format??null,e.minLength=n.minimum??null,e.maxLength=n.maximum??null,uu(e,`_ZodString`,{regex(...e){return this.check(Zc(...e))},includes(...e){return this.check(el(...e))},startsWith(...e){return this.check(tl(...e))},endsWith(...e){return this.check(nl(...e))},min(...e){return this.check(Yc(...e))},max(...e){return this.check(Jc(...e))},length(...e){return this.check(Xc(...e))},nonempty(...e){return this.check(Yc(1,...e))},lowercase(e){return this.check(Qc(e))},uppercase(e){return this.check($c(e))},trim(){return this.check(al())},normalize(...e){return this.check(il(...e))},toLowerCase(){return this.check(ol())},toUpperCase(){return this.check(sl())},slugify(){return this.check(cl())}})}),pu=z(`ZodString`,(e,t)=>{as.init(e,t),fu.init(e,t),e.email=t=>e.check(vc(gu,t)),e.url=t=>e.check(wc(yu,t)),e.jwt=t=>e.check(zc(Pu,t)),e.emoji=t=>e.check(Tc(bu,t)),e.guid=t=>e.check(yc(_u,t)),e.uuid=t=>e.check(bc(vu,t)),e.uuidv4=t=>e.check(xc(vu,t)),e.uuidv6=t=>e.check(Sc(vu,t)),e.uuidv7=t=>e.check(Cc(vu,t)),e.nanoid=t=>e.check(Ec(xu,t)),e.guid=t=>e.check(yc(_u,t)),e.cuid=t=>e.check(Dc(Su,t)),e.cuid2=t=>e.check(Oc(Cu,t)),e.ulid=t=>e.check(kc(wu,t)),e.base64=t=>e.check(Ic(ju,t)),e.base64url=t=>e.check(Lc(Mu,t)),e.xid=t=>e.check(Ac(Tu,t)),e.ksuid=t=>e.check(jc(Eu,t)),e.ipv4=t=>e.check(Mc(Du,t)),e.ipv6=t=>e.check(Nc(Ou,t)),e.cidrv4=t=>e.check(Pc(ku,t)),e.cidrv6=t=>e.check(Fc(Au,t)),e.e164=t=>e.check(Rc(Nu,t)),e.datetime=t=>e.check(Vl(t)),e.date=t=>e.check(Ul(t)),e.time=t=>e.check(Gl(t)),e.duration=t=>e.check(ql(t))});function mu(e){return _c(pu,e)}const hu=z(`ZodStringFormat`,(e,t)=>{os.init(e,t),fu.init(e,t)}),gu=z(`ZodEmail`,(e,t)=>{ls.init(e,t),hu.init(e,t)}),_u=z(`ZodGUID`,(e,t)=>{ss.init(e,t),hu.init(e,t)}),vu=z(`ZodUUID`,(e,t)=>{cs.init(e,t),hu.init(e,t)}),yu=z(`ZodURL`,(e,t)=>{us.init(e,t),hu.init(e,t)}),bu=z(`ZodEmoji`,(e,t)=>{ds.init(e,t),hu.init(e,t)}),xu=z(`ZodNanoID`,(e,t)=>{fs.init(e,t),hu.init(e,t)}),Su=z(`ZodCUID`,(e,t)=>{ps.init(e,t),hu.init(e,t)}),Cu=z(`ZodCUID2`,(e,t)=>{ms.init(e,t),hu.init(e,t)}),wu=z(`ZodULID`,(e,t)=>{hs.init(e,t),hu.init(e,t)}),Tu=z(`ZodXID`,(e,t)=>{gs.init(e,t),hu.init(e,t)}),Eu=z(`ZodKSUID`,(e,t)=>{_s.init(e,t),hu.init(e,t)}),Du=z(`ZodIPv4`,(e,t)=>{Ss.init(e,t),hu.init(e,t)}),Ou=z(`ZodIPv6`,(e,t)=>{Cs.init(e,t),hu.init(e,t)}),ku=z(`ZodCIDRv4`,(e,t)=>{ws.init(e,t),hu.init(e,t)}),Au=z(`ZodCIDRv6`,(e,t)=>{Ts.init(e,t),hu.init(e,t)}),ju=z(`ZodBase64`,(e,t)=>{Ds.init(e,t),hu.init(e,t)}),Mu=z(`ZodBase64URL`,(e,t)=>{ks.init(e,t),hu.init(e,t)}),Nu=z(`ZodE164`,(e,t)=>{As.init(e,t),hu.init(e,t)}),Pu=z(`ZodJWT`,(e,t)=>{Ms.init(e,t),hu.init(e,t)}),Fu=z(`ZodBoolean`,(e,t)=>{Ns.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Sl(e,t,n,r)});function Iu(e){return Wc(Fu,e)}const Lu=z(`ZodNull`,(e,t)=>{Ps.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Cl(e,t,n,r)});function Ru(e){return Gc(Lu,e)}const zu=z(`ZodUnknown`,(e,t)=>{Fs.init(e,t),du.init(e,t),e._zod.processJSONSchema=(e,t,n)=>void 0});function Bu(){return Kc(zu)}const Vu=z(`ZodNever`,(e,t)=>{Is.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>wl(e,t,n,r)});function Hu(e){return qc(Vu,e)}const Uu=z(`ZodArray`,(e,t)=>{Rs.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ol(e,t,n,r),e.element=t.element,uu(e,`ZodArray`,{min(e,t){return this.check(Yc(e,t))},nonempty(e){return this.check(Yc(1,e))},max(e,t){return this.check(Jc(e,t))},length(e,t){return this.check(Xc(e,t))},unwrap(){return this.element}})});function Wu(e,t){return ll(Uu,e,t)}const Gu=z(`ZodObject`,(e,t)=>{Us.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>kl(e,t,n,r),xa(e,`shape`,()=>t.shape),uu(e,`ZodObject`,{keyof(){return Qu(Object.keys(this._zod.def.shape))},catchall(e){return this.clone({...this._zod.def,catchall:e})},passthrough(){return this.clone({...this._zod.def,catchall:Bu()})},loose(){return this.clone({...this._zod.def,catchall:Bu()})},strict(){return this.clone({...this._zod.def,catchall:Hu()})},strip(){return this.clone({...this._zod.def,catchall:void 0})},extend(e){return La(this,e)},safeExtend(e){return Ra(this,e)},merge(e){return za(this,e)},pick(e){return Fa(this,e)},omit(e){return Ia(this,e)},partial(...e){return Ba(td,this,e[0])},required(...e){return Va(dd,this,e[0])}})});function Ku(e,t){return new Gu({type:`object`,shape:e??{},...B(t)})}const qu=z(`ZodUnion`,(e,t)=>{Gs.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Al(e,t,n,r),e.options=t.options});function Ju(e,t){return new qu({type:`union`,options:e,...B(t)})}const Yu=z(`ZodIntersection`,(e,t)=>{Ks.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>jl(e,t,n,r)});function Xu(e,t){return new Yu({type:`intersection`,left:e,right:t})}const Zu=z(`ZodEnum`,(e,t)=>{Ys.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Tl(e,t,n,r),e.enum=t.entries,e.options=Object.values(t.entries);let n=new Set(Object.keys(t.entries));e.extract=(e,r)=>{let i={};for(let r of e)if(n.has(r))i[r]=t.entries[r];else throw Error(`Key ${r} not found in enum`);return new Zu({...t,checks:[],...B(r),entries:i})},e.exclude=(e,r)=>{let i={...t.entries};for(let t of e)if(n.has(t))delete i[t];else throw Error(`Key ${t} not found in enum`);return new Zu({...t,checks:[],...B(r),entries:i})}});function Qu(e,t){return new Zu({type:`enum`,entries:Array.isArray(e)?Object.fromEntries(e.map(e=>[e,e])):e,...B(t)})}const $u=z(`ZodTransform`,(e,t)=>{Xs.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Dl(e,t,n,r),e._zod.parse=(n,r)=>{if(r.direction===`backward`)throw new fa(e.constructor.name);n.addIssue=r=>{if(typeof r==`string`)n.issues.push(Ja(r,n.value,t));else{let t=r;t.fatal&&(t.continue=!1),t.code??=`custom`,t.input??=n.value,t.inst??=e,n.issues.push(Ja(t))}};let i=t.transform(n.value,n);return i instanceof Promise?i.then(e=>(n.value=e,n.fallback=!0,n)):(n.value=i,n.fallback=!0,n)}});function ed(e){return new $u({type:`transform`,transform:e})}const td=z(`ZodOptional`,(e,t)=>{Qs.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function nd(e){return new td({type:`optional`,innerType:e})}const rd=z(`ZodExactOptional`,(e,t)=>{$s.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>zl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function id(e){return new rd({type:`optional`,innerType:e})}const ad=z(`ZodNullable`,(e,t)=>{ec.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ml(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function od(e){return new ad({type:`nullable`,innerType:e})}const sd=z(`ZodDefault`,(e,t)=>{tc.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Pl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeDefault=e.unwrap});function cd(e,t){return new sd({type:`default`,innerType:e,get defaultValue(){return typeof t==`function`?t():Aa(t)}})}const ld=z(`ZodPrefault`,(e,t)=>{rc.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Fl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function ud(e,t){return new ld({type:`prefault`,innerType:e,get defaultValue(){return typeof t==`function`?t():Aa(t)}})}const dd=z(`ZodNonOptional`,(e,t)=>{ic.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Nl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function fd(e,t){return new dd({type:`nonoptional`,innerType:e,...B(t)})}const pd=z(`ZodCatch`,(e,t)=>{oc.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Il(e,t,n,r),e.unwrap=()=>e._zod.def.innerType,e.removeCatch=e.unwrap});function md(e,t){return new pd({type:`catch`,innerType:e,catchValue:typeof t==`function`?t:()=>t})}const hd=z(`ZodPipe`,(e,t)=>{sc.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Ll(e,t,n,r),e.in=t.in,e.out=t.out});function gd(e,t){return new hd({type:`pipe`,in:e,out:t})}const _d=z(`ZodReadonly`,(e,t)=>{lc.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>Rl(e,t,n,r),e.unwrap=()=>e._zod.def.innerType});function vd(e){return new _d({type:`readonly`,innerType:e})}const yd=z(`ZodCustom`,(e,t)=>{dc.init(e,t),du.init(e,t),e._zod.processJSONSchema=(t,n,r)=>El(e,t,n,r)});function bd(e,t={}){return ul(yd,e,t)}function xd(e,t){return dl(e,t)}var Sd=la();const Cd=Ku({cwd:mu().optional(),args:Wu(mu()).optional()}),wd=Ju([Ru(),Iu(),Cd,Wu(Cd)]),Td=`Vite+`;function Ed(){return{version:Fr(`version`)||`latest`,nodeVersion:Fr(`node-version`)||void 0,nodeVersionFile:Fr(`node-version-file`)||void 0,workingDirectory:Fr(`working-directory`)||void 0,runInstall:Dd(Fr(`run-install`)),sfw:Ir(`sfw`),cache:Ir(`cache`),cacheDependencyPath:Fr(`cache-dependency-path`)||void 0,registryUrl:Fr(`registry-url`)||void 0,scope:Fr(`scope`)||void 0}}function Dd(e){if(!e||e===`false`||e===`null`)return[];if(e===`true`)return[{}];let t=(0,Sd.parse)(e);try{let e=wd.parse(t);return e?e===!0?[{}]:Array.isArray(e)?e:[e]:[]}catch(e){throw e instanceof Yl?Error(`Invalid run-install input: ${e.issues.map(e=>e.message).join(`, `)}`):e}}function Od(){return N((process.platform===`win32`?process.env.USERPROFILE:process.env.HOME)||me(),`.vite-plus`)}function kd(){return process.env.GITHUB_WORKSPACE||process.cwd()}function Ad(e,t){return ee(e)?e:N(t,e)}function jd(e){if(!e.workingDirectory)return kd();let t=Ad(e.workingDirectory,kd());if(!ae(t))throw Error(`working-directory not found: ${e.workingDirectory} (resolved to ${t})`);if(!le(t).isDirectory())throw Error(`working-directory is not a directory: ${e.workingDirectory} (resolved to ${t})`);return t}function Md(e,t){return t?Ad(t,e):e}const Nd=[{filename:`pnpm-lock.yaml`,type:`pnpm`},{filename:`bun.lockb`,type:`bun`},{filename:`bun.lock`,type:`bun`},{filename:`package-lock.json`,type:`npm`},{filename:`npm-shrinkwrap.json`,type:`npm`},{filename:`yarn.lock`,type:`yarn`}];function Pd(e,t=kd()){if(e){let n=Ad(e,t);if(ae(n)){let e=j(n),t=Nd.find(t=>t.filename===e);return t?{type:t.type,path:n,filename:e}:Fd(n,e)}return}let n=ce(t);for(let e of Nd)if(n.includes(e.filename)){let n=N(t,e.filename);return R(`Auto-detected lock file: ${e.filename}`),{type:e.type,path:n,filename:e.filename}}}function Fd(e,t){return t.includes(`pnpm`)?{type:`pnpm`,path:e,filename:t}:t.includes(`yarn`)?{type:`yarn`,path:e,filename:t}:t.startsWith(`bun.`)?{type:`bun`,path:e,filename:t}:{type:`npm`,path:e,filename:t}}async function Id(e,t){switch(e){case`npm`:case`pnpm`:case`yarn`:case`bun`:return Rd(t);default:return[]}}async function Ld(e,t,n){let r=`${e} ${t.join(` `)}`;try{let i=await Ar(e,t,{cwd:n?.cwd,silent:!0,ignoreReturnCode:!0});if(i.exitCode===0)return i.stdout.trim();L(`Command "${r}" exited with code ${i.exitCode}`);return}catch(e){Vr(`Failed to run "${r}": ${String(e)}`);return}}async function Rd(e){let t=await Ld(`vp`,[`pm`,`cache`,`dir`],{cwd:e});return t?[t]:[]}const zd=[`https://viteplus.dev/install.sh`,`https://raw.githubusercontent.com/voidzero-dev/vite-plus/main/packages/cli/install.sh`],Bd=[`https://viteplus.dev/install.ps1`,`https://raw.githubusercontent.com/voidzero-dev/vite-plus/main/packages/cli/install.ps1`],Vd=2e3;async function Hd(e){let{version:t}=e;R(`Installing ${Td}@${t}...`);let n={...process.env,VP_VERSION:t,VITE_PLUS_VERSION:t},r=process.platform===`win32`?Bd:zd,i=2*r.length,a=``,o=0;for(let e=0;e<2;e++)for(let e of r){o++;try{let t=await Ud(e,n);if(t===0){Wd();return}a=`exit code ${t}`}catch(e){a=e instanceof Error?e.message:String(e)}o!e.negate);let t={};for(let n of e){let e=ef?n.searchPath.toUpperCase():n.searchPath;t[e]=`candidate`}let n=[];for(let r of e){let e=ef?r.searchPath.toUpperCase():r.searchPath;if(t[e]===`included`)continue;let i=!1,a=e,o=qd(a);for(;o!==a;){if(t[o]){i=!0;break}a=o,o=qd(a)}i||(n.push(r.searchPath),t[e]=`included`)}return n}function nf(e,t){let n=$d.None;for(let r of e)r.negate?n&=~r.match(t):n|=r.match(t);return n}function rf(e,t){return e.some(e=>!e.negate&&e.partialMatch(t))}var af=P(((e,t)=>{t.exports=function(e,t){for(var r=[],i=0;i{t.exports=n;function n(e,t,n){e instanceof RegExp&&(e=r(e,n)),t instanceof RegExp&&(t=r(t,n));var a=i(e,t,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+e.length,a[1]),post:n.slice(a[1]+t.length)}}function r(e,t){var n=t.match(e);return n?n[0]:null}n.range=i;function i(e,t,n){var r,i,a,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){if(e===t)return[c,l];for(r=[],a=n.length;u>=0&&!s;)u==c?(r.push(u),c=n.indexOf(e,u+1)):r.length==1?s=[r.pop(),l]:(i=r.pop(),i=0?c:l;r.length&&(s=[a,o])}return s}})),sf=P(((e,t)=>{var n=af(),r=of();t.exports=p;var i=`\0SLASH`+Math.random()+`\0`,a=`\0OPEN`+Math.random()+`\0`,o=`\0CLOSE`+Math.random()+`\0`,s=`\0COMMA`+Math.random()+`\0`,c=`\0PERIOD`+Math.random()+`\0`;function l(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function u(e){return e.split(`\\\\`).join(i).split(`\\{`).join(a).split(`\\}`).join(o).split(`\\,`).join(s).split(`\\.`).join(c)}function d(e){return e.split(i).join(`\\`).split(a).join(`{`).split(o).join(`}`).split(s).join(`,`).split(c).join(`.`)}function f(e){if(!e)return[``];var t=[],n=r(`{`,`}`,e);if(!n)return e.split(`,`);var i=n.pre,a=n.body,o=n.post,s=i.split(`,`);s[s.length-1]+=`{`+a+`}`;var c=f(o);return o.length&&(s[s.length-1]+=c.shift(),s.push.apply(s,c)),t.push.apply(t,s),t}function p(e,t){if(!e)return[];t||={};var n=t.max==null?1/0:t.max;return e.substr(0,2)===`{}`&&(e=`\\{\\}`+e.substr(2)),v(u(e),n,!0).map(d)}function m(e){return`{`+e+`}`}function h(e){return/^-?0\d/.test(e)}function g(e,t){return e<=t}function _(e,t){return e>=t}function v(e,t,i){var a=[],s=r(`{`,`}`,e);if(!s||/\$$/.test(s.pre))return[e];var c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(s.body),u=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(s.body),d=c||u,p=s.body.indexOf(`,`)>=0;if(!d&&!p)return s.post.match(/,(?!,).*\}/)?(e=s.pre+`{`+s.body+o+s.post,v(e,t,!0)):[e];var y;if(d)y=s.body.split(/\.\./);else if(y=f(s.body),y.length===1&&(y=v(y[0],t,!1).map(m),y.length===1)){var b=s.post.length?v(s.post,t,!1):[``];return b.map(function(e){return s.pre+y[0]+e})}var x=s.pre,b=s.post.length?v(s.post,t,!1):[``],S;if(d){var C=l(y[0]),w=l(y[1]),T=Math.max(y[0].length,y[1].length),E=y.length==3?Math.max(Math.abs(l(y[2])),1):1,D=g;w0){var M=Array(j+1).join(`0`);A=k<0?`-`+M+A.slice(1):M+A}}S.push(A)}}else S=n(y,function(e){return v(e,t,!1)});for(var ee=0;ee{t.exports=h,h.Minimatch=g;var n=function(){try{return F(`path`)}catch{}}()||{sep:`/`};h.sep=n.sep;var r=h.GLOBSTAR=g.GLOBSTAR={},i=sf(),a={"!":{open:`(?:(?!(?:`,close:`))[^/]*?)`},"?":{open:`(?:`,close:`)?`},"+":{open:`(?:`,close:`)+`},"*":{open:`(?:`,close:`)*`},"@":{open:`(?:`,close:`)`}},o=`[^/]`,s=o+`*?`,c=`(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?`,l=`(?:(?!(?:\\/|^)\\.).)*?`,u=d(`().*{}+?[]^$\\!`);function d(e){return e.split(``).reduce(function(e,t){return e[t]=!0,e},{})}var f=/\/+/;h.filter=p;function p(e,t){return t||={},function(n,r,i){return h(n,e,t)}}function m(e,t){t||={};var n={};return Object.keys(e).forEach(function(t){n[t]=e[t]}),Object.keys(t).forEach(function(e){n[e]=t[e]}),n}h.defaults=function(e){if(!e||typeof e!=`object`||!Object.keys(e).length)return h;var t=h,n=function(n,r,i){return t(n,r,m(e,i))};return n.Minimatch=function(n,r){return new t.Minimatch(n,m(e,r))},n.Minimatch.defaults=function(n){return t.defaults(m(e,n)).Minimatch},n.filter=function(n,r){return t.filter(n,m(e,r))},n.defaults=function(n){return t.defaults(m(e,n))},n.makeRe=function(n,r){return t.makeRe(n,m(e,r))},n.braceExpand=function(n,r){return t.braceExpand(n,m(e,r))},n.match=function(n,r,i){return t.match(n,r,m(e,i))},n},g.defaults=function(e){return h.defaults(e).Minimatch};function h(e,t,n){return x(t),n||={},!n.nocomment&&t.charAt(0)===`#`?!1:new g(t,n).match(e)}function g(e,t){if(!(this instanceof g))return new g(e,t);x(e),t||={},e=e.trim(),!t.allowWindowsEscape&&n.sep!==`/`&&(e=e.split(n.sep).join(`/`)),this.options=t,this.maxGlobstarRecursion=t.maxGlobstarRecursion===void 0?200:t.maxGlobstarRecursion,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.make()}g.prototype.debug=function(){},g.prototype.make=_;function _(){var e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)===`#`){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=function(){console.error.apply(console,arguments)}),this.debug(this.pattern,n),n=this.globParts=n.map(function(e){return e.split(f)}),this.debug(this.pattern,n),n=n.map(function(e,t,n){return e.map(this.parse,this)},this),this.debug(this.pattern,n),n=n.filter(function(e){return e.indexOf(!1)===-1}),this.debug(this.pattern,n),this.set=n}g.prototype.parseNegate=v;function v(){var e=this.pattern,t=!1,n=this.options,r=0;if(!n.nonegate){for(var i=0,a=e.length;ib)throw TypeError(`pattern is too long`)};g.prototype.parse=C;var S={};function C(e,t){x(e);var n=this.options;if(e===`**`)if(n.noglobstar)e=`*`;else return r;if(e===``)return``;var i=``,c=!!n.nocase,l=!1,d=[],f=[],p,m=!1,h=-1,g=-1,_=e.charAt(0)===`.`?``:n.dot?`(?!(?:^|\\/)\\.{1,2}(?:$|\\/))`:`(?!\\.)`,v=this;function y(){if(p){switch(p){case`*`:i+=s,c=!0;break;case`?`:i+=o,c=!0;break;default:i+=`\\`+p;break}v.debug(`clearStateChar %j %j`,p,i),p=!1}}for(var b=0,C=e.length,w;b-1;M--){var ee=f[M],N=i.slice(0,ee.reStart),te=i.slice(ee.reStart,ee.reEnd-8),ne=i.slice(ee.reEnd-8,ee.reEnd),re=i.slice(ee.reEnd);ne+=re;var ie=N.split(`(`).length-1,ae=re;for(b=0;b=0&&(a=e[o],!a);o--);for(o=0;o=0;o--)if(t[o]===r){c=o;break}var l=t.slice(a,s),u=n?t.slice(s+1):t.slice(s+1,c),d=n?[]:t.slice(c+1);if(l.length){var f=e.slice(i,i+l.length);if(!this._matchOne(f,l,n,0,0))return!1;i+=l.length}var p=0;if(d.length){if(d.length+i>e.length)return!1;var m=e.length-d.length;if(this._matchOne(e,d,n,m,0))p=d.length;else{if(e[e.length-1]!==``||i+d.length===e.length||(m--,!this._matchOne(e,d,n,m,0)))return!1;p=d.length+1}}if(!u.length){var h=!!p;for(o=i;o0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;te.getLiteral(t)).filter(e=>!o&&!(o=e===``));this.searchPath=new uf(s).toString(),this.rootRegExp=new RegExp(e.regExpEscape(s[0]),ff?`i`:``),this.isImplicitPattern=n;let c={dot:!0,nobrace:!0,nocase:ff,nocomment:!0,noext:!0,nonegate:!0};a=ff?a.replace(/\\/g,`/`):a,this.minimatch=new df(a,c)}match(e){return this.segments[this.segments.length-1]===`**`?(e=Zd(e),!e.endsWith(u.sep)&&this.isImplicitPattern===!1&&(e=`${e}${u.sep}`)):e=Qd(e),this.minimatch.match(e)?this.trailingSeparator?$d.Directory:$d.All:$d.None}partialMatch(e){return e=Qd(e),qd(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(ff?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(ff?e:e.replace(/\\/g,`\\\\`)).replace(/(\[)(?=[^/]+\])/g,`[[]`).replace(/\?/g,`[?]`).replace(/\*/g,`[*]`)}static fixupPattern(n,r){h(n,`pattern cannot be empty`);let i=new uf(n).segments.map(t=>e.getLiteral(t));if(h(i.every((e,t)=>(e!==`.`||t===0)&&e!==`..`),`Invalid pattern '${n}'. Relative pathing '.' and '..' is not allowed.`),h(!Xd(n)||i[0],`Invalid pattern '${n}'. Root segment must not contain globs.`),n=Zd(n),n===`.`||n.startsWith(`.${u.sep}`))n=e.globEscape(process.cwd())+n.substr(1);else if(n===`~`||n.startsWith(`~${u.sep}`))r||=t.homedir(),h(r,`Unable to determine HOME directory`),h(Yd(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),n=e.globEscape(r)+n.substr(1);else if(ff&&(n.match(/^[A-Z]:$/i)||n.match(/^[A-Z]:[^\\]/i))){let t=Jd(`C:\\dummy-root`,n.substr(0,2));n.length>2&&!t.endsWith(`\\`)&&(t+=`\\`),n=e.globEscape(t)+n.substr(2)}else if(ff&&(n===`\\`||n.match(/^\\[^\\]/))){let t=Jd(`C:\\dummy-root`,`\\`);t.endsWith(`\\`)||(t+=`\\`),n=e.globEscape(t)+n.substr(1)}else n=Jd(e.globEscape(process.cwd()),n);return Zd(n)}static getLiteral(e){let t=``;for(let n=0;n=0){if(r.length>1)return``;if(r){t+=r,n=i;continue}}}t+=r}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,`\\$&`)}},mf=class{constructor(e,t){this.path=e,this.level=t}},hf=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},gf=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},_f=function(e){return this instanceof _f?(this.v=e,this):new _f(e)},vf=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof _f?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};const yf=process.platform===`win32`;var bf=class e{constructor(e){this.patterns=[],this.searchPaths=[],this.options=Gd(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return hf(this,void 0,void 0,function*(){var e,t,n,r;let i=[];try{for(var a=!0,o=gf(this.globGenerator()),s;s=yield o.next(),e=s.done,!e;a=!0){r=s.value,a=!1;let e=r;i.push(e)}}catch(e){t={error:e}}finally{try{!a&&!e&&(n=o.return)&&(yield n.call(o))}finally{if(t)throw t.error}}return i})}globGenerator(){return vf(this,arguments,function*(){let t=Gd(this.options),n=[];for(let e of this.patterns)n.push(e),t.implicitDescendants&&(e.trailingSeparator||e.segments[e.segments.length-1]!==`**`)&&n.push(new pf(e.negate,!0,e.segments.concat(`**`)));let r=[];for(let e of tf(n)){L(`Search path '${e}'`);try{yield _f(a.promises.lstat(e))}catch(e){if(e.code===`ENOENT`)continue;throw e}r.unshift(new mf(e,1))}let i=[];for(;r.length;){let o=r.pop(),s=nf(n,o.path),c=!!s||rf(n,o.path);if(!s&&!c)continue;let l=yield _f(e.stat(o,t,i));if(l&&!(t.excludeHiddenFiles&&u.basename(o.path).match(/^\./)))if(l.isDirectory()){if(s&$d.Directory&&t.matchDirectories)yield yield _f(o.path);else if(!c)continue;let e=o.level+1,n=(yield _f(a.promises.readdir(o.path))).map(t=>new mf(u.join(o.path,t),e));r.push(...n.reverse())}else s&$d.File&&(yield yield _f(o.path))}})}static create(t,n){return hf(this,void 0,void 0,function*(){let r=new e(n);yf&&(t=t.replace(/\r\n/g,` `),t=t.replace(/\r/g,` `));let i=t.split(` -`).map(e=>e.trim());for(let e of i)if(!e||e.startsWith(`#`))continue;else r.patterns.push(new ff(e));return r.searchPaths.push(...ef(r.patterns)),r})}static stat(e,t,n){return mf(this,void 0,void 0,function*(){let r;if(t.followSymbolicLinks)try{r=yield a.promises.stat(e.path)}catch(n){if(n.code===`ENOENT`){if(t.omitBrokenSymbolicLinks){R(`Broken symlink '${e.path}'`);return}throw Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}else r=yield a.promises.lstat(e.path);if(r.isDirectory()&&t.followSymbolicLinks){let t=yield a.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(e=>e===t)){R(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return}n.push(t)}return r})}},bf=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function xf(e,t){return bf(this,void 0,void 0,function*(){return yield yf.create(e,t)})}var Sf=P(((e,t)=>{t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:2**53-1||9007199254740991,RELEASE_TYPES:[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`],SEMVER_SPEC_VERSION:`2.0.0`,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}})),Cf=P(((e,t)=>{t.exports=typeof process==`object`&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{}})),wf=P(((e,t)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=Sf(),a=Cf();e=t.exports={};let o=e.re=[],s=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],u=e.t={},d=0,f=`[a-zA-Z0-9-]`,p=[[`\\s`,1],[`\\d`,i],[f,r]],m=e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},h=(e,t,n)=>{let r=m(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};h(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),h(`NUMERICIDENTIFIERLOOSE`,`\\d+`),h(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${f}*`),h(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),h(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h(`BUILDIDENTIFIER`,`${f}+`),h(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h(`FULL`,`^${c[u.FULLPLAIN]}$`),h(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),h(`GTLT`,`((?:<|>)?=?)`),h(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),h(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),h(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),h(`COERCERTL`,c[u.COERCE],!0),h(`COERCERTLFULL`,c[u.COERCEFULL],!0),h(`LONETILDE`,`(?:~>?)`),h(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,h(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h(`LONECARET`,`(?:\\^)`),h(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,h(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,h(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h(`STAR`,`(<|>)?=?\\s*\\*`),h(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),h(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)})),Tf=P(((e,t)=>{let n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?typeof e==`object`?e:n:r})),Ef=P(((e,t)=>{let n=/^[0-9]+$/,r=(e,t)=>{if(typeof e==`number`&&typeof t==`number`)return e===t?0:er(t,e)}})),Df=P(((e,t)=>{let n=Cf(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=Sf(),{safeRe:a,t:o}=wf(),s=Tf(),{compareIdentifiers:c}=Ef();t.exports=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&tt.major?1:this.minort.minor?1:this.patcht.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=+!!Number(n);if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];n===!1&&(r=[t]),c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}}})),Of=P(((e,t)=>{let n=Df();t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}})),kf=P(((e,t)=>{let n=Of();t.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}})),Af=P(((e,t)=>{let n=Of();t.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,``),t);return r?r.version:null}})),jf=P(((e,t)=>{let n=Df();t.exports=(e,t,r,i,a)=>{typeof r==`string`&&(a=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,a).version}catch{return null}}})),Mf=P(((e,t)=>{let n=Of();t.exports=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),a=r.compare(i);if(a===0)return null;let o=a>0,s=o?r:i,c=o?i:r,l=!!s.prerelease.length;if(c.prerelease.length&&!l){if(!c.patch&&!c.minor)return`major`;if(c.compareMain(s)===0)return c.minor&&!c.patch?`minor`:`patch`}let u=l?`pre`:``;return r.major===i.major?r.minor===i.minor?r.patch===i.patch?`prerelease`:u+`patch`:u+`minor`:u+`major`}})),Nf=P(((e,t)=>{let n=Df();t.exports=(e,t)=>new n(e,t).major})),Pf=P(((e,t)=>{let n=Df();t.exports=(e,t)=>new n(e,t).minor})),Ff=P(((e,t)=>{let n=Df();t.exports=(e,t)=>new n(e,t).patch})),If=P(((e,t)=>{let n=Of();t.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}})),Lf=P(((e,t)=>{let n=Df();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))})),Rf=P(((e,t)=>{let n=Lf();t.exports=(e,t,r)=>n(t,e,r)})),zf=P(((e,t)=>{let n=Lf();t.exports=(e,t)=>n(e,t,!0)})),Bf=P(((e,t)=>{let n=Df();t.exports=(e,t,r)=>{let i=new n(e,r),a=new n(t,r);return i.compare(a)||i.compareBuild(a)}})),Vf=P(((e,t)=>{let n=Bf();t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))})),Hf=P(((e,t)=>{let n=Bf();t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))})),Uf=P(((e,t)=>{let n=Lf();t.exports=(e,t,r)=>n(e,t,r)>0})),Wf=P(((e,t)=>{let n=Lf();t.exports=(e,t,r)=>n(e,t,r)<0})),Gf=P(((e,t)=>{let n=Lf();t.exports=(e,t,r)=>n(e,t,r)===0})),Kf=P(((e,t)=>{let n=Lf();t.exports=(e,t,r)=>n(e,t,r)!==0})),qf=P(((e,t)=>{let n=Lf();t.exports=(e,t,r)=>n(e,t,r)>=0})),Jf=P(((e,t)=>{let n=Lf();t.exports=(e,t,r)=>n(e,t,r)<=0})),Yf=P(((e,t)=>{let n=Gf(),r=Kf(),i=Uf(),a=qf(),o=Wf(),s=Jf();t.exports=(e,t,c,l)=>{switch(t){case`===`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e===c;case`!==`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e!==c;case``:case`=`:case`==`:return n(e,c,l);case`!=`:return r(e,c,l);case`>`:return i(e,c,l);case`>=`:return a(e,c,l);case`<`:return o(e,c,l);case`<=`:return s(e,c,l);default:throw TypeError(`Invalid operator: ${t}`)}}})),Xf=P(((e,t)=>{let n=Df(),r=Of(),{safeRe:i,t:a}=wf();t.exports=(e,t)=>{if(e instanceof n)return e;if(typeof e==`number`&&(e=String(e)),typeof e!=`string`)return null;t||={};let o=null;if(!t.rtl)o=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);else{let n=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL],r;for(;(r=n.exec(e))&&(!o||o.index+o[0].length!==e.length);)(!o||r.index+r[0].length!==o.index+o[0].length)&&(o=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}if(o===null)return null;let s=o[2];return r(`${s}.${o[3]||`0`}.${o[4]||`0`}${t.includePrerelease&&o[5]?`-${o[5]}`:``}${t.includePrerelease&&o[6]?`+${o[6]}`:``}`,t)}})),Zf=P(((e,t)=>{let n=Of(),r=Sf(),i=Df(),a=(e,t,n)=>{if(!r.RELEASE_TYPES.includes(t))return null;let i=o(e,n);return i&&s(i,t)},o=(e,t)=>n(e instanceof i?e.version:e,t),s=(e,t)=>{if(c(t))return e.version;switch(e.prerelease=[],t){case`major`:e.minor=0,e.patch=0;break;case`minor`:e.patch=0;break}return e.format()},c=e=>e.startsWith(`pre`);t.exports=a})),Qf=P(((e,t)=>{t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}})),$f=P(((e,t)=>{let n=/\s+/g;t.exports=class e{constructor(t,r){if(r=i(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof a)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(n,` `),this.set=this.raw.split(`||`).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!_(e[0])),this.set.length===0)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(e.length===1&&v(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let e=0;e0&&(this.formatted+=`||`);let t=this.set[e];for(let e=0;e0&&(this.formatted+=` `),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(g,``);let t=((this.options.includePrerelease&&m)|(this.options.loose&&h))+`:`+e,n=r.get(t);if(n)return n;let i=this.options.loose,s=i?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(s,A(this.options.includePrerelease)),o(`hyphen replace`,e),e=e.replace(c[u.COMPARATORTRIM],d),o(`comparator trim`,e),e=e.replace(c[u.TILDETRIM],f),o(`tilde trim`,e),e=e.replace(c[u.CARETTRIM],p),o(`caret trim`,e);let l=e.split(` `).map(e=>b(e,this.options)).join(` `).split(/\s+/).map(e=>k(e,this.options));i&&(l=l.filter(e=>(o(`loose invalid filter`,e,this.options),!!e.match(c[u.COMPARATORLOOSE])))),o(`range list`,l);let v=new Map,y=l.map(e=>new a(e,this.options));for(let e of y){if(_(e))return[e];v.set(e.value,e)}v.size>1&&v.has(``)&&v.delete(``);let x=[...v.values()];return r.set(t,x),x}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Range is required`);return this.set.some(e=>y(e,n)&&t.set.some(t=>y(t,n)&&e.every(e=>t.every(t=>e.intersects(t,n)))))}test(e){if(!e)return!1;if(typeof e==`string`)try{e=new s(e,this.options)}catch{return!1}for(let t=0;te.value===`<0.0.0-0`,v=e=>e.value===``,y=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},b=(e,t)=>(e=e.replace(c[u.BUILD],``),o(`comp`,e,t),e=w(e,t),o(`caret`,e),e=S(e,t),o(`tildes`,e),e=E(e,t),o(`xrange`,e),e=O(e,t),o(`stars`,e),e),x=e=>!e||e.toLowerCase()===`x`||e===`*`,S=(e,t)=>e.trim().split(/\s+/).map(e=>C(e,t)).join(` `),C=(e,t)=>{let n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,(t,n,r,i,a)=>{o(`tilde`,e,t,n,r,i,a);let s;return x(n)?s=``:x(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:x(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o(`replaceTilde pr`,a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o(`tilde return`,s),s})},w=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(` `),T=(e,t)=>{o(`caret`,e,t);let n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,s)=>{o(`caret`,e,t,n,i,a,s);let c;return x(n)?c=``:x(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:x(a)?c=n===`0`?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:s?(o(`replaceCaret pr`,s),c=n===`0`?i===`0`?`>=${n}.${i}.${a}-${s} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${s} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${s} <${+n+1}.0.0-0`):(o(`no pr`),c=n===`0`?i===`0`?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),o(`caret return`,c),c})},E=(e,t)=>(o(`replaceXRanges`,e,t),e.split(/\s+/).map(e=>D(e,t)).join(` `)),D=(e,t)=>{e=e.trim();let n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,(n,r,i,a,s,c)=>{o(`xRange`,e,n,r,i,a,s,c);let l=x(i),u=l||x(a),d=u||x(s),f=d;return r===`=`&&f&&(r=``),c=t.includePrerelease?`-0`:``,l?n=r===`>`||r===`<`?`<0.0.0-0`:`*`:r&&f?(u&&(a=0),s=0,r===`>`?(r=`>=`,u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):r===`<=`&&(r=`<`,u?i=+i+1:a=+a+1),r===`<`&&(c=`-0`),n=`${r+i}.${a}.${s}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${c} <${i}.${+a+1}.0-0`),o(`xRange return`,n),n})},O=(e,t)=>(o(`replaceStars`,e,t),e.trim().replace(c[u.STAR],``)),k=(e,t)=>(o(`replaceGTE0`,e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],``)),A=e=>(t,n,r,i,a,o,s,c,l,u,d,f)=>(n=x(r)?``:x(i)?`>=${r}.0.0${e?`-0`:``}`:x(a)?`>=${r}.${i}.0${e?`-0`:``}`:o?`>=${n}`:`>=${n}${e?`-0`:``}`,c=x(l)?``:x(u)?`<${+l+1}.0.0-0`:x(d)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${d}-${f}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`,`${n} ${c}`.trim()),j=(e,t,n)=>{for(let n=0;n0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}})),ep=P(((e,t)=>{let n=Symbol(`SemVer ANY`);t.exports=class e{static get ANY(){return n}constructor(t,i){if(i=r(i),t instanceof e){if(t.loose===!!i.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(` `),s(`comparator`,t,i),this.options=i,this.loose=!!i.loose,this.parse(t),this.semver===n?this.value=``:this.value=this.operator+this.semver.version,s(`comp`,this)}parse(e){let t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=r[1]===void 0?``:r[1],this.operator===`=`&&(this.operator=``),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(s(`Comparator.test`,e,this.options.loose),this.semver===n||e===n)return!0;if(typeof e==`string`)try{e=new c(e,this.options)}catch{return!1}return o(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new l(t.value,n).test(this.value):t.operator===``?t.value===``?!0:new l(this.value,n).test(t.semver):(n=r(n),n.includePrerelease&&(this.value===`<0.0.0-0`||t.value===`<0.0.0-0`)||!n.includePrerelease&&(this.value.startsWith(`<0.0.0`)||t.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&t.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&t.operator.startsWith(`<`)||this.semver.version===t.semver.version&&this.operator.includes(`=`)&&t.operator.includes(`=`)||o(this.semver,`<`,t.semver,n)&&this.operator.startsWith(`>`)&&t.operator.startsWith(`<`)||o(this.semver,`>`,t.semver,n)&&this.operator.startsWith(`<`)&&t.operator.startsWith(`>`)))}};let r=Tf(),{safeRe:i,t:a}=wf(),o=Yf(),s=Cf(),c=Df(),l=$f()})),tp=P(((e,t)=>{let n=$f();t.exports=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)}})),np=P(((e,t)=>{let n=$f();t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(` `).trim().split(` `))})),rp=P(((e,t)=>{let n=Df(),r=$f();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===-1)&&(a=e,o=new n(a,i))}),a}})),ip=P(((e,t)=>{let n=Df(),r=$f();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===1)&&(a=e,o=new n(a,i))}),a}})),ap=P(((e,t)=>{let n=Df(),r=$f(),i=Uf();t.exports=(e,t)=>{e=new r(e,t);let a=new n(`0.0.0`);if(e.test(a)||(a=new n(`0.0.0-0`),e.test(a)))return a;a=null;for(let t=0;t{let t=new n(e.semver.version);switch(e.operator){case`>`:t.prerelease.length===0?t.patch++:t.prerelease.push(0),t.raw=t.format();case``:case`>=`:(!o||i(t,o))&&(o=t);break;case`<`:case`<=`:break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),o&&(!a||i(a,o))&&(a=o)}return a&&e.test(a)?a:null}})),op=P(((e,t)=>{let n=$f();t.exports=(e,t)=>{try{return new n(e,t).range||`*`}catch{return null}}})),sp=P(((e,t)=>{let n=Df(),r=ep(),{ANY:i}=r,a=$f(),o=tp(),s=Uf(),c=Wf(),l=Jf(),u=qf();t.exports=(e,t,d,f)=>{e=new n(e,f),t=new a(t,f);let p,m,h,g,_;switch(d){case`>`:p=s,m=l,h=c,g=`>`,_=`>=`;break;case`<`:p=c,m=u,h=s,g=`<`,_=`<=`;break;default:throw TypeError(`Must provide a hilo val of "<" or ">"`)}if(o(e,t,f))return!1;for(let n=0;n{e.semver===i&&(e=new r(`>=0.0.0`)),o||=e,s||=e,p(e.semver,o.semver,f)?o=e:h(e.semver,s.semver,f)&&(s=e)}),o.operator===g||o.operator===_||(!s.operator||s.operator===g)&&m(e,s.semver)||s.operator===_&&h(e,s.semver))return!1}return!0}})),cp=P(((e,t)=>{let n=sp();t.exports=(e,t,r)=>n(e,t,`>`,r)})),lp=P(((e,t)=>{let n=sp();t.exports=(e,t,r)=>n(e,t,`<`,r)})),up=P(((e,t)=>{let n=$f();t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))})),dp=P(((e,t)=>{let n=tp(),r=Lf();t.exports=(e,t,i)=>{let a=[],o=null,s=null,c=e.sort((e,t)=>r(e,t,i));for(let e of c)n(e,t,i)?(s=e,o||=e):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);let l=[];for(let[e,t]of a)e===t?l.push(e):!t&&e===c[0]?l.push(`*`):t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`);let u=l.join(` || `),d=typeof t.raw==`string`?t.raw:String(t);return u.length{let n=$f(),r=ep(),{ANY:i}=r,a=tp(),o=Lf(),s=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;OUTER:for(let n of e.set){for(let e of t.set){let t=u(n,e,r);if(i||=t!==null,t)continue OUTER}if(i)return!1}return!0},c=[new r(`>=0.0.0-0`)],l=[new r(`>=0.0.0`)],u=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i)return!0;e=n.includePrerelease?c:l}if(t.length===1&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}let r=new Set,s,u;for(let t of e)t.operator===`>`||t.operator===`>=`?s=d(s,t,n):t.operator===`<`||t.operator===`<=`?u=f(u,t,n):r.add(t.semver);if(r.size>1)return null;let p;if(s&&u&&(p=o(s.semver,u.semver,n),p>0||p===0&&(s.operator!==`>=`||u.operator!==`<=`)))return null;for(let e of r){if(s&&!a(e,String(s),n)||u&&!a(e,String(u),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let m,h,g,_,v=u&&!n.includePrerelease&&u.semver.prerelease.length?u.semver:!1,y=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;v&&v.prerelease.length===1&&u.operator===`<`&&v.prerelease[0]===0&&(v=!1);for(let e of t){if(_=_||e.operator===`>`||e.operator===`>=`,g=g||e.operator===`<`||e.operator===`<=`,s){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),e.operator===`>`||e.operator===`>=`){if(m=d(s,e,n),m===e&&m!==s)return!1}else if(s.operator===`>=`&&!e.test(s.semver))return!1}if(u){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),e.operator===`<`||e.operator===`<=`){if(h=f(u,e,n),h===e&&h!==u)return!1}else if(u.operator===`<=`&&!e.test(u.semver))return!1}if(!e.operator&&(u||s)&&p!==0)return!1}return!(s&&g&&!u&&p!==0||u&&_&&!s&&p!==0||y||v)},d=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r>0?e:r<0||t.operator===`>`&&e.operator===`>=`?t:e},f=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r<0?e:r>0||t.operator===`<`&&e.operator===`<=`?t:e};t.exports=s})),pp=De(P(((e,t)=>{let n=wf(),r=Sf(),i=Df(),a=Ef();t.exports={parse:Of(),valid:kf(),clean:Af(),inc:jf(),diff:Mf(),major:Nf(),minor:Pf(),patch:Ff(),prerelease:If(),compare:Lf(),rcompare:Rf(),compareLoose:zf(),compareBuild:Bf(),sort:Vf(),rsort:Hf(),gt:Uf(),lt:Wf(),eq:Gf(),neq:Kf(),gte:qf(),lte:Jf(),cmp:Yf(),coerce:Xf(),truncate:Zf(),Comparator:ep(),Range:$f(),satisfies:tp(),toComparators:np(),maxSatisfying:rp(),minSatisfying:ip(),minVersion:ap(),validRange:op(),outside:sp(),gtr:cp(),ltr:lp(),intersects:up(),simplifyRange:dp(),subset:fp(),SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}))(),1),mp;(function(e){e.Gzip=`cache.tgz`,e.Zstd=`cache.tzst`})(mp||={});var hp;(function(e){e.Gzip=`gzip`,e.ZstdWithoutLong=`zstd-without-long`,e.Zstd=`zstd`})(hp||={});var gp;(function(e){e.GNU=`gnu`,e.BSD=`bsd`})(gp||={});const _p=5e3,vp=5e3,yp=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,bp=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,xp=`cache.tar`,Sp=`manifest.txt`;var Cp=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},wp=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}};function Tp(){return Cp(this,void 0,void 0,function*(){let e=process.platform===`win32`,t=process.env.RUNNER_TEMP||``;if(!t){let n;n=e?process.env.USERPROFILE||`C:\\`:process.platform===`darwin`?`/Users`:`/home`,t=u.join(n,`actions`,`temp`)}let n=u.join(t,i.randomUUID());return yield gr(n),n})}function Ep(e){return a.statSync(e).size}function Dp(e){return Cp(this,void 0,void 0,function*(){var t,n,r,i;let a=[],o=process.env.GITHUB_WORKSPACE??process.cwd(),s=yield xf(e.join(` -`),{implicitDescendants:!1});try{for(var c=!0,l=wp(s.globGenerator()),d;d=yield l.next(),t=d.done,!t;c=!0){i=d.value,c=!1;let e=i,t=u.relative(o,e).replace(RegExp(`\\${u.sep}`,`g`),`/`);R(`Matched: ${t}`),t===``?a.push(`.`):a.push(`${t}`)}}catch(e){n={error:e}}finally{try{!c&&!t&&(r=l.return)&&(yield r.call(l))}finally{if(n)throw n.error}}return a})}function Op(e){return Cp(this,void 0,void 0,function*(){return _.promisify(a.unlink)(e)})}function kp(e){return Cp(this,arguments,void 0,function*(e,t=[]){let n=``;t.push(`--version`),R(`Checking ${e} ${t.join(` `)}`);try{yield Tr(`${e}`,t,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}})}catch(e){R(e.message)}return n=n.trim(),R(n),n})}function Ap(){return Cp(this,void 0,void 0,function*(){let e=yield kp(`zstd`,[`--quiet`]);return R(`zstd version: ${pp.clean(e)}`),e===``?hp.Gzip:hp.ZstdWithoutLong})}function jp(e){return e===hp.Gzip?mp.Gzip:mp.Zstd}function Mp(){return Cp(this,void 0,void 0,function*(){return a.existsSync(yp)?yp:(yield kp(`tar`)).toLowerCase().includes(`gnu tar`)?_r(`tar`):``})}function Np(e,t){if(t===void 0)throw Error(`Expected ${e} but value was undefiend`);return t}function Pp(e,t,n=!1){let r=e.slice();return t&&r.push(t),process.platform===`win32`&&!n&&r.push(`windows-only`),r.push(`1.0`),i.createHash(`sha256`).update(r.join(`|`)).digest(`hex`)}function Fp(){let e=process.env.ACTIONS_RUNTIME_TOKEN;if(!e)throw Error(`Unable to get the ACTIONS_RUNTIME_TOKEN env variable`);return e}var Ip=class extends Error{constructor(e){super(e),this.name=`AbortError`}};function Lp(e,...t){_e.stderr.write(`${S.format(e,...t)}${ue}`)}const Rp=typeof process<`u`&&process.env&&process.env.DEBUG||void 0;let zp,Bp=[],Vp=[];const Hp=[];Rp&&Wp(Rp);const Up=Object.assign(e=>Jp(e),{enable:Wp,enabled:Gp,disable:qp,log:Lp});function Wp(e){zp=e,Bp=[],Vp=[];let t=e.split(`,`).map(e=>e.trim());for(let e of t)e.startsWith(`-`)?Vp.push(e.substring(1)):Bp.push(e);for(let e of Hp)e.enabled=Gp(e.namespace)}function Gp(e){if(e.endsWith(`*`))return!0;for(let t of Vp)if(Kp(e,t))return!1;for(let t of Bp)if(Kp(e,t))return!0;return!1}function Kp(e,t){if(t.indexOf(`*`)===-1)return e===t;let n=t;if(t.indexOf(`**`)!==-1){let e=[],r=``;for(let n of t)if(n===`*`&&r===`*`)continue;else r=n,e.push(n);n=e.join(``)}let r=0,i=0,a=n.length,o=e.length,s=-1,c=-1;for(;r=0){if(i=s+1,r=c+1,r===o)return!1;for(;e[r]!==n[i];)if(r++,r===o)return!1;c=r,r++,i++;continue}else return!1;let l=r===e.length,u=i===n.length,d=i===n.length-1&&n[i]===`*`;return l&&(u||d)}function qp(){let e=zp||``;return Wp(``),e}function Jp(e){let t=Object.assign(n,{enabled:Gp(e),destroy:Yp,log:Up.log,namespace:e,extend:Xp});function n(...n){t.enabled&&(n.length>0&&(n[0]=`${e} ${n[0]}`),t.log(...n))}return Hp.push(t),t}function Yp(){let e=Hp.indexOf(this);return e>=0?(Hp.splice(e,1),!0):!1}function Xp(e){let t=Jp(`${this.namespace}:${e}`);return t.log=this.log,t}const Zp=[`verbose`,`info`,`warning`,`error`],Qp={verbose:400,info:300,warning:200,error:100};function $p(e,t){t.log=(...t)=>{e.log(...t)}}function em(e){return Zp.includes(e)}function tm(e){let t=new Set,n=typeof process<`u`&&process.env&&process.env[e.logLevelEnvVarName]||void 0,r,i=Up(e.namespace);i.log=(...e)=>{Up.log(...e)};function a(e){if(e&&!em(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${Zp.join(`,`)}`);r=e;let n=[];for(let e of t)o(e)&&n.push(e.namespace);Up.enable(n.join(`,`))}n&&(em(n)?a(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${Zp.join(`, `)}.`));function o(e){return!!(r&&Qp[e.level]<=Qp[r])}function s(e,n){let r=Object.assign(e.extend(n),{level:n});if($p(e,r),o(r)){let e=Up.disable();Up.enable(e+`,`+r.namespace)}return t.add(r),r}function c(){return r}function l(e){let t=i.extend(e);return $p(i,t),{error:s(t,`error`),warning:s(t,`warning`),info:s(t,`info`),verbose:s(t,`verbose`)}}return{setLogLevel:a,getLogLevel:c,createClientLogger:l,logger:i}}const nm=tm({logLevelEnvVarName:`TYPESPEC_RUNTIME_LOG_LEVEL`,namespace:`typeSpecRuntime`});nm.logger;function rm(e){return nm.createClientLogger(e)}function im(e){return e.toLowerCase()}function*am(e){for(let t of e.values())yield[t.name,t.value]}var om=class{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(im(e),{name:e,value:String(t).trim()})}get(e){return this._headersMap.get(im(e))?.value}has(e){return this._headersMap.has(im(e))}delete(e){this._headersMap.delete(im(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,n]of this._headersMap)t[e]=n.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return am(this._headersMap)}};function sm(e){return new om(e)}function cm(){return crypto.randomUUID()}var lm=class{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??sm(),this.method=e.method??`GET`,this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||cm(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function um(e){return new lm(e)}const dm=new Set([`Deserialize`,`Serialize`,`Retry`,`Sign`]);var fm=class e{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error(`Policies inside a phase cannot specify afterPhase.`);if(t.phase&&!dm.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!dm.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(t.push(n.policy),!1):!0),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>n=>t.sendRequest(n,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||=this.orderPolicies(),this._orderedPolicies}clone(){return new e(this._policies)}static create(){return new e}orderPolicies(){let e=[],t=new Map;function n(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let r=n(`Serialize`),i=n(`None`),a=n(`Deserialize`),o=n(`Retry`),s=n(`Sign`),c=[r,i,a,o,s];function l(e){return e===`Retry`?o:e===`Serialize`?r:e===`Deserialize`?a:e===`Sign`?s:i}for(let e of this._policies){let n=e.policy,r=e.options,i=n.name;if(t.has(i))throw Error(`Duplicate policy names not allowed in pipeline`);let a={policy:n,dependsOn:new Set,dependants:new Set};r.afterPhase&&(a.afterPhase=l(r.afterPhase),a.afterPhase.hasAfterPolicies=!0),t.set(i,a),l(r.phase).policies.add(a)}for(let e of this._policies){let{policy:n,options:r}=e,i=n.name,a=t.get(i);if(!a)throw Error(`Missing node for policy ${i}`);if(r.afterPolicies)for(let e of r.afterPolicies){let n=t.get(e);n&&(a.dependsOn.add(n),n.dependants.add(a))}if(r.beforePolicies)for(let e of r.beforePolicies){let n=t.get(e);n&&(n.dependsOn.add(a),a.dependants.add(n))}}function u(n){n.hasRun=!0;for(let r of n.policies)if(!(r.afterPhase&&(!r.afterPhase.hasRun||r.afterPhase.policies.size))&&r.dependsOn.size===0){e.push(r.policy);for(let e of r.dependants)e.dependsOn.delete(r);t.delete(r.policy.name),n.policies.delete(r)}}function d(){for(let e of c){if(u(e),e.policies.size>0&&e!==i){i.hasRun||u(i);return}e.hasAfterPolicies&&u(i)}}let f=0;for(;t.size>0;){f++;let t=e.length;if(d(),e.length<=t&&f>1)throw Error(`Cannot satisfy policy dependencies due to requirements cycle.`)}return e}};function pm(){return fm.create()}function mm(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function hm(e){if(mm(e)){let t=typeof e.name==`string`,n=typeof e.message==`string`;return t&&n}return!1}const gm=C.custom,_m=`REDACTED`,vm=`x-ms-client-request-id.x-ms-return-client-request-id.x-ms-useragent.x-ms-correlation-request-id.x-ms-request-id.client-request-id.ms-cv.return-client-request-id.traceparent.Access-Control-Allow-Credentials.Access-Control-Allow-Headers.Access-Control-Allow-Methods.Access-Control-Allow-Origin.Access-Control-Expose-Headers.Access-Control-Max-Age.Access-Control-Request-Headers.Access-Control-Request-Method.Origin.Accept.Accept-Encoding.Cache-Control.Connection.Content-Length.Content-Type.Date.ETag.Expires.If-Match.If-Modified-Since.If-None-Match.If-Unmodified-Since.Last-Modified.Pragma.Request-Id.Retry-After.Server.Transfer-Encoding.User-Agent.WWW-Authenticate`.split(`.`),ym=[`api-version`];var bm=class{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=vm.concat(e),t=ym.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(n instanceof Error)return{...n,name:n.name,message:n.message};if(e===`headers`&&mm(n))return this.sanitizeHeaders(n);if(e===`url`&&typeof n==`string`)return this.sanitizeUrl(n);if(e===`query`&&mm(n))return this.sanitizeQuery(n);if(e!==`body`&&e!==`response`&&e!==`operationSpec`){if(Array.isArray(n)||mm(n)){if(t.has(n))return`[Circular]`;t.add(n)}return n}},2)}sanitizeUrl(e){if(typeof e!=`string`||e===null||e===``)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,_m);return t.toString()}sanitizeHeaders(e){let t={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?t[n]=e[n]:t[n]=_m;return t}sanitizeQuery(e){if(typeof e!=`object`||!e)return e;let t={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?t[n]=e[n]:t[n]=_m;return t}};const xm=new bm;var Sm=class e extends Error{static REQUEST_SEND_ERROR=`REQUEST_SEND_ERROR`;static PARSE_ERROR=`PARSE_ERROR`;code;statusCode;request;response;details;constructor(t,n={}){super(t),this.name=`RestError`,this.code=n.code,this.statusCode=n.statusCode,Object.defineProperty(this,`request`,{value:n.request,enumerable:!1}),Object.defineProperty(this,`response`,{value:n.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,gm,{value:()=>`RestError: ${this.message} \n ${xm.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,e.prototype)}};function Cm(e){return e instanceof Sm?!0:hm(e)&&e.name===`RestError`}function wm(e,t){return Buffer.from(e,t)}const Tm=rm(`ts-http-runtime`),Em={};function Dm(e){return e&&typeof e.pipe==`function`}function Om(e){return e.readable===!1?Promise.resolve():new Promise(t=>{let n=()=>{t(),e.removeListener(`close`,n),e.removeListener(`end`,n),e.removeListener(`error`,n)};e.on(`close`,n),e.on(`end`,n),e.on(`error`,n)})}function km(e){return e&&typeof e.byteLength==`number`}var Am=class extends b{loadedBytes=0;progressCallback;_transform(e,t,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(e){n(e)}}constructor(e){super(),this.progressCallback=e}},jm=class{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Ip(`The operation was aborted. Request has already been canceled.`);n=e=>{e.type===`abort`&&t.abort()},e.abortSignal.addEventListener(`abort`,n)}let r;e.timeout>0&&(r=setTimeout(()=>{let n=new bm;Tm.info(`request to '${n.sanitizeUrl(e.url)}' timed out. canceling...`),t.abort()},e.timeout));let i=e.headers.get(`Accept-Encoding`),a=i?.includes(`gzip`)||i?.includes(`deflate`),o=typeof e.body==`function`?e.body():e.body;if(o&&!e.headers.has(`Content-Length`)){let t=Fm(o);t!==null&&e.headers.set(`Content-Length`,t)}let s;try{if(o&&e.onUploadProgress){let t=e.onUploadProgress,n=new Am(t);n.on(`error`,e=>{Tm.error(`Error in upload progress`,e)}),Dm(o)?o.pipe(n):n.end(o),o=n}let n=await this.makeRequest(e,t,o);r!==void 0&&clearTimeout(r);let i=Mm(n),c={status:n.statusCode??0,headers:i,request:e};if(e.method===`HEAD`)return n.resume(),c;s=a?Nm(n,i):n;let l=e.onDownloadProgress;if(l){let e=new Am(l);e.on(`error`,e=>{Tm.error(`Error in download progress`,e)}),s.pipe(e),s=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(c.status)?c.readableStreamBody=s:c.bodyAsText=await Pm(s),c}finally{if(e.abortSignal&&n){let t=Promise.resolve();Dm(o)&&(t=Om(o));let r=Promise.resolve();Dm(s)&&(r=Om(s)),Promise.all([t,r]).then(()=>{n&&e.abortSignal?.removeEventListener(`abort`,n)}).catch(e=>{Tm.warning(`Error when cleaning up abortListener on httpRequest`,e)})}}}makeRequest(e,t,n){let r=new URL(e.url),i=r.protocol!==`https:`;if(i&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a={agent:e.agent??this.getOrCreateAgent(e,i),hostname:r.hostname,path:`${r.pathname}${r.search}`,port:r.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((r,o)=>{let s=i?v.request(a,r):ve.request(a,r);s.once(`error`,t=>{o(new Sm(t.message,{code:t.code??Sm.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener(`abort`,()=>{let e=new Ip(`The operation was aborted. Rejecting from abort signal callback while making request.`);s.destroy(e),o(e)}),n&&Dm(n)?n.pipe(s):n?typeof n==`string`||Buffer.isBuffer(n)?s.end(n):km(n)?s.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Tm.error(`Unrecognized body type`,n),o(new Sm(`Unrecognized body type`))):s.end()})}getOrCreateAgent(e,t){let n=e.disableKeepAlive;if(t)return n?v.globalAgent:(this.cachedHttpAgent||=new v.Agent({keepAlive:!0}),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return ve.globalAgent;let t=e.tlsSettings??Em,r=this.cachedHttpsAgents.get(t);return r&&r.options.keepAlive===!n?r:(Tm.info(`No cached TLS Agent exist, creating a new Agent`),r=new ve.Agent({keepAlive:!n,...t}),this.cachedHttpsAgents.set(t,r),r)}}};function Mm(e){let t=sm();for(let n of Object.keys(e.headers)){let r=e.headers[n];Array.isArray(r)?r.length>0&&t.set(n,r[0]):r&&t.set(n,r)}return t}function Nm(e,t){let n=t.get(`Content-Encoding`);if(n===`gzip`){let t=w.createGunzip();return e.pipe(t),t}else if(n===`deflate`){let t=w.createInflate();return e.pipe(t),t}return e}function Pm(e){return new Promise((t,n)=>{let r=[];e.on(`data`,e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),e.on(`end`,()=>{t(Buffer.concat(r).toString(`utf8`))}),e.on(`error`,e=>{e&&e?.name===`AbortError`?n(e):n(new Sm(`Error reading response as text: ${e.message}`,{code:Sm.PARSE_ERROR}))})})}function Fm(e){return e?Buffer.isBuffer(e)?e.length:Dm(e)?null:km(e)?e.byteLength:typeof e==`string`?Buffer.from(e).length:null:0}function Im(){return new jm}function Lm(){return Im()}function Rm(e={}){let t=e.logger??Tm.info,n=new bm({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:`logPolicy`,async sendRequest(e,r){if(!t.enabled)return r(e);t(`Request: ${n.sanitize(e)}`);let i=await r(e);return t(`Response status code: ${i.status}`),t(`Headers: ${n.sanitize(i.headers)}`),i}}}const zm=[`GET`,`HEAD`];function Bm(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:n=!1}=e;return{name:`redirectPolicy`,async sendRequest(e,r){return Vm(r,await r(e),t,n)}}}async function Vm(e,t,n,r,i=0){let{request:a,status:o,headers:s}=t,c=s.get(`location`);if(c&&(o===300||o===301&&zm.includes(a.method)||o===302&&zm.includes(a.method)||o===303&&a.method===`POST`||o===307)&&i{let a,o,s=()=>i(new Ip(n?.abortErrorMsg?n?.abortErrorMsg:`The operation was aborted.`)),c=()=>{n?.abortSignal&&o&&n.abortSignal.removeEventListener(`abort`,o)};if(o=()=>(a&&clearTimeout(a),c(),s()),n?.abortSignal&&n.abortSignal.aborted)return s();a=setTimeout(()=>{c(),r(t)},e),n?.abortSignal&&n.abortSignal.addEventListener(`abort`,o)})}function Km(e,t){let n=e.headers.get(t);if(!n)return;let r=Number(n);if(!Number.isNaN(r))return r}const qm=`Retry-After`,Jm=[`retry-after-ms`,`x-ms-retry-after-ms`,qm];function Ym(e){if(e&&[429,503].includes(e.status))try{for(let t of Jm){let n=Km(e,t);if(n===0||n)return n*(t===qm?1e3:1)}let t=e.headers.get(qm);if(!t)return;let n=Date.parse(t)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}function Xm(e){return Number.isFinite(Ym(e))}function Zm(){return{name:`throttlingRetryStrategy`,retry({response:e}){let t=Ym(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}}}function Qm(e={}){let t=e.retryDelayInMs??1e3,n=e.maxRetryDelayInMs??64e3;return{name:`exponentialRetryStrategy`,retry({retryCount:r,response:i,responseError:a}){let o=eh(a),s=o&&e.ignoreSystemErrors,c=$m(i),l=c&&e.ignoreHttpStatusCodes;return i&&(Xm(i)||!c)||l||s?{skipStrategy:!0}:a&&!o&&!c?{errorToThrow:a}:Wm(r,{retryDelayInMs:t,maxRetryDelayInMs:n})}}}function $m(e){return!!(e&&e.status!==void 0&&(e.status>=500||e.status===408)&&e.status!==501&&e.status!==505)}function eh(e){return e?e.code===`ETIMEDOUT`||e.code===`ESOCKETTIMEDOUT`||e.code===`ECONNREFUSED`||e.code===`ECONNRESET`||e.code===`ENOENT`||e.code===`ENOTFOUND`:!1}const th=rm(`ts-http-runtime retryPolicy`);function nh(e,t={maxRetries:3}){let n=t.logger||th;return{name:`retryPolicy`,async sendRequest(r,i){let a,o,s=-1;retryRequest:for(;;){s+=1,a=void 0,o=void 0;try{n.info(`Retry ${s}: Attempting to send request`,r.requestId),a=await i(r),n.info(`Retry ${s}: Received a response from request`,r.requestId)}catch(e){if(n.error(`Retry ${s}: Received an error from request`,r.requestId),!Cm(e))throw e;o=e,a=e.response}if(r.abortSignal?.aborted)throw n.error(`Retry ${s}: Request aborted.`),new Ip;if(s>=(t.maxRetries??3)){if(n.info(`Retry ${s}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(a)return a;throw Error(`Maximum retries reached with no response or error to throw`)}n.info(`Retry ${s}: Processing ${e.length} retry strategies.`);strategiesLoop:for(let t of e){let e=t.logger||n;e.info(`Retry ${s}: Processing retry strategy ${t.name}.`);let i=t.retry({retryCount:s,response:a,responseError:o});if(i.skipStrategy){e.info(`Retry ${s}: Skipped.`);continue strategiesLoop}let{errorToThrow:c,retryAfterInMs:l,redirectTo:u}=i;if(c)throw e.error(`Retry ${s}: Retry strategy ${t.name} throws error:`,c),c;if(l||l===0){e.info(`Retry ${s}: Retry strategy ${t.name} retries after ${l}`),await Gm(l,void 0,{abortSignal:r.abortSignal});continue retryRequest}if(u){e.info(`Retry ${s}: Retry strategy ${t.name} redirects to ${u}`),r.url=u;continue retryRequest}}if(o)throw n.info(`None of the retry strategies could work with the received error. Throwing it.`),o;if(a)return n.info(`None of the retry strategies could work with the received response. Returning it.`),a}}}}function rh(e={}){return{name:`defaultRetryPolicy`,sendRequest:nh([Zm(),Qm(e)],{maxRetries:e.maxRetries??3}).sendRequest}}typeof window<`u`&&window.document,typeof self==`object`&&typeof self?.importScripts==`function`&&(self.constructor?.name===`DedicatedWorkerGlobalScope`||self.constructor?.name===`ServiceWorkerGlobalScope`||self.constructor?.name),typeof Deno<`u`&&Deno.version!==void 0&&Deno.version.deno,typeof Bun<`u`&&Bun.version;const ih=globalThis.process!==void 0&&!!globalThis.process.version&&!!globalThis.process.versions?.node;typeof navigator<`u`&&navigator?.product;function ah(e){let t={};for(let[n,r]of e.entries())t[n]??=[],t[n].push(r);return t}function oh(){return{name:`formDataPolicy`,async sendRequest(e,t){if(ih&&typeof FormData<`u`&&e.body instanceof FormData&&(e.formData=ah(e.body),e.body=void 0),e.formData){let t=e.headers.get(`Content-Type`);t&&t.indexOf(`application/x-www-form-urlencoded`)!==-1?e.body=sh(e.formData):await ch(e.formData,e),e.formData=void 0}return t(e)}}}function sh(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(n,e.toString());else t.append(n,r.toString());return t.toString()}async function ch(e,t){let n=t.headers.get(`Content-Type`);if(n&&!n.startsWith(`multipart/form-data`))return;t.headers.set(`Content-Type`,n??`multipart/form-data`);let r=[];for(let[t,n]of Object.entries(e))for(let e of Array.isArray(n)?n:[n])if(typeof e==`string`)r.push({headers:sm({"Content-Disposition":`form-data; name="${t}"`}),body:wm(e,`utf-8`)});else if(typeof e!=`object`||!e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let n=e.name||`blob`,i=sm();i.set(`Content-Disposition`,`form-data; name="${t}"; filename="${n}"`),i.set(`Content-Type`,e.type||`application/octet-stream`),r.push({headers:i,body:e})}t.multipartBody={parts:r}}var lh=P(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return c(e);if(n===`number`&&isFinite(e))return t.long?u(e):l(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function l(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function u(e){var t=Math.abs(e);return t>=a?d(e,t,a,`day`):t>=i?d(e,t,i,`hour`):t>=r?d(e,t,r,`minute`):t>=n?d(e,t,n,`second`):e+` ms`}function d(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),uh=P(((e,t)=>{function n(e){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=i,n.enabled=s,n.humanize=lh(),n.destroy=l,Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={};function t(e){let t=0;for(let n=0;n{if(t===`%%`)return`%`;a++;let o=n.formatters[i];if(typeof o==`function`){let n=e[a];t=o.call(r,n),e.splice(a,1),a--}return t}),n.formatArgs.call(r,e),(r.log||n.log).apply(r,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=r,s.destroy=n.destroy,Object.defineProperty(s,`enabled`,{enumerable:!0,configurable:!1,get:()=>i===null?(a!==n.namespaces&&(a=n.namespaces,o=n.enabled(e)),o):i,set:e=>{i=e}}),typeof n.init==`function`&&n.init(s),s}function r(e,t){let r=n(this.namespace+(t===void 0?`:`:t)+e);return r.log=this.log,r}function i(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?n.skips.push(e.slice(1)):n.names.push(e)}function a(e,t){let n=0,r=0,i=-1,a=0;for(;n`-`+e)].join(`,`);return n.enable(``),e}function s(e){for(let t of n.skips)if(a(e,t))return!1;for(let t of n.names)if(a(e,t))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}t.exports=n})),dh=P(((e,t)=>{e.formatArgs=r,e.save=i,e.load=a,e.useColors=n,e.storage=o(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=`#0000CC.#0000FF.#0033CC.#0033FF.#0066CC.#0066FF.#0099CC.#0099FF.#00CC00.#00CC33.#00CC66.#00CC99.#00CCCC.#00CCFF.#3300CC.#3300FF.#3333CC.#3333FF.#3366CC.#3366FF.#3399CC.#3399FF.#33CC00.#33CC33.#33CC66.#33CC99.#33CCCC.#33CCFF.#6600CC.#6600FF.#6633CC.#6633FF.#66CC00.#66CC33.#9900CC.#9900FF.#9933CC.#9933FF.#99CC00.#99CC33.#CC0000.#CC0033.#CC0066.#CC0099.#CC00CC.#CC00FF.#CC3300.#CC3333.#CC3366.#CC3399.#CC33CC.#CC33FF.#CC6600.#CC6633.#CC9900.#CC9933.#CCCC00.#CCCC33.#FF0000.#FF0033.#FF0066.#FF0099.#FF00CC.#FF00FF.#FF3300.#FF3333.#FF3366.#FF3399.#FF33CC.#FF33FF.#FF6600.#FF6633.#FF9900.#FF9933.#FFCC00.#FFCC33`.split(`.`);function n(){if(typeof window<`u`&&window.process&&(window.process.type===`renderer`||window.process.__nwjs))return!0;if(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<`u`&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<`u`&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<`u`&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+t.exports.humanize(this.diff),!this.useColors)return;let n=`color: `+this.color;e.splice(1,0,n,`color: inherit`);let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{e!==`%%`&&(r++,e===`%c`&&(i=r))}),e.splice(i,0,n)}e.log=console.debug||console.log||(()=>{});function i(t){try{t?e.storage.setItem(`debug`,t):e.storage.removeItem(`debug`)}catch{}}function a(){let t;try{t=e.storage.getItem(`debug`)||e.storage.getItem(`DEBUG`)}catch{}return!t&&typeof process<`u`&&`env`in process&&(t=process.env.DEBUG),t}function o(){try{return localStorage}catch{}}t.exports=uh()(e);let{formatters:s}=t.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return`[UnexpectedJSONParseError]: `+e.message}}})),fh=P(((e,t)=>{let n=F(`tty`),r=F(`util`);e.init=u,e.log=s,e.formatArgs=a,e.save=c,e.load=l,e.useColors=i,e.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let t=F(`supports-color`);t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),r=process.env[t];return r=/^(yes|on|true|enabled)$/i.test(r)?!0:/^(no|off|false|disabled)$/i.test(r)?!1:r===`null`?null:Number(r),e[n]=r,e},{});function i(){return`colors`in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)}function a(e){let{namespace:n,useColors:r}=this;if(r){let r=this.color,i=`\x1B[3`+(r<8?r:`8;5;`+r),a=` ${i};1m${n} \u001B[0m`;e[0]=a+e[0].split(` +`).map(e=>e.trim());for(let e of i)if(!e||e.startsWith(`#`))continue;else r.patterns.push(new pf(e));return r.searchPaths.push(...tf(r.patterns)),r})}static stat(e,t,n){return hf(this,void 0,void 0,function*(){let r;if(t.followSymbolicLinks)try{r=yield a.promises.stat(e.path)}catch(n){if(n.code===`ENOENT`){if(t.omitBrokenSymbolicLinks){L(`Broken symlink '${e.path}'`);return}throw Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}else r=yield a.promises.lstat(e.path);if(r.isDirectory()&&t.followSymbolicLinks){let t=yield a.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(e=>e===t)){L(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return}n.push(t)}return r})}},xf=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function Sf(e,t){return xf(this,void 0,void 0,function*(){return yield bf.create(e,t)})}var Cf=P(((e,t)=>{t.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:2**53-1||9007199254740991,RELEASE_TYPES:[`major`,`premajor`,`minor`,`preminor`,`patch`,`prepatch`,`prerelease`],SEMVER_SPEC_VERSION:`2.0.0`,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}})),wf=P(((e,t)=>{t.exports=typeof process==`object`&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error(`SEMVER`,...e):()=>{}})),Tf=P(((e,t)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:r,MAX_LENGTH:i}=Cf(),a=wf();e=t.exports={};let o=e.re=[],s=e.safeRe=[],c=e.src=[],l=e.safeSrc=[],u=e.t={},d=0,f=`[a-zA-Z0-9-]`,p=[[`\\s`,1],[`\\d`,i],[f,r]],m=e=>{for(let[t,n]of p)e=e.split(`${t}*`).join(`${t}{0,${n}}`).split(`${t}+`).join(`${t}{1,${n}}`);return e},h=(e,t,n)=>{let r=m(t),i=d++;a(e,i,t),u[e]=i,c[i]=t,l[i]=r,o[i]=new RegExp(t,n?`g`:void 0),s[i]=new RegExp(r,n?`g`:void 0)};h(`NUMERICIDENTIFIER`,`0|[1-9]\\d*`),h(`NUMERICIDENTIFIERLOOSE`,`\\d+`),h(`NONNUMERICIDENTIFIER`,`\\d*[a-zA-Z-]${f}*`),h(`MAINVERSION`,`(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})\\.(${c[u.NUMERICIDENTIFIER]})`),h(`MAINVERSIONLOOSE`,`(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})\\.(${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASEIDENTIFIER`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIER]})`),h(`PRERELEASEIDENTIFIERLOOSE`,`(?:${c[u.NONNUMERICIDENTIFIER]}|${c[u.NUMERICIDENTIFIERLOOSE]})`),h(`PRERELEASE`,`(?:-(${c[u.PRERELEASEIDENTIFIER]}(?:\\.${c[u.PRERELEASEIDENTIFIER]})*))`),h(`PRERELEASELOOSE`,`(?:-?(${c[u.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${c[u.PRERELEASEIDENTIFIERLOOSE]})*))`),h(`BUILDIDENTIFIER`,`${f}+`),h(`BUILD`,`(?:\\+(${c[u.BUILDIDENTIFIER]}(?:\\.${c[u.BUILDIDENTIFIER]})*))`),h(`FULLPLAIN`,`v?${c[u.MAINVERSION]}${c[u.PRERELEASE]}?${c[u.BUILD]}?`),h(`FULL`,`^${c[u.FULLPLAIN]}$`),h(`LOOSEPLAIN`,`[v=\\s]*${c[u.MAINVERSIONLOOSE]}${c[u.PRERELEASELOOSE]}?${c[u.BUILD]}?`),h(`LOOSE`,`^${c[u.LOOSEPLAIN]}$`),h(`GTLT`,`((?:<|>)?=?)`),h(`XRANGEIDENTIFIERLOOSE`,`${c[u.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),h(`XRANGEIDENTIFIER`,`${c[u.NUMERICIDENTIFIER]}|x|X|\\*`),h(`XRANGEPLAIN`,`[v=\\s]*(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:\\.(${c[u.XRANGEIDENTIFIER]})(?:${c[u.PRERELEASE]})?${c[u.BUILD]}?)?)?`),h(`XRANGEPLAINLOOSE`,`[v=\\s]*(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:\\.(${c[u.XRANGEIDENTIFIERLOOSE]})(?:${c[u.PRERELEASELOOSE]})?${c[u.BUILD]}?)?)?`),h(`XRANGE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAIN]}$`),h(`XRANGELOOSE`,`^${c[u.GTLT]}\\s*${c[u.XRANGEPLAINLOOSE]}$`),h(`COERCEPLAIN`,`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),h(`COERCE`,`${c[u.COERCEPLAIN]}(?:$|[^\\d])`),h(`COERCEFULL`,c[u.COERCEPLAIN]+`(?:${c[u.PRERELEASE]})?(?:${c[u.BUILD]})?(?:$|[^\\d])`),h(`COERCERTL`,c[u.COERCE],!0),h(`COERCERTLFULL`,c[u.COERCEFULL],!0),h(`LONETILDE`,`(?:~>?)`),h(`TILDETRIM`,`(\\s*)${c[u.LONETILDE]}\\s+`,!0),e.tildeTrimReplace=`$1~`,h(`TILDE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAIN]}$`),h(`TILDELOOSE`,`^${c[u.LONETILDE]}${c[u.XRANGEPLAINLOOSE]}$`),h(`LONECARET`,`(?:\\^)`),h(`CARETTRIM`,`(\\s*)${c[u.LONECARET]}\\s+`,!0),e.caretTrimReplace=`$1^`,h(`CARET`,`^${c[u.LONECARET]}${c[u.XRANGEPLAIN]}$`),h(`CARETLOOSE`,`^${c[u.LONECARET]}${c[u.XRANGEPLAINLOOSE]}$`),h(`COMPARATORLOOSE`,`^${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]})$|^$`),h(`COMPARATOR`,`^${c[u.GTLT]}\\s*(${c[u.FULLPLAIN]})$|^$`),h(`COMPARATORTRIM`,`(\\s*)${c[u.GTLT]}\\s*(${c[u.LOOSEPLAIN]}|${c[u.XRANGEPLAIN]})`,!0),e.comparatorTrimReplace=`$1$2$3`,h(`HYPHENRANGE`,`^\\s*(${c[u.XRANGEPLAIN]})\\s+-\\s+(${c[u.XRANGEPLAIN]})\\s*$`),h(`HYPHENRANGELOOSE`,`^\\s*(${c[u.XRANGEPLAINLOOSE]})\\s+-\\s+(${c[u.XRANGEPLAINLOOSE]})\\s*$`),h(`STAR`,`(<|>)?=?\\s*\\*`),h(`GTE0`,`^\\s*>=\\s*0\\.0\\.0\\s*$`),h(`GTE0PRE`,`^\\s*>=\\s*0\\.0\\.0-0\\s*$`)})),Ef=P(((e,t)=>{let n=Object.freeze({loose:!0}),r=Object.freeze({});t.exports=e=>e?typeof e==`object`?e:n:r})),Df=P(((e,t)=>{let n=/^[0-9]+$/,r=(e,t)=>{if(typeof e==`number`&&typeof t==`number`)return e===t?0:er(t,e)}})),Of=P(((e,t)=>{let n=wf(),{MAX_LENGTH:r,MAX_SAFE_INTEGER:i}=Cf(),{safeRe:a,t:o}=Tf(),s=Ef(),{compareIdentifiers:c}=Df();t.exports=class e{constructor(t,c){if(c=s(c),t instanceof e){if(t.loose===!!c.loose&&t.includePrerelease===!!c.includePrerelease)return t;t=t.version}else if(typeof t!=`string`)throw TypeError(`Invalid version. Must be a string. Got type "${typeof t}".`);if(t.length>r)throw TypeError(`version is longer than ${r} characters`);n(`SemVer`,t,c),this.options=c,this.loose=!!c.loose,this.includePrerelease=!!c.includePrerelease;let l=t.trim().match(c.loose?a[o.LOOSE]:a[o.FULL]);if(!l)throw TypeError(`Invalid Version: ${t}`);if(this.raw=t,this.major=+l[1],this.minor=+l[2],this.patch=+l[3],this.major>i||this.major<0)throw TypeError(`Invalid major version`);if(this.minor>i||this.minor<0)throw TypeError(`Invalid minor version`);if(this.patch>i||this.patch<0)throw TypeError(`Invalid patch version`);l[4]?this.prerelease=l[4].split(`.`).map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&tt.major?1:this.minort.minor?1:this.patcht.patch)}comparePre(t){if(t instanceof e||(t=new e(t,this.options)),this.prerelease.length&&!t.prerelease.length)return-1;if(!this.prerelease.length&&t.prerelease.length)return 1;if(!this.prerelease.length&&!t.prerelease.length)return 0;let r=0;do{let e=this.prerelease[r],i=t.prerelease[r];if(n(`prerelease compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}compareBuild(t){t instanceof e||(t=new e(t,this.options));let r=0;do{let e=this.build[r],i=t.build[r];if(n(`build compare`,r,e,i),e===void 0&&i===void 0)return 0;if(i===void 0)return 1;if(e===void 0)return-1;if(e===i)continue;return c(e,i)}while(++r)}inc(e,t,n){if(e.startsWith(`pre`)){if(!t&&n===!1)throw Error(`invalid increment argument: identifier is empty`);if(t){let e=`-${t}`.match(this.options.loose?a[o.PRERELEASELOOSE]:a[o.PRERELEASE]);if(!e||e[1]!==t)throw Error(`invalid identifier: ${t}`)}}switch(e){case`premajor`:this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc(`pre`,t,n);break;case`preminor`:this.prerelease.length=0,this.patch=0,this.minor++,this.inc(`pre`,t,n);break;case`prepatch`:this.prerelease.length=0,this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`prerelease`:this.prerelease.length===0&&this.inc(`patch`,t,n),this.inc(`pre`,t,n);break;case`release`:if(this.prerelease.length===0)throw Error(`version ${this.raw} is not a prerelease`);this.prerelease.length=0;break;case`major`:(this.minor!==0||this.patch!==0||this.prerelease.length===0)&&this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case`minor`:(this.patch!==0||this.prerelease.length===0)&&this.minor++,this.patch=0,this.prerelease=[];break;case`patch`:this.prerelease.length===0&&this.patch++,this.prerelease=[];break;case`pre`:{let e=+!!Number(n);if(this.prerelease.length===0)this.prerelease=[e];else{let r=this.prerelease.length;for(;--r>=0;)typeof this.prerelease[r]==`number`&&(this.prerelease[r]++,r=-2);if(r===-1){if(t===this.prerelease.join(`.`)&&n===!1)throw Error(`invalid increment argument: identifier already exists`);this.prerelease.push(e)}}if(t){let r=[t,e];n===!1&&(r=[t]),c(this.prerelease[0],t)===0?isNaN(this.prerelease[1])&&(this.prerelease=r):this.prerelease=r}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(`.`)}`),this}}})),kf=P(((e,t)=>{let n=Of();t.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}})),Af=P(((e,t)=>{let n=kf();t.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}})),jf=P(((e,t)=>{let n=kf();t.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,``),t);return r?r.version:null}})),Mf=P(((e,t)=>{let n=Of();t.exports=(e,t,r,i,a)=>{typeof r==`string`&&(a=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,a).version}catch{return null}}})),Nf=P(((e,t)=>{let n=kf();t.exports=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),a=r.compare(i);if(a===0)return null;let o=a>0,s=o?r:i,c=o?i:r,l=!!s.prerelease.length;if(c.prerelease.length&&!l){if(!c.patch&&!c.minor)return`major`;if(c.compareMain(s)===0)return c.minor&&!c.patch?`minor`:`patch`}let u=l?`pre`:``;return r.major===i.major?r.minor===i.minor?r.patch===i.patch?`prerelease`:u+`patch`:u+`minor`:u+`major`}})),Pf=P(((e,t)=>{let n=Of();t.exports=(e,t)=>new n(e,t).major})),Ff=P(((e,t)=>{let n=Of();t.exports=(e,t)=>new n(e,t).minor})),If=P(((e,t)=>{let n=Of();t.exports=(e,t)=>new n(e,t).patch})),Lf=P(((e,t)=>{let n=kf();t.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}})),Rf=P(((e,t)=>{let n=Of();t.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))})),zf=P(((e,t)=>{let n=Rf();t.exports=(e,t,r)=>n(t,e,r)})),Bf=P(((e,t)=>{let n=Rf();t.exports=(e,t)=>n(e,t,!0)})),Vf=P(((e,t)=>{let n=Of();t.exports=(e,t,r)=>{let i=new n(e,r),a=new n(t,r);return i.compare(a)||i.compareBuild(a)}})),Hf=P(((e,t)=>{let n=Vf();t.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))})),Uf=P(((e,t)=>{let n=Vf();t.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))})),Wf=P(((e,t)=>{let n=Rf();t.exports=(e,t,r)=>n(e,t,r)>0})),Gf=P(((e,t)=>{let n=Rf();t.exports=(e,t,r)=>n(e,t,r)<0})),Kf=P(((e,t)=>{let n=Rf();t.exports=(e,t,r)=>n(e,t,r)===0})),qf=P(((e,t)=>{let n=Rf();t.exports=(e,t,r)=>n(e,t,r)!==0})),Jf=P(((e,t)=>{let n=Rf();t.exports=(e,t,r)=>n(e,t,r)>=0})),Yf=P(((e,t)=>{let n=Rf();t.exports=(e,t,r)=>n(e,t,r)<=0})),Xf=P(((e,t)=>{let n=Kf(),r=qf(),i=Wf(),a=Jf(),o=Gf(),s=Yf();t.exports=(e,t,c,l)=>{switch(t){case`===`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e===c;case`!==`:return typeof e==`object`&&(e=e.version),typeof c==`object`&&(c=c.version),e!==c;case``:case`=`:case`==`:return n(e,c,l);case`!=`:return r(e,c,l);case`>`:return i(e,c,l);case`>=`:return a(e,c,l);case`<`:return o(e,c,l);case`<=`:return s(e,c,l);default:throw TypeError(`Invalid operator: ${t}`)}}})),Zf=P(((e,t)=>{let n=Of(),r=kf(),{safeRe:i,t:a}=Tf();t.exports=(e,t)=>{if(e instanceof n)return e;if(typeof e==`number`&&(e=String(e)),typeof e!=`string`)return null;t||={};let o=null;if(!t.rtl)o=e.match(t.includePrerelease?i[a.COERCEFULL]:i[a.COERCE]);else{let n=t.includePrerelease?i[a.COERCERTLFULL]:i[a.COERCERTL],r;for(;(r=n.exec(e))&&(!o||o.index+o[0].length!==e.length);)(!o||r.index+r[0].length!==o.index+o[0].length)&&(o=r),n.lastIndex=r.index+r[1].length+r[2].length;n.lastIndex=-1}if(o===null)return null;let s=o[2];return r(`${s}.${o[3]||`0`}.${o[4]||`0`}${t.includePrerelease&&o[5]?`-${o[5]}`:``}${t.includePrerelease&&o[6]?`+${o[6]}`:``}`,t)}})),Qf=P(((e,t)=>{let n=kf(),r=Cf(),i=Of(),a=(e,t,n)=>{if(!r.RELEASE_TYPES.includes(t))return null;let i=o(e,n);return i&&s(i,t)},o=(e,t)=>n(e instanceof i?e.version:e,t),s=(e,t)=>{if(c(t))return e.version;switch(e.prerelease=[],t){case`major`:e.minor=0,e.patch=0;break;case`minor`:e.patch=0;break}return e.format()},c=e=>e.startsWith(`pre`);t.exports=a})),$f=P(((e,t)=>{t.exports=class{constructor(){this.max=1e3,this.map=new Map}get(e){let t=this.map.get(e);if(t!==void 0)return this.map.delete(e),this.map.set(e,t),t}delete(e){return this.map.delete(e)}set(e,t){if(!this.delete(e)&&t!==void 0){if(this.map.size>=this.max){let e=this.map.keys().next().value;this.delete(e)}this.map.set(e,t)}return this}}})),ep=P(((e,t)=>{let n=/\s+/g;t.exports=class e{constructor(t,r){if(r=i(r),t instanceof e)return t.loose===!!r.loose&&t.includePrerelease===!!r.includePrerelease?t:new e(t.raw,r);if(t instanceof a)return this.raw=t.value,this.set=[[t]],this.formatted=void 0,this;if(this.options=r,this.loose=!!r.loose,this.includePrerelease=!!r.includePrerelease,this.raw=t.trim().replace(n,` `),this.set=this.raw.split(`||`).map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!_(e[0])),this.set.length===0)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(e.length===1&&v(e[0])){this.set=[e];break}}}this.formatted=void 0}get range(){if(this.formatted===void 0){this.formatted=``;for(let e=0;e0&&(this.formatted+=`||`);let t=this.set[e];for(let e=0;e0&&(this.formatted+=` `),this.formatted+=t[e].toString().trim()}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(e){e=e.replace(g,``);let t=((this.options.includePrerelease&&m)|(this.options.loose&&h))+`:`+e,n=r.get(t);if(n)return n;let i=this.options.loose,s=i?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE];e=e.replace(s,A(this.options.includePrerelease)),o(`hyphen replace`,e),e=e.replace(c[u.COMPARATORTRIM],d),o(`comparator trim`,e),e=e.replace(c[u.TILDETRIM],f),o(`tilde trim`,e),e=e.replace(c[u.CARETTRIM],p),o(`caret trim`,e);let l=e.split(` `).map(e=>b(e,this.options)).join(` `).split(/\s+/).map(e=>k(e,this.options));i&&(l=l.filter(e=>(o(`loose invalid filter`,e,this.options),!!e.match(c[u.COMPARATORLOOSE])))),o(`range list`,l);let v=new Map,y=l.map(e=>new a(e,this.options));for(let e of y){if(_(e))return[e];v.set(e.value,e)}v.size>1&&v.has(``)&&v.delete(``);let x=[...v.values()];return r.set(t,x),x}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Range is required`);return this.set.some(e=>y(e,n)&&t.set.some(t=>y(t,n)&&e.every(e=>t.every(t=>e.intersects(t,n)))))}test(e){if(!e)return!1;if(typeof e==`string`)try{e=new s(e,this.options)}catch{return!1}for(let t=0;te.value===`<0.0.0-0`,v=e=>e.value===``,y=(e,t)=>{let n=!0,r=e.slice(),i=r.pop();for(;n&&r.length;)n=r.every(e=>i.intersects(e,t)),i=r.pop();return n},b=(e,t)=>(e=e.replace(c[u.BUILD],``),o(`comp`,e,t),e=w(e,t),o(`caret`,e),e=S(e,t),o(`tildes`,e),e=E(e,t),o(`xrange`,e),e=O(e,t),o(`stars`,e),e),x=e=>!e||e.toLowerCase()===`x`||e===`*`,S=(e,t)=>e.trim().split(/\s+/).map(e=>C(e,t)).join(` `),C=(e,t)=>{let n=t.loose?c[u.TILDELOOSE]:c[u.TILDE];return e.replace(n,(t,n,r,i,a)=>{o(`tilde`,e,t,n,r,i,a);let s;return x(n)?s=``:x(r)?s=`>=${n}.0.0 <${+n+1}.0.0-0`:x(i)?s=`>=${n}.${r}.0 <${n}.${+r+1}.0-0`:a?(o(`replaceTilde pr`,a),s=`>=${n}.${r}.${i}-${a} <${n}.${+r+1}.0-0`):s=`>=${n}.${r}.${i} <${n}.${+r+1}.0-0`,o(`tilde return`,s),s})},w=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(` `),T=(e,t)=>{o(`caret`,e,t);let n=t.loose?c[u.CARETLOOSE]:c[u.CARET],r=t.includePrerelease?`-0`:``;return e.replace(n,(t,n,i,a,s)=>{o(`caret`,e,t,n,i,a,s);let c;return x(n)?c=``:x(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:x(a)?c=n===`0`?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:s?(o(`replaceCaret pr`,s),c=n===`0`?i===`0`?`>=${n}.${i}.${a}-${s} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}-${s} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a}-${s} <${+n+1}.0.0-0`):(o(`no pr`),c=n===`0`?i===`0`?`>=${n}.${i}.${a}${r} <${n}.${i}.${+a+1}-0`:`>=${n}.${i}.${a}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${a} <${+n+1}.0.0-0`),o(`caret return`,c),c})},E=(e,t)=>(o(`replaceXRanges`,e,t),e.split(/\s+/).map(e=>D(e,t)).join(` `)),D=(e,t)=>{e=e.trim();let n=t.loose?c[u.XRANGELOOSE]:c[u.XRANGE];return e.replace(n,(n,r,i,a,s,c)=>{o(`xRange`,e,n,r,i,a,s,c);let l=x(i),u=l||x(a),d=u||x(s),f=d;return r===`=`&&f&&(r=``),c=t.includePrerelease?`-0`:``,l?n=r===`>`||r===`<`?`<0.0.0-0`:`*`:r&&f?(u&&(a=0),s=0,r===`>`?(r=`>=`,u?(i=+i+1,a=0,s=0):(a=+a+1,s=0)):r===`<=`&&(r=`<`,u?i=+i+1:a=+a+1),r===`<`&&(c=`-0`),n=`${r+i}.${a}.${s}${c}`):u?n=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(n=`>=${i}.${a}.0${c} <${i}.${+a+1}.0-0`),o(`xRange return`,n),n})},O=(e,t)=>(o(`replaceStars`,e,t),e.trim().replace(c[u.STAR],``)),k=(e,t)=>(o(`replaceGTE0`,e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],``)),A=e=>(t,n,r,i,a,o,s,c,l,u,d,f)=>(n=x(r)?``:x(i)?`>=${r}.0.0${e?`-0`:``}`:x(a)?`>=${r}.${i}.0${e?`-0`:``}`:o?`>=${n}`:`>=${n}${e?`-0`:``}`,c=x(l)?``:x(u)?`<${+l+1}.0.0-0`:x(d)?`<${l}.${+u+1}.0-0`:f?`<=${l}.${u}.${d}-${f}`:e?`<${l}.${u}.${+d+1}-0`:`<=${c}`,`${n} ${c}`.trim()),j=(e,t,n)=>{for(let n=0;n0){let r=e[n].semver;if(r.major===t.major&&r.minor===t.minor&&r.patch===t.patch)return!0}return!1}return!0}})),tp=P(((e,t)=>{let n=Symbol(`SemVer ANY`);t.exports=class e{static get ANY(){return n}constructor(t,i){if(i=r(i),t instanceof e){if(t.loose===!!i.loose)return t;t=t.value}t=t.trim().split(/\s+/).join(` `),s(`comparator`,t,i),this.options=i,this.loose=!!i.loose,this.parse(t),this.semver===n?this.value=``:this.value=this.operator+this.semver.version,s(`comp`,this)}parse(e){let t=this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=r[1]===void 0?``:r[1],this.operator===`=`&&(this.operator=``),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(s(`Comparator.test`,e,this.options.loose),this.semver===n||e===n)return!0;if(typeof e==`string`)try{e=new c(e,this.options)}catch{return!1}return o(e,this.operator,this.semver,this.options)}intersects(t,n){if(!(t instanceof e))throw TypeError(`a Comparator is required`);return this.operator===``?this.value===``?!0:new l(t.value,n).test(this.value):t.operator===``?t.value===``?!0:new l(this.value,n).test(t.semver):(n=r(n),n.includePrerelease&&(this.value===`<0.0.0-0`||t.value===`<0.0.0-0`)||!n.includePrerelease&&(this.value.startsWith(`<0.0.0`)||t.value.startsWith(`<0.0.0`))?!1:!!(this.operator.startsWith(`>`)&&t.operator.startsWith(`>`)||this.operator.startsWith(`<`)&&t.operator.startsWith(`<`)||this.semver.version===t.semver.version&&this.operator.includes(`=`)&&t.operator.includes(`=`)||o(this.semver,`<`,t.semver,n)&&this.operator.startsWith(`>`)&&t.operator.startsWith(`<`)||o(this.semver,`>`,t.semver,n)&&this.operator.startsWith(`<`)&&t.operator.startsWith(`>`)))}};let r=Ef(),{safeRe:i,t:a}=Tf(),o=Xf(),s=wf(),c=Of(),l=ep()})),np=P(((e,t)=>{let n=ep();t.exports=(e,t,r)=>{try{t=new n(t,r)}catch{return!1}return t.test(e)}})),rp=P(((e,t)=>{let n=ep();t.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(` `).trim().split(` `))})),ip=P(((e,t)=>{let n=Of(),r=ep();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===-1)&&(a=e,o=new n(a,i))}),a}})),ap=P(((e,t)=>{let n=Of(),r=ep();t.exports=(e,t,i)=>{let a=null,o=null,s=null;try{s=new r(t,i)}catch{return null}return e.forEach(e=>{s.test(e)&&(!a||o.compare(e)===1)&&(a=e,o=new n(a,i))}),a}})),op=P(((e,t)=>{let n=Of(),r=ep(),i=Wf();t.exports=(e,t)=>{e=new r(e,t);let a=new n(`0.0.0`);if(e.test(a)||(a=new n(`0.0.0-0`),e.test(a)))return a;a=null;for(let t=0;t{let t=new n(e.semver.version);switch(e.operator){case`>`:t.prerelease.length===0?t.patch++:t.prerelease.push(0),t.raw=t.format();case``:case`>=`:(!o||i(t,o))&&(o=t);break;case`<`:case`<=`:break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),o&&(!a||i(a,o))&&(a=o)}return a&&e.test(a)?a:null}})),sp=P(((e,t)=>{let n=ep();t.exports=(e,t)=>{try{return new n(e,t).range||`*`}catch{return null}}})),cp=P(((e,t)=>{let n=Of(),r=tp(),{ANY:i}=r,a=ep(),o=np(),s=Wf(),c=Gf(),l=Yf(),u=Jf();t.exports=(e,t,d,f)=>{e=new n(e,f),t=new a(t,f);let p,m,h,g,_;switch(d){case`>`:p=s,m=l,h=c,g=`>`,_=`>=`;break;case`<`:p=c,m=u,h=s,g=`<`,_=`<=`;break;default:throw TypeError(`Must provide a hilo val of "<" or ">"`)}if(o(e,t,f))return!1;for(let n=0;n{e.semver===i&&(e=new r(`>=0.0.0`)),o||=e,s||=e,p(e.semver,o.semver,f)?o=e:h(e.semver,s.semver,f)&&(s=e)}),o.operator===g||o.operator===_||(!s.operator||s.operator===g)&&m(e,s.semver)||s.operator===_&&h(e,s.semver))return!1}return!0}})),lp=P(((e,t)=>{let n=cp();t.exports=(e,t,r)=>n(e,t,`>`,r)})),up=P(((e,t)=>{let n=cp();t.exports=(e,t,r)=>n(e,t,`<`,r)})),dp=P(((e,t)=>{let n=ep();t.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))})),fp=P(((e,t)=>{let n=np(),r=Rf();t.exports=(e,t,i)=>{let a=[],o=null,s=null,c=e.sort((e,t)=>r(e,t,i));for(let e of c)n(e,t,i)?(s=e,o||=e):(s&&a.push([o,s]),s=null,o=null);o&&a.push([o,null]);let l=[];for(let[e,t]of a)e===t?l.push(e):!t&&e===c[0]?l.push(`*`):t?e===c[0]?l.push(`<=${t}`):l.push(`${e} - ${t}`):l.push(`>=${e}`);let u=l.join(` || `),d=typeof t.raw==`string`?t.raw:String(t);return u.length{let n=ep(),r=tp(),{ANY:i}=r,a=np(),o=Rf(),s=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;OUTER:for(let n of e.set){for(let e of t.set){let t=u(n,e,r);if(i||=t!==null,t)continue OUTER}if(i)return!1}return!0},c=[new r(`>=0.0.0-0`)],l=[new r(`>=0.0.0`)],u=(e,t,n)=>{if(e===t)return!0;if(e.length===1&&e[0].semver===i){if(t.length===1&&t[0].semver===i)return!0;e=n.includePrerelease?c:l}if(t.length===1&&t[0].semver===i){if(n.includePrerelease)return!0;t=l}let r=new Set,s,u;for(let t of e)t.operator===`>`||t.operator===`>=`?s=d(s,t,n):t.operator===`<`||t.operator===`<=`?u=f(u,t,n):r.add(t.semver);if(r.size>1)return null;let p;if(s&&u&&(p=o(s.semver,u.semver,n),p>0||p===0&&(s.operator!==`>=`||u.operator!==`<=`)))return null;for(let e of r){if(s&&!a(e,String(s),n)||u&&!a(e,String(u),n))return null;for(let r of t)if(!a(e,String(r),n))return!1;return!0}let m,h,g,_,v=u&&!n.includePrerelease&&u.semver.prerelease.length?u.semver:!1,y=s&&!n.includePrerelease&&s.semver.prerelease.length?s.semver:!1;v&&v.prerelease.length===1&&u.operator===`<`&&v.prerelease[0]===0&&(v=!1);for(let e of t){if(_=_||e.operator===`>`||e.operator===`>=`,g=g||e.operator===`<`||e.operator===`<=`,s){if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),e.operator===`>`||e.operator===`>=`){if(m=d(s,e,n),m===e&&m!==s)return!1}else if(s.operator===`>=`&&!e.test(s.semver))return!1}if(u){if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),e.operator===`<`||e.operator===`<=`){if(h=f(u,e,n),h===e&&h!==u)return!1}else if(u.operator===`<=`&&!e.test(u.semver))return!1}if(!e.operator&&(u||s)&&p!==0)return!1}return!(s&&g&&!u&&p!==0||u&&_&&!s&&p!==0||y||v)},d=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r>0?e:r<0||t.operator===`>`&&e.operator===`>=`?t:e},f=(e,t,n)=>{if(!e)return t;let r=o(e.semver,t.semver,n);return r<0?e:r>0||t.operator===`<`&&e.operator===`<=`?t:e};t.exports=s})),mp=Ae(P(((e,t)=>{let n=Tf(),r=Cf(),i=Of(),a=Df();t.exports={parse:kf(),valid:Af(),clean:jf(),inc:Mf(),diff:Nf(),major:Pf(),minor:Ff(),patch:If(),prerelease:Lf(),compare:Rf(),rcompare:zf(),compareLoose:Bf(),compareBuild:Vf(),sort:Hf(),rsort:Uf(),gt:Wf(),lt:Gf(),eq:Kf(),neq:qf(),gte:Jf(),lte:Yf(),cmp:Xf(),coerce:Zf(),truncate:Qf(),Comparator:tp(),Range:ep(),satisfies:np(),toComparators:rp(),maxSatisfying:ip(),minSatisfying:ap(),minVersion:op(),validRange:sp(),outside:cp(),gtr:lp(),ltr:up(),intersects:dp(),simplifyRange:fp(),subset:pp(),SemVer:i,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:r.SEMVER_SPEC_VERSION,RELEASE_TYPES:r.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}}))(),1),hp;(function(e){e.Gzip=`cache.tgz`,e.Zstd=`cache.tzst`})(hp||={});var gp;(function(e){e.Gzip=`gzip`,e.ZstdWithoutLong=`zstd-without-long`,e.Zstd=`zstd`})(gp||={});var _p;(function(e){e.GNU=`gnu`,e.BSD=`bsd`})(_p||={});const vp=5e3,yp=5e3,bp=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,xp=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,Sp=`cache.tar`,Cp=`manifest.txt`;var wp=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},Tp=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}};function Ep(){return wp(this,void 0,void 0,function*(){let e=process.platform===`win32`,t=process.env.RUNNER_TEMP||``;if(!t){let n;n=e?process.env.USERPROFILE||`C:\\`:process.platform===`darwin`?`/Users`:`/home`,t=u.join(n,`actions`,`temp`)}let n=u.join(t,i.randomUUID());return yield br(n),n})}function Dp(e){return a.statSync(e).size}function Op(e){return wp(this,void 0,void 0,function*(){var t,n,r,i;let a=[],o=process.env.GITHUB_WORKSPACE??process.cwd(),s=yield Sf(e.join(` +`),{implicitDescendants:!1});try{for(var c=!0,l=Tp(s.globGenerator()),d;d=yield l.next(),t=d.done,!t;c=!0){i=d.value,c=!1;let e=i,t=u.relative(o,e).replace(RegExp(`\\${u.sep}`,`g`),`/`);L(`Matched: ${t}`),t===``?a.push(`.`):a.push(`${t}`)}}catch(e){n={error:e}}finally{try{!c&&!t&&(r=l.return)&&(yield r.call(l))}finally{if(n)throw n.error}}return a})}function kp(e){return wp(this,void 0,void 0,function*(){return _.promisify(a.unlink)(e)})}function Ap(e){return wp(this,arguments,void 0,function*(e,t=[]){let n=``;t.push(`--version`),L(`Checking ${e} ${t.join(` `)}`);try{yield kr(`${e}`,t,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:e=>n+=e.toString(),stderr:e=>n+=e.toString()}})}catch(e){L(e.message)}return n=n.trim(),L(n),n})}function jp(){return wp(this,void 0,void 0,function*(){let e=yield Ap(`zstd`,[`--quiet`]);return L(`zstd version: ${mp.clean(e)}`),e===``?gp.Gzip:gp.ZstdWithoutLong})}function Mp(e){return e===gp.Gzip?hp.Gzip:hp.Zstd}function Np(){return wp(this,void 0,void 0,function*(){return a.existsSync(bp)?bp:(yield Ap(`tar`)).toLowerCase().includes(`gnu tar`)?xr(`tar`):``})}function Pp(e,t){if(t===void 0)throw Error(`Expected ${e} but value was undefiend`);return t}function Fp(e,t,n=!1){let r=e.slice();return t&&r.push(t),process.platform===`win32`&&!n&&r.push(`windows-only`),r.push(`1.0`),i.createHash(`sha256`).update(r.join(`|`)).digest(`hex`)}function Ip(){let e=process.env.ACTIONS_RUNTIME_TOKEN;if(!e)throw Error(`Unable to get the ACTIONS_RUNTIME_TOKEN env variable`);return e}var Lp=class extends Error{constructor(e){super(e),this.name=`AbortError`}};function Rp(e,...t){ye.stderr.write(`${S.format(e,...t)}${fe}`)}const zp=typeof process<`u`&&process.env&&process.env.DEBUG||void 0;let Bp,Vp=[],Hp=[];const Up=[];zp&&Gp(zp);const Wp=Object.assign(e=>Yp(e),{enable:Gp,enabled:Kp,disable:Jp,log:Rp});function Gp(e){Bp=e,Vp=[],Hp=[];let t=e.split(`,`).map(e=>e.trim());for(let e of t)e.startsWith(`-`)?Hp.push(e.substring(1)):Vp.push(e);for(let e of Up)e.enabled=Kp(e.namespace)}function Kp(e){if(e.endsWith(`*`))return!0;for(let t of Hp)if(qp(e,t))return!1;for(let t of Vp)if(qp(e,t))return!0;return!1}function qp(e,t){if(t.indexOf(`*`)===-1)return e===t;let n=t;if(t.indexOf(`**`)!==-1){let e=[],r=``;for(let n of t)if(n===`*`&&r===`*`)continue;else r=n,e.push(n);n=e.join(``)}let r=0,i=0,a=n.length,o=e.length,s=-1,c=-1;for(;r=0){if(i=s+1,r=c+1,r===o)return!1;for(;e[r]!==n[i];)if(r++,r===o)return!1;c=r,r++,i++;continue}else return!1;let l=r===e.length,u=i===n.length,d=i===n.length-1&&n[i]===`*`;return l&&(u||d)}function Jp(){let e=Bp||``;return Gp(``),e}function Yp(e){let t=Object.assign(n,{enabled:Kp(e),destroy:Xp,log:Wp.log,namespace:e,extend:Zp});function n(...n){t.enabled&&(n.length>0&&(n[0]=`${e} ${n[0]}`),t.log(...n))}return Up.push(t),t}function Xp(){let e=Up.indexOf(this);return e>=0?(Up.splice(e,1),!0):!1}function Zp(e){let t=Yp(`${this.namespace}:${e}`);return t.log=this.log,t}const Qp=[`verbose`,`info`,`warning`,`error`],$p={verbose:400,info:300,warning:200,error:100};function em(e,t){t.log=(...t)=>{e.log(...t)}}function tm(e){return Qp.includes(e)}function nm(e){let t=new Set,n=typeof process<`u`&&process.env&&process.env[e.logLevelEnvVarName]||void 0,r,i=Wp(e.namespace);i.log=(...e)=>{Wp.log(...e)};function a(e){if(e&&!tm(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${Qp.join(`,`)}`);r=e;let n=[];for(let e of t)o(e)&&n.push(e.namespace);Wp.enable(n.join(`,`))}n&&(tm(n)?a(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${Qp.join(`, `)}.`));function o(e){return!!(r&&$p[e.level]<=$p[r])}function s(e,n){let r=Object.assign(e.extend(n),{level:n});if(em(e,r),o(r)){let e=Wp.disable();Wp.enable(e+`,`+r.namespace)}return t.add(r),r}function c(){return r}function l(e){let t=i.extend(e);return em(i,t),{error:s(t,`error`),warning:s(t,`warning`),info:s(t,`info`),verbose:s(t,`verbose`)}}return{setLogLevel:a,getLogLevel:c,createClientLogger:l,logger:i}}const rm=nm({logLevelEnvVarName:`TYPESPEC_RUNTIME_LOG_LEVEL`,namespace:`typeSpecRuntime`});rm.logger;function im(e){return rm.createClientLogger(e)}function am(e){return e.toLowerCase()}function*om(e){for(let t of e.values())yield[t.name,t.value]}var sm=class{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(am(e),{name:e,value:String(t).trim()})}get(e){return this._headersMap.get(am(e))?.value}has(e){return this._headersMap.has(am(e))}delete(e){this._headersMap.delete(am(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,n]of this._headersMap)t[e]=n.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return om(this._headersMap)}};function cm(e){return new sm(e)}function lm(){return crypto.randomUUID()}var um=class{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??cm(),this.method=e.method??`GET`,this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||lm(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}};function dm(e){return new um(e)}const fm=new Set([`Deserialize`,`Serialize`,`Retry`,`Sign`]);var pm=class e{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error(`Policies inside a phase cannot specify afterPhase.`);if(t.phase&&!fm.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!fm.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(n=>e.name&&n.policy.name===e.name||e.phase&&n.options.phase===e.phase?(t.push(n.policy),!1):!0),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>n=>t.sendRequest(n,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||=this.orderPolicies(),this._orderedPolicies}clone(){return new e(this._policies)}static create(){return new e}orderPolicies(){let e=[],t=new Map;function n(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let r=n(`Serialize`),i=n(`None`),a=n(`Deserialize`),o=n(`Retry`),s=n(`Sign`),c=[r,i,a,o,s];function l(e){return e===`Retry`?o:e===`Serialize`?r:e===`Deserialize`?a:e===`Sign`?s:i}for(let e of this._policies){let n=e.policy,r=e.options,i=n.name;if(t.has(i))throw Error(`Duplicate policy names not allowed in pipeline`);let a={policy:n,dependsOn:new Set,dependants:new Set};r.afterPhase&&(a.afterPhase=l(r.afterPhase),a.afterPhase.hasAfterPolicies=!0),t.set(i,a),l(r.phase).policies.add(a)}for(let e of this._policies){let{policy:n,options:r}=e,i=n.name,a=t.get(i);if(!a)throw Error(`Missing node for policy ${i}`);if(r.afterPolicies)for(let e of r.afterPolicies){let n=t.get(e);n&&(a.dependsOn.add(n),n.dependants.add(a))}if(r.beforePolicies)for(let e of r.beforePolicies){let n=t.get(e);n&&(n.dependsOn.add(a),a.dependants.add(n))}}function u(n){n.hasRun=!0;for(let r of n.policies)if(!(r.afterPhase&&(!r.afterPhase.hasRun||r.afterPhase.policies.size))&&r.dependsOn.size===0){e.push(r.policy);for(let e of r.dependants)e.dependsOn.delete(r);t.delete(r.policy.name),n.policies.delete(r)}}function d(){for(let e of c){if(u(e),e.policies.size>0&&e!==i){i.hasRun||u(i);return}e.hasAfterPolicies&&u(i)}}let f=0;for(;t.size>0;){f++;let t=e.length;if(d(),e.length<=t&&f>1)throw Error(`Cannot satisfy policy dependencies due to requirements cycle.`)}return e}};function mm(){return pm.create()}function hm(e){return typeof e==`object`&&!!e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function gm(e){if(hm(e)){let t=typeof e.name==`string`,n=typeof e.message==`string`;return t&&n}return!1}const _m=C.custom,vm=`REDACTED`,ym=`x-ms-client-request-id.x-ms-return-client-request-id.x-ms-useragent.x-ms-correlation-request-id.x-ms-request-id.client-request-id.ms-cv.return-client-request-id.traceparent.Access-Control-Allow-Credentials.Access-Control-Allow-Headers.Access-Control-Allow-Methods.Access-Control-Allow-Origin.Access-Control-Expose-Headers.Access-Control-Max-Age.Access-Control-Request-Headers.Access-Control-Request-Method.Origin.Accept.Accept-Encoding.Cache-Control.Connection.Content-Length.Content-Type.Date.ETag.Expires.If-Match.If-Modified-Since.If-None-Match.If-Unmodified-Since.Last-Modified.Pragma.Request-Id.Retry-After.Server.Transfer-Encoding.User-Agent.WWW-Authenticate`.split(`.`),bm=[`api-version`];var xm=class{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=ym.concat(e),t=bm.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,n)=>{if(n instanceof Error)return{...n,name:n.name,message:n.message};if(e===`headers`&&hm(n))return this.sanitizeHeaders(n);if(e===`url`&&typeof n==`string`)return this.sanitizeUrl(n);if(e===`query`&&hm(n))return this.sanitizeQuery(n);if(e!==`body`&&e!==`response`&&e!==`operationSpec`){if(Array.isArray(n)||hm(n)){if(t.has(n))return`[Circular]`;t.add(n)}return n}},2)}sanitizeUrl(e){if(typeof e!=`string`||e===null||e===``)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,vm);return t.toString()}sanitizeHeaders(e){let t={};for(let n of Object.keys(e))this.allowedHeaderNames.has(n.toLowerCase())?t[n]=e[n]:t[n]=vm;return t}sanitizeQuery(e){if(typeof e!=`object`||!e)return e;let t={};for(let n of Object.keys(e))this.allowedQueryParameters.has(n.toLowerCase())?t[n]=e[n]:t[n]=vm;return t}};const Sm=new xm;var Cm=class e extends Error{static REQUEST_SEND_ERROR=`REQUEST_SEND_ERROR`;static PARSE_ERROR=`PARSE_ERROR`;code;statusCode;request;response;details;constructor(t,n={}){super(t),this.name=`RestError`,this.code=n.code,this.statusCode=n.statusCode,Object.defineProperty(this,`request`,{value:n.request,enumerable:!1}),Object.defineProperty(this,`response`,{value:n.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,_m,{value:()=>`RestError: ${this.message} \n ${Sm.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,e.prototype)}};function wm(e){return e instanceof Cm?!0:gm(e)&&e.name===`RestError`}function Tm(e,t){return Buffer.from(e,t)}const Em=im(`ts-http-runtime`),Dm={};function Om(e){return e&&typeof e.pipe==`function`}function km(e){return e.readable===!1?Promise.resolve():new Promise(t=>{let n=()=>{t(),e.removeListener(`close`,n),e.removeListener(`end`,n),e.removeListener(`error`,n)};e.on(`close`,n),e.on(`end`,n),e.on(`error`,n)})}function Am(e){return e&&typeof e.byteLength==`number`}var jm=class extends b{loadedBytes=0;progressCallback;_transform(e,t,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(e){n(e)}}constructor(e){super(),this.progressCallback=e}},Mm=class{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new Lp(`The operation was aborted. Request has already been canceled.`);n=e=>{e.type===`abort`&&t.abort()},e.abortSignal.addEventListener(`abort`,n)}let r;e.timeout>0&&(r=setTimeout(()=>{let n=new xm;Em.info(`request to '${n.sanitizeUrl(e.url)}' timed out. canceling...`),t.abort()},e.timeout));let i=e.headers.get(`Accept-Encoding`),a=i?.includes(`gzip`)||i?.includes(`deflate`),o=typeof e.body==`function`?e.body():e.body;if(o&&!e.headers.has(`Content-Length`)){let t=Im(o);t!==null&&e.headers.set(`Content-Length`,t)}let s;try{if(o&&e.onUploadProgress){let t=e.onUploadProgress,n=new jm(t);n.on(`error`,e=>{Em.error(`Error in upload progress`,e)}),Om(o)?o.pipe(n):n.end(o),o=n}let n=await this.makeRequest(e,t,o);r!==void 0&&clearTimeout(r);let i=Nm(n),c={status:n.statusCode??0,headers:i,request:e};if(e.method===`HEAD`)return n.resume(),c;s=a?Pm(n,i):n;let l=e.onDownloadProgress;if(l){let e=new jm(l);e.on(`error`,e=>{Em.error(`Error in download progress`,e)}),s.pipe(e),s=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(c.status)?c.readableStreamBody=s:c.bodyAsText=await Fm(s),c}finally{if(e.abortSignal&&n){let t=Promise.resolve();Om(o)&&(t=km(o));let r=Promise.resolve();Om(s)&&(r=km(s)),Promise.all([t,r]).then(()=>{n&&e.abortSignal?.removeEventListener(`abort`,n)}).catch(e=>{Em.warning(`Error when cleaning up abortListener on httpRequest`,e)})}}}makeRequest(e,t,n){let r=new URL(e.url),i=r.protocol!==`https:`;if(i&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a={agent:e.agent??this.getOrCreateAgent(e,i),hostname:r.hostname,path:`${r.pathname}${r.search}`,port:r.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((r,o)=>{let s=i?v.request(a,r):be.request(a,r);s.once(`error`,t=>{o(new Cm(t.message,{code:t.code??Cm.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener(`abort`,()=>{let e=new Lp(`The operation was aborted. Rejecting from abort signal callback while making request.`);s.destroy(e),o(e)}),n&&Om(n)?n.pipe(s):n?typeof n==`string`||Buffer.isBuffer(n)?s.end(n):Am(n)?s.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(Em.error(`Unrecognized body type`,n),o(new Cm(`Unrecognized body type`))):s.end()})}getOrCreateAgent(e,t){let n=e.disableKeepAlive;if(t)return n?v.globalAgent:(this.cachedHttpAgent||=new v.Agent({keepAlive:!0}),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return be.globalAgent;let t=e.tlsSettings??Dm,r=this.cachedHttpsAgents.get(t);return r&&r.options.keepAlive===!n?r:(Em.info(`No cached TLS Agent exist, creating a new Agent`),r=new be.Agent({keepAlive:!n,...t}),this.cachedHttpsAgents.set(t,r),r)}}};function Nm(e){let t=cm();for(let n of Object.keys(e.headers)){let r=e.headers[n];Array.isArray(r)?r.length>0&&t.set(n,r[0]):r&&t.set(n,r)}return t}function Pm(e,t){let n=t.get(`Content-Encoding`);if(n===`gzip`){let t=w.createGunzip();return e.pipe(t),t}else if(n===`deflate`){let t=w.createInflate();return e.pipe(t),t}return e}function Fm(e){return new Promise((t,n)=>{let r=[];e.on(`data`,e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),e.on(`end`,()=>{t(Buffer.concat(r).toString(`utf8`))}),e.on(`error`,e=>{e&&e?.name===`AbortError`?n(e):n(new Cm(`Error reading response as text: ${e.message}`,{code:Cm.PARSE_ERROR}))})})}function Im(e){return e?Buffer.isBuffer(e)?e.length:Om(e)?null:Am(e)?e.byteLength:typeof e==`string`?Buffer.from(e).length:null:0}function Lm(){return new Mm}function Rm(){return Lm()}function zm(e={}){let t=e.logger??Em.info,n=new xm({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:`logPolicy`,async sendRequest(e,r){if(!t.enabled)return r(e);t(`Request: ${n.sanitize(e)}`);let i=await r(e);return t(`Response status code: ${i.status}`),t(`Headers: ${n.sanitize(i.headers)}`),i}}}const Bm=[`GET`,`HEAD`];function Vm(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:n=!1}=e;return{name:`redirectPolicy`,async sendRequest(e,r){return Hm(r,await r(e),t,n)}}}async function Hm(e,t,n,r,i=0){let{request:a,status:o,headers:s}=t,c=s.get(`location`);if(c&&(o===300||o===301&&Bm.includes(a.method)||o===302&&Bm.includes(a.method)||o===303&&a.method===`POST`||o===307)&&i{let a,o,s=()=>i(new Lp(n?.abortErrorMsg?n?.abortErrorMsg:`The operation was aborted.`)),c=()=>{n?.abortSignal&&o&&n.abortSignal.removeEventListener(`abort`,o)};if(o=()=>(a&&clearTimeout(a),c(),s()),n?.abortSignal&&n.abortSignal.aborted)return s();a=setTimeout(()=>{c(),r(t)},e),n?.abortSignal&&n.abortSignal.addEventListener(`abort`,o)})}function qm(e,t){let n=e.headers.get(t);if(!n)return;let r=Number(n);if(!Number.isNaN(r))return r}const Jm=`Retry-After`,Ym=[`retry-after-ms`,`x-ms-retry-after-ms`,Jm];function Xm(e){if(e&&[429,503].includes(e.status))try{for(let t of Ym){let n=qm(e,t);if(n===0||n)return n*(t===Jm?1e3:1)}let t=e.headers.get(Jm);if(!t)return;let n=Date.parse(t)-Date.now();return Number.isFinite(n)?Math.max(0,n):void 0}catch{return}}function Zm(e){return Number.isFinite(Xm(e))}function Qm(){return{name:`throttlingRetryStrategy`,retry({response:e}){let t=Xm(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}}}function $m(e={}){let t=e.retryDelayInMs??1e3,n=e.maxRetryDelayInMs??64e3;return{name:`exponentialRetryStrategy`,retry({retryCount:r,response:i,responseError:a}){let o=th(a),s=o&&e.ignoreSystemErrors,c=eh(i),l=c&&e.ignoreHttpStatusCodes;return i&&(Zm(i)||!c)||l||s?{skipStrategy:!0}:a&&!o&&!c?{errorToThrow:a}:Gm(r,{retryDelayInMs:t,maxRetryDelayInMs:n})}}}function eh(e){return!!(e&&e.status!==void 0&&(e.status>=500||e.status===408)&&e.status!==501&&e.status!==505)}function th(e){return e?e.code===`ETIMEDOUT`||e.code===`ESOCKETTIMEDOUT`||e.code===`ECONNREFUSED`||e.code===`ECONNRESET`||e.code===`ENOENT`||e.code===`ENOTFOUND`:!1}const nh=im(`ts-http-runtime retryPolicy`);function rh(e,t={maxRetries:3}){let n=t.logger||nh;return{name:`retryPolicy`,async sendRequest(r,i){let a,o,s=-1;retryRequest:for(;;){s+=1,a=void 0,o=void 0;try{n.info(`Retry ${s}: Attempting to send request`,r.requestId),a=await i(r),n.info(`Retry ${s}: Received a response from request`,r.requestId)}catch(e){if(n.error(`Retry ${s}: Received an error from request`,r.requestId),!wm(e))throw e;o=e,a=e.response}if(r.abortSignal?.aborted)throw n.error(`Retry ${s}: Request aborted.`),new Lp;if(s>=(t.maxRetries??3)){if(n.info(`Retry ${s}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(a)return a;throw Error(`Maximum retries reached with no response or error to throw`)}n.info(`Retry ${s}: Processing ${e.length} retry strategies.`);strategiesLoop:for(let t of e){let e=t.logger||n;e.info(`Retry ${s}: Processing retry strategy ${t.name}.`);let i=t.retry({retryCount:s,response:a,responseError:o});if(i.skipStrategy){e.info(`Retry ${s}: Skipped.`);continue strategiesLoop}let{errorToThrow:c,retryAfterInMs:l,redirectTo:u}=i;if(c)throw e.error(`Retry ${s}: Retry strategy ${t.name} throws error:`,c),c;if(l||l===0){e.info(`Retry ${s}: Retry strategy ${t.name} retries after ${l}`),await Km(l,void 0,{abortSignal:r.abortSignal});continue retryRequest}if(u){e.info(`Retry ${s}: Retry strategy ${t.name} redirects to ${u}`),r.url=u;continue retryRequest}}if(o)throw n.info(`None of the retry strategies could work with the received error. Throwing it.`),o;if(a)return n.info(`None of the retry strategies could work with the received response. Returning it.`),a}}}}function ih(e={}){return{name:`defaultRetryPolicy`,sendRequest:rh([Qm(),$m(e)],{maxRetries:e.maxRetries??3}).sendRequest}}typeof window<`u`&&window.document,typeof self==`object`&&typeof self?.importScripts==`function`&&(self.constructor?.name===`DedicatedWorkerGlobalScope`||self.constructor?.name===`ServiceWorkerGlobalScope`||self.constructor?.name),typeof Deno<`u`&&Deno.version!==void 0&&Deno.version.deno,typeof Bun<`u`&&Bun.version;const ah=globalThis.process!==void 0&&!!globalThis.process.version&&!!globalThis.process.versions?.node;typeof navigator<`u`&&navigator?.product;function oh(e){let t={};for(let[n,r]of e.entries())t[n]??=[],t[n].push(r);return t}function sh(){return{name:`formDataPolicy`,async sendRequest(e,t){if(ah&&typeof FormData<`u`&&e.body instanceof FormData&&(e.formData=oh(e.body),e.body=void 0),e.formData){let t=e.headers.get(`Content-Type`);t&&t.indexOf(`application/x-www-form-urlencoded`)!==-1?e.body=ch(e.formData):await lh(e.formData,e),e.formData=void 0}return t(e)}}}function ch(e){let t=new URLSearchParams;for(let[n,r]of Object.entries(e))if(Array.isArray(r))for(let e of r)t.append(n,e.toString());else t.append(n,r.toString());return t.toString()}async function lh(e,t){let n=t.headers.get(`Content-Type`);if(n&&!n.startsWith(`multipart/form-data`))return;t.headers.set(`Content-Type`,n??`multipart/form-data`);let r=[];for(let[t,n]of Object.entries(e))for(let e of Array.isArray(n)?n:[n])if(typeof e==`string`)r.push({headers:cm({"Content-Disposition":`form-data; name="${t}"`}),body:Tm(e,`utf-8`)});else if(typeof e!=`object`||!e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let n=e.name||`blob`,i=cm();i.set(`Content-Disposition`,`form-data; name="${t}"; filename="${n}"`),i.set(`Content-Type`,e.type||`application/octet-stream`),r.push({headers:i,body:e})}t.multipartBody={parts:r}}var uh=P(((e,t)=>{var n=1e3,r=n*60,i=r*60,a=i*24,o=a*7,s=a*365.25;t.exports=function(e,t){t||={};var n=typeof e;if(n===`string`&&e.length>0)return c(e);if(n===`number`&&isFinite(e))return t.long?u(e):l(e);throw Error(`val is not a non-empty string or a valid number. val=`+JSON.stringify(e))};function c(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var c=parseFloat(t[1]);switch((t[2]||`ms`).toLowerCase()){case`years`:case`year`:case`yrs`:case`yr`:case`y`:return c*s;case`weeks`:case`week`:case`w`:return c*o;case`days`:case`day`:case`d`:return c*a;case`hours`:case`hour`:case`hrs`:case`hr`:case`h`:return c*i;case`minutes`:case`minute`:case`mins`:case`min`:case`m`:return c*r;case`seconds`:case`second`:case`secs`:case`sec`:case`s`:return c*n;case`milliseconds`:case`millisecond`:case`msecs`:case`msec`:case`ms`:return c;default:return}}}}function l(e){var t=Math.abs(e);return t>=a?Math.round(e/a)+`d`:t>=i?Math.round(e/i)+`h`:t>=r?Math.round(e/r)+`m`:t>=n?Math.round(e/n)+`s`:e+`ms`}function u(e){var t=Math.abs(e);return t>=a?d(e,t,a,`day`):t>=i?d(e,t,i,`hour`):t>=r?d(e,t,r,`minute`):t>=n?d(e,t,n,`second`):e+` ms`}function d(e,t,n,r){var i=t>=n*1.5;return Math.round(e/n)+` `+r+(i?`s`:``)}})),dh=P(((e,t)=>{function n(e){n.debug=n,n.default=n,n.coerce=c,n.disable=o,n.enable=i,n.enabled=s,n.humanize=uh(),n.destroy=l,Object.keys(e).forEach(t=>{n[t]=e[t]}),n.names=[],n.skips=[],n.formatters={};function t(e){let t=0;for(let n=0;n{if(t===`%%`)return`%`;a++;let o=n.formatters[i];if(typeof o==`function`){let n=e[a];t=o.call(r,n),e.splice(a,1),a--}return t}),n.formatArgs.call(r,e),(r.log||n.log).apply(r,e)}return s.namespace=e,s.useColors=n.useColors(),s.color=n.selectColor(e),s.extend=r,s.destroy=n.destroy,Object.defineProperty(s,`enabled`,{enumerable:!0,configurable:!1,get:()=>i===null?(a!==n.namespaces&&(a=n.namespaces,o=n.enabled(e)),o):i,set:e=>{i=e}}),typeof n.init==`function`&&n.init(s),s}function r(e,t){let r=n(this.namespace+(t===void 0?`:`:t)+e);return r.log=this.log,r}function i(e){n.save(e),n.namespaces=e,n.names=[],n.skips=[];let t=(typeof e==`string`?e:``).trim().replace(/\s+/g,`,`).split(`,`).filter(Boolean);for(let e of t)e[0]===`-`?n.skips.push(e.slice(1)):n.names.push(e)}function a(e,t){let n=0,r=0,i=-1,a=0;for(;n`-`+e)].join(`,`);return n.enable(``),e}function s(e){for(let t of n.skips)if(a(e,t))return!1;for(let t of n.names)if(a(e,t))return!0;return!1}function c(e){return e instanceof Error?e.stack||e.message:e}function l(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")}return n.enable(n.load()),n}t.exports=n})),fh=P(((e,t)=>{e.formatArgs=r,e.save=i,e.load=a,e.useColors=n,e.storage=o(),e.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),e.colors=`#0000CC.#0000FF.#0033CC.#0033FF.#0066CC.#0066FF.#0099CC.#0099FF.#00CC00.#00CC33.#00CC66.#00CC99.#00CCCC.#00CCFF.#3300CC.#3300FF.#3333CC.#3333FF.#3366CC.#3366FF.#3399CC.#3399FF.#33CC00.#33CC33.#33CC66.#33CC99.#33CCCC.#33CCFF.#6600CC.#6600FF.#6633CC.#6633FF.#66CC00.#66CC33.#9900CC.#9900FF.#9933CC.#9933FF.#99CC00.#99CC33.#CC0000.#CC0033.#CC0066.#CC0099.#CC00CC.#CC00FF.#CC3300.#CC3333.#CC3366.#CC3399.#CC33CC.#CC33FF.#CC6600.#CC6633.#CC9900.#CC9933.#CCCC00.#CCCC33.#FF0000.#FF0033.#FF0066.#FF0099.#FF00CC.#FF00FF.#FF3300.#FF3333.#FF3366.#FF3399.#FF33CC.#FF33FF.#FF6600.#FF6633.#FF9900.#FF9933.#FFCC00.#FFCC33`.split(`.`);function n(){if(typeof window<`u`&&window.process&&(window.process.type===`renderer`||window.process.__nwjs))return!0;if(typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return typeof document<`u`&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||typeof window<`u`&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||typeof navigator<`u`&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)}function r(e){if(e[0]=(this.useColors?`%c`:``)+this.namespace+(this.useColors?` %c`:` `)+e[0]+(this.useColors?`%c `:` `)+`+`+t.exports.humanize(this.diff),!this.useColors)return;let n=`color: `+this.color;e.splice(1,0,n,`color: inherit`);let r=0,i=0;e[0].replace(/%[a-zA-Z%]/g,e=>{e!==`%%`&&(r++,e===`%c`&&(i=r))}),e.splice(i,0,n)}e.log=console.debug||console.log||(()=>{});function i(t){try{t?e.storage.setItem(`debug`,t):e.storage.removeItem(`debug`)}catch{}}function a(){let t;try{t=e.storage.getItem(`debug`)||e.storage.getItem(`DEBUG`)}catch{}return!t&&typeof process<`u`&&`env`in process&&(t=process.env.DEBUG),t}function o(){try{return localStorage}catch{}}t.exports=dh()(e);let{formatters:s}=t.exports;s.j=function(e){try{return JSON.stringify(e)}catch(e){return`[UnexpectedJSONParseError]: `+e.message}}})),ph=P(((e,t)=>{let n=F(`tty`),r=F(`util`);e.init=u,e.log=s,e.formatArgs=a,e.save=c,e.load=l,e.useColors=i,e.destroy=r.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),e.colors=[6,2,3,4,5,1];try{let t=F(`supports-color`);t&&(t.stderr||t).level>=2&&(e.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch{}e.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let n=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),r=process.env[t];return r=/^(yes|on|true|enabled)$/i.test(r)?!0:/^(no|off|false|disabled)$/i.test(r)?!1:r===`null`?null:Number(r),e[n]=r,e},{});function i(){return`colors`in e.inspectOpts?!!e.inspectOpts.colors:n.isatty(process.stderr.fd)}function a(e){let{namespace:n,useColors:r}=this;if(r){let r=this.color,i=`\x1B[3`+(r<8?r:`8;5;`+r),a=` ${i};1m${n} \u001B[0m`;e[0]=a+e[0].split(` `).join(` `+a),e.push(i+`m+`+t.exports.humanize(this.diff)+`\x1B[0m`)}else e[0]=o()+n+` `+e[0]}function o(){return e.inspectOpts.hideDate?``:new Date().toISOString()+` `}function s(...t){return process.stderr.write(r.formatWithOptions(e.inspectOpts,...t)+` -`)}function c(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function l(){return process.env.DEBUG}function u(t){t.inspectOpts={};let n=Object.keys(e.inspectOpts);for(let r=0;re.trim()).join(` `)},d.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}})),ph=P(((e,t)=>{typeof process>`u`||process.type===`renderer`||process.browser===!0||process.__nwjs?t.exports=dh():t.exports=fh()})),mh=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.req=e.json=e.toBuffer=void 0;let i=r(F(`http`)),a=r(F(`https`));async function o(e){let t=0,n=[];for await(let r of e)t+=r.length,n.push(r);return Buffer.concat(n,t)}e.toBuffer=o;async function s(e){let t=(await o(e)).toString(`utf8`);try{return JSON.parse(t)}catch(e){let n=e;throw n.message+=` (input: ${t})`,n}}e.json=s;function c(e,t={}){let n=((typeof e==`string`?e:e.href).startsWith(`https:`)?a:i).request(e,t),r=new Promise((e,t)=>{n.once(`response`,e).once(`error`,t).end()});return n.then=r.then.bind(r),n}e.req=c})),hh=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.Agent=void 0;let a=r(F(`net`)),o=r(F(`http`)),s=F(`https`);i(mh(),e);let c=Symbol(`AgentBaseInternalState`);e.Agent=class extends o.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint==`boolean`)return e.secureEndpoint;if(typeof e.protocol==`string`)return e.protocol===`https:`}let{stack:t}=Error();return typeof t==`string`?t.split(` -`).some(e=>e.indexOf(`(https.js:`)!==-1||e.indexOf(`node:https:`)!==-1):!1}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new a.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||t===null)return;let n=this.sockets[e],r=n.indexOf(t);r!==-1&&(n.splice(r,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?s.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,n){let r={...t,secureEndpoint:this.isSecureEndpoint(t)},i=this.getName(r),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,r)).then(s=>{if(this.decrementSockets(i,a),s instanceof o.Agent)try{return s.addRequest(e,r)}catch(e){return n(e)}this[c].currentSocket=s,super.createSocket(e,t,n)},e=>{this.decrementSockets(i,a),n(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??(this.protocol===`https:`?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?`https:`:`http:`)}set protocol(e){this[c]&&(this[c].protocol=e)}}})),gh=P((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.parseProxyResponse=void 0;let n=(0,t(ph()).default)(`https-proxy-agent:parse-proxy-response`);function r(e){return new Promise((t,r)=>{let i=0,a=[];function o(){let t=e.read();t?u(t):e.once(`readable`,o)}function s(){e.removeListener(`end`,c),e.removeListener(`error`,l),e.removeListener(`readable`,o)}function c(){s(),n(`onend`),r(Error(`Proxy connection ended before receiving CONNECT response`))}function l(e){s(),n(`onerror %o`,e),r(e)}function u(c){a.push(c),i+=c.length;let l=Buffer.concat(a,i),u=l.indexOf(`\r +`)}function c(e){e?process.env.DEBUG=e:delete process.env.DEBUG}function l(){return process.env.DEBUG}function u(t){t.inspectOpts={};let n=Object.keys(e.inspectOpts);for(let r=0;re.trim()).join(` `)},d.O=function(e){return this.inspectOpts.colors=this.useColors,r.inspect(e,this.inspectOpts)}})),mh=P(((e,t)=>{typeof process>`u`||process.type===`renderer`||process.browser===!0||process.__nwjs?t.exports=fh():t.exports=ph()})),hh=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r};Object.defineProperty(e,`__esModule`,{value:!0}),e.req=e.json=e.toBuffer=void 0;let i=r(F(`http`)),a=r(F(`https`));async function o(e){let t=0,n=[];for await(let r of e)t+=r.length,n.push(r);return Buffer.concat(n,t)}e.toBuffer=o;async function s(e){let t=(await o(e)).toString(`utf8`);try{return JSON.parse(t)}catch(e){let n=e;throw n.message+=` (input: ${t})`,n}}e.json=s;function c(e,t={}){let n=((typeof e==`string`?e:e.href).startsWith(`https:`)?a:i).request(e,t),r=new Promise((e,t)=>{n.once(`response`,e).once(`error`,t).end()});return n.then=r.then.bind(r),n}e.req=c})),gh=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__exportStar||function(e,n){for(var r in e)r!==`default`&&!Object.prototype.hasOwnProperty.call(n,r)&&t(n,e,r)};Object.defineProperty(e,`__esModule`,{value:!0}),e.Agent=void 0;let a=r(F(`net`)),o=r(F(`http`)),s=F(`https`);i(hh(),e);let c=Symbol(`AgentBaseInternalState`);e.Agent=class extends o.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint==`boolean`)return e.secureEndpoint;if(typeof e.protocol==`string`)return e.protocol===`https:`}let{stack:t}=Error();return typeof t==`string`?t.split(` +`).some(e=>e.indexOf(`(https.js:`)!==-1||e.indexOf(`node:https:`)!==-1):!1}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new a.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||t===null)return;let n=this.sockets[e],r=n.indexOf(t);r!==-1&&(n.splice(r,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?s.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,n){let r={...t,secureEndpoint:this.isSecureEndpoint(t)},i=this.getName(r),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,r)).then(s=>{if(this.decrementSockets(i,a),s instanceof o.Agent)try{return s.addRequest(e,r)}catch(e){return n(e)}this[c].currentSocket=s,super.createSocket(e,t,n)},e=>{this.decrementSockets(i,a),n(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??(this.protocol===`https:`?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?`https:`:`http:`)}set protocol(e){this[c]&&(this[c].protocol=e)}}})),_h=P((e=>{var t=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.parseProxyResponse=void 0;let n=(0,t(mh()).default)(`https-proxy-agent:parse-proxy-response`);function r(e){return new Promise((t,r)=>{let i=0,a=[];function o(){let t=e.read();t?u(t):e.once(`readable`,o)}function s(){e.removeListener(`end`,c),e.removeListener(`error`,l),e.removeListener(`readable`,o)}function c(){s(),n(`onend`),r(Error(`Proxy connection ended before receiving CONNECT response`))}function l(e){s(),n(`onerror %o`,e),r(e)}function u(c){a.push(c),i+=c.length;let l=Buffer.concat(a,i),u=l.indexOf(`\r \r `);if(u===-1){n(`have not received end of HTTP headers yet...`),o();return}let d=l.slice(0,u).toString(`ascii`).split(`\r -`),f=d.shift();if(!f)return e.destroy(),r(Error(`No header received from proxy CONNECT response`));let p=f.split(` `),m=+p[1],h=p.slice(2).join(` `),g={};for(let t of d){if(!t)continue;let n=t.indexOf(`:`);if(n===-1)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let i=t.slice(0,n).toLowerCase(),a=t.slice(n+1).trimStart(),o=g[i];typeof o==`string`?g[i]=[o,a]:Array.isArray(o)?o.push(a):g[i]=a}n(`got proxy server response: %o %o`,f,g),s(),t({connect:{statusCode:m,statusText:h,headers:g},buffered:l})}e.on(`error`,l),e.on(`end`,c),o()})}e.parseProxyResponse=r})),_h=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.HttpsProxyAgent=void 0;let a=r(F(`net`)),o=r(F(`tls`)),s=i(F(`assert`)),c=i(ph()),l=hh(),u=F(`url`),d=gh(),f=(0,c.default)(`https-proxy-agent`),p=e=>e.servername===void 0&&e.host&&!a.isIP(e.host)?{...e,servername:e.host}:e;var m=class extends l.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy=typeof e==`string`?new u.URL(e):e,this.proxyHeaders=t?.headers??{},f(`Creating new HttpsProxyAgent instance: %o`,this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,``),r=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol===`https:`?443:80;this.connectOpts={ALPNProtocols:[`http/1.1`],...t?g(t,`headers`):null,host:n,port:r}}async connect(e,t){let{proxy:n}=this;if(!t.host)throw TypeError(`No "host" provided`);let r;n.protocol===`https:`?(f("Creating `tls.Socket`: %o",this.connectOpts),r=o.connect(p(this.connectOpts))):(f("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts));let i=typeof this.proxyHeaders==`function`?this.proxyHeaders():{...this.proxyHeaders},c=a.isIPv6(t.host)?`[${t.host}]`:t.host,l=`CONNECT ${c}:${t.port} HTTP/1.1\r\n`;if(n.username||n.password){let e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i[`Proxy-Authorization`]=`Basic ${Buffer.from(e).toString(`base64`)}`}i.Host=`${c}:${t.port}`,i[`Proxy-Connection`]||=this.keepAlive?`Keep-Alive`:`close`;for(let e of Object.keys(i))l+=`${e}: ${i[e]}\r\n`;let u=(0,d.parseProxyResponse)(r);r.write(`${l}\r\n`);let{connect:m,buffered:_}=await u;if(e.emit(`proxyConnect`,m),this.emit(`proxyConnect`,m,e),m.statusCode===200)return e.once(`socket`,h),t.secureEndpoint?(f(`Upgrading socket connection to TLS`),o.connect({...g(p(t),`host`,`path`,`port`),socket:r})):r;r.destroy();let v=new a.Socket({writable:!1});return v.readable=!0,e.once(`socket`,e=>{f(`Replaying proxy buffer for failed request`),(0,s.default)(e.listenerCount(`data`)>0),e.push(_),e.push(null)}),v}};m.protocols=[`http`,`https`],e.HttpsProxyAgent=m;function h(e){e.resume()}function g(e,...t){let n={},r;for(r in e)t.includes(r)||(n[r]=e[r]);return n}})),vh=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.HttpProxyAgent=void 0;let a=r(F(`net`)),o=r(F(`tls`)),s=i(ph()),c=F(`events`),l=hh(),u=F(`url`),d=(0,s.default)(`http-proxy-agent`);var f=class extends l.Agent{constructor(e,t){super(t),this.proxy=typeof e==`string`?new u.URL(e):e,this.proxyHeaders=t?.headers??{},d(`Creating new HttpProxyAgent instance: %o`,this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,``),r=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol===`https:`?443:80;this.connectOpts={...t?p(t,`headers`):null,host:n,port:r}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:n}=this,r=`${t.secureEndpoint?`https:`:`http:`}//${e.getHeader(`host`)||`localhost`}`,i=new u.URL(e.path,r);t.port!==80&&(i.port=String(t.port)),e.path=String(i);let a=typeof this.proxyHeaders==`function`?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;a[`Proxy-Authorization`]=`Basic ${Buffer.from(e).toString(`base64`)}`}a[`Proxy-Connection`]||=this.keepAlive?`Keep-Alive`:`close`;for(let t of Object.keys(a)){let n=a[t];n&&e.setHeader(t,n)}}async connect(e,t){e._header=null,e.path.includes(`://`)||this.setRequestProps(e,t);let n,r;d(`Regenerating stored HTTP header string for request`),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(d(`Patching connection write() output buffer with updated header`),n=e.outputData[0].data,r=n.indexOf(`\r +`),f=d.shift();if(!f)return e.destroy(),r(Error(`No header received from proxy CONNECT response`));let p=f.split(` `),m=+p[1],h=p.slice(2).join(` `),g={};for(let t of d){if(!t)continue;let n=t.indexOf(`:`);if(n===-1)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let i=t.slice(0,n).toLowerCase(),a=t.slice(n+1).trimStart(),o=g[i];typeof o==`string`?g[i]=[o,a]:Array.isArray(o)?o.push(a):g[i]=a}n(`got proxy server response: %o %o`,f,g),s(),t({connect:{statusCode:m,statusText:h,headers:g},buffered:l})}e.on(`error`,l),e.on(`end`,c),o()})}e.parseProxyResponse=r})),vh=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.HttpsProxyAgent=void 0;let a=r(F(`net`)),o=r(F(`tls`)),s=i(F(`assert`)),c=i(mh()),l=gh(),u=F(`url`),d=_h(),f=(0,c.default)(`https-proxy-agent`),p=e=>e.servername===void 0&&e.host&&!a.isIP(e.host)?{...e,servername:e.host}:e;var m=class extends l.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy=typeof e==`string`?new u.URL(e):e,this.proxyHeaders=t?.headers??{},f(`Creating new HttpsProxyAgent instance: %o`,this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,``),r=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol===`https:`?443:80;this.connectOpts={ALPNProtocols:[`http/1.1`],...t?g(t,`headers`):null,host:n,port:r}}async connect(e,t){let{proxy:n}=this;if(!t.host)throw TypeError(`No "host" provided`);let r;n.protocol===`https:`?(f("Creating `tls.Socket`: %o",this.connectOpts),r=o.connect(p(this.connectOpts))):(f("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts));let i=typeof this.proxyHeaders==`function`?this.proxyHeaders():{...this.proxyHeaders},c=a.isIPv6(t.host)?`[${t.host}]`:t.host,l=`CONNECT ${c}:${t.port} HTTP/1.1\r\n`;if(n.username||n.password){let e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i[`Proxy-Authorization`]=`Basic ${Buffer.from(e).toString(`base64`)}`}i.Host=`${c}:${t.port}`,i[`Proxy-Connection`]||=this.keepAlive?`Keep-Alive`:`close`;for(let e of Object.keys(i))l+=`${e}: ${i[e]}\r\n`;let u=(0,d.parseProxyResponse)(r);r.write(`${l}\r\n`);let{connect:m,buffered:_}=await u;if(e.emit(`proxyConnect`,m),this.emit(`proxyConnect`,m,e),m.statusCode===200)return e.once(`socket`,h),t.secureEndpoint?(f(`Upgrading socket connection to TLS`),o.connect({...g(p(t),`host`,`path`,`port`),socket:r})):r;r.destroy();let v=new a.Socket({writable:!1});return v.readable=!0,e.once(`socket`,e=>{f(`Replaying proxy buffer for failed request`),(0,s.default)(e.listenerCount(`data`)>0),e.push(_),e.push(null)}),v}};m.protocols=[`http`,`https`],e.HttpsProxyAgent=m;function h(e){e.resume()}function g(e,...t){let n={},r;for(r in e)t.includes(r)||(n[r]=e[r]);return n}})),yh=P((e=>{var t=e&&e.__createBinding||(Object.create?(function(e,t,n,r){r===void 0&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||(`get`in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}):(function(e,t,n,r){r===void 0&&(r=n),e[r]=t[n]})),n=e&&e.__setModuleDefault||(Object.create?(function(e,t){Object.defineProperty(e,`default`,{enumerable:!0,value:t})}):function(e,t){e.default=t}),r=e&&e.__importStar||function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var i in e)i!==`default`&&Object.prototype.hasOwnProperty.call(e,i)&&t(r,e,i);return n(r,e),r},i=e&&e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(e,`__esModule`,{value:!0}),e.HttpProxyAgent=void 0;let a=r(F(`net`)),o=r(F(`tls`)),s=i(mh()),c=F(`events`),l=gh(),u=F(`url`),d=(0,s.default)(`http-proxy-agent`);var f=class extends l.Agent{constructor(e,t){super(t),this.proxy=typeof e==`string`?new u.URL(e):e,this.proxyHeaders=t?.headers??{},d(`Creating new HttpProxyAgent instance: %o`,this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,``),r=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol===`https:`?443:80;this.connectOpts={...t?p(t,`headers`):null,host:n,port:r}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:n}=this,r=`${t.secureEndpoint?`https:`:`http:`}//${e.getHeader(`host`)||`localhost`}`,i=new u.URL(e.path,r);t.port!==80&&(i.port=String(t.port)),e.path=String(i);let a=typeof this.proxyHeaders==`function`?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;a[`Proxy-Authorization`]=`Basic ${Buffer.from(e).toString(`base64`)}`}a[`Proxy-Connection`]||=this.keepAlive?`Keep-Alive`:`close`;for(let t of Object.keys(a)){let n=a[t];n&&e.setHeader(t,n)}}async connect(e,t){e._header=null,e.path.includes(`://`)||this.setRequestProps(e,t);let n,r;d(`Regenerating stored HTTP header string for request`),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(d(`Patching connection write() output buffer with updated header`),n=e.outputData[0].data,r=n.indexOf(`\r \r -`)+4,e.outputData[0].data=e._header+n.substring(r),d(`Output buffer: %o`,e.outputData[0].data));let i;return this.proxy.protocol===`https:`?(d("Creating `tls.Socket`: %o",this.connectOpts),i=o.connect(this.connectOpts)):(d("Creating `net.Socket`: %o",this.connectOpts),i=a.connect(this.connectOpts)),await(0,c.once)(i,`connect`),i}};f.protocols=[`http`,`https`],e.HttpProxyAgent=f;function p(e,...t){let n={},r;for(r in e)t.includes(r)||(n[r]=e[r]);return n}})),yh=_h(),bh=vh();const xh=[];let Sh=!1;const Ch=new Map;function wh(e){if(process.env[e])return process.env[e];if(process.env[e.toLowerCase()])return process.env[e.toLowerCase()]}function Th(){if(!process)return;let e=wh(`HTTPS_PROXY`),t=wh(`ALL_PROXY`),n=wh(`HTTP_PROXY`);return e||t||n}function Eh(e,t,n){if(t.length===0)return!1;let r=new URL(e).hostname;if(n?.has(r))return n.get(r);let i=!1;for(let e of t)e[0]===`.`?(r.endsWith(e)||r.length===e.length-1&&r===e.slice(1))&&(i=!0):r===e&&(i=!0);return n?.set(r,i),i}function Dh(){let e=wh(`NO_PROXY`);return Sh=!0,e?e.split(`,`).map(e=>e.trim()).filter(e=>e.length):[]}function Oh(e){if(!e&&(e=Th(),!e))return;let t=new URL(e);return{host:(t.protocol?t.protocol+`//`:``)+t.hostname,port:Number.parseInt(t.port||`80`),username:t.username,password:t.password}}function kh(){let e=Th();return e?new URL(e):void 0}function Ah(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function jh(e,t,n){if(e.agent)return;let r=new URL(e.url).protocol!==`https:`;e.tlsSettings&&Tm.warning(`TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.`),r?(t.httpProxyAgent||=new bh.HttpProxyAgent(n),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||=new yh.HttpsProxyAgent(n),e.agent=t.httpsProxyAgent)}function Mh(e,t){Sh||xh.push(...Dh());let n=e?Ah(e):kh(),r={};return{name:`proxyPolicy`,async sendRequest(e,i){return!e.proxySettings&&n&&!Eh(e.url,t?.customNoProxyList??xh,t?.customNoProxyList?void 0:Ch)?jh(e,r,n):e.proxySettings&&jh(e,r,Ah(e.proxySettings)),i(e)}}}function Nh(e){return{name:`agentPolicy`,sendRequest:async(t,n)=>(t.agent||=e,n(t))}}function Ph(e){return{name:`tlsPolicy`,sendRequest:async(t,n)=>(t.tlsSettings||=e,n(t))}}function Fh(e){return typeof Blob<`u`&&e instanceof Blob}async function*Ih(){let e=this.getReader();try{for(;;){let{done:t,value:n}=await e.read();if(t)return;yield n}}finally{e.releaseLock()}}function Lh(e){e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=Ih.bind(e)),e.values||=Ih.bind(e)}function Rh(e){return e instanceof ReadableStream?(Lh(e),he.fromWeb(e)):e}function zh(e){return e instanceof Uint8Array?he.from(Buffer.from(e)):Fh(e)?Rh(e.stream()):Rh(e)}async function Bh(e){return function(){let t=e.map(e=>typeof e==`function`?e():e).map(zh);return he.from((async function*(){for(let e of t)for await(let t of e)yield t})())}}function Vh(){return`----AzSDKFormBoundary${cm()}`}function Hh(e){let t=``;for(let[n,r]of e)t+=`${n}: ${r}\r\n`;return t}function Uh(e){if(e instanceof Uint8Array)return e.byteLength;if(Fh(e))return e.size===-1?void 0:e.size}function Wh(e){let t=0;for(let n of e){let e=Uh(n);if(e===void 0)return;t+=e}return t}async function Gh(e,t,n){let r=[wm(`--${n}`,`utf-8`),...t.flatMap(e=>[wm(`\r -`,`utf-8`),wm(Hh(e.headers),`utf-8`),wm(`\r -`,`utf-8`),e.body,wm(`\r\n--${n}`,`utf-8`)]),wm(`--\r +`)+4,e.outputData[0].data=e._header+n.substring(r),d(`Output buffer: %o`,e.outputData[0].data));let i;return this.proxy.protocol===`https:`?(d("Creating `tls.Socket`: %o",this.connectOpts),i=o.connect(this.connectOpts)):(d("Creating `net.Socket`: %o",this.connectOpts),i=a.connect(this.connectOpts)),await(0,c.once)(i,`connect`),i}};f.protocols=[`http`,`https`],e.HttpProxyAgent=f;function p(e,...t){let n={},r;for(r in e)t.includes(r)||(n[r]=e[r]);return n}})),bh=vh(),xh=yh();const Sh=[];let Ch=!1;const wh=new Map;function Th(e){if(process.env[e])return process.env[e];if(process.env[e.toLowerCase()])return process.env[e.toLowerCase()]}function Eh(){if(!process)return;let e=Th(`HTTPS_PROXY`),t=Th(`ALL_PROXY`),n=Th(`HTTP_PROXY`);return e||t||n}function Dh(e,t,n){if(t.length===0)return!1;let r=new URL(e).hostname;if(n?.has(r))return n.get(r);let i=!1;for(let e of t)e[0]===`.`?(r.endsWith(e)||r.length===e.length-1&&r===e.slice(1))&&(i=!0):r===e&&(i=!0);return n?.set(r,i),i}function Oh(){let e=Th(`NO_PROXY`);return Ch=!0,e?e.split(`,`).map(e=>e.trim()).filter(e=>e.length):[]}function kh(e){if(!e&&(e=Eh(),!e))return;let t=new URL(e);return{host:(t.protocol?t.protocol+`//`:``)+t.hostname,port:Number.parseInt(t.port||`80`),username:t.username,password:t.password}}function Ah(){let e=Eh();return e?new URL(e):void 0}function jh(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function Mh(e,t,n){if(e.agent)return;let r=new URL(e.url).protocol!==`https:`;e.tlsSettings&&Em.warning(`TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.`),r?(t.httpProxyAgent||=new xh.HttpProxyAgent(n),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||=new bh.HttpsProxyAgent(n),e.agent=t.httpsProxyAgent)}function Nh(e,t){Ch||Sh.push(...Oh());let n=e?jh(e):Ah(),r={};return{name:`proxyPolicy`,async sendRequest(e,i){return!e.proxySettings&&n&&!Dh(e.url,t?.customNoProxyList??Sh,t?.customNoProxyList?void 0:wh)?Mh(e,r,n):e.proxySettings&&Mh(e,r,jh(e.proxySettings)),i(e)}}}function Ph(e){return{name:`agentPolicy`,sendRequest:async(t,n)=>(t.agent||=e,n(t))}}function Fh(e){return{name:`tlsPolicy`,sendRequest:async(t,n)=>(t.tlsSettings||=e,n(t))}}function Ih(e){return typeof Blob<`u`&&e instanceof Blob}async function*Lh(){let e=this.getReader();try{for(;;){let{done:t,value:n}=await e.read();if(t)return;yield n}}finally{e.releaseLock()}}function Rh(e){e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=Lh.bind(e)),e.values||=Lh.bind(e)}function zh(e){return e instanceof ReadableStream?(Rh(e),_e.fromWeb(e)):e}function Bh(e){return e instanceof Uint8Array?_e.from(Buffer.from(e)):Ih(e)?zh(e.stream()):zh(e)}async function Vh(e){return function(){let t=e.map(e=>typeof e==`function`?e():e).map(Bh);return _e.from((async function*(){for(let e of t)for await(let t of e)yield t})())}}function Hh(){return`----AzSDKFormBoundary${lm()}`}function Uh(e){let t=``;for(let[n,r]of e)t+=`${n}: ${r}\r\n`;return t}function Wh(e){if(e instanceof Uint8Array)return e.byteLength;if(Ih(e))return e.size===-1?void 0:e.size}function Gh(e){let t=0;for(let n of e){let e=Wh(n);if(e===void 0)return;t+=e}return t}async function Kh(e,t,n){let r=[Tm(`--${n}`,`utf-8`),...t.flatMap(e=>[Tm(`\r +`,`utf-8`),Tm(Uh(e.headers),`utf-8`),Tm(`\r +`,`utf-8`),e.body,Tm(`\r\n--${n}`,`utf-8`)]),Tm(`--\r \r -`,`utf-8`)],i=Wh(r);i&&e.headers.set(`Content-Length`,i),e.body=await Bh(r)}const Kh=`multipartPolicy`,qh=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function Jh(e){if(e.length>70)throw Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`);if(Array.from(e).some(e=>!qh.has(e)))throw Error(`Multipart boundary "${e}" contains invalid characters`)}function Yh(){return{name:Kh,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error(`multipartBody and regular body cannot be set at the same time`);let n=e.multipartBody.boundary,r=e.headers.get(`Content-Type`)??`multipart/mixed`,i=r.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw Error(`Got multipart request body, but content-type header was not multipart: ${r}`);let[,a,o]=i;if(o&&n&&o!==n)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${n} in the request body`);return n??=o,n?Jh(n):n=Vh(),e.headers.set(`Content-Type`,`${a}; boundary=${n}`),await Gh(e,e.multipartBody.parts,n),e.multipartBody=void 0,t(e)}}}function Xh(){return pm()}const Zh=tm({logLevelEnvVarName:`AZURE_LOG_LEVEL`,namespace:`azure`});Zh.logger;function Qh(e){return Zh.createClientLogger(e)}const $h=Qh(`core-rest-pipeline`);function eg(e={}){return Rm({logger:$h.info,...e})}function tg(e={}){return Bm(e)}function ng(){return`User-Agent`}async function rg(e){if(_e&&_e.versions){let t=`${le.type()} ${le.release()}; ${le.arch()}`,n=_e.versions;n.bun?e.set(`Bun`,`${n.bun} (${t})`):n.deno?e.set(`Deno`,`${n.deno} (${t})`):n.node&&e.set(`Node`,`${n.node} (${t})`)}}const ig=`1.22.3`;function ag(e){let t=[];for(let[n,r]of e){let e=r?`${n}/${r}`:n;t.push(e)}return t.join(` `)}function og(){return ng()}async function sg(e){let t=new Map;t.set(`core-rest-pipeline`,ig),await rg(t);let n=ag(t);return e?`${e} ${n}`:n}const cg=og();function lg(e={}){let t=sg(e.userAgentPrefix);return{name:`userAgentPolicy`,async sendRequest(e,n){return e.headers.has(cg)||e.headers.set(cg,await t),n(e)}}}var ug=class extends Error{constructor(e){super(e),this.name=`AbortError`}};function dg(e,t){let{cleanupBeforeAbort:n,abortSignal:r,abortErrorMsg:i}=t??{};return new Promise((t,a)=>{function o(){a(new ug(i??`The operation was aborted.`))}function s(){r?.removeEventListener(`abort`,c)}function c(){n?.(),s(),o()}if(r?.aborted)return o();try{e(e=>{s(),t(e)},e=>{s(),a(e)})}catch(e){a(e)}r?.addEventListener(`abort`,c)})}function fg(e,t){let n,{abortSignal:r,abortErrorMsg:i}=t??{};return dg(t=>{n=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(n),abortSignal:r,abortErrorMsg:i??`The delay was aborted.`})}function pg(e){if(hm(e))return e.message;{let t;try{t=typeof e==`object`&&e?JSON.stringify(e):String(e)}catch{t=`[unable to stringify input]`}return`Unknown error ${t}`}}function mg(e){return hm(e)}function hg(){return cm()}const gg=ih,_g=Symbol(`rawContent`);function vg(e){return typeof e[_g]==`function`}function yg(e){return vg(e)?e[_g]():e}const bg=Kh;function xg(){let e=Yh();return{name:bg,sendRequest:async(t,n)=>{if(t.multipartBody)for(let e of t.multipartBody.parts)vg(e.body)&&(e.body=yg(e.body));return e.sendRequest(t,n)}}}function Sg(){return Hm()}function Cg(e={}){return rh(e)}function wg(){return oh()}function Tg(e){return Oh(e)}function Eg(e,t){return Mh(e,t)}function Dg(e=`x-ms-client-request-id`){return{name:`setClientRequestIdPolicy`,async sendRequest(t,n){return t.headers.has(e)||t.headers.set(e,t.requestId),n(t)}}}function Og(e){return Nh(e)}function kg(e){return Ph(e)}const Ag={span:Symbol.for(`@azure/core-tracing span`),namespace:Symbol.for(`@azure/core-tracing namespace`)};function jg(e={}){let t=new Mg(e.parentContext);return e.span&&(t=t.setValue(Ag.span,e.span)),e.namespace&&(t=t.setValue(Ag.namespace,e.namespace)),t}var Mg=class e{_contextMap;constructor(t){this._contextMap=t instanceof e?new Map(t._contextMap):new Map}setValue(t,n){let r=new e(this);return r._contextMap.set(t,n),r}getValue(e){return this._contextMap.get(e)}deleteValue(t){let n=new e(this);return n._contextMap.delete(t),n}};const Ng=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.state=void 0,e.state={instrumenterImplementation:void 0}}))().state;function Pg(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function Fg(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:Pg(),tracingContext:jg({parentContext:t.tracingContext})}),withContext(e,t,...n){return t(...n)}}}function Ig(){return Ng.instrumenterImplementation||=Fg(),Ng.instrumenterImplementation}function Lg(e){let{namespace:t,packageName:n,packageVersion:r}=e;function i(e,i,a){let o=Ig().startSpan(e,{...a,packageName:n,packageVersion:r,tracingContext:i?.tracingOptions?.tracingContext}),s=o.tracingContext,c=o.span;return s.getValue(Ag.namespace)||(s=s.setValue(Ag.namespace,t)),c.setAttribute(`az.namespace`,s.getValue(Ag.namespace)),{span:c,updatedOptions:Object.assign({},i,{tracingOptions:{...i?.tracingOptions,tracingContext:s}})}}async function a(e,t,n,r){let{span:a,updatedOptions:s}=i(e,t,r);try{let e=await o(s.tracingOptions.tracingContext,()=>Promise.resolve(n(s,a)));return a.setStatus({status:`success`}),e}catch(e){throw a.setStatus({status:`error`,error:e}),e}finally{a.end()}}function o(e,t,...n){return Ig().withContext(e,t,...n)}function s(e){return Ig().parseTraceparentHeader(e)}function c(e){return Ig().createRequestHeaders(e)}return{startSpan:i,withSpan:a,withContext:o,parseTraceparentHeader:s,createRequestHeaders:c}}const Rg=Sm;function zg(e){return Cm(e)}function Bg(e={}){let t=sg(e.userAgentPrefix),n=new bm({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),r=Vg();return{name:`tracingPolicy`,async sendRequest(e,i){if(!r)return i(e);let a=await t,o={"http.url":n.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":a,requestId:e.requestId};a&&(o[`http.user_agent`]=a);let{span:s,tracingContext:c}=Hg(r,e,o)??{};if(!s||!c)return i(e);try{let t=await r.withContext(c,i,e);return Wg(s,t),t}catch(e){throw Ug(s,e),e}}}}function Vg(){try{return Lg({namespace:``,packageName:`@azure/core-rest-pipeline`,packageVersion:ig})}catch(e){$h.warning(`Error when creating the TracingClient: ${pg(e)}`);return}}function Hg(e,t,n){try{let{span:r,updatedOptions:i}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:`client`,spanAttributes:n});if(!r.isRecording()){r.end();return}let a=e.createRequestHeaders(i.tracingOptions.tracingContext);for(let[e,n]of Object.entries(a))t.headers.set(e,n);return{span:r,tracingContext:i.tracingOptions.tracingContext}}catch(e){$h.warning(`Skipping creating a tracing span due to an error: ${pg(e)}`);return}}function Ug(e,t){try{e.setStatus({status:`error`,error:mg(t)?t:void 0}),zg(t)&&t.statusCode&&e.setAttribute(`http.status_code`,t.statusCode),e.end()}catch(e){$h.warning(`Skipping tracing span processing due to an error: ${pg(e)}`)}}function Wg(e,t){try{e.setAttribute(`http.status_code`,t.status);let n=t.headers.get(`x-ms-request-id`);n&&e.setAttribute(`serviceRequestId`,n),t.status>=400&&e.setStatus({status:`error`}),e.end()}catch(e){$h.warning(`Skipping tracing span processing due to an error: ${pg(e)}`)}}function Gg(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort(e.reason)};let t=new AbortController,n=!0;function r(){n&&=(e.removeEventListener(`abort`,i),!1)}function i(){t.abort(e.reason),r()}return e.addEventListener(`abort`,i),{abortSignal:t.signal,cleanup:r}}function Kg(){return{name:`wrapAbortSignalLikePolicy`,sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:n,cleanup:r}=Gg(e.abortSignal);e.abortSignal=n;try{return await t(e)}finally{r?.()}}}}function qg(e){let t=Xh();return gg&&(e.agent&&t.addPolicy(Og(e.agent)),e.tlsOptions&&t.addPolicy(kg(e.tlsOptions)),t.addPolicy(Eg(e.proxyOptions)),t.addPolicy(Sg())),t.addPolicy(Kg()),t.addPolicy(wg(),{beforePolicies:[bg]}),t.addPolicy(lg(e.userAgentOptions)),t.addPolicy(Dg(e.telemetryOptions?.clientRequestIdHeaderName)),t.addPolicy(xg(),{afterPhase:`Deserialize`}),t.addPolicy(Cg(e.retryOptions),{phase:`Retry`}),t.addPolicy(Bg({...e.userAgentOptions,...e.loggingOptions}),{afterPhase:`Retry`}),gg&&t.addPolicy(tg(e.redirectOptions),{afterPhase:`Retry`}),t.addPolicy(eg(e.loggingOptions),{afterPhase:`Sign`}),t}function Jg(){let e=Lm();return{async sendRequest(t){let{abortSignal:n,cleanup:r}=t.abortSignal?Gg(t.abortSignal):{};try{return t.abortSignal=n,await e.sendRequest(t)}finally{r?.()}}}}function Yg(e){return sm(e)}function Xg(e){return um(e)}const Zg={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function Qg(e,t,n){async function r(){if(Date.now()e.getToken(t,s),a.retryIntervalInMs,r?.expiresOnTimestamp??Date.now()).then(e=>(n=null,r=e,i=s.tenantId,r)).catch(e=>{throw n=null,r=null,i=void 0,e})),n}return async(e,t)=>{let n=!!t.claims,a=i!==t.tenantId;return n&&(r=null),a||n||o.mustRefresh?s(e,t):(o.shouldRefresh&&s(e,t),r)}}async function e_(e,t){try{return[await t(e),void 0]}catch(e){if(zg(e)&&e.response)return[e.response,e];throw e}}async function t_(e){let{scopes:t,getAccessToken:n,request:r}=e,i=await n(t,{abortSignal:r.abortSignal,tracingOptions:r.tracingOptions,enableCae:!0});i&&e.request.headers.set(`Authorization`,`Bearer ${i.token}`)}function n_(e){return e.status===401&&e.headers.has(`WWW-Authenticate`)}async function r_(e,t){let{scopes:n}=e,r=await e.getAccessToken(n,{enableCae:!0,claims:t});return r?(e.request.headers.set(`Authorization`,`${r.tokenType??`Bearer`} ${r.token}`),!0):!1}function i_(e){let{credential:t,scopes:n,challengeCallbacks:r}=e,i=e.logger||$h,a={authorizeRequest:r?.authorizeRequest?.bind(r)??t_,authorizeRequestOnChallenge:r?.authorizeRequestOnChallenge?.bind(r)},o=t?$g(t):()=>Promise.resolve(null);return{name:`bearerTokenAuthenticationPolicy`,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith(`https://`))throw Error(`Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.`);await a.authorizeRequest({scopes:Array.isArray(n)?n:[n],request:e,getAccessToken:o,logger:i});let r,s,c;if([r,s]=await e_(e,t),n_(r)){let l=o_(r.headers.get(`WWW-Authenticate`));if(l){let a;try{a=atob(l)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),r}c=await r_({scopes:Array.isArray(n)?n:[n],response:r,request:e,getAccessToken:o,logger:i},a),c&&([r,s]=await e_(e,t))}else if(a.authorizeRequestOnChallenge&&(c=await a.authorizeRequestOnChallenge({scopes:Array.isArray(n)?n:[n],request:e,response:r,getAccessToken:o,logger:i}),c&&([r,s]=await e_(e,t)),n_(r)&&(l=o_(r.headers.get(`WWW-Authenticate`)),l))){let a;try{a=atob(l)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),r}c=await r_({scopes:Array.isArray(n)?n:[n],response:r,request:e,getAccessToken:o,logger:i},a),c&&([r,s]=await e_(e,t))}}if(s)throw s;return r}}}function a_(e){let t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,n=/(\w+)="([^"]*)"/g,r=[],i;for(;(i=t.exec(e))!==null;){let e=i[1],t=i[2],a={},o;for(;(o=n.exec(t))!==null;)a[o[1]]=o[2];r.push({scheme:e,params:a})}return r}function o_(e){if(e)return a_(e).find(e=>e.scheme===`Bearer`&&e.params.claims&&e.params.error===`insufficient_claims`)?.params.claims}function s_(e){let t=e;return t&&typeof t.getToken==`function`&&(t.signRequest===void 0||t.getToken.length>0)}const c_=`DisableKeepAlivePolicy`;function l_(){return{name:c_,async sendRequest(e,t){return e.disableKeepAlive=!0,t(e)}}}function u_(e){return e.getOrderedPolicies().some(e=>e.name===c_)}function d_(e){return(e instanceof Buffer?e:Buffer.from(e.buffer)).toString(`base64`)}function f_(e){return Buffer.from(e,`base64`)}function p_(e,t){return t!==`Composite`&&t!==`Dictionary`&&(typeof e==`string`||typeof e==`number`||typeof e==`boolean`||t?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||e==null)}const m_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function h_(e){return m_.test(e)}const g_=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function __(e){return g_.test(e)}function v_(e){let t={...e.headers,...e.body};return e.hasNullableType&&Object.getOwnPropertyNames(t).length===0?e.shouldWrapBody?{body:null}:null:e.shouldWrapBody?{...e.headers,body:e.body}:t}function y_(e,t){let n=e.parsedHeaders;if(e.request.method===`HEAD`)return{...n,body:e.parsedBody};let r=t&&t.bodyMapper,i=!!r?.nullable,a=r?.type.name;if(a===`Stream`)return{...n,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let o=a===`Composite`&&r.type.modelProperties||{},s=Object.keys(o).some(e=>o[e].serializedName===``);if(a===`Sequence`||s){let t=e.parsedBody??[];for(let n of Object.keys(o))o[n].serializedName&&(t[n]=e.parsedBody?.[n]);if(n)for(let e of Object.keys(n))t[e]=n[e];return i&&!e.parsedBody&&!n&&Object.getOwnPropertyNames(o).length===0?null:t}return v_({body:e.parsedBody,headers:n,hasNullableType:i,shouldWrapBody:p_(e.parsedBody,a)})}var b_=class{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,n){let r=(e,r)=>{throw Error(`"${n}" with value "${t}" should satisfy the constraint "${e}": ${r}.`)};if(e.constraints&&t!=null){let{ExclusiveMaximum:n,ExclusiveMinimum:i,InclusiveMaximum:a,InclusiveMinimum:o,MaxItems:s,MaxLength:c,MinItems:l,MinLength:u,MultipleOf:d,Pattern:f,UniqueItems:p}=e.constraints;if(n!==void 0&&t>=n&&r(`ExclusiveMaximum`,n),i!==void 0&&t<=i&&r(`ExclusiveMinimum`,i),a!==void 0&&t>a&&r(`InclusiveMaximum`,a),o!==void 0&&ts&&r(`MaxItems`,s),c!==void 0&&t.length>c&&r(`MaxLength`,c),l!==void 0&&t.lengthn.indexOf(e)!==t)&&r(`UniqueItems`,p)}}serialize(e,t,n,r={xml:{}}){let i={xml:{rootName:r.xml.rootName??``,includeRoot:r.xml.includeRoot??!1,xmlCharKey:r.xml.xmlCharKey??`_`}},a={},o=e.type.name;n||=e.serializedName,o.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(t=e.defaultValue);let{required:s,nullable:c}=e;if(s&&c&&t===void 0)throw Error(`${n} cannot be undefined.`);if(s&&!c&&t==null)throw Error(`${n} cannot be null or undefined.`);if(!s&&c===!1&&t===null)throw Error(`${n} cannot be null.`);return t==null?a=t:o.match(/^any$/i)===null?o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)===null?o.match(/^Enum$/i)===null?o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)===null?o.match(/^ByteArray$/i)===null?o.match(/^Base64Url$/i)===null?o.match(/^Sequence$/i)===null?o.match(/^Dictionary$/i)===null?o.match(/^Composite$/i)!==null&&(a=R_(this,e,t,n,!!this.isXML,i)):a=P_(this,e,t,n,!!this.isXML,i):a=N_(this,e,t,n,!!this.isXML,i):a=j_(n,t):a=A_(n,t):a=M_(o,t,n):a=k_(n,e.type.allowedValues,t):a=O_(o,n,t):a=t,a}deserialize(e,t,n,r={xml:{}}){let i={xml:{rootName:r.xml.rootName??``,includeRoot:r.xml.includeRoot??!1,xmlCharKey:r.xml.xmlCharKey??`_`},ignoreUnknownProperties:r.ignoreUnknownProperties??!1};if(t==null)return this.isXML&&e.type.name===`Sequence`&&!e.xmlIsWrapped&&(t=[]),e.defaultValue!==void 0&&(t=e.defaultValue),t;let a,o=e.type.name;if(n||=e.serializedName,o.match(/^Composite$/i)!==null)a=V_(this,e,t,n,i);else{if(this.isXML){let e=i.xml.xmlCharKey;t.$!==void 0&&t[e]!==void 0&&(t=t[e])}o.match(/^Number$/i)===null?o.match(/^Boolean$/i)===null?o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)===null?o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)===null?o.match(/^UnixTime$/i)===null?o.match(/^ByteArray$/i)===null?o.match(/^Base64Url$/i)===null?o.match(/^Sequence$/i)===null?o.match(/^Dictionary$/i)!==null&&(a=H_(this,e,t,n,i)):a=U_(this,e,t,n,i):a=w_(t):a=f_(t):a=D_(t):a=new Date(t):a=t:a=t===`true`?!0:t===`false`?!1:t:(a=parseFloat(t),isNaN(a)&&(a=t))}return e.isConstant&&(a=e.defaultValue),a}};function x_(e={},t=!1){return new b_(e,t)}function S_(e,t){let n=e.length;for(;n-1>=0&&e[n-1]===t;)--n;return e.substr(0,n)}function C_(e){if(e){if(!(e instanceof Uint8Array))throw Error(`Please provide an input of type Uint8Array for converting to Base64Url.`);return S_(d_(e),`=`).replace(/\+/g,`-`).replace(/\//g,`_`)}}function w_(e){if(e){if(e&&typeof e.valueOf()!=`string`)throw Error(`Please provide an input of type string for converting to Uint8Array`);return e=e.replace(/-/g,`+`).replace(/_/g,`/`),f_(e)}}function T_(e){let t=[],n=``;if(e){let r=e.split(`.`);for(let e of r)e.charAt(e.length-1)===`\\`?n+=e.substr(0,e.length-1)+`.`:(n+=e,t.push(n),n=``)}return t}function E_(e){if(e)return typeof e.valueOf()==`string`&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}function D_(e){if(e)return new Date(e*1e3)}function O_(e,t,n){if(n!=null){if(e.match(/^Number$/i)!==null){if(typeof n!=`number`)throw Error(`${t} with value ${n} must be of type number.`)}else if(e.match(/^String$/i)!==null){if(typeof n.valueOf()!=`string`)throw Error(`${t} with value "${n}" must be of type string.`)}else if(e.match(/^Uuid$/i)!==null){if(!(typeof n.valueOf()==`string`&&__(n)))throw Error(`${t} with value "${n}" must be of type string and a valid uuid.`)}else if(e.match(/^Boolean$/i)!==null){if(typeof n!=`boolean`)throw Error(`${t} with value ${n} must be of type boolean.`)}else if(e.match(/^Stream$/i)!==null){let e=typeof n;if(e!==`string`&&typeof n.pipe!=`function`&&typeof n.tee!=`function`&&!(n instanceof ArrayBuffer)&&!ArrayBuffer.isView(n)&&!((typeof Blob==`function`||typeof Blob==`object`)&&n instanceof Blob)&&e!==`function`)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return n}function k_(e,t,n){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>typeof e.valueOf()==`string`?e.toLowerCase()===n.toLowerCase():e===n))throw Error(`${n} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return n}function A_(e,t){if(t!=null){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=d_(t)}return t}function j_(e,t){if(t!=null){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=C_(t)}return t}function M_(e,t,n){if(t!=null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=E_(t)}else if(e.match(/^TimeSpan$/i)!==null&&!h_(t))throw Error(`${n} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}function N_(e,t,n,r,i,a){if(!Array.isArray(n))throw Error(`${r} must be of type Array.`);let o=t.type.element;if(!o||typeof o!=`object`)throw Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${r}.`);o.type.name===`Composite`&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let s=[];for(let t=0;te!==i)&&(o[i]=e.serialize(c,n[i],r+`["`+i+`"]`,a))}return o}return n}function z_(e,t,n,r){if(!n||!e.xmlNamespace)return t;let i={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:`xmlns`]:e.xmlNamespace};if([`Composite`].includes(e.type.name)){if(t.$)return t;{let e={...t};return e.$=i,e}}let a={};return a[r.xml.xmlCharKey]=t,a.$=i,a}function B_(e,t){return[`$`,t.xml.xmlCharKey].includes(e)}function V_(e,t,n,r,i){let a=i.xml.xmlCharKey??`_`;K_(e,t)&&(t=G_(e,t,n,`serializedName`));let o=L_(e,t,r),s={},c=[];for(let l of Object.keys(o)){let u=o[l],d=T_(o[l].serializedName);c.push(d[0]);let{serializedName:f,xmlName:p,xmlElementName:m}=u,h=r;f!==``&&f!==void 0&&(h=r+`.`+f);let g=u.headerCollectionPrefix;if(g){let t={};for(let r of Object.keys(n))r.startsWith(g)&&(t[r.substring(g.length)]=e.deserialize(u.type.value,n[r],h,i)),c.push(r);s[l]=t}else if(e.isXML)if(u.xmlIsAttribute&&n.$)s[l]=e.deserialize(u,n.$[p],h,i);else if(u.xmlIsMsText)n[a]===void 0?typeof n==`string`&&(s[l]=n):s[l]=n[a];else{let t=m||p||f;if(u.xmlIsWrapped){let t=n[p]?.[m]??[];s[l]=e.deserialize(u,t,h,i),c.push(p)}else{let r=n[t];s[l]=e.deserialize(u,r,h,i),c.push(t)}}else{let r,a=n,c=0;for(let e of d){if(!a)break;c++,a=a[e]}a===null&&c{for(let t in o)if(T_(o[t].serializedName)[0]===e)return!1;return!0};for(let a in n)t(a)&&(s[a]=e.deserialize(l,n[a],r+`["`+a+`"]`,i))}else if(n&&!i.ignoreUnknownProperties)for(let e of Object.keys(n))s[e]===void 0&&!c.includes(e)&&!B_(e,i)&&(s[e]=n[e]);return s}function H_(e,t,n,r,i){let a=t.type.value;if(!a||typeof a!=`object`)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${r}`);if(n){let t={};for(let o of Object.keys(n))t[o]=e.deserialize(a,n[o],r,i);return t}return n}function U_(e,t,n,r,i){let a=t.type.element;if(!a||typeof a!=`object`)throw Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${r}`);if(n){Array.isArray(n)||(n=[n]),a.type.name===`Composite`&&a.type.className&&(a=e.modelMappers[a.type.className]??a);let t=[];for(let o=0;o{Object.defineProperty(e,`__esModule`,{value:!0}),e.state=void 0,e.state={operationRequestMap:new WeakMap}}))().state;function X_(e,t,n){let r=t.parameterPath,i=t.mapper,a;if(typeof r==`string`&&(r=[r]),Array.isArray(r)){if(r.length>0)if(i.isConstant)a=i.defaultValue;else{let t=Z_(e,r);!t.propertyFound&&n&&(t=Z_(n,r));let o=!1;t.propertyFound||(o=i.required||r[0]===`options`&&r.length===2),a=o?i.defaultValue:t.propertyValue}}else{i.required&&(a={});for(let t in r){let o=i.type.modelProperties[t],s=r[t],c=X_(e,{parameterPath:s,mapper:o},n);c!==void 0&&(a||={},a[t]=c)}}return a}function Z_(e,t){let n={propertyFound:!1},r=0;for(;r=200&&n.status<300);s.headersMapper&&(a.parsedHeaders=o.serializer.deserialize(s.headersMapper,a.headers.toJSON(),`operationRes.parsedHeaders`,{xml:{},ignoreUnknownProperties:!0}))}return a}function sv(e){let t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]===`default`}function cv(e,t,n,r){let i=200<=e.status&&e.status<300;if(sv(t)?i:n)if(n){if(!n.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=n??t.responses.default,o=new Rg(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!a&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw o;let s=a?.bodyMapper,c=a?.headersMapper;try{if(e.parsedBody){let n=e.parsedBody,i;if(s){let e=n;if(t.isXML&&s.type.name===J_.Sequence){e=[];let t=s.xmlElementName;typeof n==`object`&&t&&(e=n[t])}i=t.serializer.deserialize(s,e,`error.response.parsedBody`,r)}let a=n.error||i||n;o.code=a.code,a.message&&(o.message=a.message),s&&(o.response.parsedBody=i)}e.headers&&c&&(o.response.parsedHeaders=t.serializer.deserialize(c,e.headers.toJSON(),`operationRes.parsedHeaders`))}catch(t){o.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:o,shouldReturnResponse:!1}}async function lv(e,t,n,r,i){if(!n.request.streamResponseStatusCodes?.has(n.status)&&n.bodyAsText){let a=n.bodyAsText,o=n.headers.get(`Content-Type`)||``,s=o?o.split(`;`).map(e=>e.toLowerCase()):[];try{if(s.length===0||s.some(t=>e.indexOf(t)!==-1))return n.parsedBody=JSON.parse(a),n;if(s.some(e=>t.indexOf(e)!==-1)){if(!i)throw Error(`Parsing XML not supported.`);return n.parsedBody=await i(a,r.xml),n}}catch(e){throw new Rg(`Error "${e}" occurred while parsing the response body - ${n.bodyAsText}.`,{code:e.code||Rg.PARSE_ERROR,statusCode:n.status,request:n.request,response:n})}}return n}function uv(e){let t=new Set;for(let n in e.responses){let r=e.responses[n];r.bodyMapper&&r.bodyMapper.type.name===J_.Stream&&t.add(Number(n))}return t}function dv(e){let{parameterPath:t,mapper:n}=e,r;return r=typeof t==`string`?t:Array.isArray(t)?t.join(`.`):n.serializedName,r}function fv(e={}){let t=e.stringifyXML;return{name:`serializationPolicy`,async sendRequest(e,n){let r=ev(e),i=r?.operationSpec,a=r?.operationArguments;return i&&a&&(pv(e,a,i),mv(e,a,i,t)),n(e)}}}function pv(e,t,n){if(n.headerParameters)for(let r of n.headerParameters){let i=X_(t,r);if(i!=null||r.mapper.required){i=n.serializer.serialize(r.mapper,i,dv(r));let t=r.mapper.headerCollectionPrefix;if(t)for(let n of Object.keys(i))e.headers.set(t+n,i[n]);else e.headers.set(r.mapper.serializedName||dv(r),i)}}let r=t.options?.requestOptions?.customHeaders;if(r)for(let t of Object.keys(r))e.headers.set(t,r[t])}function mv(e,t,n,r=function(){throw Error(`XML serialization unsupported!`)}){let i=t.options?.serializerOptions,a={xml:{rootName:i?.xml.rootName??``,includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??`_`}},o=a.xml.xmlCharKey;if(n.requestBody&&n.requestBody.mapper){e.body=X_(t,n.requestBody);let i=n.requestBody.mapper,{required:s,serializedName:c,xmlName:l,xmlElementName:u,xmlNamespace:d,xmlNamespacePrefix:f,nullable:p}=i,m=i.type.name;try{if(e.body!==void 0&&e.body!==null||p&&e.body===null||s){let t=dv(n.requestBody);e.body=n.serializer.serialize(i,e.body,t,a);let s=m===J_.Stream;if(n.isXML){let t=f?`xmlns:${f}`:`xmlns`,n=hv(d,t,m,e.body,a);m===J_.Sequence?e.body=r(gv(n,u||l||c,t,d),{rootName:l||c,xmlCharKey:o}):s||(e.body=r(n,{rootName:l||c,xmlCharKey:o}))}else if(m===J_.String&&(n.contentType?.match(`text/plain`)||n.mediaType===`text`))return;else s||(e.body=JSON.stringify(e.body))}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(c,void 0,` `)}.`)}}else if(n.formDataParameters&&n.formDataParameters.length>0){e.formData={};for(let r of n.formDataParameters){let i=X_(t,r);if(i!=null){let t=r.mapper.serializedName||dv(r);e.formData[t]=n.serializer.serialize(r.mapper,i,dv(r),a)}}}}function hv(e,t,n,r,i){if(e&&![`Composite`,`Sequence`,`Dictionary`].includes(n)){let n={};return n[i.xml.xmlCharKey]=r,n.$={[t]:e},n}return r}function gv(e,t,n,r){if(Array.isArray(e)||(e=[e]),!n||!r)return{[t]:e};let i={[t]:e};return i.$={[n]:r},i}function _v(e={}){let t=qg(e??{});return e.credentialOptions&&t.addPolicy(i_({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),t.addPolicy(fv(e.serializationOptions),{phase:`Serialize`}),t.addPolicy(rv(e.deserializationOptions),{phase:`Deserialize`}),t}let vv;function yv(){return vv||=Jg(),vv}const bv={CSV:`,`,SSV:` `,Multi:`Multi`,TSV:` `,Pipes:`|`};function xv(e,t,n,r){let i=Cv(t,n,r),a=!1,o=Sv(e,i);if(t.path){let e=Sv(t.path,i);t.path===`/{nextLink}`&&e.startsWith(`/`)&&(e=e.substring(1)),wv(e)?(o=e,a=!0):o=Tv(o,e)}let{queryParams:s,sequenceParams:c}=Ev(t,n,r);return o=Ov(o,s,c,a),o}function Sv(e,t){let n=e;for(let[e,r]of t)n=n.split(e).join(r);return n}function Cv(e,t,n){let r=new Map;if(e.urlParameters?.length)for(let i of e.urlParameters){let a=X_(t,i,n),o=dv(i);a=e.serializer.serialize(i.mapper,a,o),i.skipEncoding||(a=encodeURIComponent(a)),r.set(`{${i.mapper.serializedName||o}}`,a)}return r}function wv(e){return e.includes(`://`)}function Tv(e,t){if(!t)return e;let n=new URL(e),r=n.pathname;r.endsWith(`/`)||(r=`${r}/`),t.startsWith(`/`)&&(t=t.substring(1));let i=t.indexOf(`?`);if(i!==-1){let e=t.substring(0,i),a=t.substring(i+1);r+=e,a&&(n.search=n.search?`${n.search}&${a}`:a)}else r+=t;return n.pathname=r,n.toString()}function Ev(e,t,n){let r=new Map,i=new Set;if(e.queryParameters?.length)for(let a of e.queryParameters){a.mapper.type.name===`Sequence`&&a.mapper.serializedName&&i.add(a.mapper.serializedName);let o=X_(t,a,n);if(o!=null||a.mapper.required){o=e.serializer.serialize(a.mapper,o,dv(a));let t=a.collectionFormat?bv[a.collectionFormat]:``;if(Array.isArray(o)&&(o=o.map(e=>e??``)),a.collectionFormat===`Multi`&&o.length===0)continue;Array.isArray(o)&&(a.collectionFormat===`SSV`||a.collectionFormat===`TSV`)&&(o=o.join(t)),a.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&(a.collectionFormat===`CSV`||a.collectionFormat===`Pipes`)&&(o=o.join(t)),r.set(a.mapper.serializedName||dv(a),o)}}return{queryParams:r,sequenceParams:i}}function Dv(e){let t=new Map;if(!e||e[0]!==`?`)return t;e=e.slice(1);let n=e.split(`&`);for(let e of n){let[n,r]=e.split(`=`,2),i=t.get(n);i?Array.isArray(i)?i.push(r):t.set(n,[i,r]):t.set(n,r)}return t}function Ov(e,t,n,r=!1){if(t.size===0)return e;let i=new URL(e),a=Dv(i.search);for(let[e,i]of t){let t=a.get(e);if(Array.isArray(t))if(Array.isArray(i)){t.push(...i);let n=new Set(t);a.set(e,Array.from(n))}else t.push(i);else t?(Array.isArray(i)?i.unshift(t):n.has(e)&&a.set(e,[t,i]),r||a.set(e,i)):a.set(e,i)}let o=[];for(let[e,t]of a)if(typeof t==`string`)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let n of t)o.push(`${e}=${n}`);else o.push(`${e}=${t}`);return i.search=o.length?`?${o.join(`&`)}`:``,i.toString()}const kv=Qh(`core-client`);var Av=class{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&kv.warning(`The baseUri option for SDK Clients has been deprecated, please use endpoint instead.`),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||yv(),this.pipeline=e.pipeline||jv(e),e.additionalPolicies?.length)for(let{policy:t,position:n}of e.additionalPolicies){let e=n===`perRetry`?`Sign`:void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let n=t.baseUrl||this._endpoint;if(!n)throw Error(`If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.`);let r=Xg({url:xv(n,t,e,this)});r.method=t.httpMethod;let i=ev(r);i.operationSpec=t,i.operationArguments=e;let a=t.contentType||this._requestContentType;a&&t.requestBody&&r.headers.set(`Content-Type`,a);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(r.timeout=e.timeout),e.onUploadProgress&&(r.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(r.onDownloadProgress=e.onDownloadProgress),e.shouldDeserialize!==void 0&&(i.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(r.allowInsecureConnection=!0)),o.abortSignal&&(r.abortSignal=o.abortSignal),o.tracingOptions&&(r.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(r.allowInsecureConnection=!0),r.streamResponseStatusCodes===void 0&&(r.streamResponseStatusCodes=uv(t));try{let e=await this.sendRequest(r),n=y_(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,n),n}catch(e){if(typeof e==`object`&&e?.response){let n=e.response,r=y_(n,t.responses[e.statusCode]||t.responses.default);e.details=r,o?.onResponse&&o.onResponse(n,r,e)}throw e}}};function jv(e){let t=Mv(e),n=e.credential&&t?{credentialScopes:t,credential:e.credential}:void 0;return _v({...e,credentialOptions:n})}function Mv(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential&&!e.credentialScopes)throw Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}const Nv={DefaultScope:`/.default`,HeaderConstants:{AUTHORIZATION:`authorization`}};function Pv(e){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)}const Fv=async e=>{let t=Bv(e.request),n=Rv(e.response);if(n){let r=zv(n),i=Lv(e,r),a=Iv(r);if(!a)return!1;let o=await e.getAccessToken(i,{...t,tenantId:a});return o?(e.request.headers.set(Nv.HeaderConstants.AUTHORIZATION,`${o.tokenType??`Bearer`} ${o.token}`),!0):!1}return!1};function Iv(e){let t=new URL(e.authorization_uri).pathname.split(`/`)[1];if(t&&Pv(t))return t}function Lv(e,t){if(!t.resource_id)return e.scopes;let n=new URL(t.resource_id);n.pathname=Nv.DefaultScope;let r=n.toString();return r===`https://disk.azure.com/.default`&&(r=`https://disk.azure.com//.default`),[r]}function Rv(e){let t=e.headers.get(`WWW-Authenticate`);if(e.status===401&&t)return t}function zv(e){return`${e.slice(7).trim()} `.split(` `).filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split(`=`))).reduce((e,t)=>({...e,...t}),{})}function Bv(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}const Vv=Symbol(`Original PipelineRequest`),Hv=Symbol.for(`@azure/core-client original request`);function Uv(e,t={}){let n=e[Vv],r=Yg(e.headers.toJson({preserveCase:!0}));if(n)return n.headers=r,n;{let n=Xg({url:e.url,method:e.method,headers:r,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(n[Hv]=t.originalRequest),n}}function Wv(e,t){let n=t?.originalRequest??e,r={url:e.url,method:e.method,headers:Gv(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get(`x-ms-client-request-id`)||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error(`Cannot clone a non-proxied WebResourceLike`)},prepare(){throw Error(`WebResourceLike.prepare() is not supported by @azure/core-http-compat`)},validateRequestProperties(){}};return t?.createProxy?new Proxy(r,{get(t,i,a){return i===Vv?e:i===`clone`?()=>Wv(Uv(r,{originalRequest:n}),{createProxy:!0,originalRequest:n}):Reflect.get(t,i,a)},set(t,n,r,i){return n===`keepAlive`&&(e.disableKeepAlive=!r),typeof n==`string`&&[`url`,`method`,`withCredentials`,`timeout`,`requestId`,`abortSignal`,`body`,`formData`,`onDownloadProgress`,`onUploadProgress`,`proxySettings`,`streamResponseStatusCodes`,`agent`,`requestOverrides`].includes(n)&&(e[n]=r),Reflect.set(t,n,r,i)}}):r}function Gv(e){return new qv(e.toJSON({preserveCase:!0}))}function Kv(e){return e.toLowerCase()}var qv=class e{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[Kv(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[Kv(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[Kv(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[Kv(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let n=0;nXv(await e.sendRequest(Wv(t,{createProxy:!0})))}}const ny=`:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD`;ny+``,``+ny;const ry=RegExp(`^[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`);function iy(e,t){let n=[],r=t.exec(e);for(;r;){let i=[];i.startIndex=t.lastIndex-r[0].length;let a=r.length;for(let e=0;e`&&e[a]!==` `&&e[a]!==` `&&e[a]!==` -`&&e[a]!==`\r`;a++)c+=e[a];if(c=c.trim(),c[c.length-1]===`/`&&(c=c.substring(0,c.length-1),a--),!xy(c)){let t;return t=c.trim().length===0?`Invalid space after '<'.`:`Tag '`+c+`' is an invalid name.`,yy(`InvalidTag`,t,Sy(e,a))}let l=my(e,a);if(l===!1)return yy(`InvalidAttr`,`Attributes for '`+c+`' have open quote.`,Sy(e,a));let u=l.value;if(a=l.index,u[u.length-1]===`/`){let n=a-u.length;u=u.substring(0,u.length-1);let i=gy(u,t);if(i===!0)r=!0;else return yy(i.err.code,i.err.msg,Sy(e,n+i.err.line))}else if(s){if(!l.tagClosed)return yy(`InvalidTag`,`Closing tag '`+c+`' doesn't have proper closing.`,Sy(e,a));if(u.trim().length>0)return yy(`InvalidTag`,`Closing tag '`+c+`' can't have attributes or invalid starting.`,Sy(e,o));if(n.length===0)return yy(`InvalidTag`,`Closing tag '`+c+`' has not been opened.`,Sy(e,o));{let t=n.pop();if(c!==t.tagName){let n=Sy(e,t.tagStartPos);return yy(`InvalidTag`,`Expected closing tag '`+t.tagName+`' (opened in line `+n.line+`, col `+n.col+`) instead of closing tag '`+c+`'.`,Sy(e,o))}n.length==0&&(i=!0)}}else{let s=gy(u,t);if(s!==!0)return yy(s.err.code,s.err.msg,Sy(e,a-u.length+s.err.line));if(i===!0)return yy(`InvalidXml`,`Multiple possible root nodes found.`,Sy(e,a));t.unpairedTags.indexOf(c)!==-1||n.push({tagName:c,tagStartPos:o}),r=!0}for(a++;a0?yy(`InvalidXml`,`Invalid '`+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,``)+`' found.`,{line:1,col:1}):!0:yy(`InvalidXml`,`Start tag expected.`,1)}function dy(e){return e===` `||e===` `||e===` -`||e===`\r`}function fy(e,t){let n=t;for(;t5&&r===`xml`)return yy(`InvalidXml`,`XML declaration allowed only at the start of the document.`,Sy(e,t));if(e[t]==`?`&&e[t+1]==`>`){t++;break}else continue}return t}function py(e,t){if(e.length>t+5&&e[t+1]===`-`&&e[t+2]===`-`){for(t+=3;t`){t+=2;break}}else if(e.length>t+8&&e[t+1]===`D`&&e[t+2]===`O`&&e[t+3]===`C`&&e[t+4]===`T`&&e[t+5]===`Y`&&e[t+6]===`P`&&e[t+7]===`E`){let n=1;for(t+=8;t`&&(n--,n===0))break}else if(e.length>t+9&&e[t+1]===`[`&&e[t+2]===`C`&&e[t+3]===`D`&&e[t+4]===`A`&&e[t+5]===`T`&&e[t+6]===`A`&&e[t+7]===`[`){for(t+=8;t`){t+=2;break}}return t}function my(e,t){let n=``,r=``,i=!1;for(;t`&&r===``){i=!0;break}n+=e[t]}return r===``?{value:n,index:t,tagClosed:i}:!1}const hy=RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,`g`);function gy(e,t){let n=iy(e,hy),r={};for(let e=0;e`,GT:`>`,quot:`"`,QUOT:`"`,apos:`'`,lsquo:`‘`,rsquo:`’`,ldquo:`“`,rdquo:`”`,lsquor:`‚`,rsquor:`’`,ldquor:`„`,bdquo:`„`,comma:`,`,period:`.`,colon:`:`,semi:`;`,excl:`!`,quest:`?`,num:`#`,dollar:`$`,percent:`%`,amp:`&`,ast:`*`,commat:`@`,lowbar:`_`,verbar:`|`,vert:`|`,sol:`/`,bsol:`\\`,lbrace:`{`,rbrace:`}`,lbrack:`[`,rbrack:`]`,lpar:`(`,rpar:`)`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,COPY:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,REG:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,half:`½`,frac34:`¾`,iquest:`¿`,times:`×`,div:`÷`,divide:`÷`},Ty={Agrave:`À`,agrave:`à`,Aacute:`Á`,aacute:`á`,Acirc:`Â`,acirc:`â`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,Aring:`Å`,aring:`å`,AElig:`Æ`,aelig:`æ`,Ccedil:`Ç`,ccedil:`ç`,Egrave:`È`,egrave:`è`,Eacute:`É`,eacute:`é`,Ecirc:`Ê`,ecirc:`ê`,Euml:`Ë`,euml:`ë`,Igrave:`Ì`,igrave:`ì`,Iacute:`Í`,iacute:`í`,Icirc:`Î`,icirc:`î`,Iuml:`Ï`,iuml:`ï`,ETH:`Ð`,eth:`ð`,Ntilde:`Ñ`,ntilde:`ñ`,Ograve:`Ò`,ograve:`ò`,Oacute:`Ó`,oacute:`ó`,Ocirc:`Ô`,ocirc:`ô`,Otilde:`Õ`,otilde:`õ`,Ouml:`Ö`,ouml:`ö`,Oslash:`Ø`,oslash:`ø`,Ugrave:`Ù`,ugrave:`ù`,Uacute:`Ú`,uacute:`ú`,Ucirc:`Û`,ucirc:`û`,Uuml:`Ü`,uuml:`ü`,Yacute:`Ý`,yacute:`ý`,THOR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,ast:`*`,midast:`*`,compfn:`∘`,smallcircle:`∘`,bullet:`•`,bull:`•`,nbsp:`\xA0`,hellip:`…`,mldr:`…`,prime:`′`,Prime:`″`,tprime:`‴`,bprime:`‵`,backprime:`‵`,minus:`−`,minusd:`∸`,dotminus:`∸`,plusdo:`∔`,dotplus:`∔`,plusmn:`±`,minusplus:`∓`,mnplus:`∓`,mp:`∓`,setminus:`∖`,smallsetminus:`∖`,Backslash:`∖`,setmn:`∖`,ssetmn:`∖`,lowbar:`_`,verbar:`|`,vert:`|`,VerticalLine:`|`,colon:`:`,Colon:`∷`,Proportion:`∷`,ratio:`∶`,equals:`=`,ne:`≠`,nequiv:`≢`,equiv:`≡`,Congruent:`≡`,sim:`∼`,thicksim:`∼`,thksim:`∼`,sime:`≃`,simeq:`≃`,TildeEqual:`≃`,asymp:`≈`,approx:`≈`,thickapprox:`≈`,thkap:`≈`,TildeTilde:`≈`,ncong:`≇`,cong:`≅`,TildeFullEqual:`≅`,asympeq:`≍`,CupCap:`≍`,bump:`≎`,Bumpeq:`≎`,HumpDownHump:`≎`,bumpe:`≏`,bumpeq:`≏`,HumpEqual:`≏`,dotminus:`∸`,minusd:`∸`,plusdo:`∔`,dotplus:`∔`,le:`≤`,LessEqual:`≤`,ge:`≥`,GreaterEqual:`≥`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,greater:`>`,less:`<`},Ay={alefsym:`ℵ`,aleph:`ℵ`,beth:`ℶ`,gimel:`ℷ`,daleth:`ℸ`,forall:`∀`,ForAll:`∀`,part:`∂`,PartialD:`∂`,exist:`∃`,Exists:`∃`,nexist:`∄`,nexists:`∄`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,varnothing:`∅`,nabla:`∇`,Del:`∇`,isin:`∈`,isinv:`∈`,in:`∈`,Element:`∈`,notin:`∉`,notinva:`∉`,ni:`∋`,niv:`∋`,SuchThat:`∋`,ReverseElement:`∋`,notni:`∌`,notniva:`∌`,prod:`∏`,Product:`∏`,coprod:`∐`,Coproduct:`∐`,sum:`∑`,Sum:`∑`,minus:`−`,mp:`∓`,plusdo:`∔`,dotplus:`∔`,setminus:`∖`,lowast:`∗`,radic:`√`,Sqrt:`√`,prop:`∝`,propto:`∝`,Proportional:`∝`,varpropto:`∝`,infin:`∞`,infintie:`⧝`,ang:`∠`,angle:`∠`,angmsd:`∡`,measuredangle:`∡`,angsph:`∢`,mid:`∣`,VerticalBar:`∣`,nmid:`∤`,nsmid:`∤`,npar:`∦`,parallel:`∥`,spar:`∥`,nparallel:`∦`,nspar:`∦`,and:`∧`,wedge:`∧`,or:`∨`,vee:`∨`,cap:`∩`,cup:`∪`,int:`∫`,Integral:`∫`,conint:`∮`,ContourIntegral:`∮`,Conint:`∯`,DoubleContourIntegral:`∯`,Cconint:`∰`,there4:`∴`,therefore:`∴`,Therefore:`∴`,becaus:`∵`,because:`∵`,Because:`∵`,ratio:`∶`,Proportion:`∷`,minusd:`∸`,dotminus:`∸`,mDDot:`∺`,homtht:`∻`,sim:`∼`,bsimg:`∽`,backsim:`∽`,ac:`∾`,mstpos:`∾`,acd:`∿`,VerticalTilde:`≀`,wr:`≀`,wreath:`≀`,nsime:`≄`,nsimeq:`≄`,nsimeq:`≄`,ncong:`≇`,simne:`≆`,ncongdot:`⩭̸`,ngsim:`≵`,nsim:`≁`,napprox:`≉`,nap:`≉`,ngeq:`≱`,nge:`≱`,nleq:`≰`,nle:`≰`,ngtr:`≯`,ngt:`≯`,nless:`≮`,nlt:`≮`,nprec:`⊀`,npr:`⊀`,nsucc:`⊁`,nsc:`⊁`},jy={larr:`←`,leftarrow:`←`,LeftArrow:`←`,uarr:`↑`,uparrow:`↑`,UpArrow:`↑`,rarr:`→`,rightarrow:`→`,RightArrow:`→`,darr:`↓`,downarrow:`↓`,DownArrow:`↓`,harr:`↔`,leftrightarrow:`↔`,LeftRightArrow:`↔`,varr:`↕`,updownarrow:`↕`,UpDownArrow:`↕`,nwarr:`↖`,nwarrow:`↖`,UpperLeftArrow:`↖`,nearr:`↗`,nearrow:`↗`,UpperRightArrow:`↗`,searr:`↘`,searrow:`↘`,LowerRightArrow:`↘`,swarr:`↙`,swarrow:`↙`,LowerLeftArrow:`↙`,lArr:`⇐`,Leftarrow:`⇐`,uArr:`⇑`,Uparrow:`⇑`,rArr:`⇒`,Rightarrow:`⇒`,dArr:`⇓`,Downarrow:`⇓`,hArr:`⇔`,Leftrightarrow:`⇔`,iff:`⇔`,vArr:`⇕`,Updownarrow:`⇕`,lAarr:`⇚`,Lleftarrow:`⇚`,rAarr:`⇛`,Rrightarrow:`⇛`,lrarr:`⇆`,leftrightarrows:`⇆`,rlarr:`⇄`,rightleftarrows:`⇄`,lrhar:`⇋`,leftrightharpoons:`⇋`,ReverseEquilibrium:`⇋`,rlhar:`⇌`,rightleftharpoons:`⇌`,Equilibrium:`⇌`,udarr:`⇅`,UpArrowDownArrow:`⇅`,duarr:`⇵`,DownArrowUpArrow:`⇵`,llarr:`⇇`,leftleftarrows:`⇇`,rrarr:`⇉`,rightrightarrows:`⇉`,ddarr:`⇊`,downdownarrows:`⇊`,har:`↽`,lhard:`↽`,leftharpoondown:`↽`,lharu:`↼`,leftharpoonup:`↼`,rhard:`⇁`,rightharpoondown:`⇁`,rharu:`⇀`,rightharpoonup:`⇀`,lsh:`↰`,Lsh:`↰`,rsh:`↱`,Rsh:`↱`,ldsh:`↲`,rdsh:`↳`,hookleftarrow:`↩`,hookrightarrow:`↪`,mapstoleft:`↤`,mapstoup:`↥`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,crarr:`↵`,nwarrow:`↖`,nearrow:`↗`,searrow:`↘`,swarrow:`↙`,nleftarrow:`↚`,nleftrightarrow:`↮`,nrightarrow:`↛`,nrarr:`↛`,larrtl:`↢`,rarrtl:`↣`,leftarrowtail:`↢`,rightarrowtail:`↣`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Larr:`↞`,Rarr:`↠`,larrhk:`↩`,rarrhk:`↪`,larrlp:`↫`,looparrowleft:`↫`,rarrlp:`↬`,looparrowright:`↬`,harrw:`↭`,leftrightsquigarrow:`↭`,nrarrw:`↝̸`,rarrw:`↝`,rightsquigarrow:`↝`,larrbfs:`⤟`,rarrbfs:`⤠`,nvHarr:`⤄`,nvlArr:`⤂`,nvrArr:`⤃`,larrfs:`⤝`,rarrfs:`⤞`,Map:`⤅`,larrsim:`⥳`,rarrsim:`⥴`,harrcir:`⥈`,Uarrocir:`⥉`,lurdshar:`⥊`,ldrdhar:`⥧`,ldrushar:`⥋`,rdldhar:`⥩`,lrhard:`⥭`,rlhar:`⇌`,uharr:`↾`,uharl:`↿`,dharr:`⇂`,dharl:`⇃`,Uarr:`↟`,Darr:`↡`,zigrarr:`⇝`,nwArr:`⇖`,neArr:`⇗`,seArr:`⇘`,swArr:`⇙`,nharr:`↮`,nhArr:`⇎`,nlarr:`↚`,nlArr:`⇍`,nrarr:`↛`,nrArr:`⇏`,larrb:`⇤`,LeftArrowBar:`⇤`,rarrb:`⇥`,RightArrowBar:`⇥`},My={square:`□`,Square:`□`,squ:`□`,squf:`▪`,squarf:`▪`,blacksquar:`▪`,blacksquare:`▪`,FilledVerySmallSquare:`▪`,blk34:`▓`,blk12:`▒`,blk14:`░`,block:`█`,srect:`▭`,rect:`▭`,sdot:`⋅`,sdotb:`⊡`,dotsquare:`⊡`,triangle:`▵`,tri:`▵`,trine:`▵`,utri:`▵`,triangledown:`▿`,dtri:`▿`,tridown:`▿`,triangleleft:`◃`,ltri:`◃`,triangleright:`▹`,rtri:`▹`,blacktriangle:`▴`,utrif:`▴`,blacktriangledown:`▾`,dtrif:`▾`,blacktriangleleft:`◂`,ltrif:`◂`,blacktriangleright:`▸`,rtrif:`▸`,loz:`◊`,lozenge:`◊`,blacklozenge:`⧫`,lozf:`⧫`,bigcirc:`◯`,xcirc:`◯`,circ:`ˆ`,Circle:`○`,cir:`○`,o:`○`,bullet:`•`,bull:`•`,hellip:`…`,mldr:`…`,nldr:`‥`,boxh:`─`,HorizontalLine:`─`,boxv:`│`,boxdr:`┌`,boxdl:`┐`,boxur:`└`,boxul:`┘`,boxvr:`├`,boxvl:`┤`,boxhd:`┬`,boxhu:`┴`,boxvh:`┼`,boxH:`═`,boxV:`║`,boxdR:`╒`,boxDr:`╓`,boxDR:`╔`,boxDl:`╕`,boxdL:`╖`,boxDL:`╗`,boxuR:`╘`,boxUr:`╙`,boxUR:`╚`,boxUl:`╜`,boxuL:`╛`,boxUL:`╝`,boxvR:`╞`,boxVr:`╟`,boxVR:`╠`,boxVl:`╢`,boxvL:`╡`,boxVL:`╣`,boxHd:`╤`,boxhD:`╥`,boxHD:`╦`,boxHu:`╧`,boxhU:`╨`,boxHU:`╩`,boxvH:`╪`,boxVh:`╫`,boxVH:`╬`},Ny={excl:`!`,iexcl:`¡`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,nbsp:`\xA0`,comma:`,`,period:`.`,colon:`:`,semi:`;`,vert:`|`,Verbar:`‖`,verbar:`|`,dblac:`˝`,circ:`ˆ`,caron:`ˇ`,breve:`˘`,dot:`˙`,ring:`˚`,ogon:`˛`,tilde:`˜`,DiacriticalGrave:"`",DiacriticalAcute:`´`,DiacriticalTilde:`˜`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,grave:"`",acute:`´`},Py={cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,euro:`€`,dollar:`$`,euro:`€`,fnof:`ƒ`,inr:`₹`,af:`؋`,birr:`ብር`,peso:`₱`,rub:`₽`,won:`₩`,yuan:`¥`,cedil:`¸`},Fy={frac12:`½`,half:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`},Iy={trade:`™`,TRADE:`™`,telrec:`⌕`,target:`⌖`,ulcorn:`⌜`,ulcorner:`⌜`,urcorn:`⌝`,urcorner:`⌝`,dlcorn:`⌞`,llcorner:`⌞`,drcorn:`⌟`,lrcorner:`⌟`,intercal:`⊺`,intcal:`⊺`,oplus:`⊕`,CirclePlus:`⊕`,ominus:`⊖`,CircleMinus:`⊖`,otimes:`⊗`,CircleTimes:`⊗`,osol:`⊘`,odot:`⊙`,CircleDot:`⊙`,oast:`⊛`,circledast:`⊛`,odash:`⊝`,circleddash:`⊝`,ocirc:`⊚`,circledcirc:`⊚`,boxplus:`⊞`,plusb:`⊞`,boxminus:`⊟`,minusb:`⊟`,boxtimes:`⊠`,timesb:`⊠`,boxdot:`⊡`,sdotb:`⊡`,veebar:`⊻`,vee:`∨`,barvee:`⊽`,and:`∧`,wedge:`∧`,Cap:`⋒`,Cup:`⋓`,Fork:`⋔`,pitchfork:`⋔`,epar:`⋕`,ltlarr:`⥶`,nvap:`≍⃒`,nvsim:`∼⃒`,nvge:`≥⃒`,nvle:`≤⃒`,nvlt:`<⃒`,nvgt:`>⃒`,nvltrie:`⊴⃒`,nvrtrie:`⊵⃒`,Vdash:`⊩`,dashv:`⊣`,vDash:`⊨`,Vdash:`⊩`,Vvdash:`⊪`,nvdash:`⊬`,nvDash:`⊭`,nVdash:`⊮`,nVDash:`⊯`};({...wy,...Ty,...Ey,...Dy,...Oy,...ky,...Ay,...jy,...My,...Ny,...Py,...Fy,...Iy});const Ly={amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`},Ry={nbsp:`\xA0`,copy:`©`,reg:`®`,trade:`™`,mdash:`—`,ndash:`–`,hellip:`…`,laquo:`«`,raquo:`»`,lsquo:`‘`,rsquo:`’`,ldquo:`“`,rdquo:`”`,bull:`•`,para:`¶`,sect:`§`,deg:`°`,frac12:`½`,frac14:`¼`,frac34:`¾`},zy=new Set(`!?\\\\/[]$%{}^&*()<>|+`);function By(e){if(e[0]===`#`)throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(zy.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Vy(...e){let t=Object.create(null);for(let n of e)if(n)for(let e of Object.keys(n)){let r=n[e];if(typeof r==`string`)t[e]=r;else if(r&&typeof r==`object`&&r.val!==void 0){let n=r.val;typeof n==`string`&&(t[e]=n)}}return t}const Hy=`external`,Uy=`base`;function Wy(e){return!e||e===Hy?new Set([Hy]):e===`all`?new Set([`all`]):e===Uy?new Set([Uy]):Array.isArray(e)?new Set(e):new Set([Hy])}const Gy=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Ky=new Set([9,10,13]);function qy(e){if(!e)return{xmlVersion:1,onLevel:Gy.allow,nullLevel:Gy.remove};let t=e.xmlVersion===1.1?1.1:1,n=Gy[e.onNCR]??Gy.allow,r=Gy[e.nullNCR]??Gy.remove;return{xmlVersion:t,onLevel:n,nullLevel:Math.max(r,Gy.remove)}}var Jy=class{constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck==`function`?e.postCheck:e=>e,this._limitTiers=Wy(this._limit.applyLimitsTo??Hy),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Vy(Ly,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let t=qy(e.ncr);this._ncrXmlVersion=t.xmlVersion,this._ncrOnLevel=t.onLevel,this._ncrNullLevel=t.nullLevel}setExternalEntities(e){if(e)for(let t of Object.keys(e))By(t);this._externalMap=Vy(e)}addExternalEntity(e,t){By(e),typeof t==`string`&&t.indexOf(`&`)===-1&&(this._externalMap[e]=t)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=Vy(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!=`string`||e.length===0)return e;let t=e,n=[],r=e.length,i=0,a=0,o=this._maxTotalExpansions>0,s=this._maxExpandedLength>0,c=o||s;for(;a=r||e.charCodeAt(t)!==59){a++;continue}let l=e.slice(a+1,t);if(l.length===0){a++;continue}let u,d;if(this._removeSet.has(l))u=``,d===void 0&&(d=Hy);else if(this._leaveSet.has(l)){a++;continue}else if(l.charCodeAt(0)===35){let e=this._resolveNCR(l);if(e===void 0){a++;continue}u=e,d=Uy}else{let e=this._resolveName(l);u=e?.value,d=e?.tier}if(u===void 0){a++;continue}if(a>i&&n.push(e.slice(i,a)),n.push(u),i=t+1,a=i,c&&this._tierCounts(d)){if(o&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(s){let e=u.length-(l.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!Ky.has(e)?Gy.remove:-1}_applyNCRAction(e,t,n){switch(e){case Gy.allow:return String.fromCodePoint(n);case Gy.remove:return``;case Gy.leave:return;case Gy.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${n.toString(16).toUpperCase().padStart(4,`0`)})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let t=e.charCodeAt(1),n;if(n=t===120||t===88?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let r=this._classifyNCR(n);if(!this._numericAllowed&&rsy.includes(e)?`__`+e:e,Xy={preserveOrder:!1,attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Yy};function Zy(e,t){if(typeof e!=`string`)return;let n=e.toLowerCase();if(sy.some(e=>n===e.toLowerCase())||cy.some(e=>n===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}function Qy(e,t){return typeof e==`boolean`?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:`all`}:typeof e==`object`&&e?{enabled:e.enabled!==!1,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1e3),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??`all`}:Qy(!0)}const $y=function(e){let t=Object.assign({},Xy,e),n=[{value:t.attributeNamePrefix,name:`attributeNamePrefix`},{value:t.attributesGroupName,name:`attributesGroupName`},{value:t.textNodeName,name:`textNodeName`},{value:t.cdataPropName,name:`cdataPropName`},{value:t.commentPropName,name:`commentPropName`}];for(let{value:e,name:t}of n)e&&Zy(e,t);return t.onDangerousProperty===null&&(t.onDangerousProperty=Yy),t.processEntities=Qy(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>typeof e==`string`&&e.startsWith(`*.`)?`..`+e.substring(2):e)),t};let eb;eb=typeof Symbol==`function`?Symbol(`XML Node Metadata`):`@@xmlMetadata`;var tb=class{constructor(e){this.tagname=e,this.child=[],this[`:@`]=Object.create(null)}add(e,t){e===`__proto__`&&(e=`#__proto__`),this.child.push({[e]:t})}addChild(e,t){e.tagname===`__proto__`&&(e.tagname=`#__proto__`),e[`:@`]&&Object.keys(e[`:@`]).length>0?this.child.push({[e.tagname]:e.child,":@":e[`:@`]}):this.child.push({[e.tagname]:e.child}),t!==void 0&&(this.child[this.child.length-1][eb]={startIndex:t})}static getMetaDataSymbol(){return eb}};const nb=`:A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�`;nb+``;const rb=`:A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`;rb+``;const ib=(e,t,n=``)=>{let r=`[${e.replace(`:`,``)}][${t.replace(`:`,``)}]*`;return{name:RegExp(`^[${e}][${t}]*$`,n),ncName:RegExp(`^${r}$`,n),qName:RegExp(`^${r}(?::${r})?$`,n),nmToken:RegExp(`^[${t}]+$`,n),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,n)}},ab=ib(nb,`:A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\\-\\.\\d·̀-ͯ‿-⁀`),ob=ib(rb,`:A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿\\-\\.\\d·̀-ͯ҇‿-⁀`,`u`),sb=(e=`1.0`)=>e===`1.1`?ob:ab,cb=(e,{xmlVersion:t=`1.0`}={})=>sb(t).qName.test(e);var lb=class{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let n=Object.create(null),r=0;if(e[t+3]===`O`&&e[t+4]===`C`&&e[t+5]===`T`&&e[t+6]===`Y`&&e[t+7]===`P`&&e[t+8]===`E`){t+=9;let i=1,a=!1,o=!1,s=``;for(;t=this.options.maxEntityCount)throw Error(`Entity count (${r+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[i]=a,r++}}else if(a&&db(e,`!ELEMENT`,t)){t+=8;let{index:n}=this.readElementExp(e,t+1);t=n}else if(a&&db(e,`!ATTLIST`,t))t+=8;else if(a&&db(e,`!NOTATION`,t)){t+=9;let{index:n}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=n}else if(db(e,`!--`,t))o=!0;else throw Error(`Invalid DOCTYPE`);i++,s=``}else if(e[t]===`>`){if(o?e[t-1]===`-`&&e[t-2]===`-`&&(o=!1,i--):i--,i===0)break}else e[t]===`[`?a=!0:s+=e[t];if(i!==0)throw Error(`Unclosed DOCTYPE`)}else throw Error(`Invalid Tag instead of DOCTYPE`);return{entities:n,i:t}}readEntityExp(e,t){t=ub(e,t);let n=t;for(;tthis.options.maxEntitySize)throw Error(`Entity "${r}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return t--,[r,i,t]}readNotationExp(e,t){t=ub(e,t);let n=t;for(;t{for(;t1||a.length===1&&!s))return e;{let r=Number(n),s=String(r);if(r===0)return r;if(s.search(/[eE]/)!==-1)return t.eNotation?r:e;if(n.indexOf(`.`)!==-1)return s===`0`||s===o||s===`${i}${o}`?r:e;let c=a?o:n;return a?c===s||i+c===s?r:e:c===s||c===i+s?r:e}}else return e}}const yb=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function bb(e,t,n){if(!n.eNotation)return e;let r=t.match(yb);if(r){let i=r[1]||``,a=r[3].indexOf(`e`)===-1?`E`:`e`,o=r[2],s=i?e[o.length+1]===a:e[o.length]===a;return o.length>1&&s?e:o.length===1&&(r[3].startsWith(`.${a}`)||r[3][0]===a)?Number(t):o.length>0?n.leadingZeros&&!s?(t=(r[1]||``)+r[3],Number(t)):e:Number(t)}else return e}function xb(e){return e&&e.indexOf(`.`)!==-1?(e=e.replace(/0+$/,``),e===`.`?e=`0`:e[0]===`.`?e=`0`+e:e[e.length-1]===`.`&&(e=e.substring(0,e.length-1)),e):e}function Sb(e,t){let n=e.trim();if((t===2||t===8)&&(e=n.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error(`parseInt, Number.parseInt, window.parseInt are not supported`)}function Cb(e,t,n){let r=t===1/0;switch(n.infinity.toLowerCase()){case`null`:return null;case`infinity`:return t;case`string`:return r?`Infinity`:`-Infinity`;default:return e}}function wb(e){return typeof e==`function`?e:Array.isArray(e)?t=>{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}var Tb=class{constructor(e,t={},n){this.pattern=e,this.separator=t.separator||`.`,this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(e=>e.type===`deep-wildcard`),this._hasAttributeCondition=this.segments.some(e=>e.attrName!==void 0),this._hasPositionSelector=this.segments.some(e=>e.position!==void 0)}_parse(e){let t=[],n=0,r=``;for(;n0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(t.length!==0)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(t.length===0)return!1;let n=t[t.length-1];return n.values!==void 0&&e in n.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},Ob=class{constructor(e={}){this.separator=e.separator||`.`,this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Db(this)}push(e,t=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let r=this.path.length;this.siblingStacks[r]||(this.siblingStacks[r]=new Map);let i=this.siblingStacks[r],a=n?`${n}:${e}`:e,o=i.get(a)||0,s=0;for(let e of i.values())s+=e;i.set(a,o+1);let c={tag:e,position:s,counter:o};n!=null&&(c.namespace=n),t!=null&&(c.values=t),this.path.push(c)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];e!=null&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let t=this.path[this.path.length-1];return t.values!==void 0&&e in t.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let n=e||this.separator;if(n===this.separator&&t===!0){if(this._pathStringCache!==null)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let t=e.segments;return t.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t=0&&t>=0;){let r=e[n];if(r.type===`deep-wildcard`){if(n--,n<0)return!0;let r=e[n],i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(r,this.path[e],e===this.path.length-1)){t=e-1,n--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(r,this.path[t],t===this.path.length-1))return!1;t--,n--}}return n<0}_matchSegment(e,t,n){if(e.tag!==`*`&&e.tag!==t.tag||e.namespace!==void 0&&e.namespace!==`*`&&e.namespace!==t.namespace||e.attrName!==void 0&&(!n||!t.values||!(e.attrName in t.values)||e.attrValue!==void 0&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!n)return!1;let r=t.counter??0;if(e.position===`first`&&r!==0||e.position===`odd`&&r%2!=1||e.position===`even`&&r%2!=0||e.position===`nth`&&r!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>new Map(e))}readOnly(){return this._view}};function kb(e,t){if(!e)return{};let n=t.attributesGroupName?e[t.attributesGroupName]:e;if(!n)return{};let r={};for(let e in n)if(e.startsWith(t.attributeNamePrefix)){let i=e.substring(t.attributeNamePrefix.length);r[i]=n[e]}else r[e]=n[e];return r}function Ab(e){if(!e||typeof e!=`string`)return;let t=e.indexOf(`:`);if(t!==-1&&t>0){let n=e.substring(0,t);if(n!==`xmlns`)return n}}var jb=class{constructor(e,t){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Ib,this.parseTextData=Mb,this.resolveNameSpace=Nb,this.buildAttributesMap=Fb,this.isItStopNode=Bb,this.replaceEntitiesValue=Rb,this.readStopNodeData=Gb,this.saveTextToParentTag=zb,this.addChild=Lb,this.ignoreAttributesFn=wb(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...Ly};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities==`object`?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...Ry,...Py}),this.entityDecoder=new Jy({namedEntities:{...n,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new Ob,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Eb;let r=this.options.stopNodes;if(r&&r.length>0){for(let e=0;e0)){o||(e=this.replaceEntitiesValue(e,t,n));let r=s.jPath?n.toString():n,c=s.tagValueProcessor(t,e,r,i,a);return c==null?e:typeof c!=typeof e||c!==e?c:s.trimValues||e.trim()===e?Kb(e,s.parseTagValue,s.numberParseOptions):e}}function Nb(e){if(this.options.removeNSPrefix){let t=e.split(`:`),n=e.charAt(0)===`/`?`/`:``;if(t[0]===`xmlns`)return``;t.length===2&&(e=n+t[1])}return e}const Pb=RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,`gm`);function Fb(e,t,n,r=!1){let i=this.options;if(r===!0||i.ignoreAttributes!==!0&&typeof e==`string`){let r=iy(e,Pb),a=r.length,o={},s=Array(a),c=!1,l={};for(let e=0;e`,s,`Closing Tag is not closed.`),a=e.substring(s+2,t).trim();if(i.removeNSPrefix){let e=a.indexOf(`:`);e!==-1&&(a=a.substr(e+1))}a=qb(i.transformTagName,a,``,i).tagName,n&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(a&&i.unpairedTagsSet.has(a))throw Error(`Unpaired tag can not be used as closing tag: `);o&&i.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,n=this.tagsNodeStack.pop(),r=``,s=t}else if(c===63){let t=Wb(e,s,!1,`?>`);if(!t)throw Error(`Pi Tag is not closed.`);r=this.saveTextToParentTag(r,n,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+`version`];this.entityDecoder.setXmlVersion(Number(e)||1),a.setXmlVersion(Number(e)||1)}if(!(i.ignoreDeclaration&&t.tagName===`?xml`||i.ignorePiTags)){let e=new tb(t.tagName);e.add(i.textNodeName,``),t.tagName!==t.tagExp&&t.attrExpPresent&&i.ignoreAttributes!==!0&&(e[`:@`]=o),this.addChild(n,e,this.readonlyMatcher,s)}s=t.closeIndex+1}else if(c===33&&e.charCodeAt(s+2)===45&&e.charCodeAt(s+3)===45){let t=Hb(e,`-->`,s+4,`Comment is not closed.`);if(i.commentPropName){let a=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,this.readonlyMatcher),n.add(i.commentPropName,[{[i.textNodeName]:a}])}s=t}else if(c===33&&e.charCodeAt(s+2)===68){let t=a.readDocType(e,s);this.entityDecoder.addInputEntities(t.entities),s=t.i}else if(c===33&&e.charCodeAt(s+2)===91){let t=Hb(e,`]]>`,s,`CDATA is not closed.`)-2,a=e.substring(s+9,t);r=this.saveTextToParentTag(r,n,this.readonlyMatcher);let o=this.parseTextData(a,n.tagname,this.readonlyMatcher,!0,!1,!0,!0);o??=``,i.cdataPropName?n.add(i.cdataPropName,[{[i.textNodeName]:a}]):n.add(i.textNodeName,o),s=t+2}else{let a=Wb(e,s,i.removeNSPrefix);if(!a){let t=e.substring(Math.max(0,s-50),Math.min(o,s+50));throw Error(`readTagExp returned undefined at position ${s}. Context: "${t}"`)}let c=a.tagName,l=a.rawTagName,u=a.tagExp,d=a.attrExpPresent,f=a.closeIndex;if({tagName:c,tagExp:u}=qb(i.transformTagName,c,u,i),i.strictReservedNames&&(c===i.commentPropName||c===i.cdataPropName||c===i.textNodeName||c===i.attributesGroupName))throw Error(`Invalid tag name: ${c}`);n&&r&&n.tagname!==`!xml`&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher,!1));let p=n;p&&i.unpairedTagsSet.has(p.tagname)&&(n=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;u.length>0&&u.lastIndexOf(`/`)===u.length-1&&(m=!0,c[c.length-1]===`/`?(c=c.substr(0,c.length-1),u=c):u=u.substr(0,u.length-1),d=c!==u);let h=null,g;g=Ab(l),c!==t.tagname&&this.matcher.push(c,{},g),c!==u&&d&&(h=this.buildAttributesMap(u,this.matcher,c),h&&kb(h,i)),c!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let _=s;if(this.isCurrentNodeStopNode){let t=``;if(m)s=a.closeIndex;else if(i.unpairedTagsSet.has(c))s=a.closeIndex;else{let n=this.readStopNodeData(e,l,f+1);if(!n)throw Error(`Unexpected end of ${l}`);s=n.i,t=n.tagContent}let r=new tb(c);h&&(r[`:@`]=h),r.add(i.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(n,r,this.readonlyMatcher,_)}else{if(m){({tagName:c,tagExp:u}=qb(i.transformTagName,c,u,i));let e=new tb(c);h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(c)){let e=new tb(c);h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=a.closeIndex;continue}else{let e=new tb(c);if(this.tagsNodeStack.length>i.maxNestedTags)throw Error(`Maximum nested tags exceeded`);this.tagsNodeStack.push(n),h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),n=e}r=``,s=f}}}else r+=e[s];return t.child};function Lb(e,t,n,r){this.options.captureMetaData||(r=void 0);let i=this.options.jPath?n.toString():n,a=this.options.updateTag(t.tagname,i,t[`:@`]);a===!1||(typeof a==`string`&&(t.tagname=a),e.addChild(t,r))}function Rb(e,t,n){let r=this.options.processEntities;if(!r||!r.enabled)return e;if(r.allowedTags){let i=this.options.jPath?n.toString():n;if(!(Array.isArray(r.allowedTags)?r.allowedTags.includes(t):r.allowedTags(t,i)))return e}if(r.tagFilter){let i=this.options.jPath?n.toString():n;if(!r.tagFilter(t,i))return e}return this.entityDecoder.decode(e)}function zb(e,t,n,r){return e&&=(r===void 0&&(r=t.child.length===0),e=this.parseTextData(e,t.tagname,n,!1,t[`:@`]?Object.keys(t[`:@`]).length!==0:!1,r),e!==void 0&&e!==``&&t.add(this.options.textNodeName,e),``),e}function Bb(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Vb(e,t,n=`>`){let r=0,i=e.length,a=n.charCodeAt(0),o=n.length>1?n.charCodeAt(1):-1,s=``,c=t;for(let n=t;n`){let i=Vb(e,t+1,r);if(!i)return;let a=i.data,o=i.index,s=a.search(/\s/),c=a,l=!0;s!==-1&&(c=a.substring(0,s),a=a.substring(s+1).trimStart());let u=c;if(n){let e=c.indexOf(`:`);e!==-1&&(c=c.substr(e+1),l=c!==i.data.substr(e+1))}return{tagName:c,tagExp:a,closeIndex:o,attrExpPresent:l,rawTagName:u}}function Gb(e,t,n){let r=n,i=1,a=e.length;for(;n`,n,`${t} is not closed`);if(e.substring(n+2,a).trim()===t&&(i--,i===0))return{tagContent:e.substring(r,n),i:a};n=a}else if(a===63)n=Hb(e,`?>`,n+1,`StopNode is not closed.`);else if(a===33&&e.charCodeAt(n+2)===45&&e.charCodeAt(n+3)===45)n=Hb(e,`-->`,n+3,`StopNode is not closed.`);else if(a===33&&e.charCodeAt(n+2)===91)n=Hb(e,`]]>`,n,`StopNode is not closed.`)-2;else{let r=Wb(e,n,!1);r&&((r&&r.tagName)===t&&r.tagExp[r.tagExp.length-1]!==`/`&&i++,n=r.closeIndex)}}}function Kb(e,t,n){if(t&&typeof e==`string`){let t=e.trim();return t===`true`?!0:t===`false`?!1:vb(e,n)}else if(oy(e))return e;else return``}function qb(e,t,n,r){if(e){let r=e(t);n===t&&(n=r),t=r}return t=Jb(t,r),{tagName:t,tagExp:n}}function Jb(e,t){if(cy.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return sy.includes(e)?t.onDangerousProperty(e):e}const Yb=tb.getMetaDataSymbol();function Xb(e,t){if(!e||typeof e!=`object`)return{};if(!t)return e;let n={};for(let r in e)if(r.startsWith(t)){let i=r.substring(t.length);n[i]=e[r]}else n[r]=e[r];return n}function Zb(e,t,n,r){return Qb(e,t,n,r)}function Qb(e,t,n,r){let i,a={};for(let o=0;o0&&(a[t.textNodeName]=i):i!==void 0&&(a[t.textNodeName]=i),a}function $b(e){let t=Object.keys(e);for(let e=0;e/g,`]]]]>`)}function ax(e){return String(e).replace(/"/g,`"`).replace(/'/g,`'`)}function ox(e,t){if(!Array.isArray(e)||e.length===0)return`1.0`;let n=e[0];if(px(n)===`?xml`){let e=n[`:@`];if(e){let n=t.attributeNamePrefix+`version`;if(e[n])return e[n]}}return`1.0`}function sx(e,t,n,r,i){return!n.sanitizeName||cb(e,{xmlVersion:i})?e:n.sanitizeName(e,{isAttribute:t,matcher:r.readOnly()})}function cx(e,t){let n=``;t.format&&(n=` -`);let r=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;et.maxNestedTags)throw Error(`Maximum nested tags exceeded`);if(!Array.isArray(e)){if(e!=null){let n=e.toString();return n=gx(n,t),n}return``}for(let c=0;c`,s=!1,r.pop();continue}else if(d===t.commentPropName){let e=l[u][0][t.textNodeName],i=rx(e);o+=n+``,s=!0,r.pop();continue}else if(d[0]===`?`){let e=mx(l[`:@`],t,p,r,a);o+=(d===`?xml`?``:n)+`<${d}${e}?>`,s=!0,r.pop();continue}let m=n;m!==``&&(m+=t.indentBy);let h=n+`<${d}${mx(l[`:@`],t,p,r,a)}`,g;g=p?dx(l[u],t):lx(l[u],t,m,r,i,a),t.unpairedTags.indexOf(d)===-1?(!g||g.length===0)&&t.suppressEmptyNode?o+=h+`/>`:g&&g.endsWith(`>`)?o+=h+`>${g}${n}`:(o+=h+`>`,g&&n!==``&&(g.includes(`/>`)||g.includes(``):t.suppressUnpairedNode?o+=h+`>`:o+=h+`/>`,s=!0,r.pop()}return o}function ux(e,t){if(!e||t.ignoreAttributes)return null;let n={},r=!1;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a=i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i;n[a]=ax(e[i]),r=!0}return r?n:null}function dx(e,t){if(!Array.isArray(e))return e==null?``:e.toString();let n=``;for(let r=0;r`:n+=`<${a}${e}>${r}`}}return n}function fx(e,t){let n=``;if(e&&!t.ignoreAttributes)for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=e[r];i===!0&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${ax(i)}"`}return n}function px(e){let t=Object.keys(e);for(let n=0;n0&&t.processEntities)for(let n=0;n{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}const vx={attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:` `,suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp(`&`,`g`),val:`&`},{regex:RegExp(`>`,`g`),val:`>`},{regex:RegExp(`<`,`g`),val:`<`},{regex:RegExp(`'`,`g`),val:`'`},{regex:RegExp(`"`,`g`),val:`"`}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function yx(e){if(this.options=Object.assign({},vx,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e==`string`&&e.startsWith(`*.`)?`..`+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e +`,`utf-8`)],i=Gh(r);i&&e.headers.set(`Content-Length`,i),e.body=await Vh(r)}const qh=`multipartPolicy`,Jh=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function Yh(e){if(e.length>70)throw Error(`Multipart boundary "${e}" exceeds maximum length of 70 characters`);if(Array.from(e).some(e=>!Jh.has(e)))throw Error(`Multipart boundary "${e}" contains invalid characters`)}function Xh(){return{name:qh,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error(`multipartBody and regular body cannot be set at the same time`);let n=e.multipartBody.boundary,r=e.headers.get(`Content-Type`)??`multipart/mixed`,i=r.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw Error(`Got multipart request body, but content-type header was not multipart: ${r}`);let[,a,o]=i;if(o&&n&&o!==n)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${n} in the request body`);return n??=o,n?Yh(n):n=Hh(),e.headers.set(`Content-Type`,`${a}; boundary=${n}`),await Kh(e,e.multipartBody.parts,n),e.multipartBody=void 0,t(e)}}}function Zh(){return mm()}const Qh=nm({logLevelEnvVarName:`AZURE_LOG_LEVEL`,namespace:`azure`});Qh.logger;function $h(e){return Qh.createClientLogger(e)}const eg=$h(`core-rest-pipeline`);function tg(e={}){return zm({logger:eg.info,...e})}function ng(e={}){return Vm(e)}function rg(){return`User-Agent`}async function ig(e){if(ye&&ye.versions){let t=`${de.type()} ${de.release()}; ${de.arch()}`,n=ye.versions;n.bun?e.set(`Bun`,`${n.bun} (${t})`):n.deno?e.set(`Deno`,`${n.deno} (${t})`):n.node&&e.set(`Node`,`${n.node} (${t})`)}}const ag=`1.22.3`;function og(e){let t=[];for(let[n,r]of e){let e=r?`${n}/${r}`:n;t.push(e)}return t.join(` `)}function sg(){return rg()}async function cg(e){let t=new Map;t.set(`core-rest-pipeline`,ag),await ig(t);let n=og(t);return e?`${e} ${n}`:n}const lg=sg();function ug(e={}){let t=cg(e.userAgentPrefix);return{name:`userAgentPolicy`,async sendRequest(e,n){return e.headers.has(lg)||e.headers.set(lg,await t),n(e)}}}var dg=class extends Error{constructor(e){super(e),this.name=`AbortError`}};function fg(e,t){let{cleanupBeforeAbort:n,abortSignal:r,abortErrorMsg:i}=t??{};return new Promise((t,a)=>{function o(){a(new dg(i??`The operation was aborted.`))}function s(){r?.removeEventListener(`abort`,c)}function c(){n?.(),s(),o()}if(r?.aborted)return o();try{e(e=>{s(),t(e)},e=>{s(),a(e)})}catch(e){a(e)}r?.addEventListener(`abort`,c)})}function pg(e,t){let n,{abortSignal:r,abortErrorMsg:i}=t??{};return fg(t=>{n=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(n),abortSignal:r,abortErrorMsg:i??`The delay was aborted.`})}function mg(e){if(gm(e))return e.message;{let t;try{t=typeof e==`object`&&e?JSON.stringify(e):String(e)}catch{t=`[unable to stringify input]`}return`Unknown error ${t}`}}function hg(e){return gm(e)}function gg(){return lm()}const _g=ah,vg=Symbol(`rawContent`);function yg(e){return typeof e[vg]==`function`}function bg(e){return yg(e)?e[vg]():e}const xg=qh;function Sg(){let e=Xh();return{name:xg,sendRequest:async(t,n)=>{if(t.multipartBody)for(let e of t.multipartBody.parts)yg(e.body)&&(e.body=bg(e.body));return e.sendRequest(t,n)}}}function Cg(){return Um()}function wg(e={}){return ih(e)}function Tg(){return sh()}function Eg(e){return kh(e)}function Dg(e,t){return Nh(e,t)}function Og(e=`x-ms-client-request-id`){return{name:`setClientRequestIdPolicy`,async sendRequest(t,n){return t.headers.has(e)||t.headers.set(e,t.requestId),n(t)}}}function kg(e){return Ph(e)}function Ag(e){return Fh(e)}const jg={span:Symbol.for(`@azure/core-tracing span`),namespace:Symbol.for(`@azure/core-tracing namespace`)};function Mg(e={}){let t=new Ng(e.parentContext);return e.span&&(t=t.setValue(jg.span,e.span)),e.namespace&&(t=t.setValue(jg.namespace,e.namespace)),t}var Ng=class e{_contextMap;constructor(t){this._contextMap=t instanceof e?new Map(t._contextMap):new Map}setValue(t,n){let r=new e(this);return r._contextMap.set(t,n),r}getValue(e){return this._contextMap.get(e)}deleteValue(t){let n=new e(this);return n._contextMap.delete(t),n}};const Pg=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.state=void 0,e.state={instrumenterImplementation:void 0}}))().state;function Fg(){return{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function Ig(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:Fg(),tracingContext:Mg({parentContext:t.tracingContext})}),withContext(e,t,...n){return t(...n)}}}function Lg(){return Pg.instrumenterImplementation||=Ig(),Pg.instrumenterImplementation}function Rg(e){let{namespace:t,packageName:n,packageVersion:r}=e;function i(e,i,a){let o=Lg().startSpan(e,{...a,packageName:n,packageVersion:r,tracingContext:i?.tracingOptions?.tracingContext}),s=o.tracingContext,c=o.span;return s.getValue(jg.namespace)||(s=s.setValue(jg.namespace,t)),c.setAttribute(`az.namespace`,s.getValue(jg.namespace)),{span:c,updatedOptions:Object.assign({},i,{tracingOptions:{...i?.tracingOptions,tracingContext:s}})}}async function a(e,t,n,r){let{span:a,updatedOptions:s}=i(e,t,r);try{let e=await o(s.tracingOptions.tracingContext,()=>Promise.resolve(n(s,a)));return a.setStatus({status:`success`}),e}catch(e){throw a.setStatus({status:`error`,error:e}),e}finally{a.end()}}function o(e,t,...n){return Lg().withContext(e,t,...n)}function s(e){return Lg().parseTraceparentHeader(e)}function c(e){return Lg().createRequestHeaders(e)}return{startSpan:i,withSpan:a,withContext:o,parseTraceparentHeader:s,createRequestHeaders:c}}const zg=Cm;function Bg(e){return wm(e)}function Vg(e={}){let t=cg(e.userAgentPrefix),n=new xm({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),r=Hg();return{name:`tracingPolicy`,async sendRequest(e,i){if(!r)return i(e);let a=await t,o={"http.url":n.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":a,requestId:e.requestId};a&&(o[`http.user_agent`]=a);let{span:s,tracingContext:c}=Ug(r,e,o)??{};if(!s||!c)return i(e);try{let t=await r.withContext(c,i,e);return Gg(s,t),t}catch(e){throw Wg(s,e),e}}}}function Hg(){try{return Rg({namespace:``,packageName:`@azure/core-rest-pipeline`,packageVersion:ag})}catch(e){eg.warning(`Error when creating the TracingClient: ${mg(e)}`);return}}function Ug(e,t,n){try{let{span:r,updatedOptions:i}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:`client`,spanAttributes:n});if(!r.isRecording()){r.end();return}let a=e.createRequestHeaders(i.tracingOptions.tracingContext);for(let[e,n]of Object.entries(a))t.headers.set(e,n);return{span:r,tracingContext:i.tracingOptions.tracingContext}}catch(e){eg.warning(`Skipping creating a tracing span due to an error: ${mg(e)}`);return}}function Wg(e,t){try{e.setStatus({status:`error`,error:hg(t)?t:void 0}),Bg(t)&&t.statusCode&&e.setAttribute(`http.status_code`,t.statusCode),e.end()}catch(e){eg.warning(`Skipping tracing span processing due to an error: ${mg(e)}`)}}function Gg(e,t){try{e.setAttribute(`http.status_code`,t.status);let n=t.headers.get(`x-ms-request-id`);n&&e.setAttribute(`serviceRequestId`,n),t.status>=400&&e.setStatus({status:`error`}),e.end()}catch(e){eg.warning(`Skipping tracing span processing due to an error: ${mg(e)}`)}}function Kg(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort(e.reason)};let t=new AbortController,n=!0;function r(){n&&=(e.removeEventListener(`abort`,i),!1)}function i(){t.abort(e.reason),r()}return e.addEventListener(`abort`,i),{abortSignal:t.signal,cleanup:r}}function qg(){return{name:`wrapAbortSignalLikePolicy`,sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:n,cleanup:r}=Kg(e.abortSignal);e.abortSignal=n;try{return await t(e)}finally{r?.()}}}}function Jg(e){let t=Zh();return _g&&(e.agent&&t.addPolicy(kg(e.agent)),e.tlsOptions&&t.addPolicy(Ag(e.tlsOptions)),t.addPolicy(Dg(e.proxyOptions)),t.addPolicy(Cg())),t.addPolicy(qg()),t.addPolicy(Tg(),{beforePolicies:[xg]}),t.addPolicy(ug(e.userAgentOptions)),t.addPolicy(Og(e.telemetryOptions?.clientRequestIdHeaderName)),t.addPolicy(Sg(),{afterPhase:`Deserialize`}),t.addPolicy(wg(e.retryOptions),{phase:`Retry`}),t.addPolicy(Vg({...e.userAgentOptions,...e.loggingOptions}),{afterPhase:`Retry`}),_g&&t.addPolicy(ng(e.redirectOptions),{afterPhase:`Retry`}),t.addPolicy(tg(e.loggingOptions),{afterPhase:`Sign`}),t}function Yg(){let e=Rm();return{async sendRequest(t){let{abortSignal:n,cleanup:r}=t.abortSignal?Kg(t.abortSignal):{};try{return t.abortSignal=n,await e.sendRequest(t)}finally{r?.()}}}}function Xg(e){return cm(e)}function Zg(e){return dm(e)}const Qg={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function $g(e,t,n){async function r(){if(Date.now()e.getToken(t,s),a.retryIntervalInMs,r?.expiresOnTimestamp??Date.now()).then(e=>(n=null,r=e,i=s.tenantId,r)).catch(e=>{throw n=null,r=null,i=void 0,e})),n}return async(e,t)=>{let n=!!t.claims,a=i!==t.tenantId;return n&&(r=null),a||n||o.mustRefresh?s(e,t):(o.shouldRefresh&&s(e,t),r)}}async function t_(e,t){try{return[await t(e),void 0]}catch(e){if(Bg(e)&&e.response)return[e.response,e];throw e}}async function n_(e){let{scopes:t,getAccessToken:n,request:r}=e,i=await n(t,{abortSignal:r.abortSignal,tracingOptions:r.tracingOptions,enableCae:!0});i&&e.request.headers.set(`Authorization`,`Bearer ${i.token}`)}function r_(e){return e.status===401&&e.headers.has(`WWW-Authenticate`)}async function i_(e,t){let{scopes:n}=e,r=await e.getAccessToken(n,{enableCae:!0,claims:t});return r?(e.request.headers.set(`Authorization`,`${r.tokenType??`Bearer`} ${r.token}`),!0):!1}function a_(e){let{credential:t,scopes:n,challengeCallbacks:r}=e,i=e.logger||eg,a={authorizeRequest:r?.authorizeRequest?.bind(r)??n_,authorizeRequestOnChallenge:r?.authorizeRequestOnChallenge?.bind(r)},o=t?e_(t):()=>Promise.resolve(null);return{name:`bearerTokenAuthenticationPolicy`,async sendRequest(e,t){if(!e.url.toLowerCase().startsWith(`https://`))throw Error(`Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.`);await a.authorizeRequest({scopes:Array.isArray(n)?n:[n],request:e,getAccessToken:o,logger:i});let r,s,c;if([r,s]=await t_(e,t),r_(r)){let l=s_(r.headers.get(`WWW-Authenticate`));if(l){let a;try{a=atob(l)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),r}c=await i_({scopes:Array.isArray(n)?n:[n],response:r,request:e,getAccessToken:o,logger:i},a),c&&([r,s]=await t_(e,t))}else if(a.authorizeRequestOnChallenge&&(c=await a.authorizeRequestOnChallenge({scopes:Array.isArray(n)?n:[n],request:e,response:r,getAccessToken:o,logger:i}),c&&([r,s]=await t_(e,t)),r_(r)&&(l=s_(r.headers.get(`WWW-Authenticate`)),l))){let a;try{a=atob(l)}catch{return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),r}c=await i_({scopes:Array.isArray(n)?n:[n],response:r,request:e,getAccessToken:o,logger:i},a),c&&([r,s]=await t_(e,t))}}if(s)throw s;return r}}}function o_(e){let t=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,n=/(\w+)="([^"]*)"/g,r=[],i;for(;(i=t.exec(e))!==null;){let e=i[1],t=i[2],a={},o;for(;(o=n.exec(t))!==null;)a[o[1]]=o[2];r.push({scheme:e,params:a})}return r}function s_(e){if(e)return o_(e).find(e=>e.scheme===`Bearer`&&e.params.claims&&e.params.error===`insufficient_claims`)?.params.claims}function c_(e){let t=e;return t&&typeof t.getToken==`function`&&(t.signRequest===void 0||t.getToken.length>0)}const l_=`DisableKeepAlivePolicy`;function u_(){return{name:l_,async sendRequest(e,t){return e.disableKeepAlive=!0,t(e)}}}function d_(e){return e.getOrderedPolicies().some(e=>e.name===l_)}function f_(e){return(e instanceof Buffer?e:Buffer.from(e.buffer)).toString(`base64`)}function p_(e){return Buffer.from(e,`base64`)}function m_(e,t){return t!==`Composite`&&t!==`Dictionary`&&(typeof e==`string`||typeof e==`number`||typeof e==`boolean`||t?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||e==null)}const h_=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function g_(e){return h_.test(e)}const __=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function v_(e){return __.test(e)}function y_(e){let t={...e.headers,...e.body};return e.hasNullableType&&Object.getOwnPropertyNames(t).length===0?e.shouldWrapBody?{body:null}:null:e.shouldWrapBody?{...e.headers,body:e.body}:t}function b_(e,t){let n=e.parsedHeaders;if(e.request.method===`HEAD`)return{...n,body:e.parsedBody};let r=t&&t.bodyMapper,i=!!r?.nullable,a=r?.type.name;if(a===`Stream`)return{...n,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let o=a===`Composite`&&r.type.modelProperties||{},s=Object.keys(o).some(e=>o[e].serializedName===``);if(a===`Sequence`||s){let t=e.parsedBody??[];for(let n of Object.keys(o))o[n].serializedName&&(t[n]=e.parsedBody?.[n]);if(n)for(let e of Object.keys(n))t[e]=n[e];return i&&!e.parsedBody&&!n&&Object.getOwnPropertyNames(o).length===0?null:t}return y_({body:e.parsedBody,headers:n,hasNullableType:i,shouldWrapBody:m_(e.parsedBody,a)})}var x_=class{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,n){let r=(e,r)=>{throw Error(`"${n}" with value "${t}" should satisfy the constraint "${e}": ${r}.`)};if(e.constraints&&t!=null){let{ExclusiveMaximum:n,ExclusiveMinimum:i,InclusiveMaximum:a,InclusiveMinimum:o,MaxItems:s,MaxLength:c,MinItems:l,MinLength:u,MultipleOf:d,Pattern:f,UniqueItems:p}=e.constraints;if(n!==void 0&&t>=n&&r(`ExclusiveMaximum`,n),i!==void 0&&t<=i&&r(`ExclusiveMinimum`,i),a!==void 0&&t>a&&r(`InclusiveMaximum`,a),o!==void 0&&ts&&r(`MaxItems`,s),c!==void 0&&t.length>c&&r(`MaxLength`,c),l!==void 0&&t.lengthn.indexOf(e)!==t)&&r(`UniqueItems`,p)}}serialize(e,t,n,r={xml:{}}){let i={xml:{rootName:r.xml.rootName??``,includeRoot:r.xml.includeRoot??!1,xmlCharKey:r.xml.xmlCharKey??`_`}},a={},o=e.type.name;n||=e.serializedName,o.match(/^Sequence$/i)!==null&&(a=[]),e.isConstant&&(t=e.defaultValue);let{required:s,nullable:c}=e;if(s&&c&&t===void 0)throw Error(`${n} cannot be undefined.`);if(s&&!c&&t==null)throw Error(`${n} cannot be null or undefined.`);if(!s&&c===!1&&t===null)throw Error(`${n} cannot be null.`);return t==null?a=t:o.match(/^any$/i)===null?o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)===null?o.match(/^Enum$/i)===null?o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)===null?o.match(/^ByteArray$/i)===null?o.match(/^Base64Url$/i)===null?o.match(/^Sequence$/i)===null?o.match(/^Dictionary$/i)===null?o.match(/^Composite$/i)!==null&&(a=z_(this,e,t,n,!!this.isXML,i)):a=F_(this,e,t,n,!!this.isXML,i):a=P_(this,e,t,n,!!this.isXML,i):a=M_(n,t):a=j_(n,t):a=N_(o,t,n):a=A_(n,e.type.allowedValues,t):a=k_(o,n,t):a=t,a}deserialize(e,t,n,r={xml:{}}){let i={xml:{rootName:r.xml.rootName??``,includeRoot:r.xml.includeRoot??!1,xmlCharKey:r.xml.xmlCharKey??`_`},ignoreUnknownProperties:r.ignoreUnknownProperties??!1};if(t==null)return this.isXML&&e.type.name===`Sequence`&&!e.xmlIsWrapped&&(t=[]),e.defaultValue!==void 0&&(t=e.defaultValue),t;let a,o=e.type.name;if(n||=e.serializedName,o.match(/^Composite$/i)!==null)a=H_(this,e,t,n,i);else{if(this.isXML){let e=i.xml.xmlCharKey;t.$!==void 0&&t[e]!==void 0&&(t=t[e])}o.match(/^Number$/i)===null?o.match(/^Boolean$/i)===null?o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)===null?o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)===null?o.match(/^UnixTime$/i)===null?o.match(/^ByteArray$/i)===null?o.match(/^Base64Url$/i)===null?o.match(/^Sequence$/i)===null?o.match(/^Dictionary$/i)!==null&&(a=U_(this,e,t,n,i)):a=W_(this,e,t,n,i):a=T_(t):a=p_(t):a=O_(t):a=new Date(t):a=t:a=t===`true`?!0:t===`false`?!1:t:(a=parseFloat(t),isNaN(a)&&(a=t))}return e.isConstant&&(a=e.defaultValue),a}};function S_(e={},t=!1){return new x_(e,t)}function C_(e,t){let n=e.length;for(;n-1>=0&&e[n-1]===t;)--n;return e.substr(0,n)}function w_(e){if(e){if(!(e instanceof Uint8Array))throw Error(`Please provide an input of type Uint8Array for converting to Base64Url.`);return C_(f_(e),`=`).replace(/\+/g,`-`).replace(/\//g,`_`)}}function T_(e){if(e){if(e&&typeof e.valueOf()!=`string`)throw Error(`Please provide an input of type string for converting to Uint8Array`);return e=e.replace(/-/g,`+`).replace(/_/g,`/`),p_(e)}}function E_(e){let t=[],n=``;if(e){let r=e.split(`.`);for(let e of r)e.charAt(e.length-1)===`\\`?n+=e.substr(0,e.length-1)+`.`:(n+=e,t.push(n),n=``)}return t}function D_(e){if(e)return typeof e.valueOf()==`string`&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}function O_(e){if(e)return new Date(e*1e3)}function k_(e,t,n){if(n!=null){if(e.match(/^Number$/i)!==null){if(typeof n!=`number`)throw Error(`${t} with value ${n} must be of type number.`)}else if(e.match(/^String$/i)!==null){if(typeof n.valueOf()!=`string`)throw Error(`${t} with value "${n}" must be of type string.`)}else if(e.match(/^Uuid$/i)!==null){if(!(typeof n.valueOf()==`string`&&v_(n)))throw Error(`${t} with value "${n}" must be of type string and a valid uuid.`)}else if(e.match(/^Boolean$/i)!==null){if(typeof n!=`boolean`)throw Error(`${t} with value ${n} must be of type boolean.`)}else if(e.match(/^Stream$/i)!==null){let e=typeof n;if(e!==`string`&&typeof n.pipe!=`function`&&typeof n.tee!=`function`&&!(n instanceof ArrayBuffer)&&!ArrayBuffer.isView(n)&&!((typeof Blob==`function`||typeof Blob==`object`)&&n instanceof Blob)&&e!==`function`)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return n}function A_(e,t,n){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>typeof e.valueOf()==`string`?e.toLowerCase()===n.toLowerCase():e===n))throw Error(`${n} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return n}function j_(e,t){if(t!=null){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=f_(t)}return t}function M_(e,t){if(t!=null){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=w_(t)}return t}function N_(e,t,n){if(t!=null){if(e.match(/^Date$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(e.match(/^DateTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(e.match(/^DateTimeRfc1123$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(e.match(/^UnixTime$/i)!==null){if(!(t instanceof Date||typeof t.valueOf()==`string`&&!isNaN(Date.parse(t))))throw Error(`${n} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=D_(t)}else if(e.match(/^TimeSpan$/i)!==null&&!g_(t))throw Error(`${n} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}function P_(e,t,n,r,i,a){if(!Array.isArray(n))throw Error(`${r} must be of type Array.`);let o=t.type.element;if(!o||typeof o!=`object`)throw Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${r}.`);o.type.name===`Composite`&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let s=[];for(let t=0;te!==i)&&(o[i]=e.serialize(c,n[i],r+`["`+i+`"]`,a))}return o}return n}function B_(e,t,n,r){if(!n||!e.xmlNamespace)return t;let i={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:`xmlns`]:e.xmlNamespace};if([`Composite`].includes(e.type.name)){if(t.$)return t;{let e={...t};return e.$=i,e}}let a={};return a[r.xml.xmlCharKey]=t,a.$=i,a}function V_(e,t){return[`$`,t.xml.xmlCharKey].includes(e)}function H_(e,t,n,r,i){let a=i.xml.xmlCharKey??`_`;q_(e,t)&&(t=K_(e,t,n,`serializedName`));let o=R_(e,t,r),s={},c=[];for(let l of Object.keys(o)){let u=o[l],d=E_(o[l].serializedName);c.push(d[0]);let{serializedName:f,xmlName:p,xmlElementName:m}=u,h=r;f!==``&&f!==void 0&&(h=r+`.`+f);let g=u.headerCollectionPrefix;if(g){let t={};for(let r of Object.keys(n))r.startsWith(g)&&(t[r.substring(g.length)]=e.deserialize(u.type.value,n[r],h,i)),c.push(r);s[l]=t}else if(e.isXML)if(u.xmlIsAttribute&&n.$)s[l]=e.deserialize(u,n.$[p],h,i);else if(u.xmlIsMsText)n[a]===void 0?typeof n==`string`&&(s[l]=n):s[l]=n[a];else{let t=m||p||f;if(u.xmlIsWrapped){let t=n[p]?.[m]??[];s[l]=e.deserialize(u,t,h,i),c.push(p)}else{let r=n[t];s[l]=e.deserialize(u,r,h,i),c.push(t)}}else{let r,a=n,c=0;for(let e of d){if(!a)break;c++,a=a[e]}a===null&&c{for(let t in o)if(E_(o[t].serializedName)[0]===e)return!1;return!0};for(let a in n)t(a)&&(s[a]=e.deserialize(l,n[a],r+`["`+a+`"]`,i))}else if(n&&!i.ignoreUnknownProperties)for(let e of Object.keys(n))s[e]===void 0&&!c.includes(e)&&!V_(e,i)&&(s[e]=n[e]);return s}function U_(e,t,n,r,i){let a=t.type.value;if(!a||typeof a!=`object`)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${r}`);if(n){let t={};for(let o of Object.keys(n))t[o]=e.deserialize(a,n[o],r,i);return t}return n}function W_(e,t,n,r,i){let a=t.type.element;if(!a||typeof a!=`object`)throw Error(`element" metadata for an Array must be defined in the mapper and it must of type "object" in ${r}`);if(n){Array.isArray(n)||(n=[n]),a.type.name===`Composite`&&a.type.className&&(a=e.modelMappers[a.type.className]??a);let t=[];for(let o=0;o{Object.defineProperty(e,`__esModule`,{value:!0}),e.state=void 0,e.state={operationRequestMap:new WeakMap}}))().state;function Z_(e,t,n){let r=t.parameterPath,i=t.mapper,a;if(typeof r==`string`&&(r=[r]),Array.isArray(r)){if(r.length>0)if(i.isConstant)a=i.defaultValue;else{let t=Q_(e,r);!t.propertyFound&&n&&(t=Q_(n,r));let o=!1;t.propertyFound||(o=i.required||r[0]===`options`&&r.length===2),a=o?i.defaultValue:t.propertyValue}}else{i.required&&(a={});for(let t in r){let o=i.type.modelProperties[t],s=r[t],c=Z_(e,{parameterPath:s,mapper:o},n);c!==void 0&&(a||={},a[t]=c)}}return a}function Q_(e,t){let n={propertyFound:!1},r=0;for(;r=200&&n.status<300);s.headersMapper&&(a.parsedHeaders=o.serializer.deserialize(s.headersMapper,a.headers.toJSON(),`operationRes.parsedHeaders`,{xml:{},ignoreUnknownProperties:!0}))}return a}function cv(e){let t=Object.keys(e.responses);return t.length===0||t.length===1&&t[0]===`default`}function lv(e,t,n,r){let i=200<=e.status&&e.status<300;if(cv(t)?i:n)if(n){if(!n.isError)return{error:null,shouldReturnResponse:!1}}else return{error:null,shouldReturnResponse:!1};let a=n??t.responses.default,o=new zg(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!a&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw o;let s=a?.bodyMapper,c=a?.headersMapper;try{if(e.parsedBody){let n=e.parsedBody,i;if(s){let e=n;if(t.isXML&&s.type.name===Y_.Sequence){e=[];let t=s.xmlElementName;typeof n==`object`&&t&&(e=n[t])}i=t.serializer.deserialize(s,e,`error.response.parsedBody`,r)}let a=n.error||i||n;o.code=a.code,a.message&&(o.message=a.message),s&&(o.response.parsedBody=i)}e.headers&&c&&(o.response.parsedHeaders=t.serializer.deserialize(c,e.headers.toJSON(),`operationRes.parsedHeaders`))}catch(t){o.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:o,shouldReturnResponse:!1}}async function uv(e,t,n,r,i){if(!n.request.streamResponseStatusCodes?.has(n.status)&&n.bodyAsText){let a=n.bodyAsText,o=n.headers.get(`Content-Type`)||``,s=o?o.split(`;`).map(e=>e.toLowerCase()):[];try{if(s.length===0||s.some(t=>e.indexOf(t)!==-1))return n.parsedBody=JSON.parse(a),n;if(s.some(e=>t.indexOf(e)!==-1)){if(!i)throw Error(`Parsing XML not supported.`);return n.parsedBody=await i(a,r.xml),n}}catch(e){throw new zg(`Error "${e}" occurred while parsing the response body - ${n.bodyAsText}.`,{code:e.code||zg.PARSE_ERROR,statusCode:n.status,request:n.request,response:n})}}return n}function dv(e){let t=new Set;for(let n in e.responses){let r=e.responses[n];r.bodyMapper&&r.bodyMapper.type.name===Y_.Stream&&t.add(Number(n))}return t}function fv(e){let{parameterPath:t,mapper:n}=e,r;return r=typeof t==`string`?t:Array.isArray(t)?t.join(`.`):n.serializedName,r}function pv(e={}){let t=e.stringifyXML;return{name:`serializationPolicy`,async sendRequest(e,n){let r=tv(e),i=r?.operationSpec,a=r?.operationArguments;return i&&a&&(mv(e,a,i),hv(e,a,i,t)),n(e)}}}function mv(e,t,n){if(n.headerParameters)for(let r of n.headerParameters){let i=Z_(t,r);if(i!=null||r.mapper.required){i=n.serializer.serialize(r.mapper,i,fv(r));let t=r.mapper.headerCollectionPrefix;if(t)for(let n of Object.keys(i))e.headers.set(t+n,i[n]);else e.headers.set(r.mapper.serializedName||fv(r),i)}}let r=t.options?.requestOptions?.customHeaders;if(r)for(let t of Object.keys(r))e.headers.set(t,r[t])}function hv(e,t,n,r=function(){throw Error(`XML serialization unsupported!`)}){let i=t.options?.serializerOptions,a={xml:{rootName:i?.xml.rootName??``,includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??`_`}},o=a.xml.xmlCharKey;if(n.requestBody&&n.requestBody.mapper){e.body=Z_(t,n.requestBody);let i=n.requestBody.mapper,{required:s,serializedName:c,xmlName:l,xmlElementName:u,xmlNamespace:d,xmlNamespacePrefix:f,nullable:p}=i,m=i.type.name;try{if(e.body!==void 0&&e.body!==null||p&&e.body===null||s){let t=fv(n.requestBody);e.body=n.serializer.serialize(i,e.body,t,a);let s=m===Y_.Stream;if(n.isXML){let t=f?`xmlns:${f}`:`xmlns`,n=gv(d,t,m,e.body,a);m===Y_.Sequence?e.body=r(_v(n,u||l||c,t,d),{rootName:l||c,xmlCharKey:o}):s||(e.body=r(n,{rootName:l||c,xmlCharKey:o}))}else if(m===Y_.String&&(n.contentType?.match(`text/plain`)||n.mediaType===`text`))return;else s||(e.body=JSON.stringify(e.body))}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(c,void 0,` `)}.`)}}else if(n.formDataParameters&&n.formDataParameters.length>0){e.formData={};for(let r of n.formDataParameters){let i=Z_(t,r);if(i!=null){let t=r.mapper.serializedName||fv(r);e.formData[t]=n.serializer.serialize(r.mapper,i,fv(r),a)}}}}function gv(e,t,n,r,i){if(e&&![`Composite`,`Sequence`,`Dictionary`].includes(n)){let n={};return n[i.xml.xmlCharKey]=r,n.$={[t]:e},n}return r}function _v(e,t,n,r){if(Array.isArray(e)||(e=[e]),!n||!r)return{[t]:e};let i={[t]:e};return i.$={[n]:r},i}function vv(e={}){let t=Jg(e??{});return e.credentialOptions&&t.addPolicy(a_({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),t.addPolicy(pv(e.serializationOptions),{phase:`Serialize`}),t.addPolicy(iv(e.deserializationOptions),{phase:`Deserialize`}),t}let yv;function bv(){return yv||=Yg(),yv}const xv={CSV:`,`,SSV:` `,Multi:`Multi`,TSV:` `,Pipes:`|`};function Sv(e,t,n,r){let i=wv(t,n,r),a=!1,o=Cv(e,i);if(t.path){let e=Cv(t.path,i);t.path===`/{nextLink}`&&e.startsWith(`/`)&&(e=e.substring(1)),Tv(e)?(o=e,a=!0):o=Ev(o,e)}let{queryParams:s,sequenceParams:c}=Dv(t,n,r);return o=kv(o,s,c,a),o}function Cv(e,t){let n=e;for(let[e,r]of t)n=n.split(e).join(r);return n}function wv(e,t,n){let r=new Map;if(e.urlParameters?.length)for(let i of e.urlParameters){let a=Z_(t,i,n),o=fv(i);a=e.serializer.serialize(i.mapper,a,o),i.skipEncoding||(a=encodeURIComponent(a)),r.set(`{${i.mapper.serializedName||o}}`,a)}return r}function Tv(e){return e.includes(`://`)}function Ev(e,t){if(!t)return e;let n=new URL(e),r=n.pathname;r.endsWith(`/`)||(r=`${r}/`),t.startsWith(`/`)&&(t=t.substring(1));let i=t.indexOf(`?`);if(i!==-1){let e=t.substring(0,i),a=t.substring(i+1);r+=e,a&&(n.search=n.search?`${n.search}&${a}`:a)}else r+=t;return n.pathname=r,n.toString()}function Dv(e,t,n){let r=new Map,i=new Set;if(e.queryParameters?.length)for(let a of e.queryParameters){a.mapper.type.name===`Sequence`&&a.mapper.serializedName&&i.add(a.mapper.serializedName);let o=Z_(t,a,n);if(o!=null||a.mapper.required){o=e.serializer.serialize(a.mapper,o,fv(a));let t=a.collectionFormat?xv[a.collectionFormat]:``;if(Array.isArray(o)&&(o=o.map(e=>e??``)),a.collectionFormat===`Multi`&&o.length===0)continue;Array.isArray(o)&&(a.collectionFormat===`SSV`||a.collectionFormat===`TSV`)&&(o=o.join(t)),a.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&(a.collectionFormat===`CSV`||a.collectionFormat===`Pipes`)&&(o=o.join(t)),r.set(a.mapper.serializedName||fv(a),o)}}return{queryParams:r,sequenceParams:i}}function Ov(e){let t=new Map;if(!e||e[0]!==`?`)return t;e=e.slice(1);let n=e.split(`&`);for(let e of n){let[n,r]=e.split(`=`,2),i=t.get(n);i?Array.isArray(i)?i.push(r):t.set(n,[i,r]):t.set(n,r)}return t}function kv(e,t,n,r=!1){if(t.size===0)return e;let i=new URL(e),a=Ov(i.search);for(let[e,i]of t){let t=a.get(e);if(Array.isArray(t))if(Array.isArray(i)){t.push(...i);let n=new Set(t);a.set(e,Array.from(n))}else t.push(i);else t?(Array.isArray(i)?i.unshift(t):n.has(e)&&a.set(e,[t,i]),r||a.set(e,i)):a.set(e,i)}let o=[];for(let[e,t]of a)if(typeof t==`string`)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let n of t)o.push(`${e}=${n}`);else o.push(`${e}=${t}`);return i.search=o.length?`?${o.join(`&`)}`:``,i.toString()}const Av=$h(`core-client`);var jv=class{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&Av.warning(`The baseUri option for SDK Clients has been deprecated, please use endpoint instead.`),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||bv(),this.pipeline=e.pipeline||Mv(e),e.additionalPolicies?.length)for(let{policy:t,position:n}of e.additionalPolicies){let e=n===`perRetry`?`Sign`:void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}async sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let n=t.baseUrl||this._endpoint;if(!n)throw Error(`If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.`);let r=Zg({url:Sv(n,t,e,this)});r.method=t.httpMethod;let i=tv(r);i.operationSpec=t,i.operationArguments=e;let a=t.contentType||this._requestContentType;a&&t.requestBody&&r.headers.set(`Content-Type`,a);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(r.timeout=e.timeout),e.onUploadProgress&&(r.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(r.onDownloadProgress=e.onDownloadProgress),e.shouldDeserialize!==void 0&&(i.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(r.allowInsecureConnection=!0)),o.abortSignal&&(r.abortSignal=o.abortSignal),o.tracingOptions&&(r.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(r.allowInsecureConnection=!0),r.streamResponseStatusCodes===void 0&&(r.streamResponseStatusCodes=dv(t));try{let e=await this.sendRequest(r),n=b_(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,n),n}catch(e){if(typeof e==`object`&&e?.response){let n=e.response,r=b_(n,t.responses[e.statusCode]||t.responses.default);e.details=r,o?.onResponse&&o.onResponse(n,r,e)}throw e}}};function Mv(e){let t=Nv(e),n=e.credential&&t?{credentialScopes:t,credential:e.credential}:void 0;return vv({...e,credentialOptions:n})}function Nv(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential&&!e.credentialScopes)throw Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}const Pv={DefaultScope:`/.default`,HeaderConstants:{AUTHORIZATION:`authorization`}};function Fv(e){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(e)}const Iv=async e=>{let t=Vv(e.request),n=zv(e.response);if(n){let r=Bv(n),i=Rv(e,r),a=Lv(r);if(!a)return!1;let o=await e.getAccessToken(i,{...t,tenantId:a});return o?(e.request.headers.set(Pv.HeaderConstants.AUTHORIZATION,`${o.tokenType??`Bearer`} ${o.token}`),!0):!1}return!1};function Lv(e){let t=new URL(e.authorization_uri).pathname.split(`/`)[1];if(t&&Fv(t))return t}function Rv(e,t){if(!t.resource_id)return e.scopes;let n=new URL(t.resource_id);n.pathname=Pv.DefaultScope;let r=n.toString();return r===`https://disk.azure.com/.default`&&(r=`https://disk.azure.com//.default`),[r]}function zv(e){let t=e.headers.get(`WWW-Authenticate`);if(e.status===401&&t)return t}function Bv(e){return`${e.slice(7).trim()} `.split(` `).filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split(`=`))).reduce((e,t)=>({...e,...t}),{})}function Vv(e){return{abortSignal:e.abortSignal,requestOptions:{timeout:e.timeout},tracingOptions:e.tracingOptions}}const Hv=Symbol(`Original PipelineRequest`),Uv=Symbol.for(`@azure/core-client original request`);function Wv(e,t={}){let n=e[Hv],r=Xg(e.headers.toJson({preserveCase:!0}));if(n)return n.headers=r,n;{let n=Zg({url:e.url,method:e.method,headers:r,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(n[Uv]=t.originalRequest),n}}function Gv(e,t){let n=t?.originalRequest??e,r={url:e.url,method:e.method,headers:Kv(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get(`x-ms-client-request-id`)||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error(`Cannot clone a non-proxied WebResourceLike`)},prepare(){throw Error(`WebResourceLike.prepare() is not supported by @azure/core-http-compat`)},validateRequestProperties(){}};return t?.createProxy?new Proxy(r,{get(t,i,a){return i===Hv?e:i===`clone`?()=>Gv(Wv(r,{originalRequest:n}),{createProxy:!0,originalRequest:n}):Reflect.get(t,i,a)},set(t,n,r,i){return n===`keepAlive`&&(e.disableKeepAlive=!r),typeof n==`string`&&[`url`,`method`,`withCredentials`,`timeout`,`requestId`,`abortSignal`,`body`,`formData`,`onDownloadProgress`,`onUploadProgress`,`proxySettings`,`streamResponseStatusCodes`,`agent`,`requestOverrides`].includes(n)&&(e[n]=r),Reflect.set(t,n,r,i)}}):r}function Kv(e){return new Jv(e.toJSON({preserveCase:!0}))}function qv(e){return e.toLowerCase()}var Jv=class e{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[qv(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[qv(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[qv(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[qv(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let n=0;nZv(await e.sendRequest(Gv(t,{createProxy:!0})))}}const ry=`:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD`;ry+``,``+ry;const iy=RegExp(`^[:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$`);function ay(e,t){let n=[],r=t.exec(e);for(;r;){let i=[];i.startIndex=t.lastIndex-r[0].length;let a=r.length;for(let e=0;e`&&e[a]!==` `&&e[a]!==` `&&e[a]!==` +`&&e[a]!==`\r`;a++)c+=e[a];if(c=c.trim(),c[c.length-1]===`/`&&(c=c.substring(0,c.length-1),a--),!Sy(c)){let t;return t=c.trim().length===0?`Invalid space after '<'.`:`Tag '`+c+`' is an invalid name.`,by(`InvalidTag`,t,Cy(e,a))}let l=hy(e,a);if(l===!1)return by(`InvalidAttr`,`Attributes for '`+c+`' have open quote.`,Cy(e,a));let u=l.value;if(a=l.index,u[u.length-1]===`/`){let n=a-u.length;u=u.substring(0,u.length-1);let i=_y(u,t);if(i===!0)r=!0;else return by(i.err.code,i.err.msg,Cy(e,n+i.err.line))}else if(s){if(!l.tagClosed)return by(`InvalidTag`,`Closing tag '`+c+`' doesn't have proper closing.`,Cy(e,a));if(u.trim().length>0)return by(`InvalidTag`,`Closing tag '`+c+`' can't have attributes or invalid starting.`,Cy(e,o));if(n.length===0)return by(`InvalidTag`,`Closing tag '`+c+`' has not been opened.`,Cy(e,o));{let t=n.pop();if(c!==t.tagName){let n=Cy(e,t.tagStartPos);return by(`InvalidTag`,`Expected closing tag '`+t.tagName+`' (opened in line `+n.line+`, col `+n.col+`) instead of closing tag '`+c+`'.`,Cy(e,o))}n.length==0&&(i=!0)}}else{let s=_y(u,t);if(s!==!0)return by(s.err.code,s.err.msg,Cy(e,a-u.length+s.err.line));if(i===!0)return by(`InvalidXml`,`Multiple possible root nodes found.`,Cy(e,a));t.unpairedTags.indexOf(c)!==-1||n.push({tagName:c,tagStartPos:o}),r=!0}for(a++;a0?by(`InvalidXml`,`Invalid '`+JSON.stringify(n.map(e=>e.tagName),null,4).replace(/\r?\n/g,``)+`' found.`,{line:1,col:1}):!0:by(`InvalidXml`,`Start tag expected.`,1)}function fy(e){return e===` `||e===` `||e===` +`||e===`\r`}function py(e,t){let n=t;for(;t5&&r===`xml`)return by(`InvalidXml`,`XML declaration allowed only at the start of the document.`,Cy(e,t));if(e[t]==`?`&&e[t+1]==`>`){t++;break}else continue}return t}function my(e,t){if(e.length>t+5&&e[t+1]===`-`&&e[t+2]===`-`){for(t+=3;t`){t+=2;break}}else if(e.length>t+8&&e[t+1]===`D`&&e[t+2]===`O`&&e[t+3]===`C`&&e[t+4]===`T`&&e[t+5]===`Y`&&e[t+6]===`P`&&e[t+7]===`E`){let n=1;for(t+=8;t`&&(n--,n===0))break}else if(e.length>t+9&&e[t+1]===`[`&&e[t+2]===`C`&&e[t+3]===`D`&&e[t+4]===`A`&&e[t+5]===`T`&&e[t+6]===`A`&&e[t+7]===`[`){for(t+=8;t`){t+=2;break}}return t}function hy(e,t){let n=``,r=``,i=!1;for(;t`&&r===``){i=!0;break}n+=e[t]}return r===``?{value:n,index:t,tagClosed:i}:!1}const gy=RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,`g`);function _y(e,t){let n=ay(e,gy),r={};for(let e=0;e`,GT:`>`,quot:`"`,QUOT:`"`,apos:`'`,lsquo:`‘`,rsquo:`’`,ldquo:`“`,rdquo:`”`,lsquor:`‚`,rsquor:`’`,ldquor:`„`,bdquo:`„`,comma:`,`,period:`.`,colon:`:`,semi:`;`,excl:`!`,quest:`?`,num:`#`,dollar:`$`,percent:`%`,amp:`&`,ast:`*`,commat:`@`,lowbar:`_`,verbar:`|`,vert:`|`,sol:`/`,bsol:`\\`,lbrace:`{`,rbrace:`}`,lbrack:`[`,rbrack:`]`,lpar:`(`,rpar:`)`,nbsp:`\xA0`,iexcl:`¡`,cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,COPY:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,REG:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,half:`½`,frac34:`¾`,iquest:`¿`,times:`×`,div:`÷`,divide:`÷`},Ey={Agrave:`À`,agrave:`à`,Aacute:`Á`,aacute:`á`,Acirc:`Â`,acirc:`â`,Atilde:`Ã`,atilde:`ã`,Auml:`Ä`,auml:`ä`,Aring:`Å`,aring:`å`,AElig:`Æ`,aelig:`æ`,Ccedil:`Ç`,ccedil:`ç`,Egrave:`È`,egrave:`è`,Eacute:`É`,eacute:`é`,Ecirc:`Ê`,ecirc:`ê`,Euml:`Ë`,euml:`ë`,Igrave:`Ì`,igrave:`ì`,Iacute:`Í`,iacute:`í`,Icirc:`Î`,icirc:`î`,Iuml:`Ï`,iuml:`ï`,ETH:`Ð`,eth:`ð`,Ntilde:`Ñ`,ntilde:`ñ`,Ograve:`Ò`,ograve:`ò`,Oacute:`Ó`,oacute:`ó`,Ocirc:`Ô`,ocirc:`ô`,Otilde:`Õ`,otilde:`õ`,Ouml:`Ö`,ouml:`ö`,Oslash:`Ø`,oslash:`ø`,Ugrave:`Ù`,ugrave:`ù`,Uacute:`Ú`,uacute:`ú`,Ucirc:`Û`,ucirc:`û`,Uuml:`Ü`,uuml:`ü`,Yacute:`Ý`,yacute:`ý`,THORN:`Þ`,thorn:`þ`,szlig:`ß`,yuml:`ÿ`,Yuml:`Ÿ`},Dy={Amacr:`Ā`,amacr:`ā`,Abreve:`Ă`,abreve:`ă`,Aogon:`Ą`,aogon:`ą`,Cacute:`Ć`,cacute:`ć`,Ccirc:`Ĉ`,ccirc:`ĉ`,Cdot:`Ċ`,cdot:`ċ`,Ccaron:`Č`,ccaron:`č`,Dcaron:`Ď`,dcaron:`ď`,Dstrok:`Đ`,dstrok:`đ`,Emacr:`Ē`,emacr:`ē`,Ecaron:`Ě`,ecaron:`ě`,Edot:`Ė`,edot:`ė`,Eogon:`Ę`,eogon:`ę`,Gcirc:`Ĝ`,gcirc:`ĝ`,Gbreve:`Ğ`,gbreve:`ğ`,Gdot:`Ġ`,gdot:`ġ`,Gcedil:`Ģ`,Hcirc:`Ĥ`,hcirc:`ĥ`,Hstrok:`Ħ`,hstrok:`ħ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ч`,chcy:`ч`,SHcy:`Ш`,shcy:`ш`,SHCHcy:`Щ`,shchcy:`щ`,HARDcy:`Ъ`,hardcy:`ъ`,Ycy:`Ы`,ycy:`ы`,SOFTcy:`Ь`,softcy:`ь`,Ecy:`Э`,ecy:`э`,YUcy:`Ю`,yucy:`ю`,YAcy:`Я`,yacy:`я`,DJcy:`Ђ`,djcy:`ђ`,GJcy:`Ѓ`,gjcy:`ѓ`,Jukcy:`Є`,jukcy:`є`,DScy:`Ѕ`,dscy:`ѕ`,Iukcy:`І`,iukcy:`і`,YIcy:`Ї`,yicy:`ї`,Jsercy:`Ј`,jsercy:`ј`,LJcy:`Љ`,ljcy:`љ`,NJcy:`Њ`,njcy:`њ`,TSHcy:`Ћ`,tshcy:`ћ`,KJcy:`Ќ`,kjcy:`ќ`,Ubrcy:`Ў`,ubrcy:`ў`,DZcy:`Џ`,dzcy:`џ`},Ay={plus:`+`,minus:`−`,mnplus:`∓`,mp:`∓`,pm:`±`,times:`×`,div:`÷`,divide:`÷`,sdot:`⋅`,star:`☆`,starf:`★`,bigstar:`★`,lowast:`∗`,ast:`*`,midast:`*`,compfn:`∘`,smallcircle:`∘`,bullet:`•`,bull:`•`,nbsp:`\xA0`,hellip:`…`,mldr:`…`,prime:`′`,Prime:`″`,tprime:`‴`,bprime:`‵`,backprime:`‵`,minus:`−`,minusd:`∸`,dotminus:`∸`,plusdo:`∔`,dotplus:`∔`,plusmn:`±`,minusplus:`∓`,mnplus:`∓`,mp:`∓`,setminus:`∖`,smallsetminus:`∖`,Backslash:`∖`,setmn:`∖`,ssetmn:`∖`,lowbar:`_`,verbar:`|`,vert:`|`,VerticalLine:`|`,colon:`:`,Colon:`∷`,Proportion:`∷`,ratio:`∶`,equals:`=`,ne:`≠`,nequiv:`≢`,equiv:`≡`,Congruent:`≡`,sim:`∼`,thicksim:`∼`,thksim:`∼`,sime:`≃`,simeq:`≃`,TildeEqual:`≃`,asymp:`≈`,approx:`≈`,thickapprox:`≈`,thkap:`≈`,TildeTilde:`≈`,ncong:`≇`,cong:`≅`,TildeFullEqual:`≅`,asympeq:`≍`,CupCap:`≍`,bump:`≎`,Bumpeq:`≎`,HumpDownHump:`≎`,bumpe:`≏`,bumpeq:`≏`,HumpEqual:`≏`,dotminus:`∸`,minusd:`∸`,plusdo:`∔`,dotplus:`∔`,le:`≤`,LessEqual:`≤`,ge:`≥`,GreaterEqual:`≥`,lesseqgtr:`⋚`,lesseqqgtr:`⪋`,greater:`>`,less:`<`},jy={alefsym:`ℵ`,aleph:`ℵ`,beth:`ℶ`,gimel:`ℷ`,daleth:`ℸ`,forall:`∀`,ForAll:`∀`,part:`∂`,PartialD:`∂`,exist:`∃`,Exists:`∃`,nexist:`∄`,nexists:`∄`,empty:`∅`,emptyset:`∅`,emptyv:`∅`,varnothing:`∅`,nabla:`∇`,Del:`∇`,isin:`∈`,isinv:`∈`,in:`∈`,Element:`∈`,notin:`∉`,notinva:`∉`,ni:`∋`,niv:`∋`,SuchThat:`∋`,ReverseElement:`∋`,notni:`∌`,notniva:`∌`,prod:`∏`,Product:`∏`,coprod:`∐`,Coproduct:`∐`,sum:`∑`,Sum:`∑`,minus:`−`,mp:`∓`,plusdo:`∔`,dotplus:`∔`,setminus:`∖`,lowast:`∗`,radic:`√`,Sqrt:`√`,prop:`∝`,propto:`∝`,Proportional:`∝`,varpropto:`∝`,infin:`∞`,infintie:`⧝`,ang:`∠`,angle:`∠`,angmsd:`∡`,measuredangle:`∡`,angsph:`∢`,mid:`∣`,VerticalBar:`∣`,nmid:`∤`,nsmid:`∤`,npar:`∦`,parallel:`∥`,spar:`∥`,nparallel:`∦`,nspar:`∦`,and:`∧`,wedge:`∧`,or:`∨`,vee:`∨`,cap:`∩`,cup:`∪`,int:`∫`,Integral:`∫`,conint:`∮`,ContourIntegral:`∮`,Conint:`∯`,DoubleContourIntegral:`∯`,Cconint:`∰`,there4:`∴`,therefore:`∴`,Therefore:`∴`,becaus:`∵`,because:`∵`,Because:`∵`,ratio:`∶`,Proportion:`∷`,minusd:`∸`,dotminus:`∸`,mDDot:`∺`,homtht:`∻`,sim:`∼`,bsimg:`∽`,backsim:`∽`,ac:`∾`,mstpos:`∾`,acd:`∿`,VerticalTilde:`≀`,wr:`≀`,wreath:`≀`,nsime:`≄`,nsimeq:`≄`,nsimeq:`≄`,ncong:`≇`,simne:`≆`,ncongdot:`⩭̸`,ngsim:`≵`,nsim:`≁`,napprox:`≉`,nap:`≉`,ngeq:`≱`,nge:`≱`,nleq:`≰`,nle:`≰`,ngtr:`≯`,ngt:`≯`,nless:`≮`,nlt:`≮`,nprec:`⊀`,npr:`⊀`,nsucc:`⊁`,nsc:`⊁`},My={larr:`←`,leftarrow:`←`,LeftArrow:`←`,uarr:`↑`,uparrow:`↑`,UpArrow:`↑`,rarr:`→`,rightarrow:`→`,RightArrow:`→`,darr:`↓`,downarrow:`↓`,DownArrow:`↓`,harr:`↔`,leftrightarrow:`↔`,LeftRightArrow:`↔`,varr:`↕`,updownarrow:`↕`,UpDownArrow:`↕`,nwarr:`↖`,nwarrow:`↖`,UpperLeftArrow:`↖`,nearr:`↗`,nearrow:`↗`,UpperRightArrow:`↗`,searr:`↘`,searrow:`↘`,LowerRightArrow:`↘`,swarr:`↙`,swarrow:`↙`,LowerLeftArrow:`↙`,lArr:`⇐`,Leftarrow:`⇐`,uArr:`⇑`,Uparrow:`⇑`,rArr:`⇒`,Rightarrow:`⇒`,dArr:`⇓`,Downarrow:`⇓`,hArr:`⇔`,Leftrightarrow:`⇔`,iff:`⇔`,vArr:`⇕`,Updownarrow:`⇕`,lAarr:`⇚`,Lleftarrow:`⇚`,rAarr:`⇛`,Rrightarrow:`⇛`,lrarr:`⇆`,leftrightarrows:`⇆`,rlarr:`⇄`,rightleftarrows:`⇄`,lrhar:`⇋`,leftrightharpoons:`⇋`,ReverseEquilibrium:`⇋`,rlhar:`⇌`,rightleftharpoons:`⇌`,Equilibrium:`⇌`,udarr:`⇅`,UpArrowDownArrow:`⇅`,duarr:`⇵`,DownArrowUpArrow:`⇵`,llarr:`⇇`,leftleftarrows:`⇇`,rrarr:`⇉`,rightrightarrows:`⇉`,ddarr:`⇊`,downdownarrows:`⇊`,har:`↽`,lhard:`↽`,leftharpoondown:`↽`,lharu:`↼`,leftharpoonup:`↼`,rhard:`⇁`,rightharpoondown:`⇁`,rharu:`⇀`,rightharpoonup:`⇀`,lsh:`↰`,Lsh:`↰`,rsh:`↱`,Rsh:`↱`,ldsh:`↲`,rdsh:`↳`,hookleftarrow:`↩`,hookrightarrow:`↪`,mapstoleft:`↤`,mapstoup:`↥`,map:`↦`,mapsto:`↦`,mapstodown:`↧`,crarr:`↵`,nwarrow:`↖`,nearrow:`↗`,searrow:`↘`,swarrow:`↙`,nleftarrow:`↚`,nleftrightarrow:`↮`,nrightarrow:`↛`,nrarr:`↛`,larrtl:`↢`,rarrtl:`↣`,leftarrowtail:`↢`,rightarrowtail:`↣`,twoheadleftarrow:`↞`,twoheadrightarrow:`↠`,Larr:`↞`,Rarr:`↠`,larrhk:`↩`,rarrhk:`↪`,larrlp:`↫`,looparrowleft:`↫`,rarrlp:`↬`,looparrowright:`↬`,harrw:`↭`,leftrightsquigarrow:`↭`,nrarrw:`↝̸`,rarrw:`↝`,rightsquigarrow:`↝`,larrbfs:`⤟`,rarrbfs:`⤠`,nvHarr:`⤄`,nvlArr:`⤂`,nvrArr:`⤃`,larrfs:`⤝`,rarrfs:`⤞`,Map:`⤅`,larrsim:`⥳`,rarrsim:`⥴`,harrcir:`⥈`,Uarrocir:`⥉`,lurdshar:`⥊`,ldrdhar:`⥧`,ldrushar:`⥋`,rdldhar:`⥩`,lrhard:`⥭`,rlhar:`⇌`,uharr:`↾`,uharl:`↿`,dharr:`⇂`,dharl:`⇃`,Uarr:`↟`,Darr:`↡`,zigrarr:`⇝`,nwArr:`⇖`,neArr:`⇗`,seArr:`⇘`,swArr:`⇙`,nharr:`↮`,nhArr:`⇎`,nlarr:`↚`,nlArr:`⇍`,nrarr:`↛`,nrArr:`⇏`,larrb:`⇤`,LeftArrowBar:`⇤`,rarrb:`⇥`,RightArrowBar:`⇥`},Ny={square:`□`,Square:`□`,squ:`□`,squf:`▪`,squarf:`▪`,blacksquar:`▪`,blacksquare:`▪`,FilledVerySmallSquare:`▪`,blk34:`▓`,blk12:`▒`,blk14:`░`,block:`█`,srect:`▭`,rect:`▭`,sdot:`⋅`,sdotb:`⊡`,dotsquare:`⊡`,triangle:`▵`,tri:`▵`,trine:`▵`,utri:`▵`,triangledown:`▿`,dtri:`▿`,tridown:`▿`,triangleleft:`◃`,ltri:`◃`,triangleright:`▹`,rtri:`▹`,blacktriangle:`▴`,utrif:`▴`,blacktriangledown:`▾`,dtrif:`▾`,blacktriangleleft:`◂`,ltrif:`◂`,blacktriangleright:`▸`,rtrif:`▸`,loz:`◊`,lozenge:`◊`,blacklozenge:`⧫`,lozf:`⧫`,bigcirc:`◯`,xcirc:`◯`,circ:`ˆ`,Circle:`○`,cir:`○`,o:`○`,bullet:`•`,bull:`•`,hellip:`…`,mldr:`…`,nldr:`‥`,boxh:`─`,HorizontalLine:`─`,boxv:`│`,boxdr:`┌`,boxdl:`┐`,boxur:`└`,boxul:`┘`,boxvr:`├`,boxvl:`┤`,boxhd:`┬`,boxhu:`┴`,boxvh:`┼`,boxH:`═`,boxV:`║`,boxdR:`╒`,boxDr:`╓`,boxDR:`╔`,boxDl:`╕`,boxdL:`╖`,boxDL:`╗`,boxuR:`╘`,boxUr:`╙`,boxUR:`╚`,boxUl:`╜`,boxuL:`╛`,boxUL:`╝`,boxvR:`╞`,boxVr:`╟`,boxVR:`╠`,boxVl:`╢`,boxvL:`╡`,boxVL:`╣`,boxHd:`╤`,boxhD:`╥`,boxHD:`╦`,boxHu:`╧`,boxhU:`╨`,boxHU:`╩`,boxvH:`╪`,boxVh:`╫`,boxVH:`╬`},Py={excl:`!`,iexcl:`¡`,brvbar:`¦`,sect:`§`,uml:`¨`,copy:`©`,ordf:`ª`,laquo:`«`,not:`¬`,shy:`­`,reg:`®`,macr:`¯`,deg:`°`,plusmn:`±`,sup2:`²`,sup3:`³`,acute:`´`,micro:`µ`,para:`¶`,middot:`·`,cedil:`¸`,sup1:`¹`,ordm:`º`,raquo:`»`,frac14:`¼`,frac12:`½`,frac34:`¾`,iquest:`¿`,nbsp:`\xA0`,comma:`,`,period:`.`,colon:`:`,semi:`;`,vert:`|`,Verbar:`‖`,verbar:`|`,dblac:`˝`,circ:`ˆ`,caron:`ˇ`,breve:`˘`,dot:`˙`,ring:`˚`,ogon:`˛`,tilde:`˜`,DiacriticalGrave:"`",DiacriticalAcute:`´`,DiacriticalTilde:`˜`,DiacriticalDot:`˙`,DiacriticalDoubleAcute:`˝`,grave:"`",acute:`´`},Fy={cent:`¢`,pound:`£`,curren:`¤`,yen:`¥`,euro:`€`,dollar:`$`,euro:`€`,fnof:`ƒ`,inr:`₹`,af:`؋`,birr:`ብር`,peso:`₱`,rub:`₽`,won:`₩`,yuan:`¥`,cedil:`¸`},Iy={frac12:`½`,half:`½`,frac13:`⅓`,frac14:`¼`,frac15:`⅕`,frac16:`⅙`,frac18:`⅛`,frac23:`⅔`,frac25:`⅖`,frac34:`¾`,frac35:`⅗`,frac38:`⅜`,frac45:`⅘`,frac56:`⅚`,frac58:`⅝`,frac78:`⅞`,frasl:`⁄`},Ly={trade:`™`,TRADE:`™`,telrec:`⌕`,target:`⌖`,ulcorn:`⌜`,ulcorner:`⌜`,urcorn:`⌝`,urcorner:`⌝`,dlcorn:`⌞`,llcorner:`⌞`,drcorn:`⌟`,lrcorner:`⌟`,intercal:`⊺`,intcal:`⊺`,oplus:`⊕`,CirclePlus:`⊕`,ominus:`⊖`,CircleMinus:`⊖`,otimes:`⊗`,CircleTimes:`⊗`,osol:`⊘`,odot:`⊙`,CircleDot:`⊙`,oast:`⊛`,circledast:`⊛`,odash:`⊝`,circleddash:`⊝`,ocirc:`⊚`,circledcirc:`⊚`,boxplus:`⊞`,plusb:`⊞`,boxminus:`⊟`,minusb:`⊟`,boxtimes:`⊠`,timesb:`⊠`,boxdot:`⊡`,sdotb:`⊡`,veebar:`⊻`,vee:`∨`,barvee:`⊽`,and:`∧`,wedge:`∧`,Cap:`⋒`,Cup:`⋓`,Fork:`⋔`,pitchfork:`⋔`,epar:`⋕`,ltlarr:`⥶`,nvap:`≍⃒`,nvsim:`∼⃒`,nvge:`≥⃒`,nvle:`≤⃒`,nvlt:`<⃒`,nvgt:`>⃒`,nvltrie:`⊴⃒`,nvrtrie:`⊵⃒`,Vdash:`⊩`,dashv:`⊣`,vDash:`⊨`,Vdash:`⊩`,Vvdash:`⊪`,nvdash:`⊬`,nvDash:`⊭`,nVdash:`⊮`,nVDash:`⊯`};({...Ty,...Ey,...Dy,...Oy,...ky,...Ay,...jy,...My,...Ny,...Py,...Fy,...Iy,...Ly});const Ry={amp:`&`,apos:`'`,gt:`>`,lt:`<`,quot:`"`},zy={nbsp:`\xA0`,copy:`©`,reg:`®`,trade:`™`,mdash:`—`,ndash:`–`,hellip:`…`,laquo:`«`,raquo:`»`,lsquo:`‘`,rsquo:`’`,ldquo:`“`,rdquo:`”`,bull:`•`,para:`¶`,sect:`§`,deg:`°`,frac12:`½`,frac14:`¼`,frac34:`¾`},By=new Set(`!?\\\\/[]$%{}^&*()<>|+`);function Vy(e){if(e[0]===`#`)throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(By.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Hy(...e){let t=Object.create(null);for(let n of e)if(n)for(let e of Object.keys(n)){let r=n[e];if(typeof r==`string`)t[e]=r;else if(r&&typeof r==`object`&&r.val!==void 0){let n=r.val;typeof n==`string`&&(t[e]=n)}}return t}const Uy=`external`,Wy=`base`;function Gy(e){return!e||e===Uy?new Set([Uy]):e===`all`?new Set([`all`]):e===Wy?new Set([Wy]):Array.isArray(e)?new Set(e):new Set([Uy])}const Ky=Object.freeze({allow:0,leave:1,remove:2,throw:3}),qy=new Set([9,10,13]);function Jy(e){if(!e)return{xmlVersion:1,onLevel:Ky.allow,nullLevel:Ky.remove};let t=e.xmlVersion===1.1?1.1:1,n=Ky[e.onNCR]??Ky.allow,r=Ky[e.nullNCR]??Ky.remove;return{xmlVersion:t,onLevel:n,nullLevel:Math.max(r,Ky.remove)}}var Yy=class{constructor(e={}){this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck=typeof e.postCheck==`function`?e.postCheck:e=>e,this._limitTiers=Gy(this._limit.applyLimitsTo??Uy),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Hy(Ry,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let t=Jy(e.ncr);this._ncrXmlVersion=t.xmlVersion,this._ncrOnLevel=t.onLevel,this._ncrNullLevel=t.nullLevel}setExternalEntities(e){if(e)for(let t of Object.keys(e))Vy(t);this._externalMap=Hy(e)}addExternalEntity(e,t){Vy(e),typeof t==`string`&&t.indexOf(`&`)===-1&&(this._externalMap[e]=t)}addInputEntities(e){this._totalExpansions=0,this._expandedLength=0,this._inputMap=Hy(e)}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=e===1.1?1.1:1}decode(e){if(typeof e!=`string`||e.length===0)return e;let t=e,n=[],r=e.length,i=0,a=0,o=this._maxTotalExpansions>0,s=this._maxExpandedLength>0,c=o||s;for(;a=r||e.charCodeAt(t)!==59){a++;continue}let l=e.slice(a+1,t);if(l.length===0){a++;continue}let u,d;if(this._removeSet.has(l))u=``,d===void 0&&(d=Uy);else if(this._leaveSet.has(l)){a++;continue}else if(l.charCodeAt(0)===35){let e=this._resolveNCR(l);if(e===void 0){a++;continue}u=e,d=Wy}else{let e=this._resolveName(l);u=e?.value,d=e?.tier}if(u===void 0){a++;continue}if(a>i&&n.push(e.slice(i,a)),n.push(u),i=t+1,a=i,c&&this._tierCounts(d)){if(o&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(s){let e=u.length-(l.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i=55296&&e<=57343||this._ncrXmlVersion===1&&e>=1&&e<=31&&!qy.has(e)?Ky.remove:-1}_applyNCRAction(e,t,n){switch(e){case Ky.allow:return String.fromCodePoint(n);case Ky.remove:return``;case Ky.leave:return;case Ky.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${n.toString(16).toUpperCase().padStart(4,`0`)})`);default:return String.fromCodePoint(n)}}_resolveNCR(e){let t=e.charCodeAt(1),n;if(n=t===120||t===88?parseInt(e.slice(2),16):parseInt(e.slice(1),10),Number.isNaN(n)||n<0||n>1114111)return;let r=this._classifyNCR(n);if(!this._numericAllowed&&rcy.includes(e)?`__`+e:e,Zy={preserveOrder:!1,attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,n){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Xy};function Qy(e,t){if(typeof e!=`string`)return;let n=e.toLowerCase();if(cy.some(e=>n===e.toLowerCase())||ly.some(e=>n===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}function $y(e,t){return typeof e==`boolean`?{enabled:e,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:`all`}:typeof e==`object`&&e?{enabled:e.enabled!==!1,maxEntitySize:Math.max(1,e.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,e.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,e.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,e.maxExpandedLength??1e5),maxEntityCount:Math.max(1,e.maxEntityCount??1e3),allowedTags:e.allowedTags??null,tagFilter:e.tagFilter??null,appliesTo:e.appliesTo??`all`}:$y(!0)}const eb=function(e){let t=Object.assign({},Zy,e),n=[{value:t.attributeNamePrefix,name:`attributeNamePrefix`},{value:t.attributesGroupName,name:`attributesGroupName`},{value:t.textNodeName,name:`textNodeName`},{value:t.cdataPropName,name:`cdataPropName`},{value:t.commentPropName,name:`commentPropName`}];for(let{value:e,name:t}of n)e&&Qy(e,t);return t.onDangerousProperty===null&&(t.onDangerousProperty=Xy),t.processEntities=$y(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>typeof e==`string`&&e.startsWith(`*.`)?`..`+e.substring(2):e)),t};let tb;tb=typeof Symbol==`function`?Symbol(`XML Node Metadata`):`@@xmlMetadata`;var nb=class{constructor(e){this.tagname=e,this.child=[],this[`:@`]=Object.create(null)}add(e,t){e===`__proto__`&&(e=`#__proto__`),this.child.push({[e]:t})}addChild(e,t){e.tagname===`__proto__`&&(e.tagname=`#__proto__`),e[`:@`]&&Object.keys(e[`:@`]).length>0?this.child.push({[e.tagname]:e.child,":@":e[`:@`]}):this.child.push({[e.tagname]:e.child}),t!==void 0&&(this.child[this.child.length-1][tb]={startIndex:t})}static getMetaDataSymbol(){return tb}};const rb=`:A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�`;rb+``;const ib=`:A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿`;ib+``;const ab=(e,t,n=``)=>{let r=`[${e.replace(`:`,``)}][${t.replace(`:`,``)}]*`;return{name:RegExp(`^[${e}][${t}]*$`,n),ncName:RegExp(`^${r}$`,n),qName:RegExp(`^${r}(?::${r})?$`,n),nmToken:RegExp(`^[${t}]+$`,n),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,n)}},ob=ab(rb,`:A-Za-z_À-ÖØ-öø-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\\-\\.\\d·̀-ͯ‿-⁀`),sb=ab(ib,`:A-Za-z_À-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿\\-\\.\\d·̀-ͯ҇‿-⁀`,`u`),cb=(e=`1.0`)=>e===`1.1`?sb:ob,lb=(e,{xmlVersion:t=`1.0`}={})=>cb(t).qName.test(e);var ub=class{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let n=Object.create(null),r=0;if(e[t+3]===`O`&&e[t+4]===`C`&&e[t+5]===`T`&&e[t+6]===`Y`&&e[t+7]===`P`&&e[t+8]===`E`){t+=9;let i=1,a=!1,o=!1,s=``;for(;t=this.options.maxEntityCount)throw Error(`Entity count (${r+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);n[i]=a,r++}}else if(a&&fb(e,`!ELEMENT`,t)){t+=8;let{index:n}=this.readElementExp(e,t+1);t=n}else if(a&&fb(e,`!ATTLIST`,t))t+=8;else if(a&&fb(e,`!NOTATION`,t)){t+=9;let{index:n}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=n}else if(fb(e,`!--`,t))o=!0;else throw Error(`Invalid DOCTYPE`);i++,s=``}else if(e[t]===`>`){if(o?e[t-1]===`-`&&e[t-2]===`-`&&(o=!1,i--):i--,i===0)break}else e[t]===`[`?a=!0:s+=e[t];if(i!==0)throw Error(`Unclosed DOCTYPE`)}else throw Error(`Invalid Tag instead of DOCTYPE`);return{entities:n,i:t}}readEntityExp(e,t){t=db(e,t);let n=t;for(;tthis.options.maxEntitySize)throw Error(`Entity "${r}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return t--,[r,i,t]}readNotationExp(e,t){t=db(e,t);let n=t;for(;t{for(;t1||a.length===1&&!s))return e;{let r=Number(n),s=String(r);if(r===0)return r;if(s.search(/[eE]/)!==-1)return t.eNotation?r:e;if(n.indexOf(`.`)!==-1)return s===`0`||s===o||s===`${i}${o}`?r:e;let c=a?o:n;return a?c===s||i+c===s?r:e:c===s||c===i+s?r:e}}else return e}}const bb=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function xb(e,t,n){if(!n.eNotation)return e;let r=t.match(bb);if(r){let i=r[1]||``,a=r[3].indexOf(`e`)===-1?`E`:`e`,o=r[2],s=i?e[o.length+1]===a:e[o.length]===a;return o.length>1&&s?e:o.length===1&&(r[3].startsWith(`.${a}`)||r[3][0]===a)?Number(t):o.length>0?n.leadingZeros&&!s?(t=(r[1]||``)+r[3],Number(t)):e:Number(t)}else return e}function Sb(e){return e&&e.indexOf(`.`)!==-1?(e=e.replace(/0+$/,``),e===`.`?e=`0`:e[0]===`.`?e=`0`+e:e[e.length-1]===`.`&&(e=e.substring(0,e.length-1)),e):e}function Cb(e,t){let n=e.trim();if((t===2||t===8)&&(e=n.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error(`parseInt, Number.parseInt, window.parseInt are not supported`)}function wb(e,t,n){let r=t===1/0;switch(n.infinity.toLowerCase()){case`null`:return null;case`infinity`:return t;case`string`:return r?`Infinity`:`-Infinity`;default:return e}}function Tb(e){return typeof e==`function`?e:Array.isArray(e)?t=>{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}var Eb=class{constructor(e,t={},n){this.pattern=e,this.separator=t.separator||`.`,this.segments=this._parse(e),this.data=n,this._hasDeepWildcard=this.segments.some(e=>e.type===`deep-wildcard`),this._hasAttributeCondition=this.segments.some(e=>e.attrName!==void 0),this._hasPositionSelector=this.segments.some(e=>e.position!==void 0)}_parse(e){let t=[],n=0,r=``;for(;n0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(t.length!==0)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(t.length===0)return!1;let n=t[t.length-1];return n.values!==void 0&&e in n.values}getPosition(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return e.length===0?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}},kb=class{constructor(e={}){this.separator=e.separator||`.`,this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Ob(this)}push(e,t=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let r=this.path.length;this.siblingStacks[r]||(this.siblingStacks[r]=new Map);let i=this.siblingStacks[r],a=n?`${n}:${e}`:e,o=i.get(a)||0,s=0;for(let e of i.values())s+=e;i.set(a,o+1);let c={tag:e,position:s,counter:o};n!=null&&(c.namespace=n),t!=null&&(c.values=t),this.path.push(c)}pop(){if(this.path.length===0)return;this._pathStringCache=null;let e=this.path.pop();return this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1),e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];e!=null&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(this.path.length!==0)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(this.path.length===0)return!1;let t=this.path[this.path.length-1];return t.values!==void 0&&e in t.values}getPosition(){return this.path.length===0?-1:this.path[this.path.length-1].position??0}getCounter(){return this.path.length===0?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let n=e||this.separator;if(n===this.separator&&t===!0){if(this._pathStringCache!==null)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(n)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[]}matches(e){let t=e.segments;return t.length===0?!1:e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t)}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t=0&&t>=0;){let r=e[n];if(r.type===`deep-wildcard`){if(n--,n<0)return!0;let r=e[n],i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(r,this.path[e],e===this.path.length-1)){t=e-1,n--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(r,this.path[t],t===this.path.length-1))return!1;t--,n--}}return n<0}_matchSegment(e,t,n){if(e.tag!==`*`&&e.tag!==t.tag||e.namespace!==void 0&&e.namespace!==`*`&&e.namespace!==t.namespace||e.attrName!==void 0&&(!n||!t.values||!(e.attrName in t.values)||e.attrValue!==void 0&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(e.position!==void 0){if(!n)return!1;let r=t.counter??0;if(e.position===`first`&&r!==0||e.position===`odd`&&r%2!=1||e.position===`even`&&r%2!=0||e.position===`nth`&&r!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>new Map(e))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>new Map(e))}readOnly(){return this._view}};function Ab(e,t){if(!e)return{};let n=t.attributesGroupName?e[t.attributesGroupName]:e;if(!n)return{};let r={};for(let e in n)if(e.startsWith(t.attributeNamePrefix)){let i=e.substring(t.attributeNamePrefix.length);r[i]=n[e]}else r[e]=n[e];return r}function jb(e){if(!e||typeof e!=`string`)return;let t=e.indexOf(`:`);if(t!==-1&&t>0){let n=e.substring(0,t);if(n!==`xmlns`)return n}}var Mb=class{constructor(e,t){this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Lb,this.parseTextData=Nb,this.resolveNameSpace=Pb,this.buildAttributesMap=Ib,this.isItStopNode=Vb,this.replaceEntitiesValue=zb,this.readStopNodeData=Kb,this.saveTextToParentTag=Bb,this.addChild=Rb,this.ignoreAttributesFn=Tb(this.options.ignoreAttributes),this.entityExpansionCount=0,this.currentExpandedLength=0;let n={...Ry};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:(typeof this.options.htmlEntities==`object`?n=this.options.htmlEntities:this.options.htmlEntities===!0&&(n={...zy,...Fy}),this.entityDecoder=new Yy({namedEntities:{...n,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo}})),this.matcher=new kb,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new Db;let r=this.options.stopNodes;if(r&&r.length>0){for(let e=0;e0)){o||(e=this.replaceEntitiesValue(e,t,n));let r=s.jPath?n.toString():n,c=s.tagValueProcessor(t,e,r,i,a);return c==null?e:typeof c!=typeof e||c!==e?c:s.trimValues||e.trim()===e?qb(e,s.parseTagValue,s.numberParseOptions):e}}function Pb(e){if(this.options.removeNSPrefix){let t=e.split(`:`),n=e.charAt(0)===`/`?`/`:``;if(t[0]===`xmlns`)return``;t.length===2&&(e=n+t[1])}return e}const Fb=RegExp(`([^\\s=]+)\\s*(=\\s*(['"])([\\s\\S]*?)\\3)?`,`gm`);function Ib(e,t,n,r=!1){let i=this.options;if(r===!0||i.ignoreAttributes!==!0&&typeof e==`string`){let r=ay(e,Fb),a=r.length,o={},s=Array(a),c=!1,l={};for(let e=0;e`,s,`Closing Tag is not closed.`),a=e.substring(s+2,t).trim();if(i.removeNSPrefix){let e=a.indexOf(`:`);e!==-1&&(a=a.substr(e+1))}a=Jb(i.transformTagName,a,``,i).tagName,n&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(a&&i.unpairedTagsSet.has(a))throw Error(`Unpaired tag can not be used as closing tag: `);o&&i.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,n=this.tagsNodeStack.pop(),r=``,s=t}else if(c===63){let t=Gb(e,s,!1,`?>`);if(!t)throw Error(`Pi Tag is not closed.`);r=this.saveTextToParentTag(r,n,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+`version`];this.entityDecoder.setXmlVersion(Number(e)||1),a.setXmlVersion(Number(e)||1)}if(!(i.ignoreDeclaration&&t.tagName===`?xml`||i.ignorePiTags)){let e=new nb(t.tagName);e.add(i.textNodeName,``),t.tagName!==t.tagExp&&t.attrExpPresent&&i.ignoreAttributes!==!0&&(e[`:@`]=o),this.addChild(n,e,this.readonlyMatcher,s)}s=t.closeIndex+1}else if(c===33&&e.charCodeAt(s+2)===45&&e.charCodeAt(s+3)===45){let t=Ub(e,`-->`,s+4,`Comment is not closed.`);if(i.commentPropName){let a=e.substring(s+4,t-2);r=this.saveTextToParentTag(r,n,this.readonlyMatcher),n.add(i.commentPropName,[{[i.textNodeName]:a}])}s=t}else if(c===33&&e.charCodeAt(s+2)===68){let t=a.readDocType(e,s);this.entityDecoder.addInputEntities(t.entities),s=t.i}else if(c===33&&e.charCodeAt(s+2)===91){let t=Ub(e,`]]>`,s,`CDATA is not closed.`)-2,a=e.substring(s+9,t);r=this.saveTextToParentTag(r,n,this.readonlyMatcher);let o=this.parseTextData(a,n.tagname,this.readonlyMatcher,!0,!1,!0,!0);o??=``,i.cdataPropName?n.add(i.cdataPropName,[{[i.textNodeName]:a}]):n.add(i.textNodeName,o),s=t+2}else{let a=Gb(e,s,i.removeNSPrefix);if(!a){let t=e.substring(Math.max(0,s-50),Math.min(o,s+50));throw Error(`readTagExp returned undefined at position ${s}. Context: "${t}"`)}let c=a.tagName,l=a.rawTagName,u=a.tagExp,d=a.attrExpPresent,f=a.closeIndex;if({tagName:c,tagExp:u}=Jb(i.transformTagName,c,u,i),i.strictReservedNames&&(c===i.commentPropName||c===i.cdataPropName||c===i.textNodeName||c===i.attributesGroupName))throw Error(`Invalid tag name: ${c}`);n&&r&&n.tagname!==`!xml`&&(r=this.saveTextToParentTag(r,n,this.readonlyMatcher,!1));let p=n;p&&i.unpairedTagsSet.has(p.tagname)&&(n=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;u.length>0&&u.lastIndexOf(`/`)===u.length-1&&(m=!0,c[c.length-1]===`/`?(c=c.substr(0,c.length-1),u=c):u=u.substr(0,u.length-1),d=c!==u);let h=null,g;g=jb(l),c!==t.tagname&&this.matcher.push(c,{},g),c!==u&&d&&(h=this.buildAttributesMap(u,this.matcher,c),h&&Ab(h,i)),c!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let _=s;if(this.isCurrentNodeStopNode){let t=``;if(m)s=a.closeIndex;else if(i.unpairedTagsSet.has(c))s=a.closeIndex;else{let n=this.readStopNodeData(e,l,f+1);if(!n)throw Error(`Unexpected end of ${l}`);s=n.i,t=n.tagContent}let r=new nb(c);h&&(r[`:@`]=h),r.add(i.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(n,r,this.readonlyMatcher,_)}else{if(m){({tagName:c,tagExp:u}=Jb(i.transformTagName,c,u,i));let e=new nb(c);h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(c)){let e=new nb(c);h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),this.matcher.pop(),this.isCurrentNodeStopNode=!1,s=a.closeIndex;continue}else{let e=new nb(c);if(this.tagsNodeStack.length>i.maxNestedTags)throw Error(`Maximum nested tags exceeded`);this.tagsNodeStack.push(n),h&&(e[`:@`]=h),this.addChild(n,e,this.readonlyMatcher,_),n=e}r=``,s=f}}}else r+=e[s];return t.child};function Rb(e,t,n,r){this.options.captureMetaData||(r=void 0);let i=this.options.jPath?n.toString():n,a=this.options.updateTag(t.tagname,i,t[`:@`]);a===!1||(typeof a==`string`&&(t.tagname=a),e.addChild(t,r))}function zb(e,t,n){let r=this.options.processEntities;if(!r||!r.enabled)return e;if(r.allowedTags){let i=this.options.jPath?n.toString():n;if(!(Array.isArray(r.allowedTags)?r.allowedTags.includes(t):r.allowedTags(t,i)))return e}if(r.tagFilter){let i=this.options.jPath?n.toString():n;if(!r.tagFilter(t,i))return e}return this.entityDecoder.decode(e)}function Bb(e,t,n,r){return e&&=(r===void 0&&(r=t.child.length===0),e=this.parseTextData(e,t.tagname,n,!1,t[`:@`]?Object.keys(t[`:@`]).length!==0:!1,r),e!==void 0&&e!==``&&t.add(this.options.textNodeName,e),``),e}function Vb(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Hb(e,t,n=`>`){let r=0,i=e.length,a=n.charCodeAt(0),o=n.length>1?n.charCodeAt(1):-1,s=``,c=t;for(let n=t;n`){let i=Hb(e,t+1,r);if(!i)return;let a=i.data,o=i.index,s=a.search(/\s/),c=a,l=!0;s!==-1&&(c=a.substring(0,s),a=a.substring(s+1).trimStart());let u=c;if(n){let e=c.indexOf(`:`);e!==-1&&(c=c.substr(e+1),l=c!==i.data.substr(e+1))}return{tagName:c,tagExp:a,closeIndex:o,attrExpPresent:l,rawTagName:u}}function Kb(e,t,n){let r=n,i=1,a=e.length;for(;n`,n,`${t} is not closed`);if(e.substring(n+2,a).trim()===t&&(i--,i===0))return{tagContent:e.substring(r,n),i:a};n=a}else if(a===63)n=Ub(e,`?>`,n+1,`StopNode is not closed.`);else if(a===33&&e.charCodeAt(n+2)===45&&e.charCodeAt(n+3)===45)n=Ub(e,`-->`,n+3,`StopNode is not closed.`);else if(a===33&&e.charCodeAt(n+2)===91)n=Ub(e,`]]>`,n,`StopNode is not closed.`)-2;else{let r=Gb(e,n,!1);r&&((r&&r.tagName)===t&&r.tagExp[r.tagExp.length-1]!==`/`&&i++,n=r.closeIndex)}}}function qb(e,t,n){if(t&&typeof e==`string`){let t=e.trim();return t===`true`?!0:t===`false`?!1:yb(e,n)}else if(sy(e))return e;else return``}function Jb(e,t,n,r){if(e){let r=e(t);n===t&&(n=r),t=r}return t=Yb(t,r),{tagName:t,tagExp:n}}function Yb(e,t){if(ly.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return cy.includes(e)?t.onDangerousProperty(e):e}const Xb=nb.getMetaDataSymbol();function Zb(e,t){if(!e||typeof e!=`object`)return{};if(!t)return e;let n={};for(let r in e)if(r.startsWith(t)){let i=r.substring(t.length);n[i]=e[r]}else n[r]=e[r];return n}function Qb(e,t,n,r){return $b(e,t,n,r)}function $b(e,t,n,r){let i,a={};for(let o=0;o0&&(a[t.textNodeName]=i):i!==void 0&&(a[t.textNodeName]=i),a}function ex(e){let t=Object.keys(e);for(let e=0;e/g,`]]]]>`)}function ox(e){return String(e).replace(/"/g,`"`).replace(/'/g,`'`)}function sx(e,t){if(!Array.isArray(e)||e.length===0)return`1.0`;let n=e[0];if(mx(n)===`?xml`){let e=n[`:@`];if(e){let n=t.attributeNamePrefix+`version`;if(e[n])return e[n]}}return`1.0`}function cx(e,t,n,r,i){return!n.sanitizeName||lb(e,{xmlVersion:i})?e:n.sanitizeName(e,{isAttribute:t,matcher:r.readOnly()})}function lx(e,t){let n=``;t.format&&(n=` +`);let r=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;et.maxNestedTags)throw Error(`Maximum nested tags exceeded`);if(!Array.isArray(e)){if(e!=null){let n=e.toString();return n=_x(n,t),n}return``}for(let c=0;c`,s=!1,r.pop();continue}else if(d===t.commentPropName){let e=l[u][0][t.textNodeName],i=ix(e);o+=n+``,s=!0,r.pop();continue}else if(d[0]===`?`){let e=hx(l[`:@`],t,p,r,a);o+=(d===`?xml`?``:n)+`<${d}${e}?>`,s=!0,r.pop();continue}let m=n;m!==``&&(m+=t.indentBy);let h=n+`<${d}${hx(l[`:@`],t,p,r,a)}`,g;g=p?fx(l[u],t):ux(l[u],t,m,r,i,a),t.unpairedTags.indexOf(d)===-1?(!g||g.length===0)&&t.suppressEmptyNode?o+=h+`/>`:g&&g.endsWith(`>`)?o+=h+`>${g}${n}`:(o+=h+`>`,g&&n!==``&&(g.includes(`/>`)||g.includes(``):t.suppressUnpairedNode?o+=h+`>`:o+=h+`/>`,s=!0,r.pop()}return o}function dx(e,t){if(!e||t.ignoreAttributes)return null;let n={},r=!1;for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let a=i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i;n[a]=ox(e[i]),r=!0}return r?n:null}function fx(e,t){if(!Array.isArray(e))return e==null?``:e.toString();let n=``;for(let r=0;r`:n+=`<${a}${e}>${r}`}}return n}function px(e,t){let n=``;if(e&&!t.ignoreAttributes)for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=e[r];i===!0&&t.suppressBooleanAttributes?n+=` ${r.substr(t.attributeNamePrefix.length)}`:n+=` ${r.substr(t.attributeNamePrefix.length)}="${ox(i)}"`}return n}function mx(e){let t=Object.keys(e);for(let n=0;n0&&t.processEntities)for(let n=0;n{for(let n of e)if(typeof n==`string`&&t===n||n instanceof RegExp&&n.test(t))return!0}:()=>!1}const yx={attributeNamePrefix:`@_`,attributesGroupName:!1,textNodeName:`#text`,ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:` `,suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp(`&`,`g`),val:`&`},{regex:RegExp(`>`,`g`),val:`>`},{regex:RegExp(`<`,`g`),val:`<`},{regex:RegExp(`'`,`g`),val:`'`},{regex:RegExp(`"`,`g`),val:`"`}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function bx(e){if(this.options=Object.assign({},yx,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>typeof e==`string`&&e.startsWith(`*.`)?`..`+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e `,this.newLine=` -`):(this.indentate=function(){return``},this.tagEndChar=`>`,this.newLine=``)}function bx(e,t){let n=e[`?xml`];if(n&&typeof n==`object`){if(t.attributesGroupName&&n[t.attributesGroupName]){let e=n[t.attributesGroupName][t.attributeNamePrefix+`version`];if(e)return e}let e=n[t.attributeNamePrefix+`version`];if(e)return e}return`1.0`}function xx(e,t,n,r,i){return!n.sanitizeName||cb(e,{xmlVersion:i})?e:n.sanitizeName(e,{isAttribute:t,matcher:r.readOnly()})}yx.prototype.build=function(e){if(this.options.preserveOrder)return cx(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new Ob,n=bx(e,this.options);return this.j2x(e,0,t,n).val}},yx.prototype.j2x=function(e,t,n,r){let i=``,a=``;if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw Error(`Maximum nested tags exceeded`);let o=this.options.jPath?n.toString():n,s=this.checkStopNode(n);for(let c in e){if(!Object.prototype.hasOwnProperty.call(e,c))continue;let l=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]===`?`?c:xx(c,!1,this.options,n,r);if(e[c]===void 0)this.isAttribute(c)&&(a+=``);else if(e[c]===null)this.isAttribute(c)||l===this.options.cdataPropName||l===this.options.commentPropName?a+=``:l[0]===`?`?a+=this.indentate(t)+`<`+l+`?`+this.tagEndChar:a+=this.indentate(t)+`<`+l+`/`+this.tagEndChar;else if(e[c]instanceof Date)a+=this.buildTextValNode(e[c],l,``,t,n);else if(typeof e[c]!=`object`){let u=this.isAttribute(c);if(u&&!this.ignoreAttributesFn(u,o)){let t=xx(u,!0,this.options,n,r);i+=this.buildAttrPairStr(t,``+e[c],s)}else if(!u)if(c===this.options.textNodeName){let t=this.options.tagValueProcessor(c,``+e[c]);a+=this.replaceEntitiesValue(t)}else{n.push(l);let r=this.checkStopNode(n);if(n.pop(),r){let n=``+e[c];n===``?a+=this.indentate(t)+`<`+l+this.closeTag(l)+this.tagEndChar:a+=this.indentate(t)+`<`+l+`>`+n+``+e+`${e}`;else if(typeof e==`object`&&e){let r=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);r===``?t+=`<${n}${i}/>`:t+=`<${n}${i}>${r}`}}else if(typeof r==`object`&&r){let e=this.buildRawContent(r),i=this.buildAttributesForStopNode(r);e===``?t+=`<${n}${i}/>`:t+=`<${n}${i}>${e}`}else t+=`<${n}>${r}`}return t},yx.prototype.buildAttributesForStopNode=function(e){if(!e||typeof e!=`object`)return``;let t=``;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let n=e[this.options.attributesGroupName];for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;let r=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=n[e];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`="`+i+`"`}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=this.isAttribute(n);if(r){let i=e[n];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`="`+i+`"`}}return t},yx.prototype.buildObjectNode=function(e,t,n,r){if(e===``)return t[0]===`?`?this.indentate(r)+`<`+t+n+`?`+this.tagEndChar:this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar;if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;{let i=``+e+i:this.options.commentPropName!==!1&&t===this.options.commentPropName&&a.length===0?this.indentate(r)+``+this.newLine:this.indentate(r)+`<`+t+n+a+this.tagEndChar+e+this.indentate(r)+i}},yx.prototype.closeTag=function(e){let t=``;return this.options.unpairedTags.indexOf(e)===-1?t=this.options.suppressEmptyNode?`/`:`>`+this.newLine}else if(this.options.commentPropName!==!1&&t===this.options.commentPropName){let t=rx(e);return this.indentate(r)+``+this.newLine}else if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;else{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),i===``?this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+`<`+t+n+`>`+i+`0&&this.options.processEntities)for(let t=0;t${r.build(i)}`.replace(/\n/g,``)}async function jx(e,t={}){if(!e)throw Error(`Document is empty`);let n=Ex.validate(e);if(n!==!0)throw n;let r=new nx(kx(t)).parse(e);if(r[`?xml`]&&delete r[`?xml`],!t.includeRoot)for(let e of Object.keys(r)){let t=r[e];return typeof t==`object`?{...t}:t}return r}const Mx=Qh(`storage-blob`);var Nx=class extends y{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,n){super(n),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let r=0;for(let e of this.buffers)r+=e.byteLength;if(r=this.byteLength&&this.push(null),e||=this.readableHighWaterMark;let t=[],n=0;for(;ne-n){let r=this.byteOffsetInCurrentBuffer+e-n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,r)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=r,n=e;break}else{let e=this.byteOffsetInCurrentBuffer+a;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=a,n+=a}}t.length>1?this.push(Buffer.concat(t)):t.length===1&&this.push(t[0])}};const Px=x.constants.MAX_LENGTH;var Fx=class{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,n){this.capacity=e,this._size=0;let r=Math.ceil(e/Px);for(let t=0;t0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Nx(this.buffers,this.size)}},Ix=class{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new m;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,n,r,i,a){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(n<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(i<=0)throw RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=t,this.maxBuffers=n,this.readable=e,this.outgoingHandler=r,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,t)=>{this.readable.on(`data`,e=>{e=typeof e==`string`?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on(`error`,e=>{this.emitter.emit(`error`,e)}),this.readable.on(`end`,()=>{this.isStreamEnd=!0,this.emitter.emit(`checkEnd`)}),this.emitter.on(`error`,e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on(`checkEnd`,()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(t)}else if(this.unresolvedLength>=this.bufferSize)return;else e()})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new Fx(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit(`error`,e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit(`checkEnd`)}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};let Lx;function Rx(){return Lx||=Jg(),Lx}var zx=class{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}};const Bx={Parameters:{FORCE_BROWSER_NO_CACHE:`_`,SIGNATURE:`sig`,SNAPSHOT:`snapshot`,VERSIONID:`versionid`,TIMEOUT:`timeout`}},V={AUTHORIZATION:`Authorization`,AUTHORIZATION_SCHEME:`Bearer`,CONTENT_ENCODING:`Content-Encoding`,CONTENT_ID:`Content-ID`,CONTENT_LANGUAGE:`Content-Language`,CONTENT_LENGTH:`Content-Length`,CONTENT_MD5:`Content-Md5`,CONTENT_TRANSFER_ENCODING:`Content-Transfer-Encoding`,CONTENT_TYPE:`Content-Type`,COOKIE:`Cookie`,DATE:`date`,IF_MATCH:`if-match`,IF_MODIFIED_SINCE:`if-modified-since`,IF_NONE_MATCH:`if-none-match`,IF_UNMODIFIED_SINCE:`if-unmodified-since`,PREFIX_FOR_STORAGE:`x-ms-`,RANGE:`Range`,USER_AGENT:`User-Agent`,X_MS_CLIENT_REQUEST_ID:`x-ms-client-request-id`,X_MS_COPY_SOURCE:`x-ms-copy-source`,X_MS_DATE:`x-ms-date`,X_MS_ERROR_CODE:`x-ms-error-code`,X_MS_VERSION:`x-ms-version`,X_MS_CopySourceErrorCode:`x-ms-copy-source-error-code`};function Vx(e,t,n){let r=new URL(e),i=encodeURIComponent(t),a=n?encodeURIComponent(n):void 0,o=r.search===``?`?`:r.search,s=[];for(let e of o.slice(1).split(`&`))if(e){let[t]=e.split(`=`,2);t!==i&&s.push(e)}return a&&s.push(`${i}=${a}`),r.search=s.length?`?${s.join(`&`)}`:``,r.toString()}function Hx(e,t){let n=new URL(e);return n.hostname=t,n.toString()}function Ux(e){try{return new URL(e).pathname}catch{return}}function Wx(e){let t=new URL(e).search;if(!t)return{};t=t.trim(),t=t.startsWith(`?`)?t.substring(1):t;let n=t.split(`&`);n=n.filter(e=>{let t=e.indexOf(`=`),n=e.lastIndexOf(`=`);return t>0&&t===n&&n{let a,o=()=>{a!==void 0&&clearTimeout(a),i(n)};a=setTimeout(()=>{t!==void 0&&t.removeEventListener(`abort`,o),r()},e),t!==void 0&&t.addEventListener(`abort`,o)})}var Kx=class extends zx{constructor(e,t){super(e,t)}async sendRequest(e){return gg?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()===`GET`||e.method.toUpperCase()===`HEAD`)&&(e.url=Vx(e.url,Bx.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(V.COOKIE),e.headers.remove(V.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}},qx=class{create(e,t){return new Kx(e,t)}},Jx=class extends zx{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}},Yx=class extends Jx{constructor(e,t){super(e,t)}},Xx=class{create(e,t){throw Error(`Method should be implemented in children classes.`)}},Zx=class extends Xx{create(e,t){return new Yx(e,t)}};const Qx=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),$x=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),eS=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function tS(e,t){return nS(e,t)?-1:1}function nS(e,t){let n=[Qx,$x,eS],r=0,i=0,a=0;for(;ra;let o=i0&&e.headers.set(V.CONTENT_LENGTH,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,V.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,V.CONTENT_ENCODING),this.getHeaderValueToSign(e,V.CONTENT_LENGTH),this.getHeaderValueToSign(e,V.CONTENT_MD5),this.getHeaderValueToSign(e,V.CONTENT_TYPE),this.getHeaderValueToSign(e,V.DATE),this.getHeaderValueToSign(e,V.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,V.IF_MATCH),this.getHeaderValueToSign(e,V.IF_NONE_MATCH),this.getHeaderValueToSign(e,V.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,V.RANGE)].join(` +`):(this.indentate=function(){return``},this.tagEndChar=`>`,this.newLine=``)}function xx(e,t){let n=e[`?xml`];if(n&&typeof n==`object`){if(t.attributesGroupName&&n[t.attributesGroupName]){let e=n[t.attributesGroupName][t.attributeNamePrefix+`version`];if(e)return e}let e=n[t.attributeNamePrefix+`version`];if(e)return e}return`1.0`}function Sx(e,t,n,r,i){return!n.sanitizeName||lb(e,{xmlVersion:i})?e:n.sanitizeName(e,{isAttribute:t,matcher:r.readOnly()})}bx.prototype.build=function(e){if(this.options.preserveOrder)return lx(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new kb,n=xx(e,this.options);return this.j2x(e,0,t,n).val}},bx.prototype.j2x=function(e,t,n,r){let i=``,a=``;if(this.options.maxNestedTags&&n.getDepth()>=this.options.maxNestedTags)throw Error(`Maximum nested tags exceeded`);let o=this.options.jPath?n.toString():n,s=this.checkStopNode(n);for(let c in e){if(!Object.prototype.hasOwnProperty.call(e,c))continue;let l=c===this.options.textNodeName||c===this.options.cdataPropName||c===this.options.commentPropName||this.options.attributesGroupName&&c===this.options.attributesGroupName||this.isAttribute(c)||c[0]===`?`?c:Sx(c,!1,this.options,n,r);if(e[c]===void 0)this.isAttribute(c)&&(a+=``);else if(e[c]===null)this.isAttribute(c)||l===this.options.cdataPropName||l===this.options.commentPropName?a+=``:l[0]===`?`?a+=this.indentate(t)+`<`+l+`?`+this.tagEndChar:a+=this.indentate(t)+`<`+l+`/`+this.tagEndChar;else if(e[c]instanceof Date)a+=this.buildTextValNode(e[c],l,``,t,n);else if(typeof e[c]!=`object`){let u=this.isAttribute(c);if(u&&!this.ignoreAttributesFn(u,o)){let t=Sx(u,!0,this.options,n,r);i+=this.buildAttrPairStr(t,``+e[c],s)}else if(!u)if(c===this.options.textNodeName){let t=this.options.tagValueProcessor(c,``+e[c]);a+=this.replaceEntitiesValue(t)}else{n.push(l);let r=this.checkStopNode(n);if(n.pop(),r){let n=``+e[c];n===``?a+=this.indentate(t)+`<`+l+this.closeTag(l)+this.tagEndChar:a+=this.indentate(t)+`<`+l+`>`+n+``+e+`${e}`;else if(typeof e==`object`&&e){let r=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);r===``?t+=`<${n}${i}/>`:t+=`<${n}${i}>${r}`}}else if(typeof r==`object`&&r){let e=this.buildRawContent(r),i=this.buildAttributesForStopNode(r);e===``?t+=`<${n}${i}/>`:t+=`<${n}${i}>${e}`}else t+=`<${n}>${r}`}return t},bx.prototype.buildAttributesForStopNode=function(e){if(!e||typeof e!=`object`)return``;let t=``;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let n=e[this.options.attributesGroupName];for(let e in n){if(!Object.prototype.hasOwnProperty.call(n,e))continue;let r=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=n[e];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`="`+i+`"`}}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let r=this.isAttribute(n);if(r){let i=e[n];i===!0&&this.options.suppressBooleanAttributes?t+=` `+r:t+=` `+r+`="`+i+`"`}}return t},bx.prototype.buildObjectNode=function(e,t,n,r){if(e===``)return t[0]===`?`?this.indentate(r)+`<`+t+n+`?`+this.tagEndChar:this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar;if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;{let i=``+e+i:this.options.commentPropName!==!1&&t===this.options.commentPropName&&a.length===0?this.indentate(r)+``+this.newLine:this.indentate(r)+`<`+t+n+a+this.tagEndChar+e+this.indentate(r)+i}},bx.prototype.closeTag=function(e){let t=``;return this.options.unpairedTags.indexOf(e)===-1?t=this.options.suppressEmptyNode?`/`:`>`+this.newLine}else if(this.options.commentPropName!==!1&&t===this.options.commentPropName){let t=ix(e);return this.indentate(r)+``+this.newLine}else if(t[0]===`?`)return this.indentate(r)+`<`+t+n+`?`+this.tagEndChar;else{let i=this.options.tagValueProcessor(t,e);return i=this.replaceEntitiesValue(i),i===``?this.indentate(r)+`<`+t+n+this.closeTag(t)+this.tagEndChar:this.indentate(r)+`<`+t+n+`>`+i+`0&&this.options.processEntities)for(let t=0;t${r.build(i)}`.replace(/\n/g,``)}async function Mx(e,t={}){if(!e)throw Error(`Document is empty`);let n=Dx.validate(e);if(n!==!0)throw n;let r=new rx(Ax(t)).parse(e);if(r[`?xml`]&&delete r[`?xml`],!t.includeRoot)for(let e of Object.keys(r)){let t=r[e];return typeof t==`object`?{...t}:t}return r}const Nx=$h(`storage-blob`);var Px=class extends y{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,n){super(n),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let r=0;for(let e of this.buffers)r+=e.byteLength;if(r=this.byteLength&&this.push(null),e||=this.readableHighWaterMark;let t=[],n=0;for(;ne-n){let r=this.byteOffsetInCurrentBuffer+e-n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,r)),this.pushedBytesLength+=e-n,this.byteOffsetInCurrentBuffer=r,n=e;break}else{let e=this.byteOffsetInCurrentBuffer+a;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),a===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=a,n+=a}}t.length>1?this.push(Buffer.concat(t)):t.length===1&&this.push(t[0])}};const Fx=x.constants.MAX_LENGTH;var Ix=class{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,n){this.capacity=e,this._size=0;let r=Math.ceil(e/Fx);for(let t=0;t0&&(e[0]=e[0].slice(a))}getReadableStream(){return new Px(this.buffers,this.size)}},Lx=class{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new m;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,n,r,i,a){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(n<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${n}`);if(i<=0)throw RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=t,this.maxBuffers=n,this.readable=e,this.outgoingHandler=r,this.concurrency=i,this.encoding=a}async do(){return new Promise((e,t)=>{this.readable.on(`data`,e=>{e=typeof e==`string`?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on(`error`,e=>{this.emitter.emit(`error`,e)}),this.readable.on(`end`,()=>{this.isStreamEnd=!0,this.emitter.emit(`checkEnd`)}),this.emitter.on(`error`,e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on(`checkEnd`,()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0)if(this.unresolvedLength>0&&this.unresolvedLengthn.getReadableStream(),n.size,this.offset).then(e).catch(t)}else if(this.unresolvedLength>=this.bufferSize)return;else e()})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new Ix(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else if(this.numBuffers=this.concurrency)return;e=this.outgoing.shift(),e&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit(`error`,e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit(`checkEnd`)}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}};let Rx;function zx(){return Rx||=Yg(),Rx}var Bx=class{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}};const Vx={Parameters:{FORCE_BROWSER_NO_CACHE:`_`,SIGNATURE:`sig`,SNAPSHOT:`snapshot`,VERSIONID:`versionid`,TIMEOUT:`timeout`}},V={AUTHORIZATION:`Authorization`,AUTHORIZATION_SCHEME:`Bearer`,CONTENT_ENCODING:`Content-Encoding`,CONTENT_ID:`Content-ID`,CONTENT_LANGUAGE:`Content-Language`,CONTENT_LENGTH:`Content-Length`,CONTENT_MD5:`Content-Md5`,CONTENT_TRANSFER_ENCODING:`Content-Transfer-Encoding`,CONTENT_TYPE:`Content-Type`,COOKIE:`Cookie`,DATE:`date`,IF_MATCH:`if-match`,IF_MODIFIED_SINCE:`if-modified-since`,IF_NONE_MATCH:`if-none-match`,IF_UNMODIFIED_SINCE:`if-unmodified-since`,PREFIX_FOR_STORAGE:`x-ms-`,RANGE:`Range`,USER_AGENT:`User-Agent`,X_MS_CLIENT_REQUEST_ID:`x-ms-client-request-id`,X_MS_COPY_SOURCE:`x-ms-copy-source`,X_MS_DATE:`x-ms-date`,X_MS_ERROR_CODE:`x-ms-error-code`,X_MS_VERSION:`x-ms-version`,X_MS_CopySourceErrorCode:`x-ms-copy-source-error-code`};function Hx(e,t,n){let r=new URL(e),i=encodeURIComponent(t),a=n?encodeURIComponent(n):void 0,o=r.search===``?`?`:r.search,s=[];for(let e of o.slice(1).split(`&`))if(e){let[t]=e.split(`=`,2);t!==i&&s.push(e)}return a&&s.push(`${i}=${a}`),r.search=s.length?`?${s.join(`&`)}`:``,r.toString()}function Ux(e,t){let n=new URL(e);return n.hostname=t,n.toString()}function Wx(e){try{return new URL(e).pathname}catch{return}}function Gx(e){let t=new URL(e).search;if(!t)return{};t=t.trim(),t=t.startsWith(`?`)?t.substring(1):t;let n=t.split(`&`);n=n.filter(e=>{let t=e.indexOf(`=`),n=e.lastIndexOf(`=`);return t>0&&t===n&&n{let a,o=()=>{a!==void 0&&clearTimeout(a),i(n)};a=setTimeout(()=>{t!==void 0&&t.removeEventListener(`abort`,o),r()},e),t!==void 0&&t.addEventListener(`abort`,o)})}var qx=class extends Bx{constructor(e,t){super(e,t)}async sendRequest(e){return _g?this._nextPolicy.sendRequest(e):((e.method.toUpperCase()===`GET`||e.method.toUpperCase()===`HEAD`)&&(e.url=Hx(e.url,Vx.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.remove(V.COOKIE),e.headers.remove(V.CONTENT_LENGTH),this._nextPolicy.sendRequest(e))}},Jx=class{create(e,t){return new qx(e,t)}},Yx=class extends Bx{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}},Xx=class extends Yx{constructor(e,t){super(e,t)}},Zx=class{create(e,t){throw Error(`Method should be implemented in children classes.`)}},Qx=class extends Zx{create(e,t){return new Xx(e,t)}};const $x=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),eS=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),tS=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function nS(e,t){return rS(e,t)?-1:1}function rS(e,t){let n=[$x,eS,tS],r=0,i=0,a=0;for(;ra;let o=i0&&e.headers.set(V.CONTENT_LENGTH,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,V.CONTENT_LANGUAGE),this.getHeaderValueToSign(e,V.CONTENT_ENCODING),this.getHeaderValueToSign(e,V.CONTENT_LENGTH),this.getHeaderValueToSign(e,V.CONTENT_MD5),this.getHeaderValueToSign(e,V.CONTENT_TYPE),this.getHeaderValueToSign(e,V.DATE),this.getHeaderValueToSign(e,V.IF_MODIFIED_SINCE),this.getHeaderValueToSign(e,V.IF_MATCH),this.getHeaderValueToSign(e,V.IF_NONE_MATCH),this.getHeaderValueToSign(e,V.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(e,V.RANGE)].join(` `)+` -`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(t);return e.headers.set(V.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,t){let n=e.headers.get(t);return!n||t===V.CONTENT_LENGTH&&n===`0`?``:n}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(V.PREFIX_FOR_STORAGE));t.sort((e,t)=>tS(e.name.toLowerCase(),t.name.toLowerCase())),t=t.filter((e,t,n)=>!(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()));let n=``;return t.forEach(e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}),n}getCanonicalizedResourceString(e){let t=Ux(e.url)||`/`,n=``;n+=`/${this.factory.accountName}${t}`;let r=Wx(e.url),i={};if(r){let e=[];for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)){let n=t.toLowerCase();i[n]=r[t],e.push(n)}e.sort();for(let t of e)n+=`\n${t}:${decodeURIComponent(i[t])}`}return n}},iS=class extends Xx{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,`base64`)}create(e,t){return new rS(e,t,this)}computeHMACSHA256(e){return T(`sha256`,this.accountKey).update(e,`utf8`).digest(`base64`)}};const aS=Qh(`storage-common`);var oS;(function(e){e[e.EXPONENTIAL=0]=`EXPONENTIAL`,e[e.FIXED=1]=`FIXED`})(oS||={});const sS={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:oS.EXPONENTIAL,secondaryHost:``,tryTimeoutInMs:void 0},cS=new ug(`The operation was aborted.`);var lS=class extends zx{retryOptions;constructor(e,t,n=sS){super(e,t),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:sS.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):sS.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:sS.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:sS.maxRetryDelayInMs):sS.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:sS.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:sS.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,n){let r=e.clone(),i=t||!this.retryOptions.secondaryHost||!(e.method===`GET`||e.method===`HEAD`||e.method===`OPTIONS`)||n%2==1;i||(r.url=Hx(r.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(r.url=Vx(r.url,Bx.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(aS.info(`RetryPolicy: =====> Try=${n} ${i?`Primary`:`Secondary`}`),a=await this._nextPolicy.sendRequest(r),!this.shouldRetry(i,n,a))return a;t||=!i&&a.status===404}catch(e){if(aS.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(i,n,a,e))throw e}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,t,++n)}shouldRetry(e,t,n,r){if(t>=this.retryOptions.maxTries)return aS.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=[`ETIMEDOUT`,`ESOCKETTIMEDOUT`,`ECONNREFUSED`,`ECONNRESET`,`ENOENT`,`ENOTFOUND`,`TIMEOUT`,`EPIPE`,`REQUEST_SEND_ERROR`];if(r){for(let e of i)if(r.name.toUpperCase().includes(e)||r.message.toUpperCase().includes(e)||r.code&&r.code.toString().toUpperCase()===e)return aS.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(n||r){let t=n?n.status:r?r.statusCode:0;if(!e&&t===404)return aS.info(`RetryPolicy: Secondary access with 404, will retry.`),!0;if(t===503||t===500)return aS.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(n&&n?.status>=400){let e=n.headers.get(V.X_MS_CopySourceErrorCode);if(e!==void 0)switch(e){case`InternalError`:case`OperationTimedOut`:case`ServerBusy`:return!0}}return r?.code===`PARSE_ERROR`&&r?.message.startsWith(`Error "Error: Unclosed root tag`)?(aS.info(`RetryPolicy: Incomplete XML response likely due to service timeout, will retry.`),!0):!1}async delay(e,t,n){let r=0;if(e)switch(this.retryOptions.retryPolicyType){case oS.EXPONENTIAL:r=Math.min((2**(t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case oS.FIXED:r=this.retryOptions.retryDelayInMs;break}else r=Math.random()*1e3;return aS.info(`RetryPolicy: Delay for ${r}ms`),Gx(r,n,cS)}},uS=class{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new lS(e,t,this.retryOptions)}};function dS(){return{name:`storageBrowserPolicy`,async sendRequest(e,t){return gg?t(e):((e.method===`GET`||e.method===`HEAD`)&&(e.url=Vx(e.url,Bx.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.delete(V.COOKIE),e.headers.delete(V.CONTENT_LENGTH),t(e))}}}function fS(){function e(e){e.body&&(typeof e.body==`string`||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(V.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:`StorageCorrectContentLengthPolicy`,async sendRequest(t,n){return e(t),n(t)}}}const pS={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:oS.EXPONENTIAL,secondaryHost:``,tryTimeoutInMs:void 0},mS=[`ETIMEDOUT`,`ESOCKETTIMEDOUT`,`ECONNREFUSED`,`ECONNRESET`,`ENOENT`,`ENOTFOUND`,`TIMEOUT`,`EPIPE`,`REQUEST_SEND_ERROR`],hS=new ug(`The operation was aborted.`);function gS(e={}){let t=e.retryPolicyType??pS.retryPolicyType,n=e.maxTries??pS.maxTries,r=e.retryDelayInMs??pS.retryDelayInMs,i=e.maxRetryDelayInMs??pS.maxRetryDelayInMs,a=e.secondaryHost??pS.secondaryHost,o=e.tryTimeoutInMs??pS.tryTimeoutInMs;function s({isPrimaryRetry:e,attempt:t,response:r,error:i}){if(t>=n)return aS.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${n}, no further try.`),!1;if(i){for(let e of mS)if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return aS.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(i?.code===`PARSE_ERROR`&&i?.message.startsWith(`Error "Error: Unclosed root tag`))return aS.info(`RetryPolicy: Incomplete XML response likely due to service timeout, will retry.`),!0}if(r||i){let t=r?.status??i?.statusCode??0;if(!e&&t===404)return aS.info(`RetryPolicy: Secondary access with 404, will retry.`),!0;if(t===503||t===500)return aS.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(V.X_MS_CopySourceErrorCode);if(e!==void 0)switch(e){case`InternalError`:case`OperationTimedOut`:case`ServerBusy`:return!0}}return!1}function c(e,n){let a=0;if(e)switch(t){case oS.EXPONENTIAL:a=Math.min((2**(n-1)-1)*r,i);break;case oS.FIXED:a=r;break}else a=Math.random()*1e3;return aS.info(`RetryPolicy: Delay for ${a}ms`),a}return{name:`storageRetryPolicy`,async sendRequest(e,t){o&&(e.url=Vx(e.url,Bx.Parameters.TIMEOUT,String(Math.floor(o/1e3))));let n=e.url,r=a?Hx(e.url,a):void 0,i=!1,l=1,u=!0,d,f;for(;u;){let a=i||!r||![`GET`,`HEAD`,`OPTIONS`].includes(e.method)||l%2==1;e.url=a?n:r,d=void 0,f=void 0;try{aS.info(`RetryPolicy: =====> Try=${l} ${a?`Primary`:`Secondary`}`),d=await t(e),i||=!a&&d.status===404}catch(e){if(zg(e))aS.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),f=e;else throw aS.error(`RetryPolicy: Caught error, message: ${pg(e)}`),e}u=s({isPrimaryRetry:a,attempt:l,response:d,error:f}),u&&await Gx(c(a,l),e.abortSignal,hS),l++}if(d)return d;throw f??new Rg(`RetryPolicy failed without known error.`)}}}function _S(e){function t(t){t.headers.set(V.X_MS_DATE,new Date().toUTCString()),t.body&&(typeof t.body==`string`||Buffer.isBuffer(t.body))&&t.body.length>0&&t.headers.set(V.CONTENT_LENGTH,Buffer.byteLength(t.body));let a=[t.method.toUpperCase(),n(t,V.CONTENT_LANGUAGE),n(t,V.CONTENT_ENCODING),n(t,V.CONTENT_LENGTH),n(t,V.CONTENT_MD5),n(t,V.CONTENT_TYPE),n(t,V.DATE),n(t,V.IF_MODIFIED_SINCE),n(t,V.IF_MATCH),n(t,V.IF_NONE_MATCH),n(t,V.IF_UNMODIFIED_SINCE),n(t,V.RANGE)].join(` +`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),n=this.factory.computeHMACSHA256(t);return e.headers.set(V.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,t){let n=e.headers.get(t);return!n||t===V.CONTENT_LENGTH&&n===`0`?``:n}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(V.PREFIX_FOR_STORAGE));t.sort((e,t)=>nS(e.name.toLowerCase(),t.name.toLowerCase())),t=t.filter((e,t,n)=>!(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()));let n=``;return t.forEach(e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}),n}getCanonicalizedResourceString(e){let t=Wx(e.url)||`/`,n=``;n+=`/${this.factory.accountName}${t}`;let r=Gx(e.url),i={};if(r){let e=[];for(let t in r)if(Object.prototype.hasOwnProperty.call(r,t)){let n=t.toLowerCase();i[n]=r[t],e.push(n)}e.sort();for(let t of e)n+=`\n${t}:${decodeURIComponent(i[t])}`}return n}},aS=class extends Zx{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,`base64`)}create(e,t){return new iS(e,t,this)}computeHMACSHA256(e){return T(`sha256`,this.accountKey).update(e,`utf8`).digest(`base64`)}};const oS=$h(`storage-common`);var sS;(function(e){e[e.EXPONENTIAL=0]=`EXPONENTIAL`,e[e.FIXED=1]=`FIXED`})(sS||={});const cS={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:sS.EXPONENTIAL,secondaryHost:``,tryTimeoutInMs:void 0},lS=new dg(`The operation was aborted.`);var uS=class extends Bx{retryOptions;constructor(e,t,n=cS){super(e,t),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:cS.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):cS.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:cS.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:cS.maxRetryDelayInMs):cS.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:cS.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:cS.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,n){let r=e.clone(),i=t||!this.retryOptions.secondaryHost||!(e.method===`GET`||e.method===`HEAD`||e.method===`OPTIONS`)||n%2==1;i||(r.url=Ux(r.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(r.url=Hx(r.url,Vx.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(oS.info(`RetryPolicy: =====> Try=${n} ${i?`Primary`:`Secondary`}`),a=await this._nextPolicy.sendRequest(r),!this.shouldRetry(i,n,a))return a;t||=!i&&a.status===404}catch(e){if(oS.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(i,n,a,e))throw e}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,t,++n)}shouldRetry(e,t,n,r){if(t>=this.retryOptions.maxTries)return oS.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=[`ETIMEDOUT`,`ESOCKETTIMEDOUT`,`ECONNREFUSED`,`ECONNRESET`,`ENOENT`,`ENOTFOUND`,`TIMEOUT`,`EPIPE`,`REQUEST_SEND_ERROR`];if(r){for(let e of i)if(r.name.toUpperCase().includes(e)||r.message.toUpperCase().includes(e)||r.code&&r.code.toString().toUpperCase()===e)return oS.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(n||r){let t=n?n.status:r?r.statusCode:0;if(!e&&t===404)return oS.info(`RetryPolicy: Secondary access with 404, will retry.`),!0;if(t===503||t===500)return oS.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(n&&n?.status>=400){let e=n.headers.get(V.X_MS_CopySourceErrorCode);if(e!==void 0)switch(e){case`InternalError`:case`OperationTimedOut`:case`ServerBusy`:return!0}}return r?.code===`PARSE_ERROR`&&r?.message.startsWith(`Error "Error: Unclosed root tag`)?(oS.info(`RetryPolicy: Incomplete XML response likely due to service timeout, will retry.`),!0):!1}async delay(e,t,n){let r=0;if(e)switch(this.retryOptions.retryPolicyType){case sS.EXPONENTIAL:r=Math.min((2**(t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case sS.FIXED:r=this.retryOptions.retryDelayInMs;break}else r=Math.random()*1e3;return oS.info(`RetryPolicy: Delay for ${r}ms`),Kx(r,n,lS)}},dS=class{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new uS(e,t,this.retryOptions)}};function fS(){return{name:`storageBrowserPolicy`,async sendRequest(e,t){return _g?t(e):((e.method===`GET`||e.method===`HEAD`)&&(e.url=Hx(e.url,Vx.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),e.headers.delete(V.COOKIE),e.headers.delete(V.CONTENT_LENGTH),t(e))}}}function pS(){function e(e){e.body&&(typeof e.body==`string`||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(V.CONTENT_LENGTH,Buffer.byteLength(e.body))}return{name:`StorageCorrectContentLengthPolicy`,async sendRequest(t,n){return e(t),n(t)}}}const mS={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:sS.EXPONENTIAL,secondaryHost:``,tryTimeoutInMs:void 0},hS=[`ETIMEDOUT`,`ESOCKETTIMEDOUT`,`ECONNREFUSED`,`ECONNRESET`,`ENOENT`,`ENOTFOUND`,`TIMEOUT`,`EPIPE`,`REQUEST_SEND_ERROR`],gS=new dg(`The operation was aborted.`);function _S(e={}){let t=e.retryPolicyType??mS.retryPolicyType,n=e.maxTries??mS.maxTries,r=e.retryDelayInMs??mS.retryDelayInMs,i=e.maxRetryDelayInMs??mS.maxRetryDelayInMs,a=e.secondaryHost??mS.secondaryHost,o=e.tryTimeoutInMs??mS.tryTimeoutInMs;function s({isPrimaryRetry:e,attempt:t,response:r,error:i}){if(t>=n)return oS.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${n}, no further try.`),!1;if(i){for(let e of hS)if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return oS.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(i?.code===`PARSE_ERROR`&&i?.message.startsWith(`Error "Error: Unclosed root tag`))return oS.info(`RetryPolicy: Incomplete XML response likely due to service timeout, will retry.`),!0}if(r||i){let t=r?.status??i?.statusCode??0;if(!e&&t===404)return oS.info(`RetryPolicy: Secondary access with 404, will retry.`),!0;if(t===503||t===500)return oS.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(V.X_MS_CopySourceErrorCode);if(e!==void 0)switch(e){case`InternalError`:case`OperationTimedOut`:case`ServerBusy`:return!0}}return!1}function c(e,n){let a=0;if(e)switch(t){case sS.EXPONENTIAL:a=Math.min((2**(n-1)-1)*r,i);break;case sS.FIXED:a=r;break}else a=Math.random()*1e3;return oS.info(`RetryPolicy: Delay for ${a}ms`),a}return{name:`storageRetryPolicy`,async sendRequest(e,t){o&&(e.url=Hx(e.url,Vx.Parameters.TIMEOUT,String(Math.floor(o/1e3))));let n=e.url,r=a?Ux(e.url,a):void 0,i=!1,l=1,u=!0,d,f;for(;u;){let a=i||!r||![`GET`,`HEAD`,`OPTIONS`].includes(e.method)||l%2==1;e.url=a?n:r,d=void 0,f=void 0;try{oS.info(`RetryPolicy: =====> Try=${l} ${a?`Primary`:`Secondary`}`),d=await t(e),i||=!a&&d.status===404}catch(e){if(Bg(e))oS.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),f=e;else throw oS.error(`RetryPolicy: Caught error, message: ${mg(e)}`),e}u=s({isPrimaryRetry:a,attempt:l,response:d,error:f}),u&&await Kx(c(a,l),e.abortSignal,gS),l++}if(d)return d;throw f??new zg(`RetryPolicy failed without known error.`)}}}function vS(e){function t(t){t.headers.set(V.X_MS_DATE,new Date().toUTCString()),t.body&&(typeof t.body==`string`||Buffer.isBuffer(t.body))&&t.body.length>0&&t.headers.set(V.CONTENT_LENGTH,Buffer.byteLength(t.body));let a=[t.method.toUpperCase(),n(t,V.CONTENT_LANGUAGE),n(t,V.CONTENT_ENCODING),n(t,V.CONTENT_LENGTH),n(t,V.CONTENT_MD5),n(t,V.CONTENT_TYPE),n(t,V.DATE),n(t,V.IF_MODIFIED_SINCE),n(t,V.IF_MATCH),n(t,V.IF_NONE_MATCH),n(t,V.IF_UNMODIFIED_SINCE),n(t,V.RANGE)].join(` `)+` -`+r(t)+i(t),o=T(`sha256`,e.accountKey).update(a,`utf8`).digest(`base64`);t.headers.set(V.AUTHORIZATION,`SharedKey ${e.accountName}:${o}`)}function n(e,t){let n=e.headers.get(t);return!n||t===V.CONTENT_LENGTH&&n===`0`?``:n}function r(e){let t=[];for(let[n,r]of e.headers)n.toLowerCase().startsWith(V.PREFIX_FOR_STORAGE)&&t.push({name:n,value:r});t.sort((e,t)=>tS(e.name.toLowerCase(),t.name.toLowerCase())),t=t.filter((e,t,n)=>!(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()));let n=``;return t.forEach(e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}),n}function i(t){let n=Ux(t.url)||`/`,r=``;r+=`/${e.accountName}${n}`;let i=Wx(t.url),a={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let n=t.toLowerCase();a[n]=i[t],e.push(n)}e.sort();for(let t of e)r+=`\n${t}:${decodeURIComponent(a[t])}`}return r}return{name:`storageSharedKeyCredentialPolicy`,async sendRequest(e,n){return t(e),n(e)}}}function vS(){return{name:`storageRequestFailureDetailsParserPolicy`,async sendRequest(e,t){try{return await t(e)}catch(e){throw typeof e==`object`&&e&&e.response&&e.response.parsedBody&&e.response.parsedBody.code===`InvalidHeaderValue`&&e.response.parsedBody.HeaderName===`x-ms-version`&&(e.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. -`),e}}}}var yS=class{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,`base64`)}computeHMACSHA256(e){return T(`sha256`,this.key).update(e,`utf8`).digest(`base64`)}};const bS=`12.31.0`,xS=`2026-02-06`,SS=5e4,CS=4*1024*1024,wS={Parameters:{FORCE_BROWSER_NO_CACHE:`_`,SIGNATURE:`sig`,SNAPSHOT:`snapshot`,VERSIONID:`versionid`,TIMEOUT:`timeout`}},TS=`Access-Control-Allow-Origin.Cache-Control.Content-Length.Content-Type.Date.Request-Id.traceparent.Transfer-Encoding.User-Agent.x-ms-client-request-id.x-ms-date.x-ms-error-code.x-ms-request-id.x-ms-return-client-request-id.x-ms-version.Accept-Ranges.Content-Disposition.Content-Encoding.Content-Language.Content-MD5.Content-Range.ETag.Last-Modified.Server.Vary.x-ms-content-crc64.x-ms-copy-action.x-ms-copy-completion-time.x-ms-copy-id.x-ms-copy-progress.x-ms-copy-status.x-ms-has-immutability-policy.x-ms-has-legal-hold.x-ms-lease-state.x-ms-lease-status.x-ms-range.x-ms-request-server-encrypted.x-ms-server-encrypted.x-ms-snapshot.x-ms-source-range.If-Match.If-Modified-Since.If-None-Match.If-Unmodified-Since.x-ms-access-tier.x-ms-access-tier-change-time.x-ms-access-tier-inferred.x-ms-account-kind.x-ms-archive-status.x-ms-blob-append-offset.x-ms-blob-cache-control.x-ms-blob-committed-block-count.x-ms-blob-condition-appendpos.x-ms-blob-condition-maxsize.x-ms-blob-content-disposition.x-ms-blob-content-encoding.x-ms-blob-content-language.x-ms-blob-content-length.x-ms-blob-content-md5.x-ms-blob-content-type.x-ms-blob-public-access.x-ms-blob-sequence-number.x-ms-blob-type.x-ms-copy-destination-snapshot.x-ms-creation-time.x-ms-default-encryption-scope.x-ms-delete-snapshots.x-ms-delete-type-permanent.x-ms-deny-encryption-scope-override.x-ms-encryption-algorithm.x-ms-if-sequence-number-eq.x-ms-if-sequence-number-le.x-ms-if-sequence-number-lt.x-ms-incremental-copy.x-ms-lease-action.x-ms-lease-break-period.x-ms-lease-duration.x-ms-lease-id.x-ms-lease-time.x-ms-page-write.x-ms-proposed-lease-id.x-ms-range-get-content-md5.x-ms-rehydrate-priority.x-ms-sequence-number-action.x-ms-sku-name.x-ms-source-content-md5.x-ms-source-if-match.x-ms-source-if-modified-since.x-ms-source-if-none-match.x-ms-source-if-unmodified-since.x-ms-tag-count.x-ms-encryption-key-sha256.x-ms-copy-source-error-code.x-ms-copy-source-status-code.x-ms-if-tags.x-ms-source-if-tags`.split(`.`),ES=`comp.maxresults.rscc.rscd.rsce.rscl.rsct.se.si.sip.sp.spr.sr.srt.ss.st.sv.include.marker.prefix.copyid.restype.blockid.blocklisttype.delimiter.prevsnapshot.ske.skoid.sks.skt.sktid.skv.snapshot`.split(`.`),DS=[`10000`,`10001`,`10002`,`10003`,`10004`,`10100`,`10101`,`10102`,`10103`,`10104`,`11000`,`11001`,`11002`,`11003`,`11004`,`11100`,`11101`,`11102`,`11103`,`11104`];function OS(e){if(!e||typeof e!=`object`)return!1;let t=e;return Array.isArray(t.factories)&&typeof t.options==`object`&&typeof t.toServiceClientOptions==`function`}var kS=class{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function AS(e,t={}){e||=new Zx;let n=new kS([],t);return n._credential=e,n}function jS(e){let t=[FS,PS,IS,LS,RS,zS,VS];if(e.factories.length){let n=e.factories.filter(e=>!t.some(t=>t(e)));if(n.length){let e=n.some(e=>BS(e));return{wrappedPolicies:ey(n),afterRetry:e}}}}function MS(e){let{httpClient:t,...n}=e.options,r=e._coreHttpClient;r||(r=t?ty(t):Rx(),e._coreHttpClient=r);let i=e._corePipeline;if(!i){let t=`azsdk-js-azure-storage-blob/${bS}`,r=n.userAgentOptions&&n.userAgentOptions.userAgentPrefix?`${n.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;i=_v({...n,loggingOptions:{additionalAllowedHeaderNames:TS,additionalAllowedQueryParameters:ES,logger:Mx.info},userAgentOptions:{userAgentPrefix:r},serializationOptions:{stringifyXML:Ax,serializerOptions:{xml:{xmlCharKey:`#`}}},deserializationOptions:{parseXML:jx,serializerOptions:{xml:{xmlCharKey:`#`}}}}),i.removePolicy({phase:`Retry`}),i.removePolicy({name:`decompressResponsePolicy`}),i.addPolicy(fS()),i.addPolicy(gS(n.retryOptions),{phase:`Retry`}),i.addPolicy(vS()),i.addPolicy(dS());let a=jS(e);a&&i.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:`Retry`}:void 0);let o=NS(e);s_(o)?i.addPolicy(i_({credential:o,scopes:n.audience??`https://storage.azure.com/.default`,challengeCallbacks:{authorizeRequestOnChallenge:Fv}}),{phase:`Sign`}):o instanceof iS&&i.addPolicy(_S({accountName:o.accountName,accountKey:o.accountKey}),{phase:`Sign`}),e._corePipeline=i}return{...n,allowInsecureConnection:!0,httpClient:r,pipeline:i}}function NS(e){if(e._credential)return e._credential;let t=new Zx;for(let n of e.factories)if(s_(n.credential))t=n.credential;else if(PS(n))return n;return t}function PS(e){return e instanceof iS?!0:e.constructor.name===`StorageSharedKeyCredential`}function FS(e){return e instanceof Zx?!0:e.constructor.name===`AnonymousCredential`}function IS(e){return s_(e.credential)}function LS(e){return e instanceof qx?!0:e.constructor.name===`StorageBrowserPolicyFactory`}function RS(e){return e instanceof uS?!0:e.constructor.name===`StorageRetryPolicyFactory`}function zS(e){return e.constructor.name===`TelemetryPolicyFactory`}function BS(e){return e.constructor.name===`InjectorPolicyFactory`}function VS(e){let t=[`GenerateClientRequestIdPolicy`,`TracingPolicy`,`LogPolicy`,`ProxyPolicy`,`DisableResponseDecompressionPolicy`,`KeepAlivePolicy`,`DeserializationPolicy`],n=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog(e){return!1}}).constructor.name;return t.some(e=>n.startsWith(e))}var HS=Te({AccessPolicy:()=>sC,AppendBlobAppendBlockExceptionHeaders:()=>HT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>WT,AppendBlobAppendBlockFromUrlHeaders:()=>UT,AppendBlobAppendBlockHeaders:()=>VT,AppendBlobCreateExceptionHeaders:()=>BT,AppendBlobCreateHeaders:()=>zT,AppendBlobSealExceptionHeaders:()=>KT,AppendBlobSealHeaders:()=>GT,ArrowConfiguration:()=>DC,ArrowField:()=>OC,BlobAbortCopyFromURLExceptionHeaders:()=>uT,BlobAbortCopyFromURLHeaders:()=>lT,BlobAcquireLeaseExceptionHeaders:()=>Jw,BlobAcquireLeaseHeaders:()=>qw,BlobBreakLeaseExceptionHeaders:()=>nT,BlobBreakLeaseHeaders:()=>tT,BlobChangeLeaseExceptionHeaders:()=>eT,BlobChangeLeaseHeaders:()=>$w,BlobCopyFromURLExceptionHeaders:()=>cT,BlobCopyFromURLHeaders:()=>sT,BlobCreateSnapshotExceptionHeaders:()=>iT,BlobCreateSnapshotHeaders:()=>rT,BlobDeleteExceptionHeaders:()=>Mw,BlobDeleteHeaders:()=>jw,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>Hw,BlobDeleteImmutabilityPolicyHeaders:()=>Vw,BlobDownloadExceptionHeaders:()=>Ow,BlobDownloadHeaders:()=>Dw,BlobFlatListSegment:()=>lC,BlobGetAccountInfoExceptionHeaders:()=>mT,BlobGetAccountInfoHeaders:()=>pT,BlobGetPropertiesExceptionHeaders:()=>Aw,BlobGetPropertiesHeaders:()=>kw,BlobGetTagsExceptionHeaders:()=>vT,BlobGetTagsHeaders:()=>_T,BlobHierarchyListSegment:()=>mC,BlobItemInternal:()=>uC,BlobName:()=>dC,BlobPrefix:()=>hC,BlobPropertiesInternal:()=>fC,BlobQueryExceptionHeaders:()=>gT,BlobQueryHeaders:()=>hT,BlobReleaseLeaseExceptionHeaders:()=>Xw,BlobReleaseLeaseHeaders:()=>Yw,BlobRenewLeaseExceptionHeaders:()=>Qw,BlobRenewLeaseHeaders:()=>Zw,BlobServiceProperties:()=>US,BlobServiceStatistics:()=>YS,BlobSetExpiryExceptionHeaders:()=>Iw,BlobSetExpiryHeaders:()=>Fw,BlobSetHttpHeadersExceptionHeaders:()=>Rw,BlobSetHttpHeadersHeaders:()=>Lw,BlobSetImmutabilityPolicyExceptionHeaders:()=>Bw,BlobSetImmutabilityPolicyHeaders:()=>zw,BlobSetLegalHoldExceptionHeaders:()=>Ww,BlobSetLegalHoldHeaders:()=>Uw,BlobSetMetadataExceptionHeaders:()=>Kw,BlobSetMetadataHeaders:()=>Gw,BlobSetTagsExceptionHeaders:()=>bT,BlobSetTagsHeaders:()=>yT,BlobSetTierExceptionHeaders:()=>fT,BlobSetTierHeaders:()=>dT,BlobStartCopyFromURLExceptionHeaders:()=>oT,BlobStartCopyFromURLHeaders:()=>aT,BlobTag:()=>aC,BlobTags:()=>iC,BlobUndeleteExceptionHeaders:()=>Pw,BlobUndeleteHeaders:()=>Nw,Block:()=>vC,BlockBlobCommitBlockListExceptionHeaders:()=>nE,BlockBlobCommitBlockListHeaders:()=>tE,BlockBlobGetBlockListExceptionHeaders:()=>iE,BlockBlobGetBlockListHeaders:()=>rE,BlockBlobPutBlobFromUrlExceptionHeaders:()=>XT,BlockBlobPutBlobFromUrlHeaders:()=>YT,BlockBlobStageBlockExceptionHeaders:()=>QT,BlockBlobStageBlockFromURLExceptionHeaders:()=>eE,BlockBlobStageBlockFromURLHeaders:()=>$T,BlockBlobStageBlockHeaders:()=>ZT,BlockBlobUploadExceptionHeaders:()=>JT,BlockBlobUploadHeaders:()=>qT,BlockList:()=>_C,BlockLookupList:()=>gC,ClearRange:()=>xC,ContainerAcquireLeaseExceptionHeaders:()=>fw,ContainerAcquireLeaseHeaders:()=>dw,ContainerBreakLeaseExceptionHeaders:()=>vw,ContainerBreakLeaseHeaders:()=>_w,ContainerChangeLeaseExceptionHeaders:()=>bw,ContainerChangeLeaseHeaders:()=>yw,ContainerCreateExceptionHeaders:()=>KC,ContainerCreateHeaders:()=>GC,ContainerDeleteExceptionHeaders:()=>XC,ContainerDeleteHeaders:()=>YC,ContainerFilterBlobsExceptionHeaders:()=>uw,ContainerFilterBlobsHeaders:()=>lw,ContainerGetAccessPolicyExceptionHeaders:()=>ew,ContainerGetAccessPolicyHeaders:()=>$C,ContainerGetAccountInfoExceptionHeaders:()=>Ew,ContainerGetAccountInfoHeaders:()=>Tw,ContainerGetPropertiesExceptionHeaders:()=>JC,ContainerGetPropertiesHeaders:()=>qC,ContainerItem:()=>QS,ContainerListBlobFlatSegmentExceptionHeaders:()=>Sw,ContainerListBlobFlatSegmentHeaders:()=>xw,ContainerListBlobHierarchySegmentExceptionHeaders:()=>ww,ContainerListBlobHierarchySegmentHeaders:()=>Cw,ContainerProperties:()=>$S,ContainerReleaseLeaseExceptionHeaders:()=>mw,ContainerReleaseLeaseHeaders:()=>pw,ContainerRenameExceptionHeaders:()=>ow,ContainerRenameHeaders:()=>aw,ContainerRenewLeaseExceptionHeaders:()=>gw,ContainerRenewLeaseHeaders:()=>hw,ContainerRestoreExceptionHeaders:()=>iw,ContainerRestoreHeaders:()=>rw,ContainerSetAccessPolicyExceptionHeaders:()=>nw,ContainerSetAccessPolicyHeaders:()=>tw,ContainerSetMetadataExceptionHeaders:()=>QC,ContainerSetMetadataHeaders:()=>ZC,ContainerSubmitBatchExceptionHeaders:()=>cw,ContainerSubmitBatchHeaders:()=>sw,CorsRule:()=>qS,DelimitedTextConfiguration:()=>TC,FilterBlobItem:()=>rC,FilterBlobSegment:()=>nC,GeoReplication:()=>XS,JsonTextConfiguration:()=>EC,KeyInfo:()=>eC,ListBlobsFlatSegmentResponse:()=>cC,ListBlobsHierarchySegmentResponse:()=>pC,ListContainersSegmentResponse:()=>ZS,Logging:()=>WS,Metrics:()=>KS,PageBlobClearPagesExceptionHeaders:()=>ET,PageBlobClearPagesHeaders:()=>TT,PageBlobCopyIncrementalExceptionHeaders:()=>RT,PageBlobCopyIncrementalHeaders:()=>LT,PageBlobCreateExceptionHeaders:()=>ST,PageBlobCreateHeaders:()=>xT,PageBlobGetPageRangesDiffExceptionHeaders:()=>MT,PageBlobGetPageRangesDiffHeaders:()=>jT,PageBlobGetPageRangesExceptionHeaders:()=>AT,PageBlobGetPageRangesHeaders:()=>kT,PageBlobResizeExceptionHeaders:()=>PT,PageBlobResizeHeaders:()=>NT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>IT,PageBlobUpdateSequenceNumberHeaders:()=>FT,PageBlobUploadPagesExceptionHeaders:()=>wT,PageBlobUploadPagesFromURLExceptionHeaders:()=>OT,PageBlobUploadPagesFromURLHeaders:()=>DT,PageBlobUploadPagesHeaders:()=>CT,PageList:()=>yC,PageRange:()=>bC,QueryFormat:()=>wC,QueryRequest:()=>SC,QuerySerialization:()=>CC,RetentionPolicy:()=>GS,ServiceFilterBlobsExceptionHeaders:()=>WC,ServiceFilterBlobsHeaders:()=>UC,ServiceGetAccountInfoExceptionHeaders:()=>BC,ServiceGetAccountInfoHeaders:()=>zC,ServiceGetPropertiesExceptionHeaders:()=>MC,ServiceGetPropertiesHeaders:()=>jC,ServiceGetStatisticsExceptionHeaders:()=>PC,ServiceGetStatisticsHeaders:()=>NC,ServiceGetUserDelegationKeyExceptionHeaders:()=>RC,ServiceGetUserDelegationKeyHeaders:()=>LC,ServiceListContainersSegmentExceptionHeaders:()=>IC,ServiceListContainersSegmentHeaders:()=>FC,ServiceSetPropertiesExceptionHeaders:()=>AC,ServiceSetPropertiesHeaders:()=>kC,ServiceSubmitBatchExceptionHeaders:()=>HC,ServiceSubmitBatchHeaders:()=>VC,SignedIdentifier:()=>oC,StaticWebsite:()=>JS,StorageError:()=>H,UserDelegationKey:()=>tC});const US={serializedName:`BlobServiceProperties`,xmlName:`StorageServiceProperties`,type:{name:`Composite`,className:`BlobServiceProperties`,modelProperties:{blobAnalyticsLogging:{serializedName:`Logging`,xmlName:`Logging`,type:{name:`Composite`,className:`Logging`}},hourMetrics:{serializedName:`HourMetrics`,xmlName:`HourMetrics`,type:{name:`Composite`,className:`Metrics`}},minuteMetrics:{serializedName:`MinuteMetrics`,xmlName:`MinuteMetrics`,type:{name:`Composite`,className:`Metrics`}},cors:{serializedName:`Cors`,xmlName:`Cors`,xmlIsWrapped:!0,xmlElementName:`CorsRule`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`CorsRule`}}}},defaultServiceVersion:{serializedName:`DefaultServiceVersion`,xmlName:`DefaultServiceVersion`,type:{name:`String`}},deleteRetentionPolicy:{serializedName:`DeleteRetentionPolicy`,xmlName:`DeleteRetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`}},staticWebsite:{serializedName:`StaticWebsite`,xmlName:`StaticWebsite`,type:{name:`Composite`,className:`StaticWebsite`}}}}},WS={serializedName:`Logging`,type:{name:`Composite`,className:`Logging`,modelProperties:{version:{serializedName:`Version`,required:!0,xmlName:`Version`,type:{name:`String`}},deleteProperty:{serializedName:`Delete`,required:!0,xmlName:`Delete`,type:{name:`Boolean`}},read:{serializedName:`Read`,required:!0,xmlName:`Read`,type:{name:`Boolean`}},write:{serializedName:`Write`,required:!0,xmlName:`Write`,type:{name:`Boolean`}},retentionPolicy:{serializedName:`RetentionPolicy`,xmlName:`RetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`}}}}},GS={serializedName:`RetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`,modelProperties:{enabled:{serializedName:`Enabled`,required:!0,xmlName:`Enabled`,type:{name:`Boolean`}},days:{constraints:{InclusiveMinimum:1},serializedName:`Days`,xmlName:`Days`,type:{name:`Number`}}}}},KS={serializedName:`Metrics`,type:{name:`Composite`,className:`Metrics`,modelProperties:{version:{serializedName:`Version`,xmlName:`Version`,type:{name:`String`}},enabled:{serializedName:`Enabled`,required:!0,xmlName:`Enabled`,type:{name:`Boolean`}},includeAPIs:{serializedName:`IncludeAPIs`,xmlName:`IncludeAPIs`,type:{name:`Boolean`}},retentionPolicy:{serializedName:`RetentionPolicy`,xmlName:`RetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`}}}}},qS={serializedName:`CorsRule`,type:{name:`Composite`,className:`CorsRule`,modelProperties:{allowedOrigins:{serializedName:`AllowedOrigins`,required:!0,xmlName:`AllowedOrigins`,type:{name:`String`}},allowedMethods:{serializedName:`AllowedMethods`,required:!0,xmlName:`AllowedMethods`,type:{name:`String`}},allowedHeaders:{serializedName:`AllowedHeaders`,required:!0,xmlName:`AllowedHeaders`,type:{name:`String`}},exposedHeaders:{serializedName:`ExposedHeaders`,required:!0,xmlName:`ExposedHeaders`,type:{name:`String`}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:`MaxAgeInSeconds`,required:!0,xmlName:`MaxAgeInSeconds`,type:{name:`Number`}}}}},JS={serializedName:`StaticWebsite`,type:{name:`Composite`,className:`StaticWebsite`,modelProperties:{enabled:{serializedName:`Enabled`,required:!0,xmlName:`Enabled`,type:{name:`Boolean`}},indexDocument:{serializedName:`IndexDocument`,xmlName:`IndexDocument`,type:{name:`String`}},errorDocument404Path:{serializedName:`ErrorDocument404Path`,xmlName:`ErrorDocument404Path`,type:{name:`String`}},defaultIndexDocumentPath:{serializedName:`DefaultIndexDocumentPath`,xmlName:`DefaultIndexDocumentPath`,type:{name:`String`}}}}},H={serializedName:`StorageError`,type:{name:`Composite`,className:`StorageError`,modelProperties:{message:{serializedName:`Message`,xmlName:`Message`,type:{name:`String`}},copySourceStatusCode:{serializedName:`CopySourceStatusCode`,xmlName:`CopySourceStatusCode`,type:{name:`Number`}},copySourceErrorCode:{serializedName:`CopySourceErrorCode`,xmlName:`CopySourceErrorCode`,type:{name:`String`}},copySourceErrorMessage:{serializedName:`CopySourceErrorMessage`,xmlName:`CopySourceErrorMessage`,type:{name:`String`}},code:{serializedName:`Code`,xmlName:`Code`,type:{name:`String`}},authenticationErrorDetail:{serializedName:`AuthenticationErrorDetail`,xmlName:`AuthenticationErrorDetail`,type:{name:`String`}}}}},YS={serializedName:`BlobServiceStatistics`,xmlName:`StorageServiceStats`,type:{name:`Composite`,className:`BlobServiceStatistics`,modelProperties:{geoReplication:{serializedName:`GeoReplication`,xmlName:`GeoReplication`,type:{name:`Composite`,className:`GeoReplication`}}}}},XS={serializedName:`GeoReplication`,type:{name:`Composite`,className:`GeoReplication`,modelProperties:{status:{serializedName:`Status`,required:!0,xmlName:`Status`,type:{name:`Enum`,allowedValues:[`live`,`bootstrap`,`unavailable`]}},lastSyncOn:{serializedName:`LastSyncTime`,required:!0,xmlName:`LastSyncTime`,type:{name:`DateTimeRfc1123`}}}}},ZS={serializedName:`ListContainersSegmentResponse`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`ListContainersSegmentResponse`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},prefix:{serializedName:`Prefix`,xmlName:`Prefix`,type:{name:`String`}},marker:{serializedName:`Marker`,xmlName:`Marker`,type:{name:`String`}},maxPageSize:{serializedName:`MaxResults`,xmlName:`MaxResults`,type:{name:`Number`}},containerItems:{serializedName:`ContainerItems`,required:!0,xmlName:`Containers`,xmlIsWrapped:!0,xmlElementName:`Container`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`ContainerItem`}}}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},QS={serializedName:`ContainerItem`,xmlName:`Container`,type:{name:`Composite`,className:`ContainerItem`,modelProperties:{name:{serializedName:`Name`,required:!0,xmlName:`Name`,type:{name:`String`}},deleted:{serializedName:`Deleted`,xmlName:`Deleted`,type:{name:`Boolean`}},version:{serializedName:`Version`,xmlName:`Version`,type:{name:`String`}},properties:{serializedName:`Properties`,xmlName:`Properties`,type:{name:`Composite`,className:`ContainerProperties`}},metadata:{serializedName:`Metadata`,xmlName:`Metadata`,type:{name:`Dictionary`,value:{type:{name:`String`}}}}}}},$S={serializedName:`ContainerProperties`,type:{name:`Composite`,className:`ContainerProperties`,modelProperties:{lastModified:{serializedName:`Last-Modified`,required:!0,xmlName:`Last-Modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`Etag`,required:!0,xmlName:`Etag`,type:{name:`String`}},leaseStatus:{serializedName:`LeaseStatus`,xmlName:`LeaseStatus`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},leaseState:{serializedName:`LeaseState`,xmlName:`LeaseState`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseDuration:{serializedName:`LeaseDuration`,xmlName:`LeaseDuration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},publicAccess:{serializedName:`PublicAccess`,xmlName:`PublicAccess`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}},hasImmutabilityPolicy:{serializedName:`HasImmutabilityPolicy`,xmlName:`HasImmutabilityPolicy`,type:{name:`Boolean`}},hasLegalHold:{serializedName:`HasLegalHold`,xmlName:`HasLegalHold`,type:{name:`Boolean`}},defaultEncryptionScope:{serializedName:`DefaultEncryptionScope`,xmlName:`DefaultEncryptionScope`,type:{name:`String`}},preventEncryptionScopeOverride:{serializedName:`DenyEncryptionScopeOverride`,xmlName:`DenyEncryptionScopeOverride`,type:{name:`Boolean`}},deletedOn:{serializedName:`DeletedTime`,xmlName:`DeletedTime`,type:{name:`DateTimeRfc1123`}},remainingRetentionDays:{serializedName:`RemainingRetentionDays`,xmlName:`RemainingRetentionDays`,type:{name:`Number`}},isImmutableStorageWithVersioningEnabled:{serializedName:`ImmutableStorageWithVersioningEnabled`,xmlName:`ImmutableStorageWithVersioningEnabled`,type:{name:`Boolean`}}}}},eC={serializedName:`KeyInfo`,type:{name:`Composite`,className:`KeyInfo`,modelProperties:{startsOn:{serializedName:`Start`,required:!0,xmlName:`Start`,type:{name:`String`}},expiresOn:{serializedName:`Expiry`,required:!0,xmlName:`Expiry`,type:{name:`String`}}}}},tC={serializedName:`UserDelegationKey`,type:{name:`Composite`,className:`UserDelegationKey`,modelProperties:{signedObjectId:{serializedName:`SignedOid`,required:!0,xmlName:`SignedOid`,type:{name:`String`}},signedTenantId:{serializedName:`SignedTid`,required:!0,xmlName:`SignedTid`,type:{name:`String`}},signedStartsOn:{serializedName:`SignedStart`,required:!0,xmlName:`SignedStart`,type:{name:`String`}},signedExpiresOn:{serializedName:`SignedExpiry`,required:!0,xmlName:`SignedExpiry`,type:{name:`String`}},signedService:{serializedName:`SignedService`,required:!0,xmlName:`SignedService`,type:{name:`String`}},signedVersion:{serializedName:`SignedVersion`,required:!0,xmlName:`SignedVersion`,type:{name:`String`}},value:{serializedName:`Value`,required:!0,xmlName:`Value`,type:{name:`String`}}}}},nC={serializedName:`FilterBlobSegment`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`FilterBlobSegment`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},where:{serializedName:`Where`,required:!0,xmlName:`Where`,type:{name:`String`}},blobs:{serializedName:`Blobs`,required:!0,xmlName:`Blobs`,xmlIsWrapped:!0,xmlElementName:`Blob`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`FilterBlobItem`}}}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},rC={serializedName:`FilterBlobItem`,xmlName:`Blob`,type:{name:`Composite`,className:`FilterBlobItem`,modelProperties:{name:{serializedName:`Name`,required:!0,xmlName:`Name`,type:{name:`String`}},containerName:{serializedName:`ContainerName`,required:!0,xmlName:`ContainerName`,type:{name:`String`}},tags:{serializedName:`Tags`,xmlName:`Tags`,type:{name:`Composite`,className:`BlobTags`}}}}},iC={serializedName:`BlobTags`,xmlName:`Tags`,type:{name:`Composite`,className:`BlobTags`,modelProperties:{blobTagSet:{serializedName:`BlobTagSet`,required:!0,xmlName:`TagSet`,xmlIsWrapped:!0,xmlElementName:`Tag`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobTag`}}}}}}},aC={serializedName:`BlobTag`,xmlName:`Tag`,type:{name:`Composite`,className:`BlobTag`,modelProperties:{key:{serializedName:`Key`,required:!0,xmlName:`Key`,type:{name:`String`}},value:{serializedName:`Value`,required:!0,xmlName:`Value`,type:{name:`String`}}}}},oC={serializedName:`SignedIdentifier`,xmlName:`SignedIdentifier`,type:{name:`Composite`,className:`SignedIdentifier`,modelProperties:{id:{serializedName:`Id`,required:!0,xmlName:`Id`,type:{name:`String`}},accessPolicy:{serializedName:`AccessPolicy`,xmlName:`AccessPolicy`,type:{name:`Composite`,className:`AccessPolicy`}}}}},sC={serializedName:`AccessPolicy`,type:{name:`Composite`,className:`AccessPolicy`,modelProperties:{startsOn:{serializedName:`Start`,xmlName:`Start`,type:{name:`String`}},expiresOn:{serializedName:`Expiry`,xmlName:`Expiry`,type:{name:`String`}},permissions:{serializedName:`Permission`,xmlName:`Permission`,type:{name:`String`}}}}},cC={serializedName:`ListBlobsFlatSegmentResponse`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`ListBlobsFlatSegmentResponse`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},containerName:{serializedName:`ContainerName`,required:!0,xmlName:`ContainerName`,xmlIsAttribute:!0,type:{name:`String`}},prefix:{serializedName:`Prefix`,xmlName:`Prefix`,type:{name:`String`}},marker:{serializedName:`Marker`,xmlName:`Marker`,type:{name:`String`}},maxPageSize:{serializedName:`MaxResults`,xmlName:`MaxResults`,type:{name:`Number`}},segment:{serializedName:`Segment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobFlatListSegment`}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},lC={serializedName:`BlobFlatListSegment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobFlatListSegment`,modelProperties:{blobItems:{serializedName:`BlobItems`,required:!0,xmlName:`BlobItems`,xmlElementName:`Blob`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobItemInternal`}}}}}}},uC={serializedName:`BlobItemInternal`,xmlName:`Blob`,type:{name:`Composite`,className:`BlobItemInternal`,modelProperties:{name:{serializedName:`Name`,xmlName:`Name`,type:{name:`Composite`,className:`BlobName`}},deleted:{serializedName:`Deleted`,required:!0,xmlName:`Deleted`,type:{name:`Boolean`}},snapshot:{serializedName:`Snapshot`,required:!0,xmlName:`Snapshot`,type:{name:`String`}},versionId:{serializedName:`VersionId`,xmlName:`VersionId`,type:{name:`String`}},isCurrentVersion:{serializedName:`IsCurrentVersion`,xmlName:`IsCurrentVersion`,type:{name:`Boolean`}},properties:{serializedName:`Properties`,xmlName:`Properties`,type:{name:`Composite`,className:`BlobPropertiesInternal`}},metadata:{serializedName:`Metadata`,xmlName:`Metadata`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},blobTags:{serializedName:`BlobTags`,xmlName:`Tags`,type:{name:`Composite`,className:`BlobTags`}},objectReplicationMetadata:{serializedName:`ObjectReplicationMetadata`,xmlName:`OrMetadata`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},hasVersionsOnly:{serializedName:`HasVersionsOnly`,xmlName:`HasVersionsOnly`,type:{name:`Boolean`}}}}},dC={serializedName:`BlobName`,type:{name:`Composite`,className:`BlobName`,modelProperties:{encoded:{serializedName:`Encoded`,xmlName:`Encoded`,xmlIsAttribute:!0,type:{name:`Boolean`}},content:{serializedName:`content`,xmlName:`content`,xmlIsMsText:!0,type:{name:`String`}}}}},fC={serializedName:`BlobPropertiesInternal`,xmlName:`Properties`,type:{name:`Composite`,className:`BlobPropertiesInternal`,modelProperties:{createdOn:{serializedName:`Creation-Time`,xmlName:`Creation-Time`,type:{name:`DateTimeRfc1123`}},lastModified:{serializedName:`Last-Modified`,required:!0,xmlName:`Last-Modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`Etag`,required:!0,xmlName:`Etag`,type:{name:`String`}},contentLength:{serializedName:`Content-Length`,xmlName:`Content-Length`,type:{name:`Number`}},contentType:{serializedName:`Content-Type`,xmlName:`Content-Type`,type:{name:`String`}},contentEncoding:{serializedName:`Content-Encoding`,xmlName:`Content-Encoding`,type:{name:`String`}},contentLanguage:{serializedName:`Content-Language`,xmlName:`Content-Language`,type:{name:`String`}},contentMD5:{serializedName:`Content-MD5`,xmlName:`Content-MD5`,type:{name:`ByteArray`}},contentDisposition:{serializedName:`Content-Disposition`,xmlName:`Content-Disposition`,type:{name:`String`}},cacheControl:{serializedName:`Cache-Control`,xmlName:`Cache-Control`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},blobType:{serializedName:`BlobType`,xmlName:`BlobType`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},leaseStatus:{serializedName:`LeaseStatus`,xmlName:`LeaseStatus`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},leaseState:{serializedName:`LeaseState`,xmlName:`LeaseState`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseDuration:{serializedName:`LeaseDuration`,xmlName:`LeaseDuration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},copyId:{serializedName:`CopyId`,xmlName:`CopyId`,type:{name:`String`}},copyStatus:{serializedName:`CopyStatus`,xmlName:`CopyStatus`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},copySource:{serializedName:`CopySource`,xmlName:`CopySource`,type:{name:`String`}},copyProgress:{serializedName:`CopyProgress`,xmlName:`CopyProgress`,type:{name:`String`}},copyCompletedOn:{serializedName:`CopyCompletionTime`,xmlName:`CopyCompletionTime`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`CopyStatusDescription`,xmlName:`CopyStatusDescription`,type:{name:`String`}},serverEncrypted:{serializedName:`ServerEncrypted`,xmlName:`ServerEncrypted`,type:{name:`Boolean`}},incrementalCopy:{serializedName:`IncrementalCopy`,xmlName:`IncrementalCopy`,type:{name:`Boolean`}},destinationSnapshot:{serializedName:`DestinationSnapshot`,xmlName:`DestinationSnapshot`,type:{name:`String`}},deletedOn:{serializedName:`DeletedTime`,xmlName:`DeletedTime`,type:{name:`DateTimeRfc1123`}},remainingRetentionDays:{serializedName:`RemainingRetentionDays`,xmlName:`RemainingRetentionDays`,type:{name:`Number`}},accessTier:{serializedName:`AccessTier`,xmlName:`AccessTier`,type:{name:`Enum`,allowedValues:[`P4`,`P6`,`P10`,`P15`,`P20`,`P30`,`P40`,`P50`,`P60`,`P70`,`P80`,`Hot`,`Cool`,`Archive`,`Cold`]}},accessTierInferred:{serializedName:`AccessTierInferred`,xmlName:`AccessTierInferred`,type:{name:`Boolean`}},archiveStatus:{serializedName:`ArchiveStatus`,xmlName:`ArchiveStatus`,type:{name:`Enum`,allowedValues:[`rehydrate-pending-to-hot`,`rehydrate-pending-to-cool`,`rehydrate-pending-to-cold`]}},customerProvidedKeySha256:{serializedName:`CustomerProvidedKeySha256`,xmlName:`CustomerProvidedKeySha256`,type:{name:`String`}},encryptionScope:{serializedName:`EncryptionScope`,xmlName:`EncryptionScope`,type:{name:`String`}},accessTierChangedOn:{serializedName:`AccessTierChangeTime`,xmlName:`AccessTierChangeTime`,type:{name:`DateTimeRfc1123`}},tagCount:{serializedName:`TagCount`,xmlName:`TagCount`,type:{name:`Number`}},expiresOn:{serializedName:`Expiry-Time`,xmlName:`Expiry-Time`,type:{name:`DateTimeRfc1123`}},isSealed:{serializedName:`Sealed`,xmlName:`Sealed`,type:{name:`Boolean`}},rehydratePriority:{serializedName:`RehydratePriority`,xmlName:`RehydratePriority`,type:{name:`Enum`,allowedValues:[`High`,`Standard`]}},lastAccessedOn:{serializedName:`LastAccessTime`,xmlName:`LastAccessTime`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiresOn:{serializedName:`ImmutabilityPolicyUntilDate`,xmlName:`ImmutabilityPolicyUntilDate`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`ImmutabilityPolicyMode`,xmlName:`ImmutabilityPolicyMode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}},legalHold:{serializedName:`LegalHold`,xmlName:`LegalHold`,type:{name:`Boolean`}}}}},pC={serializedName:`ListBlobsHierarchySegmentResponse`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`ListBlobsHierarchySegmentResponse`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},containerName:{serializedName:`ContainerName`,required:!0,xmlName:`ContainerName`,xmlIsAttribute:!0,type:{name:`String`}},prefix:{serializedName:`Prefix`,xmlName:`Prefix`,type:{name:`String`}},marker:{serializedName:`Marker`,xmlName:`Marker`,type:{name:`String`}},maxPageSize:{serializedName:`MaxResults`,xmlName:`MaxResults`,type:{name:`Number`}},delimiter:{serializedName:`Delimiter`,xmlName:`Delimiter`,type:{name:`String`}},segment:{serializedName:`Segment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobHierarchyListSegment`}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},mC={serializedName:`BlobHierarchyListSegment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobHierarchyListSegment`,modelProperties:{blobPrefixes:{serializedName:`BlobPrefixes`,xmlName:`BlobPrefixes`,xmlElementName:`BlobPrefix`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobPrefix`}}}},blobItems:{serializedName:`BlobItems`,required:!0,xmlName:`BlobItems`,xmlElementName:`Blob`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobItemInternal`}}}}}}},hC={serializedName:`BlobPrefix`,type:{name:`Composite`,className:`BlobPrefix`,modelProperties:{name:{serializedName:`Name`,xmlName:`Name`,type:{name:`Composite`,className:`BlobName`}}}}},gC={serializedName:`BlockLookupList`,xmlName:`BlockList`,type:{name:`Composite`,className:`BlockLookupList`,modelProperties:{committed:{serializedName:`Committed`,xmlName:`Committed`,xmlElementName:`Committed`,type:{name:`Sequence`,element:{type:{name:`String`}}}},uncommitted:{serializedName:`Uncommitted`,xmlName:`Uncommitted`,xmlElementName:`Uncommitted`,type:{name:`Sequence`,element:{type:{name:`String`}}}},latest:{serializedName:`Latest`,xmlName:`Latest`,xmlElementName:`Latest`,type:{name:`Sequence`,element:{type:{name:`String`}}}}}}},_C={serializedName:`BlockList`,type:{name:`Composite`,className:`BlockList`,modelProperties:{committedBlocks:{serializedName:`CommittedBlocks`,xmlName:`CommittedBlocks`,xmlIsWrapped:!0,xmlElementName:`Block`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`Block`}}}},uncommittedBlocks:{serializedName:`UncommittedBlocks`,xmlName:`UncommittedBlocks`,xmlIsWrapped:!0,xmlElementName:`Block`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`Block`}}}}}}},vC={serializedName:`Block`,type:{name:`Composite`,className:`Block`,modelProperties:{name:{serializedName:`Name`,required:!0,xmlName:`Name`,type:{name:`String`}},size:{serializedName:`Size`,required:!0,xmlName:`Size`,type:{name:`Number`}}}}},yC={serializedName:`PageList`,type:{name:`Composite`,className:`PageList`,modelProperties:{pageRange:{serializedName:`PageRange`,xmlName:`PageRange`,xmlElementName:`PageRange`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`PageRange`}}}},clearRange:{serializedName:`ClearRange`,xmlName:`ClearRange`,xmlElementName:`ClearRange`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`ClearRange`}}}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},bC={serializedName:`PageRange`,xmlName:`PageRange`,type:{name:`Composite`,className:`PageRange`,modelProperties:{start:{serializedName:`Start`,required:!0,xmlName:`Start`,type:{name:`Number`}},end:{serializedName:`End`,required:!0,xmlName:`End`,type:{name:`Number`}}}}},xC={serializedName:`ClearRange`,xmlName:`ClearRange`,type:{name:`Composite`,className:`ClearRange`,modelProperties:{start:{serializedName:`Start`,required:!0,xmlName:`Start`,type:{name:`Number`}},end:{serializedName:`End`,required:!0,xmlName:`End`,type:{name:`Number`}}}}},SC={serializedName:`QueryRequest`,xmlName:`QueryRequest`,type:{name:`Composite`,className:`QueryRequest`,modelProperties:{queryType:{serializedName:`QueryType`,required:!0,xmlName:`QueryType`,type:{name:`String`}},expression:{serializedName:`Expression`,required:!0,xmlName:`Expression`,type:{name:`String`}},inputSerialization:{serializedName:`InputSerialization`,xmlName:`InputSerialization`,type:{name:`Composite`,className:`QuerySerialization`}},outputSerialization:{serializedName:`OutputSerialization`,xmlName:`OutputSerialization`,type:{name:`Composite`,className:`QuerySerialization`}}}}},CC={serializedName:`QuerySerialization`,type:{name:`Composite`,className:`QuerySerialization`,modelProperties:{format:{serializedName:`Format`,xmlName:`Format`,type:{name:`Composite`,className:`QueryFormat`}}}}},wC={serializedName:`QueryFormat`,type:{name:`Composite`,className:`QueryFormat`,modelProperties:{type:{serializedName:`Type`,required:!0,xmlName:`Type`,type:{name:`Enum`,allowedValues:[`delimited`,`json`,`arrow`,`parquet`]}},delimitedTextConfiguration:{serializedName:`DelimitedTextConfiguration`,xmlName:`DelimitedTextConfiguration`,type:{name:`Composite`,className:`DelimitedTextConfiguration`}},jsonTextConfiguration:{serializedName:`JsonTextConfiguration`,xmlName:`JsonTextConfiguration`,type:{name:`Composite`,className:`JsonTextConfiguration`}},arrowConfiguration:{serializedName:`ArrowConfiguration`,xmlName:`ArrowConfiguration`,type:{name:`Composite`,className:`ArrowConfiguration`}},parquetTextConfiguration:{serializedName:`ParquetTextConfiguration`,xmlName:`ParquetTextConfiguration`,type:{name:`Dictionary`,value:{type:{name:`any`}}}}}}},TC={serializedName:`DelimitedTextConfiguration`,xmlName:`DelimitedTextConfiguration`,type:{name:`Composite`,className:`DelimitedTextConfiguration`,modelProperties:{columnSeparator:{serializedName:`ColumnSeparator`,xmlName:`ColumnSeparator`,type:{name:`String`}},fieldQuote:{serializedName:`FieldQuote`,xmlName:`FieldQuote`,type:{name:`String`}},recordSeparator:{serializedName:`RecordSeparator`,xmlName:`RecordSeparator`,type:{name:`String`}},escapeChar:{serializedName:`EscapeChar`,xmlName:`EscapeChar`,type:{name:`String`}},headersPresent:{serializedName:`HeadersPresent`,xmlName:`HasHeaders`,type:{name:`Boolean`}}}}},EC={serializedName:`JsonTextConfiguration`,xmlName:`JsonTextConfiguration`,type:{name:`Composite`,className:`JsonTextConfiguration`,modelProperties:{recordSeparator:{serializedName:`RecordSeparator`,xmlName:`RecordSeparator`,type:{name:`String`}}}}},DC={serializedName:`ArrowConfiguration`,xmlName:`ArrowConfiguration`,type:{name:`Composite`,className:`ArrowConfiguration`,modelProperties:{schema:{serializedName:`Schema`,required:!0,xmlName:`Schema`,xmlIsWrapped:!0,xmlElementName:`Field`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`ArrowField`}}}}}}},OC={serializedName:`ArrowField`,xmlName:`Field`,type:{name:`Composite`,className:`ArrowField`,modelProperties:{type:{serializedName:`Type`,required:!0,xmlName:`Type`,type:{name:`String`}},name:{serializedName:`Name`,xmlName:`Name`,type:{name:`String`}},precision:{serializedName:`Precision`,xmlName:`Precision`,type:{name:`Number`}},scale:{serializedName:`Scale`,xmlName:`Scale`,type:{name:`Number`}}}}},kC={serializedName:`Service_setPropertiesHeaders`,type:{name:`Composite`,className:`ServiceSetPropertiesHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},AC={serializedName:`Service_setPropertiesExceptionHeaders`,type:{name:`Composite`,className:`ServiceSetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},jC={serializedName:`Service_getPropertiesHeaders`,type:{name:`Composite`,className:`ServiceGetPropertiesHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},MC={serializedName:`Service_getPropertiesExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},NC={serializedName:`Service_getStatisticsHeaders`,type:{name:`Composite`,className:`ServiceGetStatisticsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},PC={serializedName:`Service_getStatisticsExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetStatisticsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},FC={serializedName:`Service_listContainersSegmentHeaders`,type:{name:`Composite`,className:`ServiceListContainersSegmentHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},IC={serializedName:`Service_listContainersSegmentExceptionHeaders`,type:{name:`Composite`,className:`ServiceListContainersSegmentExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},LC={serializedName:`Service_getUserDelegationKeyHeaders`,type:{name:`Composite`,className:`ServiceGetUserDelegationKeyHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},RC={serializedName:`Service_getUserDelegationKeyExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetUserDelegationKeyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},zC={serializedName:`Service_getAccountInfoHeaders`,type:{name:`Composite`,className:`ServiceGetAccountInfoHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},skuName:{serializedName:`x-ms-sku-name`,xmlName:`x-ms-sku-name`,type:{name:`Enum`,allowedValues:[`Standard_LRS`,`Standard_GRS`,`Standard_RAGRS`,`Standard_ZRS`,`Premium_LRS`]}},accountKind:{serializedName:`x-ms-account-kind`,xmlName:`x-ms-account-kind`,type:{name:`Enum`,allowedValues:[`Storage`,`BlobStorage`,`StorageV2`,`FileStorage`,`BlockBlobStorage`]}},isHierarchicalNamespaceEnabled:{serializedName:`x-ms-is-hns-enabled`,xmlName:`x-ms-is-hns-enabled`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},BC={serializedName:`Service_getAccountInfoExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetAccountInfoExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},VC={serializedName:`Service_submitBatchHeaders`,type:{name:`Composite`,className:`ServiceSubmitBatchHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},HC={serializedName:`Service_submitBatchExceptionHeaders`,type:{name:`Composite`,className:`ServiceSubmitBatchExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},UC={serializedName:`Service_filterBlobsHeaders`,type:{name:`Composite`,className:`ServiceFilterBlobsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},WC={serializedName:`Service_filterBlobsExceptionHeaders`,type:{name:`Composite`,className:`ServiceFilterBlobsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},GC={serializedName:`Container_createHeaders`,type:{name:`Composite`,className:`ContainerCreateHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},KC={serializedName:`Container_createExceptionHeaders`,type:{name:`Composite`,className:`ContainerCreateExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},qC={serializedName:`Container_getPropertiesHeaders`,type:{name:`Composite`,className:`ContainerGetPropertiesHeaders`,modelProperties:{metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobPublicAccess:{serializedName:`x-ms-blob-public-access`,xmlName:`x-ms-blob-public-access`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}},hasImmutabilityPolicy:{serializedName:`x-ms-has-immutability-policy`,xmlName:`x-ms-has-immutability-policy`,type:{name:`Boolean`}},hasLegalHold:{serializedName:`x-ms-has-legal-hold`,xmlName:`x-ms-has-legal-hold`,type:{name:`Boolean`}},defaultEncryptionScope:{serializedName:`x-ms-default-encryption-scope`,xmlName:`x-ms-default-encryption-scope`,type:{name:`String`}},denyEncryptionScopeOverride:{serializedName:`x-ms-deny-encryption-scope-override`,xmlName:`x-ms-deny-encryption-scope-override`,type:{name:`Boolean`}},isImmutableStorageWithVersioningEnabled:{serializedName:`x-ms-immutable-storage-with-versioning-enabled`,xmlName:`x-ms-immutable-storage-with-versioning-enabled`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},JC={serializedName:`Container_getPropertiesExceptionHeaders`,type:{name:`Composite`,className:`ContainerGetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},YC={serializedName:`Container_deleteHeaders`,type:{name:`Composite`,className:`ContainerDeleteHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},XC={serializedName:`Container_deleteExceptionHeaders`,type:{name:`Composite`,className:`ContainerDeleteExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ZC={serializedName:`Container_setMetadataHeaders`,type:{name:`Composite`,className:`ContainerSetMetadataHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},QC={serializedName:`Container_setMetadataExceptionHeaders`,type:{name:`Composite`,className:`ContainerSetMetadataExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},$C={serializedName:`Container_getAccessPolicyHeaders`,type:{name:`Composite`,className:`ContainerGetAccessPolicyHeaders`,modelProperties:{blobPublicAccess:{serializedName:`x-ms-blob-public-access`,xmlName:`x-ms-blob-public-access`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ew={serializedName:`Container_getAccessPolicyExceptionHeaders`,type:{name:`Composite`,className:`ContainerGetAccessPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},tw={serializedName:`Container_setAccessPolicyHeaders`,type:{name:`Composite`,className:`ContainerSetAccessPolicyHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},nw={serializedName:`Container_setAccessPolicyExceptionHeaders`,type:{name:`Composite`,className:`ContainerSetAccessPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},rw={serializedName:`Container_restoreHeaders`,type:{name:`Composite`,className:`ContainerRestoreHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},iw={serializedName:`Container_restoreExceptionHeaders`,type:{name:`Composite`,className:`ContainerRestoreExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},aw={serializedName:`Container_renameHeaders`,type:{name:`Composite`,className:`ContainerRenameHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ow={serializedName:`Container_renameExceptionHeaders`,type:{name:`Composite`,className:`ContainerRenameExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},sw={serializedName:`Container_submitBatchHeaders`,type:{name:`Composite`,className:`ContainerSubmitBatchHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}}}}},cw={serializedName:`Container_submitBatchExceptionHeaders`,type:{name:`Composite`,className:`ContainerSubmitBatchExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},lw={serializedName:`Container_filterBlobsHeaders`,type:{name:`Composite`,className:`ContainerFilterBlobsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},uw={serializedName:`Container_filterBlobsExceptionHeaders`,type:{name:`Composite`,className:`ContainerFilterBlobsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},dw={serializedName:`Container_acquireLeaseHeaders`,type:{name:`Composite`,className:`ContainerAcquireLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},fw={serializedName:`Container_acquireLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerAcquireLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},pw={serializedName:`Container_releaseLeaseHeaders`,type:{name:`Composite`,className:`ContainerReleaseLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},mw={serializedName:`Container_releaseLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerReleaseLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},hw={serializedName:`Container_renewLeaseHeaders`,type:{name:`Composite`,className:`ContainerRenewLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},gw={serializedName:`Container_renewLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerRenewLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},_w={serializedName:`Container_breakLeaseHeaders`,type:{name:`Composite`,className:`ContainerBreakLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseTime:{serializedName:`x-ms-lease-time`,xmlName:`x-ms-lease-time`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},vw={serializedName:`Container_breakLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerBreakLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},yw={serializedName:`Container_changeLeaseHeaders`,type:{name:`Composite`,className:`ContainerChangeLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},bw={serializedName:`Container_changeLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerChangeLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},xw={serializedName:`Container_listBlobFlatSegmentHeaders`,type:{name:`Composite`,className:`ContainerListBlobFlatSegmentHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Sw={serializedName:`Container_listBlobFlatSegmentExceptionHeaders`,type:{name:`Composite`,className:`ContainerListBlobFlatSegmentExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Cw={serializedName:`Container_listBlobHierarchySegmentHeaders`,type:{name:`Composite`,className:`ContainerListBlobHierarchySegmentHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ww={serializedName:`Container_listBlobHierarchySegmentExceptionHeaders`,type:{name:`Composite`,className:`ContainerListBlobHierarchySegmentExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Tw={serializedName:`Container_getAccountInfoHeaders`,type:{name:`Composite`,className:`ContainerGetAccountInfoHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},skuName:{serializedName:`x-ms-sku-name`,xmlName:`x-ms-sku-name`,type:{name:`Enum`,allowedValues:[`Standard_LRS`,`Standard_GRS`,`Standard_RAGRS`,`Standard_ZRS`,`Premium_LRS`]}},accountKind:{serializedName:`x-ms-account-kind`,xmlName:`x-ms-account-kind`,type:{name:`Enum`,allowedValues:[`Storage`,`BlobStorage`,`StorageV2`,`FileStorage`,`BlockBlobStorage`]}},isHierarchicalNamespaceEnabled:{serializedName:`x-ms-is-hns-enabled`,xmlName:`x-ms-is-hns-enabled`,type:{name:`Boolean`}}}}},Ew={serializedName:`Container_getAccountInfoExceptionHeaders`,type:{name:`Composite`,className:`ContainerGetAccountInfoExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Dw={serializedName:`Blob_downloadHeaders`,type:{name:`Composite`,className:`BlobDownloadHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},createdOn:{serializedName:`x-ms-creation-time`,xmlName:`x-ms-creation-time`,type:{name:`DateTimeRfc1123`}},metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},objectReplicationPolicyId:{serializedName:`x-ms-or-policy-id`,xmlName:`x-ms-or-policy-id`,type:{name:`String`}},objectReplicationRules:{serializedName:`x-ms-or`,headerCollectionPrefix:`x-ms-or-`,xmlName:`x-ms-or`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},contentLength:{serializedName:`content-length`,xmlName:`content-length`,type:{name:`Number`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},contentRange:{serializedName:`content-range`,xmlName:`content-range`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},contentEncoding:{serializedName:`content-encoding`,xmlName:`content-encoding`,type:{name:`String`}},cacheControl:{serializedName:`cache-control`,xmlName:`cache-control`,type:{name:`String`}},contentDisposition:{serializedName:`content-disposition`,xmlName:`content-disposition`,type:{name:`String`}},contentLanguage:{serializedName:`content-language`,xmlName:`content-language`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},blobType:{serializedName:`x-ms-blob-type`,xmlName:`x-ms-blob-type`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},copyCompletedOn:{serializedName:`x-ms-copy-completion-time`,xmlName:`x-ms-copy-completion-time`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`x-ms-copy-status-description`,xmlName:`x-ms-copy-status-description`,type:{name:`String`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyProgress:{serializedName:`x-ms-copy-progress`,xmlName:`x-ms-copy-progress`,type:{name:`String`}},copySource:{serializedName:`x-ms-copy-source`,xmlName:`x-ms-copy-source`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},isCurrentVersion:{serializedName:`x-ms-is-current-version`,xmlName:`x-ms-is-current-version`,type:{name:`Boolean`}},acceptRanges:{serializedName:`accept-ranges`,xmlName:`accept-ranges`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-server-encrypted`,xmlName:`x-ms-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},blobContentMD5:{serializedName:`x-ms-blob-content-md5`,xmlName:`x-ms-blob-content-md5`,type:{name:`ByteArray`}},tagCount:{serializedName:`x-ms-tag-count`,xmlName:`x-ms-tag-count`,type:{name:`Number`}},isSealed:{serializedName:`x-ms-blob-sealed`,xmlName:`x-ms-blob-sealed`,type:{name:`Boolean`}},lastAccessed:{serializedName:`x-ms-last-access-time`,xmlName:`x-ms-last-access-time`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiresOn:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}},legalHold:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},contentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}}}}},Ow={serializedName:`Blob_downloadExceptionHeaders`,type:{name:`Composite`,className:`BlobDownloadExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},kw={serializedName:`Blob_getPropertiesHeaders`,type:{name:`Composite`,className:`BlobGetPropertiesHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},createdOn:{serializedName:`x-ms-creation-time`,xmlName:`x-ms-creation-time`,type:{name:`DateTimeRfc1123`}},metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},objectReplicationPolicyId:{serializedName:`x-ms-or-policy-id`,xmlName:`x-ms-or-policy-id`,type:{name:`String`}},objectReplicationRules:{serializedName:`x-ms-or`,headerCollectionPrefix:`x-ms-or-`,xmlName:`x-ms-or`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},blobType:{serializedName:`x-ms-blob-type`,xmlName:`x-ms-blob-type`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},copyCompletedOn:{serializedName:`x-ms-copy-completion-time`,xmlName:`x-ms-copy-completion-time`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`x-ms-copy-status-description`,xmlName:`x-ms-copy-status-description`,type:{name:`String`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyProgress:{serializedName:`x-ms-copy-progress`,xmlName:`x-ms-copy-progress`,type:{name:`String`}},copySource:{serializedName:`x-ms-copy-source`,xmlName:`x-ms-copy-source`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},isIncrementalCopy:{serializedName:`x-ms-incremental-copy`,xmlName:`x-ms-incremental-copy`,type:{name:`Boolean`}},destinationSnapshot:{serializedName:`x-ms-copy-destination-snapshot`,xmlName:`x-ms-copy-destination-snapshot`,type:{name:`String`}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},contentLength:{serializedName:`content-length`,xmlName:`content-length`,type:{name:`Number`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},contentEncoding:{serializedName:`content-encoding`,xmlName:`content-encoding`,type:{name:`String`}},contentDisposition:{serializedName:`content-disposition`,xmlName:`content-disposition`,type:{name:`String`}},contentLanguage:{serializedName:`content-language`,xmlName:`content-language`,type:{name:`String`}},cacheControl:{serializedName:`cache-control`,xmlName:`cache-control`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},acceptRanges:{serializedName:`accept-ranges`,xmlName:`accept-ranges`,type:{name:`String`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-server-encrypted`,xmlName:`x-ms-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},accessTier:{serializedName:`x-ms-access-tier`,xmlName:`x-ms-access-tier`,type:{name:`String`}},accessTierInferred:{serializedName:`x-ms-access-tier-inferred`,xmlName:`x-ms-access-tier-inferred`,type:{name:`Boolean`}},archiveStatus:{serializedName:`x-ms-archive-status`,xmlName:`x-ms-archive-status`,type:{name:`String`}},accessTierChangedOn:{serializedName:`x-ms-access-tier-change-time`,xmlName:`x-ms-access-tier-change-time`,type:{name:`DateTimeRfc1123`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},isCurrentVersion:{serializedName:`x-ms-is-current-version`,xmlName:`x-ms-is-current-version`,type:{name:`Boolean`}},tagCount:{serializedName:`x-ms-tag-count`,xmlName:`x-ms-tag-count`,type:{name:`Number`}},expiresOn:{serializedName:`x-ms-expiry-time`,xmlName:`x-ms-expiry-time`,type:{name:`DateTimeRfc1123`}},isSealed:{serializedName:`x-ms-blob-sealed`,xmlName:`x-ms-blob-sealed`,type:{name:`Boolean`}},rehydratePriority:{serializedName:`x-ms-rehydrate-priority`,xmlName:`x-ms-rehydrate-priority`,type:{name:`Enum`,allowedValues:[`High`,`Standard`]}},lastAccessed:{serializedName:`x-ms-last-access-time`,xmlName:`x-ms-last-access-time`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiresOn:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}},legalHold:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Aw={serializedName:`Blob_getPropertiesExceptionHeaders`,type:{name:`Composite`,className:`BlobGetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},jw={serializedName:`Blob_deleteHeaders`,type:{name:`Composite`,className:`BlobDeleteHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Mw={serializedName:`Blob_deleteExceptionHeaders`,type:{name:`Composite`,className:`BlobDeleteExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Nw={serializedName:`Blob_undeleteHeaders`,type:{name:`Composite`,className:`BlobUndeleteHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Pw={serializedName:`Blob_undeleteExceptionHeaders`,type:{name:`Composite`,className:`BlobUndeleteExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Fw={serializedName:`Blob_setExpiryHeaders`,type:{name:`Composite`,className:`BlobSetExpiryHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Iw={serializedName:`Blob_setExpiryExceptionHeaders`,type:{name:`Composite`,className:`BlobSetExpiryExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Lw={serializedName:`Blob_setHttpHeadersHeaders`,type:{name:`Composite`,className:`BlobSetHttpHeadersHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Rw={serializedName:`Blob_setHttpHeadersExceptionHeaders`,type:{name:`Composite`,className:`BlobSetHttpHeadersExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},zw={serializedName:`Blob_setImmutabilityPolicyHeaders`,type:{name:`Composite`,className:`BlobSetImmutabilityPolicyHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiry:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}}}}},Bw={serializedName:`Blob_setImmutabilityPolicyExceptionHeaders`,type:{name:`Composite`,className:`BlobSetImmutabilityPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Vw={serializedName:`Blob_deleteImmutabilityPolicyHeaders`,type:{name:`Composite`,className:`BlobDeleteImmutabilityPolicyHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Hw={serializedName:`Blob_deleteImmutabilityPolicyExceptionHeaders`,type:{name:`Composite`,className:`BlobDeleteImmutabilityPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Uw={serializedName:`Blob_setLegalHoldHeaders`,type:{name:`Composite`,className:`BlobSetLegalHoldHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},legalHold:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}}}}},Ww={serializedName:`Blob_setLegalHoldExceptionHeaders`,type:{name:`Composite`,className:`BlobSetLegalHoldExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Gw={serializedName:`Blob_setMetadataHeaders`,type:{name:`Composite`,className:`BlobSetMetadataHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Kw={serializedName:`Blob_setMetadataExceptionHeaders`,type:{name:`Composite`,className:`BlobSetMetadataExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},qw={serializedName:`Blob_acquireLeaseHeaders`,type:{name:`Composite`,className:`BlobAcquireLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Jw={serializedName:`Blob_acquireLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobAcquireLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Yw={serializedName:`Blob_releaseLeaseHeaders`,type:{name:`Composite`,className:`BlobReleaseLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Xw={serializedName:`Blob_releaseLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobReleaseLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Zw={serializedName:`Blob_renewLeaseHeaders`,type:{name:`Composite`,className:`BlobRenewLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Qw={serializedName:`Blob_renewLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobRenewLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},$w={serializedName:`Blob_changeLeaseHeaders`,type:{name:`Composite`,className:`BlobChangeLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},eT={serializedName:`Blob_changeLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobChangeLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},tT={serializedName:`Blob_breakLeaseHeaders`,type:{name:`Composite`,className:`BlobBreakLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseTime:{serializedName:`x-ms-lease-time`,xmlName:`x-ms-lease-time`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},nT={serializedName:`Blob_breakLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobBreakLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},rT={serializedName:`Blob_createSnapshotHeaders`,type:{name:`Composite`,className:`BlobCreateSnapshotHeaders`,modelProperties:{snapshot:{serializedName:`x-ms-snapshot`,xmlName:`x-ms-snapshot`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},iT={serializedName:`Blob_createSnapshotExceptionHeaders`,type:{name:`Composite`,className:`BlobCreateSnapshotExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},aT={serializedName:`Blob_startCopyFromURLHeaders`,type:{name:`Composite`,className:`BlobStartCopyFromURLHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},oT={serializedName:`Blob_startCopyFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlobStartCopyFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},sT={serializedName:`Blob_copyFromURLHeaders`,type:{name:`Composite`,className:`BlobCopyFromURLHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyStatus:{defaultValue:`success`,isConstant:!0,serializedName:`x-ms-copy-status`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},cT={serializedName:`Blob_copyFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlobCopyFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},lT={serializedName:`Blob_abortCopyFromURLHeaders`,type:{name:`Composite`,className:`BlobAbortCopyFromURLHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},uT={serializedName:`Blob_abortCopyFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlobAbortCopyFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},dT={serializedName:`Blob_setTierHeaders`,type:{name:`Composite`,className:`BlobSetTierHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},fT={serializedName:`Blob_setTierExceptionHeaders`,type:{name:`Composite`,className:`BlobSetTierExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},pT={serializedName:`Blob_getAccountInfoHeaders`,type:{name:`Composite`,className:`BlobGetAccountInfoHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},skuName:{serializedName:`x-ms-sku-name`,xmlName:`x-ms-sku-name`,type:{name:`Enum`,allowedValues:[`Standard_LRS`,`Standard_GRS`,`Standard_RAGRS`,`Standard_ZRS`,`Premium_LRS`]}},accountKind:{serializedName:`x-ms-account-kind`,xmlName:`x-ms-account-kind`,type:{name:`Enum`,allowedValues:[`Storage`,`BlobStorage`,`StorageV2`,`FileStorage`,`BlockBlobStorage`]}},isHierarchicalNamespaceEnabled:{serializedName:`x-ms-is-hns-enabled`,xmlName:`x-ms-is-hns-enabled`,type:{name:`Boolean`}}}}},mT={serializedName:`Blob_getAccountInfoExceptionHeaders`,type:{name:`Composite`,className:`BlobGetAccountInfoExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},hT={serializedName:`Blob_queryHeaders`,type:{name:`Composite`,className:`BlobQueryHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},contentLength:{serializedName:`content-length`,xmlName:`content-length`,type:{name:`Number`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},contentRange:{serializedName:`content-range`,xmlName:`content-range`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},contentEncoding:{serializedName:`content-encoding`,xmlName:`content-encoding`,type:{name:`String`}},cacheControl:{serializedName:`cache-control`,xmlName:`cache-control`,type:{name:`String`}},contentDisposition:{serializedName:`content-disposition`,xmlName:`content-disposition`,type:{name:`String`}},contentLanguage:{serializedName:`content-language`,xmlName:`content-language`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},blobType:{serializedName:`x-ms-blob-type`,xmlName:`x-ms-blob-type`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},copyCompletionTime:{serializedName:`x-ms-copy-completion-time`,xmlName:`x-ms-copy-completion-time`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`x-ms-copy-status-description`,xmlName:`x-ms-copy-status-description`,type:{name:`String`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyProgress:{serializedName:`x-ms-copy-progress`,xmlName:`x-ms-copy-progress`,type:{name:`String`}},copySource:{serializedName:`x-ms-copy-source`,xmlName:`x-ms-copy-source`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},acceptRanges:{serializedName:`accept-ranges`,xmlName:`accept-ranges`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-server-encrypted`,xmlName:`x-ms-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},blobContentMD5:{serializedName:`x-ms-blob-content-md5`,xmlName:`x-ms-blob-content-md5`,type:{name:`ByteArray`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},contentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}}}}},gT={serializedName:`Blob_queryExceptionHeaders`,type:{name:`Composite`,className:`BlobQueryExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},_T={serializedName:`Blob_getTagsHeaders`,type:{name:`Composite`,className:`BlobGetTagsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},vT={serializedName:`Blob_getTagsExceptionHeaders`,type:{name:`Composite`,className:`BlobGetTagsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},yT={serializedName:`Blob_setTagsHeaders`,type:{name:`Composite`,className:`BlobSetTagsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},bT={serializedName:`Blob_setTagsExceptionHeaders`,type:{name:`Composite`,className:`BlobSetTagsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},xT={serializedName:`PageBlob_createHeaders`,type:{name:`Composite`,className:`PageBlobCreateHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ST={serializedName:`PageBlob_createExceptionHeaders`,type:{name:`Composite`,className:`PageBlobCreateExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},CT={serializedName:`PageBlob_uploadPagesHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},wT={serializedName:`PageBlob_uploadPagesExceptionHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},TT={serializedName:`PageBlob_clearPagesHeaders`,type:{name:`Composite`,className:`PageBlobClearPagesHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ET={serializedName:`PageBlob_clearPagesExceptionHeaders`,type:{name:`Composite`,className:`PageBlobClearPagesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},DT={serializedName:`PageBlob_uploadPagesFromURLHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesFromURLHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},OT={serializedName:`PageBlob_uploadPagesFromURLExceptionHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},kT={serializedName:`PageBlob_getPageRangesHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},blobContentLength:{serializedName:`x-ms-blob-content-length`,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},AT={serializedName:`PageBlob_getPageRangesExceptionHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},jT={serializedName:`PageBlob_getPageRangesDiffHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesDiffHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},blobContentLength:{serializedName:`x-ms-blob-content-length`,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},MT={serializedName:`PageBlob_getPageRangesDiffExceptionHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesDiffExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},NT={serializedName:`PageBlob_resizeHeaders`,type:{name:`Composite`,className:`PageBlobResizeHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},PT={serializedName:`PageBlob_resizeExceptionHeaders`,type:{name:`Composite`,className:`PageBlobResizeExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},FT={serializedName:`PageBlob_updateSequenceNumberHeaders`,type:{name:`Composite`,className:`PageBlobUpdateSequenceNumberHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},IT={serializedName:`PageBlob_updateSequenceNumberExceptionHeaders`,type:{name:`Composite`,className:`PageBlobUpdateSequenceNumberExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},LT={serializedName:`PageBlob_copyIncrementalHeaders`,type:{name:`Composite`,className:`PageBlobCopyIncrementalHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},RT={serializedName:`PageBlob_copyIncrementalExceptionHeaders`,type:{name:`Composite`,className:`PageBlobCopyIncrementalExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},zT={serializedName:`AppendBlob_createHeaders`,type:{name:`Composite`,className:`AppendBlobCreateHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},BT={serializedName:`AppendBlob_createExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobCreateExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},VT={serializedName:`AppendBlob_appendBlockHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobAppendOffset:{serializedName:`x-ms-blob-append-offset`,xmlName:`x-ms-blob-append-offset`,type:{name:`String`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},HT={serializedName:`AppendBlob_appendBlockExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},UT={serializedName:`AppendBlob_appendBlockFromUrlHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockFromUrlHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobAppendOffset:{serializedName:`x-ms-blob-append-offset`,xmlName:`x-ms-blob-append-offset`,type:{name:`String`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},WT={serializedName:`AppendBlob_appendBlockFromUrlExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockFromUrlExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},GT={serializedName:`AppendBlob_sealHeaders`,type:{name:`Composite`,className:`AppendBlobSealHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isSealed:{serializedName:`x-ms-blob-sealed`,xmlName:`x-ms-blob-sealed`,type:{name:`Boolean`}}}}},KT={serializedName:`AppendBlob_sealExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobSealExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},qT={serializedName:`BlockBlob_uploadHeaders`,type:{name:`Composite`,className:`BlockBlobUploadHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},JT={serializedName:`BlockBlob_uploadExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobUploadExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},YT={serializedName:`BlockBlob_putBlobFromUrlHeaders`,type:{name:`Composite`,className:`BlockBlobPutBlobFromUrlHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},XT={serializedName:`BlockBlob_putBlobFromUrlExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobPutBlobFromUrlExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},ZT={serializedName:`BlockBlob_stageBlockHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockHeaders`,modelProperties:{contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},QT={serializedName:`BlockBlob_stageBlockExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},$T={serializedName:`BlockBlob_stageBlockFromURLHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockFromURLHeaders`,modelProperties:{contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},eE={serializedName:`BlockBlob_stageBlockFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},tE={serializedName:`BlockBlob_commitBlockListHeaders`,type:{name:`Composite`,className:`BlockBlobCommitBlockListHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},nE={serializedName:`BlockBlob_commitBlockListExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobCommitBlockListExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},rE={serializedName:`BlockBlob_getBlockListHeaders`,type:{name:`Composite`,className:`BlockBlobGetBlockListHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},blobContentLength:{serializedName:`x-ms-blob-content-length`,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},iE={serializedName:`BlockBlob_getBlockListExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobGetBlockListExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},aE={parameterPath:[`options`,`contentType`],mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Content-Type`,type:{name:`String`}}},oE={parameterPath:`blobServiceProperties`,mapper:US},sE={parameterPath:`accept`,mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Accept`,type:{name:`String`}}},U={parameterPath:`url`,mapper:{serializedName:`url`,required:!0,xmlName:`url`,type:{name:`String`}},skipEncoding:!0},cE={parameterPath:`restype`,mapper:{defaultValue:`service`,isConstant:!0,serializedName:`restype`,type:{name:`String`}}},lE={parameterPath:`comp`,mapper:{defaultValue:`properties`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},W={parameterPath:[`options`,`timeoutInSeconds`],mapper:{constraints:{InclusiveMinimum:0},serializedName:`timeout`,xmlName:`timeout`,type:{name:`Number`}}},G={parameterPath:`version`,mapper:{defaultValue:`2026-02-06`,isConstant:!0,serializedName:`x-ms-version`,type:{name:`String`}}},K={parameterPath:[`options`,`requestId`],mapper:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}}},q={parameterPath:`accept`,mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Accept`,type:{name:`String`}}},uE={parameterPath:`comp`,mapper:{defaultValue:`stats`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},dE={parameterPath:`comp`,mapper:{defaultValue:`list`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},fE={parameterPath:[`options`,`prefix`],mapper:{serializedName:`prefix`,xmlName:`prefix`,type:{name:`String`}}},pE={parameterPath:[`options`,`marker`],mapper:{serializedName:`marker`,xmlName:`marker`,type:{name:`String`}}},mE={parameterPath:[`options`,`maxPageSize`],mapper:{constraints:{InclusiveMinimum:1},serializedName:`maxresults`,xmlName:`maxresults`,type:{name:`Number`}}},hE={parameterPath:[`options`,`include`],mapper:{serializedName:`include`,xmlName:`include`,xmlElementName:`ListContainersIncludeType`,type:{name:`Sequence`,element:{type:{name:`Enum`,allowedValues:[`metadata`,`deleted`,`system`]}}}},collectionFormat:`CSV`},gE={parameterPath:`keyInfo`,mapper:eC},_E={parameterPath:`comp`,mapper:{defaultValue:`userdelegationkey`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},vE={parameterPath:`restype`,mapper:{defaultValue:`account`,isConstant:!0,serializedName:`restype`,type:{name:`String`}}},yE={parameterPath:`body`,mapper:{serializedName:`body`,required:!0,xmlName:`body`,type:{name:`Stream`}}},bE={parameterPath:`comp`,mapper:{defaultValue:`batch`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},xE={parameterPath:`contentLength`,mapper:{serializedName:`Content-Length`,required:!0,xmlName:`Content-Length`,type:{name:`Number`}}},SE={parameterPath:`multipartContentType`,mapper:{serializedName:`Content-Type`,required:!0,xmlName:`Content-Type`,type:{name:`String`}}},CE={parameterPath:`comp`,mapper:{defaultValue:`blobs`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},wE={parameterPath:[`options`,`where`],mapper:{serializedName:`where`,xmlName:`where`,type:{name:`String`}}},TE={parameterPath:`restype`,mapper:{defaultValue:`container`,isConstant:!0,serializedName:`restype`,type:{name:`String`}}},EE={parameterPath:[`options`,`metadata`],mapper:{serializedName:`x-ms-meta`,xmlName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,type:{name:`Dictionary`,value:{type:{name:`String`}}}}},DE={parameterPath:[`options`,`access`],mapper:{serializedName:`x-ms-blob-public-access`,xmlName:`x-ms-blob-public-access`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}}},OE={parameterPath:[`options`,`containerEncryptionScope`,`defaultEncryptionScope`],mapper:{serializedName:`x-ms-default-encryption-scope`,xmlName:`x-ms-default-encryption-scope`,type:{name:`String`}}},kE={parameterPath:[`options`,`containerEncryptionScope`,`preventEncryptionScopeOverride`],mapper:{serializedName:`x-ms-deny-encryption-scope-override`,xmlName:`x-ms-deny-encryption-scope-override`,type:{name:`Boolean`}}},J={parameterPath:[`options`,`leaseAccessConditions`,`leaseId`],mapper:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}}},Y={parameterPath:[`options`,`modifiedAccessConditions`,`ifModifiedSince`],mapper:{serializedName:`If-Modified-Since`,xmlName:`If-Modified-Since`,type:{name:`DateTimeRfc1123`}}},X={parameterPath:[`options`,`modifiedAccessConditions`,`ifUnmodifiedSince`],mapper:{serializedName:`If-Unmodified-Since`,xmlName:`If-Unmodified-Since`,type:{name:`DateTimeRfc1123`}}},AE={parameterPath:`comp`,mapper:{defaultValue:`metadata`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},jE={parameterPath:`comp`,mapper:{defaultValue:`acl`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},ME={parameterPath:[`options`,`containerAcl`],mapper:{serializedName:`containerAcl`,xmlName:`SignedIdentifiers`,xmlIsWrapped:!0,xmlElementName:`SignedIdentifier`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`SignedIdentifier`}}}}},NE={parameterPath:`comp`,mapper:{defaultValue:`undelete`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},PE={parameterPath:[`options`,`deletedContainerName`],mapper:{serializedName:`x-ms-deleted-container-name`,xmlName:`x-ms-deleted-container-name`,type:{name:`String`}}},FE={parameterPath:[`options`,`deletedContainerVersion`],mapper:{serializedName:`x-ms-deleted-container-version`,xmlName:`x-ms-deleted-container-version`,type:{name:`String`}}},IE={parameterPath:`comp`,mapper:{defaultValue:`rename`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},LE={parameterPath:`sourceContainerName`,mapper:{serializedName:`x-ms-source-container-name`,required:!0,xmlName:`x-ms-source-container-name`,type:{name:`String`}}},RE={parameterPath:[`options`,`sourceLeaseId`],mapper:{serializedName:`x-ms-source-lease-id`,xmlName:`x-ms-source-lease-id`,type:{name:`String`}}},zE={parameterPath:`comp`,mapper:{defaultValue:`lease`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},BE={parameterPath:`action`,mapper:{defaultValue:`acquire`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},VE={parameterPath:[`options`,`duration`],mapper:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Number`}}},HE={parameterPath:[`options`,`proposedLeaseId`],mapper:{serializedName:`x-ms-proposed-lease-id`,xmlName:`x-ms-proposed-lease-id`,type:{name:`String`}}},UE={parameterPath:`action`,mapper:{defaultValue:`release`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},WE={parameterPath:`leaseId`,mapper:{serializedName:`x-ms-lease-id`,required:!0,xmlName:`x-ms-lease-id`,type:{name:`String`}}},GE={parameterPath:`action`,mapper:{defaultValue:`renew`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},KE={parameterPath:`action`,mapper:{defaultValue:`break`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},qE={parameterPath:[`options`,`breakPeriod`],mapper:{serializedName:`x-ms-lease-break-period`,xmlName:`x-ms-lease-break-period`,type:{name:`Number`}}},JE={parameterPath:`action`,mapper:{defaultValue:`change`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},YE={parameterPath:`proposedLeaseId`,mapper:{serializedName:`x-ms-proposed-lease-id`,required:!0,xmlName:`x-ms-proposed-lease-id`,type:{name:`String`}}},XE={parameterPath:[`options`,`include`],mapper:{serializedName:`include`,xmlName:`include`,xmlElementName:`ListBlobsIncludeItem`,type:{name:`Sequence`,element:{type:{name:`Enum`,allowedValues:[`copy`,`deleted`,`metadata`,`snapshots`,`uncommittedblobs`,`versions`,`tags`,`immutabilitypolicy`,`legalhold`,`deletedwithversions`]}}}},collectionFormat:`CSV`},ZE={parameterPath:[`options`,`startFrom`],mapper:{serializedName:`startFrom`,xmlName:`startFrom`,type:{name:`String`}}},QE={parameterPath:`delimiter`,mapper:{serializedName:`delimiter`,required:!0,xmlName:`delimiter`,type:{name:`String`}}},$E={parameterPath:[`options`,`snapshot`],mapper:{serializedName:`snapshot`,xmlName:`snapshot`,type:{name:`String`}}},eD={parameterPath:[`options`,`versionId`],mapper:{serializedName:`versionid`,xmlName:`versionid`,type:{name:`String`}}},tD={parameterPath:[`options`,`range`],mapper:{serializedName:`x-ms-range`,xmlName:`x-ms-range`,type:{name:`String`}}},nD={parameterPath:[`options`,`rangeGetContentMD5`],mapper:{serializedName:`x-ms-range-get-content-md5`,xmlName:`x-ms-range-get-content-md5`,type:{name:`Boolean`}}},rD={parameterPath:[`options`,`rangeGetContentCRC64`],mapper:{serializedName:`x-ms-range-get-content-crc64`,xmlName:`x-ms-range-get-content-crc64`,type:{name:`Boolean`}}},iD={parameterPath:[`options`,`cpkInfo`,`encryptionKey`],mapper:{serializedName:`x-ms-encryption-key`,xmlName:`x-ms-encryption-key`,type:{name:`String`}}},aD={parameterPath:[`options`,`cpkInfo`,`encryptionKeySha256`],mapper:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}}},oD={parameterPath:[`options`,`cpkInfo`,`encryptionAlgorithm`],mapper:{serializedName:`x-ms-encryption-algorithm`,xmlName:`x-ms-encryption-algorithm`,type:{name:`String`}}},sD={parameterPath:[`options`,`modifiedAccessConditions`,`ifMatch`],mapper:{serializedName:`If-Match`,xmlName:`If-Match`,type:{name:`String`}}},cD={parameterPath:[`options`,`modifiedAccessConditions`,`ifNoneMatch`],mapper:{serializedName:`If-None-Match`,xmlName:`If-None-Match`,type:{name:`String`}}},lD={parameterPath:[`options`,`modifiedAccessConditions`,`ifTags`],mapper:{serializedName:`x-ms-if-tags`,xmlName:`x-ms-if-tags`,type:{name:`String`}}},uD={parameterPath:[`options`,`deleteSnapshots`],mapper:{serializedName:`x-ms-delete-snapshots`,xmlName:`x-ms-delete-snapshots`,type:{name:`Enum`,allowedValues:[`include`,`only`]}}},dD={parameterPath:[`options`,`blobDeleteType`],mapper:{serializedName:`deletetype`,xmlName:`deletetype`,type:{name:`String`}}},fD={parameterPath:`comp`,mapper:{defaultValue:`expiry`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},pD={parameterPath:`expiryOptions`,mapper:{serializedName:`x-ms-expiry-option`,required:!0,xmlName:`x-ms-expiry-option`,type:{name:`String`}}},mD={parameterPath:[`options`,`expiresOn`],mapper:{serializedName:`x-ms-expiry-time`,xmlName:`x-ms-expiry-time`,type:{name:`String`}}},hD={parameterPath:[`options`,`blobHttpHeaders`,`blobCacheControl`],mapper:{serializedName:`x-ms-blob-cache-control`,xmlName:`x-ms-blob-cache-control`,type:{name:`String`}}},gD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentType`],mapper:{serializedName:`x-ms-blob-content-type`,xmlName:`x-ms-blob-content-type`,type:{name:`String`}}},_D={parameterPath:[`options`,`blobHttpHeaders`,`blobContentMD5`],mapper:{serializedName:`x-ms-blob-content-md5`,xmlName:`x-ms-blob-content-md5`,type:{name:`ByteArray`}}},vD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentEncoding`],mapper:{serializedName:`x-ms-blob-content-encoding`,xmlName:`x-ms-blob-content-encoding`,type:{name:`String`}}},yD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentLanguage`],mapper:{serializedName:`x-ms-blob-content-language`,xmlName:`x-ms-blob-content-language`,type:{name:`String`}}},bD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentDisposition`],mapper:{serializedName:`x-ms-blob-content-disposition`,xmlName:`x-ms-blob-content-disposition`,type:{name:`String`}}},xD={parameterPath:`comp`,mapper:{defaultValue:`immutabilityPolicies`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},SD={parameterPath:[`options`,`immutabilityPolicyExpiry`],mapper:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}}},CD={parameterPath:[`options`,`immutabilityPolicyMode`],mapper:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}}},wD={parameterPath:`comp`,mapper:{defaultValue:`legalhold`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},TD={parameterPath:`legalHold`,mapper:{serializedName:`x-ms-legal-hold`,required:!0,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}}},ED={parameterPath:[`options`,`encryptionScope`],mapper:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}}},DD={parameterPath:`comp`,mapper:{defaultValue:`snapshot`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},OD={parameterPath:[`options`,`tier`],mapper:{serializedName:`x-ms-access-tier`,xmlName:`x-ms-access-tier`,type:{name:`Enum`,allowedValues:[`P4`,`P6`,`P10`,`P15`,`P20`,`P30`,`P40`,`P50`,`P60`,`P70`,`P80`,`Hot`,`Cool`,`Archive`,`Cold`]}}},kD={parameterPath:[`options`,`rehydratePriority`],mapper:{serializedName:`x-ms-rehydrate-priority`,xmlName:`x-ms-rehydrate-priority`,type:{name:`Enum`,allowedValues:[`High`,`Standard`]}}},AD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfModifiedSince`],mapper:{serializedName:`x-ms-source-if-modified-since`,xmlName:`x-ms-source-if-modified-since`,type:{name:`DateTimeRfc1123`}}},jD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfUnmodifiedSince`],mapper:{serializedName:`x-ms-source-if-unmodified-since`,xmlName:`x-ms-source-if-unmodified-since`,type:{name:`DateTimeRfc1123`}}},MD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfMatch`],mapper:{serializedName:`x-ms-source-if-match`,xmlName:`x-ms-source-if-match`,type:{name:`String`}}},ND={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfNoneMatch`],mapper:{serializedName:`x-ms-source-if-none-match`,xmlName:`x-ms-source-if-none-match`,type:{name:`String`}}},PD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfTags`],mapper:{serializedName:`x-ms-source-if-tags`,xmlName:`x-ms-source-if-tags`,type:{name:`String`}}},FD={parameterPath:`copySource`,mapper:{serializedName:`x-ms-copy-source`,required:!0,xmlName:`x-ms-copy-source`,type:{name:`String`}}},ID={parameterPath:[`options`,`blobTagsString`],mapper:{serializedName:`x-ms-tags`,xmlName:`x-ms-tags`,type:{name:`String`}}},LD={parameterPath:[`options`,`sealBlob`],mapper:{serializedName:`x-ms-seal-blob`,xmlName:`x-ms-seal-blob`,type:{name:`Boolean`}}},RD={parameterPath:[`options`,`legalHold`],mapper:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}}},zD={parameterPath:`xMsRequiresSync`,mapper:{defaultValue:`true`,isConstant:!0,serializedName:`x-ms-requires-sync`,type:{name:`String`}}},BD={parameterPath:[`options`,`sourceContentMD5`],mapper:{serializedName:`x-ms-source-content-md5`,xmlName:`x-ms-source-content-md5`,type:{name:`ByteArray`}}},VD={parameterPath:[`options`,`copySourceAuthorization`],mapper:{serializedName:`x-ms-copy-source-authorization`,xmlName:`x-ms-copy-source-authorization`,type:{name:`String`}}},HD={parameterPath:[`options`,`copySourceTags`],mapper:{serializedName:`x-ms-copy-source-tag-option`,xmlName:`x-ms-copy-source-tag-option`,type:{name:`Enum`,allowedValues:[`REPLACE`,`COPY`]}}},UD={parameterPath:[`options`,`fileRequestIntent`],mapper:{serializedName:`x-ms-file-request-intent`,xmlName:`x-ms-file-request-intent`,type:{name:`String`}}},WD={parameterPath:`comp`,mapper:{defaultValue:`copy`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},GD={parameterPath:`copyActionAbortConstant`,mapper:{defaultValue:`abort`,isConstant:!0,serializedName:`x-ms-copy-action`,type:{name:`String`}}},KD={parameterPath:`copyId`,mapper:{serializedName:`copyid`,required:!0,xmlName:`copyid`,type:{name:`String`}}},qD={parameterPath:`comp`,mapper:{defaultValue:`tier`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},JD={parameterPath:`tier`,mapper:{serializedName:`x-ms-access-tier`,required:!0,xmlName:`x-ms-access-tier`,type:{name:`Enum`,allowedValues:[`P4`,`P6`,`P10`,`P15`,`P20`,`P30`,`P40`,`P50`,`P60`,`P70`,`P80`,`Hot`,`Cool`,`Archive`,`Cold`]}}},YD={parameterPath:[`options`,`queryRequest`],mapper:SC},XD={parameterPath:`comp`,mapper:{defaultValue:`query`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},ZD={parameterPath:`comp`,mapper:{defaultValue:`tags`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},QD={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifModifiedSince`],mapper:{serializedName:`x-ms-blob-if-modified-since`,xmlName:`x-ms-blob-if-modified-since`,type:{name:`DateTimeRfc1123`}}},$D={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifUnmodifiedSince`],mapper:{serializedName:`x-ms-blob-if-unmodified-since`,xmlName:`x-ms-blob-if-unmodified-since`,type:{name:`DateTimeRfc1123`}}},eO={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifMatch`],mapper:{serializedName:`x-ms-blob-if-match`,xmlName:`x-ms-blob-if-match`,type:{name:`String`}}},tO={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifNoneMatch`],mapper:{serializedName:`x-ms-blob-if-none-match`,xmlName:`x-ms-blob-if-none-match`,type:{name:`String`}}},nO={parameterPath:[`options`,`tags`],mapper:iC},rO={parameterPath:[`options`,`transactionalContentMD5`],mapper:{serializedName:`Content-MD5`,xmlName:`Content-MD5`,type:{name:`ByteArray`}}},iO={parameterPath:[`options`,`transactionalContentCrc64`],mapper:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}}},aO={parameterPath:`blobType`,mapper:{defaultValue:`PageBlob`,isConstant:!0,serializedName:`x-ms-blob-type`,type:{name:`String`}}},oO={parameterPath:`blobContentLength`,mapper:{serializedName:`x-ms-blob-content-length`,required:!0,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}}},sO={parameterPath:[`options`,`blobSequenceNumber`],mapper:{defaultValue:0,serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}}},cO={parameterPath:[`options`,`contentType`],mapper:{defaultValue:`application/octet-stream`,isConstant:!0,serializedName:`Content-Type`,type:{name:`String`}}},lO={parameterPath:`body`,mapper:{serializedName:`body`,required:!0,xmlName:`body`,type:{name:`Stream`}}},uO={parameterPath:`accept`,mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Accept`,type:{name:`String`}}},dO={parameterPath:`comp`,mapper:{defaultValue:`page`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},fO={parameterPath:`pageWrite`,mapper:{defaultValue:`update`,isConstant:!0,serializedName:`x-ms-page-write`,type:{name:`String`}}},pO={parameterPath:[`options`,`sequenceNumberAccessConditions`,`ifSequenceNumberLessThanOrEqualTo`],mapper:{serializedName:`x-ms-if-sequence-number-le`,xmlName:`x-ms-if-sequence-number-le`,type:{name:`Number`}}},mO={parameterPath:[`options`,`sequenceNumberAccessConditions`,`ifSequenceNumberLessThan`],mapper:{serializedName:`x-ms-if-sequence-number-lt`,xmlName:`x-ms-if-sequence-number-lt`,type:{name:`Number`}}},hO={parameterPath:[`options`,`sequenceNumberAccessConditions`,`ifSequenceNumberEqualTo`],mapper:{serializedName:`x-ms-if-sequence-number-eq`,xmlName:`x-ms-if-sequence-number-eq`,type:{name:`Number`}}},gO={parameterPath:`pageWrite`,mapper:{defaultValue:`clear`,isConstant:!0,serializedName:`x-ms-page-write`,type:{name:`String`}}},_O={parameterPath:`sourceUrl`,mapper:{serializedName:`x-ms-copy-source`,required:!0,xmlName:`x-ms-copy-source`,type:{name:`String`}}},vO={parameterPath:`sourceRange`,mapper:{serializedName:`x-ms-source-range`,required:!0,xmlName:`x-ms-source-range`,type:{name:`String`}}},yO={parameterPath:[`options`,`sourceContentCrc64`],mapper:{serializedName:`x-ms-source-content-crc64`,xmlName:`x-ms-source-content-crc64`,type:{name:`ByteArray`}}},bO={parameterPath:`range`,mapper:{serializedName:`x-ms-range`,required:!0,xmlName:`x-ms-range`,type:{name:`String`}}},xO={parameterPath:`comp`,mapper:{defaultValue:`pagelist`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},SO={parameterPath:[`options`,`prevsnapshot`],mapper:{serializedName:`prevsnapshot`,xmlName:`prevsnapshot`,type:{name:`String`}}},CO={parameterPath:[`options`,`prevSnapshotUrl`],mapper:{serializedName:`x-ms-previous-snapshot-url`,xmlName:`x-ms-previous-snapshot-url`,type:{name:`String`}}},wO={parameterPath:`sequenceNumberAction`,mapper:{serializedName:`x-ms-sequence-number-action`,required:!0,xmlName:`x-ms-sequence-number-action`,type:{name:`Enum`,allowedValues:[`max`,`update`,`increment`]}}},TO={parameterPath:`comp`,mapper:{defaultValue:`incrementalcopy`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},EO={parameterPath:`blobType`,mapper:{defaultValue:`AppendBlob`,isConstant:!0,serializedName:`x-ms-blob-type`,type:{name:`String`}}},DO={parameterPath:`comp`,mapper:{defaultValue:`appendblock`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},OO={parameterPath:[`options`,`appendPositionAccessConditions`,`maxSize`],mapper:{serializedName:`x-ms-blob-condition-maxsize`,xmlName:`x-ms-blob-condition-maxsize`,type:{name:`Number`}}},kO={parameterPath:[`options`,`appendPositionAccessConditions`,`appendPosition`],mapper:{serializedName:`x-ms-blob-condition-appendpos`,xmlName:`x-ms-blob-condition-appendpos`,type:{name:`Number`}}},AO={parameterPath:[`options`,`sourceRange`],mapper:{serializedName:`x-ms-source-range`,xmlName:`x-ms-source-range`,type:{name:`String`}}},jO={parameterPath:`comp`,mapper:{defaultValue:`seal`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},MO={parameterPath:`blobType`,mapper:{defaultValue:`BlockBlob`,isConstant:!0,serializedName:`x-ms-blob-type`,type:{name:`String`}}},NO={parameterPath:[`options`,`copySourceBlobProperties`],mapper:{serializedName:`x-ms-copy-source-blob-properties`,xmlName:`x-ms-copy-source-blob-properties`,type:{name:`Boolean`}}},PO={parameterPath:`comp`,mapper:{defaultValue:`block`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},FO={parameterPath:`blockId`,mapper:{serializedName:`blockid`,required:!0,xmlName:`blockid`,type:{name:`String`}}},IO={parameterPath:`blocks`,mapper:gC},LO={parameterPath:`comp`,mapper:{defaultValue:`blocklist`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},RO={parameterPath:`listType`,mapper:{defaultValue:`committed`,serializedName:`blocklisttype`,required:!0,xmlName:`blocklisttype`,type:{name:`Enum`,allowedValues:[`committed`,`uncommitted`,`all`]}}};var zO=class{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},VO)}getProperties(e){return this.client.sendOperationRequest({options:e},HO)}getStatistics(e){return this.client.sendOperationRequest({options:e},UO)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},WO)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},GO)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},KO)}submitBatch(e,t,n,r){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:r},qO)}filterBlobs(e){return this.client.sendOperationRequest({options:e},JO)}};const BO=x_(HS,!0),VO={path:`/`,httpMethod:`PUT`,responses:{202:{headersMapper:kC},default:{bodyMapper:H,headersMapper:AC}},requestBody:oE,queryParameters:[cE,lE,W],urlParameters:[U],headerParameters:[aE,sE,G,K],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:BO},HO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:US,headersMapper:jC},default:{bodyMapper:H,headersMapper:MC}},queryParameters:[cE,lE,W],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:BO},UO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:YS,headersMapper:NC},default:{bodyMapper:H,headersMapper:PC}},queryParameters:[cE,W,uE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:BO},WO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:ZS,headersMapper:FC},default:{bodyMapper:H,headersMapper:IC}},queryParameters:[W,dE,fE,pE,mE,hE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:BO},GO={path:`/`,httpMethod:`POST`,responses:{200:{bodyMapper:tC,headersMapper:LC},default:{bodyMapper:H,headersMapper:RC}},requestBody:gE,queryParameters:[cE,W,_E],urlParameters:[U],headerParameters:[aE,sE,G,K],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:BO},KO={path:`/`,httpMethod:`GET`,responses:{200:{headersMapper:zC},default:{bodyMapper:H,headersMapper:BC}},queryParameters:[lE,W,vE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:BO},qO={path:`/`,httpMethod:`POST`,responses:{202:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:VC},default:{bodyMapper:H,headersMapper:HC}},requestBody:yE,queryParameters:[W,bE],urlParameters:[U],headerParameters:[sE,G,K,xE,SE],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:BO},JO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:nC,headersMapper:UC},default:{bodyMapper:H,headersMapper:WC}},queryParameters:[W,pE,mE,CE,wE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:BO};var YO=class{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},ZO)}getProperties(e){return this.client.sendOperationRequest({options:e},QO)}delete(e){return this.client.sendOperationRequest({options:e},$O)}setMetadata(e){return this.client.sendOperationRequest({options:e},ek)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},tk)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},nk)}restore(e){return this.client.sendOperationRequest({options:e},rk)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},ik)}submitBatch(e,t,n,r){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:r},ak)}filterBlobs(e){return this.client.sendOperationRequest({options:e},ok)}acquireLease(e){return this.client.sendOperationRequest({options:e},sk)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},ck)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},lk)}breakLease(e){return this.client.sendOperationRequest({options:e},uk)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},dk)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},fk)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},pk)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},mk)}};const XO=x_(HS,!0),ZO={path:`/{containerName}`,httpMethod:`PUT`,responses:{201:{headersMapper:GC},default:{bodyMapper:H,headersMapper:KC}},queryParameters:[W,TE],urlParameters:[U],headerParameters:[G,K,q,EE,DE,OE,kE],isXML:!0,serializer:XO},QO={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{headersMapper:qC},default:{bodyMapper:H,headersMapper:JC}},queryParameters:[W,TE],urlParameters:[U],headerParameters:[G,K,q,J],isXML:!0,serializer:XO},$O={path:`/{containerName}`,httpMethod:`DELETE`,responses:{202:{headersMapper:YC},default:{bodyMapper:H,headersMapper:XC}},queryParameters:[W,TE],urlParameters:[U],headerParameters:[G,K,q,J,Y,X],isXML:!0,serializer:XO},ek={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:ZC},default:{bodyMapper:H,headersMapper:QC}},queryParameters:[W,TE,AE],urlParameters:[U],headerParameters:[G,K,q,EE,J,Y],isXML:!0,serializer:XO},tk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:{type:{name:`Sequence`,element:{type:{name:`Composite`,className:`SignedIdentifier`}}},serializedName:`SignedIdentifiers`,xmlName:`SignedIdentifiers`,xmlIsWrapped:!0,xmlElementName:`SignedIdentifier`},headersMapper:$C},default:{bodyMapper:H,headersMapper:ew}},queryParameters:[W,TE,jE],urlParameters:[U],headerParameters:[G,K,q,J],isXML:!0,serializer:XO},nk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:tw},default:{bodyMapper:H,headersMapper:nw}},requestBody:ME,queryParameters:[W,TE,jE],urlParameters:[U],headerParameters:[aE,sE,G,K,DE,J,Y,X],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:XO},rk={path:`/{containerName}`,httpMethod:`PUT`,responses:{201:{headersMapper:rw},default:{bodyMapper:H,headersMapper:iw}},queryParameters:[W,TE,NE],urlParameters:[U],headerParameters:[G,K,q,PE,FE],isXML:!0,serializer:XO},ik={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:aw},default:{bodyMapper:H,headersMapper:ow}},queryParameters:[W,TE,IE],urlParameters:[U],headerParameters:[G,K,q,LE,RE],isXML:!0,serializer:XO},ak={path:`/{containerName}`,httpMethod:`POST`,responses:{202:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:sw},default:{bodyMapper:H,headersMapper:cw}},requestBody:yE,queryParameters:[W,bE,TE],urlParameters:[U],headerParameters:[sE,G,K,xE,SE],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:XO},ok={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:nC,headersMapper:lw},default:{bodyMapper:H,headersMapper:uw}},queryParameters:[W,pE,mE,CE,wE,TE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:XO},sk={path:`/{containerName}`,httpMethod:`PUT`,responses:{201:{headersMapper:dw},default:{bodyMapper:H,headersMapper:fw}},queryParameters:[W,TE,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,BE,VE,HE],isXML:!0,serializer:XO},ck={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:pw},default:{bodyMapper:H,headersMapper:mw}},queryParameters:[W,TE,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,UE,WE],isXML:!0,serializer:XO},lk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:hw},default:{bodyMapper:H,headersMapper:gw}},queryParameters:[W,TE,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,WE,GE],isXML:!0,serializer:XO},uk={path:`/{containerName}`,httpMethod:`PUT`,responses:{202:{headersMapper:_w},default:{bodyMapper:H,headersMapper:vw}},queryParameters:[W,TE,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,KE,qE],isXML:!0,serializer:XO},dk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:yw},default:{bodyMapper:H,headersMapper:bw}},queryParameters:[W,TE,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,WE,JE,YE],isXML:!0,serializer:XO},fk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:cC,headersMapper:xw},default:{bodyMapper:H,headersMapper:Sw}},queryParameters:[W,dE,fE,pE,mE,TE,XE,ZE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:XO},pk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:pC,headersMapper:Cw},default:{bodyMapper:H,headersMapper:ww}},queryParameters:[W,dE,fE,pE,mE,TE,XE,ZE,QE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:XO},mk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{headersMapper:Tw},default:{bodyMapper:H,headersMapper:Ew}},queryParameters:[lE,W,vE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:XO};var hk=class{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},_k)}getProperties(e){return this.client.sendOperationRequest({options:e},vk)}delete(e){return this.client.sendOperationRequest({options:e},yk)}undelete(e){return this.client.sendOperationRequest({options:e},bk)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},xk)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Sk)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Ck)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wk)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Tk)}setMetadata(e){return this.client.sendOperationRequest({options:e},Ek)}acquireLease(e){return this.client.sendOperationRequest({options:e},Dk)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Ok)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},kk)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},Ak)}breakLease(e){return this.client.sendOperationRequest({options:e},jk)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Mk)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Nk)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Pk)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Fk)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},Ik)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Lk)}query(e){return this.client.sendOperationRequest({options:e},Rk)}getTags(e){return this.client.sendOperationRequest({options:e},zk)}setTags(e){return this.client.sendOperationRequest({options:e},Bk)}};const gk=x_(HS,!0),_k={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:Dw},206:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:Dw},default:{bodyMapper:H,headersMapper:Ow}},queryParameters:[W,$E,eD],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,tD,nD,rD,iD,aD,oD,sD,cD,lD],isXML:!0,serializer:gk},vk={path:`/{containerName}/{blob}`,httpMethod:`HEAD`,responses:{200:{headersMapper:kw},default:{bodyMapper:H,headersMapper:Aw}},queryParameters:[W,$E,eD],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,iD,aD,oD,sD,cD,lD],isXML:!0,serializer:gk},yk={path:`/{containerName}/{blob}`,httpMethod:`DELETE`,responses:{202:{headersMapper:jw},default:{bodyMapper:H,headersMapper:Mw}},queryParameters:[W,$E,eD,dD],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,sD,cD,lD,uD],isXML:!0,serializer:gk},bk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Nw},default:{bodyMapper:H,headersMapper:Pw}},queryParameters:[W,NE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:gk},xk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Fw},default:{bodyMapper:H,headersMapper:Iw}},queryParameters:[W,fD],urlParameters:[U],headerParameters:[G,K,q,pD,mD],isXML:!0,serializer:gk},Sk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Lw},default:{bodyMapper:H,headersMapper:Rw}},queryParameters:[lE,W],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,sD,cD,lD,hD,gD,_D,vD,yD,bD],isXML:!0,serializer:gk},Ck={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:zw},default:{bodyMapper:H,headersMapper:Bw}},queryParameters:[W,$E,eD,xD],urlParameters:[U],headerParameters:[G,K,q,X,SD,CD],isXML:!0,serializer:gk},wk={path:`/{containerName}/{blob}`,httpMethod:`DELETE`,responses:{200:{headersMapper:Vw},default:{bodyMapper:H,headersMapper:Hw}},queryParameters:[W,$E,eD,xD],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:gk},Tk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Uw},default:{bodyMapper:H,headersMapper:Ww}},queryParameters:[W,$E,eD,wD],urlParameters:[U],headerParameters:[G,K,q,TD],isXML:!0,serializer:gk},Ek={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Gw},default:{bodyMapper:H,headersMapper:Kw}},queryParameters:[W,AE],urlParameters:[U],headerParameters:[G,K,q,EE,J,Y,X,iD,aD,oD,sD,cD,lD,ED],isXML:!0,serializer:gk},Dk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:qw},default:{bodyMapper:H,headersMapper:Jw}},queryParameters:[W,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,BE,VE,HE,sD,cD,lD],isXML:!0,serializer:gk},Ok={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Yw},default:{bodyMapper:H,headersMapper:Xw}},queryParameters:[W,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,UE,WE,sD,cD,lD],isXML:!0,serializer:gk},kk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Zw},default:{bodyMapper:H,headersMapper:Qw}},queryParameters:[W,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,WE,GE,sD,cD,lD],isXML:!0,serializer:gk},Ak={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:$w},default:{bodyMapper:H,headersMapper:eT}},queryParameters:[W,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,WE,JE,YE,sD,cD,lD],isXML:!0,serializer:gk},jk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:tT},default:{bodyMapper:H,headersMapper:nT}},queryParameters:[W,zE],urlParameters:[U],headerParameters:[G,K,q,Y,X,KE,qE,sD,cD,lD],isXML:!0,serializer:gk},Mk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:rT},default:{bodyMapper:H,headersMapper:iT}},queryParameters:[W,DD],urlParameters:[U],headerParameters:[G,K,q,EE,J,Y,X,iD,aD,oD,sD,cD,lD,ED],isXML:!0,serializer:gk},Nk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:aT},default:{bodyMapper:H,headersMapper:oT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,EE,J,Y,X,sD,cD,lD,SD,CD,OD,kD,AD,jD,MD,ND,PD,FD,ID,LD,RD],isXML:!0,serializer:gk},Pk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:sT},default:{bodyMapper:H,headersMapper:cT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,EE,J,Y,X,sD,cD,lD,SD,CD,ED,OD,AD,jD,MD,ND,FD,ID,RD,zD,BD,VD,HD,UD],isXML:!0,serializer:gk},Fk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{204:{headersMapper:lT},default:{bodyMapper:H,headersMapper:uT}},queryParameters:[W,WD,KD],urlParameters:[U],headerParameters:[G,K,q,J,GD],isXML:!0,serializer:gk},Ik={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:dT},202:{headersMapper:dT},default:{bodyMapper:H,headersMapper:fT}},queryParameters:[W,$E,eD,qD],urlParameters:[U],headerParameters:[G,K,q,J,lD,kD,JD],isXML:!0,serializer:gk},Lk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{headersMapper:pT},default:{bodyMapper:H,headersMapper:mT}},queryParameters:[lE,W,vE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:gk},Rk={path:`/{containerName}/{blob}`,httpMethod:`POST`,responses:{200:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:hT},206:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:hT},default:{bodyMapper:H,headersMapper:gT}},requestBody:YD,queryParameters:[W,$E,XD],urlParameters:[U],headerParameters:[aE,sE,G,K,J,Y,X,iD,aD,oD,sD,cD,lD],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:gk},zk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:iC,headersMapper:_T},default:{bodyMapper:H,headersMapper:vT}},queryParameters:[W,$E,eD,ZD],urlParameters:[U],headerParameters:[G,K,q,J,lD,QD,$D,eO,tO],isXML:!0,serializer:gk},Bk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{204:{headersMapper:yT},default:{bodyMapper:H,headersMapper:bT}},requestBody:nO,queryParameters:[W,eD,ZD],urlParameters:[U],headerParameters:[aE,sE,G,K,J,lD,QD,$D,eO,tO,rO,iO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:gk};var Vk=class{client;constructor(e){this.client=e}create(e,t,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:n},Uk)}uploadPages(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},Wk)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Gk)}uploadPagesFromURL(e,t,n,r,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:n,range:r,options:i},Kk)}getPageRanges(e){return this.client.sendOperationRequest({options:e},qk)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Jk)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Yk)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Xk)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Zk)}};const Hk=x_(HS,!0),Uk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:xT},default:{bodyMapper:H,headersMapper:ST}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,xE,EE,J,Y,X,iD,aD,oD,sD,cD,lD,hD,gD,_D,vD,yD,bD,SD,CD,ED,OD,ID,RD,aO,oO,sO],isXML:!0,serializer:Hk},Wk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:CT},default:{bodyMapper:H,headersMapper:wT}},requestBody:lO,queryParameters:[W,dO],urlParameters:[U],headerParameters:[G,K,xE,J,Y,X,tD,iD,aD,oD,sD,cD,lD,ED,rO,iO,cO,uO,fO,pO,mO,hO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:Hk},Gk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:TT},default:{bodyMapper:H,headersMapper:ET}},queryParameters:[W,dO],urlParameters:[U],headerParameters:[G,K,q,xE,J,Y,X,tD,iD,aD,oD,sD,cD,lD,ED,pO,mO,hO,gO],isXML:!0,serializer:Hk},Kk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:DT},default:{bodyMapper:H,headersMapper:OT}},queryParameters:[W,dO],urlParameters:[U],headerParameters:[G,K,q,xE,J,Y,X,iD,aD,oD,sD,cD,lD,ED,AD,jD,MD,ND,BD,VD,UD,fO,pO,mO,hO,_O,vO,yO,bO],isXML:!0,serializer:Hk},qk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:yC,headersMapper:kT},default:{bodyMapper:H,headersMapper:AT}},queryParameters:[W,pE,mE,$E,xO],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,tD,sD,cD,lD],isXML:!0,serializer:Hk},Jk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:yC,headersMapper:jT},default:{bodyMapper:H,headersMapper:MT}},queryParameters:[W,pE,mE,$E,xO,SO],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,tD,sD,cD,lD,CO],isXML:!0,serializer:Hk},Yk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:NT},default:{bodyMapper:H,headersMapper:PT}},queryParameters:[lE,W],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,iD,aD,oD,sD,cD,lD,ED,oO],isXML:!0,serializer:Hk},Xk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:FT},default:{bodyMapper:H,headersMapper:IT}},queryParameters:[lE,W],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,sD,cD,lD,sO,wO],isXML:!0,serializer:Hk},Zk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:LT},default:{bodyMapper:H,headersMapper:RT}},queryParameters:[W,TO],urlParameters:[U],headerParameters:[G,K,q,Y,X,sD,cD,lD,FD],isXML:!0,serializer:Hk};var Qk=class{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},eA)}appendBlock(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},tA)}appendBlockFromUrl(e,t,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:n},nA)}seal(e){return this.client.sendOperationRequest({options:e},rA)}};const $k=x_(HS,!0),eA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:zT},default:{bodyMapper:H,headersMapper:BT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,xE,EE,J,Y,X,iD,aD,oD,sD,cD,lD,hD,gD,_D,vD,yD,bD,SD,CD,ED,ID,RD,EO],isXML:!0,serializer:$k},tA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:VT},default:{bodyMapper:H,headersMapper:HT}},requestBody:lO,queryParameters:[W,DO],urlParameters:[U],headerParameters:[G,K,xE,J,Y,X,iD,aD,oD,sD,cD,lD,ED,rO,iO,cO,uO,OO,kO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:$k},nA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:UT},default:{bodyMapper:H,headersMapper:WT}},queryParameters:[W,DO],urlParameters:[U],headerParameters:[G,K,q,xE,J,Y,X,iD,aD,oD,sD,cD,lD,ED,AD,jD,MD,ND,BD,VD,UD,rO,_O,yO,OO,kO,AO],isXML:!0,serializer:$k},rA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:GT},default:{bodyMapper:H,headersMapper:KT}},queryParameters:[W,jO],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,sD,cD,kO],isXML:!0,serializer:$k};var iA=class{client;constructor(e){this.client=e}upload(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},oA)}putBlobFromUrl(e,t,n){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:n},sA)}stageBlock(e,t,n,r){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:n,options:r},cA)}stageBlockFromURL(e,t,n,r){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:n,options:r},lA)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},uA)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},dA)}};const aA=x_(HS,!0),oA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:qT},default:{bodyMapper:H,headersMapper:JT}},requestBody:lO,queryParameters:[W],urlParameters:[U],headerParameters:[G,K,xE,EE,J,Y,X,iD,aD,oD,sD,cD,lD,hD,gD,_D,vD,yD,bD,SD,CD,ED,OD,ID,RD,rO,iO,cO,uO,MO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:aA},sA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:YT},default:{bodyMapper:H,headersMapper:XT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,xE,EE,J,Y,X,iD,aD,oD,sD,cD,lD,hD,gD,_D,vD,yD,bD,ED,OD,AD,jD,MD,ND,PD,FD,ID,BD,VD,HD,UD,rO,MO,NO],isXML:!0,serializer:aA},cA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:ZT},default:{bodyMapper:H,headersMapper:QT}},requestBody:lO,queryParameters:[W,PO,FO],urlParameters:[U],headerParameters:[G,K,xE,J,iD,aD,oD,ED,rO,iO,cO,uO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:aA},lA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:$T},default:{bodyMapper:H,headersMapper:eE}},queryParameters:[W,PO,FO],urlParameters:[U],headerParameters:[G,K,q,xE,J,iD,aD,oD,ED,AD,jD,MD,ND,BD,VD,UD,_O,yO,AO],isXML:!0,serializer:aA},uA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:tE},default:{bodyMapper:H,headersMapper:nE}},requestBody:IO,queryParameters:[W,LO],urlParameters:[U],headerParameters:[aE,sE,G,K,EE,J,Y,X,iD,aD,oD,sD,cD,lD,hD,gD,_D,vD,yD,bD,SD,CD,ED,OD,ID,RD,rO,iO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:aA},dA={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:_C,headersMapper:rE},default:{bodyMapper:H,headersMapper:iE}},queryParameters:[W,$E,LO,RO],urlParameters:[U],headerParameters:[G,K,q,J,lD],isXML:!0,serializer:aA};var fA=class extends Zv{url;version;constructor(e,t){if(e===void 0)throw Error(`'url' cannot be null`);t||={};let n={requestContentType:`application/json; charset=utf-8`},r=`azsdk-js-azure-storage-blob/12.30.0`,i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`,a={...n,...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??`{url}`};super(a),this.url=e,this.version=t.version||`2026-02-06`,this.service=new zO(this),this.container=new YO(this),this.blob=new hk(this),this.pageBlob=new Vk(this),this.appendBlob=new Qk(this),this.blockBlob=new iA(this)}service;container;blob;pageBlob;appendBlob;blockBlob},pA=class extends fA{async sendOperationRequest(e,t){let n={...t};return(n.path===`/{containerName}`||n.path===`/{containerName}/{blob}`)&&(n.path=``),super.sendOperationRequest(e,n)}};function mA(e){let t=new URL(e),n=t.pathname;return n||=`/`,n=vA(n),t.pathname=n,t.toString()}function hA(e){let t=``;if(e.search(`DevelopmentStorageProxyUri=`)!==-1){let n=e.split(`;`);for(let e of n)e.trim().startsWith(`DevelopmentStorageProxyUri=`)&&(t=e.trim().match(`DevelopmentStorageProxyUri=(.*)`)[1])}return t}function gA(e,t){let n=e.split(`;`);for(let e of n)if(e.trim().startsWith(t))return e.trim().match(t+`=(.*)`)[1];return``}function _A(e){let t=``;e.startsWith(`UseDevelopmentStorage=true`)&&(t=hA(e),e=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`);let n=gA(e,`BlobEndpoint`);if(n=n.endsWith(`/`)?n.slice(0,-1):n,e.search(`DefaultEndpointsProtocol=`)!==-1&&e.search(`AccountKey=`)!==-1){let r=``,i=``,a=Buffer.from(`accountKey`,`base64`),o=``;if(i=gA(e,`AccountName`),a=Buffer.from(gA(e,`AccountKey`),`base64`),!n){r=gA(e,`DefaultEndpointsProtocol`);let t=r.toLowerCase();if(t!==`https`&&t!==`http`)throw Error(`Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'`);if(o=gA(e,`EndpointSuffix`),!o)throw Error(`Invalid EndpointSuffix in the provided Connection String`);n=`${r}://${i}.blob.${o}`}if(!i)throw Error(`Invalid AccountName in the provided Connection String`);if(a.length===0)throw Error(`Invalid AccountKey in the provided Connection String`);return{kind:`AccountConnString`,url:n,accountName:i,accountKey:a,proxyUri:t}}else{let t=gA(e,`SharedAccessSignature`),r=gA(e,`AccountName`);if(r||=kA(n),!n)throw Error(`Invalid BlobEndpoint in the provided SAS Connection String`);if(!t)throw Error(`Invalid SharedAccessSignature in the provided SAS Connection String`);return t.startsWith(`?`)&&(t=t.substring(1)),{kind:`SASConnString`,url:n,accountName:r,accountSas:t}}}function vA(e){return encodeURIComponent(e).replace(/%2F/g,`/`).replace(/'/g,`%27`).replace(/\+/g,`%20`).replace(/%25/g,`%`)}function yA(e,t){let n=new URL(e),r=n.pathname;return r=r?r.endsWith(`/`)?`${r}${t}`:`${r}/${t}`:t,n.pathname=r,n.toString()}function bA(e,t,n){let r=new URL(e),i=encodeURIComponent(t),a=n?encodeURIComponent(n):void 0,o=r.search===``?`?`:r.search,s=[];for(let e of o.slice(1).split(`&`))if(e){let[t]=e.split(`=`,2);t!==i&&s.push(e)}return a&&s.push(`${i}=${a}`),r.search=s.length?`?${s.join(`&`)}`:``,r.toString()}function xA(e,t){return new URL(e).searchParams.get(t)??void 0}function SA(e){try{let t=new URL(e);return t.protocol.endsWith(`:`)?t.protocol.slice(0,-1):t.protocol}catch{return}}function CA(e,t){let n=new URL(e),r=n.search;return r?r+=`&`+t:r=t,n.search=r,n.toString()}function wA(e,t=!0){let n=e.toISOString();return t?n.substring(0,n.length-1)+`0000Z`:n.substring(0,n.length-5)+`Z`}function TA(e){return gg?Buffer.from(e).toString(`base64`):btoa(e)}function EA(e,t){return e.length>42&&(e=e.slice(0,42)),TA(e+DA(t.toString(),48-e.length,`0`))}function DA(e,t,n=` `){return String.prototype.padStart?e.padStart(t,n):(n||=` `,e.length>t?e:(t-=e.length,t>n.length&&(n+=n.repeat(t/n.length)),n.slice(0,t)+e))}function OA(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function kA(e){let t=new URL(e),n;try{return n=t.hostname.split(`.`)[1]===`blob`?t.hostname.split(`.`)[0]:AA(t)?t.pathname.split(`/`)[1]:``,n}catch{throw Error(`Unable to extract accountName with provided information.`)}}function AA(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&DS.includes(e.port)}function jA(e){if(e===void 0)return;let t=[];for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let r=e[n];t.push(`${encodeURIComponent(n)}=${encodeURIComponent(r)}`)}return t.join(`&`)}function MA(e){if(e===void 0)return;let t={blobTagSet:[]};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let r=e[n];t.blobTagSet.push({key:n,value:r})}return t}function NA(e){if(e===void 0)return;let t={};for(let n of e.blobTagSet)t[n.key]=n.value;return t}function PA(e){if(e!==void 0)switch(e.kind){case`csv`:return{format:{type:`delimited`,delimitedTextConfiguration:{columnSeparator:e.columnSeparator||`,`,fieldQuote:e.fieldQuote||``,recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||``,headersPresent:e.hasHeaders||!1}}};case`json`:return{format:{type:`json`,jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case`arrow`:return{format:{type:`arrow`,arrowConfiguration:{schema:e.schema}}};case`parquet`:return{format:{type:`parquet`}};default:throw Error(`Invalid BlobQueryTextConfiguration.`)}}function FA(e){if(!e||`policy-id`in e)return;let t=[];for(let n in e){let r=n.split(`_`);r[0].startsWith(`or-`)&&(r[0]=r[0].substring(3));let i={ruleId:r[1],replicationStatus:e[n]},a=t.findIndex(e=>e.policyId===r[0]);a>-1?t[a].rules.push(i):t.push({policyId:r[0],rules:[i]})}return t}function IA(e){return e?e.scheme+` `+e.value:void 0}function*LA(e){let t=[],n=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(n=e.clearRange);let r=0,i=0;for(;r0&&n.length>0&&e.push(`${t}=${n}`))}};function WA(e,t,n){return GA(e,t,n).sasQueryParameters}function GA(e,t,n){let r=e.version?e.version:xS,i=t instanceof iS?t:void 0,a;if(i===void 0&&n!==void 0&&(a=new yS(n,t)),i===void 0&&a===void 0)throw TypeError(`Invalid sharedKeyCredential, userDelegationKey or accountName.`);if(r>=`2020-12-06`)return i===void 0?r>=`2025-07-05`?QA(e,a):ZA(e,a):JA(e,i);if(r>=`2018-11-09`)return i===void 0?r>=`2020-02-10`?XA(e,a):YA(e,a):qA(e,i);if(r>=`2015-04-05`){if(i!==void 0)return KA(e,i);throw RangeError(`'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.`)}throw RangeError(`'version' must be >= '2015-04-05'.`)}function KA(e,t){if(e=ej(e),!e.identifier&&!(e.permissions&&e.expiresOn))throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.`);let n=`c`;e.blobName&&(n=`b`);let r;e.permissions&&(r=e.blobName?zA.parse(e.permissions.toString()).toString():BA.parse(e.permissions.toString()).toString());let i=[r||``,e.startsOn?wA(e.startsOn,!1):``,e.expiresOn?wA(e.expiresOn,!1):``,$A(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?VA(e.ipRange):``,e.protocol?e.protocol:``,e.version,e.cacheControl?e.cacheControl:``,e.contentDisposition?e.contentDisposition:``,e.contentEncoding?e.contentEncoding:``,e.contentLanguage?e.contentLanguage:``,e.contentType?e.contentType:``].join(` -`),a=t.computeHMACSHA256(i);return{sasQueryParameters:new UA(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:i}}function qA(e,t){if(e=ej(e),!e.identifier&&!(e.permissions&&e.expiresOn))throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?zA.parse(e.permissions.toString()).toString():BA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?wA(e.startsOn,!1):``,e.expiresOn?wA(e.expiresOn,!1):``,$A(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?VA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.cacheControl?e.cacheControl:``,e.contentDisposition?e.contentDisposition:``,e.contentEncoding?e.contentEncoding:``,e.contentLanguage?e.contentLanguage:``,e.contentType?e.contentType:``].join(` -`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new UA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:a}}function JA(e,t){if(e=ej(e),!e.identifier&&!(e.permissions&&e.expiresOn))throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?zA.parse(e.permissions.toString()).toString():BA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?wA(e.startsOn,!1):``,e.expiresOn?wA(e.expiresOn,!1):``,$A(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?VA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.encryptionScope,e.cacheControl?e.cacheControl:``,e.contentDisposition?e.contentDisposition:``,e.contentEncoding?e.contentEncoding:``,e.contentLanguage?e.contentLanguage:``,e.contentType?e.contentType:``].join(` -`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new UA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope),stringToSign:a}}function YA(e,t){if(e=ej(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?zA.parse(e.permissions.toString()).toString():BA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?wA(e.startsOn,!1):``,e.expiresOn?wA(e.expiresOn,!1):``,$A(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?wA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?wA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?VA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` -`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new UA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:a}}function XA(e,t){if(e=ej(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?zA.parse(e.permissions.toString()).toString():BA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?wA(e.startsOn,!1):``,e.expiresOn?wA(e.expiresOn,!1):``,$A(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?wA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?wA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?VA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` -`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new UA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId),stringToSign:a}}function ZA(e,t){if(e=ej(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?zA.parse(e.permissions.toString()).toString():BA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?wA(e.startsOn,!1):``,e.expiresOn?wA(e.expiresOn,!1):``,$A(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?wA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?wA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?VA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` -`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new UA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope),stringToSign:a}}function QA(e,t){if(e=ej(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?zA.parse(e.permissions.toString()).toString():BA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?wA(e.startsOn,!1):``,e.expiresOn?wA(e.expiresOn,!1):``,$A(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?wA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?wA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,void 0,e.delegatedUserObjectId,e.ipRange?VA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` -`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new UA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId),stringToSign:a}}function $A(e,t,n){let r=[`/blob/${e}/${t}`];return n&&r.push(`/${n}`),r.join(``)}function ej(e){let t=e.version?e.version:xS;if(e.snapshotTime&&t<`2018-11-09`)throw RangeError(`'version' must be >= '2018-11-09' when providing 'snapshotTime'.`);if(e.blobName===void 0&&e.snapshotTime)throw RangeError(`Must provide 'blobName' when providing 'snapshotTime'.`);if(e.versionId&&t<`2019-10-10`)throw RangeError(`'version' must be >= '2019-10-10' when providing 'versionId'.`);if(e.blobName===void 0&&e.versionId)throw RangeError(`Must provide 'blobName' when providing 'versionId'.`);if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<`2020-08-04`)throw RangeError(`'version' must be >= '2020-08-04' when provided 'i' permission.`);if(e.permissions&&e.permissions.deleteVersion&&t<`2019-10-10`)throw RangeError(`'version' must be >= '2019-10-10' when providing 'x' permission.`);if(e.permissions&&e.permissions.permanentDelete&&t<`2019-10-10`)throw RangeError(`'version' must be >= '2019-10-10' when providing 'y' permission.`);if(e.permissions&&e.permissions.tag&&t<`2019-12-12`)throw RangeError(`'version' must be >= '2019-12-12' when providing 't' permission.`);if(t<`2020-02-10`&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError(`'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.`);if(t<`2021-04-10`&&e.permissions&&e.permissions.filterByTags)throw RangeError(`'version' must be >= '2021-04-10' when providing the 'f' permission.`);if(t<`2020-02-10`&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError(`'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.`);if(e.encryptionScope&&t<`2020-12-06`)throw RangeError(`'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.`);return e.version=t,e}var tj=class{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),t||=hg(),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==``||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==``||t.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-acquireLease`,t,async n=>Z(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==``||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==``||t.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-changeLease`,t,async n=>{let r=Z(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,r})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==``||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==``||e.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-releaseLease`,e,async t=>Z(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==``||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==``||e.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-renewLease`,e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==``||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==``||t.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-breakLease`,t,async n=>{let r={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Z(await this._containerOrBlobOperation.breakLease(r))})}},nj=class extends y{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,n,r,i={}){super({highWaterMark:i.highWaterMark}),this.getter=t,this.source=e,this.start=n,this.offset=n,this.end=n+r-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on(`data`,this.sourceDataHandler),this.source.on(`end`,this.sourceErrorOrEndHandler),this.source.on(`error`,this.sourceErrorOrEndHandler),this.source.on(`aborted`,this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener(`data`,this.sourceDataHandler),this.source.removeListener(`end`,this.sourceErrorOrEndHandler),this.source.removeListener(`error`,this.sourceErrorOrEndHandler),this.source.removeListener(`aborted`,this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new ug(`The operation was aborted.`);this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name===`AbortError`){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(e===null?void 0:e)}},rj=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return gg?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,n,r,i={}){this.originalResponse=e,this.blobDownloadStream=new nj(this.originalResponse.readableStreamBody,t,n,r,i)}};const ij=new Uint8Array([79,98,106,1]);var aj=class e{static async readFixedBytes(e,t,n={}){let r=await e.read(t,{abortSignal:n.abortSignal});if(r.length!==t)throw Error(`Hit stream end.`);return r}static async readByte(t,n={}){return(await e.readFixedBytes(t,1,n))[0]}static async readZigZagLong(t,n={}){let r=0,i=0,a,o,s;do a=await e.readByte(t,n),o=a&128,r|=(a&127)<2**53-1)throw Error(`Integer overflow.`);return i}return r>>1^-(r&1)}static async readLong(t,n={}){return e.readZigZagLong(t,n)}static async readInt(t,n={}){return e.readZigZagLong(t,n)}static async readNull(){return null}static async readBoolean(t,n={}){let r=await e.readByte(t,n);if(r===1)return!0;if(r===0)return!1;throw Error(`Byte was not a boolean.`)}static async readFloat(t,n={}){let r=await e.readFixedBytes(t,4,n);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(t,n={}){let r=await e.readFixedBytes(t,8,n);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(t,n={}){let r=await e.readLong(t,n);if(r<0)throw Error(`Bytes size was negative.`);return t.read(r,{abortSignal:n.abortSignal})}static async readString(t,n={}){let r=await e.readBytes(t,n);return new TextDecoder().decode(r)}static async readMapPair(t,n,r={}){return{key:await e.readString(t,r),value:await n(t,r)}}static async readMap(t,n,r={}){let i=await e.readArray(t,(t,r={})=>e.readMapPair(t,n,r),r),a={};for(let e of i)a[e.key]=e.value;return a}static async readArray(t,n,r={}){let i=[];for(let a=await e.readLong(t,r);a!==0;a=await e.readLong(t,r))for(a<0&&(await e.readLong(t,r),a=-a);a--;){let e=await n(t,r);i.push(e)}return i}},oj;(function(e){e.RECORD=`record`,e.ENUM=`enum`,e.ARRAY=`array`,e.MAP=`map`,e.UNION=`union`,e.FIXED=`fixed`})(oj||={});var sj;(function(e){e.NULL=`null`,e.BOOLEAN=`boolean`,e.INT=`int`,e.LONG=`long`,e.FLOAT=`float`,e.DOUBLE=`double`,e.BYTES=`bytes`,e.STRING=`string`})(sj||={});var cj=class e{static fromSchema(t){return typeof t==`string`?e.fromStringSchema(t):Array.isArray(t)?e.fromArraySchema(t):e.fromObjectSchema(t)}static fromStringSchema(e){switch(e){case sj.NULL:case sj.BOOLEAN:case sj.INT:case sj.LONG:case sj.FLOAT:case sj.DOUBLE:case sj.BYTES:case sj.STRING:return new lj(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(t){return new dj(t.map(e.fromSchema))}static fromObjectSchema(t){let n=t.type;try{return e.fromStringSchema(n)}catch{}switch(n){case oj.RECORD:if(t.aliases)throw Error(`aliases currently is not supported, schema: ${t}`);if(!t.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${t}`);let r={};if(!t.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${t}`);for(let n of t.fields)r[n.name]=e.fromSchema(n.type);return new pj(r,t.name);case oj.ENUM:if(t.aliases)throw Error(`aliases currently is not supported, schema: ${t}`);if(!t.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${t}`);return new uj(t.symbols);case oj.MAP:if(!t.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${t}`);return new fj(e.fromSchema(t.values));case oj.ARRAY:case oj.FIXED:default:throw Error(`Unexpected Avro type ${n} in ${t}`)}}},lj=class extends cj{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case sj.NULL:return aj.readNull();case sj.BOOLEAN:return aj.readBoolean(e,t);case sj.INT:return aj.readInt(e,t);case sj.LONG:return aj.readLong(e,t);case sj.FLOAT:return aj.readFloat(e,t);case sj.DOUBLE:return aj.readDouble(e,t);case sj.BYTES:return aj.readBytes(e,t);case sj.STRING:return aj.readString(e,t);default:throw Error(`Unknown Avro Primitive`)}}},uj=class extends cj{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let n=await aj.readInt(e,t);return this._symbols[n]}},dj=class extends cj{_types;constructor(e){super(),this._types=e}async read(e,t={}){let n=await aj.readInt(e,t);return this._types[n].read(e,t)}},fj=class extends cj{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){return aj.readMap(e,(e,t)=>this._itemType.read(e,t),t)}},pj=class extends cj{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let n={};n.$schema=this._name;for(let r in this._fields)Object.prototype.hasOwnProperty.call(this._fields,r)&&(n[r]=await this._fields[r].read(e,t));return n}};function mj(e,t){if(e===t)return!0;if(e==null||t==null||e.length!==t.length)return!1;for(let n=0;n0)for(let t=0;t0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let t=await aj.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!mj(this._syncMarker,t))throw Error(`Stream is not a valid Avro file.`);try{this._itemsRemainingInBlock=await aj.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await aj.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}},gj=class{};const _j=new ug(`Reading from the avro stream was aborted.`);var vj=class extends gj{_position;_readable;toUint8Array(e){return typeof e==`string`?A.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw _j;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw Error(`Stream no longer readable.`);let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((n,r)=>{let i=()=>{this._readable.removeListener(`readable`,a),this._readable.removeListener(`error`,o),this._readable.removeListener(`end`,o),this._readable.removeListener(`close`,o),t.abortSignal&&t.abortSignal.removeEventListener(`abort`,s)},a=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,i(),n(this.toUint8Array(t)))},o=()=>{i(),r()},s=()=>{i(),r(_j)};this._readable.on(`readable`,a),this._readable.once(`error`,o),this._readable.once(`end`,o),this._readable.once(`close`,o),t.abortSignal&&t.abortSignal.addEventListener(`abort`,s)})}},yj=class extends y{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new hj(new vj(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit(`error`,e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let t=e.value,n=t.$schema;if(typeof n!=`string`)throw Error(`Missing schema in avro record.`);switch(n){case`com.microsoft.azure.storage.queryBlobContents.resultData`:{let e=t.data;if(!(e instanceof Uint8Array))throw Error(`Invalid data in avro result record.`);this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case`com.microsoft.azure.storage.queryBlobContents.progress`:{let e=t.bytesScanned;if(typeof e!=`number`)throw Error(`Invalid bytesScanned in avro progress record.`);this.onProgress&&this.onProgress({loadedBytes:e})}break;case`com.microsoft.azure.storage.queryBlobContents.end`:if(this.onProgress){let e=t.totalBytes;if(typeof e!=`number`)throw Error(`Invalid totalBytes in avro end record.`);this.onProgress({loadedBytes:e})}this.push(null);break;case`com.microsoft.azure.storage.queryBlobContents.error`:if(this.onError){let e=t.fatal;if(typeof e!=`boolean`)throw Error(`Invalid fatal in avro error record.`);let n=t.name;if(typeof n!=`string`)throw Error(`Invalid name in avro error record.`);let r=t.description;if(typeof r!=`string`)throw Error(`Invalid description in avro error record.`);let i=t.position;if(typeof i!=`number`)throw Error(`Invalid position in avro error record.`);this.onError({position:i,name:n,isFatal:e,description:r})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}},bj=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return gg?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new yj(this.originalResponse.readableStreamBody,t)}},xj;(function(e){e.Hot=`Hot`,e.Cool=`Cool`,e.Cold=`Cold`,e.Archive=`Archive`})(xj||={});var Sj;(function(e){e.P4=`P4`,e.P6=`P6`,e.P10=`P10`,e.P15=`P15`,e.P20=`P20`,e.P30=`P30`,e.P40=`P40`,e.P50=`P50`,e.P60=`P60`,e.P70=`P70`,e.P80=`P80`})(Sj||={});function Cj(e){if(e!==void 0)return e}function wj(e,t){if(e&&!t)throw RangeError(`Customer-provided encryption key must be used over HTTPS.`);e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm=`AES256`)}var Tj;(function(e){e.StorageOAuthScopes=`https://storage.azure.com/.default`,e.DiskComputeOAuthScopes=`https://disk.compute.azure.com/.default`})(Tj||={});function Ej(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),n=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:n,_response:{...e._response,parsedBody:{pageRange:t,clearRange:n}}}}var Dj=class e extends Error{constructor(t){super(t),this.name=`PollerStoppedError`,Object.setPrototypeOf(this,e.prototype)}},Oj=class e extends Error{constructor(t){super(t),this.name=`PollerCancelledError`,Object.setPrototypeOf(this,e.prototype)}},kj=class{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&=!1;!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new Oj(`Operation was canceled`);throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new Dj(`This poller is already stopped`)))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw Error(`A cancel request is currently pending`);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},Aj=class extends kj{intervalInMs;constructor(e){let{blobClient:t,copySource:n,intervalInMs:r=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:o}=e,s;a&&(s=JSON.parse(a).state);let c=Pj({...s,blobClient:t,copySource:n,startCopyFromURLOptions:o});super(c),typeof i==`function`&&this.onProgress(i),this.intervalInMs=r}delay(){return fg(this.intervalInMs)}};const jj=async function(e={}){let t=this.state,{copyId:n}=t;return t.isCompleted?Pj(t):n?(await t.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),t.isCancelled=!0,Pj(t)):(t.isCancelled=!0,Pj(t))},Mj=async function(e={}){let t=this.state,{blobClient:n,copySource:r,startCopyFromURLOptions:i}=t;if(!t.isStarted){t.isStarted=!0;let e=await n.startCopyFromURL(r,i);t.copyId=e.copyId,e.copyStatus===`success`&&(t.result=e,t.isCompleted=!0)}else if(!t.isCompleted)try{let n=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:r,copyProgress:i}=n,a=t.copyProgress;i&&(t.copyProgress=i),r===`pending`&&i!==a&&typeof e.fireProgress==`function`?e.fireProgress(t):r===`success`?(t.result=n,t.isCompleted=!0):r===`failed`&&(t.error=Error(`Blob copy failed with reason: "${n.copyStatusDescription||`unknown`}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}return Pj(t)},Nj=function(){return JSON.stringify({state:this.state},(e,t)=>{if(e!==`blobClient`)return t})};function Pj(e){return{state:{...e},cancel:jj,toString:Nj,update:Mj}}function Fj(e){if(e.offset<0)throw RangeError(`Range.offset cannot be smaller than 0.`);if(e.count&&e.count<=0)throw RangeError(`Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`);return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}var Ij;(function(e){e[e.Good=0]=`Good`,e[e.Error=1]=`Error`})(Ij||={});var Lj=class{concurrency;actives=0;completed=0;offset=0;operations=[];state=Ij.Good;emitter;constructor(e=5){if(e<1)throw RangeError(`concurrency must be larger than 0`);this.concurrency=e,this.emitter=new m}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit(`error`,e)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on(`finish`,e),this.emitter.on(`error`,e=>{this.state=Ij.Error,t(e)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit(`finish`);return}for(;this.actives{let c=setTimeout(()=>s(Error(`The operation cannot be completed in timeout.`)),1e5);e.on(`readable`,()=>{if(a>=o){clearTimeout(c),r();return}let s=e.read();if(!s)return;typeof s==`string`&&(s=Buffer.from(s,i));let l=a+s.length>o?o-a:s.length;t.fill(s.slice(0,l),n+a,n+a+l),a+=l}),e.on(`end`,()=>{clearTimeout(c),a{clearTimeout(c),s(e)})})}async function zj(e,t){return new Promise((n,r)=>{let i=re.createWriteStream(t);e.on(`error`,e=>{r(e)}),i.on(`error`,e=>{r(e)}),i.on(`close`,n),e.pipe(i)})}const Bj=S.promisify(re.stat),Vj=re.createReadStream;var Hj=class e extends RA{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,n,r){r||={};let i,a;if(OS(t))a=e,i=t;else if(gg&&t instanceof iS||t instanceof Zx||s_(t))a=e,r=n,i=AS(t,r);else if(!t&&typeof t!=`string`)a=e,n&&typeof n!=`string`&&(r=n),i=AS(new Zx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=_A(e);if(c.kind===`AccountConnString`)if(gg){let e=new iS(c.accountName,c.accountKey);a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Tg(c.proxyUri),i=AS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=AS(new Zx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=xA(this.url,wS.Parameters.SNAPSHOT),this._versionId=xA(this.url,wS.Parameters.VERSIONID)}withSnapshot(t){return new e(bA(this.url,wS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}withVersion(t){return new e(bA(this.url,wS.Parameters.VERSIONID,t.length===0?void 0:t),this.pipeline)}getAppendBlobClient(){return new Uj(this.url,this.pipeline)}getBlockBlobClient(){return new Wj(this.url,this.pipeline)}getPageBlobClient(){return new Gj(this.url,this.pipeline)}async download(e=0,t,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},wj(n.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-download`,n,async r=>{let i=Z(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:gg?void 0:n.onProgress},range:e===0&&!t?void 0:Fj({offset:e,count:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:r.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:FA(i.objectReplicationRules)};if(!gg)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=5),i.contentLength===void 0)throw RangeError(`File download response doesn't contain valid content length header`);if(!i.etag)throw RangeError(`File download response doesn't contain valid etag header`);return new rj(a,async t=>{let r={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||i.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:Fj({count:e+i.contentLength-t,offset:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...r})).readableStreamBody},e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return Q.withSpan(`BlobClient-exists`,e,async t=>{try{return wj(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(e.statusCode===404)return!1;if(e.statusCode===409&&(e.details.errorCode===`BlobUsesCustomerSpecifiedEncryption`||e.details.errorCode===`BlobDoesNotUseCustomerSpecifiedEncryption`))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},wj(e.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-getProperties`,e,async t=>{let n=Z(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:FA(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},Q.withSpan(`BlobClient-delete`,e,async t=>Z(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async deleteIfExists(e={}){return Q.withSpan(`BlobClient-deleteIfExists`,e,async e=>{try{let t=Z(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode===`BlobNotFound`)return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return Q.withSpan(`BlobClient-undelete`,e,async t=>Z(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},wj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-setHTTPHeaders`,t,async n=>Z(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},wj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-setMetadata`,t,async n=>Z(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,t={}){return Q.withSpan(`BlobClient-setTags`,t,async n=>Z(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:n.tracingOptions,tags:MA(e)})))}async getTags(e={}){return Q.withSpan(`BlobClient-getTags`,e,async t=>{let n=Z(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...n,_response:n._response,tags:NA({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new tj(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},wj(e.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-createSnapshot`,e,async t=>Z(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let n=new Aj({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await n.poll(),n}async abortCopyFromURL(e,t={}){return Q.withSpan(`BlobClient-abortCopyFromURL`,t,async n=>Z(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},Q.withSpan(`BlobClient-syncCopyFromURL`,t,async n=>Z(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:IA(t.sourceAuthorization),tier:Cj(t.tier),blobTagsString:jA(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,t={}){return Q.withSpan(`BlobClient-setAccessTier`,t,async n=>Z(await this.blobContext.setTier(Cj(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,t,n,r={}){let i,a=0,o=0,s=r;e instanceof Buffer?(i=e,a=t||0,o=typeof n==`number`?n:0):(a=typeof e==`number`?e:0,o=typeof t==`number`?t:0,s=n||{});let c=s.blockSize??0;if(c<0)throw RangeError(`blockSize option must be >= 0`);if(c===0&&(c=CS),a<0)throw RangeError(`offset option must be >= 0`);if(o&&o<=0)throw RangeError(`count option must be greater than 0`);return s.conditions||={},Q.withSpan(`BlobClient-downloadToBuffer`,s,async e=>{if(!o){let t=await this.getProperties({...s,tracingOptions:e.tracingOptions});if(o=t.contentLength-a,o<0)throw RangeError(`offset ${a} shouldn't be larger than blob size ${t.contentLength}`)}if(!i)try{i=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${e.message}`)}if(i.length{let n=a+o;r+c{let a=await this.download(t,n,{...r,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await zj(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,t;try{let n=new URL(this.url);if(n.host.split(`.`)[1]===`blob`){let r=n.pathname.match(`/([^/]*)(/(.*))?`);e=r[1],t=r[3]}else if(AA(n)){let r=n.pathname.match(`/([^/]*)/([^/]*)(/(.*))?`);e=r[2],t=r[4]}else{let r=n.pathname.match(`/([^/]*)(/(.*))?`);e=r[1],t=r[3]}if(e=decodeURIComponent(e),t=decodeURIComponent(t),t=t.replace(/\\/g,`/`),!e)throw Error(`Provided containerName is invalid.`);return{blobName:t,containerName:e}}catch{throw Error(`Unable to extract blobName and containerName with provided information.`)}}async startCopyFromURL(e,t={}){return Q.withSpan(`BlobClient-startCopyFromURL`,t,async n=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},Z(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:Cj(t.tier),blobTagsString:jA(t.tags),sealBlob:t.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof iS))throw RangeError(`Can only generate the SAS when the client is initialized with a shared key credential`);let n=WA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(CA(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof iS))throw RangeError(`Can only generate the SAS when the client is initialized with a shared key credential`);return GA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(n=>{let r=WA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();n(CA(this.url,r))})}generateUserDelegationSasStringToSign(e,t){return GA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Q.withSpan(`BlobClient-deleteImmutabilityPolicy`,e,async e=>Z(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return Q.withSpan(`BlobClient-setImmutabilityPolicy`,t,async t=>Z(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return Q.withSpan(`BlobClient-setLegalHold`,t,async t=>Z(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return Q.withSpan(`BlobClient-getAccountInfo`,e,async t=>Z(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}},Uj=class e extends Hj{appendBlobContext;constructor(e,t,n,r){let i,a;if(r||={},OS(t))a=e,i=t;else if(gg&&t instanceof iS||t instanceof Zx||s_(t))a=e,r=n,i=AS(t,r);else if(!t&&typeof t!=`string`)a=e,i=AS(new Zx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=_A(e);if(c.kind===`AccountConnString`)if(gg){let e=new iS(c.accountName,c.accountKey);a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Tg(c.proxyUri),i=AS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=AS(new Zx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(t){return new e(bA(this.url,wS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},wj(e.customerProvidedKey,this.isHttps),Q.withSpan(`AppendBlobClient-create`,e,async t=>Z(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:jA(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:`*`};return Q.withSpan(`AppendBlobClient-createIfNotExists`,e,async e=>{try{let n=Z(await this.create({...e,conditions:t}));return{succeeded:!0,...n,_response:n._response}}catch(e){if(e.details?.errorCode===`BlobAlreadyExists`)return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},Q.withSpan(`AppendBlobClient-seal`,e,async t=>Z(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,n={}){return n.conditions=n.conditions||{},wj(n.customerProvidedKey,this.isHttps),Q.withSpan(`AppendBlobClient-appendBlock`,n,async r=>Z(await this.appendBlobContext.appendBlock(t,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:r.tracingOptions})))}async appendBlockFromURL(e,t,n,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},wj(r.customerProvidedKey,this.isHttps),Q.withSpan(`AppendBlobClient-appendBlockFromURL`,r,async i=>Z(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:r.abortSignal,sourceRange:Fj({offset:t,count:n}),sourceContentMD5:r.sourceContentMD5,sourceContentCrc64:r.sourceContentCrc64,leaseAccessConditions:r.conditions,appendPositionAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:IA(r.sourceAuthorization),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Wj=class e extends Hj{_blobContext;blockBlobContext;constructor(e,t,n,r){let i,a;if(r||={},OS(t))a=e,i=t;else if(gg&&t instanceof iS||t instanceof Zx||s_(t))a=e,r=n,i=AS(t,r);else if(!t&&typeof t!=`string`)a=e,n&&typeof n!=`string`&&(r=n),i=AS(new Zx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=_A(e);if(c.kind===`AccountConnString`)if(gg){let e=new iS(c.accountName,c.accountKey);a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Tg(c.proxyUri),i=AS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=AS(new Zx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(t){return new e(bA(this.url,wS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}async query(e,t={}){if(wj(t.customerProvidedKey,this.isHttps),!gg)throw Error(`This operation currently is only supported in Node.js.`);return Q.withSpan(`BlockBlobClient-query`,t,async n=>new bj(Z(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:`SQL`,expression:e,inputSerialization:PA(t.inputTextConfiguration),outputSerialization:PA(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:n.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,n={}){return n.conditions=n.conditions||{},wj(n.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-upload`,n,async r=>Z(await this.blockBlobContext.upload(t,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:Cj(n.tier),blobTagsString:jA(n.tags),tracingOptions:r.tracingOptions})))}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},wj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-syncUploadFromURL`,t,async n=>Z(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:IA(t.sourceAuthorization),tier:Cj(t.tier),blobTagsString:jA(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,t,n,r={}){return wj(r.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-stageBlock`,r,async i=>Z(await this.blockBlobContext.stageBlock(e,n,t,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,requestOptions:{onUploadProgress:r.onProgress},transactionalContentMD5:r.transactionalContentMD5,transactionalContentCrc64:r.transactionalContentCrc64,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,t,n=0,r,i={}){return wj(i.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-stageBlockFromURL`,i,async a=>Z(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!r?void 0:Fj({offset:n,count:r}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:IA(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},wj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-commitBlockList`,t,async n=>Z(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:Cj(t.tier),blobTagsString:jA(t.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,t={}){return Q.withSpan(`BlockBlobClient-getBlockList`,t,async n=>{let r=Z(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return r.committedBlocks||=[],r.uncommittedBlocks||=[],r})}async uploadData(e,t={}){return Q.withSpan(`BlockBlobClient-uploadData`,t,async t=>{if(gg){let n;return e instanceof Buffer?n=e:e instanceof ArrayBuffer?n=Buffer.from(e):(e=e,n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((e,t)=>n.slice(e,e+t),n.byteLength,t)}else{let n=new Blob([e]);return this.uploadSeekableInternal((e,t)=>n.slice(e,e+t),n.size,t)}})}async uploadBrowserData(e,t={}){return Q.withSpan(`BlockBlobClient-uploadBrowserData`,t,async t=>{let n=new Blob([e]);return this.uploadSeekableInternal((e,t)=>n.slice(e,e+t),n.size,t)})}async uploadSeekableInternal(e,t,n={}){let r=n.blockSize??0;if(r<0||r>4194304e3)throw RangeError(`blockSize option must be >= 0 and <= 4194304000`);let i=n.maxSingleShotSize??268435456;if(i<0||i>268435456)throw RangeError(`maxSingleShotSize option must be >= 0 and <= 268435456`);if(r===0){if(t>4194304e3*5e4)throw RangeError(`${t} is too larger to upload to a block blob.`);t>i&&(r=Math.ceil(t/SS),r<4194304&&(r=CS))}return n.blobHTTPHeaders||={},n.conditions||={},Q.withSpan(`BlockBlobClient-uploadSeekableInternal`,n,async a=>{if(t<=i)return Z(await this.upload(e(0,t),t,a));let o=Math.floor((t-1)/r)+1;if(o>5e4)throw RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${SS}`);let s=[],c=hg(),l=0,u=new Lj(n.concurrency);for(let i=0;i{let u=EA(c,i),d=r*i,f=(i===o-1?t:d+r)-d;s.push(u),await this.stageBlock(u,e(d,f),f,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),l+=f,n.onProgress&&n.onProgress({loadedBytes:l})});return await u.do(),this.commitBlockList(s,a)})}async uploadFile(e,t={}){return Q.withSpan(`BlockBlobClient-uploadFile`,t,async n=>{let r=(await Bj(e)).size;return this.uploadSeekableInternal((t,n)=>()=>Vj(e,{autoClose:!0,end:n?t+n-1:1/0,start:t}),r,{...t,tracingOptions:n.tracingOptions})})}async uploadStream(e,t=8388608,n=5,r={}){return r.blobHTTPHeaders||={},r.conditions||={},Q.withSpan(`BlockBlobClient-uploadStream`,r,async i=>{let a=0,o=hg(),s=0,c=[];return await new Ix(e,t,n,async(e,t)=>{let n=EA(o,a);c.push(n),a++,await this.stageBlock(n,e,t,{customerProvidedKey:r.customerProvidedKey,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions}),s+=t,r.onProgress&&r.onProgress({loadedBytes:s})},Math.ceil(n/4*3)).do(),Z(await this.commitBlockList(c,{...r,tracingOptions:i.tracingOptions}))})}},Gj=class e extends Hj{pageBlobContext;constructor(e,t,n,r){let i,a;if(r||={},OS(t))a=e,i=t;else if(gg&&t instanceof iS||t instanceof Zx||s_(t))a=e,r=n,i=AS(t,r);else if(!t&&typeof t!=`string`)a=e,i=AS(new Zx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=_A(e);if(c.kind===`AccountConnString`)if(gg){let e=new iS(c.accountName,c.accountKey);a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Tg(c.proxyUri),i=AS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=yA(yA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=AS(new Zx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(t){return new e(bA(this.url,wS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}async create(e,t={}){return t.conditions=t.conditions||{},wj(t.customerProvidedKey,this.isHttps),Q.withSpan(`PageBlobClient-create`,t,async n=>Z(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:Cj(t.tier),blobTagsString:jA(t.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,t={}){return Q.withSpan(`PageBlobClient-createIfNotExists`,t,async n=>{try{let r={ifNoneMatch:`*`},i=Z(await this.create(e,{...t,conditions:r,tracingOptions:n.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode===`BlobAlreadyExists`)return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,n,r={}){return r.conditions=r.conditions||{},wj(r.customerProvidedKey,this.isHttps),Q.withSpan(`PageBlobClient-uploadPages`,r,async i=>Z(await this.pageBlobContext.uploadPages(n,e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},range:Fj({offset:t,count:n}),sequenceNumberAccessConditions:r.conditions,transactionalContentMD5:r.transactionalContentMD5,transactionalContentCrc64:r.transactionalContentCrc64,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,t,n,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},wj(i.customerProvidedKey,this.isHttps),Q.withSpan(`PageBlobClient-uploadPagesFromURL`,i,async a=>Z(await this.pageBlobContext.uploadPagesFromURL(e,Fj({offset:t,count:r}),0,Fj({offset:n,count:r}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:IA(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,t,n={}){return n.conditions=n.conditions||{},Q.withSpan(`PageBlobClient-clearPages`,n,async r=>Z(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Fj({offset:e,count:t}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:r.tracingOptions})))}async getPageRanges(e=0,t,n={}){return n.conditions=n.conditions||{},Q.withSpan(`PageBlobClient-getPageRanges`,n,async r=>Ej(Z(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Fj({offset:e,count:t}),tracingOptions:r.tracingOptions}))))}async listPageRangesSegment(e=0,t,n,r={}){return Q.withSpan(`PageBlobClient-getPageRangesSegment`,r,async i=>Z(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:Fj({offset:e,count:t}),marker:n,maxPageSize:r.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,t,n,r={}){let i;if(n||n===void 0)do i=await this.listPageRangesSegment(e,t,n,r),n=i.continuationToken,yield await i;while(n)}async*listPageRangeItems(e=0,t,n={}){for await(let r of this.listPageRangeItemSegments(e,t,void 0,n))yield*LA(r)}listPageRanges(e=0,t,n={}){n.conditions=n.conditions||{};let r=this.listPageRangeItems(e,t,n);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:(r={})=>this.listPageRangeItemSegments(e,t,r.continuationToken,{maxPageSize:r.maxPageSize,...n})}}async getPageRangesDiff(e,t,n,r={}){return r.conditions=r.conditions||{},Q.withSpan(`PageBlobClient-getPageRangesDiff`,r,async i=>Ej(Z(await this.pageBlobContext.getPageRangesDiff({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},prevsnapshot:n,range:Fj({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesDiffSegment(e,t,n,r,i={}){return Q.withSpan(`PageBlobClient-getPageRangesDiffSegment`,i,async a=>Z(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:Fj({offset:e,count:t}),marker:r,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,t,n,r,i){let a;if(r||r===void 0)do a=await this.listPageRangesDiffSegment(e,t,n,r,i),r=a.continuationToken,yield await a;while(r)}async*listPageRangeDiffItems(e,t,n,r){for await(let i of this.listPageRangeDiffItemSegments(e,t,n,void 0,r))yield*LA(i)}listPageRangesDiff(e,t,n,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeDiffItems(e,t,n,{...r});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeDiffItemSegments(e,t,n,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiffForManagedDisks(e,t,n,r={}){return r.conditions=r.conditions||{},Q.withSpan(`PageBlobClient-GetPageRangesDiffForManagedDisks`,r,async i=>Ej(Z(await this.pageBlobContext.getPageRangesDiff({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},prevSnapshotUrl:n,range:Fj({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},Q.withSpan(`PageBlobClient-resize`,t,async n=>Z(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,t,n={}){return n.conditions=n.conditions||{},Q.withSpan(`PageBlobClient-updateSequenceNumber`,n,async r=>Z(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:t,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async startCopyIncremental(e,t={}){return Q.withSpan(`PageBlobClient-startCopyIncremental`,t,async n=>Z(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}},Kj=class extends Error{constructor(e){super(e),this.name=`InvalidResponseError`}},qj=class extends Error{constructor(e){let t=`Unable to make request: ${e}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(t),this.code=e,this.name=`NetworkError`}};qj.isNetworkErrorCode=e=>e?[`ECONNRESET`,`ENOTFOUND`,`ETIMEDOUT`,`ECONNREFUSED`,`EHOSTUNREACH`].includes(e):!1;var Jj=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. -More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name=`UsageError`}};Jj.isUsageErrorMessage=e=>e?e.includes(`insufficient usage`):!1;var Yj=class extends Error{constructor(e){super(e),this.name=`RateLimitError`}},Xj=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},Zj=class{constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,t=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,r=(e/(1024*1024)/(n/1e3)).toFixed(1);Rr(`Sent ${e} of ${this.contentLength} (${t}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let t=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(t,e))};this.timeoutHandle=setTimeout(t,e)}stopDisplayTimer(){this.timeoutHandle&&=(clearTimeout(this.timeoutHandle),void 0),this.display()}};function Qj(e,t,n){return Xj(this,void 0,void 0,function*(){let r=new Hj(e),i=r.getBlockBlobClient(),a=new Zj(n?.archiveSizeBytes??0),o={blockSize:n?.uploadChunkSize,concurrency:n?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),R(`BlobClient: ${r.name}:${r.accountName}:${r.containerName}`);let e=yield i.uploadFile(t,o);if(e._response.status>=400)throw new Kj(`uploadCacheArchiveSDK: upload failed with status code ${e._response.status}`);return e}catch(e){throw Lr(`uploadCacheArchiveSDK: internal error uploading cache archive: ${e.message}`),e}finally{a.stopDisplayTimer()}})}var $j=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function eM(e){return e?e>=200&&e<300:!1}function tM(e){return e?e>=500:!0}function nM(e){return e?[Nn.BadGateway,Nn.ServiceUnavailable,Nn.GatewayTimeout].includes(e):!1}function rM(e){return $j(this,void 0,void 0,function*(){return new Promise(t=>setTimeout(t,e))})}function iM(e,t,n){return $j(this,arguments,void 0,function*(e,t,n,r=2,i=_p,a=void 0){let o=``,s=1;for(;s<=r;){let c,l,u=!1;try{c=yield t()}catch(e){a&&(c=a(e)),u=!0,o=e.message}if(c&&(l=n(c),!tM(l)))return c;if(l&&(u=nM(l),o=`Cache service responded with ${l}`),R(`${e} - Attempt ${s} of ${r} failed with error: ${o}`),!u){R(`${e} - Error is not retryable`);break}yield rM(i),s++}throw Error(`${e} failed: ${o}`)})}function aM(e,t){return $j(this,arguments,void 0,function*(e,t,n=2,r=_p){return yield iM(e,t,e=>e.statusCode,n,r,e=>{if(e instanceof zn)return{statusCode:e.statusCode,result:null,headers:{},error:e}})})}function oM(e,t){return $j(this,arguments,void 0,function*(e,t,n=2,r=_p){return yield iM(e,t,e=>e.message.statusCode,n,r)})}var sM=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function cM(e,t){return sM(this,void 0,void 0,function*(){yield _.promisify(me.pipeline)(e.message,t)})}var lM=class{constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset+=this.segmentSize,this.segmentIndex+=1,this.segmentSize=e,this.receivedBytes=0,R(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,t=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,r=(e/(1024*1024)/(n/1e3)).toFixed(1);Rr(`Received ${e} of ${this.contentLength} (${t}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let t=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(t,e))};this.timeoutHandle=setTimeout(t,e)}stopDisplayTimer(){this.timeoutHandle&&=(clearTimeout(this.timeoutHandle),void 0),this.display()}};function uM(e,t){return sM(this,void 0,void 0,function*(){let n=a.createWriteStream(t),r=new Vn(`actions/cache`),i=yield oM(`downloadCache`,()=>sM(this,void 0,void 0,function*(){return r.get(e)}));i.message.socket.setTimeout(vp,()=>{i.message.destroy(),R(`Aborting download, socket timed out after ${vp} ms`)}),yield cM(i,n);let o=i.message.headers[`content-length`];if(o){let e=parseInt(o),n=Ep(t);if(n!==e)throw Error(`Incomplete download. Expected file size: ${e}, actual file size: ${n}`)}else R(`Unable to validate download, no Content-Length header`)})}function dM(e,t,n){return sM(this,void 0,void 0,function*(){let r=yield a.promises.open(t,`w`),i=new Vn(`actions/cache`,void 0,{socketTimeout:n.timeoutInMs,keepAlive:!0});try{let t=(yield oM(`downloadCacheMetadata`,()=>sM(this,void 0,void 0,function*(){return yield i.request(`HEAD`,e,null,{})}))).message.headers[`content-length`];if(t==null)throw Error(`Content-Length not found on blob response`);let a=parseInt(t);if(Number.isNaN(a))throw Error(`Could not interpret Content-Length: ${a}`);let o=[],s=4*1024*1024;for(let t=0;tsM(this,void 0,void 0,function*(){return yield fM(i,e,t,n)})})}o.reverse();let c=0,l=0,u=new lM(a);u.startDisplayTimer();let d=u.onProgress(),f=[],p,m=()=>sM(this,void 0,void 0,function*(){let e=yield Promise.race(Object.values(f));yield r.write(e.buffer,0,e.count,e.offset),c--,delete f[e.offset],l+=e.count,d({loadedBytes:l})});for(;p=o.pop();)f[p.offset]=p.promiseGetter(),c++,c>=(n.downloadConcurrency??10)&&(yield m());for(;c>0;)yield m()}finally{i.dispose(),yield r.close()}})}function fM(e,t,n,r){return sM(this,void 0,void 0,function*(){let i=0;for(;;)try{let i=yield hM(3e4,pM(e,t,n,r));if(typeof i==`string`)throw Error(`downloadSegmentRetry failed due to timeout`);return i}catch(e){if(i>=5)throw e;i++}})}function pM(e,t,n,r){return sM(this,void 0,void 0,function*(){let i=yield oM(`downloadCachePart`,()=>sM(this,void 0,void 0,function*(){return yield e.get(t,{Range:`bytes=${n}-${n+r-1}`})}));if(!i.readBodyBuffer)throw Error(`Expected HttpClientResponse to implement readBodyBuffer`);return{offset:n,count:r,buffer:yield i.readBodyBuffer()}})}function mM(e,t,n){return sM(this,void 0,void 0,function*(){let r=new Wj(e,void 0,{retryOptions:{tryTimeoutInMs:n.timeoutInMs}}),i=(yield r.getProperties()).contentLength??-1;if(i<0)R(`Unable to determine content length, downloading file with http-client...`),yield uM(e,t);else{let e=Math.min(134217728,k.constants.MAX_LENGTH),o=new lM(i),s=a.openSync(t,`w`);try{o.startDisplayTimer();let t=new AbortController,c=t.signal;for(;!o.isDone();){let l=o.segmentOffset+o.segmentSize,u=Math.min(e,i-l);o.nextSegment(u);let d=yield hM(n.segmentTimeoutInMs||36e5,r.downloadToBuffer(l,u,{abortSignal:c,concurrency:n.downloadConcurrency,onProgress:o.onProgress()}));if(d===`timeout`)throw t.abort(),Error(`Aborting cache download as the download time exceeded the timeout.`);Buffer.isBuffer(d)&&a.writeFileSync(s,d)}}finally{o.stopDisplayTimer(),a.closeSync(s)}}})}const hM=(e,t)=>sM(void 0,void 0,void 0,function*(){let n,r=new Promise(t=>{n=setTimeout(()=>t(`timeout`),e)});return Promise.race([t,r]).then(e=>(clearTimeout(n),e))});function gM(e){let t={useAzureSdk:!1,uploadConcurrency:4,uploadChunkSize:32*1024*1024};return e&&(typeof e.useAzureSdk==`boolean`&&(t.useAzureSdk=e.useAzureSdk),typeof e.uploadConcurrency==`number`&&(t.uploadConcurrency=e.uploadConcurrency),typeof e.uploadChunkSize==`number`&&(t.uploadChunkSize=e.uploadChunkSize)),t.uploadConcurrency=isNaN(Number(process.env.CACHE_UPLOAD_CONCURRENCY))?t.uploadConcurrency:Math.min(32,Number(process.env.CACHE_UPLOAD_CONCURRENCY)),t.uploadChunkSize=isNaN(Number(process.env.CACHE_UPLOAD_CHUNK_SIZE))?t.uploadChunkSize:Math.min(128*1024*1024,Number(process.env.CACHE_UPLOAD_CHUNK_SIZE)*1024*1024),R(`Use Azure SDK: ${t.useAzureSdk}`),R(`Upload concurrency: ${t.uploadConcurrency}`),R(`Upload chunk size: ${t.uploadChunkSize}`),t}function _M(e){let t={useAzureSdk:!1,concurrentBlobDownloads:!0,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:!1};e&&(typeof e.useAzureSdk==`boolean`&&(t.useAzureSdk=e.useAzureSdk),typeof e.concurrentBlobDownloads==`boolean`&&(t.concurrentBlobDownloads=e.concurrentBlobDownloads),typeof e.downloadConcurrency==`number`&&(t.downloadConcurrency=e.downloadConcurrency),typeof e.timeoutInMs==`number`&&(t.timeoutInMs=e.timeoutInMs),typeof e.segmentTimeoutInMs==`number`&&(t.segmentTimeoutInMs=e.segmentTimeoutInMs),typeof e.lookupOnly==`boolean`&&(t.lookupOnly=e.lookupOnly));let n=process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS;return n&&!isNaN(Number(n))&&isFinite(Number(n))&&(t.segmentTimeoutInMs=Number(n)*60*1e3),R(`Use Azure SDK: ${t.useAzureSdk}`),R(`Download concurrency: ${t.downloadConcurrency}`),R(`Request timeout (ms): ${t.timeoutInMs}`),R(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),R(`Segment download timeout (ms): ${t.segmentTimeoutInMs}`),R(`Lookup only: ${t.lookupOnly}`),t}function vM(){let e=new URL(process.env.GITHUB_SERVER_URL||`https://github.com`).hostname.trimEnd().toUpperCase(),t=e===`GITHUB.COM`,n=e.endsWith(`.GHE.COM`),r=e.endsWith(`.LOCALHOST`);return!t&&!n&&!r}function yM(){return vM()?`v1`:process.env.ACTIONS_CACHE_SERVICE_V2?`v2`:`v1`}function bM(){let e=yM();switch(e){case`v1`:return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||``;case`v2`:return process.env.ACTIONS_RESULTS_URL||``;default:throw Error(`Unsupported cache service version: ${e}`)}}var xM=P(((e,t)=>{t.exports={name:`@actions/cache`,version:`6.0.1`,description:`Actions cache lib`,keywords:[`github`,`actions`,`cache`],homepage:`https://github.com/actions/toolkit/tree/main/packages/cache`,license:`MIT`,type:`module`,main:`lib/cache.js`,types:`lib/cache.d.ts`,exports:{".":{types:`./lib/cache.d.ts`,import:`./lib/cache.js`}},directories:{lib:`lib`,test:`__tests__`},files:[`lib`,`!.DS_Store`],publishConfig:{access:`public`},repository:{type:`git`,url:`git+https://github.com/actions/toolkit.git`,directory:`packages/cache`},scripts:{"audit-moderate":`npm install && npm audit --json --audit-level=moderate > audit.json`,test:`echo "Error: run tests from root" && exit 1`,tsc:`tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/`},bugs:{url:`https://github.com/actions/toolkit/issues`},dependencies:{"@actions/core":`^3.0.1`,"@actions/exec":`^3.0.0`,"@actions/glob":`^0.6.1`,"@actions/http-client":`^4.0.1`,"@actions/io":`^3.0.2`,"@azure/core-rest-pipeline":`^1.23.0`,"@azure/storage-blob":`^12.31.0`,"@protobuf-ts/runtime-rpc":`^2.11.1`,semver:`^7.7.4`},devDependencies:{"@protobuf-ts/plugin":`^2.11.1`,"@types/node":`^25.6.0`,"@types/semver":`^7.7.1`,typescript:`^5.9.3`},overrides:{"uri-js":`npm:uri-js-replace@^1.0.1`,"node-fetch":`^3.3.2`}}})),SM=P(((e,t)=>{t.exports={version:xM().version}}))();function CM(){return`@actions/cache-${SM.version}`}var wM=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function TM(e){let t=bM();if(!t)throw Error(`Cache Service Url not found, unable to restore cache.`);let n=`${t}_apis/artifactcache/${e}`;return R(`Resource Url: ${n}`),n}function EM(e,t){return`${e};api-version=${t}`}function DM(){return{headers:{Accept:EM(`application/json`,`6.0-preview.1`)}}}function OM(){let e=new Wn(process.env.ACTIONS_RUNTIME_TOKEN||``);return new Vn(CM(),[e],DM())}function kM(e,t,n){return wM(this,void 0,void 0,function*(){let r=OM(),i=Pp(t,n?.compressionMethod,n?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(e.join(`,`))}&version=${i}`,o=yield aM(`getCacheEntry`,()=>wM(this,void 0,void 0,function*(){return r.getJson(TM(a))}));if(o.statusCode===204)return Fr()&&(yield AM(e[0],r,i)),null;if(!eM(o.statusCode))throw Error(`Cache service responded with ${o.statusCode}`);let s=o.result,c=s?.archiveLocation;if(!c)throw Error(`Cache not found.`);return kr(c),R(`Cache Result:`),R(JSON.stringify(s)),s})}function AM(e,t,n){return wM(this,void 0,void 0,function*(){let r=`caches?key=${encodeURIComponent(e)}`,i=yield aM(`listCache`,()=>wM(this,void 0,void 0,function*(){return t.getJson(TM(r))}));if(i.statusCode===200){let t=i.result,r=t?.totalCount;if(r&&r>0){R(`No matching cache found for cache key '${e}', version '${n} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(let e of t?.artifactCaches||[])R(`Cache Key: ${e?.cacheKey}, Cache Version: ${e?.cacheVersion}, Cache Scope: ${e?.scope}, Cache Created: ${e?.creationTime}`)}}})}function jM(e,t,n){return wM(this,void 0,void 0,function*(){let r=new ge(e),i=_M(n);r.hostname.endsWith(`.blob.core.windows.net`)?i.useAzureSdk?yield mM(e,t,i):i.concurrentBlobDownloads?yield dM(e,t,i):yield uM(e,t):yield uM(e,t)})}function MM(e,t,n){return wM(this,void 0,void 0,function*(){let r=OM(),i={key:e,version:Pp(t,n?.compressionMethod,n?.enableCrossOsArchive),cacheSize:n?.cacheSize};return yield aM(`reserveCache`,()=>wM(this,void 0,void 0,function*(){return r.postJson(TM(`caches`),i)}))})}function NM(e,t){return`bytes ${e}-${t}/*`}function PM(e,t,n,r,i){return wM(this,void 0,void 0,function*(){R(`Uploading chunk of size ${i-r+1} bytes at offset ${r} with content range: ${NM(r,i)}`);let a={"Content-Type":`application/octet-stream`,"Content-Range":NM(r,i)},o=yield oM(`uploadChunk (start: ${r}, end: ${i})`,()=>wM(this,void 0,void 0,function*(){return e.sendStream(`PATCH`,t,n(),a)}));if(!eM(o.message.statusCode))throw Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function FM(e,t,n,r){return wM(this,void 0,void 0,function*(){let i=Ep(n),o=TM(`caches/${t.toString()}`),s=a.openSync(n,`r`),c=gM(r),l=Np(`uploadConcurrency`,c.uploadConcurrency),u=Np(`uploadChunkSize`,c.uploadChunkSize),d=[...Array(l).keys()];R(`Awaiting all uploads`);let f=0;try{yield Promise.all(d.map(()=>wM(this,void 0,void 0,function*(){for(;fa.createReadStream(n,{fd:s,start:r,end:c,autoClose:!1}).on(`error`,e=>{throw Error(`Cache upload failed because file read failed with ${e.message}`)}),r,c)}})))}finally{a.closeSync(s)}})}function IM(e,t,n){return wM(this,void 0,void 0,function*(){let r={size:n};return yield aM(`commitCache`,()=>wM(this,void 0,void 0,function*(){return e.postJson(TM(`caches/${t.toString()}`),r)}))})}function LM(e,t,n,r){return wM(this,void 0,void 0,function*(){if(gM(r).useAzureSdk){if(!n)throw Error(`Azure Storage SDK can only be used when a signed URL is provided.`);yield Qj(n,t,r)}else{let n=OM();R(`Upload cache`),yield FM(n,e,t,r),R(`Commiting cache`);let i=Ep(t);Rr(`Cache Size: ~${Math.round(i/(1024*1024))} MB (${i} B)`);let a=yield IM(n,e,i);if(!eM(a.statusCode))throw Error(`Cache service responded with ${a.statusCode} during commit cache.`);Rr(`Cache saved successfully`)}})}var RM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isJsonObject=e.typeofJsonValue=void 0;function t(e){let t=typeof e;if(t==`object`){if(Array.isArray(e))return`array`;if(e===null)return`null`}return t}e.typeofJsonValue=t;function n(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}e.isJsonObject=n})),zM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.base64encode=e.base64decode=void 0;let t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``),n=[];for(let e=0;e>4,s=o,a=2;break;case 2:r[i++]=(s&15)<<4|(o&60)>>2,s=o,a=3;break;case 3:r[i++]=(s&3)<<6|o,a=0;break}}if(a==1)throw Error(`invalid base64 string.`);return r.subarray(0,i)}e.base64decode=r;function i(e){let n=``,r=0,i,a=0;for(let o=0;o>2],a=(i&3)<<4,r=1;break;case 1:n+=t[a|i>>4],a=(i&15)<<2,r=2;break;case 2:n+=t[a|i>>6],n+=t[i&63],r=0;break}return r&&(n+=t[a],n+=`=`,r==1&&(n+=`=`)),n}e.base64encode=i})),BM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.utf8read=void 0;let t=e=>String.fromCharCode.apply(String,e);function n(e){if(e.length<1)return``;let n=0,r=[],i=[],a=0,o,s=e.length;for(;n191&&o<224?i[a++]=(o&31)<<6|e[n++]&63:o>239&&o<365?(o=((o&7)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,i[a++]=55296+(o>>10),i[a++]=56320+(o&1023)):i[a++]=(o&15)<<12|(e[n++]&63)<<6|e[n++]&63,a>8191&&(r.push(t(i)),a=0);return r.length?(a&&r.push(t(i.slice(0,a))),r.join(``)):t(i.slice(0,a))}e.utf8read=n})),VM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WireType=e.mergeBinaryOptions=e.UnknownFieldHandler=void 0,(function(e){e.symbol=Symbol.for(`protobuf-ts/unknown`),e.onRead=(n,r,i,a,o)=>{(t(r)?r[e.symbol]:r[e.symbol]=[]).push({no:i,wireType:a,data:o})},e.onWrite=(t,n,r)=>{for(let{no:t,wireType:i,data:a}of e.list(n))r.tag(t,i).raw(a)},e.list=(n,r)=>{if(t(n)){let t=n[e.symbol];return r?t.filter(e=>e.no==r):t}return[]},e.last=(t,n)=>e.list(t,n).slice(-1)[0];let t=t=>t&&Array.isArray(t[e.symbol])})(e.UnknownFieldHandler||={});function t(e,t){return Object.assign(Object.assign({},e),t)}e.mergeBinaryOptions=t,(function(e){e[e.Varint=0]=`Varint`,e[e.Bit64=1]=`Bit64`,e[e.LengthDelimited=2]=`LengthDelimited`,e[e.StartGroup=3]=`StartGroup`,e[e.EndGroup=4]=`EndGroup`,e[e.Bit32=5]=`Bit32`})(e.WireType||={})})),HM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.varint32read=e.varint32write=e.int64toString=e.int64fromString=e.varint64write=e.varint64read=void 0;function t(){let e=0,t=0;for(let n=0;n<28;n+=7){let r=this.buf[this.pos++];if(e|=(r&127)<>4,!(n&128))return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let r=this.buf[this.pos++];if(t|=(r&127)<>>r,a=!(!(i>>>7)&&t==0),o=(a?i|128:i)&255;if(n.push(o),!a)return}let r=e>>>28&15|(t&7)<<4,i=!!(t>>3);if(n.push((i?r|128:r)&255),i){for(let e=3;e<31;e+=7){let r=t>>>e,i=!!(r>>>7),a=(i?r|128:r)&255;if(n.push(a),!i)return}n.push(t>>>31&1)}}e.varint64write=n;let r=65536*65536;function i(e){let t=e[0]==`-`;t&&(e=e.slice(1));let n=1e6,i=0,a=0;function o(t,o){let s=Number(e.slice(t,o));a*=n,i=i*n+s,i>=r&&(a+=i/r|0,i%=r)}return o(-24,-18),o(-18,-12),o(-12,-6),o(-6),[t,i,a]}e.int64fromString=i;function a(e,t){if(t>>>0<=2097151)return``+(r*t+(e>>>0));let n=e&16777215,i=(e>>>24|t<<8)>>>0&16777215,a=t>>16&65535,o=n+i*6777216+a*6710656,s=i+a*8147497,c=a*2,l=1e7;o>=l&&(s+=Math.floor(o/l),o%=l),s>=l&&(c+=Math.floor(s/l),s%=l);function u(e,t){let n=e?String(e):``;return t?`0000000`.slice(n.length)+n:n}return u(c,0)+u(s,c)+u(o,1)}e.int64toString=a;function o(e,t){if(e>=0){for(;e>127;)t.push(e&127|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(e&127|128),e>>=7;t.push(1)}}e.varint32write=o;function s(){let e=this.buf[this.pos++],t=e&127;if(!(e&128)||(e=this.buf[this.pos++],t|=(e&127)<<7,!(e&128))||(e=this.buf[this.pos++],t|=(e&127)<<14,!(e&128))||(e=this.buf[this.pos++],t|=(e&127)<<21,!(e&128)))return this.assertBounds(),t;e=this.buf[this.pos++],t|=(e&15)<<28;for(let t=5;e&128&&t<10;t++)e=this.buf[this.pos++];if(e&128)throw Error(`invalid varint`);return this.assertBounds(),t>>>0}e.varint32read=s})),UM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.PbLong=e.PbULong=e.detectBi=void 0;let t=HM(),n;function r(){let e=new DataView(new ArrayBuffer(8));n=globalThis.BigInt!==void 0&&typeof e.getBigInt64==`function`&&typeof e.getBigUint64==`function`&&typeof e.setBigInt64==`function`&&typeof e.setBigUint64==`function`?{MIN:BigInt(`-9223372036854775808`),MAX:BigInt(`9223372036854775807`),UMIN:BigInt(`0`),UMAX:BigInt(`18446744073709551615`),C:BigInt,V:e}:void 0}e.detectBi=r,r();function i(e){if(!e)throw Error(`BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support`)}let a=/^-?[0-9]+$/,o=4294967296,s=2147483648;var c=class{constructor(e,t){this.lo=e|0,this.hi=t|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*o+(this.lo>>>0);if(!Number.isSafeInteger(e))throw Error(`cannot convert to safe number`);return e}},l=class e extends c{static from(r){if(n)switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r==``)throw Error(`string is no integer`);r=n.C(r);case`number`:if(r===0)return this.ZERO;r=n.C(r);case`bigint`:if(!r)return this.ZERO;if(rn.UMAX)throw Error(`ulong too large`);return n.V.setBigUint64(0,r,!0),new e(n.V.getInt32(0,!0),n.V.getInt32(4,!0))}else switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r=r.trim(),!a.test(r))throw Error(`string is no integer`);let[n,i,s]=t.int64fromString(r);if(n)throw Error(`signed value for ulong`);return new e(i,s);case`number`:if(r==0)return this.ZERO;if(!Number.isSafeInteger(r))throw Error(`number is no integer`);if(r<0)throw Error(`signed value for ulong`);return new e(r,r/o)}throw Error(`unknown value `+typeof r)}toString(){return n?this.toBigInt().toString():t.int64toString(this.lo,this.hi)}toBigInt(){return i(n),n.V.setInt32(0,this.lo,!0),n.V.setInt32(4,this.hi,!0),n.V.getBigUint64(0,!0)}};e.PbULong=l,l.ZERO=new l(0,0);var u=class e extends c{static from(r){if(n)switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r==``)throw Error(`string is no integer`);r=n.C(r);case`number`:if(r===0)return this.ZERO;r=n.C(r);case`bigint`:if(!r)return this.ZERO;if(rn.MAX)throw Error(`signed long too large`);return n.V.setBigInt64(0,r,!0),new e(n.V.getInt32(0,!0),n.V.getInt32(4,!0))}else switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r=r.trim(),!a.test(r))throw Error(`string is no integer`);let[n,i,c]=t.int64fromString(r);if(n){if(c>s||c==s&&i!=0)throw Error(`signed long too small`)}else if(c>=s)throw Error(`signed long too large`);let l=new e(i,c);return n?l.negate():l;case`number`:if(r==0)return this.ZERO;if(!Number.isSafeInteger(r))throw Error(`number is no integer`);return r>0?new e(r,r/o):new e(-r,-r/o).negate()}throw Error(`unknown value `+typeof r)}isNegative(){return(this.hi&s)!==0}negate(){let t=~this.hi,n=this.lo;return n?n=~n+1:t+=1,new e(n,t)}toString(){if(n)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return`-`+t.int64toString(e.lo,e.hi)}return t.int64toString(this.lo,this.hi)}toBigInt(){return i(n),n.V.setInt32(0,this.lo,!0),n.V.setInt32(4,this.hi,!0),n.V.getBigInt64(0,!0)}};e.PbLong=u,u.ZERO=new u(0,0)})),WM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BinaryReader=e.binaryReadOptions=void 0;let t=VM(),n=UM(),r=HM(),i={readUnknownField:!0,readerFactory:e=>new o(e)};function a(e){return e?Object.assign(Object.assign({},i),e):i}e.binaryReadOptions=a;var o=class{constructor(e,t){this.varint64=r.varint64read,this.uint32=r.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=t??new TextDecoder(`utf-8`,{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),t=e>>>3,n=e&7;if(t<=0||n<0||n>5)throw Error(`illegal tag: field no `+t+` wire type `+n);return[t,n]}skip(e){let n=this.pos;switch(e){case t.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case t.WireType.Bit64:this.pos+=4;case t.WireType.Bit32:this.pos+=4;break;case t.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case t.WireType.StartGroup:let r;for(;(r=this.tag()[1])!==t.WireType.EndGroup;)this.skip(r);break;default:throw Error(`cant skip wire type `+e)}return this.assertBounds(),this.buf.subarray(n,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError(`premature EOF`)}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new n.PbLong(...this.varint64())}uint64(){return new n.PbULong(...this.varint64())}sint64(){let[e,t]=this.varint64(),r=-(e&1);return e=(e>>>1|(t&1)<<31)^r,t=t>>>1^r,new n.PbLong(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new n.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new n.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}};e.BinaryReader=o})),GM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assertFloat32=e.assertUInt32=e.assertInt32=e.assertNever=e.assert=void 0;function t(e,t){if(!e)throw Error(t)}e.assert=t;function n(e,t){throw Error(t??`Unexpected object: `+e)}e.assertNever=n;function r(e){if(typeof e!=`number`)throw Error(`invalid int 32: `+typeof e);if(!Number.isInteger(e)||e>2147483647||e<-2147483648)throw Error(`invalid int 32: `+e)}e.assertInt32=r;function i(e){if(typeof e!=`number`)throw Error(`invalid uint 32: `+typeof e);if(!Number.isInteger(e)||e>4294967295||e<0)throw Error(`invalid uint 32: `+e)}e.assertUInt32=i;function a(e){if(typeof e!=`number`)throw Error(`invalid float 32: `+typeof e);if(Number.isFinite(e)&&(e>34028234663852886e22||e<-34028234663852886e22))throw Error(`invalid float 32: `+e)}e.assertFloat32=a})),KM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BinaryWriter=e.binaryWriteOptions=void 0;let t=UM(),n=HM(),r=GM(),i={writeUnknownFields:!0,writerFactory:()=>new o};function a(e){return e?Object.assign(Object.assign({},i),e):i}e.binaryWriteOptions=a;var o=class{constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(r.assertUInt32(e);e>127;)this.buf.push(e&127|128),e>>>=7;return this.buf.push(e),this}int32(e){return r.assertInt32(e),n.varint32write(e,this.buf),this}bool(e){return this.buf.push(+!!e),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.textEncoder.encode(e);return this.uint32(t.byteLength),this.raw(t)}float(e){r.assertFloat32(e);let t=new Uint8Array(4);return new DataView(t.buffer).setFloat32(0,e,!0),this.raw(t)}double(e){let t=new Uint8Array(8);return new DataView(t.buffer).setFloat64(0,e,!0),this.raw(t)}fixed32(e){r.assertUInt32(e);let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),this.raw(t)}sfixed32(e){r.assertInt32(e);let t=new Uint8Array(4);return new DataView(t.buffer).setInt32(0,e,!0),this.raw(t)}sint32(e){return r.assertInt32(e),e=(e<<1^e>>31)>>>0,n.varint32write(e,this.buf),this}sfixed64(e){let n=new Uint8Array(8),r=new DataView(n.buffer),i=t.PbLong.from(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}fixed64(e){let n=new Uint8Array(8),r=new DataView(n.buffer),i=t.PbULong.from(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}int64(e){let r=t.PbLong.from(e);return n.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=t.PbLong.from(e),i=r.hi>>31,a=r.lo<<1^i,o=(r.hi<<1|r.lo>>>31)^i;return n.varint64write(a,o,this.buf),this}uint64(e){let r=t.PbULong.from(e);return n.varint64write(r.lo,r.hi,this.buf),this}};e.BinaryWriter=o})),qM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.mergeJsonOptions=e.jsonWriteOptions=e.jsonReadOptions=void 0;let t={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},n={ignoreUnknownFields:!1};function r(e){return e?Object.assign(Object.assign({},n),e):n}e.jsonReadOptions=r;function i(e){return e?Object.assign(Object.assign({},t),e):t}e.jsonWriteOptions=i;function a(e,t){let n=Object.assign(Object.assign({},e),t);return n.typeRegistry=[...e?.typeRegistry??[],...t?.typeRegistry??[]],n}e.mergeJsonOptions=a})),JM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.MESSAGE_TYPE=void 0,e.MESSAGE_TYPE=Symbol.for(`protobuf-ts/message-type`)})),YM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.lowerCamelCase=void 0;function t(e){let t=!1,n=[];for(let r=0;r{Object.defineProperty(e,`__esModule`,{value:!0}),e.readMessageOption=e.readFieldOption=e.readFieldOptions=e.normalizeFieldInfo=e.RepeatType=e.LongType=e.ScalarType=void 0;let t=YM();(function(e){e[e.DOUBLE=1]=`DOUBLE`,e[e.FLOAT=2]=`FLOAT`,e[e.INT64=3]=`INT64`,e[e.UINT64=4]=`UINT64`,e[e.INT32=5]=`INT32`,e[e.FIXED64=6]=`FIXED64`,e[e.FIXED32=7]=`FIXED32`,e[e.BOOL=8]=`BOOL`,e[e.STRING=9]=`STRING`,e[e.BYTES=12]=`BYTES`,e[e.UINT32=13]=`UINT32`,e[e.SFIXED32=15]=`SFIXED32`,e[e.SFIXED64=16]=`SFIXED64`,e[e.SINT32=17]=`SINT32`,e[e.SINT64=18]=`SINT64`})(e.ScalarType||={}),(function(e){e[e.BIGINT=0]=`BIGINT`,e[e.STRING=1]=`STRING`,e[e.NUMBER=2]=`NUMBER`})(e.LongType||={});var n;(function(e){e[e.NO=0]=`NO`,e[e.PACKED=1]=`PACKED`,e[e.UNPACKED=2]=`UNPACKED`})(n=e.RepeatType||={});function r(e){return e.localName=e.localName??t.lowerCamelCase(e.name),e.jsonName=e.jsonName??t.lowerCamelCase(e.name),e.repeat=e.repeat??n.NO,e.opt=e.opt??(e.repeat||e.oneof?!1:e.kind==`message`),e}e.normalizeFieldInfo=r;function i(e,t,n,r){let i=e.fields.find((e,n)=>e.localName==t||n==t)?.options;return i&&i[n]?r.fromJson(i[n]):void 0}e.readFieldOptions=i;function a(e,t,n,r){let i=e.fields.find((e,n)=>e.localName==t||n==t)?.options;if(!i)return;let a=i[n];return a===void 0?a:r?r.fromJson(a):a}e.readFieldOption=a;function o(e,t,n){let r=e.options[t];return r===void 0?r:n?n.fromJson(r):r}e.readMessageOption=o})),ZM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getSelectedOneofValue=e.clearOneofValue=e.setUnknownOneofValue=e.setOneofValue=e.getOneofValue=e.isOneofGroup=void 0;function t(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(`oneofKind`))return!1;switch(typeof e.oneofKind){case`string`:return e[e.oneofKind]===void 0?!1:Object.keys(e).length==2;case`undefined`:return Object.keys(e).length==1;default:return!1}}e.isOneofGroup=t;function n(e,t){return e[t]}e.getOneofValue=n;function r(e,t,n){e.oneofKind!==void 0&&delete e[e.oneofKind],e.oneofKind=t,n!==void 0&&(e[t]=n)}e.setOneofValue=r;function i(e,t,n){e.oneofKind!==void 0&&delete e[e.oneofKind],e.oneofKind=t,n!==void 0&&t!==void 0&&(e[t]=n)}e.setUnknownOneofValue=i;function a(e){e.oneofKind!==void 0&&delete e[e.oneofKind],e.oneofKind=void 0}e.clearOneofValue=a;function o(e){if(e.oneofKind!==void 0)return e[e.oneofKind]}e.getSelectedOneofValue=o})),QM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionTypeCheck=void 0;let t=XM(),n=ZM();e.ReflectionTypeCheck=class{constructor(e){this.fields=e.fields??[]}prepare(){if(this.data)return;let e=[],t=[],n=[];for(let r of this.fields)if(r.oneof)n.includes(r.oneof)||(n.push(r.oneof),e.push(r.oneof),t.push(r.oneof));else switch(t.push(r.localName),r.kind){case`scalar`:case`enum`:(!r.opt||r.repeat)&&e.push(r.localName);break;case`message`:r.repeat&&e.push(r.localName);break;case`map`:e.push(r.localName);break}this.data={req:e,known:t,oneofs:Object.values(n)}}is(e,t,r=!1){if(t<0)return!0;if(typeof e!=`object`||!e)return!1;this.prepare();let i=Object.keys(e),a=this.data;if(i.length!i.includes(e))||!r&&i.some(e=>!a.known.includes(e)))return!1;if(t<1)return!0;for(let i of a.oneofs){let a=e[i];if(!n.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let o=this.fields.find(e=>e.localName===a.oneofKind);if(!o||!this.field(a[a.oneofKind],o,r,t))return!1}for(let n of this.fields)if(n.oneof===void 0&&!this.field(e[n.localName],n,r,t))return!1;return!0}field(e,n,r,i){let a=n.repeat;switch(n.kind){case`scalar`:return e===void 0?n.opt:a?this.scalars(e,n.T,i,n.L):this.scalar(e,n.T,n.L);case`enum`:return e===void 0?n.opt:a?this.scalars(e,t.ScalarType.INT32,i):this.scalar(e,t.ScalarType.INT32);case`message`:return e===void 0?!0:a?this.messages(e,n.T(),r,i):this.message(e,n.T(),r,i);case`map`:if(typeof e!=`object`||!e)return!1;if(i<2)return!0;if(!this.mapKeys(e,n.K,i))return!1;switch(n.V.kind){case`scalar`:return this.scalars(Object.values(e),n.V.T,i,n.V.L);case`enum`:return this.scalars(Object.values(e),t.ScalarType.INT32,i);case`message`:return this.messages(Object.values(e),n.V.T(),r,i)}break}return!0}message(e,t,n,r){return n?t.isAssignable(e,r):t.is(e,r)}messages(e,t,n,r){if(!Array.isArray(e))return!1;if(r<2)return!0;if(n){for(let n=0;nparseInt(e)),n,r);case t.ScalarType.BOOL:return this.scalars(i.slice(0,r).map(e=>e==`true`?!0:e==`false`?!1:e),n,r);default:return this.scalars(i,n,r,t.LongType.STRING)}}}})),$M=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionLongConvert=void 0;let t=XM();function n(e,n){switch(n){case t.LongType.BIGINT:return e.toBigInt();case t.LongType.NUMBER:return e.toNumber();default:return e.toString()}}e.reflectionLongConvert=n})),eN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionJsonReader=void 0;let t=RM(),n=zM(),r=XM(),i=UM(),a=GM(),o=$M();e.ReflectionJsonReader=class{constructor(e){this.info=e}prepare(){if(this.fMap===void 0){this.fMap={};let e=this.info.fields??[];for(let t of e)this.fMap[t.name]=t,this.fMap[t.jsonName]=t,this.fMap[t.localName]=t}}assert(e,n,r){if(!e){let e=t.typeofJsonValue(r);throw(e==`number`||e==`boolean`)&&(e=r.toString()),Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${n}`)}}read(e,n,i){this.prepare();let a=[];for(let[o,s]of Object.entries(e)){let e=this.fMap[o];if(!e){if(!i.ignoreUnknownFields)throw Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${o}`);continue}let c=e.localName,l;if(e.oneof){if(s===null&&(e.kind!==`enum`||e.T()[0]!==`google.protobuf.NullValue`))continue;if(a.includes(e.oneof))throw Error(`Multiple members of the oneof group "${e.oneof}" of ${this.info.typeName} are present in JSON.`);a.push(e.oneof),l=n[e.oneof]={oneofKind:c}}else l=n;if(e.kind==`map`){if(s===null)continue;this.assert(t.isJsonObject(s),e.name,s);let n=l[c];for(let[t,a]of Object.entries(s)){this.assert(a!==null,e.name+` map value`,null);let o;switch(e.V.kind){case`message`:o=e.V.T().internalJsonRead(a,i);break;case`enum`:if(o=this.enum(e.V.T(),a,e.name,i.ignoreUnknownFields),o===!1)continue;break;case`scalar`:o=this.scalar(a,e.V.T,e.V.L,e.name);break}this.assert(o!==void 0,e.name+` map value`,a);let s=t;e.K==r.ScalarType.BOOL&&(s=s==`true`?!0:s==`false`?!1:s),s=this.scalar(s,e.K,r.LongType.STRING,e.name).toString(),n[s]=o}}else if(e.repeat){if(s===null)continue;this.assert(Array.isArray(s),e.name,s);let t=l[c];for(let n of s){this.assert(n!==null,e.name,null);let r;switch(e.kind){case`message`:r=e.T().internalJsonRead(n,i);break;case`enum`:if(r=this.enum(e.T(),n,e.name,i.ignoreUnknownFields),r===!1)continue;break;case`scalar`:r=this.scalar(n,e.T,e.L,e.name);break}this.assert(r!==void 0,e.name,s),t.push(r)}}else switch(e.kind){case`message`:if(s===null&&e.T().typeName!=`google.protobuf.Value`){this.assert(e.oneof===void 0,e.name+` (oneof member)`,null);continue}l[c]=e.T().internalJsonRead(s,i,l[c]);break;case`enum`:if(s===null)continue;let t=this.enum(e.T(),s,e.name,i.ignoreUnknownFields);if(t===!1)continue;l[c]=t;break;case`scalar`:if(s===null)continue;l[c]=this.scalar(s,e.T,e.L,e.name);break}}}enum(e,t,n,r){if(e[0]==`google.protobuf.NullValue`&&a.assert(t===null||t===`NULL_VALUE`,`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),t===null)return 0;switch(typeof t){case`number`:return a.assert(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${t}.`),t;case`string`:let i=t;e[2]&&t.substring(0,e[2].length)===e[2]&&(i=t.substring(e[2].length));let o=e[1][i];return o===void 0&&r?!1:(a.assert(typeof o==`number`,`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${t}".`),o)}a.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,s,c){let l;try{switch(t){case r.ScalarType.DOUBLE:case r.ScalarType.FLOAT:if(e===null)return 0;if(e===`NaN`)return NaN;if(e===`Infinity`)return 1/0;if(e===`-Infinity`)return-1/0;if(e===``){l=`empty string`;break}if(typeof e==`string`&&e.trim().length!==e.length){l=`extra whitespace`;break}if(typeof e!=`string`&&typeof e!=`number`)break;let c=Number(e);if(Number.isNaN(c)){l=`not a number`;break}if(!Number.isFinite(c)){l=`too large or small`;break}return t==r.ScalarType.FLOAT&&a.assertFloat32(c),c;case r.ScalarType.INT32:case r.ScalarType.FIXED32:case r.ScalarType.SFIXED32:case r.ScalarType.SINT32:case r.ScalarType.UINT32:if(e===null)return 0;let u;if(typeof e==`number`?u=e:e===``?l=`empty string`:typeof e==`string`&&(e.trim().length===e.length?u=Number(e):l=`extra whitespace`),u===void 0)break;return t==r.ScalarType.UINT32?a.assertUInt32(u):a.assertInt32(u),u;case r.ScalarType.INT64:case r.ScalarType.SFIXED64:case r.ScalarType.SINT64:if(e===null)return o.reflectionLongConvert(i.PbLong.ZERO,s);if(typeof e!=`number`&&typeof e!=`string`)break;return o.reflectionLongConvert(i.PbLong.from(e),s);case r.ScalarType.FIXED64:case r.ScalarType.UINT64:if(e===null)return o.reflectionLongConvert(i.PbULong.ZERO,s);if(typeof e!=`number`&&typeof e!=`string`)break;return o.reflectionLongConvert(i.PbULong.from(e),s);case r.ScalarType.BOOL:if(e===null)return!1;if(typeof e!=`boolean`)break;return e;case r.ScalarType.STRING:if(e===null)return``;if(typeof e!=`string`){l=`extra whitespace`;break}return e;case r.ScalarType.BYTES:if(e===null||e===``)return new Uint8Array;if(typeof e!=`string`)break;return n.base64decode(e)}}catch(e){l=e.message}this.assert(!1,c+(l?` - `+l:``),e)}}})),tN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionJsonWriter=void 0;let t=zM(),n=UM(),r=XM(),i=GM();e.ReflectionJsonWriter=class{constructor(e){this.fields=e.fields??[]}write(e,t){let n={},r=e;for(let e of this.fields){if(!e.oneof){let i=this.field(e,r[e.localName],t);i!==void 0&&(n[t.useProtoFieldName?e.name:e.jsonName]=i);continue}let a=r[e.oneof];if(a.oneofKind!==e.localName)continue;let o=e.kind==`scalar`||e.kind==`enum`?Object.assign(Object.assign({},t),{emitDefaultValues:!0}):t,s=this.field(e,a[e.localName],o);i.assert(s!==void 0),n[t.useProtoFieldName?e.name:e.jsonName]=s}return n}field(e,t,n){let r;if(e.kind==`map`){i.assert(typeof t==`object`&&!!t);let a={};switch(e.V.kind){case`scalar`:for(let[n,r]of Object.entries(t)){let t=this.scalar(e.V.T,r,e.name,!1,!0);i.assert(t!==void 0),a[n.toString()]=t}break;case`message`:let r=e.V.T();for(let[o,s]of Object.entries(t)){let t=this.message(r,s,e.name,n);i.assert(t!==void 0),a[o.toString()]=t}break;case`enum`:let o=e.V.T();for(let[r,s]of Object.entries(t)){i.assert(s===void 0||typeof s==`number`);let t=this.enum(o,s,e.name,!1,!0,n.enumAsInteger);i.assert(t!==void 0),a[r.toString()]=t}break}(n.emitDefaultValues||Object.keys(a).length>0)&&(r=a)}else if(e.repeat){i.assert(Array.isArray(t));let a=[];switch(e.kind){case`scalar`:for(let n=0;n0||n.emitDefaultValues)&&(r=a)}else switch(e.kind){case`scalar`:r=this.scalar(e.T,t,e.name,e.opt,n.emitDefaultValues);break;case`enum`:r=this.enum(e.T(),t,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case`message`:r=this.message(e.T(),t,e.name,n);break}return r}enum(e,t,n,r,a,o){if(e[0]==`google.protobuf.NullValue`)return!a&&!r?void 0:null;if(t===void 0){i.assert(r);return}if(!(t===0&&!a&&!r))return i.assert(typeof t==`number`),i.assert(Number.isInteger(t)),o||!e[1].hasOwnProperty(t)?t:e[2]?e[2]+e[1][t]:e[1][t]}message(e,t,n,r){return t===void 0?r.emitDefaultValues?null:void 0:e.internalJsonWrite(t,r)}scalar(e,a,o,s,c){if(a===void 0){i.assert(s);return}let l=c||s;switch(e){case r.ScalarType.INT32:case r.ScalarType.SFIXED32:case r.ScalarType.SINT32:return a===0?l?0:void 0:(i.assertInt32(a),a);case r.ScalarType.FIXED32:case r.ScalarType.UINT32:return a===0?l?0:void 0:(i.assertUInt32(a),a);case r.ScalarType.FLOAT:i.assertFloat32(a);case r.ScalarType.DOUBLE:return a===0?l?0:void 0:(i.assert(typeof a==`number`),Number.isNaN(a)?`NaN`:a===1/0?`Infinity`:a===-1/0?`-Infinity`:a);case r.ScalarType.STRING:return a===``?l?``:void 0:(i.assert(typeof a==`string`),a);case r.ScalarType.BOOL:return a===!1?l?!1:void 0:(i.assert(typeof a==`boolean`),a);case r.ScalarType.UINT64:case r.ScalarType.FIXED64:i.assert(typeof a==`number`||typeof a==`string`||typeof a==`bigint`);let e=n.PbULong.from(a);return e.isZero()&&!l?void 0:e.toString();case r.ScalarType.INT64:case r.ScalarType.SFIXED64:case r.ScalarType.SINT64:i.assert(typeof a==`number`||typeof a==`string`||typeof a==`bigint`);let o=n.PbLong.from(a);return o.isZero()&&!l?void 0:o.toString();case r.ScalarType.BYTES:return i.assert(a instanceof Uint8Array),a.byteLength?t.base64encode(a):l?``:void 0}}}})),nN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionScalarDefault=void 0;let t=XM(),n=$M(),r=UM();function i(e,i=t.LongType.STRING){switch(e){case t.ScalarType.BOOL:return!1;case t.ScalarType.UINT64:case t.ScalarType.FIXED64:return n.reflectionLongConvert(r.PbULong.ZERO,i);case t.ScalarType.INT64:case t.ScalarType.SFIXED64:case t.ScalarType.SINT64:return n.reflectionLongConvert(r.PbLong.ZERO,i);case t.ScalarType.DOUBLE:case t.ScalarType.FLOAT:return 0;case t.ScalarType.BYTES:return new Uint8Array;case t.ScalarType.STRING:return``;default:return 0}}e.reflectionScalarDefault=i})),rN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionBinaryReader=void 0;let t=VM(),n=XM(),r=$M(),i=nN();e.ReflectionBinaryReader=class{constructor(e){this.info=e}prepare(){if(!this.fieldNoToField){let e=this.info.fields??[];this.fieldNoToField=new Map(e.map(e=>[e.no,e]))}}read(e,r,i,a){this.prepare();let o=a===void 0?e.len:e.pos+a;for(;e.pos{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionBinaryWriter=void 0;let t=VM(),n=XM(),r=GM(),i=UM();e.ReflectionBinaryWriter=class{constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((e,t)=>e.no-t.no)}}write(e,i,a){this.prepare();for(let t of this.fields){let o,s,c=t.repeat,l=t.localName;if(t.oneof){let n=e[t.oneof];if(n.oneofKind!==l)continue;o=n[l],s=!0}else o=e[l],s=!1;switch(t.kind){case`scalar`:case`enum`:let e=t.kind==`enum`?n.ScalarType.INT32:t.T;if(c)if(r.assert(Array.isArray(o)),c==n.RepeatType.PACKED)this.packed(i,e,t.no,o);else for(let n of o)this.scalar(i,e,t.no,n,!0);else o===void 0?r.assert(t.opt):this.scalar(i,e,t.no,o,s||t.opt);break;case`message`:if(c){r.assert(Array.isArray(o));for(let e of o)this.message(i,a,t.T(),t.no,e)}else this.message(i,a,t.T(),t.no,o);break;case`map`:r.assert(typeof o==`object`&&!!o);for(let[e,n]of Object.entries(o))this.mapEntry(i,a,t,e,n);break}}let o=a.writeUnknownFields;o!==!1&&(o===!0?t.UnknownFieldHandler.onWrite:o)(this.info.typeName,e,i)}mapEntry(e,i,a,o,s){e.tag(a.no,t.WireType.LengthDelimited),e.fork();let c=o;switch(a.K){case n.ScalarType.INT32:case n.ScalarType.FIXED32:case n.ScalarType.UINT32:case n.ScalarType.SFIXED32:case n.ScalarType.SINT32:c=Number.parseInt(o);break;case n.ScalarType.BOOL:r.assert(o==`true`||o==`false`),c=o==`true`;break}switch(this.scalar(e,a.K,1,c,!0),a.V.kind){case`scalar`:this.scalar(e,a.V.T,2,s,!0);break;case`enum`:this.scalar(e,n.ScalarType.INT32,2,s,!0);break;case`message`:this.message(e,i,a.V.T(),2,s);break}e.join()}message(e,n,r,i,a){a!==void 0&&(r.internalBinaryWrite(a,e.tag(i,t.WireType.LengthDelimited).fork(),n),e.join())}scalar(e,t,n,r,i){let[a,o,s]=this.scalarInfo(t,r);(!s||i)&&(e.tag(n,a),e[o](r))}packed(e,i,a,o){if(!o.length)return;r.assert(i!==n.ScalarType.BYTES&&i!==n.ScalarType.STRING),e.tag(a,t.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(i);for(let t=0;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionCreate=void 0;let t=nN(),n=JM();function r(e){let r=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},n.MESSAGE_TYPE,{value:e});for(let n of e.fields){let e=n.localName;if(!n.opt)if(n.oneof)r[n.oneof]={oneofKind:void 0};else if(n.repeat)r[e]=[];else switch(n.kind){case`scalar`:r[e]=t.reflectionScalarDefault(n.T,n.L);break;case`enum`:r[e]=0;break;case`map`:r[e]={};break}}return r}e.reflectionCreate=r})),oN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionMergePartial=void 0;function t(e,t,n){let r,i=n,a;for(let n of e.fields){let e=n.localName;if(n.oneof){let o=i[n.oneof];if(o?.oneofKind==null)continue;if(r=o[e],a=t[n.oneof],a.oneofKind=o.oneofKind,r==null){delete a[e];continue}}else if(r=i[e],a=t,r==null)continue;switch(n.repeat&&(a[e].length=r.length),n.kind){case`scalar`:case`enum`:if(n.repeat)for(let t=0;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionEquals=void 0;let t=XM();function n(e,n,s){if(n===s)return!0;if(!n||!s)return!1;for(let c of e.fields){let e=c.localName,l=c.oneof?n[c.oneof][e]:n[e],u=c.oneof?s[c.oneof][e]:s[e];switch(c.kind){case`enum`:case`scalar`:let e=c.kind==`enum`?t.ScalarType.INT32:c.T;if(!(c.repeat?a(e,l,u):i(e,l,u)))return!1;break;case`map`:if(!(c.V.kind==`message`?o(c.V.T(),r(l),r(u)):a(c.V.kind==`enum`?t.ScalarType.INT32:c.V.T,r(l),r(u))))return!1;break;case`message`:let n=c.T();if(!(c.repeat?o(n,l,u):n.equals(l,u)))return!1;break}}return!0}e.reflectionEquals=n;let r=Object.values;function i(e,n,r){if(n===r)return!0;if(e!==t.ScalarType.BYTES)return!1;let i=n,a=r;if(i.length!==a.length)return!1;for(let e=0;e{Object.defineProperty(e,`__esModule`,{value:!0}),e.MessageType=void 0;let t=JM(),n=XM(),r=QM(),i=eN(),a=tN(),o=rN(),s=iN(),c=aN(),l=oN(),u=RM(),d=qM(),f=sN(),p=KM(),m=WM(),h=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),g=h[t.MESSAGE_TYPE]={};e.MessageType=class{constructor(e,t,c){this.defaultCheckDepth=16,this.typeName=e,this.fields=t.map(n.normalizeFieldInfo),this.options=c??{},g.value=this,this.messagePrototype=Object.create(null,h),this.refTypeCheck=new r.ReflectionTypeCheck(this),this.refJsonReader=new i.ReflectionJsonReader(this),this.refJsonWriter=new a.ReflectionJsonWriter(this),this.refBinReader=new o.ReflectionBinaryReader(this),this.refBinWriter=new s.ReflectionBinaryWriter(this)}create(e){let t=c.reflectionCreate(this);return e!==void 0&&l.reflectionMergePartial(this,t,e),t}clone(e){let t=this.create();return l.reflectionMergePartial(this,t,e),t}equals(e,t){return f.reflectionEquals(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!1)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!0)}mergePartial(e,t){l.reflectionMergePartial(this,e,t)}fromBinary(e,t){let n=m.binaryReadOptions(t);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,t){return this.internalJsonRead(e,d.jsonReadOptions(t))}fromJsonString(e,t){let n=JSON.parse(e);return this.fromJson(n,t)}toJson(e,t){return this.internalJsonWrite(e,d.jsonWriteOptions(t))}toJsonString(e,t){let n=this.toJson(e,t);return JSON.stringify(n,null,t?.prettySpaces??0)}toBinary(e,t){let n=p.binaryWriteOptions(t);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,t,n){if(typeof e==`object`&&e&&!Array.isArray(e)){let r=n??this.create();return this.refJsonReader.read(e,r,t),r}throw Error(`Unable to parse message ${this.typeName} from JSON ${u.typeofJsonValue(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,n){return this.refBinWriter.write(e,t,n),t}internalBinaryRead(e,t,n,r){let i=r??this.create();return this.refBinReader.read(e,i,n,t),i}}})),lN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.containsMessageType=void 0;let t=JM();function n(e){return e[t.MESSAGE_TYPE]!=null}e.containsMessageType=n})),uN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.listEnumNumbers=e.listEnumNames=e.listEnumValues=e.isEnumObject=void 0;function t(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(0))return!1;for(let t of Object.keys(e)){let n=parseInt(t);if(Number.isNaN(n)){let n=e[t];if(n===void 0||typeof n!=`number`||e[n]===void 0)return!1}else{let t=e[n];if(t===void 0||e[t]!==n)return!1}}return!0}e.isEnumObject=t;function n(e){if(!t(e))throw Error(`not a typescript enum object`);let n=[];for(let[t,r]of Object.entries(e))typeof r==`number`&&n.push({name:t,number:r});return n}e.listEnumValues=n;function r(e){return n(e).map(e=>e.name)}e.listEnumNames=r;function i(e){return n(e).map(e=>e.number).filter((e,t,n)=>n.indexOf(e)==t)}e.listEnumNumbers=i})),dN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=RM();Object.defineProperty(e,`typeofJsonValue`,{enumerable:!0,get:function(){return t.typeofJsonValue}}),Object.defineProperty(e,`isJsonObject`,{enumerable:!0,get:function(){return t.isJsonObject}});var n=zM();Object.defineProperty(e,`base64decode`,{enumerable:!0,get:function(){return n.base64decode}}),Object.defineProperty(e,`base64encode`,{enumerable:!0,get:function(){return n.base64encode}});var r=BM();Object.defineProperty(e,`utf8read`,{enumerable:!0,get:function(){return r.utf8read}});var i=VM();Object.defineProperty(e,`WireType`,{enumerable:!0,get:function(){return i.WireType}}),Object.defineProperty(e,`mergeBinaryOptions`,{enumerable:!0,get:function(){return i.mergeBinaryOptions}}),Object.defineProperty(e,`UnknownFieldHandler`,{enumerable:!0,get:function(){return i.UnknownFieldHandler}});var a=WM();Object.defineProperty(e,`BinaryReader`,{enumerable:!0,get:function(){return a.BinaryReader}}),Object.defineProperty(e,`binaryReadOptions`,{enumerable:!0,get:function(){return a.binaryReadOptions}});var o=KM();Object.defineProperty(e,`BinaryWriter`,{enumerable:!0,get:function(){return o.BinaryWriter}}),Object.defineProperty(e,`binaryWriteOptions`,{enumerable:!0,get:function(){return o.binaryWriteOptions}});var s=UM();Object.defineProperty(e,`PbLong`,{enumerable:!0,get:function(){return s.PbLong}}),Object.defineProperty(e,`PbULong`,{enumerable:!0,get:function(){return s.PbULong}});var c=qM();Object.defineProperty(e,`jsonReadOptions`,{enumerable:!0,get:function(){return c.jsonReadOptions}}),Object.defineProperty(e,`jsonWriteOptions`,{enumerable:!0,get:function(){return c.jsonWriteOptions}}),Object.defineProperty(e,`mergeJsonOptions`,{enumerable:!0,get:function(){return c.mergeJsonOptions}});var l=JM();Object.defineProperty(e,`MESSAGE_TYPE`,{enumerable:!0,get:function(){return l.MESSAGE_TYPE}});var u=cN();Object.defineProperty(e,`MessageType`,{enumerable:!0,get:function(){return u.MessageType}});var d=XM();Object.defineProperty(e,`ScalarType`,{enumerable:!0,get:function(){return d.ScalarType}}),Object.defineProperty(e,`LongType`,{enumerable:!0,get:function(){return d.LongType}}),Object.defineProperty(e,`RepeatType`,{enumerable:!0,get:function(){return d.RepeatType}}),Object.defineProperty(e,`normalizeFieldInfo`,{enumerable:!0,get:function(){return d.normalizeFieldInfo}}),Object.defineProperty(e,`readFieldOptions`,{enumerable:!0,get:function(){return d.readFieldOptions}}),Object.defineProperty(e,`readFieldOption`,{enumerable:!0,get:function(){return d.readFieldOption}}),Object.defineProperty(e,`readMessageOption`,{enumerable:!0,get:function(){return d.readMessageOption}});var f=QM();Object.defineProperty(e,`ReflectionTypeCheck`,{enumerable:!0,get:function(){return f.ReflectionTypeCheck}});var p=aN();Object.defineProperty(e,`reflectionCreate`,{enumerable:!0,get:function(){return p.reflectionCreate}});var m=nN();Object.defineProperty(e,`reflectionScalarDefault`,{enumerable:!0,get:function(){return m.reflectionScalarDefault}});var h=oN();Object.defineProperty(e,`reflectionMergePartial`,{enumerable:!0,get:function(){return h.reflectionMergePartial}});var g=sN();Object.defineProperty(e,`reflectionEquals`,{enumerable:!0,get:function(){return g.reflectionEquals}});var _=rN();Object.defineProperty(e,`ReflectionBinaryReader`,{enumerable:!0,get:function(){return _.ReflectionBinaryReader}});var v=iN();Object.defineProperty(e,`ReflectionBinaryWriter`,{enumerable:!0,get:function(){return v.ReflectionBinaryWriter}});var y=eN();Object.defineProperty(e,`ReflectionJsonReader`,{enumerable:!0,get:function(){return y.ReflectionJsonReader}});var b=tN();Object.defineProperty(e,`ReflectionJsonWriter`,{enumerable:!0,get:function(){return b.ReflectionJsonWriter}});var x=lN();Object.defineProperty(e,`containsMessageType`,{enumerable:!0,get:function(){return x.containsMessageType}});var S=ZM();Object.defineProperty(e,`isOneofGroup`,{enumerable:!0,get:function(){return S.isOneofGroup}}),Object.defineProperty(e,`setOneofValue`,{enumerable:!0,get:function(){return S.setOneofValue}}),Object.defineProperty(e,`getOneofValue`,{enumerable:!0,get:function(){return S.getOneofValue}}),Object.defineProperty(e,`clearOneofValue`,{enumerable:!0,get:function(){return S.clearOneofValue}}),Object.defineProperty(e,`getSelectedOneofValue`,{enumerable:!0,get:function(){return S.getSelectedOneofValue}});var C=uN();Object.defineProperty(e,`listEnumValues`,{enumerable:!0,get:function(){return C.listEnumValues}}),Object.defineProperty(e,`listEnumNames`,{enumerable:!0,get:function(){return C.listEnumNames}}),Object.defineProperty(e,`listEnumNumbers`,{enumerable:!0,get:function(){return C.listEnumNumbers}}),Object.defineProperty(e,`isEnumObject`,{enumerable:!0,get:function(){return C.isEnumObject}});var w=YM();Object.defineProperty(e,`lowerCamelCase`,{enumerable:!0,get:function(){return w.lowerCamelCase}});var T=GM();Object.defineProperty(e,`assert`,{enumerable:!0,get:function(){return T.assert}}),Object.defineProperty(e,`assertNever`,{enumerable:!0,get:function(){return T.assertNever}}),Object.defineProperty(e,`assertInt32`,{enumerable:!0,get:function(){return T.assertInt32}}),Object.defineProperty(e,`assertUInt32`,{enumerable:!0,get:function(){return T.assertUInt32}}),Object.defineProperty(e,`assertFloat32`,{enumerable:!0,get:function(){return T.assertFloat32}})})),fN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.readServiceOption=e.readMethodOption=e.readMethodOptions=e.normalizeMethodInfo=void 0;let t=dN();function n(e,n){let r=e;return r.service=n,r.localName=r.localName??t.lowerCamelCase(r.name),r.serverStreaming=!!r.serverStreaming,r.clientStreaming=!!r.clientStreaming,r.options=r.options??{},r.idempotency=r.idempotency??void 0,r}e.normalizeMethodInfo=n;function r(e,t,n,r){let i=e.methods.find((e,n)=>e.localName===t||n===t)?.options;return i&&i[n]?r.fromJson(i[n]):void 0}e.readMethodOptions=r;function i(e,t,n,r){let i=e.methods.find((e,n)=>e.localName===t||n===t)?.options;if(!i)return;let a=i[n];return a===void 0?a:r?r.fromJson(a):a}e.readMethodOption=i;function a(e,t,n){let r=e.options;if(!r)return;let i=r[t];return i===void 0?i:n?n.fromJson(i):i}e.readServiceOption=a})),pN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ServiceType=void 0;let t=fN();e.ServiceType=class{constructor(e,n,r){this.typeName=e,this.methods=n.map(e=>t.normalizeMethodInfo(e,this)),this.options=r??{}}}})),mN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.RpcError=void 0,e.RpcError=class extends Error{constructor(e,t=`UNKNOWN`,n){super(e),this.name=`RpcError`,Object.setPrototypeOf(this,new.target.prototype),this.code=t,this.meta=n??{}}toString(){let e=[this.name+`: `+this.message];this.code&&(e.push(``),e.push(`Code: `+this.code)),this.serviceName&&this.methodName&&e.push(`Method: `+this.serviceName+`/`+this.methodName);let t=Object.entries(this.meta);if(t.length){e.push(``),e.push(`Meta:`);for(let[n,r]of t)e.push(` ${n}: ${r}`)}return e.join(` -`)}}})),hN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.mergeRpcOptions=void 0;let t=dN();function n(e,n){if(!n)return e;let i={};r(e,i),r(n,i);for(let a of Object.keys(n)){let o=n[a];switch(a){case`jsonOptions`:i.jsonOptions=t.mergeJsonOptions(e.jsonOptions,i.jsonOptions);break;case`binaryOptions`:i.binaryOptions=t.mergeBinaryOptions(e.binaryOptions,i.binaryOptions);break;case`meta`:i.meta={},r(e.meta,i.meta),r(n.meta,i.meta);break;case`interceptors`:i.interceptors=e.interceptors?e.interceptors.concat(o):o.concat();break}}return i}e.mergeRpcOptions=n;function r(e,t){if(!e)return;let n=t;for(let[t,r]of Object.entries(e))r instanceof Date?n[t]=new Date(r.getTime()):Array.isArray(r)?n[t]=r.concat():n[t]=r}})),gN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Deferred=e.DeferredState=void 0;var t;(function(e){e[e.PENDING=0]=`PENDING`,e[e.REJECTED=1]=`REJECTED`,e[e.RESOLVED=2]=`RESOLVED`})(t=e.DeferredState||={}),e.Deferred=class{constructor(e=!0){this._state=t.PENDING,this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t}),e&&this._promise.catch(e=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==t.PENDING)throw Error(`cannot resolve ${t[this.state].toLowerCase()}`);this._resolve(e),this._state=t.RESOLVED}reject(e){if(this.state!==t.PENDING)throw Error(`cannot reject ${t[this.state].toLowerCase()}`);this._reject(e),this._state=t.REJECTED}resolvePending(e){this._state===t.PENDING&&this.resolve(e)}rejectPending(e){this._state===t.PENDING&&this.reject(e)}}})),_N=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.RpcOutputStreamController=void 0;let t=gN(),n=dN();e.RpcOutputStreamController=class{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,t){return t.push(e),()=>{let n=t.indexOf(e);n>=0&&t.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,t,r){n.assert(+!!e+ +!!t+ +!!r<=1,`only one emission at a time`),e&&this.notifyMessage(e),t&&this.notifyError(t),r&&this.notifyComplete()}notifyMessage(e){n.assert(!this.closed,`stream is closed`),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(t=>t(e)),this._lis.nxt.forEach(t=>t(e,void 0,!1))}notifyError(e){n.assert(!this.closed,`stream is closed`),this._closed=e,this.pushIt(e),this._lis.err.forEach(t=>t(e)),this._lis.nxt.forEach(t=>t(void 0,e,!1)),this.clearLis()}notifyComplete(){n.assert(!this.closed,`stream is closed`),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;n.assert(e,`bad state`),n.assert(!e.p,`iterator contract broken`);let r=e.q.shift();return r?`value`in r?Promise.resolve(r):Promise.reject(r):(e.p=new t.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let i=r.p;n.assert(i.state==t.DeferredState.PENDING,`iterator contract broken`),`value`in e?i.resolve(e):i.reject(e),delete r.p}else r.q.push(e)}}})),vN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.UnaryCall=void 0,e.UnaryCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.request=n,this.headers=r,this.response=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:n,trailers:r}})}}})),yN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.ServerStreamingCall=void 0,e.ServerStreamingCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.request=n,this.headers=r,this.responses=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:t,trailers:n}})}}})),bN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.ClientStreamingCall=void 0,e.ClientStreamingCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.requests=n,this.headers=r,this.response=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:n,trailers:r}})}}})),xN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.DuplexStreamingCall=void 0,e.DuplexStreamingCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.requests=n,this.headers=r,this.responses=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:n}})}}})),SN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.TestTransport=void 0;let n=mN(),r=dN(),i=_N(),a=hN(),o=vN(),s=yN(),c=bN(),l=xN();var u=class e{constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof f?this.lastInput.sent:typeof this.lastInput==`object`?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof f?this.lastInput.completed:typeof this.lastInput==`object`}promiseHeaders(){let t=this.data.headers??e.defaultHeaders;return t instanceof n.RpcError?Promise.reject(t):Promise.resolve(t)}promiseSingleResponse(e){if(this.data.response instanceof n.RpcError)return Promise.reject(this.data.response);let t;return Array.isArray(this.data.response)?(r.assert(this.data.response.length>0),t=this.data.response[0]):t=this.data.response===void 0?e.O.create():this.data.response,r.assert(e.O.is(t)),Promise.resolve(t)}streamResponses(e,i,a){return t(this,void 0,void 0,function*(){let t=[];if(this.data.response===void 0)t.push(e.O.create());else if(Array.isArray(this.data.response))for(let n of this.data.response)r.assert(e.O.is(n)),t.push(n);else this.data.response instanceof n.RpcError||(r.assert(e.O.is(this.data.response)),t.push(this.data.response));try{yield d(this.responseDelay,a)(void 0)}catch(e){i.notifyError(e);return}if(this.data.response instanceof n.RpcError){i.notifyError(this.data.response);return}for(let e of t){i.notifyMessage(e);try{yield d(this.betweenResponseDelay,a)(void 0)}catch(e){i.notifyError(e);return}}if(this.data.status instanceof n.RpcError){i.notifyError(this.data.status);return}if(this.data.trailers instanceof n.RpcError){i.notifyError(this.data.trailers);return}i.notifyComplete()})}promiseStatus(){let t=this.data.status??e.defaultStatus;return t instanceof n.RpcError?Promise.reject(t):Promise.resolve(t)}promiseTrailers(){let t=this.data.trailers??e.defaultTrailers;return t instanceof n.RpcError?Promise.reject(t):Promise.resolve(t)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let t of e)t.catch(()=>{})}mergeOptions(e){return a.mergeRpcOptions({},e)}unary(e,t,n){let r=n.meta??{},i=this.promiseHeaders().then(d(this.headerDelay,n.abort)),a=i.catch(e=>{}).then(d(this.responseDelay,n.abort)).then(t=>this.promiseSingleResponse(e)),s=a.catch(e=>{}).then(d(this.afterResponseDelay,n.abort)).then(e=>this.promiseStatus()),c=a.catch(e=>{}).then(d(this.afterResponseDelay,n.abort)).then(e=>this.promiseTrailers());return this.maybeSuppressUncaught(s,c),this.lastInput={single:t},new o.UnaryCall(e,r,t,i,a,s,c)}serverStreaming(e,t,n){let r=n.meta??{},a=this.promiseHeaders().then(d(this.headerDelay,n.abort)),o=new i.RpcOutputStreamController,c=a.then(d(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,o,n.abort)).then(d(this.afterResponseDelay,n.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:t},new s.ServerStreamingCall(e,r,t,a,o,l,u)}clientStreaming(e,t){let n=t.meta??{},r=this.promiseHeaders().then(d(this.headerDelay,t.abort)),i=r.catch(e=>{}).then(d(this.responseDelay,t.abort)).then(t=>this.promiseSingleResponse(e)),a=i.catch(e=>{}).then(d(this.afterResponseDelay,t.abort)).then(e=>this.promiseStatus()),o=i.catch(e=>{}).then(d(this.afterResponseDelay,t.abort)).then(e=>this.promiseTrailers());return this.maybeSuppressUncaught(a,o),this.lastInput=new f(this.data,t.abort),new c.ClientStreamingCall(e,n,this.lastInput,r,i,a,o)}duplex(e,t){let n=t.meta??{},r=this.promiseHeaders().then(d(this.headerDelay,t.abort)),a=new i.RpcOutputStreamController,o=r.then(d(this.responseDelay,t.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,t.abort)).then(d(this.afterResponseDelay,t.abort)),s=o.then(()=>this.promiseStatus()),c=o.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(s,c),this.lastInput=new f(this.data,t.abort),new l.DuplexStreamingCall(e,n,this.lastInput,r,a,s,c)}};e.TestTransport=u,u.defaultHeaders={responseHeader:`test`},u.defaultStatus={code:`OK`,detail:`all good`},u.defaultTrailers={responseTrailer:`test`};function d(e,t){return r=>new Promise((i,a)=>{if(t?.aborted)a(new n.RpcError(`user cancel`,`CANCELLED`));else{let o=setTimeout(()=>i(r),e);t&&t.addEventListener(`abort`,e=>{clearTimeout(o),a(new n.RpcError(`user cancel`,`CANCELLED`))})}})}var f=class{constructor(e,t){this._completed=!1,this._sent=[],this.data=e,this.abort=t}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof n.RpcError)return Promise.reject(this.data.inputMessage);let t=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(d(t,this.abort))}complete(){if(this.data.inputComplete instanceof n.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(d(e,this.abort))}}})),CN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.stackDuplexStreamingInterceptors=e.stackClientStreamingInterceptors=e.stackServerStreamingInterceptors=e.stackUnaryInterceptors=e.stackIntercept=void 0;let t=dN();function n(e,n,r,i,a){if(e==`unary`){let e=(e,t,r)=>n.unary(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(r,a,i)}if(e==`serverStreaming`){let e=(e,t,r)=>n.serverStreaming(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(r,a,i)}if(e==`clientStreaming`){let e=(e,t)=>n.clientStreaming(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(r,i)}if(e==`duplex`){let e=(e,t)=>n.duplex(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(r,i)}t.assertNever(e)}e.stackIntercept=n;function r(e,t,r,i){return n(`unary`,e,t,i,r)}e.stackUnaryInterceptors=r;function i(e,t,r,i){return n(`serverStreaming`,e,t,i,r)}e.stackServerStreamingInterceptors=i;function a(e,t,r){return n(`clientStreaming`,e,t,r)}e.stackClientStreamingInterceptors=a;function o(e,t,r){return n(`duplex`,e,t,r)}e.stackDuplexStreamingInterceptors=o})),wN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ServerCallContextController=void 0,e.ServerCallContextController=class{constructor(e,t,n,r,i={code:`OK`,detail:``}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=t,this.deadline=n,this.trailers={},this._sendRH=r,this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let t=this._listeners;return t.push(e),()=>{let n=t.indexOf(e);n>=0&&t.splice(n,1)}}}})),TN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=pN();Object.defineProperty(e,`ServiceType`,{enumerable:!0,get:function(){return t.ServiceType}});var n=fN();Object.defineProperty(e,`readMethodOptions`,{enumerable:!0,get:function(){return n.readMethodOptions}}),Object.defineProperty(e,`readMethodOption`,{enumerable:!0,get:function(){return n.readMethodOption}}),Object.defineProperty(e,`readServiceOption`,{enumerable:!0,get:function(){return n.readServiceOption}});var r=mN();Object.defineProperty(e,`RpcError`,{enumerable:!0,get:function(){return r.RpcError}});var i=hN();Object.defineProperty(e,`mergeRpcOptions`,{enumerable:!0,get:function(){return i.mergeRpcOptions}});var a=_N();Object.defineProperty(e,`RpcOutputStreamController`,{enumerable:!0,get:function(){return a.RpcOutputStreamController}});var o=SN();Object.defineProperty(e,`TestTransport`,{enumerable:!0,get:function(){return o.TestTransport}});var s=gN();Object.defineProperty(e,`Deferred`,{enumerable:!0,get:function(){return s.Deferred}}),Object.defineProperty(e,`DeferredState`,{enumerable:!0,get:function(){return s.DeferredState}});var c=xN();Object.defineProperty(e,`DuplexStreamingCall`,{enumerable:!0,get:function(){return c.DuplexStreamingCall}});var l=bN();Object.defineProperty(e,`ClientStreamingCall`,{enumerable:!0,get:function(){return l.ClientStreamingCall}});var u=yN();Object.defineProperty(e,`ServerStreamingCall`,{enumerable:!0,get:function(){return u.ServerStreamingCall}});var d=vN();Object.defineProperty(e,`UnaryCall`,{enumerable:!0,get:function(){return d.UnaryCall}});var f=CN();Object.defineProperty(e,`stackIntercept`,{enumerable:!0,get:function(){return f.stackIntercept}}),Object.defineProperty(e,`stackDuplexStreamingInterceptors`,{enumerable:!0,get:function(){return f.stackDuplexStreamingInterceptors}}),Object.defineProperty(e,`stackClientStreamingInterceptors`,{enumerable:!0,get:function(){return f.stackClientStreamingInterceptors}}),Object.defineProperty(e,`stackServerStreamingInterceptors`,{enumerable:!0,get:function(){return f.stackServerStreamingInterceptors}}),Object.defineProperty(e,`stackUnaryInterceptors`,{enumerable:!0,get:function(){return f.stackUnaryInterceptors}});var p=wN();Object.defineProperty(e,`ServerCallContextController`,{enumerable:!0,get:function(){return p.ServerCallContextController}})}))(),$=dN();const EN=new class extends $.MessageType{constructor(){super(`github.actions.results.entities.v1.CacheScope`,[{no:1,name:`scope`,kind:`scalar`,T:9},{no:2,name:`permission`,kind:`scalar`,T:3}])}create(e){let t={scope:``,permission:`0`};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posEN}])}create(e){let t={repositoryId:`0`,scope:[]};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posDN},{no:2,name:`key`,kind:`scalar`,T:9},{no:3,name:`version`,kind:`scalar`,T:9}])}create(e){let t={key:``,version:``};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posDN},{no:2,name:`key`,kind:`scalar`,T:9},{no:3,name:`size_bytes`,kind:`scalar`,T:3},{no:4,name:`version`,kind:`scalar`,T:9}])}create(e){let t={key:``,sizeBytes:`0`,version:``};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posDN},{no:2,name:`key`,kind:`scalar`,T:9},{no:3,name:`restore_keys`,kind:`scalar`,repeat:2,T:9},{no:4,name:`version`,kind:`scalar`,T:9}])}create(e){let t={key:``,restoreKeys:[],version:``};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.poskN.fromJson(e,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let t=AN.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request(`github.actions.results.api.v1.CacheService`,`FinalizeCacheEntryUpload`,`application/json`,t).then(e=>jN.fromJson(e,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let t=MN.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request(`github.actions.results.api.v1.CacheService`,`GetCacheEntryDownloadURL`,`application/json`,t).then(e=>NN.fromJson(e,{ignoreUnknownFields:!0}))}};function FN(e){if(e)try{let t=new URL(e).searchParams.get(`sig`);t&&(kr(t),kr(encodeURIComponent(t)))}catch(t){R(`Failed to parse URL: ${e} ${t instanceof Error?t.message:String(t)}`)}}function IN(e){if(typeof e!=`object`||!e){R(`body is not an object or is null`);return}`signed_upload_url`in e&&typeof e.signed_upload_url==`string`&&FN(e.signed_upload_url),`signed_download_url`in e&&typeof e.signed_download_url==`string`&&FN(e.signed_download_url)}var LN=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},RN=class{constructor(e,t,n,r){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=Fp();this.baseUrl=bM(),t&&(this.maxAttempts=t),n&&(this.baseRetryIntervalMilliseconds=n),r&&(this.retryMultiplier=r),this.httpClient=new Vn(e,[new Wn(i)])}request(e,t,n,r){return LN(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${t}`,this.baseUrl).href;R(`[Request] ${t} ${i}`);let a={"Content-Type":n};try{let{body:e}=yield this.retryableRequest(()=>LN(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(r),a)}));return e}catch(e){throw Error(`Failed to ${t}: ${e.message}`)}})}retryableRequest(e){return LN(this,void 0,void 0,function*(){let t=0,n=``,r=``;for(;t0&&Lr(`You've hit a rate limit, your rate limit will reset in ${t} seconds`)}throw new Yj(`Rate limited: ${n}`)}}catch(e){if(e instanceof SyntaxError&&R(`Raw Body: ${r}`),e instanceof Jj||e instanceof Yj)throw e;if(qj.isNetworkErrorCode(e?.code))throw new qj(e?.code);i=!0,n=e.message}if(!i)throw Error(`Received non-retryable error: ${n}`);if(t+1===this.maxAttempts)throw Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(t);Rr(`Attempt ${t+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),t++}throw Error(`Request failed`)})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Nn.BadGateway,Nn.GatewayTimeout,Nn.InternalServerError,Nn.ServiceUnavailable].includes(e):!1}sleep(e){return LN(this,void 0,void 0,function*(){return new Promise(t=>setTimeout(t,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw Error(`attempt should be a positive integer`);if(e===0)return this.baseRetryIntervalMilliseconds;let t=this.baseRetryIntervalMilliseconds*this.retryMultiplier**+e,n=t*this.retryMultiplier;return Math.trunc(Math.random()*(n-t)+t)}};function zN(e){return new PN(new RN(CM(),e?.maxAttempts,e?.retryIntervalMs,e?.retryMultiplier))}var BN=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const VN=process.platform===`win32`;function HN(){return BN(this,void 0,void 0,function*(){switch(process.platform){case`win32`:{let e=yield Mp(),t=bp;if(e)return{path:e,type:gp.GNU};if(s(t))return{path:t,type:gp.BSD};break}case`darwin`:{let e=yield _r(`gtar`,!1);return e?{path:e,type:gp.GNU}:{path:yield _r(`tar`,!0),type:gp.BSD}}default:break}return{path:yield _r(`tar`,!0),type:gp.GNU}})}function UN(e,t,n){return BN(this,arguments,void 0,function*(e,t,n,r=``){let i=[`"${e.path}"`],a=jp(t),o=`cache.tar`,s=GN(),c=e.type===gp.BSD&&t!==hp.Gzip&&VN;switch(n){case`create`:i.push(`--posix`,`-cf`,c?o:a.replace(RegExp(`\\${u.sep}`,`g`),`/`),`--exclude`,c?o:a.replace(RegExp(`\\${u.sep}`,`g`),`/`),`-P`,`-C`,s.replace(RegExp(`\\${u.sep}`,`g`),`/`),`--files-from`,Sp);break;case`extract`:i.push(`-xf`,c?o:r.replace(RegExp(`\\${u.sep}`,`g`),`/`),`-P`,`-C`,s.replace(RegExp(`\\${u.sep}`,`g`),`/`));break;case`list`:i.push(`-tf`,c?o:r.replace(RegExp(`\\${u.sep}`,`g`),`/`),`-P`);break}if(e.type===gp.GNU)switch(process.platform){case`win32`:i.push(`--force-local`);break;case`darwin`:i.push(`--delay-directory-restore`);break}return i})}function WN(e,t){return BN(this,arguments,void 0,function*(e,t,n=``){let r,i=yield HN(),a=yield UN(i,e,t,n),o=t===`create`?yield qN(i,e):yield KN(i,e,n),s=i.type===gp.BSD&&e!==hp.Gzip&&VN;return r=s&&t!==`create`?[[...o].join(` `),[...a].join(` `)]:[[...a].join(` `),[...o].join(` `)],s?r:[r.join(` `)]})}function GN(){return process.env.GITHUB_WORKSPACE??process.cwd()}function KN(e,t,n){return BN(this,void 0,void 0,function*(){let r=e.type===gp.BSD&&t!==hp.Gzip&&VN;switch(t){case hp.Zstd:return r?[`zstd -d --long=30 --force -o`,xp,n.replace(RegExp(`\\${u.sep}`,`g`),`/`)]:[`--use-compress-program`,VN?`"zstd -d --long=30"`:`unzstd --long=30`];case hp.ZstdWithoutLong:return r?[`zstd -d --force -o`,xp,n.replace(RegExp(`\\${u.sep}`,`g`),`/`)]:[`--use-compress-program`,VN?`"zstd -d"`:`unzstd`];default:return[`-z`]}})}function qN(e,t){return BN(this,void 0,void 0,function*(){let n=jp(t),r=e.type===gp.BSD&&t!==hp.Gzip&&VN;switch(t){case hp.Zstd:return r?[`zstd -T0 --long=30 --force -o`,n.replace(RegExp(`\\${u.sep}`,`g`),`/`),xp]:[`--use-compress-program`,VN?`"zstd -T0 --long=30"`:`zstdmt --long=30`];case hp.ZstdWithoutLong:return r?[`zstd -T0 --force -o`,n.replace(RegExp(`\\${u.sep}`,`g`),`/`),xp]:[`--use-compress-program`,VN?`"zstd -T0"`:`zstdmt`];default:return[`-z`]}})}function JN(e,t){return BN(this,void 0,void 0,function*(){for(let n of e)try{yield Tr(n,void 0,{cwd:t,env:Object.assign(Object.assign({},process.env),{MSYS:`winsymlinks:nativestrict`})})}catch(e){throw Error(`${n.split(` `)[0]} failed with error: ${e?.message}`)}})}function YN(e,t){return BN(this,void 0,void 0,function*(){yield JN(yield WN(t,`list`,e))})}function XN(e,t){return BN(this,void 0,void 0,function*(){yield gr(GN()),yield JN(yield WN(t,`extract`,e))})}function ZN(e,t,n){return BN(this,void 0,void 0,function*(){l(u.join(e,Sp),t.join(` -`)),yield JN(yield WN(n,`create`),e)})}var QN=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},$N=class e extends Error{constructor(t){super(t),this.name=`ValidationError`,Object.setPrototypeOf(this,e.prototype)}},eP=class e extends Error{constructor(t){super(t),this.name=`ReserveCacheError`,Object.setPrototypeOf(this,e.prototype)}},tP=class e extends Error{constructor(t){super(t),this.name=`FinalizeCacheError`,Object.setPrototypeOf(this,e.prototype)}};function nP(e){if(!e||e.length===0)throw new $N(`Path Validation Error: At least one directory or file path is required`)}function rP(e){if(e.length>512)throw new $N(`Key Validation Error: ${e} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(e))throw new $N(`Key Validation Error: ${e} cannot contain commas.`)}function iP(e,t,n,r){return QN(this,arguments,void 0,function*(e,t,n,r,i=!1){let a=yM();switch(R(`Cache service version: ${a}`),nP(e),a){case`v2`:return yield oP(e,t,n,r,i);default:return yield aP(e,t,n,r,i)}})}function aP(e,t,n,r){return QN(this,arguments,void 0,function*(e,t,n,r,i=!1){n||=[];let a=[t,...n];if(R(`Resolved Keys:`),R(JSON.stringify(a)),a.length>10)throw new $N(`Key Validation Error: Keys are limited to a maximum of 10.`);for(let e of a)rP(e);let o=yield Ap(),s=``;try{let t=yield kM(a,e,{compressionMethod:o,enableCrossOsArchive:i});if(!t?.archiveLocation)return;if(r?.lookupOnly)return Rr(`Lookup only - skipping download`),t.cacheKey;s=u.join(yield Tp(),jp(o)),R(`Archive Path: ${s}`),yield jM(t.archiveLocation,s,r),Fr()&&(yield YN(s,o));let n=Ep(s);return Rr(`Cache Size: ~${Math.round(n/(1024*1024))} MB (${n} B)`),yield XN(s,o),Rr(`Cache restored successfully`),t.cacheKey}catch(e){let t=e;if(t.name===$N.name)throw e;t instanceof zn&&typeof t.statusCode==`number`&&t.statusCode>=500?Ir(`Failed to restore: ${e.message}`):Lr(`Failed to restore: ${e.message}`)}finally{try{yield Op(s)}catch(e){R(`Failed to delete archive: ${e}`)}}})}function oP(e,t,n,r){return QN(this,arguments,void 0,function*(e,t,n,r,i=!1){r=Object.assign(Object.assign({},r),{useAzureSdk:!0}),n||=[];let a=[t,...n];if(R(`Resolved Keys:`),R(JSON.stringify(a)),a.length>10)throw new $N(`Key Validation Error: Keys are limited to a maximum of 10.`);for(let e of a)rP(e);let o=``;try{let s=zN(),c=yield Ap(),l={key:t,restoreKeys:n,version:Pp(e,c,i)},d=yield s.GetCacheEntryDownloadURL(l);if(!d.ok){R(`Cache not found for version ${l.version} of keys: ${a.join(`, `)}`);return}if(l.key===d.matchedKey?Rr(`Cache hit for: ${d.matchedKey}`):Rr(`Cache hit for restore-key: ${d.matchedKey}`),r?.lookupOnly)return Rr(`Lookup only - skipping download`),d.matchedKey;o=u.join(yield Tp(),jp(c)),R(`Archive path: ${o}`),R(`Starting download of archive to: ${o}`),yield jM(d.signedDownloadUrl,o,r);let f=Ep(o);return Rr(`Cache Size: ~${Math.round(f/(1024*1024))} MB (${f} B)`),Fr()&&(yield YN(o,c)),yield XN(o,c),Rr(`Cache restored successfully`),d.matchedKey}catch(e){let t=e;if(t.name===$N.name)throw e;t instanceof zn&&typeof t.statusCode==`number`&&t.statusCode>=500?Ir(`Failed to restore: ${e.message}`):Lr(`Failed to restore: ${e.message}`)}finally{try{o&&(yield Op(o))}catch(e){R(`Failed to delete archive: ${e}`)}}})}function sP(e,t,n){return QN(this,arguments,void 0,function*(e,t,n,r=!1){let i=yM();switch(R(`Cache service version: ${i}`),nP(e),rP(t),i){case`v2`:return yield lP(e,t,n,r);default:return yield cP(e,t,n,r)}})}function cP(e,t,n){return QN(this,arguments,void 0,function*(e,t,n,r=!1){let i=yield Ap(),a=-1,o=yield Dp(e);if(R(`Cache Paths:`),R(`${JSON.stringify(o)}`),o.length===0)throw Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);let s=yield Tp(),c=u.join(s,jp(i));R(`Archive Path: ${c}`);try{yield ZN(s,o,i),Fr()&&(yield YN(c,i));let l=Ep(c);if(R(`File Size: ${l}`),l>10737418240&&!vM())throw Error(`Cache size of ~${Math.round(l/(1024*1024))} MB (${l} B) is over the 10GB limit, not saving cache.`);R(`Reserving Cache`);let u=yield MM(t,e,{compressionMethod:i,enableCrossOsArchive:r,cacheSize:l});if(u?.result?.cacheId)a=u?.result?.cacheId;else if(u?.statusCode===400)throw Error(u?.error?.message??`Cache size of ~${Math.round(l/(1024*1024))} MB (${l} B) is over the data cap limit, not saving cache.`);else throw new eP(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${u?.error?.message}`);R(`Saving Cache (ID: ${a})`),yield LM(a,c,``,n)}catch(e){let t=e;if(t.name===$N.name)throw e;t.name===eP.name?Rr(`Failed to save: ${t.message}`):t instanceof zn&&typeof t.statusCode==`number`&&t.statusCode>=500?Ir(`Failed to save: ${t.message}`):Lr(`Failed to save: ${t.message}`)}finally{try{yield Op(c)}catch(e){R(`Failed to delete archive: ${e}`)}}return a})}function lP(e,t,n){return QN(this,arguments,void 0,function*(e,t,n,r=!1){n=Object.assign(Object.assign({},n),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let i=yield Ap(),a=zN(),o=-1,s=yield Dp(e);if(R(`Cache Paths:`),R(`${JSON.stringify(s)}`),s.length===0)throw Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);let c=yield Tp(),l=u.join(c,jp(i));R(`Archive Path: ${l}`);try{yield ZN(c,s,i),Fr()&&(yield YN(l,i));let u=Ep(l);R(`File Size: ${u}`),n.archiveSizeBytes=u,R(`Reserving Cache`);let d=Pp(e,i,r),f={key:t,version:d},p;try{let e=yield a.CreateCacheEntry(f);if(!e.ok)throw e.message&&Lr(`Cache reservation failed: ${e.message}`),Error(e.message||`Response was not ok`);p=e.signedUploadUrl}catch(e){throw R(`Failed to reserve cache: ${e}`),new eP(`Unable to reserve cache with key ${t}, another job may be creating this cache.`)}R(`Attempting to upload cache located at: ${l}`),yield LM(o,l,p,n);let m={key:t,version:d,sizeBytes:`${u}`},h=yield a.FinalizeCacheEntryUpload(m);if(R(`FinalizeCacheEntryUploadResponse: ${h.ok}`),!h.ok)throw h.message?new tP(h.message):Error(`Unable to finalize cache with key ${t}, another job may be finalizing this cache.`);o=parseInt(h.entryId)}catch(e){let t=e;if(t.name===$N.name)throw e;t.name===eP.name?Rr(`Failed to save: ${t.message}`):t.name===tP.name?Lr(t.message):t instanceof zn&&typeof t.statusCode==`number`&&t.statusCode>=500?Ir(`Failed to save: ${t.message}`):Lr(`Failed to save: ${t.message}`)}finally{try{yield Op(l)}catch(e){R(`Failed to delete archive: ${e}`)}}return o})}function uP(e){let t={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return e&&(typeof e.followSymbolicLinks==`boolean`&&(t.followSymbolicLinks=e.followSymbolicLinks,R(`followSymbolicLinks '${t.followSymbolicLinks}'`)),typeof e.implicitDescendants==`boolean`&&(t.implicitDescendants=e.implicitDescendants,R(`implicitDescendants '${t.implicitDescendants}'`)),typeof e.matchDirectories==`boolean`&&(t.matchDirectories=e.matchDirectories,R(`matchDirectories '${t.matchDirectories}'`)),typeof e.omitBrokenSymbolicLinks==`boolean`&&(t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks,R(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)),typeof e.excludeHiddenFiles==`boolean`&&(t.excludeHiddenFiles=e.excludeHiddenFiles,R(`excludeHiddenFiles '${t.excludeHiddenFiles}'`))),t}const dP=process.platform===`win32`;function fP(e){if(e=_P(e),dP&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e))return e;let t=u.dirname(e);return dP&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)&&(t=_P(t)),t}function pP(e,t){if(h(e,`ensureAbsoluteRoot parameter 'root' must not be empty`),h(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`),mP(t))return t;if(dP){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();return h(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`),t[0].toUpperCase()===e[0].toUpperCase()?t.length===2?`${t[0]}:\\${e.substr(3)}`:(e.endsWith(`\\`)||(e+=`\\`),`${t[0]}:\\${e.substr(3)}${t.substr(2)}`):`${t[0]}:\\${t.substr(2)}`}else if(gP(t).match(/^\\$|^\\[^\\]/)){let e=process.cwd();return h(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`),`${e[0]}:\\${t.substr(1)}`}}return h(mP(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`),e.endsWith(`/`)||dP&&e.endsWith(`\\`)||(e+=u.sep),e+t}function mP(e){return h(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`),e=gP(e),dP?e.startsWith(`\\\\`)||/^[A-Z]:\\/i.test(e):e.startsWith(`/`)}function hP(e){return h(e,`isRooted parameter 'itemPath' must not be empty`),e=gP(e),dP?e.startsWith(`\\`)||/^[A-Z]:/i.test(e):e.startsWith(`/`)}function gP(e){return e||=``,dP?(e=e.replace(/\//g,`\\`),(/^\\\\+[^\\]/.test(e)?`\\`:``)+e.replace(/\\\\+/g,`\\`)):e.replace(/\/\/+/g,`/`)}function _P(e){return e?(e=gP(e),!e.endsWith(u.sep)||e===u.sep||dP&&/^[A-Z]:\\$/i.test(e)?e:e.substr(0,e.length-1)):``}var vP;(function(e){e[e.None=0]=`None`,e[e.Directory=1]=`Directory`,e[e.File=2]=`File`,e[e.All=3]=`All`})(vP||={});const yP=process.platform===`win32`;function bP(e){e=e.filter(e=>!e.negate);let t={};for(let n of e){let e=yP?n.searchPath.toUpperCase():n.searchPath;t[e]=`candidate`}let n=[];for(let r of e){let e=yP?r.searchPath.toUpperCase():r.searchPath;if(t[e]===`included`)continue;let i=!1,a=e,o=fP(a);for(;o!==a;){if(t[o]){i=!0;break}a=o,o=fP(a)}i||(n.push(r.searchPath),t[e]=`included`)}return n}function xP(e,t){let n=vP.None;for(let r of e)r.negate?n&=~r.match(t):n|=r.match(t);return n}function SP(e,t){return e.some(e=>!e.negate&&e.partialMatch(t))}const CP=(e,t,n)=>{let r=e instanceof RegExp?wP(e,n):e,i=t instanceof RegExp?wP(t,n):t,a=r!==null&&i!=null&&TP(r,i,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+r.length,a[1]),post:n.slice(a[1]+i.length)}},wP=(e,t)=>{let n=t.match(e);return n?n[0]:null},TP=(e,t,n)=>{let r,i,a,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){if(e===t)return[c,l];for(r=[],a=n.length;u>=0&&!s;){if(u===c)r.push(u),c=n.indexOf(e,u+1);else if(r.length===1){let e=r.pop();e!==void 0&&(s=[e,l])}else i=r.pop(),i!==void 0&&i=0?c:l}r.length&&o!==void 0&&(s=[a,o])}return s},EP=`\0SLASH`+Math.random()+`\0`,DP=`\0OPEN`+Math.random()+`\0`,OP=`\0CLOSE`+Math.random()+`\0`,kP=`\0COMMA`+Math.random()+`\0`,AP=`\0PERIOD`+Math.random()+`\0`,jP=new RegExp(EP,`g`),MP=new RegExp(DP,`g`),NP=new RegExp(OP,`g`),PP=new RegExp(kP,`g`),FP=new RegExp(AP,`g`),IP=/\\\\/g,LP=/\\{/g,RP=/\\}/g,zP=/\\,/g,BP=/\\\./g;function VP(e){return isNaN(e)?e.charCodeAt(0):parseInt(e,10)}function HP(e){return e.replace(IP,EP).replace(LP,DP).replace(RP,OP).replace(zP,kP).replace(BP,AP)}function UP(e){return e.replace(jP,`\\`).replace(MP,`{`).replace(NP,`}`).replace(PP,`,`).replace(FP,`.`)}function WP(e){if(!e)return[``];let t=[],n=CP(`{`,`}`,e);if(!n)return e.split(`,`);let{pre:r,body:i,post:a}=n,o=r.split(`,`);o[o.length-1]+=`{`+i+`}`;let s=WP(a);return a.length&&(o[o.length-1]+=s.shift(),o.push.apply(o,s)),t.push.apply(t,o),t}function GP(e,t={}){if(!e)return[];let{max:n=1e5}=t;return e.slice(0,2)===`{}`&&(e=`\\{\\}`+e.slice(2)),XP(HP(e),n,!0).map(UP)}function KP(e){return`{`+e+`}`}function qP(e){return/^-?0\d/.test(e)}function JP(e,t){return e<=t}function YP(e,t){return e>=t}function XP(e,t,n){let r=[],i=CP(`{`,`}`,e);if(!i)return[e];let a=i.pre,o=i.post.length?XP(i.post,t,!1):[``];if(/\$$/.test(i.pre))for(let e=0;e=0;if(!l&&!u)return i.post.match(/,(?!,).*\}/)?(e=i.pre+`{`+i.body+OP+i.post,XP(e,t,!0)):[e];let d;if(l)d=i.body.split(/\.\./);else if(d=WP(i.body),d.length===1&&d[0]!==void 0&&(d=XP(d[0],t,!1).map(KP),d.length===1))return o.map(e=>i.pre+d[0]+e);let f;if(l&&d[0]!==void 0&&d[1]!==void 0){let e=VP(d[0]),t=VP(d[1]),n=Math.max(d[0].length,d[1].length),r=d.length===3&&d[2]!==void 0?Math.max(Math.abs(VP(d[2])),1):1,i=JP;t0){let n=Array(t+1).join(`0`);e=o<0?`-`+n+e.slice(1):n+e}}f.push(e)}}else{f=[];for(let e=0;e{if(typeof e!=`string`)throw TypeError(`invalid pattern`);if(e.length>65536)throw TypeError(`pattern is too long`)},QP={"[:alnum:]":[`\\p{L}\\p{Nl}\\p{Nd}`,!0],"[:alpha:]":[`\\p{L}\\p{Nl}`,!0],"[:ascii:]":[`\\x00-\\x7f`,!1],"[:blank:]":[`\\p{Zs}\\t`,!0],"[:cntrl:]":[`\\p{Cc}`,!0],"[:digit:]":[`\\p{Nd}`,!0],"[:graph:]":[`\\p{Z}\\p{C}`,!0,!0],"[:lower:]":[`\\p{Ll}`,!0],"[:print:]":[`\\p{C}`,!0],"[:punct:]":[`\\p{P}`,!0],"[:space:]":[`\\p{Z}\\t\\r\\n\\v\\f`,!0],"[:upper:]":[`\\p{Lu}`,!0],"[:word:]":[`\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}`,!0],"[:xdigit:]":[`A-Fa-f0-9`,!1]},$P=e=>e.replace(/[[\]\\-]/g,`\\$&`),eF=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),tF=e=>e.join(``),nF=(e,t)=>{let n=t;if(e.charAt(n)!==`[`)throw Error(`not in a brace expression`);let r=[],i=[],a=n+1,o=!1,s=!1,c=!1,l=!1,u=n,d=``;WHILE:for(;ad?r.push($P(d)+`-`+$P(t)):t===d&&r.push($P(t)),d=``,a++;continue}if(e.startsWith(`-]`,a+1)){r.push($P(t+`-`)),a+=2;continue}if(e.startsWith(`-`,a+1)){d=t,a+=2;continue}r.push($P(t)),a++}if(un?t?e.replace(/\[([^/\\])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\])\]/g,`$1$2`).replace(/\\([^/])/g,`$1`):t?e.replace(/\[([^/\\{}])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,`$1$2`).replace(/\\([^/{}])/g,`$1`);var iF;const aF=new Set([`!`,`?`,`+`,`*`,`@`]),oF=e=>aF.has(e),sF=e=>oF(e.type),cF=new Map([[`!`,[`@`]],[`?`,[`?`,`@`]],[`@`,[`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`]]]),lF=new Map([[`!`,[`?`]],[`@`,[`?`]],[`+`,[`?`,`*`]]]),uF=new Map([[`!`,[`?`,`@`]],[`?`,[`?`,`@`]],[`@`,[`?`,`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`,`?`,`*`]]]),dF=new Map([[`!`,new Map([[`!`,`@`]])],[`?`,new Map([[`*`,`*`],[`+`,`*`]])],[`@`,new Map([[`!`,`!`],[`?`,`?`],[`@`,`@`],[`*`,`*`],[`+`,`+`]])],[`+`,new Map([[`?`,`*`],[`*`,`*`]])]]),fF=`(?!\\.)`,pF=new Set([`[`,`.`]),mF=new Set([`..`,`.`]),hF=new Set(`().*{}+?[]^$\\!`),gF=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),_F=`[^/]`,vF=_F+`*?`,yF=_F+`+?`;let bF=0;var xF=class{type;#e;#t;#n=!1;#r=[];#i;#a;#o;#s=!1;#c;#l;#u=!1;id=++bF;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for(`nodejs.util.inspect.custom`)](){return{"@@type":`AST`,id:this.id,type:this.type,root:this.#e.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,t,n={}){this.type=e,e&&(this.#t=!0),this.#i=t,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#o=this.#e===this?[]:this.#e.#o,e===`!`&&!this.#e.#s&&this.#o.push(this),this.#a=this.#i?this.#i.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!=`string`&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l===void 0?this.type?this.#l=this.type+`(`+this.#r.map(e=>String(e)).join(`|`)+`)`:this.#l=this.#r.map(e=>String(e)).join(``):this.#l}#d(){if(this!==this.#e)throw Error(`should only call on root`);if(this.#s)return this;this.toString(),this.#s=!0;let e;for(;e=this.#o.pop();){if(e.type!==`!`)continue;let t=e,n=t.#i;for(;n;){for(let r=t.#a+1;!n.type&&rtypeof e==`string`?e:e.toJSON()):[this.type,...this.#r.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#s&&this.#i?.type===`!`)&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#a===0)return!0;let e=this.#i;for(let t=0;ttypeof e!=`string`),r=this.#r.map(t=>{let[r,i,a,o]=typeof t==`string`?iF.#C(t,this.#t,n):t.toRegExpSource(e);return this.#t=this.#t||a,this.#n=this.#n||o,r}).join(``),i=``;if(this.isStart()&&typeof this.#r[0]==`string`&&!(this.#r.length===1&&mF.has(this.#r[0]))){let n=pF,a=t&&n.has(r.charAt(0))||r.startsWith(`\\.`)&&n.has(r.charAt(2))||r.startsWith(`\\.\\.`)&&n.has(r.charAt(4)),o=!t&&!e&&n.has(r.charAt(0));i=a?`(?!(?:^|/)\\.\\.?(?:$|/))`:o?fF:``}let a=``;return this.isEnd()&&this.#e.#s&&this.#i?.type===`!`&&(a=`(?:$|\\/)`),[i+r+a,rF(r),this.#t=!!this.#t,this.#n]}let n=this.type===`*`||this.type===`+`,r=this.type===`!`?`(?:(?!(?:`:`(?:`,i=this.#S(t);if(this.isStart()&&this.isEnd()&&!i&&this.type!==`!`){let e=this.toString(),t=this;return t.#r=[e],t.type=null,t.#t=void 0,[e,rF(this.toString()),!1,!1]}let a=!n||e||t?``:this.#S(!0);a===i&&(a=``),a&&(i=`(?:${i})(?:${a})*?`);let o=``;if(this.type===`!`&&this.#u)o=(this.isStart()&&!t?fF:``)+yF;else{let n=this.type===`!`?`))`+(this.isStart()&&!t&&!e?fF:``)+vF+`)`:this.type===`@`?`)`:this.type===`?`?`)?`:this.type===`+`&&a?`)`:this.type===`*`&&a?`)?`:`)${this.type}`;o=r+i+n}return[o,rF(i),this.#t=!!this.#t,this.#n]}#x(){if(sF(this)){let e=0,t=!1;do{t=!0;for(let e=0;e{if(typeof t==`string`)throw Error(`string type in extglob ast??`);let[n,r,i,a]=t.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join(`|`)}static#C(e,t,n=!1){let r=!1,i=``,a=!1,o=!1;for(let s=0;sn?t?e.replace(/[?*()[\]{}]/g,`[$&]`):e.replace(/[?*()[\]\\{}]/g,`\\$&`):t?e.replace(/[?*()[\]]/g,`[$&]`):e.replace(/[?*()[\]\\]/g,`\\$&`),CF=(e,t,n={})=>(ZP(t),!n.nocomment&&t.charAt(0)===`#`?!1:new ZF(t,n).match(e)),wF=/^\*+([^+@!?*[(]*)$/,TF=e=>t=>!t.startsWith(`.`)&&t.endsWith(e),EF=e=>t=>t.endsWith(e),DF=e=>(e=e.toLowerCase(),t=>!t.startsWith(`.`)&&t.toLowerCase().endsWith(e)),OF=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),kF=/^\*+\.\*+$/,AF=e=>!e.startsWith(`.`)&&e.includes(`.`),jF=e=>e!==`.`&&e!==`..`&&e.includes(`.`),MF=/^\.\*+$/,NF=e=>e!==`.`&&e!==`..`&&e.startsWith(`.`),PF=/^\*+$/,FF=e=>e.length!==0&&!e.startsWith(`.`),IF=e=>e.length!==0&&e!==`.`&&e!==`..`,LF=/^\?+([^+@!?*[(]*)?$/,RF=([e,t=``])=>{let n=HF([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},zF=([e,t=``])=>{let n=UF([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},BF=([e,t=``])=>{let n=UF([e]);return t?e=>n(e)&&e.endsWith(t):n},VF=([e,t=``])=>{let n=HF([e]);return t?e=>n(e)&&e.endsWith(t):n},HF=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(`.`)},UF=([e])=>{let t=e.length;return e=>e.length===t&&e!==`.`&&e!==`..`},WF=typeof process==`object`&&process?typeof process.env==`object`&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:`posix`,GF={win32:{sep:`\\`},posix:{sep:`/`}};CF.sep=WF===`win32`?GF.win32.sep:GF.posix.sep;const KF=Symbol(`globstar **`);CF.GLOBSTAR=KF,CF.filter=(e,t={})=>n=>CF(n,e,t);const qF=(e,t={})=>Object.assign({},e,t);CF.defaults=e=>{if(!e||typeof e!=`object`||!Object.keys(e).length)return CF;let t=CF;return Object.assign((n,r,i={})=>t(n,r,qF(e,i)),{Minimatch:class extends t.Minimatch{constructor(t,n={}){super(t,qF(e,n))}static defaults(n){return t.defaults(qF(e,n)).Minimatch}},AST:class extends t.AST{constructor(t,n,r={}){super(t,n,qF(e,r))}static fromGlob(n,r={}){return t.AST.fromGlob(n,qF(e,r))}},unescape:(n,r={})=>t.unescape(n,qF(e,r)),escape:(n,r={})=>t.escape(n,qF(e,r)),filter:(n,r={})=>t.filter(n,qF(e,r)),defaults:n=>t.defaults(qF(e,n)),makeRe:(n,r={})=>t.makeRe(n,qF(e,r)),braceExpand:(n,r={})=>t.braceExpand(n,qF(e,r)),match:(n,r,i={})=>t.match(n,r,qF(e,i)),sep:t.sep,GLOBSTAR:KF})};const JF=(e,t={})=>(ZP(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:GP(e,{max:t.braceExpandMax}));CF.braceExpand=JF,CF.makeRe=(e,t={})=>new ZF(e,t).makeRe(),CF.match=(e,t,n={})=>{let r=new ZF(t,n);return e=e.filter(e=>r.match(e)),r.options.nonull&&!e.length&&e.push(t),e};const YF=/[?*]|[+@!]\(.*?\)|\[|\]/,XF=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`);var ZF=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){ZP(e),t||={},this.options=t,this.maxGlobstarRecursion=t.maxGlobstarRecursion??200,this.pattern=e,this.platform=t.platform||WF,this.isWindows=this.platform===`win32`,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,`/`)),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot===void 0?!!(this.isWindows&&this.nocase):t.windowsNoMagicRoot,this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!=`string`)return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)===`#`){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...e)=>console.error(...e)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let r=this.globParts.map((e,t,n)=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=e[0]===``&&e[1]===``&&(e[2]===`?`||!YF.test(e[2]))&&!YF.test(e[3]),n=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(n)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>e.indexOf(!1)===-1),this.isWindows)for(let e=0;e=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(e=>{let t=-1;for(;(t=e.indexOf(`**`,t+1))!==-1;){let n=t;for(;e[n+1]===`**`;)n++;n!==t&&e.splice(t,n-t)}return e})}levelOneOptimize(e){return e.map(e=>(e=e.reduce((e,t)=>{let n=e[e.length-1];return t===`**`&&n===`**`?e:t===`..`&&n&&n!==`..`&&n!==`.`&&n!==`**`?(e.pop(),e):(e.push(t),e)},[]),e.length===0?[``]:e))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;nr&&n.splice(r+1,i-r);let a=n[r+1],o=n[r+2],s=n[r+3];if(a!==`..`||!o||o===`.`||o===`..`||!s||s===`.`||s===`..`)continue;t=!0,n.splice(r,1);let c=n.slice(0);c[r]=`**`,e.push(c),r--}if(!this.preserveMultipleSlashes){for(let e=1;ee.length)}partsMatch(e,t,n=!1){let r=0,i=0,a=[],o=``;for(;r=2&&(e=this.levelTwoFileOptimize(e)),t.includes(KF)?this.#e(e,t,n,r,i):this.#n(e,t,n,r,i)}#e(e,t,n,r,i){let a=t.indexOf(KF,i),o=t.lastIndexOf(KF),[s,c,l]=n?[t.slice(i,a),t.slice(a+1),[]]:[t.slice(i,a),t.slice(a+1,o),t.slice(o+1)];if(s.length){let t=e.slice(r,r+s.length);if(!this.#n(t,s,n,0,0))return!1;r+=s.length,i+=s.length}let u=0;if(l.length){if(l.length+r>e.length)return!1;let t=e.length-l.length;if(this.#n(e,l,n,t,0))u=l.length;else{if(e[e.length-1]!==``||r+l.length===e.length||(t--,!this.#n(e,l,n,t,0)))return!1;u=l.length+1}}if(!c.length){let t=!!u;for(let n=r;n{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(``))r.add(t);return typeof e==`string`?XF(e):e===KF?KF:e._src});t.forEach((e,r)=>{let i=t[r+1],a=t[r-1];e!==KF||a===KF||(a===void 0?i!==void 0&&i!==KF?t[r+1]=`(?:\\/|`+n+`\\/)?`+i:t[r]=n:i===void 0?t[r-1]=a+`(?:\\/|\\/`+n+`)?`:i!==KF&&(t[r-1]=a+`(?:\\/|\\/`+n+`\\/)`+i,t[r+1]=KF))});let i=t.filter(e=>e!==KF);if(this.partial&&i.length>=1){let e=[];for(let t=1;t<=i.length;t++)e.push(i.slice(0,t).join(`/`));return`(?:`+e.join(`|`)+`)`}return i.join(`/`)}).join(`|`),[a,o]=e.length>1?[`(?:`,`)`]:[``,``];i=`^`+a+i+o+`$`,this.partial&&(i=`^(?:\\/|`+a+i.slice(1,-1)+o+`)$`),this.negate&&(i=`^(?!`+i+`).+$`);try{this.regexp=new RegExp(i,[...r].join(``))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split(`/`):this.isWindows&&/^\/\/[^/]+/.test(e)?[``,...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug(`match`,e,this.pattern),this.comment)return!1;if(this.empty)return e===``;if(e===`/`&&t)return!0;let n=this.options;this.isWindows&&(e=e.split(`\\`).join(`/`));let r=this.slashSplit(e);this.debug(this.pattern,`split`,r);let i=this.set;this.debug(this.pattern,`set`,i);let a=r[r.length-1];if(!a)for(let e=r.length-2;!a&&e>=0;e--)a=r[e];for(let e of i){let i=r;if(n.matchBase&&e.length===1&&(i=[a]),this.matchOne(i,e,t))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return CF.defaults(e).Minimatch}};CF.AST=xF,CF.Minimatch=ZF,CF.escape=SF,CF.unescape=rF;const QF=process.platform===`win32`;var $F=class{constructor(e){if(this.segments=[],typeof e==`string`)if(h(e,`Parameter 'itemPath' must not be empty`),e=_P(e),!hP(e))this.segments=e.split(u.sep);else{let t=e,n=fP(t);for(;n!==t;){let e=u.basename(t);this.segments.unshift(e),t=n,n=fP(t)}this.segments.unshift(t)}else{h(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;te.getLiteral(t)).filter(e=>!o&&!(o=e===``));this.searchPath=new $F(s).toString(),this.rootRegExp=new RegExp(e.regExpEscape(s[0]),eI?`i`:``),this.isImplicitPattern=n;let c={dot:!0,nobrace:!0,nocase:eI,nocomment:!0,noext:!0,nonegate:!0};a=eI?a.replace(/\\/g,`/`):a,this.minimatch=new ZF(a,c)}match(e){return this.segments[this.segments.length-1]===`**`?(e=gP(e),!e.endsWith(u.sep)&&this.isImplicitPattern===!1&&(e=`${e}${u.sep}`)):e=_P(e),this.minimatch.match(e)?this.trailingSeparator?vP.Directory:vP.All:vP.None}partialMatch(e){return e=_P(e),fP(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(eI?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(eI?e:e.replace(/\\/g,`\\\\`)).replace(/(\[)(?=[^/]+\])/g,`[[]`).replace(/\?/g,`[?]`).replace(/\*/g,`[*]`)}static fixupPattern(n,r){h(n,`pattern cannot be empty`);let i=new $F(n).segments.map(t=>e.getLiteral(t));if(h(i.every((e,t)=>(e!==`.`||t===0)&&e!==`..`),`Invalid pattern '${n}'. Relative pathing '.' and '..' is not allowed.`),h(!hP(n)||i[0],`Invalid pattern '${n}'. Root segment must not contain globs.`),n=gP(n),n===`.`||n.startsWith(`.${u.sep}`))n=e.globEscape(process.cwd())+n.substr(1);else if(n===`~`||n.startsWith(`~${u.sep}`))r||=t.homedir(),h(r,`Unable to determine HOME directory`),h(mP(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),n=e.globEscape(r)+n.substr(1);else if(eI&&(n.match(/^[A-Z]:$/i)||n.match(/^[A-Z]:[^\\]/i))){let t=pP(`C:\\dummy-root`,n.substr(0,2));n.length>2&&!t.endsWith(`\\`)&&(t+=`\\`),n=e.globEscape(t)+n.substr(2)}else if(eI&&(n===`\\`||n.match(/^\\[^\\]/))){let t=pP(`C:\\dummy-root`,`\\`);t.endsWith(`\\`)||(t+=`\\`),n=e.globEscape(t)+n.substr(1)}else n=pP(e.globEscape(process.cwd()),n);return gP(n)}static getLiteral(e){let t=``;for(let n=0;n=0){if(r.length>1)return``;if(r){t+=r,n=i;continue}}}t+=r}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,`\\$&`)}},nI=class{constructor(e,t){this.path=e,this.level=t}},rI=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},iI=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},aI=function(e){return this instanceof aI?(this.v=e,this):new aI(e)},oI=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof aI?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};const sI=process.platform===`win32`;var cI=class e{constructor(e){this.patterns=[],this.searchPaths=[],this.options=uP(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return rI(this,void 0,void 0,function*(){var e,t,n,r;let i=[];try{for(var a=!0,o=iI(this.globGenerator()),s;s=yield o.next(),e=s.done,!e;a=!0){r=s.value,a=!1;let e=r;i.push(e)}}catch(e){t={error:e}}finally{try{!a&&!e&&(n=o.return)&&(yield n.call(o))}finally{if(t)throw t.error}}return i})}globGenerator(){return oI(this,arguments,function*(){let t=uP(this.options),n=[];for(let e of this.patterns)n.push(e),t.implicitDescendants&&(e.trailingSeparator||e.segments[e.segments.length-1]!==`**`)&&n.push(new tI(e.negate,!0,e.segments.concat(`**`)));let r=[];for(let e of bP(n)){R(`Search path '${e}'`);try{yield aI(a.promises.lstat(e))}catch(e){if(e.code===`ENOENT`)continue;throw e}r.unshift(new nI(e,1))}let i=[];for(;r.length;){let o=r.pop(),s=xP(n,o.path),c=!!s||SP(n,o.path);if(!s&&!c)continue;let l=yield aI(e.stat(o,t,i));if(l&&!(t.excludeHiddenFiles&&u.basename(o.path).match(/^\./)))if(l.isDirectory()){if(s&vP.Directory&&t.matchDirectories)yield yield aI(o.path);else if(!c)continue;let e=o.level+1,n=(yield aI(a.promises.readdir(o.path))).map(t=>new nI(u.join(o.path,t),e));r.push(...n.reverse())}else s&vP.File&&(yield yield aI(o.path))}})}static create(t,n){return rI(this,void 0,void 0,function*(){let r=new e(n);sI&&(t=t.replace(/\r\n/g,` +`+r(t)+i(t),o=T(`sha256`,e.accountKey).update(a,`utf8`).digest(`base64`);t.headers.set(V.AUTHORIZATION,`SharedKey ${e.accountName}:${o}`)}function n(e,t){let n=e.headers.get(t);return!n||t===V.CONTENT_LENGTH&&n===`0`?``:n}function r(e){let t=[];for(let[n,r]of e.headers)n.toLowerCase().startsWith(V.PREFIX_FOR_STORAGE)&&t.push({name:n,value:r});t.sort((e,t)=>nS(e.name.toLowerCase(),t.name.toLowerCase())),t=t.filter((e,t,n)=>!(t>0&&e.name.toLowerCase()===n[t-1].name.toLowerCase()));let n=``;return t.forEach(e=>{n+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()}\n`}),n}function i(t){let n=Wx(t.url)||`/`,r=``;r+=`/${e.accountName}${n}`;let i=Gx(t.url),a={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let n=t.toLowerCase();a[n]=i[t],e.push(n)}e.sort();for(let t of e)r+=`\n${t}:${decodeURIComponent(a[t])}`}return r}return{name:`storageSharedKeyCredentialPolicy`,async sendRequest(e,n){return t(e),n(e)}}}function yS(){return{name:`storageRequestFailureDetailsParserPolicy`,async sendRequest(e,t){try{return await t(e)}catch(e){throw typeof e==`object`&&e&&e.response&&e.response.parsedBody&&e.response.parsedBody.code===`InvalidHeaderValue`&&e.response.parsedBody.HeaderName===`x-ms-version`&&(e.message=`The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information. +`),e}}}}var bS=class{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,`base64`)}computeHMACSHA256(e){return T(`sha256`,this.key).update(e,`utf8`).digest(`base64`)}};const xS=`12.31.0`,SS=`2026-02-06`,CS=5e4,wS=4*1024*1024,TS={Parameters:{FORCE_BROWSER_NO_CACHE:`_`,SIGNATURE:`sig`,SNAPSHOT:`snapshot`,VERSIONID:`versionid`,TIMEOUT:`timeout`}},ES=`Access-Control-Allow-Origin.Cache-Control.Content-Length.Content-Type.Date.Request-Id.traceparent.Transfer-Encoding.User-Agent.x-ms-client-request-id.x-ms-date.x-ms-error-code.x-ms-request-id.x-ms-return-client-request-id.x-ms-version.Accept-Ranges.Content-Disposition.Content-Encoding.Content-Language.Content-MD5.Content-Range.ETag.Last-Modified.Server.Vary.x-ms-content-crc64.x-ms-copy-action.x-ms-copy-completion-time.x-ms-copy-id.x-ms-copy-progress.x-ms-copy-status.x-ms-has-immutability-policy.x-ms-has-legal-hold.x-ms-lease-state.x-ms-lease-status.x-ms-range.x-ms-request-server-encrypted.x-ms-server-encrypted.x-ms-snapshot.x-ms-source-range.If-Match.If-Modified-Since.If-None-Match.If-Unmodified-Since.x-ms-access-tier.x-ms-access-tier-change-time.x-ms-access-tier-inferred.x-ms-account-kind.x-ms-archive-status.x-ms-blob-append-offset.x-ms-blob-cache-control.x-ms-blob-committed-block-count.x-ms-blob-condition-appendpos.x-ms-blob-condition-maxsize.x-ms-blob-content-disposition.x-ms-blob-content-encoding.x-ms-blob-content-language.x-ms-blob-content-length.x-ms-blob-content-md5.x-ms-blob-content-type.x-ms-blob-public-access.x-ms-blob-sequence-number.x-ms-blob-type.x-ms-copy-destination-snapshot.x-ms-creation-time.x-ms-default-encryption-scope.x-ms-delete-snapshots.x-ms-delete-type-permanent.x-ms-deny-encryption-scope-override.x-ms-encryption-algorithm.x-ms-if-sequence-number-eq.x-ms-if-sequence-number-le.x-ms-if-sequence-number-lt.x-ms-incremental-copy.x-ms-lease-action.x-ms-lease-break-period.x-ms-lease-duration.x-ms-lease-id.x-ms-lease-time.x-ms-page-write.x-ms-proposed-lease-id.x-ms-range-get-content-md5.x-ms-rehydrate-priority.x-ms-sequence-number-action.x-ms-sku-name.x-ms-source-content-md5.x-ms-source-if-match.x-ms-source-if-modified-since.x-ms-source-if-none-match.x-ms-source-if-unmodified-since.x-ms-tag-count.x-ms-encryption-key-sha256.x-ms-copy-source-error-code.x-ms-copy-source-status-code.x-ms-if-tags.x-ms-source-if-tags`.split(`.`),DS=`comp.maxresults.rscc.rscd.rsce.rscl.rsct.se.si.sip.sp.spr.sr.srt.ss.st.sv.include.marker.prefix.copyid.restype.blockid.blocklisttype.delimiter.prevsnapshot.ske.skoid.sks.skt.sktid.skv.snapshot`.split(`.`),OS=[`10000`,`10001`,`10002`,`10003`,`10004`,`10100`,`10101`,`10102`,`10103`,`10104`,`11000`,`11001`,`11002`,`11003`,`11004`,`11100`,`11101`,`11102`,`11103`,`11104`];function kS(e){if(!e||typeof e!=`object`)return!1;let t=e;return Array.isArray(t.factories)&&typeof t.options==`object`&&typeof t.toServiceClientOptions==`function`}var AS=class{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function jS(e,t={}){e||=new Qx;let n=new AS([],t);return n._credential=e,n}function MS(e){let t=[IS,FS,LS,RS,zS,BS,HS];if(e.factories.length){let n=e.factories.filter(e=>!t.some(t=>t(e)));if(n.length){let e=n.some(e=>VS(e));return{wrappedPolicies:ty(n),afterRetry:e}}}}function NS(e){let{httpClient:t,...n}=e.options,r=e._coreHttpClient;r||(r=t?ny(t):zx(),e._coreHttpClient=r);let i=e._corePipeline;if(!i){let t=`azsdk-js-azure-storage-blob/${xS}`,r=n.userAgentOptions&&n.userAgentOptions.userAgentPrefix?`${n.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;i=vv({...n,loggingOptions:{additionalAllowedHeaderNames:ES,additionalAllowedQueryParameters:DS,logger:Nx.info},userAgentOptions:{userAgentPrefix:r},serializationOptions:{stringifyXML:jx,serializerOptions:{xml:{xmlCharKey:`#`}}},deserializationOptions:{parseXML:Mx,serializerOptions:{xml:{xmlCharKey:`#`}}}}),i.removePolicy({phase:`Retry`}),i.removePolicy({name:`decompressResponsePolicy`}),i.addPolicy(pS()),i.addPolicy(_S(n.retryOptions),{phase:`Retry`}),i.addPolicy(yS()),i.addPolicy(fS());let a=MS(e);a&&i.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:`Retry`}:void 0);let o=PS(e);c_(o)?i.addPolicy(a_({credential:o,scopes:n.audience??`https://storage.azure.com/.default`,challengeCallbacks:{authorizeRequestOnChallenge:Iv}}),{phase:`Sign`}):o instanceof aS&&i.addPolicy(vS({accountName:o.accountName,accountKey:o.accountKey}),{phase:`Sign`}),e._corePipeline=i}return{...n,allowInsecureConnection:!0,httpClient:r,pipeline:i}}function PS(e){if(e._credential)return e._credential;let t=new Qx;for(let n of e.factories)if(c_(n.credential))t=n.credential;else if(FS(n))return n;return t}function FS(e){return e instanceof aS?!0:e.constructor.name===`StorageSharedKeyCredential`}function IS(e){return e instanceof Qx?!0:e.constructor.name===`AnonymousCredential`}function LS(e){return c_(e.credential)}function RS(e){return e instanceof Jx?!0:e.constructor.name===`StorageBrowserPolicyFactory`}function zS(e){return e instanceof dS?!0:e.constructor.name===`StorageRetryPolicyFactory`}function BS(e){return e.constructor.name===`TelemetryPolicyFactory`}function VS(e){return e.constructor.name===`InjectorPolicyFactory`}function HS(e){let t=[`GenerateClientRequestIdPolicy`,`TracingPolicy`,`LogPolicy`,`ProxyPolicy`,`DisableResponseDecompressionPolicy`,`KeepAlivePolicy`,`DeserializationPolicy`],n=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog(e){return!1}}).constructor.name;return t.some(e=>n.startsWith(e))}var US=Oe({AccessPolicy:()=>cC,AppendBlobAppendBlockExceptionHeaders:()=>UT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>GT,AppendBlobAppendBlockFromUrlHeaders:()=>WT,AppendBlobAppendBlockHeaders:()=>HT,AppendBlobCreateExceptionHeaders:()=>VT,AppendBlobCreateHeaders:()=>BT,AppendBlobSealExceptionHeaders:()=>qT,AppendBlobSealHeaders:()=>KT,ArrowConfiguration:()=>OC,ArrowField:()=>kC,BlobAbortCopyFromURLExceptionHeaders:()=>dT,BlobAbortCopyFromURLHeaders:()=>uT,BlobAcquireLeaseExceptionHeaders:()=>Yw,BlobAcquireLeaseHeaders:()=>Jw,BlobBreakLeaseExceptionHeaders:()=>rT,BlobBreakLeaseHeaders:()=>nT,BlobChangeLeaseExceptionHeaders:()=>tT,BlobChangeLeaseHeaders:()=>eT,BlobCopyFromURLExceptionHeaders:()=>lT,BlobCopyFromURLHeaders:()=>cT,BlobCreateSnapshotExceptionHeaders:()=>aT,BlobCreateSnapshotHeaders:()=>iT,BlobDeleteExceptionHeaders:()=>Nw,BlobDeleteHeaders:()=>Mw,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>Uw,BlobDeleteImmutabilityPolicyHeaders:()=>Hw,BlobDownloadExceptionHeaders:()=>kw,BlobDownloadHeaders:()=>Ow,BlobFlatListSegment:()=>uC,BlobGetAccountInfoExceptionHeaders:()=>hT,BlobGetAccountInfoHeaders:()=>mT,BlobGetPropertiesExceptionHeaders:()=>jw,BlobGetPropertiesHeaders:()=>Aw,BlobGetTagsExceptionHeaders:()=>yT,BlobGetTagsHeaders:()=>vT,BlobHierarchyListSegment:()=>hC,BlobItemInternal:()=>dC,BlobName:()=>fC,BlobPrefix:()=>gC,BlobPropertiesInternal:()=>pC,BlobQueryExceptionHeaders:()=>_T,BlobQueryHeaders:()=>gT,BlobReleaseLeaseExceptionHeaders:()=>Zw,BlobReleaseLeaseHeaders:()=>Xw,BlobRenewLeaseExceptionHeaders:()=>$w,BlobRenewLeaseHeaders:()=>Qw,BlobServiceProperties:()=>WS,BlobServiceStatistics:()=>XS,BlobSetExpiryExceptionHeaders:()=>Lw,BlobSetExpiryHeaders:()=>Iw,BlobSetHttpHeadersExceptionHeaders:()=>zw,BlobSetHttpHeadersHeaders:()=>Rw,BlobSetImmutabilityPolicyExceptionHeaders:()=>Vw,BlobSetImmutabilityPolicyHeaders:()=>Bw,BlobSetLegalHoldExceptionHeaders:()=>Gw,BlobSetLegalHoldHeaders:()=>Ww,BlobSetMetadataExceptionHeaders:()=>qw,BlobSetMetadataHeaders:()=>Kw,BlobSetTagsExceptionHeaders:()=>xT,BlobSetTagsHeaders:()=>bT,BlobSetTierExceptionHeaders:()=>pT,BlobSetTierHeaders:()=>fT,BlobStartCopyFromURLExceptionHeaders:()=>sT,BlobStartCopyFromURLHeaders:()=>oT,BlobTag:()=>oC,BlobTags:()=>aC,BlobUndeleteExceptionHeaders:()=>Fw,BlobUndeleteHeaders:()=>Pw,Block:()=>yC,BlockBlobCommitBlockListExceptionHeaders:()=>rE,BlockBlobCommitBlockListHeaders:()=>nE,BlockBlobGetBlockListExceptionHeaders:()=>aE,BlockBlobGetBlockListHeaders:()=>iE,BlockBlobPutBlobFromUrlExceptionHeaders:()=>ZT,BlockBlobPutBlobFromUrlHeaders:()=>XT,BlockBlobStageBlockExceptionHeaders:()=>$T,BlockBlobStageBlockFromURLExceptionHeaders:()=>tE,BlockBlobStageBlockFromURLHeaders:()=>eE,BlockBlobStageBlockHeaders:()=>QT,BlockBlobUploadExceptionHeaders:()=>YT,BlockBlobUploadHeaders:()=>JT,BlockList:()=>vC,BlockLookupList:()=>_C,ClearRange:()=>SC,ContainerAcquireLeaseExceptionHeaders:()=>pw,ContainerAcquireLeaseHeaders:()=>fw,ContainerBreakLeaseExceptionHeaders:()=>yw,ContainerBreakLeaseHeaders:()=>vw,ContainerChangeLeaseExceptionHeaders:()=>xw,ContainerChangeLeaseHeaders:()=>bw,ContainerCreateExceptionHeaders:()=>qC,ContainerCreateHeaders:()=>KC,ContainerDeleteExceptionHeaders:()=>ZC,ContainerDeleteHeaders:()=>XC,ContainerFilterBlobsExceptionHeaders:()=>dw,ContainerFilterBlobsHeaders:()=>uw,ContainerGetAccessPolicyExceptionHeaders:()=>tw,ContainerGetAccessPolicyHeaders:()=>ew,ContainerGetAccountInfoExceptionHeaders:()=>Dw,ContainerGetAccountInfoHeaders:()=>Ew,ContainerGetPropertiesExceptionHeaders:()=>YC,ContainerGetPropertiesHeaders:()=>JC,ContainerItem:()=>$S,ContainerListBlobFlatSegmentExceptionHeaders:()=>Cw,ContainerListBlobFlatSegmentHeaders:()=>Sw,ContainerListBlobHierarchySegmentExceptionHeaders:()=>Tw,ContainerListBlobHierarchySegmentHeaders:()=>ww,ContainerProperties:()=>eC,ContainerReleaseLeaseExceptionHeaders:()=>hw,ContainerReleaseLeaseHeaders:()=>mw,ContainerRenameExceptionHeaders:()=>sw,ContainerRenameHeaders:()=>ow,ContainerRenewLeaseExceptionHeaders:()=>_w,ContainerRenewLeaseHeaders:()=>gw,ContainerRestoreExceptionHeaders:()=>aw,ContainerRestoreHeaders:()=>iw,ContainerSetAccessPolicyExceptionHeaders:()=>rw,ContainerSetAccessPolicyHeaders:()=>nw,ContainerSetMetadataExceptionHeaders:()=>$C,ContainerSetMetadataHeaders:()=>QC,ContainerSubmitBatchExceptionHeaders:()=>lw,ContainerSubmitBatchHeaders:()=>cw,CorsRule:()=>JS,DelimitedTextConfiguration:()=>EC,FilterBlobItem:()=>iC,FilterBlobSegment:()=>rC,GeoReplication:()=>ZS,JsonTextConfiguration:()=>DC,KeyInfo:()=>tC,ListBlobsFlatSegmentResponse:()=>lC,ListBlobsHierarchySegmentResponse:()=>mC,ListContainersSegmentResponse:()=>QS,Logging:()=>GS,Metrics:()=>qS,PageBlobClearPagesExceptionHeaders:()=>DT,PageBlobClearPagesHeaders:()=>ET,PageBlobCopyIncrementalExceptionHeaders:()=>zT,PageBlobCopyIncrementalHeaders:()=>RT,PageBlobCreateExceptionHeaders:()=>CT,PageBlobCreateHeaders:()=>ST,PageBlobGetPageRangesDiffExceptionHeaders:()=>NT,PageBlobGetPageRangesDiffHeaders:()=>MT,PageBlobGetPageRangesExceptionHeaders:()=>jT,PageBlobGetPageRangesHeaders:()=>AT,PageBlobResizeExceptionHeaders:()=>FT,PageBlobResizeHeaders:()=>PT,PageBlobUpdateSequenceNumberExceptionHeaders:()=>LT,PageBlobUpdateSequenceNumberHeaders:()=>IT,PageBlobUploadPagesExceptionHeaders:()=>TT,PageBlobUploadPagesFromURLExceptionHeaders:()=>kT,PageBlobUploadPagesFromURLHeaders:()=>OT,PageBlobUploadPagesHeaders:()=>wT,PageList:()=>bC,PageRange:()=>xC,QueryFormat:()=>TC,QueryRequest:()=>CC,QuerySerialization:()=>wC,RetentionPolicy:()=>KS,ServiceFilterBlobsExceptionHeaders:()=>GC,ServiceFilterBlobsHeaders:()=>WC,ServiceGetAccountInfoExceptionHeaders:()=>VC,ServiceGetAccountInfoHeaders:()=>BC,ServiceGetPropertiesExceptionHeaders:()=>NC,ServiceGetPropertiesHeaders:()=>MC,ServiceGetStatisticsExceptionHeaders:()=>FC,ServiceGetStatisticsHeaders:()=>PC,ServiceGetUserDelegationKeyExceptionHeaders:()=>zC,ServiceGetUserDelegationKeyHeaders:()=>RC,ServiceListContainersSegmentExceptionHeaders:()=>LC,ServiceListContainersSegmentHeaders:()=>IC,ServiceSetPropertiesExceptionHeaders:()=>jC,ServiceSetPropertiesHeaders:()=>AC,ServiceSubmitBatchExceptionHeaders:()=>UC,ServiceSubmitBatchHeaders:()=>HC,SignedIdentifier:()=>sC,StaticWebsite:()=>YS,StorageError:()=>H,UserDelegationKey:()=>nC});const WS={serializedName:`BlobServiceProperties`,xmlName:`StorageServiceProperties`,type:{name:`Composite`,className:`BlobServiceProperties`,modelProperties:{blobAnalyticsLogging:{serializedName:`Logging`,xmlName:`Logging`,type:{name:`Composite`,className:`Logging`}},hourMetrics:{serializedName:`HourMetrics`,xmlName:`HourMetrics`,type:{name:`Composite`,className:`Metrics`}},minuteMetrics:{serializedName:`MinuteMetrics`,xmlName:`MinuteMetrics`,type:{name:`Composite`,className:`Metrics`}},cors:{serializedName:`Cors`,xmlName:`Cors`,xmlIsWrapped:!0,xmlElementName:`CorsRule`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`CorsRule`}}}},defaultServiceVersion:{serializedName:`DefaultServiceVersion`,xmlName:`DefaultServiceVersion`,type:{name:`String`}},deleteRetentionPolicy:{serializedName:`DeleteRetentionPolicy`,xmlName:`DeleteRetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`}},staticWebsite:{serializedName:`StaticWebsite`,xmlName:`StaticWebsite`,type:{name:`Composite`,className:`StaticWebsite`}}}}},GS={serializedName:`Logging`,type:{name:`Composite`,className:`Logging`,modelProperties:{version:{serializedName:`Version`,required:!0,xmlName:`Version`,type:{name:`String`}},deleteProperty:{serializedName:`Delete`,required:!0,xmlName:`Delete`,type:{name:`Boolean`}},read:{serializedName:`Read`,required:!0,xmlName:`Read`,type:{name:`Boolean`}},write:{serializedName:`Write`,required:!0,xmlName:`Write`,type:{name:`Boolean`}},retentionPolicy:{serializedName:`RetentionPolicy`,xmlName:`RetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`}}}}},KS={serializedName:`RetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`,modelProperties:{enabled:{serializedName:`Enabled`,required:!0,xmlName:`Enabled`,type:{name:`Boolean`}},days:{constraints:{InclusiveMinimum:1},serializedName:`Days`,xmlName:`Days`,type:{name:`Number`}}}}},qS={serializedName:`Metrics`,type:{name:`Composite`,className:`Metrics`,modelProperties:{version:{serializedName:`Version`,xmlName:`Version`,type:{name:`String`}},enabled:{serializedName:`Enabled`,required:!0,xmlName:`Enabled`,type:{name:`Boolean`}},includeAPIs:{serializedName:`IncludeAPIs`,xmlName:`IncludeAPIs`,type:{name:`Boolean`}},retentionPolicy:{serializedName:`RetentionPolicy`,xmlName:`RetentionPolicy`,type:{name:`Composite`,className:`RetentionPolicy`}}}}},JS={serializedName:`CorsRule`,type:{name:`Composite`,className:`CorsRule`,modelProperties:{allowedOrigins:{serializedName:`AllowedOrigins`,required:!0,xmlName:`AllowedOrigins`,type:{name:`String`}},allowedMethods:{serializedName:`AllowedMethods`,required:!0,xmlName:`AllowedMethods`,type:{name:`String`}},allowedHeaders:{serializedName:`AllowedHeaders`,required:!0,xmlName:`AllowedHeaders`,type:{name:`String`}},exposedHeaders:{serializedName:`ExposedHeaders`,required:!0,xmlName:`ExposedHeaders`,type:{name:`String`}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:`MaxAgeInSeconds`,required:!0,xmlName:`MaxAgeInSeconds`,type:{name:`Number`}}}}},YS={serializedName:`StaticWebsite`,type:{name:`Composite`,className:`StaticWebsite`,modelProperties:{enabled:{serializedName:`Enabled`,required:!0,xmlName:`Enabled`,type:{name:`Boolean`}},indexDocument:{serializedName:`IndexDocument`,xmlName:`IndexDocument`,type:{name:`String`}},errorDocument404Path:{serializedName:`ErrorDocument404Path`,xmlName:`ErrorDocument404Path`,type:{name:`String`}},defaultIndexDocumentPath:{serializedName:`DefaultIndexDocumentPath`,xmlName:`DefaultIndexDocumentPath`,type:{name:`String`}}}}},H={serializedName:`StorageError`,type:{name:`Composite`,className:`StorageError`,modelProperties:{message:{serializedName:`Message`,xmlName:`Message`,type:{name:`String`}},copySourceStatusCode:{serializedName:`CopySourceStatusCode`,xmlName:`CopySourceStatusCode`,type:{name:`Number`}},copySourceErrorCode:{serializedName:`CopySourceErrorCode`,xmlName:`CopySourceErrorCode`,type:{name:`String`}},copySourceErrorMessage:{serializedName:`CopySourceErrorMessage`,xmlName:`CopySourceErrorMessage`,type:{name:`String`}},code:{serializedName:`Code`,xmlName:`Code`,type:{name:`String`}},authenticationErrorDetail:{serializedName:`AuthenticationErrorDetail`,xmlName:`AuthenticationErrorDetail`,type:{name:`String`}}}}},XS={serializedName:`BlobServiceStatistics`,xmlName:`StorageServiceStats`,type:{name:`Composite`,className:`BlobServiceStatistics`,modelProperties:{geoReplication:{serializedName:`GeoReplication`,xmlName:`GeoReplication`,type:{name:`Composite`,className:`GeoReplication`}}}}},ZS={serializedName:`GeoReplication`,type:{name:`Composite`,className:`GeoReplication`,modelProperties:{status:{serializedName:`Status`,required:!0,xmlName:`Status`,type:{name:`Enum`,allowedValues:[`live`,`bootstrap`,`unavailable`]}},lastSyncOn:{serializedName:`LastSyncTime`,required:!0,xmlName:`LastSyncTime`,type:{name:`DateTimeRfc1123`}}}}},QS={serializedName:`ListContainersSegmentResponse`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`ListContainersSegmentResponse`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},prefix:{serializedName:`Prefix`,xmlName:`Prefix`,type:{name:`String`}},marker:{serializedName:`Marker`,xmlName:`Marker`,type:{name:`String`}},maxPageSize:{serializedName:`MaxResults`,xmlName:`MaxResults`,type:{name:`Number`}},containerItems:{serializedName:`ContainerItems`,required:!0,xmlName:`Containers`,xmlIsWrapped:!0,xmlElementName:`Container`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`ContainerItem`}}}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},$S={serializedName:`ContainerItem`,xmlName:`Container`,type:{name:`Composite`,className:`ContainerItem`,modelProperties:{name:{serializedName:`Name`,required:!0,xmlName:`Name`,type:{name:`String`}},deleted:{serializedName:`Deleted`,xmlName:`Deleted`,type:{name:`Boolean`}},version:{serializedName:`Version`,xmlName:`Version`,type:{name:`String`}},properties:{serializedName:`Properties`,xmlName:`Properties`,type:{name:`Composite`,className:`ContainerProperties`}},metadata:{serializedName:`Metadata`,xmlName:`Metadata`,type:{name:`Dictionary`,value:{type:{name:`String`}}}}}}},eC={serializedName:`ContainerProperties`,type:{name:`Composite`,className:`ContainerProperties`,modelProperties:{lastModified:{serializedName:`Last-Modified`,required:!0,xmlName:`Last-Modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`Etag`,required:!0,xmlName:`Etag`,type:{name:`String`}},leaseStatus:{serializedName:`LeaseStatus`,xmlName:`LeaseStatus`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},leaseState:{serializedName:`LeaseState`,xmlName:`LeaseState`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseDuration:{serializedName:`LeaseDuration`,xmlName:`LeaseDuration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},publicAccess:{serializedName:`PublicAccess`,xmlName:`PublicAccess`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}},hasImmutabilityPolicy:{serializedName:`HasImmutabilityPolicy`,xmlName:`HasImmutabilityPolicy`,type:{name:`Boolean`}},hasLegalHold:{serializedName:`HasLegalHold`,xmlName:`HasLegalHold`,type:{name:`Boolean`}},defaultEncryptionScope:{serializedName:`DefaultEncryptionScope`,xmlName:`DefaultEncryptionScope`,type:{name:`String`}},preventEncryptionScopeOverride:{serializedName:`DenyEncryptionScopeOverride`,xmlName:`DenyEncryptionScopeOverride`,type:{name:`Boolean`}},deletedOn:{serializedName:`DeletedTime`,xmlName:`DeletedTime`,type:{name:`DateTimeRfc1123`}},remainingRetentionDays:{serializedName:`RemainingRetentionDays`,xmlName:`RemainingRetentionDays`,type:{name:`Number`}},isImmutableStorageWithVersioningEnabled:{serializedName:`ImmutableStorageWithVersioningEnabled`,xmlName:`ImmutableStorageWithVersioningEnabled`,type:{name:`Boolean`}}}}},tC={serializedName:`KeyInfo`,type:{name:`Composite`,className:`KeyInfo`,modelProperties:{startsOn:{serializedName:`Start`,required:!0,xmlName:`Start`,type:{name:`String`}},expiresOn:{serializedName:`Expiry`,required:!0,xmlName:`Expiry`,type:{name:`String`}}}}},nC={serializedName:`UserDelegationKey`,type:{name:`Composite`,className:`UserDelegationKey`,modelProperties:{signedObjectId:{serializedName:`SignedOid`,required:!0,xmlName:`SignedOid`,type:{name:`String`}},signedTenantId:{serializedName:`SignedTid`,required:!0,xmlName:`SignedTid`,type:{name:`String`}},signedStartsOn:{serializedName:`SignedStart`,required:!0,xmlName:`SignedStart`,type:{name:`String`}},signedExpiresOn:{serializedName:`SignedExpiry`,required:!0,xmlName:`SignedExpiry`,type:{name:`String`}},signedService:{serializedName:`SignedService`,required:!0,xmlName:`SignedService`,type:{name:`String`}},signedVersion:{serializedName:`SignedVersion`,required:!0,xmlName:`SignedVersion`,type:{name:`String`}},value:{serializedName:`Value`,required:!0,xmlName:`Value`,type:{name:`String`}}}}},rC={serializedName:`FilterBlobSegment`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`FilterBlobSegment`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},where:{serializedName:`Where`,required:!0,xmlName:`Where`,type:{name:`String`}},blobs:{serializedName:`Blobs`,required:!0,xmlName:`Blobs`,xmlIsWrapped:!0,xmlElementName:`Blob`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`FilterBlobItem`}}}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},iC={serializedName:`FilterBlobItem`,xmlName:`Blob`,type:{name:`Composite`,className:`FilterBlobItem`,modelProperties:{name:{serializedName:`Name`,required:!0,xmlName:`Name`,type:{name:`String`}},containerName:{serializedName:`ContainerName`,required:!0,xmlName:`ContainerName`,type:{name:`String`}},tags:{serializedName:`Tags`,xmlName:`Tags`,type:{name:`Composite`,className:`BlobTags`}}}}},aC={serializedName:`BlobTags`,xmlName:`Tags`,type:{name:`Composite`,className:`BlobTags`,modelProperties:{blobTagSet:{serializedName:`BlobTagSet`,required:!0,xmlName:`TagSet`,xmlIsWrapped:!0,xmlElementName:`Tag`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobTag`}}}}}}},oC={serializedName:`BlobTag`,xmlName:`Tag`,type:{name:`Composite`,className:`BlobTag`,modelProperties:{key:{serializedName:`Key`,required:!0,xmlName:`Key`,type:{name:`String`}},value:{serializedName:`Value`,required:!0,xmlName:`Value`,type:{name:`String`}}}}},sC={serializedName:`SignedIdentifier`,xmlName:`SignedIdentifier`,type:{name:`Composite`,className:`SignedIdentifier`,modelProperties:{id:{serializedName:`Id`,required:!0,xmlName:`Id`,type:{name:`String`}},accessPolicy:{serializedName:`AccessPolicy`,xmlName:`AccessPolicy`,type:{name:`Composite`,className:`AccessPolicy`}}}}},cC={serializedName:`AccessPolicy`,type:{name:`Composite`,className:`AccessPolicy`,modelProperties:{startsOn:{serializedName:`Start`,xmlName:`Start`,type:{name:`String`}},expiresOn:{serializedName:`Expiry`,xmlName:`Expiry`,type:{name:`String`}},permissions:{serializedName:`Permission`,xmlName:`Permission`,type:{name:`String`}}}}},lC={serializedName:`ListBlobsFlatSegmentResponse`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`ListBlobsFlatSegmentResponse`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},containerName:{serializedName:`ContainerName`,required:!0,xmlName:`ContainerName`,xmlIsAttribute:!0,type:{name:`String`}},prefix:{serializedName:`Prefix`,xmlName:`Prefix`,type:{name:`String`}},marker:{serializedName:`Marker`,xmlName:`Marker`,type:{name:`String`}},maxPageSize:{serializedName:`MaxResults`,xmlName:`MaxResults`,type:{name:`Number`}},segment:{serializedName:`Segment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobFlatListSegment`}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},uC={serializedName:`BlobFlatListSegment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobFlatListSegment`,modelProperties:{blobItems:{serializedName:`BlobItems`,required:!0,xmlName:`BlobItems`,xmlElementName:`Blob`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobItemInternal`}}}}}}},dC={serializedName:`BlobItemInternal`,xmlName:`Blob`,type:{name:`Composite`,className:`BlobItemInternal`,modelProperties:{name:{serializedName:`Name`,xmlName:`Name`,type:{name:`Composite`,className:`BlobName`}},deleted:{serializedName:`Deleted`,required:!0,xmlName:`Deleted`,type:{name:`Boolean`}},snapshot:{serializedName:`Snapshot`,required:!0,xmlName:`Snapshot`,type:{name:`String`}},versionId:{serializedName:`VersionId`,xmlName:`VersionId`,type:{name:`String`}},isCurrentVersion:{serializedName:`IsCurrentVersion`,xmlName:`IsCurrentVersion`,type:{name:`Boolean`}},properties:{serializedName:`Properties`,xmlName:`Properties`,type:{name:`Composite`,className:`BlobPropertiesInternal`}},metadata:{serializedName:`Metadata`,xmlName:`Metadata`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},blobTags:{serializedName:`BlobTags`,xmlName:`Tags`,type:{name:`Composite`,className:`BlobTags`}},objectReplicationMetadata:{serializedName:`ObjectReplicationMetadata`,xmlName:`OrMetadata`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},hasVersionsOnly:{serializedName:`HasVersionsOnly`,xmlName:`HasVersionsOnly`,type:{name:`Boolean`}}}}},fC={serializedName:`BlobName`,type:{name:`Composite`,className:`BlobName`,modelProperties:{encoded:{serializedName:`Encoded`,xmlName:`Encoded`,xmlIsAttribute:!0,type:{name:`Boolean`}},content:{serializedName:`content`,xmlName:`content`,xmlIsMsText:!0,type:{name:`String`}}}}},pC={serializedName:`BlobPropertiesInternal`,xmlName:`Properties`,type:{name:`Composite`,className:`BlobPropertiesInternal`,modelProperties:{createdOn:{serializedName:`Creation-Time`,xmlName:`Creation-Time`,type:{name:`DateTimeRfc1123`}},lastModified:{serializedName:`Last-Modified`,required:!0,xmlName:`Last-Modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`Etag`,required:!0,xmlName:`Etag`,type:{name:`String`}},contentLength:{serializedName:`Content-Length`,xmlName:`Content-Length`,type:{name:`Number`}},contentType:{serializedName:`Content-Type`,xmlName:`Content-Type`,type:{name:`String`}},contentEncoding:{serializedName:`Content-Encoding`,xmlName:`Content-Encoding`,type:{name:`String`}},contentLanguage:{serializedName:`Content-Language`,xmlName:`Content-Language`,type:{name:`String`}},contentMD5:{serializedName:`Content-MD5`,xmlName:`Content-MD5`,type:{name:`ByteArray`}},contentDisposition:{serializedName:`Content-Disposition`,xmlName:`Content-Disposition`,type:{name:`String`}},cacheControl:{serializedName:`Cache-Control`,xmlName:`Cache-Control`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},blobType:{serializedName:`BlobType`,xmlName:`BlobType`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},leaseStatus:{serializedName:`LeaseStatus`,xmlName:`LeaseStatus`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},leaseState:{serializedName:`LeaseState`,xmlName:`LeaseState`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseDuration:{serializedName:`LeaseDuration`,xmlName:`LeaseDuration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},copyId:{serializedName:`CopyId`,xmlName:`CopyId`,type:{name:`String`}},copyStatus:{serializedName:`CopyStatus`,xmlName:`CopyStatus`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},copySource:{serializedName:`CopySource`,xmlName:`CopySource`,type:{name:`String`}},copyProgress:{serializedName:`CopyProgress`,xmlName:`CopyProgress`,type:{name:`String`}},copyCompletedOn:{serializedName:`CopyCompletionTime`,xmlName:`CopyCompletionTime`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`CopyStatusDescription`,xmlName:`CopyStatusDescription`,type:{name:`String`}},serverEncrypted:{serializedName:`ServerEncrypted`,xmlName:`ServerEncrypted`,type:{name:`Boolean`}},incrementalCopy:{serializedName:`IncrementalCopy`,xmlName:`IncrementalCopy`,type:{name:`Boolean`}},destinationSnapshot:{serializedName:`DestinationSnapshot`,xmlName:`DestinationSnapshot`,type:{name:`String`}},deletedOn:{serializedName:`DeletedTime`,xmlName:`DeletedTime`,type:{name:`DateTimeRfc1123`}},remainingRetentionDays:{serializedName:`RemainingRetentionDays`,xmlName:`RemainingRetentionDays`,type:{name:`Number`}},accessTier:{serializedName:`AccessTier`,xmlName:`AccessTier`,type:{name:`Enum`,allowedValues:[`P4`,`P6`,`P10`,`P15`,`P20`,`P30`,`P40`,`P50`,`P60`,`P70`,`P80`,`Hot`,`Cool`,`Archive`,`Cold`]}},accessTierInferred:{serializedName:`AccessTierInferred`,xmlName:`AccessTierInferred`,type:{name:`Boolean`}},archiveStatus:{serializedName:`ArchiveStatus`,xmlName:`ArchiveStatus`,type:{name:`Enum`,allowedValues:[`rehydrate-pending-to-hot`,`rehydrate-pending-to-cool`,`rehydrate-pending-to-cold`]}},customerProvidedKeySha256:{serializedName:`CustomerProvidedKeySha256`,xmlName:`CustomerProvidedKeySha256`,type:{name:`String`}},encryptionScope:{serializedName:`EncryptionScope`,xmlName:`EncryptionScope`,type:{name:`String`}},accessTierChangedOn:{serializedName:`AccessTierChangeTime`,xmlName:`AccessTierChangeTime`,type:{name:`DateTimeRfc1123`}},tagCount:{serializedName:`TagCount`,xmlName:`TagCount`,type:{name:`Number`}},expiresOn:{serializedName:`Expiry-Time`,xmlName:`Expiry-Time`,type:{name:`DateTimeRfc1123`}},isSealed:{serializedName:`Sealed`,xmlName:`Sealed`,type:{name:`Boolean`}},rehydratePriority:{serializedName:`RehydratePriority`,xmlName:`RehydratePriority`,type:{name:`Enum`,allowedValues:[`High`,`Standard`]}},lastAccessedOn:{serializedName:`LastAccessTime`,xmlName:`LastAccessTime`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiresOn:{serializedName:`ImmutabilityPolicyUntilDate`,xmlName:`ImmutabilityPolicyUntilDate`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`ImmutabilityPolicyMode`,xmlName:`ImmutabilityPolicyMode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}},legalHold:{serializedName:`LegalHold`,xmlName:`LegalHold`,type:{name:`Boolean`}}}}},mC={serializedName:`ListBlobsHierarchySegmentResponse`,xmlName:`EnumerationResults`,type:{name:`Composite`,className:`ListBlobsHierarchySegmentResponse`,modelProperties:{serviceEndpoint:{serializedName:`ServiceEndpoint`,required:!0,xmlName:`ServiceEndpoint`,xmlIsAttribute:!0,type:{name:`String`}},containerName:{serializedName:`ContainerName`,required:!0,xmlName:`ContainerName`,xmlIsAttribute:!0,type:{name:`String`}},prefix:{serializedName:`Prefix`,xmlName:`Prefix`,type:{name:`String`}},marker:{serializedName:`Marker`,xmlName:`Marker`,type:{name:`String`}},maxPageSize:{serializedName:`MaxResults`,xmlName:`MaxResults`,type:{name:`Number`}},delimiter:{serializedName:`Delimiter`,xmlName:`Delimiter`,type:{name:`String`}},segment:{serializedName:`Segment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobHierarchyListSegment`}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},hC={serializedName:`BlobHierarchyListSegment`,xmlName:`Blobs`,type:{name:`Composite`,className:`BlobHierarchyListSegment`,modelProperties:{blobPrefixes:{serializedName:`BlobPrefixes`,xmlName:`BlobPrefixes`,xmlElementName:`BlobPrefix`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobPrefix`}}}},blobItems:{serializedName:`BlobItems`,required:!0,xmlName:`BlobItems`,xmlElementName:`Blob`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`BlobItemInternal`}}}}}}},gC={serializedName:`BlobPrefix`,type:{name:`Composite`,className:`BlobPrefix`,modelProperties:{name:{serializedName:`Name`,xmlName:`Name`,type:{name:`Composite`,className:`BlobName`}}}}},_C={serializedName:`BlockLookupList`,xmlName:`BlockList`,type:{name:`Composite`,className:`BlockLookupList`,modelProperties:{committed:{serializedName:`Committed`,xmlName:`Committed`,xmlElementName:`Committed`,type:{name:`Sequence`,element:{type:{name:`String`}}}},uncommitted:{serializedName:`Uncommitted`,xmlName:`Uncommitted`,xmlElementName:`Uncommitted`,type:{name:`Sequence`,element:{type:{name:`String`}}}},latest:{serializedName:`Latest`,xmlName:`Latest`,xmlElementName:`Latest`,type:{name:`Sequence`,element:{type:{name:`String`}}}}}}},vC={serializedName:`BlockList`,type:{name:`Composite`,className:`BlockList`,modelProperties:{committedBlocks:{serializedName:`CommittedBlocks`,xmlName:`CommittedBlocks`,xmlIsWrapped:!0,xmlElementName:`Block`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`Block`}}}},uncommittedBlocks:{serializedName:`UncommittedBlocks`,xmlName:`UncommittedBlocks`,xmlIsWrapped:!0,xmlElementName:`Block`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`Block`}}}}}}},yC={serializedName:`Block`,type:{name:`Composite`,className:`Block`,modelProperties:{name:{serializedName:`Name`,required:!0,xmlName:`Name`,type:{name:`String`}},size:{serializedName:`Size`,required:!0,xmlName:`Size`,type:{name:`Number`}}}}},bC={serializedName:`PageList`,type:{name:`Composite`,className:`PageList`,modelProperties:{pageRange:{serializedName:`PageRange`,xmlName:`PageRange`,xmlElementName:`PageRange`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`PageRange`}}}},clearRange:{serializedName:`ClearRange`,xmlName:`ClearRange`,xmlElementName:`ClearRange`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`ClearRange`}}}},continuationToken:{serializedName:`NextMarker`,xmlName:`NextMarker`,type:{name:`String`}}}}},xC={serializedName:`PageRange`,xmlName:`PageRange`,type:{name:`Composite`,className:`PageRange`,modelProperties:{start:{serializedName:`Start`,required:!0,xmlName:`Start`,type:{name:`Number`}},end:{serializedName:`End`,required:!0,xmlName:`End`,type:{name:`Number`}}}}},SC={serializedName:`ClearRange`,xmlName:`ClearRange`,type:{name:`Composite`,className:`ClearRange`,modelProperties:{start:{serializedName:`Start`,required:!0,xmlName:`Start`,type:{name:`Number`}},end:{serializedName:`End`,required:!0,xmlName:`End`,type:{name:`Number`}}}}},CC={serializedName:`QueryRequest`,xmlName:`QueryRequest`,type:{name:`Composite`,className:`QueryRequest`,modelProperties:{queryType:{serializedName:`QueryType`,required:!0,xmlName:`QueryType`,type:{name:`String`}},expression:{serializedName:`Expression`,required:!0,xmlName:`Expression`,type:{name:`String`}},inputSerialization:{serializedName:`InputSerialization`,xmlName:`InputSerialization`,type:{name:`Composite`,className:`QuerySerialization`}},outputSerialization:{serializedName:`OutputSerialization`,xmlName:`OutputSerialization`,type:{name:`Composite`,className:`QuerySerialization`}}}}},wC={serializedName:`QuerySerialization`,type:{name:`Composite`,className:`QuerySerialization`,modelProperties:{format:{serializedName:`Format`,xmlName:`Format`,type:{name:`Composite`,className:`QueryFormat`}}}}},TC={serializedName:`QueryFormat`,type:{name:`Composite`,className:`QueryFormat`,modelProperties:{type:{serializedName:`Type`,required:!0,xmlName:`Type`,type:{name:`Enum`,allowedValues:[`delimited`,`json`,`arrow`,`parquet`]}},delimitedTextConfiguration:{serializedName:`DelimitedTextConfiguration`,xmlName:`DelimitedTextConfiguration`,type:{name:`Composite`,className:`DelimitedTextConfiguration`}},jsonTextConfiguration:{serializedName:`JsonTextConfiguration`,xmlName:`JsonTextConfiguration`,type:{name:`Composite`,className:`JsonTextConfiguration`}},arrowConfiguration:{serializedName:`ArrowConfiguration`,xmlName:`ArrowConfiguration`,type:{name:`Composite`,className:`ArrowConfiguration`}},parquetTextConfiguration:{serializedName:`ParquetTextConfiguration`,xmlName:`ParquetTextConfiguration`,type:{name:`Dictionary`,value:{type:{name:`any`}}}}}}},EC={serializedName:`DelimitedTextConfiguration`,xmlName:`DelimitedTextConfiguration`,type:{name:`Composite`,className:`DelimitedTextConfiguration`,modelProperties:{columnSeparator:{serializedName:`ColumnSeparator`,xmlName:`ColumnSeparator`,type:{name:`String`}},fieldQuote:{serializedName:`FieldQuote`,xmlName:`FieldQuote`,type:{name:`String`}},recordSeparator:{serializedName:`RecordSeparator`,xmlName:`RecordSeparator`,type:{name:`String`}},escapeChar:{serializedName:`EscapeChar`,xmlName:`EscapeChar`,type:{name:`String`}},headersPresent:{serializedName:`HeadersPresent`,xmlName:`HasHeaders`,type:{name:`Boolean`}}}}},DC={serializedName:`JsonTextConfiguration`,xmlName:`JsonTextConfiguration`,type:{name:`Composite`,className:`JsonTextConfiguration`,modelProperties:{recordSeparator:{serializedName:`RecordSeparator`,xmlName:`RecordSeparator`,type:{name:`String`}}}}},OC={serializedName:`ArrowConfiguration`,xmlName:`ArrowConfiguration`,type:{name:`Composite`,className:`ArrowConfiguration`,modelProperties:{schema:{serializedName:`Schema`,required:!0,xmlName:`Schema`,xmlIsWrapped:!0,xmlElementName:`Field`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`ArrowField`}}}}}}},kC={serializedName:`ArrowField`,xmlName:`Field`,type:{name:`Composite`,className:`ArrowField`,modelProperties:{type:{serializedName:`Type`,required:!0,xmlName:`Type`,type:{name:`String`}},name:{serializedName:`Name`,xmlName:`Name`,type:{name:`String`}},precision:{serializedName:`Precision`,xmlName:`Precision`,type:{name:`Number`}},scale:{serializedName:`Scale`,xmlName:`Scale`,type:{name:`Number`}}}}},AC={serializedName:`Service_setPropertiesHeaders`,type:{name:`Composite`,className:`ServiceSetPropertiesHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},jC={serializedName:`Service_setPropertiesExceptionHeaders`,type:{name:`Composite`,className:`ServiceSetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},MC={serializedName:`Service_getPropertiesHeaders`,type:{name:`Composite`,className:`ServiceGetPropertiesHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},NC={serializedName:`Service_getPropertiesExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},PC={serializedName:`Service_getStatisticsHeaders`,type:{name:`Composite`,className:`ServiceGetStatisticsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},FC={serializedName:`Service_getStatisticsExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetStatisticsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},IC={serializedName:`Service_listContainersSegmentHeaders`,type:{name:`Composite`,className:`ServiceListContainersSegmentHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},LC={serializedName:`Service_listContainersSegmentExceptionHeaders`,type:{name:`Composite`,className:`ServiceListContainersSegmentExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},RC={serializedName:`Service_getUserDelegationKeyHeaders`,type:{name:`Composite`,className:`ServiceGetUserDelegationKeyHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},zC={serializedName:`Service_getUserDelegationKeyExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetUserDelegationKeyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},BC={serializedName:`Service_getAccountInfoHeaders`,type:{name:`Composite`,className:`ServiceGetAccountInfoHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},skuName:{serializedName:`x-ms-sku-name`,xmlName:`x-ms-sku-name`,type:{name:`Enum`,allowedValues:[`Standard_LRS`,`Standard_GRS`,`Standard_RAGRS`,`Standard_ZRS`,`Premium_LRS`]}},accountKind:{serializedName:`x-ms-account-kind`,xmlName:`x-ms-account-kind`,type:{name:`Enum`,allowedValues:[`Storage`,`BlobStorage`,`StorageV2`,`FileStorage`,`BlockBlobStorage`]}},isHierarchicalNamespaceEnabled:{serializedName:`x-ms-is-hns-enabled`,xmlName:`x-ms-is-hns-enabled`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},VC={serializedName:`Service_getAccountInfoExceptionHeaders`,type:{name:`Composite`,className:`ServiceGetAccountInfoExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},HC={serializedName:`Service_submitBatchHeaders`,type:{name:`Composite`,className:`ServiceSubmitBatchHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},UC={serializedName:`Service_submitBatchExceptionHeaders`,type:{name:`Composite`,className:`ServiceSubmitBatchExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},WC={serializedName:`Service_filterBlobsHeaders`,type:{name:`Composite`,className:`ServiceFilterBlobsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},GC={serializedName:`Service_filterBlobsExceptionHeaders`,type:{name:`Composite`,className:`ServiceFilterBlobsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},KC={serializedName:`Container_createHeaders`,type:{name:`Composite`,className:`ContainerCreateHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},qC={serializedName:`Container_createExceptionHeaders`,type:{name:`Composite`,className:`ContainerCreateExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},JC={serializedName:`Container_getPropertiesHeaders`,type:{name:`Composite`,className:`ContainerGetPropertiesHeaders`,modelProperties:{metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobPublicAccess:{serializedName:`x-ms-blob-public-access`,xmlName:`x-ms-blob-public-access`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}},hasImmutabilityPolicy:{serializedName:`x-ms-has-immutability-policy`,xmlName:`x-ms-has-immutability-policy`,type:{name:`Boolean`}},hasLegalHold:{serializedName:`x-ms-has-legal-hold`,xmlName:`x-ms-has-legal-hold`,type:{name:`Boolean`}},defaultEncryptionScope:{serializedName:`x-ms-default-encryption-scope`,xmlName:`x-ms-default-encryption-scope`,type:{name:`String`}},denyEncryptionScopeOverride:{serializedName:`x-ms-deny-encryption-scope-override`,xmlName:`x-ms-deny-encryption-scope-override`,type:{name:`Boolean`}},isImmutableStorageWithVersioningEnabled:{serializedName:`x-ms-immutable-storage-with-versioning-enabled`,xmlName:`x-ms-immutable-storage-with-versioning-enabled`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},YC={serializedName:`Container_getPropertiesExceptionHeaders`,type:{name:`Composite`,className:`ContainerGetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},XC={serializedName:`Container_deleteHeaders`,type:{name:`Composite`,className:`ContainerDeleteHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ZC={serializedName:`Container_deleteExceptionHeaders`,type:{name:`Composite`,className:`ContainerDeleteExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},QC={serializedName:`Container_setMetadataHeaders`,type:{name:`Composite`,className:`ContainerSetMetadataHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},$C={serializedName:`Container_setMetadataExceptionHeaders`,type:{name:`Composite`,className:`ContainerSetMetadataExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ew={serializedName:`Container_getAccessPolicyHeaders`,type:{name:`Composite`,className:`ContainerGetAccessPolicyHeaders`,modelProperties:{blobPublicAccess:{serializedName:`x-ms-blob-public-access`,xmlName:`x-ms-blob-public-access`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},tw={serializedName:`Container_getAccessPolicyExceptionHeaders`,type:{name:`Composite`,className:`ContainerGetAccessPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},nw={serializedName:`Container_setAccessPolicyHeaders`,type:{name:`Composite`,className:`ContainerSetAccessPolicyHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},rw={serializedName:`Container_setAccessPolicyExceptionHeaders`,type:{name:`Composite`,className:`ContainerSetAccessPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},iw={serializedName:`Container_restoreHeaders`,type:{name:`Composite`,className:`ContainerRestoreHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},aw={serializedName:`Container_restoreExceptionHeaders`,type:{name:`Composite`,className:`ContainerRestoreExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ow={serializedName:`Container_renameHeaders`,type:{name:`Composite`,className:`ContainerRenameHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},sw={serializedName:`Container_renameExceptionHeaders`,type:{name:`Composite`,className:`ContainerRenameExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},cw={serializedName:`Container_submitBatchHeaders`,type:{name:`Composite`,className:`ContainerSubmitBatchHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}}}}},lw={serializedName:`Container_submitBatchExceptionHeaders`,type:{name:`Composite`,className:`ContainerSubmitBatchExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},uw={serializedName:`Container_filterBlobsHeaders`,type:{name:`Composite`,className:`ContainerFilterBlobsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},dw={serializedName:`Container_filterBlobsExceptionHeaders`,type:{name:`Composite`,className:`ContainerFilterBlobsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},fw={serializedName:`Container_acquireLeaseHeaders`,type:{name:`Composite`,className:`ContainerAcquireLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},pw={serializedName:`Container_acquireLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerAcquireLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},mw={serializedName:`Container_releaseLeaseHeaders`,type:{name:`Composite`,className:`ContainerReleaseLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},hw={serializedName:`Container_releaseLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerReleaseLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},gw={serializedName:`Container_renewLeaseHeaders`,type:{name:`Composite`,className:`ContainerRenewLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},_w={serializedName:`Container_renewLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerRenewLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},vw={serializedName:`Container_breakLeaseHeaders`,type:{name:`Composite`,className:`ContainerBreakLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseTime:{serializedName:`x-ms-lease-time`,xmlName:`x-ms-lease-time`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},yw={serializedName:`Container_breakLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerBreakLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},bw={serializedName:`Container_changeLeaseHeaders`,type:{name:`Composite`,className:`ContainerChangeLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},xw={serializedName:`Container_changeLeaseExceptionHeaders`,type:{name:`Composite`,className:`ContainerChangeLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Sw={serializedName:`Container_listBlobFlatSegmentHeaders`,type:{name:`Composite`,className:`ContainerListBlobFlatSegmentHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Cw={serializedName:`Container_listBlobFlatSegmentExceptionHeaders`,type:{name:`Composite`,className:`ContainerListBlobFlatSegmentExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ww={serializedName:`Container_listBlobHierarchySegmentHeaders`,type:{name:`Composite`,className:`ContainerListBlobHierarchySegmentHeaders`,modelProperties:{contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Tw={serializedName:`Container_listBlobHierarchySegmentExceptionHeaders`,type:{name:`Composite`,className:`ContainerListBlobHierarchySegmentExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Ew={serializedName:`Container_getAccountInfoHeaders`,type:{name:`Composite`,className:`ContainerGetAccountInfoHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},skuName:{serializedName:`x-ms-sku-name`,xmlName:`x-ms-sku-name`,type:{name:`Enum`,allowedValues:[`Standard_LRS`,`Standard_GRS`,`Standard_RAGRS`,`Standard_ZRS`,`Premium_LRS`]}},accountKind:{serializedName:`x-ms-account-kind`,xmlName:`x-ms-account-kind`,type:{name:`Enum`,allowedValues:[`Storage`,`BlobStorage`,`StorageV2`,`FileStorage`,`BlockBlobStorage`]}},isHierarchicalNamespaceEnabled:{serializedName:`x-ms-is-hns-enabled`,xmlName:`x-ms-is-hns-enabled`,type:{name:`Boolean`}}}}},Dw={serializedName:`Container_getAccountInfoExceptionHeaders`,type:{name:`Composite`,className:`ContainerGetAccountInfoExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Ow={serializedName:`Blob_downloadHeaders`,type:{name:`Composite`,className:`BlobDownloadHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},createdOn:{serializedName:`x-ms-creation-time`,xmlName:`x-ms-creation-time`,type:{name:`DateTimeRfc1123`}},metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},objectReplicationPolicyId:{serializedName:`x-ms-or-policy-id`,xmlName:`x-ms-or-policy-id`,type:{name:`String`}},objectReplicationRules:{serializedName:`x-ms-or`,headerCollectionPrefix:`x-ms-or-`,xmlName:`x-ms-or`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},contentLength:{serializedName:`content-length`,xmlName:`content-length`,type:{name:`Number`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},contentRange:{serializedName:`content-range`,xmlName:`content-range`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},contentEncoding:{serializedName:`content-encoding`,xmlName:`content-encoding`,type:{name:`String`}},cacheControl:{serializedName:`cache-control`,xmlName:`cache-control`,type:{name:`String`}},contentDisposition:{serializedName:`content-disposition`,xmlName:`content-disposition`,type:{name:`String`}},contentLanguage:{serializedName:`content-language`,xmlName:`content-language`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},blobType:{serializedName:`x-ms-blob-type`,xmlName:`x-ms-blob-type`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},copyCompletedOn:{serializedName:`x-ms-copy-completion-time`,xmlName:`x-ms-copy-completion-time`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`x-ms-copy-status-description`,xmlName:`x-ms-copy-status-description`,type:{name:`String`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyProgress:{serializedName:`x-ms-copy-progress`,xmlName:`x-ms-copy-progress`,type:{name:`String`}},copySource:{serializedName:`x-ms-copy-source`,xmlName:`x-ms-copy-source`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},isCurrentVersion:{serializedName:`x-ms-is-current-version`,xmlName:`x-ms-is-current-version`,type:{name:`Boolean`}},acceptRanges:{serializedName:`accept-ranges`,xmlName:`accept-ranges`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-server-encrypted`,xmlName:`x-ms-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},blobContentMD5:{serializedName:`x-ms-blob-content-md5`,xmlName:`x-ms-blob-content-md5`,type:{name:`ByteArray`}},tagCount:{serializedName:`x-ms-tag-count`,xmlName:`x-ms-tag-count`,type:{name:`Number`}},isSealed:{serializedName:`x-ms-blob-sealed`,xmlName:`x-ms-blob-sealed`,type:{name:`Boolean`}},lastAccessed:{serializedName:`x-ms-last-access-time`,xmlName:`x-ms-last-access-time`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiresOn:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}},legalHold:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},contentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}}}}},kw={serializedName:`Blob_downloadExceptionHeaders`,type:{name:`Composite`,className:`BlobDownloadExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Aw={serializedName:`Blob_getPropertiesHeaders`,type:{name:`Composite`,className:`BlobGetPropertiesHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},createdOn:{serializedName:`x-ms-creation-time`,xmlName:`x-ms-creation-time`,type:{name:`DateTimeRfc1123`}},metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},objectReplicationPolicyId:{serializedName:`x-ms-or-policy-id`,xmlName:`x-ms-or-policy-id`,type:{name:`String`}},objectReplicationRules:{serializedName:`x-ms-or`,headerCollectionPrefix:`x-ms-or-`,xmlName:`x-ms-or`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},blobType:{serializedName:`x-ms-blob-type`,xmlName:`x-ms-blob-type`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},copyCompletedOn:{serializedName:`x-ms-copy-completion-time`,xmlName:`x-ms-copy-completion-time`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`x-ms-copy-status-description`,xmlName:`x-ms-copy-status-description`,type:{name:`String`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyProgress:{serializedName:`x-ms-copy-progress`,xmlName:`x-ms-copy-progress`,type:{name:`String`}},copySource:{serializedName:`x-ms-copy-source`,xmlName:`x-ms-copy-source`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},isIncrementalCopy:{serializedName:`x-ms-incremental-copy`,xmlName:`x-ms-incremental-copy`,type:{name:`Boolean`}},destinationSnapshot:{serializedName:`x-ms-copy-destination-snapshot`,xmlName:`x-ms-copy-destination-snapshot`,type:{name:`String`}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},contentLength:{serializedName:`content-length`,xmlName:`content-length`,type:{name:`Number`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},contentEncoding:{serializedName:`content-encoding`,xmlName:`content-encoding`,type:{name:`String`}},contentDisposition:{serializedName:`content-disposition`,xmlName:`content-disposition`,type:{name:`String`}},contentLanguage:{serializedName:`content-language`,xmlName:`content-language`,type:{name:`String`}},cacheControl:{serializedName:`cache-control`,xmlName:`cache-control`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},acceptRanges:{serializedName:`accept-ranges`,xmlName:`accept-ranges`,type:{name:`String`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-server-encrypted`,xmlName:`x-ms-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},accessTier:{serializedName:`x-ms-access-tier`,xmlName:`x-ms-access-tier`,type:{name:`String`}},accessTierInferred:{serializedName:`x-ms-access-tier-inferred`,xmlName:`x-ms-access-tier-inferred`,type:{name:`Boolean`}},archiveStatus:{serializedName:`x-ms-archive-status`,xmlName:`x-ms-archive-status`,type:{name:`String`}},accessTierChangedOn:{serializedName:`x-ms-access-tier-change-time`,xmlName:`x-ms-access-tier-change-time`,type:{name:`DateTimeRfc1123`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},isCurrentVersion:{serializedName:`x-ms-is-current-version`,xmlName:`x-ms-is-current-version`,type:{name:`Boolean`}},tagCount:{serializedName:`x-ms-tag-count`,xmlName:`x-ms-tag-count`,type:{name:`Number`}},expiresOn:{serializedName:`x-ms-expiry-time`,xmlName:`x-ms-expiry-time`,type:{name:`DateTimeRfc1123`}},isSealed:{serializedName:`x-ms-blob-sealed`,xmlName:`x-ms-blob-sealed`,type:{name:`Boolean`}},rehydratePriority:{serializedName:`x-ms-rehydrate-priority`,xmlName:`x-ms-rehydrate-priority`,type:{name:`Enum`,allowedValues:[`High`,`Standard`]}},lastAccessed:{serializedName:`x-ms-last-access-time`,xmlName:`x-ms-last-access-time`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiresOn:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}},legalHold:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},jw={serializedName:`Blob_getPropertiesExceptionHeaders`,type:{name:`Composite`,className:`BlobGetPropertiesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Mw={serializedName:`Blob_deleteHeaders`,type:{name:`Composite`,className:`BlobDeleteHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Nw={serializedName:`Blob_deleteExceptionHeaders`,type:{name:`Composite`,className:`BlobDeleteExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Pw={serializedName:`Blob_undeleteHeaders`,type:{name:`Composite`,className:`BlobUndeleteHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Fw={serializedName:`Blob_undeleteExceptionHeaders`,type:{name:`Composite`,className:`BlobUndeleteExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Iw={serializedName:`Blob_setExpiryHeaders`,type:{name:`Composite`,className:`BlobSetExpiryHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Lw={serializedName:`Blob_setExpiryExceptionHeaders`,type:{name:`Composite`,className:`BlobSetExpiryExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Rw={serializedName:`Blob_setHttpHeadersHeaders`,type:{name:`Composite`,className:`BlobSetHttpHeadersHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},zw={serializedName:`Blob_setHttpHeadersExceptionHeaders`,type:{name:`Composite`,className:`BlobSetHttpHeadersExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Bw={serializedName:`Blob_setImmutabilityPolicyHeaders`,type:{name:`Composite`,className:`BlobSetImmutabilityPolicyHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyExpiry:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}},immutabilityPolicyMode:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}}}}},Vw={serializedName:`Blob_setImmutabilityPolicyExceptionHeaders`,type:{name:`Composite`,className:`BlobSetImmutabilityPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Hw={serializedName:`Blob_deleteImmutabilityPolicyHeaders`,type:{name:`Composite`,className:`BlobDeleteImmutabilityPolicyHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Uw={serializedName:`Blob_deleteImmutabilityPolicyExceptionHeaders`,type:{name:`Composite`,className:`BlobDeleteImmutabilityPolicyExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Ww={serializedName:`Blob_setLegalHoldHeaders`,type:{name:`Composite`,className:`BlobSetLegalHoldHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},legalHold:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}}}}},Gw={serializedName:`Blob_setLegalHoldExceptionHeaders`,type:{name:`Composite`,className:`BlobSetLegalHoldExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Kw={serializedName:`Blob_setMetadataHeaders`,type:{name:`Composite`,className:`BlobSetMetadataHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},qw={serializedName:`Blob_setMetadataExceptionHeaders`,type:{name:`Composite`,className:`BlobSetMetadataExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Jw={serializedName:`Blob_acquireLeaseHeaders`,type:{name:`Composite`,className:`BlobAcquireLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Yw={serializedName:`Blob_acquireLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobAcquireLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Xw={serializedName:`Blob_releaseLeaseHeaders`,type:{name:`Composite`,className:`BlobReleaseLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},Zw={serializedName:`Blob_releaseLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobReleaseLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},Qw={serializedName:`Blob_renewLeaseHeaders`,type:{name:`Composite`,className:`BlobRenewLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},$w={serializedName:`Blob_renewLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobRenewLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},eT={serializedName:`Blob_changeLeaseHeaders`,type:{name:`Composite`,className:`BlobChangeLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},leaseId:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},tT={serializedName:`Blob_changeLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobChangeLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},nT={serializedName:`Blob_breakLeaseHeaders`,type:{name:`Composite`,className:`BlobBreakLeaseHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},leaseTime:{serializedName:`x-ms-lease-time`,xmlName:`x-ms-lease-time`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}}}}},rT={serializedName:`Blob_breakLeaseExceptionHeaders`,type:{name:`Composite`,className:`BlobBreakLeaseExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},iT={serializedName:`Blob_createSnapshotHeaders`,type:{name:`Composite`,className:`BlobCreateSnapshotHeaders`,modelProperties:{snapshot:{serializedName:`x-ms-snapshot`,xmlName:`x-ms-snapshot`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},aT={serializedName:`Blob_createSnapshotExceptionHeaders`,type:{name:`Composite`,className:`BlobCreateSnapshotExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},oT={serializedName:`Blob_startCopyFromURLHeaders`,type:{name:`Composite`,className:`BlobStartCopyFromURLHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},sT={serializedName:`Blob_startCopyFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlobStartCopyFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},cT={serializedName:`Blob_copyFromURLHeaders`,type:{name:`Composite`,className:`BlobCopyFromURLHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyStatus:{defaultValue:`success`,isConstant:!0,serializedName:`x-ms-copy-status`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},lT={serializedName:`Blob_copyFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlobCopyFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},uT={serializedName:`Blob_abortCopyFromURLHeaders`,type:{name:`Composite`,className:`BlobAbortCopyFromURLHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},dT={serializedName:`Blob_abortCopyFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlobAbortCopyFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},fT={serializedName:`Blob_setTierHeaders`,type:{name:`Composite`,className:`BlobSetTierHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},pT={serializedName:`Blob_setTierExceptionHeaders`,type:{name:`Composite`,className:`BlobSetTierExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},mT={serializedName:`Blob_getAccountInfoHeaders`,type:{name:`Composite`,className:`BlobGetAccountInfoHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},skuName:{serializedName:`x-ms-sku-name`,xmlName:`x-ms-sku-name`,type:{name:`Enum`,allowedValues:[`Standard_LRS`,`Standard_GRS`,`Standard_RAGRS`,`Standard_ZRS`,`Premium_LRS`]}},accountKind:{serializedName:`x-ms-account-kind`,xmlName:`x-ms-account-kind`,type:{name:`Enum`,allowedValues:[`Storage`,`BlobStorage`,`StorageV2`,`FileStorage`,`BlockBlobStorage`]}},isHierarchicalNamespaceEnabled:{serializedName:`x-ms-is-hns-enabled`,xmlName:`x-ms-is-hns-enabled`,type:{name:`Boolean`}}}}},hT={serializedName:`Blob_getAccountInfoExceptionHeaders`,type:{name:`Composite`,className:`BlobGetAccountInfoExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},gT={serializedName:`Blob_queryHeaders`,type:{name:`Composite`,className:`BlobQueryHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},metadata:{serializedName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,xmlName:`x-ms-meta`,type:{name:`Dictionary`,value:{type:{name:`String`}}}},contentLength:{serializedName:`content-length`,xmlName:`content-length`,type:{name:`Number`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},contentRange:{serializedName:`content-range`,xmlName:`content-range`,type:{name:`String`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},contentEncoding:{serializedName:`content-encoding`,xmlName:`content-encoding`,type:{name:`String`}},cacheControl:{serializedName:`cache-control`,xmlName:`cache-control`,type:{name:`String`}},contentDisposition:{serializedName:`content-disposition`,xmlName:`content-disposition`,type:{name:`String`}},contentLanguage:{serializedName:`content-language`,xmlName:`content-language`,type:{name:`String`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},blobType:{serializedName:`x-ms-blob-type`,xmlName:`x-ms-blob-type`,type:{name:`Enum`,allowedValues:[`BlockBlob`,`PageBlob`,`AppendBlob`]}},copyCompletionTime:{serializedName:`x-ms-copy-completion-time`,xmlName:`x-ms-copy-completion-time`,type:{name:`DateTimeRfc1123`}},copyStatusDescription:{serializedName:`x-ms-copy-status-description`,xmlName:`x-ms-copy-status-description`,type:{name:`String`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyProgress:{serializedName:`x-ms-copy-progress`,xmlName:`x-ms-copy-progress`,type:{name:`String`}},copySource:{serializedName:`x-ms-copy-source`,xmlName:`x-ms-copy-source`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},leaseDuration:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Enum`,allowedValues:[`infinite`,`fixed`]}},leaseState:{serializedName:`x-ms-lease-state`,xmlName:`x-ms-lease-state`,type:{name:`Enum`,allowedValues:[`available`,`leased`,`expired`,`breaking`,`broken`]}},leaseStatus:{serializedName:`x-ms-lease-status`,xmlName:`x-ms-lease-status`,type:{name:`Enum`,allowedValues:[`locked`,`unlocked`]}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},acceptRanges:{serializedName:`accept-ranges`,xmlName:`accept-ranges`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-server-encrypted`,xmlName:`x-ms-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},blobContentMD5:{serializedName:`x-ms-blob-content-md5`,xmlName:`x-ms-blob-content-md5`,type:{name:`ByteArray`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},contentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}}}}},_T={serializedName:`Blob_queryExceptionHeaders`,type:{name:`Composite`,className:`BlobQueryExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},vT={serializedName:`Blob_getTagsHeaders`,type:{name:`Composite`,className:`BlobGetTagsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},yT={serializedName:`Blob_getTagsExceptionHeaders`,type:{name:`Composite`,className:`BlobGetTagsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},bT={serializedName:`Blob_setTagsHeaders`,type:{name:`Composite`,className:`BlobSetTagsHeaders`,modelProperties:{clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},xT={serializedName:`Blob_setTagsExceptionHeaders`,type:{name:`Composite`,className:`BlobSetTagsExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ST={serializedName:`PageBlob_createHeaders`,type:{name:`Composite`,className:`PageBlobCreateHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},CT={serializedName:`PageBlob_createExceptionHeaders`,type:{name:`Composite`,className:`PageBlobCreateExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},wT={serializedName:`PageBlob_uploadPagesHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},TT={serializedName:`PageBlob_uploadPagesExceptionHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ET={serializedName:`PageBlob_clearPagesHeaders`,type:{name:`Composite`,className:`PageBlobClearPagesHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},DT={serializedName:`PageBlob_clearPagesExceptionHeaders`,type:{name:`Composite`,className:`PageBlobClearPagesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},OT={serializedName:`PageBlob_uploadPagesFromURLHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesFromURLHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},kT={serializedName:`PageBlob_uploadPagesFromURLExceptionHeaders`,type:{name:`Composite`,className:`PageBlobUploadPagesFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},AT={serializedName:`PageBlob_getPageRangesHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},blobContentLength:{serializedName:`x-ms-blob-content-length`,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},jT={serializedName:`PageBlob_getPageRangesExceptionHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},MT={serializedName:`PageBlob_getPageRangesDiffHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesDiffHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},blobContentLength:{serializedName:`x-ms-blob-content-length`,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},NT={serializedName:`PageBlob_getPageRangesDiffExceptionHeaders`,type:{name:`Composite`,className:`PageBlobGetPageRangesDiffExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},PT={serializedName:`PageBlob_resizeHeaders`,type:{name:`Composite`,className:`PageBlobResizeHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},FT={serializedName:`PageBlob_resizeExceptionHeaders`,type:{name:`Composite`,className:`PageBlobResizeExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},IT={serializedName:`PageBlob_updateSequenceNumberHeaders`,type:{name:`Composite`,className:`PageBlobUpdateSequenceNumberHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},blobSequenceNumber:{serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},LT={serializedName:`PageBlob_updateSequenceNumberExceptionHeaders`,type:{name:`Composite`,className:`PageBlobUpdateSequenceNumberExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},RT={serializedName:`PageBlob_copyIncrementalHeaders`,type:{name:`Composite`,className:`PageBlobCopyIncrementalHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},copyId:{serializedName:`x-ms-copy-id`,xmlName:`x-ms-copy-id`,type:{name:`String`}},copyStatus:{serializedName:`x-ms-copy-status`,xmlName:`x-ms-copy-status`,type:{name:`Enum`,allowedValues:[`pending`,`success`,`aborted`,`failed`]}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},zT={serializedName:`PageBlob_copyIncrementalExceptionHeaders`,type:{name:`Composite`,className:`PageBlobCopyIncrementalExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},BT={serializedName:`AppendBlob_createHeaders`,type:{name:`Composite`,className:`AppendBlobCreateHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},VT={serializedName:`AppendBlob_createExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobCreateExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},HT={serializedName:`AppendBlob_appendBlockHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobAppendOffset:{serializedName:`x-ms-blob-append-offset`,xmlName:`x-ms-blob-append-offset`,type:{name:`String`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},UT={serializedName:`AppendBlob_appendBlockExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},WT={serializedName:`AppendBlob_appendBlockFromUrlHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockFromUrlHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},blobAppendOffset:{serializedName:`x-ms-blob-append-offset`,xmlName:`x-ms-blob-append-offset`,type:{name:`String`}},blobCommittedBlockCount:{serializedName:`x-ms-blob-committed-block-count`,xmlName:`x-ms-blob-committed-block-count`,type:{name:`Number`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},GT={serializedName:`AppendBlob_appendBlockFromUrlExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobAppendBlockFromUrlExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},KT={serializedName:`AppendBlob_sealHeaders`,type:{name:`Composite`,className:`AppendBlobSealHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isSealed:{serializedName:`x-ms-blob-sealed`,xmlName:`x-ms-blob-sealed`,type:{name:`Boolean`}}}}},qT={serializedName:`AppendBlob_sealExceptionHeaders`,type:{name:`Composite`,className:`AppendBlobSealExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},JT={serializedName:`BlockBlob_uploadHeaders`,type:{name:`Composite`,className:`BlockBlobUploadHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},YT={serializedName:`BlockBlob_uploadExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobUploadExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},XT={serializedName:`BlockBlob_putBlobFromUrlHeaders`,type:{name:`Composite`,className:`BlockBlobPutBlobFromUrlHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},ZT={serializedName:`BlockBlob_putBlobFromUrlExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobPutBlobFromUrlExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},QT={serializedName:`BlockBlob_stageBlockHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockHeaders`,modelProperties:{contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},$T={serializedName:`BlockBlob_stageBlockExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},eE={serializedName:`BlockBlob_stageBlockFromURLHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockFromURLHeaders`,modelProperties:{contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},tE={serializedName:`BlockBlob_stageBlockFromURLExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobStageBlockFromURLExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}},copySourceErrorCode:{serializedName:`x-ms-copy-source-error-code`,xmlName:`x-ms-copy-source-error-code`,type:{name:`String`}},copySourceStatusCode:{serializedName:`x-ms-copy-source-status-code`,xmlName:`x-ms-copy-source-status-code`,type:{name:`Number`}}}}},nE={serializedName:`BlockBlob_commitBlockListHeaders`,type:{name:`Composite`,className:`BlockBlobCommitBlockListHeaders`,modelProperties:{etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},contentMD5:{serializedName:`content-md5`,xmlName:`content-md5`,type:{name:`ByteArray`}},xMsContentCrc64:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},versionId:{serializedName:`x-ms-version-id`,xmlName:`x-ms-version-id`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},isServerEncrypted:{serializedName:`x-ms-request-server-encrypted`,xmlName:`x-ms-request-server-encrypted`,type:{name:`Boolean`}},encryptionKeySha256:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}},encryptionScope:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},rE={serializedName:`BlockBlob_commitBlockListExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobCommitBlockListExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},iE={serializedName:`BlockBlob_getBlockListHeaders`,type:{name:`Composite`,className:`BlockBlobGetBlockListHeaders`,modelProperties:{lastModified:{serializedName:`last-modified`,xmlName:`last-modified`,type:{name:`DateTimeRfc1123`}},etag:{serializedName:`etag`,xmlName:`etag`,type:{name:`String`}},contentType:{serializedName:`content-type`,xmlName:`content-type`,type:{name:`String`}},blobContentLength:{serializedName:`x-ms-blob-content-length`,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}},clientRequestId:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}},requestId:{serializedName:`x-ms-request-id`,xmlName:`x-ms-request-id`,type:{name:`String`}},version:{serializedName:`x-ms-version`,xmlName:`x-ms-version`,type:{name:`String`}},date:{serializedName:`date`,xmlName:`date`,type:{name:`DateTimeRfc1123`}},errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},aE={serializedName:`BlockBlob_getBlockListExceptionHeaders`,type:{name:`Composite`,className:`BlockBlobGetBlockListExceptionHeaders`,modelProperties:{errorCode:{serializedName:`x-ms-error-code`,xmlName:`x-ms-error-code`,type:{name:`String`}}}}},oE={parameterPath:[`options`,`contentType`],mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Content-Type`,type:{name:`String`}}},sE={parameterPath:`blobServiceProperties`,mapper:WS},cE={parameterPath:`accept`,mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Accept`,type:{name:`String`}}},U={parameterPath:`url`,mapper:{serializedName:`url`,required:!0,xmlName:`url`,type:{name:`String`}},skipEncoding:!0},lE={parameterPath:`restype`,mapper:{defaultValue:`service`,isConstant:!0,serializedName:`restype`,type:{name:`String`}}},uE={parameterPath:`comp`,mapper:{defaultValue:`properties`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},W={parameterPath:[`options`,`timeoutInSeconds`],mapper:{constraints:{InclusiveMinimum:0},serializedName:`timeout`,xmlName:`timeout`,type:{name:`Number`}}},G={parameterPath:`version`,mapper:{defaultValue:`2026-02-06`,isConstant:!0,serializedName:`x-ms-version`,type:{name:`String`}}},K={parameterPath:[`options`,`requestId`],mapper:{serializedName:`x-ms-client-request-id`,xmlName:`x-ms-client-request-id`,type:{name:`String`}}},q={parameterPath:`accept`,mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Accept`,type:{name:`String`}}},dE={parameterPath:`comp`,mapper:{defaultValue:`stats`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},fE={parameterPath:`comp`,mapper:{defaultValue:`list`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},pE={parameterPath:[`options`,`prefix`],mapper:{serializedName:`prefix`,xmlName:`prefix`,type:{name:`String`}}},mE={parameterPath:[`options`,`marker`],mapper:{serializedName:`marker`,xmlName:`marker`,type:{name:`String`}}},hE={parameterPath:[`options`,`maxPageSize`],mapper:{constraints:{InclusiveMinimum:1},serializedName:`maxresults`,xmlName:`maxresults`,type:{name:`Number`}}},gE={parameterPath:[`options`,`include`],mapper:{serializedName:`include`,xmlName:`include`,xmlElementName:`ListContainersIncludeType`,type:{name:`Sequence`,element:{type:{name:`Enum`,allowedValues:[`metadata`,`deleted`,`system`]}}}},collectionFormat:`CSV`},_E={parameterPath:`keyInfo`,mapper:tC},vE={parameterPath:`comp`,mapper:{defaultValue:`userdelegationkey`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},yE={parameterPath:`restype`,mapper:{defaultValue:`account`,isConstant:!0,serializedName:`restype`,type:{name:`String`}}},bE={parameterPath:`body`,mapper:{serializedName:`body`,required:!0,xmlName:`body`,type:{name:`Stream`}}},xE={parameterPath:`comp`,mapper:{defaultValue:`batch`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},SE={parameterPath:`contentLength`,mapper:{serializedName:`Content-Length`,required:!0,xmlName:`Content-Length`,type:{name:`Number`}}},CE={parameterPath:`multipartContentType`,mapper:{serializedName:`Content-Type`,required:!0,xmlName:`Content-Type`,type:{name:`String`}}},wE={parameterPath:`comp`,mapper:{defaultValue:`blobs`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},TE={parameterPath:[`options`,`where`],mapper:{serializedName:`where`,xmlName:`where`,type:{name:`String`}}},EE={parameterPath:`restype`,mapper:{defaultValue:`container`,isConstant:!0,serializedName:`restype`,type:{name:`String`}}},DE={parameterPath:[`options`,`metadata`],mapper:{serializedName:`x-ms-meta`,xmlName:`x-ms-meta`,headerCollectionPrefix:`x-ms-meta-`,type:{name:`Dictionary`,value:{type:{name:`String`}}}}},OE={parameterPath:[`options`,`access`],mapper:{serializedName:`x-ms-blob-public-access`,xmlName:`x-ms-blob-public-access`,type:{name:`Enum`,allowedValues:[`container`,`blob`]}}},kE={parameterPath:[`options`,`containerEncryptionScope`,`defaultEncryptionScope`],mapper:{serializedName:`x-ms-default-encryption-scope`,xmlName:`x-ms-default-encryption-scope`,type:{name:`String`}}},AE={parameterPath:[`options`,`containerEncryptionScope`,`preventEncryptionScopeOverride`],mapper:{serializedName:`x-ms-deny-encryption-scope-override`,xmlName:`x-ms-deny-encryption-scope-override`,type:{name:`Boolean`}}},J={parameterPath:[`options`,`leaseAccessConditions`,`leaseId`],mapper:{serializedName:`x-ms-lease-id`,xmlName:`x-ms-lease-id`,type:{name:`String`}}},Y={parameterPath:[`options`,`modifiedAccessConditions`,`ifModifiedSince`],mapper:{serializedName:`If-Modified-Since`,xmlName:`If-Modified-Since`,type:{name:`DateTimeRfc1123`}}},X={parameterPath:[`options`,`modifiedAccessConditions`,`ifUnmodifiedSince`],mapper:{serializedName:`If-Unmodified-Since`,xmlName:`If-Unmodified-Since`,type:{name:`DateTimeRfc1123`}}},jE={parameterPath:`comp`,mapper:{defaultValue:`metadata`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},ME={parameterPath:`comp`,mapper:{defaultValue:`acl`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},NE={parameterPath:[`options`,`containerAcl`],mapper:{serializedName:`containerAcl`,xmlName:`SignedIdentifiers`,xmlIsWrapped:!0,xmlElementName:`SignedIdentifier`,type:{name:`Sequence`,element:{type:{name:`Composite`,className:`SignedIdentifier`}}}}},PE={parameterPath:`comp`,mapper:{defaultValue:`undelete`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},FE={parameterPath:[`options`,`deletedContainerName`],mapper:{serializedName:`x-ms-deleted-container-name`,xmlName:`x-ms-deleted-container-name`,type:{name:`String`}}},IE={parameterPath:[`options`,`deletedContainerVersion`],mapper:{serializedName:`x-ms-deleted-container-version`,xmlName:`x-ms-deleted-container-version`,type:{name:`String`}}},LE={parameterPath:`comp`,mapper:{defaultValue:`rename`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},RE={parameterPath:`sourceContainerName`,mapper:{serializedName:`x-ms-source-container-name`,required:!0,xmlName:`x-ms-source-container-name`,type:{name:`String`}}},zE={parameterPath:[`options`,`sourceLeaseId`],mapper:{serializedName:`x-ms-source-lease-id`,xmlName:`x-ms-source-lease-id`,type:{name:`String`}}},BE={parameterPath:`comp`,mapper:{defaultValue:`lease`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},VE={parameterPath:`action`,mapper:{defaultValue:`acquire`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},HE={parameterPath:[`options`,`duration`],mapper:{serializedName:`x-ms-lease-duration`,xmlName:`x-ms-lease-duration`,type:{name:`Number`}}},UE={parameterPath:[`options`,`proposedLeaseId`],mapper:{serializedName:`x-ms-proposed-lease-id`,xmlName:`x-ms-proposed-lease-id`,type:{name:`String`}}},WE={parameterPath:`action`,mapper:{defaultValue:`release`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},GE={parameterPath:`leaseId`,mapper:{serializedName:`x-ms-lease-id`,required:!0,xmlName:`x-ms-lease-id`,type:{name:`String`}}},KE={parameterPath:`action`,mapper:{defaultValue:`renew`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},qE={parameterPath:`action`,mapper:{defaultValue:`break`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},JE={parameterPath:[`options`,`breakPeriod`],mapper:{serializedName:`x-ms-lease-break-period`,xmlName:`x-ms-lease-break-period`,type:{name:`Number`}}},YE={parameterPath:`action`,mapper:{defaultValue:`change`,isConstant:!0,serializedName:`x-ms-lease-action`,type:{name:`String`}}},XE={parameterPath:`proposedLeaseId`,mapper:{serializedName:`x-ms-proposed-lease-id`,required:!0,xmlName:`x-ms-proposed-lease-id`,type:{name:`String`}}},ZE={parameterPath:[`options`,`include`],mapper:{serializedName:`include`,xmlName:`include`,xmlElementName:`ListBlobsIncludeItem`,type:{name:`Sequence`,element:{type:{name:`Enum`,allowedValues:[`copy`,`deleted`,`metadata`,`snapshots`,`uncommittedblobs`,`versions`,`tags`,`immutabilitypolicy`,`legalhold`,`deletedwithversions`]}}}},collectionFormat:`CSV`},QE={parameterPath:[`options`,`startFrom`],mapper:{serializedName:`startFrom`,xmlName:`startFrom`,type:{name:`String`}}},$E={parameterPath:`delimiter`,mapper:{serializedName:`delimiter`,required:!0,xmlName:`delimiter`,type:{name:`String`}}},eD={parameterPath:[`options`,`snapshot`],mapper:{serializedName:`snapshot`,xmlName:`snapshot`,type:{name:`String`}}},tD={parameterPath:[`options`,`versionId`],mapper:{serializedName:`versionid`,xmlName:`versionid`,type:{name:`String`}}},nD={parameterPath:[`options`,`range`],mapper:{serializedName:`x-ms-range`,xmlName:`x-ms-range`,type:{name:`String`}}},rD={parameterPath:[`options`,`rangeGetContentMD5`],mapper:{serializedName:`x-ms-range-get-content-md5`,xmlName:`x-ms-range-get-content-md5`,type:{name:`Boolean`}}},iD={parameterPath:[`options`,`rangeGetContentCRC64`],mapper:{serializedName:`x-ms-range-get-content-crc64`,xmlName:`x-ms-range-get-content-crc64`,type:{name:`Boolean`}}},aD={parameterPath:[`options`,`cpkInfo`,`encryptionKey`],mapper:{serializedName:`x-ms-encryption-key`,xmlName:`x-ms-encryption-key`,type:{name:`String`}}},oD={parameterPath:[`options`,`cpkInfo`,`encryptionKeySha256`],mapper:{serializedName:`x-ms-encryption-key-sha256`,xmlName:`x-ms-encryption-key-sha256`,type:{name:`String`}}},sD={parameterPath:[`options`,`cpkInfo`,`encryptionAlgorithm`],mapper:{serializedName:`x-ms-encryption-algorithm`,xmlName:`x-ms-encryption-algorithm`,type:{name:`String`}}},cD={parameterPath:[`options`,`modifiedAccessConditions`,`ifMatch`],mapper:{serializedName:`If-Match`,xmlName:`If-Match`,type:{name:`String`}}},lD={parameterPath:[`options`,`modifiedAccessConditions`,`ifNoneMatch`],mapper:{serializedName:`If-None-Match`,xmlName:`If-None-Match`,type:{name:`String`}}},uD={parameterPath:[`options`,`modifiedAccessConditions`,`ifTags`],mapper:{serializedName:`x-ms-if-tags`,xmlName:`x-ms-if-tags`,type:{name:`String`}}},dD={parameterPath:[`options`,`deleteSnapshots`],mapper:{serializedName:`x-ms-delete-snapshots`,xmlName:`x-ms-delete-snapshots`,type:{name:`Enum`,allowedValues:[`include`,`only`]}}},fD={parameterPath:[`options`,`blobDeleteType`],mapper:{serializedName:`deletetype`,xmlName:`deletetype`,type:{name:`String`}}},pD={parameterPath:`comp`,mapper:{defaultValue:`expiry`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},mD={parameterPath:`expiryOptions`,mapper:{serializedName:`x-ms-expiry-option`,required:!0,xmlName:`x-ms-expiry-option`,type:{name:`String`}}},hD={parameterPath:[`options`,`expiresOn`],mapper:{serializedName:`x-ms-expiry-time`,xmlName:`x-ms-expiry-time`,type:{name:`String`}}},gD={parameterPath:[`options`,`blobHttpHeaders`,`blobCacheControl`],mapper:{serializedName:`x-ms-blob-cache-control`,xmlName:`x-ms-blob-cache-control`,type:{name:`String`}}},_D={parameterPath:[`options`,`blobHttpHeaders`,`blobContentType`],mapper:{serializedName:`x-ms-blob-content-type`,xmlName:`x-ms-blob-content-type`,type:{name:`String`}}},vD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentMD5`],mapper:{serializedName:`x-ms-blob-content-md5`,xmlName:`x-ms-blob-content-md5`,type:{name:`ByteArray`}}},yD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentEncoding`],mapper:{serializedName:`x-ms-blob-content-encoding`,xmlName:`x-ms-blob-content-encoding`,type:{name:`String`}}},bD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentLanguage`],mapper:{serializedName:`x-ms-blob-content-language`,xmlName:`x-ms-blob-content-language`,type:{name:`String`}}},xD={parameterPath:[`options`,`blobHttpHeaders`,`blobContentDisposition`],mapper:{serializedName:`x-ms-blob-content-disposition`,xmlName:`x-ms-blob-content-disposition`,type:{name:`String`}}},SD={parameterPath:`comp`,mapper:{defaultValue:`immutabilityPolicies`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},CD={parameterPath:[`options`,`immutabilityPolicyExpiry`],mapper:{serializedName:`x-ms-immutability-policy-until-date`,xmlName:`x-ms-immutability-policy-until-date`,type:{name:`DateTimeRfc1123`}}},wD={parameterPath:[`options`,`immutabilityPolicyMode`],mapper:{serializedName:`x-ms-immutability-policy-mode`,xmlName:`x-ms-immutability-policy-mode`,type:{name:`Enum`,allowedValues:[`Mutable`,`Unlocked`,`Locked`]}}},TD={parameterPath:`comp`,mapper:{defaultValue:`legalhold`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},ED={parameterPath:`legalHold`,mapper:{serializedName:`x-ms-legal-hold`,required:!0,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}}},DD={parameterPath:[`options`,`encryptionScope`],mapper:{serializedName:`x-ms-encryption-scope`,xmlName:`x-ms-encryption-scope`,type:{name:`String`}}},OD={parameterPath:`comp`,mapper:{defaultValue:`snapshot`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},kD={parameterPath:[`options`,`tier`],mapper:{serializedName:`x-ms-access-tier`,xmlName:`x-ms-access-tier`,type:{name:`Enum`,allowedValues:[`P4`,`P6`,`P10`,`P15`,`P20`,`P30`,`P40`,`P50`,`P60`,`P70`,`P80`,`Hot`,`Cool`,`Archive`,`Cold`]}}},AD={parameterPath:[`options`,`rehydratePriority`],mapper:{serializedName:`x-ms-rehydrate-priority`,xmlName:`x-ms-rehydrate-priority`,type:{name:`Enum`,allowedValues:[`High`,`Standard`]}}},jD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfModifiedSince`],mapper:{serializedName:`x-ms-source-if-modified-since`,xmlName:`x-ms-source-if-modified-since`,type:{name:`DateTimeRfc1123`}}},MD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfUnmodifiedSince`],mapper:{serializedName:`x-ms-source-if-unmodified-since`,xmlName:`x-ms-source-if-unmodified-since`,type:{name:`DateTimeRfc1123`}}},ND={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfMatch`],mapper:{serializedName:`x-ms-source-if-match`,xmlName:`x-ms-source-if-match`,type:{name:`String`}}},PD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfNoneMatch`],mapper:{serializedName:`x-ms-source-if-none-match`,xmlName:`x-ms-source-if-none-match`,type:{name:`String`}}},FD={parameterPath:[`options`,`sourceModifiedAccessConditions`,`sourceIfTags`],mapper:{serializedName:`x-ms-source-if-tags`,xmlName:`x-ms-source-if-tags`,type:{name:`String`}}},ID={parameterPath:`copySource`,mapper:{serializedName:`x-ms-copy-source`,required:!0,xmlName:`x-ms-copy-source`,type:{name:`String`}}},LD={parameterPath:[`options`,`blobTagsString`],mapper:{serializedName:`x-ms-tags`,xmlName:`x-ms-tags`,type:{name:`String`}}},RD={parameterPath:[`options`,`sealBlob`],mapper:{serializedName:`x-ms-seal-blob`,xmlName:`x-ms-seal-blob`,type:{name:`Boolean`}}},zD={parameterPath:[`options`,`legalHold`],mapper:{serializedName:`x-ms-legal-hold`,xmlName:`x-ms-legal-hold`,type:{name:`Boolean`}}},BD={parameterPath:`xMsRequiresSync`,mapper:{defaultValue:`true`,isConstant:!0,serializedName:`x-ms-requires-sync`,type:{name:`String`}}},VD={parameterPath:[`options`,`sourceContentMD5`],mapper:{serializedName:`x-ms-source-content-md5`,xmlName:`x-ms-source-content-md5`,type:{name:`ByteArray`}}},HD={parameterPath:[`options`,`copySourceAuthorization`],mapper:{serializedName:`x-ms-copy-source-authorization`,xmlName:`x-ms-copy-source-authorization`,type:{name:`String`}}},UD={parameterPath:[`options`,`copySourceTags`],mapper:{serializedName:`x-ms-copy-source-tag-option`,xmlName:`x-ms-copy-source-tag-option`,type:{name:`Enum`,allowedValues:[`REPLACE`,`COPY`]}}},WD={parameterPath:[`options`,`fileRequestIntent`],mapper:{serializedName:`x-ms-file-request-intent`,xmlName:`x-ms-file-request-intent`,type:{name:`String`}}},GD={parameterPath:`comp`,mapper:{defaultValue:`copy`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},KD={parameterPath:`copyActionAbortConstant`,mapper:{defaultValue:`abort`,isConstant:!0,serializedName:`x-ms-copy-action`,type:{name:`String`}}},qD={parameterPath:`copyId`,mapper:{serializedName:`copyid`,required:!0,xmlName:`copyid`,type:{name:`String`}}},JD={parameterPath:`comp`,mapper:{defaultValue:`tier`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},YD={parameterPath:`tier`,mapper:{serializedName:`x-ms-access-tier`,required:!0,xmlName:`x-ms-access-tier`,type:{name:`Enum`,allowedValues:[`P4`,`P6`,`P10`,`P15`,`P20`,`P30`,`P40`,`P50`,`P60`,`P70`,`P80`,`Hot`,`Cool`,`Archive`,`Cold`]}}},XD={parameterPath:[`options`,`queryRequest`],mapper:CC},ZD={parameterPath:`comp`,mapper:{defaultValue:`query`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},QD={parameterPath:`comp`,mapper:{defaultValue:`tags`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},$D={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifModifiedSince`],mapper:{serializedName:`x-ms-blob-if-modified-since`,xmlName:`x-ms-blob-if-modified-since`,type:{name:`DateTimeRfc1123`}}},eO={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifUnmodifiedSince`],mapper:{serializedName:`x-ms-blob-if-unmodified-since`,xmlName:`x-ms-blob-if-unmodified-since`,type:{name:`DateTimeRfc1123`}}},tO={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifMatch`],mapper:{serializedName:`x-ms-blob-if-match`,xmlName:`x-ms-blob-if-match`,type:{name:`String`}}},nO={parameterPath:[`options`,`blobModifiedAccessConditions`,`ifNoneMatch`],mapper:{serializedName:`x-ms-blob-if-none-match`,xmlName:`x-ms-blob-if-none-match`,type:{name:`String`}}},rO={parameterPath:[`options`,`tags`],mapper:aC},iO={parameterPath:[`options`,`transactionalContentMD5`],mapper:{serializedName:`Content-MD5`,xmlName:`Content-MD5`,type:{name:`ByteArray`}}},aO={parameterPath:[`options`,`transactionalContentCrc64`],mapper:{serializedName:`x-ms-content-crc64`,xmlName:`x-ms-content-crc64`,type:{name:`ByteArray`}}},oO={parameterPath:`blobType`,mapper:{defaultValue:`PageBlob`,isConstant:!0,serializedName:`x-ms-blob-type`,type:{name:`String`}}},sO={parameterPath:`blobContentLength`,mapper:{serializedName:`x-ms-blob-content-length`,required:!0,xmlName:`x-ms-blob-content-length`,type:{name:`Number`}}},cO={parameterPath:[`options`,`blobSequenceNumber`],mapper:{defaultValue:0,serializedName:`x-ms-blob-sequence-number`,xmlName:`x-ms-blob-sequence-number`,type:{name:`Number`}}},lO={parameterPath:[`options`,`contentType`],mapper:{defaultValue:`application/octet-stream`,isConstant:!0,serializedName:`Content-Type`,type:{name:`String`}}},uO={parameterPath:`body`,mapper:{serializedName:`body`,required:!0,xmlName:`body`,type:{name:`Stream`}}},dO={parameterPath:`accept`,mapper:{defaultValue:`application/xml`,isConstant:!0,serializedName:`Accept`,type:{name:`String`}}},fO={parameterPath:`comp`,mapper:{defaultValue:`page`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},pO={parameterPath:`pageWrite`,mapper:{defaultValue:`update`,isConstant:!0,serializedName:`x-ms-page-write`,type:{name:`String`}}},mO={parameterPath:[`options`,`sequenceNumberAccessConditions`,`ifSequenceNumberLessThanOrEqualTo`],mapper:{serializedName:`x-ms-if-sequence-number-le`,xmlName:`x-ms-if-sequence-number-le`,type:{name:`Number`}}},hO={parameterPath:[`options`,`sequenceNumberAccessConditions`,`ifSequenceNumberLessThan`],mapper:{serializedName:`x-ms-if-sequence-number-lt`,xmlName:`x-ms-if-sequence-number-lt`,type:{name:`Number`}}},gO={parameterPath:[`options`,`sequenceNumberAccessConditions`,`ifSequenceNumberEqualTo`],mapper:{serializedName:`x-ms-if-sequence-number-eq`,xmlName:`x-ms-if-sequence-number-eq`,type:{name:`Number`}}},_O={parameterPath:`pageWrite`,mapper:{defaultValue:`clear`,isConstant:!0,serializedName:`x-ms-page-write`,type:{name:`String`}}},vO={parameterPath:`sourceUrl`,mapper:{serializedName:`x-ms-copy-source`,required:!0,xmlName:`x-ms-copy-source`,type:{name:`String`}}},yO={parameterPath:`sourceRange`,mapper:{serializedName:`x-ms-source-range`,required:!0,xmlName:`x-ms-source-range`,type:{name:`String`}}},bO={parameterPath:[`options`,`sourceContentCrc64`],mapper:{serializedName:`x-ms-source-content-crc64`,xmlName:`x-ms-source-content-crc64`,type:{name:`ByteArray`}}},xO={parameterPath:`range`,mapper:{serializedName:`x-ms-range`,required:!0,xmlName:`x-ms-range`,type:{name:`String`}}},SO={parameterPath:`comp`,mapper:{defaultValue:`pagelist`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},CO={parameterPath:[`options`,`prevsnapshot`],mapper:{serializedName:`prevsnapshot`,xmlName:`prevsnapshot`,type:{name:`String`}}},wO={parameterPath:[`options`,`prevSnapshotUrl`],mapper:{serializedName:`x-ms-previous-snapshot-url`,xmlName:`x-ms-previous-snapshot-url`,type:{name:`String`}}},TO={parameterPath:`sequenceNumberAction`,mapper:{serializedName:`x-ms-sequence-number-action`,required:!0,xmlName:`x-ms-sequence-number-action`,type:{name:`Enum`,allowedValues:[`max`,`update`,`increment`]}}},EO={parameterPath:`comp`,mapper:{defaultValue:`incrementalcopy`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},DO={parameterPath:`blobType`,mapper:{defaultValue:`AppendBlob`,isConstant:!0,serializedName:`x-ms-blob-type`,type:{name:`String`}}},OO={parameterPath:`comp`,mapper:{defaultValue:`appendblock`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},kO={parameterPath:[`options`,`appendPositionAccessConditions`,`maxSize`],mapper:{serializedName:`x-ms-blob-condition-maxsize`,xmlName:`x-ms-blob-condition-maxsize`,type:{name:`Number`}}},AO={parameterPath:[`options`,`appendPositionAccessConditions`,`appendPosition`],mapper:{serializedName:`x-ms-blob-condition-appendpos`,xmlName:`x-ms-blob-condition-appendpos`,type:{name:`Number`}}},jO={parameterPath:[`options`,`sourceRange`],mapper:{serializedName:`x-ms-source-range`,xmlName:`x-ms-source-range`,type:{name:`String`}}},MO={parameterPath:`comp`,mapper:{defaultValue:`seal`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},NO={parameterPath:`blobType`,mapper:{defaultValue:`BlockBlob`,isConstant:!0,serializedName:`x-ms-blob-type`,type:{name:`String`}}},PO={parameterPath:[`options`,`copySourceBlobProperties`],mapper:{serializedName:`x-ms-copy-source-blob-properties`,xmlName:`x-ms-copy-source-blob-properties`,type:{name:`Boolean`}}},FO={parameterPath:`comp`,mapper:{defaultValue:`block`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},IO={parameterPath:`blockId`,mapper:{serializedName:`blockid`,required:!0,xmlName:`blockid`,type:{name:`String`}}},LO={parameterPath:`blocks`,mapper:_C},RO={parameterPath:`comp`,mapper:{defaultValue:`blocklist`,isConstant:!0,serializedName:`comp`,type:{name:`String`}}},zO={parameterPath:`listType`,mapper:{defaultValue:`committed`,serializedName:`blocklisttype`,required:!0,xmlName:`blocklisttype`,type:{name:`Enum`,allowedValues:[`committed`,`uncommitted`,`all`]}}};var BO=class{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},HO)}getProperties(e){return this.client.sendOperationRequest({options:e},UO)}getStatistics(e){return this.client.sendOperationRequest({options:e},WO)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},GO)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},KO)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},qO)}submitBatch(e,t,n,r){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:r},JO)}filterBlobs(e){return this.client.sendOperationRequest({options:e},YO)}};const VO=S_(US,!0),HO={path:`/`,httpMethod:`PUT`,responses:{202:{headersMapper:AC},default:{bodyMapper:H,headersMapper:jC}},requestBody:sE,queryParameters:[lE,uE,W],urlParameters:[U],headerParameters:[oE,cE,G,K],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:VO},UO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:WS,headersMapper:MC},default:{bodyMapper:H,headersMapper:NC}},queryParameters:[lE,uE,W],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:VO},WO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:XS,headersMapper:PC},default:{bodyMapper:H,headersMapper:FC}},queryParameters:[lE,W,dE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:VO},GO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:QS,headersMapper:IC},default:{bodyMapper:H,headersMapper:LC}},queryParameters:[W,fE,pE,mE,hE,gE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:VO},KO={path:`/`,httpMethod:`POST`,responses:{200:{bodyMapper:nC,headersMapper:RC},default:{bodyMapper:H,headersMapper:zC}},requestBody:_E,queryParameters:[lE,W,vE],urlParameters:[U],headerParameters:[oE,cE,G,K],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:VO},qO={path:`/`,httpMethod:`GET`,responses:{200:{headersMapper:BC},default:{bodyMapper:H,headersMapper:VC}},queryParameters:[uE,W,yE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:VO},JO={path:`/`,httpMethod:`POST`,responses:{202:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:HC},default:{bodyMapper:H,headersMapper:UC}},requestBody:bE,queryParameters:[W,xE],urlParameters:[U],headerParameters:[cE,G,K,SE,CE],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:VO},YO={path:`/`,httpMethod:`GET`,responses:{200:{bodyMapper:rC,headersMapper:WC},default:{bodyMapper:H,headersMapper:GC}},queryParameters:[W,mE,hE,wE,TE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:VO};var XO=class{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},QO)}getProperties(e){return this.client.sendOperationRequest({options:e},$O)}delete(e){return this.client.sendOperationRequest({options:e},ek)}setMetadata(e){return this.client.sendOperationRequest({options:e},tk)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},nk)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},rk)}restore(e){return this.client.sendOperationRequest({options:e},ik)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},ak)}submitBatch(e,t,n,r){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:n,options:r},ok)}filterBlobs(e){return this.client.sendOperationRequest({options:e},sk)}acquireLease(e){return this.client.sendOperationRequest({options:e},ck)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},lk)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},uk)}breakLease(e){return this.client.sendOperationRequest({options:e},dk)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},fk)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},pk)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},mk)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},hk)}};const ZO=S_(US,!0),QO={path:`/{containerName}`,httpMethod:`PUT`,responses:{201:{headersMapper:KC},default:{bodyMapper:H,headersMapper:qC}},queryParameters:[W,EE],urlParameters:[U],headerParameters:[G,K,q,DE,OE,kE,AE],isXML:!0,serializer:ZO},$O={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{headersMapper:JC},default:{bodyMapper:H,headersMapper:YC}},queryParameters:[W,EE],urlParameters:[U],headerParameters:[G,K,q,J],isXML:!0,serializer:ZO},ek={path:`/{containerName}`,httpMethod:`DELETE`,responses:{202:{headersMapper:XC},default:{bodyMapper:H,headersMapper:ZC}},queryParameters:[W,EE],urlParameters:[U],headerParameters:[G,K,q,J,Y,X],isXML:!0,serializer:ZO},tk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:QC},default:{bodyMapper:H,headersMapper:$C}},queryParameters:[W,EE,jE],urlParameters:[U],headerParameters:[G,K,q,DE,J,Y],isXML:!0,serializer:ZO},nk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:{type:{name:`Sequence`,element:{type:{name:`Composite`,className:`SignedIdentifier`}}},serializedName:`SignedIdentifiers`,xmlName:`SignedIdentifiers`,xmlIsWrapped:!0,xmlElementName:`SignedIdentifier`},headersMapper:ew},default:{bodyMapper:H,headersMapper:tw}},queryParameters:[W,EE,ME],urlParameters:[U],headerParameters:[G,K,q,J],isXML:!0,serializer:ZO},rk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:nw},default:{bodyMapper:H,headersMapper:rw}},requestBody:NE,queryParameters:[W,EE,ME],urlParameters:[U],headerParameters:[oE,cE,G,K,OE,J,Y,X],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:ZO},ik={path:`/{containerName}`,httpMethod:`PUT`,responses:{201:{headersMapper:iw},default:{bodyMapper:H,headersMapper:aw}},queryParameters:[W,EE,PE],urlParameters:[U],headerParameters:[G,K,q,FE,IE],isXML:!0,serializer:ZO},ak={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:ow},default:{bodyMapper:H,headersMapper:sw}},queryParameters:[W,EE,LE],urlParameters:[U],headerParameters:[G,K,q,RE,zE],isXML:!0,serializer:ZO},ok={path:`/{containerName}`,httpMethod:`POST`,responses:{202:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:cw},default:{bodyMapper:H,headersMapper:lw}},requestBody:bE,queryParameters:[W,xE,EE],urlParameters:[U],headerParameters:[cE,G,K,SE,CE],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:ZO},sk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:rC,headersMapper:uw},default:{bodyMapper:H,headersMapper:dw}},queryParameters:[W,mE,hE,wE,TE,EE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:ZO},ck={path:`/{containerName}`,httpMethod:`PUT`,responses:{201:{headersMapper:fw},default:{bodyMapper:H,headersMapper:pw}},queryParameters:[W,EE,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,VE,HE,UE],isXML:!0,serializer:ZO},lk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:mw},default:{bodyMapper:H,headersMapper:hw}},queryParameters:[W,EE,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,WE,GE],isXML:!0,serializer:ZO},uk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:gw},default:{bodyMapper:H,headersMapper:_w}},queryParameters:[W,EE,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,GE,KE],isXML:!0,serializer:ZO},dk={path:`/{containerName}`,httpMethod:`PUT`,responses:{202:{headersMapper:vw},default:{bodyMapper:H,headersMapper:yw}},queryParameters:[W,EE,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,qE,JE],isXML:!0,serializer:ZO},fk={path:`/{containerName}`,httpMethod:`PUT`,responses:{200:{headersMapper:bw},default:{bodyMapper:H,headersMapper:xw}},queryParameters:[W,EE,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,GE,YE,XE],isXML:!0,serializer:ZO},pk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:lC,headersMapper:Sw},default:{bodyMapper:H,headersMapper:Cw}},queryParameters:[W,fE,pE,mE,hE,EE,ZE,QE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:ZO},mk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{bodyMapper:mC,headersMapper:ww},default:{bodyMapper:H,headersMapper:Tw}},queryParameters:[W,fE,pE,mE,hE,EE,ZE,QE,$E],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:ZO},hk={path:`/{containerName}`,httpMethod:`GET`,responses:{200:{headersMapper:Ew},default:{bodyMapper:H,headersMapper:Dw}},queryParameters:[uE,W,yE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:ZO};var gk=class{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},vk)}getProperties(e){return this.client.sendOperationRequest({options:e},yk)}delete(e){return this.client.sendOperationRequest({options:e},bk)}undelete(e){return this.client.sendOperationRequest({options:e},xk)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},Sk)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Ck)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wk)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Tk)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Ek)}setMetadata(e){return this.client.sendOperationRequest({options:e},Dk)}acquireLease(e){return this.client.sendOperationRequest({options:e},Ok)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},kk)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Ak)}changeLease(e,t,n){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:n},jk)}breakLease(e){return this.client.sendOperationRequest({options:e},Mk)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Nk)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Pk)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Fk)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Ik)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},Lk)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Rk)}query(e){return this.client.sendOperationRequest({options:e},zk)}getTags(e){return this.client.sendOperationRequest({options:e},Bk)}setTags(e){return this.client.sendOperationRequest({options:e},Vk)}};const _k=S_(US,!0),vk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:Ow},206:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:Ow},default:{bodyMapper:H,headersMapper:kw}},queryParameters:[W,eD,tD],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,nD,rD,iD,aD,oD,sD,cD,lD,uD],isXML:!0,serializer:_k},yk={path:`/{containerName}/{blob}`,httpMethod:`HEAD`,responses:{200:{headersMapper:Aw},default:{bodyMapper:H,headersMapper:jw}},queryParameters:[W,eD,tD],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,aD,oD,sD,cD,lD,uD],isXML:!0,serializer:_k},bk={path:`/{containerName}/{blob}`,httpMethod:`DELETE`,responses:{202:{headersMapper:Mw},default:{bodyMapper:H,headersMapper:Nw}},queryParameters:[W,eD,tD,fD],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,cD,lD,uD,dD],isXML:!0,serializer:_k},xk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Pw},default:{bodyMapper:H,headersMapper:Fw}},queryParameters:[W,PE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:_k},Sk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Iw},default:{bodyMapper:H,headersMapper:Lw}},queryParameters:[W,pD],urlParameters:[U],headerParameters:[G,K,q,mD,hD],isXML:!0,serializer:_k},Ck={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Rw},default:{bodyMapper:H,headersMapper:zw}},queryParameters:[uE,W],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,cD,lD,uD,gD,_D,vD,yD,bD,xD],isXML:!0,serializer:_k},wk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Bw},default:{bodyMapper:H,headersMapper:Vw}},queryParameters:[W,eD,tD,SD],urlParameters:[U],headerParameters:[G,K,q,X,CD,wD],isXML:!0,serializer:_k},Tk={path:`/{containerName}/{blob}`,httpMethod:`DELETE`,responses:{200:{headersMapper:Hw},default:{bodyMapper:H,headersMapper:Uw}},queryParameters:[W,eD,tD,SD],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:_k},Ek={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Ww},default:{bodyMapper:H,headersMapper:Gw}},queryParameters:[W,eD,tD,TD],urlParameters:[U],headerParameters:[G,K,q,ED],isXML:!0,serializer:_k},Dk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Kw},default:{bodyMapper:H,headersMapper:qw}},queryParameters:[W,jE],urlParameters:[U],headerParameters:[G,K,q,DE,J,Y,X,aD,oD,sD,cD,lD,uD,DD],isXML:!0,serializer:_k},Ok={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:Jw},default:{bodyMapper:H,headersMapper:Yw}},queryParameters:[W,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,VE,HE,UE,cD,lD,uD],isXML:!0,serializer:_k},kk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Xw},default:{bodyMapper:H,headersMapper:Zw}},queryParameters:[W,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,WE,GE,cD,lD,uD],isXML:!0,serializer:_k},Ak={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:Qw},default:{bodyMapper:H,headersMapper:$w}},queryParameters:[W,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,GE,KE,cD,lD,uD],isXML:!0,serializer:_k},jk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:eT},default:{bodyMapper:H,headersMapper:tT}},queryParameters:[W,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,GE,YE,XE,cD,lD,uD],isXML:!0,serializer:_k},Mk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:nT},default:{bodyMapper:H,headersMapper:rT}},queryParameters:[W,BE],urlParameters:[U],headerParameters:[G,K,q,Y,X,qE,JE,cD,lD,uD],isXML:!0,serializer:_k},Nk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:iT},default:{bodyMapper:H,headersMapper:aT}},queryParameters:[W,OD],urlParameters:[U],headerParameters:[G,K,q,DE,J,Y,X,aD,oD,sD,cD,lD,uD,DD],isXML:!0,serializer:_k},Pk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:oT},default:{bodyMapper:H,headersMapper:sT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,DE,J,Y,X,cD,lD,uD,CD,wD,kD,AD,jD,MD,ND,PD,FD,ID,LD,RD,zD],isXML:!0,serializer:_k},Fk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:cT},default:{bodyMapper:H,headersMapper:lT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,DE,J,Y,X,cD,lD,uD,CD,wD,DD,kD,jD,MD,ND,PD,ID,LD,zD,BD,VD,HD,UD,WD],isXML:!0,serializer:_k},Ik={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{204:{headersMapper:uT},default:{bodyMapper:H,headersMapper:dT}},queryParameters:[W,GD,qD],urlParameters:[U],headerParameters:[G,K,q,J,KD],isXML:!0,serializer:_k},Lk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:fT},202:{headersMapper:fT},default:{bodyMapper:H,headersMapper:pT}},queryParameters:[W,eD,tD,JD],urlParameters:[U],headerParameters:[G,K,q,J,uD,AD,YD],isXML:!0,serializer:_k},Rk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{headersMapper:mT},default:{bodyMapper:H,headersMapper:hT}},queryParameters:[uE,W,yE],urlParameters:[U],headerParameters:[G,K,q],isXML:!0,serializer:_k},zk={path:`/{containerName}/{blob}`,httpMethod:`POST`,responses:{200:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:gT},206:{bodyMapper:{type:{name:`Stream`},serializedName:`parsedResponse`},headersMapper:gT},default:{bodyMapper:H,headersMapper:_T}},requestBody:XD,queryParameters:[W,eD,ZD],urlParameters:[U],headerParameters:[oE,cE,G,K,J,Y,X,aD,oD,sD,cD,lD,uD],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:_k},Bk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:aC,headersMapper:vT},default:{bodyMapper:H,headersMapper:yT}},queryParameters:[W,eD,tD,QD],urlParameters:[U],headerParameters:[G,K,q,J,uD,$D,eO,tO,nO],isXML:!0,serializer:_k},Vk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{204:{headersMapper:bT},default:{bodyMapper:H,headersMapper:xT}},requestBody:rO,queryParameters:[W,tD,QD],urlParameters:[U],headerParameters:[oE,cE,G,K,J,uD,$D,eO,tO,nO,iO,aO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:_k};var Hk=class{client;constructor(e){this.client=e}create(e,t,n){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:n},Wk)}uploadPages(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},Gk)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Kk)}uploadPagesFromURL(e,t,n,r,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:n,range:r,options:i},qk)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Jk)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Yk)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Xk)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Zk)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Qk)}};const Uk=S_(US,!0),Wk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:ST},default:{bodyMapper:H,headersMapper:CT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,SE,DE,J,Y,X,aD,oD,sD,cD,lD,uD,gD,_D,vD,yD,bD,xD,CD,wD,DD,kD,LD,zD,oO,sO,cO],isXML:!0,serializer:Uk},Gk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:wT},default:{bodyMapper:H,headersMapper:TT}},requestBody:uO,queryParameters:[W,fO],urlParameters:[U],headerParameters:[G,K,SE,J,Y,X,nD,aD,oD,sD,cD,lD,uD,DD,iO,aO,lO,dO,pO,mO,hO,gO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:Uk},Kk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:ET},default:{bodyMapper:H,headersMapper:DT}},queryParameters:[W,fO],urlParameters:[U],headerParameters:[G,K,q,SE,J,Y,X,nD,aD,oD,sD,cD,lD,uD,DD,mO,hO,gO,_O],isXML:!0,serializer:Uk},qk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:OT},default:{bodyMapper:H,headersMapper:kT}},queryParameters:[W,fO],urlParameters:[U],headerParameters:[G,K,q,SE,J,Y,X,aD,oD,sD,cD,lD,uD,DD,jD,MD,ND,PD,VD,HD,WD,pO,mO,hO,gO,vO,yO,bO,xO],isXML:!0,serializer:Uk},Jk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:bC,headersMapper:AT},default:{bodyMapper:H,headersMapper:jT}},queryParameters:[W,mE,hE,eD,SO],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,nD,cD,lD,uD],isXML:!0,serializer:Uk},Yk={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:bC,headersMapper:MT},default:{bodyMapper:H,headersMapper:NT}},queryParameters:[W,mE,hE,eD,SO,CO],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,nD,cD,lD,uD,wO],isXML:!0,serializer:Uk},Xk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:PT},default:{bodyMapper:H,headersMapper:FT}},queryParameters:[uE,W],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,aD,oD,sD,cD,lD,uD,DD,sO],isXML:!0,serializer:Uk},Zk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:IT},default:{bodyMapper:H,headersMapper:LT}},queryParameters:[uE,W],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,cD,lD,uD,cO,TO],isXML:!0,serializer:Uk},Qk={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{202:{headersMapper:RT},default:{bodyMapper:H,headersMapper:zT}},queryParameters:[W,EO],urlParameters:[U],headerParameters:[G,K,q,Y,X,cD,lD,uD,ID],isXML:!0,serializer:Uk};var $k=class{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},tA)}appendBlock(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},nA)}appendBlockFromUrl(e,t,n){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:n},rA)}seal(e){return this.client.sendOperationRequest({options:e},iA)}};const eA=S_(US,!0),tA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:BT},default:{bodyMapper:H,headersMapper:VT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,SE,DE,J,Y,X,aD,oD,sD,cD,lD,uD,gD,_D,vD,yD,bD,xD,CD,wD,DD,LD,zD,DO],isXML:!0,serializer:eA},nA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:HT},default:{bodyMapper:H,headersMapper:UT}},requestBody:uO,queryParameters:[W,OO],urlParameters:[U],headerParameters:[G,K,SE,J,Y,X,aD,oD,sD,cD,lD,uD,DD,iO,aO,lO,dO,kO,AO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:eA},rA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:WT},default:{bodyMapper:H,headersMapper:GT}},queryParameters:[W,OO],urlParameters:[U],headerParameters:[G,K,q,SE,J,Y,X,aD,oD,sD,cD,lD,uD,DD,jD,MD,ND,PD,VD,HD,WD,iO,vO,bO,kO,AO,jO],isXML:!0,serializer:eA},iA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{200:{headersMapper:KT},default:{bodyMapper:H,headersMapper:qT}},queryParameters:[W,MO],urlParameters:[U],headerParameters:[G,K,q,J,Y,X,cD,lD,AO],isXML:!0,serializer:eA};var aA=class{client;constructor(e){this.client=e}upload(e,t,n){return this.client.sendOperationRequest({contentLength:e,body:t,options:n},sA)}putBlobFromUrl(e,t,n){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:n},cA)}stageBlock(e,t,n,r){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:n,options:r},lA)}stageBlockFromURL(e,t,n,r){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:n,options:r},uA)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},dA)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},fA)}};const oA=S_(US,!0),sA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:JT},default:{bodyMapper:H,headersMapper:YT}},requestBody:uO,queryParameters:[W],urlParameters:[U],headerParameters:[G,K,SE,DE,J,Y,X,aD,oD,sD,cD,lD,uD,gD,_D,vD,yD,bD,xD,CD,wD,DD,kD,LD,zD,iO,aO,lO,dO,NO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:oA},cA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:XT},default:{bodyMapper:H,headersMapper:ZT}},queryParameters:[W],urlParameters:[U],headerParameters:[G,K,q,SE,DE,J,Y,X,aD,oD,sD,cD,lD,uD,gD,_D,vD,yD,bD,xD,DD,kD,jD,MD,ND,PD,FD,ID,LD,VD,HD,UD,WD,iO,NO,PO],isXML:!0,serializer:oA},lA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:QT},default:{bodyMapper:H,headersMapper:$T}},requestBody:uO,queryParameters:[W,FO,IO],urlParameters:[U],headerParameters:[G,K,SE,J,aD,oD,sD,DD,iO,aO,lO,dO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`binary`,serializer:oA},uA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:eE},default:{bodyMapper:H,headersMapper:tE}},queryParameters:[W,FO,IO],urlParameters:[U],headerParameters:[G,K,q,SE,J,aD,oD,sD,DD,jD,MD,ND,PD,VD,HD,WD,vO,bO,jO],isXML:!0,serializer:oA},dA={path:`/{containerName}/{blob}`,httpMethod:`PUT`,responses:{201:{headersMapper:nE},default:{bodyMapper:H,headersMapper:rE}},requestBody:LO,queryParameters:[W,RO],urlParameters:[U],headerParameters:[oE,cE,G,K,DE,J,Y,X,aD,oD,sD,cD,lD,uD,gD,_D,vD,yD,bD,xD,CD,wD,DD,kD,LD,zD,iO,aO],isXML:!0,contentType:`application/xml; charset=utf-8`,mediaType:`xml`,serializer:oA},fA={path:`/{containerName}/{blob}`,httpMethod:`GET`,responses:{200:{bodyMapper:vC,headersMapper:iE},default:{bodyMapper:H,headersMapper:aE}},queryParameters:[W,eD,RO,zO],urlParameters:[U],headerParameters:[G,K,q,J,uD],isXML:!0,serializer:oA};var pA=class extends Qv{url;version;constructor(e,t){if(e===void 0)throw Error(`'url' cannot be null`);t||={};let n={requestContentType:`application/json; charset=utf-8`},r=`azsdk-js-azure-storage-blob/12.30.0`,i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`,a={...n,...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??`{url}`};super(a),this.url=e,this.version=t.version||`2026-02-06`,this.service=new BO(this),this.container=new XO(this),this.blob=new gk(this),this.pageBlob=new Hk(this),this.appendBlob=new $k(this),this.blockBlob=new aA(this)}service;container;blob;pageBlob;appendBlob;blockBlob},mA=class extends pA{async sendOperationRequest(e,t){let n={...t};return(n.path===`/{containerName}`||n.path===`/{containerName}/{blob}`)&&(n.path=``),super.sendOperationRequest(e,n)}};function hA(e){let t=new URL(e),n=t.pathname;return n||=`/`,n=yA(n),t.pathname=n,t.toString()}function gA(e){let t=``;if(e.search(`DevelopmentStorageProxyUri=`)!==-1){let n=e.split(`;`);for(let e of n)e.trim().startsWith(`DevelopmentStorageProxyUri=`)&&(t=e.trim().match(`DevelopmentStorageProxyUri=(.*)`)[1])}return t}function _A(e,t){let n=e.split(`;`);for(let e of n)if(e.trim().startsWith(t))return e.trim().match(t+`=(.*)`)[1];return``}function vA(e){let t=``;e.startsWith(`UseDevelopmentStorage=true`)&&(t=gA(e),e=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`);let n=_A(e,`BlobEndpoint`);if(n=n.endsWith(`/`)?n.slice(0,-1):n,e.search(`DefaultEndpointsProtocol=`)!==-1&&e.search(`AccountKey=`)!==-1){let r=``,i=``,a=Buffer.from(`accountKey`,`base64`),o=``;if(i=_A(e,`AccountName`),a=Buffer.from(_A(e,`AccountKey`),`base64`),!n){r=_A(e,`DefaultEndpointsProtocol`);let t=r.toLowerCase();if(t!==`https`&&t!==`http`)throw Error(`Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'`);if(o=_A(e,`EndpointSuffix`),!o)throw Error(`Invalid EndpointSuffix in the provided Connection String`);n=`${r}://${i}.blob.${o}`}if(!i)throw Error(`Invalid AccountName in the provided Connection String`);if(a.length===0)throw Error(`Invalid AccountKey in the provided Connection String`);return{kind:`AccountConnString`,url:n,accountName:i,accountKey:a,proxyUri:t}}else{let t=_A(e,`SharedAccessSignature`),r=_A(e,`AccountName`);if(r||=AA(n),!n)throw Error(`Invalid BlobEndpoint in the provided SAS Connection String`);if(!t)throw Error(`Invalid SharedAccessSignature in the provided SAS Connection String`);return t.startsWith(`?`)&&(t=t.substring(1)),{kind:`SASConnString`,url:n,accountName:r,accountSas:t}}}function yA(e){return encodeURIComponent(e).replace(/%2F/g,`/`).replace(/'/g,`%27`).replace(/\+/g,`%20`).replace(/%25/g,`%`)}function bA(e,t){let n=new URL(e),r=n.pathname;return r=r?r.endsWith(`/`)?`${r}${t}`:`${r}/${t}`:t,n.pathname=r,n.toString()}function xA(e,t,n){let r=new URL(e),i=encodeURIComponent(t),a=n?encodeURIComponent(n):void 0,o=r.search===``?`?`:r.search,s=[];for(let e of o.slice(1).split(`&`))if(e){let[t]=e.split(`=`,2);t!==i&&s.push(e)}return a&&s.push(`${i}=${a}`),r.search=s.length?`?${s.join(`&`)}`:``,r.toString()}function SA(e,t){return new URL(e).searchParams.get(t)??void 0}function CA(e){try{let t=new URL(e);return t.protocol.endsWith(`:`)?t.protocol.slice(0,-1):t.protocol}catch{return}}function wA(e,t){let n=new URL(e),r=n.search;return r?r+=`&`+t:r=t,n.search=r,n.toString()}function TA(e,t=!0){let n=e.toISOString();return t?n.substring(0,n.length-1)+`0000Z`:n.substring(0,n.length-5)+`Z`}function EA(e){return _g?Buffer.from(e).toString(`base64`):btoa(e)}function DA(e,t){return e.length>42&&(e=e.slice(0,42)),EA(e+OA(t.toString(),48-e.length,`0`))}function OA(e,t,n=` `){return String.prototype.padStart?e.padStart(t,n):(n||=` `,e.length>t?e:(t-=e.length,t>n.length&&(n+=n.repeat(t/n.length)),n.slice(0,t)+e))}function kA(e,t){return e.toLocaleLowerCase()===t.toLocaleLowerCase()}function AA(e){let t=new URL(e),n;try{return n=t.hostname.split(`.`)[1]===`blob`?t.hostname.split(`.`)[0]:jA(t)?t.pathname.split(`/`)[1]:``,n}catch{throw Error(`Unable to extract accountName with provided information.`)}}function jA(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&OS.includes(e.port)}function MA(e){if(e===void 0)return;let t=[];for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let r=e[n];t.push(`${encodeURIComponent(n)}=${encodeURIComponent(r)}`)}return t.join(`&`)}function NA(e){if(e===void 0)return;let t={blobTagSet:[]};for(let n in e)if(Object.prototype.hasOwnProperty.call(e,n)){let r=e[n];t.blobTagSet.push({key:n,value:r})}return t}function PA(e){if(e===void 0)return;let t={};for(let n of e.blobTagSet)t[n.key]=n.value;return t}function FA(e){if(e!==void 0)switch(e.kind){case`csv`:return{format:{type:`delimited`,delimitedTextConfiguration:{columnSeparator:e.columnSeparator||`,`,fieldQuote:e.fieldQuote||``,recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||``,headersPresent:e.hasHeaders||!1}}};case`json`:return{format:{type:`json`,jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case`arrow`:return{format:{type:`arrow`,arrowConfiguration:{schema:e.schema}}};case`parquet`:return{format:{type:`parquet`}};default:throw Error(`Invalid BlobQueryTextConfiguration.`)}}function IA(e){if(!e||`policy-id`in e)return;let t=[];for(let n in e){let r=n.split(`_`);r[0].startsWith(`or-`)&&(r[0]=r[0].substring(3));let i={ruleId:r[1],replicationStatus:e[n]},a=t.findIndex(e=>e.policyId===r[0]);a>-1?t[a].rules.push(i):t.push({policyId:r[0],rules:[i]})}return t}function LA(e){return e?e.scheme+` `+e.value:void 0}function*RA(e){let t=[],n=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(n=e.clearRange);let r=0,i=0;for(;r0&&n.length>0&&e.push(`${t}=${n}`))}};function GA(e,t,n){return KA(e,t,n).sasQueryParameters}function KA(e,t,n){let r=e.version?e.version:SS,i=t instanceof aS?t:void 0,a;if(i===void 0&&n!==void 0&&(a=new bS(n,t)),i===void 0&&a===void 0)throw TypeError(`Invalid sharedKeyCredential, userDelegationKey or accountName.`);if(r>=`2020-12-06`)return i===void 0?r>=`2025-07-05`?$A(e,a):QA(e,a):YA(e,i);if(r>=`2018-11-09`)return i===void 0?r>=`2020-02-10`?ZA(e,a):XA(e,a):JA(e,i);if(r>=`2015-04-05`){if(i!==void 0)return qA(e,i);throw RangeError(`'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.`)}throw RangeError(`'version' must be >= '2015-04-05'.`)}function qA(e,t){if(e=tj(e),!e.identifier&&!(e.permissions&&e.expiresOn))throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.`);let n=`c`;e.blobName&&(n=`b`);let r;e.permissions&&(r=e.blobName?BA.parse(e.permissions.toString()).toString():VA.parse(e.permissions.toString()).toString());let i=[r||``,e.startsOn?TA(e.startsOn,!1):``,e.expiresOn?TA(e.expiresOn,!1):``,ej(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?HA(e.ipRange):``,e.protocol?e.protocol:``,e.version,e.cacheControl?e.cacheControl:``,e.contentDisposition?e.contentDisposition:``,e.contentEncoding?e.contentEncoding:``,e.contentLanguage?e.contentLanguage:``,e.contentType?e.contentType:``].join(` +`),a=t.computeHMACSHA256(i);return{sasQueryParameters:new WA(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:i}}function JA(e,t){if(e=tj(e),!e.identifier&&!(e.permissions&&e.expiresOn))throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?BA.parse(e.permissions.toString()).toString():VA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?TA(e.startsOn,!1):``,e.expiresOn?TA(e.expiresOn,!1):``,ej(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?HA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.cacheControl?e.cacheControl:``,e.contentDisposition?e.contentDisposition:``,e.contentEncoding?e.contentEncoding:``,e.contentLanguage?e.contentLanguage:``,e.contentType?e.contentType:``].join(` +`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:a}}function YA(e,t){if(e=tj(e),!e.identifier&&!(e.permissions&&e.expiresOn))throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?BA.parse(e.permissions.toString()).toString():VA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?TA(e.startsOn,!1):``,e.expiresOn?TA(e.expiresOn,!1):``,ej(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?HA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.encryptionScope,e.cacheControl?e.cacheControl:``,e.contentDisposition?e.contentDisposition:``,e.contentEncoding?e.contentEncoding:``,e.contentLanguage?e.contentLanguage:``,e.contentType?e.contentType:``].join(` +`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope),stringToSign:a}}function XA(e,t){if(e=tj(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?BA.parse(e.permissions.toString()).toString():VA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?TA(e.startsOn,!1):``,e.expiresOn?TA(e.expiresOn,!1):``,ej(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?TA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?TA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?HA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` +`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:a}}function ZA(e,t){if(e=tj(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?BA.parse(e.permissions.toString()).toString():VA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?TA(e.startsOn,!1):``,e.expiresOn?TA(e.expiresOn,!1):``,ej(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?TA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?TA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?HA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` +`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId),stringToSign:a}}function QA(e,t){if(e=tj(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?BA.parse(e.permissions.toString()).toString():VA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?TA(e.startsOn,!1):``,e.expiresOn?TA(e.expiresOn,!1):``,ej(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?TA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?TA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?HA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` +`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope),stringToSign:a}}function $A(e,t){if(e=tj(e),!e.permissions||!e.expiresOn)throw RangeError(`Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.`);let n=`c`,r=e.snapshotTime;e.blobName&&(n=`b`,e.snapshotTime?n=`bs`:e.versionId&&(n=`bv`,r=e.versionId));let i;e.permissions&&(i=e.blobName?BA.parse(e.permissions.toString()).toString():VA.parse(e.permissions.toString()).toString());let a=[i||``,e.startsOn?TA(e.startsOn,!1):``,e.expiresOn?TA(e.expiresOn,!1):``,ej(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?TA(t.userDelegationKey.signedStartsOn,!1):``,t.userDelegationKey.signedExpiresOn?TA(t.userDelegationKey.signedExpiresOn,!1):``,t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,void 0,e.delegatedUserObjectId,e.ipRange?HA(e.ipRange):``,e.protocol?e.protocol:``,e.version,n,r,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join(` +`),o=t.computeHMACSHA256(a);return{sasQueryParameters:new WA(e.version,o,i,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId),stringToSign:a}}function ej(e,t,n){let r=[`/blob/${e}/${t}`];return n&&r.push(`/${n}`),r.join(``)}function tj(e){let t=e.version?e.version:SS;if(e.snapshotTime&&t<`2018-11-09`)throw RangeError(`'version' must be >= '2018-11-09' when providing 'snapshotTime'.`);if(e.blobName===void 0&&e.snapshotTime)throw RangeError(`Must provide 'blobName' when providing 'snapshotTime'.`);if(e.versionId&&t<`2019-10-10`)throw RangeError(`'version' must be >= '2019-10-10' when providing 'versionId'.`);if(e.blobName===void 0&&e.versionId)throw RangeError(`Must provide 'blobName' when providing 'versionId'.`);if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<`2020-08-04`)throw RangeError(`'version' must be >= '2020-08-04' when provided 'i' permission.`);if(e.permissions&&e.permissions.deleteVersion&&t<`2019-10-10`)throw RangeError(`'version' must be >= '2019-10-10' when providing 'x' permission.`);if(e.permissions&&e.permissions.permanentDelete&&t<`2019-10-10`)throw RangeError(`'version' must be >= '2019-10-10' when providing 'y' permission.`);if(e.permissions&&e.permissions.tag&&t<`2019-12-12`)throw RangeError(`'version' must be >= '2019-12-12' when providing 't' permission.`);if(t<`2020-02-10`&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError(`'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.`);if(t<`2021-04-10`&&e.permissions&&e.permissions.filterByTags)throw RangeError(`'version' must be >= '2021-04-10' when providing the 'f' permission.`);if(t<`2020-02-10`&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError(`'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.`);if(e.encryptionScope&&t<`2020-12-06`)throw RangeError(`'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.`);return e.version=t,e}var nj=class{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),t||=gg(),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==``||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==``||t.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-acquireLease`,t,async n=>Z(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==``||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==``||t.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-changeLease`,t,async n=>{let r=Z(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,r})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==``||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==``||e.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-releaseLease`,e,async t=>Z(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==``||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==``||e.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-renewLease`,e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==``||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==``||t.conditions?.tagConditions))throw RangeError(`The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.`);return Q.withSpan(`BlobLeaseClient-breakLease`,t,async n=>{let r={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions};return Z(await this._containerOrBlobOperation.breakLease(r))})}},rj=class extends y{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,n,r,i={}){super({highWaterMark:i.highWaterMark}),this.getter=t,this.source=e,this.start=n,this.offset=n,this.end=n+r-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on(`data`,this.sourceDataHandler),this.source.on(`end`,this.sourceErrorOrEndHandler),this.source.on(`error`,this.sourceErrorOrEndHandler),this.source.on(`aborted`,this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener(`data`,this.sourceDataHandler),this.source.removeListener(`end`,this.sourceErrorOrEndHandler),this.source.removeListener(`error`,this.sourceErrorOrEndHandler),this.source.removeListener(`aborted`,this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new dg(`The operation was aborted.`);this.destroy(e)};sourceErrorOrEndHandler=e=>{if(e&&e.name===`AbortError`){this.destroy(e);return}this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(e===null?void 0:e)}},ij=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return _g?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,n,r,i={}){this.originalResponse=e,this.blobDownloadStream=new rj(this.originalResponse.readableStreamBody,t,n,r,i)}};const aj=new Uint8Array([79,98,106,1]);var oj=class e{static async readFixedBytes(e,t,n={}){let r=await e.read(t,{abortSignal:n.abortSignal});if(r.length!==t)throw Error(`Hit stream end.`);return r}static async readByte(t,n={}){return(await e.readFixedBytes(t,1,n))[0]}static async readZigZagLong(t,n={}){let r=0,i=0,a,o,s;do a=await e.readByte(t,n),o=a&128,r|=(a&127)<2**53-1)throw Error(`Integer overflow.`);return i}return r>>1^-(r&1)}static async readLong(t,n={}){return e.readZigZagLong(t,n)}static async readInt(t,n={}){return e.readZigZagLong(t,n)}static async readNull(){return null}static async readBoolean(t,n={}){let r=await e.readByte(t,n);if(r===1)return!0;if(r===0)return!1;throw Error(`Byte was not a boolean.`)}static async readFloat(t,n={}){let r=await e.readFixedBytes(t,4,n);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(t,n={}){let r=await e.readFixedBytes(t,8,n);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(t,n={}){let r=await e.readLong(t,n);if(r<0)throw Error(`Bytes size was negative.`);return t.read(r,{abortSignal:n.abortSignal})}static async readString(t,n={}){let r=await e.readBytes(t,n);return new TextDecoder().decode(r)}static async readMapPair(t,n,r={}){return{key:await e.readString(t,r),value:await n(t,r)}}static async readMap(t,n,r={}){let i=await e.readArray(t,(t,r={})=>e.readMapPair(t,n,r),r),a={};for(let e of i)a[e.key]=e.value;return a}static async readArray(t,n,r={}){let i=[];for(let a=await e.readLong(t,r);a!==0;a=await e.readLong(t,r))for(a<0&&(await e.readLong(t,r),a=-a);a--;){let e=await n(t,r);i.push(e)}return i}},sj;(function(e){e.RECORD=`record`,e.ENUM=`enum`,e.ARRAY=`array`,e.MAP=`map`,e.UNION=`union`,e.FIXED=`fixed`})(sj||={});var cj;(function(e){e.NULL=`null`,e.BOOLEAN=`boolean`,e.INT=`int`,e.LONG=`long`,e.FLOAT=`float`,e.DOUBLE=`double`,e.BYTES=`bytes`,e.STRING=`string`})(cj||={});var lj=class e{static fromSchema(t){return typeof t==`string`?e.fromStringSchema(t):Array.isArray(t)?e.fromArraySchema(t):e.fromObjectSchema(t)}static fromStringSchema(e){switch(e){case cj.NULL:case cj.BOOLEAN:case cj.INT:case cj.LONG:case cj.FLOAT:case cj.DOUBLE:case cj.BYTES:case cj.STRING:return new uj(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(t){return new fj(t.map(e.fromSchema))}static fromObjectSchema(t){let n=t.type;try{return e.fromStringSchema(n)}catch{}switch(n){case sj.RECORD:if(t.aliases)throw Error(`aliases currently is not supported, schema: ${t}`);if(!t.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${t}`);let r={};if(!t.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${t}`);for(let n of t.fields)r[n.name]=e.fromSchema(n.type);return new mj(r,t.name);case sj.ENUM:if(t.aliases)throw Error(`aliases currently is not supported, schema: ${t}`);if(!t.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${t}`);return new dj(t.symbols);case sj.MAP:if(!t.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${t}`);return new pj(e.fromSchema(t.values));case sj.ARRAY:case sj.FIXED:default:throw Error(`Unexpected Avro type ${n} in ${t}`)}}},uj=class extends lj{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case cj.NULL:return oj.readNull();case cj.BOOLEAN:return oj.readBoolean(e,t);case cj.INT:return oj.readInt(e,t);case cj.LONG:return oj.readLong(e,t);case cj.FLOAT:return oj.readFloat(e,t);case cj.DOUBLE:return oj.readDouble(e,t);case cj.BYTES:return oj.readBytes(e,t);case cj.STRING:return oj.readString(e,t);default:throw Error(`Unknown Avro Primitive`)}}},dj=class extends lj{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let n=await oj.readInt(e,t);return this._symbols[n]}},fj=class extends lj{_types;constructor(e){super(),this._types=e}async read(e,t={}){let n=await oj.readInt(e,t);return this._types[n].read(e,t)}},pj=class extends lj{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){return oj.readMap(e,(e,t)=>this._itemType.read(e,t),t)}},mj=class extends lj{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let n={};n.$schema=this._name;for(let r in this._fields)Object.prototype.hasOwnProperty.call(this._fields,r)&&(n[r]=await this._fields[r].read(e,t));return n}};function hj(e,t){if(e===t)return!0;if(e==null||t==null||e.length!==t.length)return!1;for(let n=0;n0)for(let t=0;t0}async*parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,this._itemsRemainingInBlock===0){let t=await oj.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!hj(this._syncMarker,t))throw Error(`Stream is not a valid Avro file.`);try{this._itemsRemainingInBlock=await oj.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await oj.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}},_j=class{};const vj=new dg(`Reading from the avro stream was aborted.`);var yj=class extends _j{_position;_readable;toUint8Array(e){return typeof e==`string`?A.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw vj;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(e===0)return new Uint8Array;if(!this._readable.readable)throw Error(`Stream no longer readable.`);let n=this._readable.read(e);return n?(this._position+=n.length,this.toUint8Array(n)):new Promise((n,r)=>{let i=()=>{this._readable.removeListener(`readable`,a),this._readable.removeListener(`error`,o),this._readable.removeListener(`end`,o),this._readable.removeListener(`close`,o),t.abortSignal&&t.abortSignal.removeEventListener(`abort`,s)},a=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,i(),n(this.toUint8Array(t)))},o=()=>{i(),r()},s=()=>{i(),r(vj)};this._readable.on(`readable`,a),this._readable.once(`error`,o),this._readable.once(`end`,o),this._readable.once(`close`,o),t.abortSignal&&t.abortSignal.addEventListener(`abort`,s)})}},bj=class extends y{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new gj(new yj(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit(`error`,e)})}async readInternal(){this.avroPaused=!1;let e;do{if(e=await this.avroIter.next(),e.done)break;let t=e.value,n=t.$schema;if(typeof n!=`string`)throw Error(`Missing schema in avro record.`);switch(n){case`com.microsoft.azure.storage.queryBlobContents.resultData`:{let e=t.data;if(!(e instanceof Uint8Array))throw Error(`Invalid data in avro result record.`);this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case`com.microsoft.azure.storage.queryBlobContents.progress`:{let e=t.bytesScanned;if(typeof e!=`number`)throw Error(`Invalid bytesScanned in avro progress record.`);this.onProgress&&this.onProgress({loadedBytes:e})}break;case`com.microsoft.azure.storage.queryBlobContents.end`:if(this.onProgress){let e=t.totalBytes;if(typeof e!=`number`)throw Error(`Invalid totalBytes in avro end record.`);this.onProgress({loadedBytes:e})}this.push(null);break;case`com.microsoft.azure.storage.queryBlobContents.error`:if(this.onError){let e=t.fatal;if(typeof e!=`boolean`)throw Error(`Invalid fatal in avro error record.`);let n=t.name;if(typeof n!=`string`)throw Error(`Invalid name in avro error record.`);let r=t.description;if(typeof r!=`string`)throw Error(`Invalid description in avro error record.`);let i=t.position;if(typeof i!=`number`)throw Error(`Invalid position in avro error record.`);this.onError({position:i,name:n,isFatal:e,description:r})}break;default:throw Error(`Unknown schema ${n} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}},xj=class{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return _g?this.blobDownloadStream:void 0}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new bj(this.originalResponse.readableStreamBody,t)}},Sj;(function(e){e.Hot=`Hot`,e.Cool=`Cool`,e.Cold=`Cold`,e.Archive=`Archive`})(Sj||={});var Cj;(function(e){e.P4=`P4`,e.P6=`P6`,e.P10=`P10`,e.P15=`P15`,e.P20=`P20`,e.P30=`P30`,e.P40=`P40`,e.P50=`P50`,e.P60=`P60`,e.P70=`P70`,e.P80=`P80`})(Cj||={});function wj(e){if(e!==void 0)return e}function Tj(e,t){if(e&&!t)throw RangeError(`Customer-provided encryption key must be used over HTTPS.`);e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm=`AES256`)}var Ej;(function(e){e.StorageOAuthScopes=`https://storage.azure.com/.default`,e.DiskComputeOAuthScopes=`https://disk.compute.azure.com/.default`})(Ej||={});function Dj(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),n=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:n,_response:{...e._response,parsedBody:{pageRange:t,clearRange:n}}}}var Oj=class e extends Error{constructor(t){super(t),this.name=`PollerStoppedError`,Object.setPrototypeOf(this,e.prototype)}},kj=class e extends Error{constructor(t){super(t),this.name=`PollerCancelledError`,Object.setPrototypeOf(this,e.prototype)}},Aj=class{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&=!1;!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new kj(`Operation was canceled`);throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){this.stopped||(this.stopped=!0,this.reject&&this.reject(new Oj(`This poller is already stopped`)))}isStopped(){return this.stopped}cancelOperation(e={}){if(!this.cancelPromise)this.cancelPromise=this.cancelOnce(e);else if(e.abortSignal)throw Error(`A cancel request is currently pending`);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}},jj=class extends Aj{intervalInMs;constructor(e){let{blobClient:t,copySource:n,intervalInMs:r=15e3,onProgress:i,resumeFrom:a,startCopyFromURLOptions:o}=e,s;a&&(s=JSON.parse(a).state);let c=Fj({...s,blobClient:t,copySource:n,startCopyFromURLOptions:o});super(c),typeof i==`function`&&this.onProgress(i),this.intervalInMs=r}delay(){return pg(this.intervalInMs)}};const Mj=async function(e={}){let t=this.state,{copyId:n}=t;return t.isCompleted?Fj(t):n?(await t.blobClient.abortCopyFromURL(n,{abortSignal:e.abortSignal}),t.isCancelled=!0,Fj(t)):(t.isCancelled=!0,Fj(t))},Nj=async function(e={}){let t=this.state,{blobClient:n,copySource:r,startCopyFromURLOptions:i}=t;if(!t.isStarted){t.isStarted=!0;let e=await n.startCopyFromURL(r,i);t.copyId=e.copyId,e.copyStatus===`success`&&(t.result=e,t.isCompleted=!0)}else if(!t.isCompleted)try{let n=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:r,copyProgress:i}=n,a=t.copyProgress;i&&(t.copyProgress=i),r===`pending`&&i!==a&&typeof e.fireProgress==`function`?e.fireProgress(t):r===`success`?(t.result=n,t.isCompleted=!0):r===`failed`&&(t.error=Error(`Blob copy failed with reason: "${n.copyStatusDescription||`unknown`}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}return Fj(t)},Pj=function(){return JSON.stringify({state:this.state},(e,t)=>{if(e!==`blobClient`)return t})};function Fj(e){return{state:{...e},cancel:Mj,toString:Pj,update:Nj}}function Ij(e){if(e.offset<0)throw RangeError(`Range.offset cannot be smaller than 0.`);if(e.count&&e.count<=0)throw RangeError(`Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`);return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}var Lj;(function(e){e[e.Good=0]=`Good`,e[e.Error=1]=`Error`})(Lj||={});var Rj=class{concurrency;actives=0;completed=0;offset=0;operations=[];state=Lj.Good;emitter;constructor(e=5){if(e<1)throw RangeError(`concurrency must be larger than 0`);this.concurrency=e,this.emitter=new m}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit(`error`,e)}})}async do(){return this.operations.length===0?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on(`finish`,e),this.emitter.on(`error`,e=>{this.state=Lj.Error,t(e)})}))}nextOperation(){return this.offset=this.operations.length){this.emitter.emit(`finish`);return}for(;this.actives{let c=setTimeout(()=>s(Error(`The operation cannot be completed in timeout.`)),1e5);e.on(`readable`,()=>{if(a>=o){clearTimeout(c),r();return}let s=e.read();if(!s)return;typeof s==`string`&&(s=Buffer.from(s,i));let l=a+s.length>o?o-a:s.length;t.fill(s.slice(0,l),n+a,n+a+l),a+=l}),e.on(`end`,()=>{clearTimeout(c),a{clearTimeout(c),s(e)})})}async function Bj(e,t){return new Promise((n,r)=>{let i=re.createWriteStream(t);e.on(`error`,e=>{r(e)}),i.on(`error`,e=>{r(e)}),i.on(`close`,n),e.pipe(i)})}const Vj=S.promisify(re.stat),Hj=re.createReadStream;var Uj=class e extends zA{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,n,r){r||={};let i,a;if(kS(t))a=e,i=t;else if(_g&&t instanceof aS||t instanceof Qx||c_(t))a=e,r=n,i=jS(t,r);else if(!t&&typeof t!=`string`)a=e,n&&typeof n!=`string`&&(r=n),i=jS(new Qx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=vA(e);if(c.kind===`AccountConnString`)if(_g){let e=new aS(c.accountName,c.accountKey);a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Eg(c.proxyUri),i=jS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=jS(new Qx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),{blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl(),this.blobContext=this.storageClientContext.blob,this._snapshot=SA(this.url,TS.Parameters.SNAPSHOT),this._versionId=SA(this.url,TS.Parameters.VERSIONID)}withSnapshot(t){return new e(xA(this.url,TS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}withVersion(t){return new e(xA(this.url,TS.Parameters.VERSIONID,t.length===0?void 0:t),this.pipeline)}getAppendBlobClient(){return new Wj(this.url,this.pipeline)}getBlockBlobClient(){return new Gj(this.url,this.pipeline)}getPageBlobClient(){return new Kj(this.url,this.pipeline)}async download(e=0,t,n={}){return n.conditions=n.conditions||{},n.conditions=n.conditions||{},Tj(n.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-download`,n,async r=>{let i=Z(await this.blobContext.download({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onDownloadProgress:_g?void 0:n.onProgress},range:e===0&&!t?void 0:Ij({offset:e,count:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey,tracingOptions:r.tracingOptions})),a={...i,_response:i._response,objectReplicationDestinationPolicyId:i.objectReplicationPolicyId,objectReplicationSourceProperties:IA(i.objectReplicationRules)};if(!_g)return a;if((n.maxRetryRequests===void 0||n.maxRetryRequests<0)&&(n.maxRetryRequests=5),i.contentLength===void 0)throw RangeError(`File download response doesn't contain valid content length header`);if(!i.etag)throw RangeError(`File download response doesn't contain valid etag header`);return new ij(a,async t=>{let r={leaseAccessConditions:n.conditions,modifiedAccessConditions:{ifMatch:n.conditions.ifMatch||i.etag,ifModifiedSince:n.conditions.ifModifiedSince,ifNoneMatch:n.conditions.ifNoneMatch,ifUnmodifiedSince:n.conditions.ifUnmodifiedSince,ifTags:n.conditions?.tagConditions},range:Ij({count:e+i.contentLength-t,offset:t}),rangeGetContentMD5:n.rangeGetContentMD5,rangeGetContentCRC64:n.rangeGetContentCrc64,snapshot:n.snapshot,cpkInfo:n.customerProvidedKey};return(await this.blobContext.download({abortSignal:n.abortSignal,...r})).readableStreamBody},e,i.contentLength,{maxRetryRequests:n.maxRetryRequests,onProgress:n.onProgress})})}async exists(e={}){return Q.withSpan(`BlobClient-exists`,e,async t=>{try{return Tj(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(e.statusCode===404)return!1;if(e.statusCode===409&&(e.details.errorCode===`BlobUsesCustomerSpecifiedEncryption`||e.details.errorCode===`BlobDoesNotUseCustomerSpecifiedEncryption`))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},Tj(e.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-getProperties`,e,async t=>{let n=Z(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:IA(n.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},Q.withSpan(`BlobClient-delete`,e,async t=>Z(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async deleteIfExists(e={}){return Q.withSpan(`BlobClient-deleteIfExists`,e,async e=>{try{let t=Z(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode===`BlobNotFound`)return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return Q.withSpan(`BlobClient-undelete`,e,async t=>Z(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},Tj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-setHTTPHeaders`,t,async n=>Z(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},Tj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-setMetadata`,t,async n=>Z(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions})))}async setTags(e,t={}){return Q.withSpan(`BlobClient-setTags`,t,async n=>Z(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:n.tracingOptions,tags:NA(e)})))}async getTags(e={}){return Q.withSpan(`BlobClient-getTags`,e,async t=>{let n=Z(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...n,_response:n._response,tags:PA({blobTagSet:n.blobTagSet})||{}}})}getBlobLeaseClient(e){return new nj(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},Tj(e.customerProvidedKey,this.isHttps),Q.withSpan(`BlobClient-createSnapshot`,e,async t=>Z(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let n=new jj({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await n.poll(),n}async abortCopyFromURL(e,t={}){return Q.withSpan(`BlobClient-abortCopyFromURL`,t,async n=>Z(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:n.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},Q.withSpan(`BlobClient-syncCopyFromURL`,t,async n=>Z(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:LA(t.sourceAuthorization),tier:wj(t.tier),blobTagsString:MA(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async setAccessTier(e,t={}){return Q.withSpan(`BlobClient-setAccessTier`,t,async n=>Z(await this.blobContext.setTier(wj(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:n.tracingOptions})))}async downloadToBuffer(e,t,n,r={}){let i,a=0,o=0,s=r;e instanceof Buffer?(i=e,a=t||0,o=typeof n==`number`?n:0):(a=typeof e==`number`?e:0,o=typeof t==`number`?t:0,s=n||{});let c=s.blockSize??0;if(c<0)throw RangeError(`blockSize option must be >= 0`);if(c===0&&(c=wS),a<0)throw RangeError(`offset option must be >= 0`);if(o&&o<=0)throw RangeError(`count option must be greater than 0`);return s.conditions||={},Q.withSpan(`BlobClient-downloadToBuffer`,s,async e=>{if(!o){let t=await this.getProperties({...s,tracingOptions:e.tracingOptions});if(o=t.contentLength-a,o<0)throw RangeError(`offset ${a} shouldn't be larger than blob size ${t.contentLength}`)}if(!i)try{i=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${e.message}`)}if(i.length{let n=a+o;r+c{let a=await this.download(t,n,{...r,tracingOptions:i.tracingOptions});return a.readableStreamBody&&await Bj(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,t;try{let n=new URL(this.url);if(n.host.split(`.`)[1]===`blob`){let r=n.pathname.match(`/([^/]*)(/(.*))?`);e=r[1],t=r[3]}else if(jA(n)){let r=n.pathname.match(`/([^/]*)/([^/]*)(/(.*))?`);e=r[2],t=r[4]}else{let r=n.pathname.match(`/([^/]*)(/(.*))?`);e=r[1],t=r[3]}if(e=decodeURIComponent(e),t=decodeURIComponent(t),t=t.replace(/\\/g,`/`),!e)throw Error(`Provided containerName is invalid.`);return{blobName:t,containerName:e}}catch{throw Error(`Unable to extract blobName and containerName with provided information.`)}}async startCopyFromURL(e,t={}){return Q.withSpan(`BlobClient-startCopyFromURL`,t,async n=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},Z(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:wj(t.tier),blobTagsString:MA(t.tags),sealBlob:t.sealBlob,tracingOptions:n.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof aS))throw RangeError(`Can only generate the SAS when the client is initialized with a shared key credential`);let n=GA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(wA(this.url,n))})}generateSasStringToSign(e){if(!(this.credential instanceof aS))throw RangeError(`Can only generate the SAS when the client is initialized with a shared key credential`);return KA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(n=>{let r=GA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();n(wA(this.url,r))})}generateUserDelegationSasStringToSign(e,t){return KA({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return Q.withSpan(`BlobClient-deleteImmutabilityPolicy`,e,async e=>Z(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return Q.withSpan(`BlobClient-setImmutabilityPolicy`,t,async t=>Z(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return Q.withSpan(`BlobClient-setLegalHold`,t,async t=>Z(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return Q.withSpan(`BlobClient-getAccountInfo`,e,async t=>Z(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}},Wj=class e extends Uj{appendBlobContext;constructor(e,t,n,r){let i,a;if(r||={},kS(t))a=e,i=t;else if(_g&&t instanceof aS||t instanceof Qx||c_(t))a=e,r=n,i=jS(t,r);else if(!t&&typeof t!=`string`)a=e,i=jS(new Qx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=vA(e);if(c.kind===`AccountConnString`)if(_g){let e=new aS(c.accountName,c.accountKey);a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Eg(c.proxyUri),i=jS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=jS(new Qx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(t){return new e(xA(this.url,TS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}async create(e={}){return e.conditions=e.conditions||{},Tj(e.customerProvidedKey,this.isHttps),Q.withSpan(`AppendBlobClient-create`,e,async t=>Z(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:MA(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:`*`};return Q.withSpan(`AppendBlobClient-createIfNotExists`,e,async e=>{try{let n=Z(await this.create({...e,conditions:t}));return{succeeded:!0,...n,_response:n._response}}catch(e){if(e.details?.errorCode===`BlobAlreadyExists`)return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},Q.withSpan(`AppendBlobClient-seal`,e,async t=>Z(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,n={}){return n.conditions=n.conditions||{},Tj(n.customerProvidedKey,this.isHttps),Q.withSpan(`AppendBlobClient-appendBlock`,n,async r=>Z(await this.appendBlobContext.appendBlock(t,e,{abortSignal:n.abortSignal,appendPositionAccessConditions:n.conditions,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},transactionalContentMD5:n.transactionalContentMD5,transactionalContentCrc64:n.transactionalContentCrc64,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:r.tracingOptions})))}async appendBlockFromURL(e,t,n,r={}){return r.conditions=r.conditions||{},r.sourceConditions=r.sourceConditions||{},Tj(r.customerProvidedKey,this.isHttps),Q.withSpan(`AppendBlobClient-appendBlockFromURL`,r,async i=>Z(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:r.abortSignal,sourceRange:Ij({offset:t,count:n}),sourceContentMD5:r.sourceContentMD5,sourceContentCrc64:r.sourceContentCrc64,leaseAccessConditions:r.conditions,appendPositionAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:r.sourceConditions?.ifMatch,sourceIfModifiedSince:r.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:r.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:r.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:LA(r.sourceAuthorization),cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,fileRequestIntent:r.sourceShareTokenIntent,tracingOptions:i.tracingOptions})))}},Gj=class e extends Uj{_blobContext;blockBlobContext;constructor(e,t,n,r){let i,a;if(r||={},kS(t))a=e,i=t;else if(_g&&t instanceof aS||t instanceof Qx||c_(t))a=e,r=n,i=jS(t,r);else if(!t&&typeof t!=`string`)a=e,n&&typeof n!=`string`&&(r=n),i=jS(new Qx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=vA(e);if(c.kind===`AccountConnString`)if(_g){let e=new aS(c.accountName,c.accountKey);a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Eg(c.proxyUri),i=jS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=jS(new Qx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob}withSnapshot(t){return new e(xA(this.url,TS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}async query(e,t={}){if(Tj(t.customerProvidedKey,this.isHttps),!_g)throw Error(`This operation currently is only supported in Node.js.`);return Q.withSpan(`BlockBlobClient-query`,t,async n=>new xj(Z(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:`SQL`,expression:e,inputSerialization:FA(t.inputTextConfiguration),outputSerialization:FA(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:n.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,n={}){return n.conditions=n.conditions||{},Tj(n.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-upload`,n,async r=>Z(await this.blockBlobContext.upload(t,e,{abortSignal:n.abortSignal,blobHttpHeaders:n.blobHTTPHeaders,leaseAccessConditions:n.conditions,metadata:n.metadata,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,immutabilityPolicyExpiry:n.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:n.immutabilityPolicy?.policyMode,legalHold:n.legalHold,tier:wj(n.tier),blobTagsString:MA(n.tags),tracingOptions:r.tracingOptions})))}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},Tj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-syncUploadFromURL`,t,async n=>Z(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:LA(t.sourceAuthorization),tier:wj(t.tier),blobTagsString:MA(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:n.tracingOptions})))}async stageBlock(e,t,n,r={}){return Tj(r.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-stageBlock`,r,async i=>Z(await this.blockBlobContext.stageBlock(e,n,t,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,requestOptions:{onUploadProgress:r.onProgress},transactionalContentMD5:r.transactionalContentMD5,transactionalContentCrc64:r.transactionalContentCrc64,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async stageBlockFromURL(e,t,n=0,r,i={}){return Tj(i.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-stageBlockFromURL`,i,async a=>Z(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:n===0&&!r?void 0:Ij({offset:n,count:r}),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:LA(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},Tj(t.customerProvidedKey,this.isHttps),Q.withSpan(`BlockBlobClient-commitBlockList`,t,async n=>Z(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:wj(t.tier),blobTagsString:MA(t.tags),tracingOptions:n.tracingOptions})))}async getBlockList(e,t={}){return Q.withSpan(`BlockBlobClient-getBlockList`,t,async n=>{let r=Z(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return r.committedBlocks||=[],r.uncommittedBlocks||=[],r})}async uploadData(e,t={}){return Q.withSpan(`BlockBlobClient-uploadData`,t,async t=>{if(_g){let n;return e instanceof Buffer?n=e:e instanceof ArrayBuffer?n=Buffer.from(e):(e=e,n=Buffer.from(e.buffer,e.byteOffset,e.byteLength)),this.uploadSeekableInternal((e,t)=>n.slice(e,e+t),n.byteLength,t)}else{let n=new Blob([e]);return this.uploadSeekableInternal((e,t)=>n.slice(e,e+t),n.size,t)}})}async uploadBrowserData(e,t={}){return Q.withSpan(`BlockBlobClient-uploadBrowserData`,t,async t=>{let n=new Blob([e]);return this.uploadSeekableInternal((e,t)=>n.slice(e,e+t),n.size,t)})}async uploadSeekableInternal(e,t,n={}){let r=n.blockSize??0;if(r<0||r>4194304e3)throw RangeError(`blockSize option must be >= 0 and <= 4194304000`);let i=n.maxSingleShotSize??268435456;if(i<0||i>268435456)throw RangeError(`maxSingleShotSize option must be >= 0 and <= 268435456`);if(r===0){if(t>4194304e3*5e4)throw RangeError(`${t} is too larger to upload to a block blob.`);t>i&&(r=Math.ceil(t/CS),r<4194304&&(r=wS))}return n.blobHTTPHeaders||={},n.conditions||={},Q.withSpan(`BlockBlobClient-uploadSeekableInternal`,n,async a=>{if(t<=i)return Z(await this.upload(e(0,t),t,a));let o=Math.floor((t-1)/r)+1;if(o>5e4)throw RangeError(`The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= ${CS}`);let s=[],c=gg(),l=0,u=new Rj(n.concurrency);for(let i=0;i{let u=DA(c,i),d=r*i,f=(i===o-1?t:d+r)-d;s.push(u),await this.stageBlock(u,e(d,f),f,{abortSignal:n.abortSignal,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:a.tracingOptions}),l+=f,n.onProgress&&n.onProgress({loadedBytes:l})});return await u.do(),this.commitBlockList(s,a)})}async uploadFile(e,t={}){return Q.withSpan(`BlockBlobClient-uploadFile`,t,async n=>{let r=(await Vj(e)).size;return this.uploadSeekableInternal((t,n)=>()=>Hj(e,{autoClose:!0,end:n?t+n-1:1/0,start:t}),r,{...t,tracingOptions:n.tracingOptions})})}async uploadStream(e,t=8388608,n=5,r={}){return r.blobHTTPHeaders||={},r.conditions||={},Q.withSpan(`BlockBlobClient-uploadStream`,r,async i=>{let a=0,o=gg(),s=0,c=[];return await new Lx(e,t,n,async(e,t)=>{let n=DA(o,a);c.push(n),a++,await this.stageBlock(n,e,t,{customerProvidedKey:r.customerProvidedKey,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions}),s+=t,r.onProgress&&r.onProgress({loadedBytes:s})},Math.ceil(n/4*3)).do(),Z(await this.commitBlockList(c,{...r,tracingOptions:i.tracingOptions}))})}},Kj=class e extends Uj{pageBlobContext;constructor(e,t,n,r){let i,a;if(r||={},kS(t))a=e,i=t;else if(_g&&t instanceof aS||t instanceof Qx||c_(t))a=e,r=n,i=jS(t,r);else if(!t&&typeof t!=`string`)a=e,i=jS(new Qx,r);else if(t&&typeof t==`string`&&n&&typeof n==`string`){let o=t,s=n,c=vA(e);if(c.kind===`AccountConnString`)if(_g){let e=new aS(c.accountName,c.accountKey);a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s)),r.proxyOptions||=Eg(c.proxyUri),i=jS(e,r)}else throw Error(`Account connection string is only supported in Node.js environment`);else if(c.kind===`SASConnString`)a=bA(bA(c.url,encodeURIComponent(o)),encodeURIComponent(s))+`?`+c.accountSas,i=jS(new Qx,r);else throw Error(`Connection string must be either an Account connection string or a SAS connection string`)}else throw Error(`Expecting non-empty strings for containerName and blobName parameters`);super(a,i),this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(t){return new e(xA(this.url,TS.Parameters.SNAPSHOT,t.length===0?void 0:t),this.pipeline)}async create(e,t={}){return t.conditions=t.conditions||{},Tj(t.customerProvidedKey,this.isHttps),Q.withSpan(`PageBlobClient-create`,t,async n=>Z(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:wj(t.tier),blobTagsString:MA(t.tags),tracingOptions:n.tracingOptions})))}async createIfNotExists(e,t={}){return Q.withSpan(`PageBlobClient-createIfNotExists`,t,async n=>{try{let r={ifNoneMatch:`*`},i=Z(await this.create(e,{...t,conditions:r,tracingOptions:n.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode===`BlobAlreadyExists`)return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,n,r={}){return r.conditions=r.conditions||{},Tj(r.customerProvidedKey,this.isHttps),Q.withSpan(`PageBlobClient-uploadPages`,r,async i=>Z(await this.pageBlobContext.uploadPages(n,e,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},range:Ij({offset:t,count:n}),sequenceNumberAccessConditions:r.conditions,transactionalContentMD5:r.transactionalContentMD5,transactionalContentCrc64:r.transactionalContentCrc64,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async uploadPagesFromURL(e,t,n,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},Tj(i.customerProvidedKey,this.isHttps),Q.withSpan(`PageBlobClient-uploadPagesFromURL`,i,async a=>Z(await this.pageBlobContext.uploadPagesFromURL(e,Ij({offset:t,count:r}),0,Ij({offset:n,count:r}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:LA(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:a.tracingOptions})))}async clearPages(e=0,t,n={}){return n.conditions=n.conditions||{},Q.withSpan(`PageBlobClient-clearPages`,n,async r=>Z(await this.pageBlobContext.clearPages(0,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Ij({offset:e,count:t}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:r.tracingOptions})))}async getPageRanges(e=0,t,n={}){return n.conditions=n.conditions||{},Q.withSpan(`PageBlobClient-getPageRanges`,n,async r=>Dj(Z(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:Ij({offset:e,count:t}),tracingOptions:r.tracingOptions}))))}async listPageRangesSegment(e=0,t,n,r={}){return Q.withSpan(`PageBlobClient-getPageRangesSegment`,r,async i=>Z(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:Ij({offset:e,count:t}),marker:n,maxPageSize:r.maxPageSize,tracingOptions:i.tracingOptions})))}async*listPageRangeItemSegments(e=0,t,n,r={}){let i;if(n||n===void 0)do i=await this.listPageRangesSegment(e,t,n,r),n=i.continuationToken,yield await i;while(n)}async*listPageRangeItems(e=0,t,n={}){for await(let r of this.listPageRangeItemSegments(e,t,void 0,n))yield*RA(r)}listPageRanges(e=0,t,n={}){n.conditions=n.conditions||{};let r=this.listPageRangeItems(e,t,n);return{next(){return r.next()},[Symbol.asyncIterator](){return this},byPage:(r={})=>this.listPageRangeItemSegments(e,t,r.continuationToken,{maxPageSize:r.maxPageSize,...n})}}async getPageRangesDiff(e,t,n,r={}){return r.conditions=r.conditions||{},Q.withSpan(`PageBlobClient-getPageRangesDiff`,r,async i=>Dj(Z(await this.pageBlobContext.getPageRangesDiff({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},prevsnapshot:n,range:Ij({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesDiffSegment(e,t,n,r,i={}){return Q.withSpan(`PageBlobClient-getPageRangesDiffSegment`,i,async a=>Z(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:n,range:Ij({offset:e,count:t}),marker:r,maxPageSize:i?.maxPageSize,tracingOptions:a.tracingOptions})))}async*listPageRangeDiffItemSegments(e,t,n,r,i){let a;if(r||r===void 0)do a=await this.listPageRangesDiffSegment(e,t,n,r,i),r=a.continuationToken,yield await a;while(r)}async*listPageRangeDiffItems(e,t,n,r){for await(let i of this.listPageRangeDiffItemSegments(e,t,n,void 0,r))yield*RA(i)}listPageRangesDiff(e,t,n,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeDiffItems(e,t,n,{...r});return{next(){return i.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeDiffItemSegments(e,t,n,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiffForManagedDisks(e,t,n,r={}){return r.conditions=r.conditions||{},Q.withSpan(`PageBlobClient-GetPageRangesDiffForManagedDisks`,r,async i=>Dj(Z(await this.pageBlobContext.getPageRangesDiff({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},prevSnapshotUrl:n,range:Ij({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},Q.withSpan(`PageBlobClient-resize`,t,async n=>Z(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:n.tracingOptions})))}async updateSequenceNumber(e,t,n={}){return n.conditions=n.conditions||{},Q.withSpan(`PageBlobClient-updateSequenceNumber`,n,async r=>Z(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:n.abortSignal,blobSequenceNumber:t,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async startCopyIncremental(e,t={}){return Q.withSpan(`PageBlobClient-startCopyIncremental`,t,async n=>Z(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}},qj=class extends Error{constructor(e){super(e),this.name=`InvalidResponseError`}},Jj=class extends Error{constructor(e){let t=`Unable to make request: ${e}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(t),this.code=e,this.name=`NetworkError`}};Jj.isNetworkErrorCode=e=>e?[`ECONNRESET`,`ENOTFOUND`,`ETIMEDOUT`,`ECONNREFUSED`,`EHOSTUNREACH`].includes(e):!1;var Yj=class extends Error{constructor(){super(`Cache storage quota has been hit. Unable to upload any new cache entries. +More info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`),this.name=`UsageError`}};Yj.isUsageErrorMessage=e=>e?e.includes(`insufficient usage`):!1;var Xj=class extends Error{constructor(e){super(e),this.name=`RateLimitError`}},Zj=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},Qj=class{constructor(e){this.contentLength=e,this.sentBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}setSentBytes(e){this.sentBytes=e}getTransferredBytes(){return this.sentBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.sentBytes,t=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,r=(e/(1024*1024)/(n/1e3)).toFixed(1);R(`Sent ${e} of ${this.contentLength} (${t}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let t=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(t,e))};this.timeoutHandle=setTimeout(t,e)}stopDisplayTimer(){this.timeoutHandle&&=(clearTimeout(this.timeoutHandle),void 0),this.display()}};function $j(e,t,n){return Zj(this,void 0,void 0,function*(){let r=new Uj(e),i=r.getBlockBlobClient(),a=new Qj(n?.archiveSizeBytes??0),o={blockSize:n?.uploadChunkSize,concurrency:n?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),L(`BlobClient: ${r.name}:${r.accountName}:${r.containerName}`);let e=yield i.uploadFile(t,o);if(e._response.status>=400)throw new qj(`uploadCacheArchiveSDK: upload failed with status code ${e._response.status}`);return e}catch(e){throw Vr(`uploadCacheArchiveSDK: internal error uploading cache archive: ${e.message}`),e}finally{a.stopDisplayTimer()}})}var eM=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function tM(e){return e?e>=200&&e<300:!1}function nM(e){return e?e>=500:!0}function rM(e){return e?[Ln.BadGateway,Ln.ServiceUnavailable,Ln.GatewayTimeout].includes(e):!1}function iM(e){return eM(this,void 0,void 0,function*(){return new Promise(t=>setTimeout(t,e))})}function aM(e,t,n){return eM(this,arguments,void 0,function*(e,t,n,r=2,i=vp,a=void 0){let o=``,s=1;for(;s<=r;){let c,l,u=!1;try{c=yield t()}catch(e){a&&(c=a(e)),u=!0,o=e.message}if(c&&(l=n(c),!nM(l)))return c;if(l&&(u=rM(l),o=`Cache service responded with ${l}`),L(`${e} - Attempt ${s} of ${r} failed with error: ${o}`),!u){L(`${e} - Error is not retryable`);break}yield iM(i),s++}throw Error(`${e} failed: ${o}`)})}function oM(e,t){return eM(this,arguments,void 0,function*(e,t,n=2,r=vp){return yield aM(e,t,e=>e.statusCode,n,r,e=>{if(e instanceof Un)return{statusCode:e.statusCode,result:null,headers:{},error:e}})})}function sM(e,t){return eM(this,arguments,void 0,function*(e,t,n=2,r=vp){return yield aM(e,t,e=>e.message.statusCode,n,r)})}var cM=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function lM(e,t){return cM(this,void 0,void 0,function*(){yield _.promisify(ge.pipeline)(e.message,t)})}var uM=class{constructor(e){this.contentLength=e,this.segmentIndex=0,this.segmentSize=0,this.segmentOffset=0,this.receivedBytes=0,this.displayedComplete=!1,this.startTime=Date.now()}nextSegment(e){this.segmentOffset+=this.segmentSize,this.segmentIndex+=1,this.segmentSize=e,this.receivedBytes=0,L(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.receivedBytes=e}getTransferredBytes(){return this.segmentOffset+this.receivedBytes}isDone(){return this.getTransferredBytes()===this.contentLength}display(){if(this.displayedComplete)return;let e=this.segmentOffset+this.receivedBytes,t=(100*(e/this.contentLength)).toFixed(1),n=Date.now()-this.startTime,r=(e/(1024*1024)/(n/1e3)).toFixed(1);R(`Received ${e} of ${this.contentLength} (${t}%), ${r} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setReceivedBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let t=()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(t,e))};this.timeoutHandle=setTimeout(t,e)}stopDisplayTimer(){this.timeoutHandle&&=(clearTimeout(this.timeoutHandle),void 0),this.display()}};function dM(e,t){return cM(this,void 0,void 0,function*(){let n=a.createWriteStream(t),r=new Gn(`actions/cache`),i=yield sM(`downloadCache`,()=>cM(this,void 0,void 0,function*(){return r.get(e)}));i.message.socket.setTimeout(yp,()=>{i.message.destroy(),L(`Aborting download, socket timed out after ${yp} ms`)}),yield lM(i,n);let o=i.message.headers[`content-length`];if(o){let e=parseInt(o),n=Dp(t);if(n!==e)throw Error(`Incomplete download. Expected file size: ${e}, actual file size: ${n}`)}else L(`Unable to validate download, no Content-Length header`)})}function fM(e,t,n){return cM(this,void 0,void 0,function*(){let r=yield a.promises.open(t,`w`),i=new Gn(`actions/cache`,void 0,{socketTimeout:n.timeoutInMs,keepAlive:!0});try{let t=(yield sM(`downloadCacheMetadata`,()=>cM(this,void 0,void 0,function*(){return yield i.request(`HEAD`,e,null,{})}))).message.headers[`content-length`];if(t==null)throw Error(`Content-Length not found on blob response`);let a=parseInt(t);if(Number.isNaN(a))throw Error(`Could not interpret Content-Length: ${a}`);let o=[],s=4*1024*1024;for(let t=0;tcM(this,void 0,void 0,function*(){return yield pM(i,e,t,n)})})}o.reverse();let c=0,l=0,u=new uM(a);u.startDisplayTimer();let d=u.onProgress(),f=[],p,m=()=>cM(this,void 0,void 0,function*(){let e=yield Promise.race(Object.values(f));yield r.write(e.buffer,0,e.count,e.offset),c--,delete f[e.offset],l+=e.count,d({loadedBytes:l})});for(;p=o.pop();)f[p.offset]=p.promiseGetter(),c++,c>=(n.downloadConcurrency??10)&&(yield m());for(;c>0;)yield m()}finally{i.dispose(),yield r.close()}})}function pM(e,t,n,r){return cM(this,void 0,void 0,function*(){let i=0;for(;;)try{let i=yield gM(3e4,mM(e,t,n,r));if(typeof i==`string`)throw Error(`downloadSegmentRetry failed due to timeout`);return i}catch(e){if(i>=5)throw e;i++}})}function mM(e,t,n,r){return cM(this,void 0,void 0,function*(){let i=yield sM(`downloadCachePart`,()=>cM(this,void 0,void 0,function*(){return yield e.get(t,{Range:`bytes=${n}-${n+r-1}`})}));if(!i.readBodyBuffer)throw Error(`Expected HttpClientResponse to implement readBodyBuffer`);return{offset:n,count:r,buffer:yield i.readBodyBuffer()}})}function hM(e,t,n){return cM(this,void 0,void 0,function*(){let r=new Gj(e,void 0,{retryOptions:{tryTimeoutInMs:n.timeoutInMs}}),i=(yield r.getProperties()).contentLength??-1;if(i<0)L(`Unable to determine content length, downloading file with http-client...`),yield dM(e,t);else{let e=Math.min(134217728,k.constants.MAX_LENGTH),o=new uM(i),s=a.openSync(t,`w`);try{o.startDisplayTimer();let t=new AbortController,c=t.signal;for(;!o.isDone();){let l=o.segmentOffset+o.segmentSize,u=Math.min(e,i-l);o.nextSegment(u);let d=yield gM(n.segmentTimeoutInMs||36e5,r.downloadToBuffer(l,u,{abortSignal:c,concurrency:n.downloadConcurrency,onProgress:o.onProgress()}));if(d===`timeout`)throw t.abort(),Error(`Aborting cache download as the download time exceeded the timeout.`);Buffer.isBuffer(d)&&a.writeFileSync(s,d)}}finally{o.stopDisplayTimer(),a.closeSync(s)}}})}const gM=(e,t)=>cM(void 0,void 0,void 0,function*(){let n,r=new Promise(t=>{n=setTimeout(()=>t(`timeout`),e)});return Promise.race([t,r]).then(e=>(clearTimeout(n),e))});function _M(e){let t={useAzureSdk:!1,uploadConcurrency:4,uploadChunkSize:32*1024*1024};return e&&(typeof e.useAzureSdk==`boolean`&&(t.useAzureSdk=e.useAzureSdk),typeof e.uploadConcurrency==`number`&&(t.uploadConcurrency=e.uploadConcurrency),typeof e.uploadChunkSize==`number`&&(t.uploadChunkSize=e.uploadChunkSize)),t.uploadConcurrency=isNaN(Number(process.env.CACHE_UPLOAD_CONCURRENCY))?t.uploadConcurrency:Math.min(32,Number(process.env.CACHE_UPLOAD_CONCURRENCY)),t.uploadChunkSize=isNaN(Number(process.env.CACHE_UPLOAD_CHUNK_SIZE))?t.uploadChunkSize:Math.min(128*1024*1024,Number(process.env.CACHE_UPLOAD_CHUNK_SIZE)*1024*1024),L(`Use Azure SDK: ${t.useAzureSdk}`),L(`Upload concurrency: ${t.uploadConcurrency}`),L(`Upload chunk size: ${t.uploadChunkSize}`),t}function vM(e){let t={useAzureSdk:!1,concurrentBlobDownloads:!0,downloadConcurrency:8,timeoutInMs:3e4,segmentTimeoutInMs:6e5,lookupOnly:!1};e&&(typeof e.useAzureSdk==`boolean`&&(t.useAzureSdk=e.useAzureSdk),typeof e.concurrentBlobDownloads==`boolean`&&(t.concurrentBlobDownloads=e.concurrentBlobDownloads),typeof e.downloadConcurrency==`number`&&(t.downloadConcurrency=e.downloadConcurrency),typeof e.timeoutInMs==`number`&&(t.timeoutInMs=e.timeoutInMs),typeof e.segmentTimeoutInMs==`number`&&(t.segmentTimeoutInMs=e.segmentTimeoutInMs),typeof e.lookupOnly==`boolean`&&(t.lookupOnly=e.lookupOnly));let n=process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS;return n&&!isNaN(Number(n))&&isFinite(Number(n))&&(t.segmentTimeoutInMs=Number(n)*60*1e3),L(`Use Azure SDK: ${t.useAzureSdk}`),L(`Download concurrency: ${t.downloadConcurrency}`),L(`Request timeout (ms): ${t.timeoutInMs}`),L(`Cache segment download timeout mins env var: ${process.env.SEGMENT_DOWNLOAD_TIMEOUT_MINS}`),L(`Segment download timeout (ms): ${t.segmentTimeoutInMs}`),L(`Lookup only: ${t.lookupOnly}`),t}function yM(){let e=new URL(process.env.GITHUB_SERVER_URL||`https://github.com`).hostname.trimEnd().toUpperCase(),t=e===`GITHUB.COM`,n=e.endsWith(`.GHE.COM`),r=e.endsWith(`.LOCALHOST`);return!t&&!n&&!r}function bM(){return yM()?`v1`:process.env.ACTIONS_CACHE_SERVICE_V2?`v2`:`v1`}function xM(){let e=bM();switch(e){case`v1`:return process.env.ACTIONS_CACHE_URL||process.env.ACTIONS_RESULTS_URL||``;case`v2`:return process.env.ACTIONS_RESULTS_URL||``;default:throw Error(`Unsupported cache service version: ${e}`)}}var SM=P(((e,t)=>{t.exports={name:`@actions/cache`,version:`6.0.1`,description:`Actions cache lib`,keywords:[`github`,`actions`,`cache`],homepage:`https://github.com/actions/toolkit/tree/main/packages/cache`,license:`MIT`,type:`module`,main:`lib/cache.js`,types:`lib/cache.d.ts`,exports:{".":{types:`./lib/cache.d.ts`,import:`./lib/cache.js`}},directories:{lib:`lib`,test:`__tests__`},files:[`lib`,`!.DS_Store`],publishConfig:{access:`public`},repository:{type:`git`,url:`git+https://github.com/actions/toolkit.git`,directory:`packages/cache`},scripts:{"audit-moderate":`npm install && npm audit --json --audit-level=moderate > audit.json`,test:`echo "Error: run tests from root" && exit 1`,tsc:`tsc && cp src/internal/shared/package-version.cjs lib/internal/shared/`},bugs:{url:`https://github.com/actions/toolkit/issues`},dependencies:{"@actions/core":`^3.0.1`,"@actions/exec":`^3.0.0`,"@actions/glob":`^0.6.1`,"@actions/http-client":`^4.0.1`,"@actions/io":`^3.0.2`,"@azure/core-rest-pipeline":`^1.23.0`,"@azure/storage-blob":`^12.31.0`,"@protobuf-ts/runtime-rpc":`^2.11.1`,semver:`^7.7.4`},devDependencies:{"@protobuf-ts/plugin":`^2.11.1`,"@types/node":`^25.6.0`,"@types/semver":`^7.7.1`,typescript:`^5.9.3`},overrides:{"uri-js":`npm:uri-js-replace@^1.0.1`,"node-fetch":`^3.3.2`}}})),CM=P(((e,t)=>{t.exports={version:SM().version}}))();function wM(){return`@actions/cache-${CM.version}`}var TM=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function EM(e){let t=xM();if(!t)throw Error(`Cache Service Url not found, unable to restore cache.`);let n=`${t}_apis/artifactcache/${e}`;return L(`Resource Url: ${n}`),n}function DM(e,t){return`${e};api-version=${t}`}function OM(){return{headers:{Accept:DM(`application/json`,`6.0-preview.1`)}}}function kM(){let e=new Jn(process.env.ACTIONS_RUNTIME_TOKEN||``);return new Gn(wM(),[e],OM())}function AM(e,t,n){return TM(this,void 0,void 0,function*(){let r=kM(),i=Fp(t,n?.compressionMethod,n?.enableCrossOsArchive),a=`cache?keys=${encodeURIComponent(e.join(`,`))}&version=${i}`,o=yield oM(`getCacheEntry`,()=>TM(this,void 0,void 0,function*(){return r.getJson(EM(a))}));if(o.statusCode===204)return zr()&&(yield jM(e[0],r,i)),null;if(!tM(o.statusCode))throw Error(`Cache service responded with ${o.statusCode}`);let s=o.result,c=s?.archiveLocation;if(!c)throw Error(`Cache not found.`);return Nr(c),L(`Cache Result:`),L(JSON.stringify(s)),s})}function jM(e,t,n){return TM(this,void 0,void 0,function*(){let r=`caches?key=${encodeURIComponent(e)}`,i=yield oM(`listCache`,()=>TM(this,void 0,void 0,function*(){return t.getJson(EM(r))}));if(i.statusCode===200){let t=i.result,r=t?.totalCount;if(r&&r>0){L(`No matching cache found for cache key '${e}', version '${n} and scope ${process.env.GITHUB_REF}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(let e of t?.artifactCaches||[])L(`Cache Key: ${e?.cacheKey}, Cache Version: ${e?.cacheVersion}, Cache Scope: ${e?.scope}, Cache Created: ${e?.creationTime}`)}}})}function MM(e,t,n){return TM(this,void 0,void 0,function*(){let r=new ve(e),i=vM(n);r.hostname.endsWith(`.blob.core.windows.net`)?i.useAzureSdk?yield hM(e,t,i):i.concurrentBlobDownloads?yield fM(e,t,i):yield dM(e,t):yield dM(e,t)})}function NM(e,t,n){return TM(this,void 0,void 0,function*(){let r=kM(),i={key:e,version:Fp(t,n?.compressionMethod,n?.enableCrossOsArchive),cacheSize:n?.cacheSize};return yield oM(`reserveCache`,()=>TM(this,void 0,void 0,function*(){return r.postJson(EM(`caches`),i)}))})}function PM(e,t){return`bytes ${e}-${t}/*`}function FM(e,t,n,r,i){return TM(this,void 0,void 0,function*(){L(`Uploading chunk of size ${i-r+1} bytes at offset ${r} with content range: ${PM(r,i)}`);let a={"Content-Type":`application/octet-stream`,"Content-Range":PM(r,i)},o=yield sM(`uploadChunk (start: ${r}, end: ${i})`,()=>TM(this,void 0,void 0,function*(){return e.sendStream(`PATCH`,t,n(),a)}));if(!tM(o.message.statusCode))throw Error(`Cache service responded with ${o.message.statusCode} during upload chunk.`)})}function IM(e,t,n,r){return TM(this,void 0,void 0,function*(){let i=Dp(n),o=EM(`caches/${t.toString()}`),s=a.openSync(n,`r`),c=_M(r),l=Pp(`uploadConcurrency`,c.uploadConcurrency),u=Pp(`uploadChunkSize`,c.uploadChunkSize),d=[...Array(l).keys()];L(`Awaiting all uploads`);let f=0;try{yield Promise.all(d.map(()=>TM(this,void 0,void 0,function*(){for(;fa.createReadStream(n,{fd:s,start:r,end:c,autoClose:!1}).on(`error`,e=>{throw Error(`Cache upload failed because file read failed with ${e.message}`)}),r,c)}})))}finally{a.closeSync(s)}})}function LM(e,t,n){return TM(this,void 0,void 0,function*(){let r={size:n};return yield oM(`commitCache`,()=>TM(this,void 0,void 0,function*(){return e.postJson(EM(`caches/${t.toString()}`),r)}))})}function RM(e,t,n,r){return TM(this,void 0,void 0,function*(){if(_M(r).useAzureSdk){if(!n)throw Error(`Azure Storage SDK can only be used when a signed URL is provided.`);yield $j(n,t,r)}else{let n=kM();L(`Upload cache`),yield IM(n,e,t,r),L(`Commiting cache`);let i=Dp(t);R(`Cache Size: ~${Math.round(i/(1024*1024))} MB (${i} B)`);let a=yield LM(n,e,i);if(!tM(a.statusCode))throw Error(`Cache service responded with ${a.statusCode} during commit cache.`);R(`Cache saved successfully`)}})}var zM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.isJsonObject=e.typeofJsonValue=void 0;function t(e){let t=typeof e;if(t==`object`){if(Array.isArray(e))return`array`;if(e===null)return`null`}return t}e.typeofJsonValue=t;function n(e){return typeof e==`object`&&!!e&&!Array.isArray(e)}e.isJsonObject=n})),BM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.base64encode=e.base64decode=void 0;let t=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`.split(``),n=[];for(let e=0;e>4,s=o,a=2;break;case 2:r[i++]=(s&15)<<4|(o&60)>>2,s=o,a=3;break;case 3:r[i++]=(s&3)<<6|o,a=0;break}}if(a==1)throw Error(`invalid base64 string.`);return r.subarray(0,i)}e.base64decode=r;function i(e){let n=``,r=0,i,a=0;for(let o=0;o>2],a=(i&3)<<4,r=1;break;case 1:n+=t[a|i>>4],a=(i&15)<<2,r=2;break;case 2:n+=t[a|i>>6],n+=t[i&63],r=0;break}return r&&(n+=t[a],n+=`=`,r==1&&(n+=`=`)),n}e.base64encode=i})),VM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.utf8read=void 0;let t=e=>String.fromCharCode.apply(String,e);function n(e){if(e.length<1)return``;let n=0,r=[],i=[],a=0,o,s=e.length;for(;n191&&o<224?i[a++]=(o&31)<<6|e[n++]&63:o>239&&o<365?(o=((o&7)<<18|(e[n++]&63)<<12|(e[n++]&63)<<6|e[n++]&63)-65536,i[a++]=55296+(o>>10),i[a++]=56320+(o&1023)):i[a++]=(o&15)<<12|(e[n++]&63)<<6|e[n++]&63,a>8191&&(r.push(t(i)),a=0);return r.length?(a&&r.push(t(i.slice(0,a))),r.join(``)):t(i.slice(0,a))}e.utf8read=n})),HM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.WireType=e.mergeBinaryOptions=e.UnknownFieldHandler=void 0,(function(e){e.symbol=Symbol.for(`protobuf-ts/unknown`),e.onRead=(n,r,i,a,o)=>{(t(r)?r[e.symbol]:r[e.symbol]=[]).push({no:i,wireType:a,data:o})},e.onWrite=(t,n,r)=>{for(let{no:t,wireType:i,data:a}of e.list(n))r.tag(t,i).raw(a)},e.list=(n,r)=>{if(t(n)){let t=n[e.symbol];return r?t.filter(e=>e.no==r):t}return[]},e.last=(t,n)=>e.list(t,n).slice(-1)[0];let t=t=>t&&Array.isArray(t[e.symbol])})(e.UnknownFieldHandler||={});function t(e,t){return Object.assign(Object.assign({},e),t)}e.mergeBinaryOptions=t,(function(e){e[e.Varint=0]=`Varint`,e[e.Bit64=1]=`Bit64`,e[e.LengthDelimited=2]=`LengthDelimited`,e[e.StartGroup=3]=`StartGroup`,e[e.EndGroup=4]=`EndGroup`,e[e.Bit32=5]=`Bit32`})(e.WireType||={})})),UM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.varint32read=e.varint32write=e.int64toString=e.int64fromString=e.varint64write=e.varint64read=void 0;function t(){let e=0,t=0;for(let n=0;n<28;n+=7){let r=this.buf[this.pos++];if(e|=(r&127)<>4,!(n&128))return this.assertBounds(),[e,t];for(let n=3;n<=31;n+=7){let r=this.buf[this.pos++];if(t|=(r&127)<>>r,a=!(!(i>>>7)&&t==0),o=(a?i|128:i)&255;if(n.push(o),!a)return}let r=e>>>28&15|(t&7)<<4,i=!!(t>>3);if(n.push((i?r|128:r)&255),i){for(let e=3;e<31;e+=7){let r=t>>>e,i=!!(r>>>7),a=(i?r|128:r)&255;if(n.push(a),!i)return}n.push(t>>>31&1)}}e.varint64write=n;let r=65536*65536;function i(e){let t=e[0]==`-`;t&&(e=e.slice(1));let n=1e6,i=0,a=0;function o(t,o){let s=Number(e.slice(t,o));a*=n,i=i*n+s,i>=r&&(a+=i/r|0,i%=r)}return o(-24,-18),o(-18,-12),o(-12,-6),o(-6),[t,i,a]}e.int64fromString=i;function a(e,t){if(t>>>0<=2097151)return``+(r*t+(e>>>0));let n=e&16777215,i=(e>>>24|t<<8)>>>0&16777215,a=t>>16&65535,o=n+i*6777216+a*6710656,s=i+a*8147497,c=a*2,l=1e7;o>=l&&(s+=Math.floor(o/l),o%=l),s>=l&&(c+=Math.floor(s/l),s%=l);function u(e,t){let n=e?String(e):``;return t?`0000000`.slice(n.length)+n:n}return u(c,0)+u(s,c)+u(o,1)}e.int64toString=a;function o(e,t){if(e>=0){for(;e>127;)t.push(e&127|128),e>>>=7;t.push(e)}else{for(let n=0;n<9;n++)t.push(e&127|128),e>>=7;t.push(1)}}e.varint32write=o;function s(){let e=this.buf[this.pos++],t=e&127;if(!(e&128)||(e=this.buf[this.pos++],t|=(e&127)<<7,!(e&128))||(e=this.buf[this.pos++],t|=(e&127)<<14,!(e&128))||(e=this.buf[this.pos++],t|=(e&127)<<21,!(e&128)))return this.assertBounds(),t;e=this.buf[this.pos++],t|=(e&15)<<28;for(let t=5;e&128&&t<10;t++)e=this.buf[this.pos++];if(e&128)throw Error(`invalid varint`);return this.assertBounds(),t>>>0}e.varint32read=s})),WM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.PbLong=e.PbULong=e.detectBi=void 0;let t=UM(),n;function r(){let e=new DataView(new ArrayBuffer(8));n=globalThis.BigInt!==void 0&&typeof e.getBigInt64==`function`&&typeof e.getBigUint64==`function`&&typeof e.setBigInt64==`function`&&typeof e.setBigUint64==`function`?{MIN:BigInt(`-9223372036854775808`),MAX:BigInt(`9223372036854775807`),UMIN:BigInt(`0`),UMAX:BigInt(`18446744073709551615`),C:BigInt,V:e}:void 0}e.detectBi=r,r();function i(e){if(!e)throw Error(`BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support`)}let a=/^-?[0-9]+$/,o=4294967296,s=2147483648;var c=class{constructor(e,t){this.lo=e|0,this.hi=t|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let e=this.hi*o+(this.lo>>>0);if(!Number.isSafeInteger(e))throw Error(`cannot convert to safe number`);return e}},l=class e extends c{static from(r){if(n)switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r==``)throw Error(`string is no integer`);r=n.C(r);case`number`:if(r===0)return this.ZERO;r=n.C(r);case`bigint`:if(!r)return this.ZERO;if(rn.UMAX)throw Error(`ulong too large`);return n.V.setBigUint64(0,r,!0),new e(n.V.getInt32(0,!0),n.V.getInt32(4,!0))}else switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r=r.trim(),!a.test(r))throw Error(`string is no integer`);let[n,i,s]=t.int64fromString(r);if(n)throw Error(`signed value for ulong`);return new e(i,s);case`number`:if(r==0)return this.ZERO;if(!Number.isSafeInteger(r))throw Error(`number is no integer`);if(r<0)throw Error(`signed value for ulong`);return new e(r,r/o)}throw Error(`unknown value `+typeof r)}toString(){return n?this.toBigInt().toString():t.int64toString(this.lo,this.hi)}toBigInt(){return i(n),n.V.setInt32(0,this.lo,!0),n.V.setInt32(4,this.hi,!0),n.V.getBigUint64(0,!0)}};e.PbULong=l,l.ZERO=new l(0,0);var u=class e extends c{static from(r){if(n)switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r==``)throw Error(`string is no integer`);r=n.C(r);case`number`:if(r===0)return this.ZERO;r=n.C(r);case`bigint`:if(!r)return this.ZERO;if(rn.MAX)throw Error(`signed long too large`);return n.V.setBigInt64(0,r,!0),new e(n.V.getInt32(0,!0),n.V.getInt32(4,!0))}else switch(typeof r){case`string`:if(r==`0`)return this.ZERO;if(r=r.trim(),!a.test(r))throw Error(`string is no integer`);let[n,i,c]=t.int64fromString(r);if(n){if(c>s||c==s&&i!=0)throw Error(`signed long too small`)}else if(c>=s)throw Error(`signed long too large`);let l=new e(i,c);return n?l.negate():l;case`number`:if(r==0)return this.ZERO;if(!Number.isSafeInteger(r))throw Error(`number is no integer`);return r>0?new e(r,r/o):new e(-r,-r/o).negate()}throw Error(`unknown value `+typeof r)}isNegative(){return(this.hi&s)!==0}negate(){let t=~this.hi,n=this.lo;return n?n=~n+1:t+=1,new e(n,t)}toString(){if(n)return this.toBigInt().toString();if(this.isNegative()){let e=this.negate();return`-`+t.int64toString(e.lo,e.hi)}return t.int64toString(this.lo,this.hi)}toBigInt(){return i(n),n.V.setInt32(0,this.lo,!0),n.V.setInt32(4,this.hi,!0),n.V.getBigInt64(0,!0)}};e.PbLong=u,u.ZERO=new u(0,0)})),GM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BinaryReader=e.binaryReadOptions=void 0;let t=HM(),n=WM(),r=UM(),i={readUnknownField:!0,readerFactory:e=>new o(e)};function a(e){return e?Object.assign(Object.assign({},i),e):i}e.binaryReadOptions=a;var o=class{constructor(e,t){this.varint64=r.varint64read,this.uint32=r.varint32read,this.buf=e,this.len=e.length,this.pos=0,this.view=new DataView(e.buffer,e.byteOffset,e.byteLength),this.textDecoder=t??new TextDecoder(`utf-8`,{fatal:!0,ignoreBOM:!0})}tag(){let e=this.uint32(),t=e>>>3,n=e&7;if(t<=0||n<0||n>5)throw Error(`illegal tag: field no `+t+` wire type `+n);return[t,n]}skip(e){let n=this.pos;switch(e){case t.WireType.Varint:for(;this.buf[this.pos++]&128;);break;case t.WireType.Bit64:this.pos+=4;case t.WireType.Bit32:this.pos+=4;break;case t.WireType.LengthDelimited:let n=this.uint32();this.pos+=n;break;case t.WireType.StartGroup:let r;for(;(r=this.tag()[1])!==t.WireType.EndGroup;)this.skip(r);break;default:throw Error(`cant skip wire type `+e)}return this.assertBounds(),this.buf.subarray(n,this.pos)}assertBounds(){if(this.pos>this.len)throw RangeError(`premature EOF`)}int32(){return this.uint32()|0}sint32(){let e=this.uint32();return e>>>1^-(e&1)}int64(){return new n.PbLong(...this.varint64())}uint64(){return new n.PbULong(...this.varint64())}sint64(){let[e,t]=this.varint64(),r=-(e&1);return e=(e>>>1|(t&1)<<31)^r,t=t>>>1^r,new n.PbLong(e,t)}bool(){let[e,t]=this.varint64();return e!==0||t!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,!0)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,!0)}fixed64(){return new n.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new n.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,!0)}double(){return this.view.getFloat64((this.pos+=8)-8,!0)}bytes(){let e=this.uint32(),t=this.pos;return this.pos+=e,this.assertBounds(),this.buf.subarray(t,t+e)}string(){return this.textDecoder.decode(this.bytes())}};e.BinaryReader=o})),KM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.assertFloat32=e.assertUInt32=e.assertInt32=e.assertNever=e.assert=void 0;function t(e,t){if(!e)throw Error(t)}e.assert=t;function n(e,t){throw Error(t??`Unexpected object: `+e)}e.assertNever=n;function r(e){if(typeof e!=`number`)throw Error(`invalid int 32: `+typeof e);if(!Number.isInteger(e)||e>2147483647||e<-2147483648)throw Error(`invalid int 32: `+e)}e.assertInt32=r;function i(e){if(typeof e!=`number`)throw Error(`invalid uint 32: `+typeof e);if(!Number.isInteger(e)||e>4294967295||e<0)throw Error(`invalid uint 32: `+e)}e.assertUInt32=i;function a(e){if(typeof e!=`number`)throw Error(`invalid float 32: `+typeof e);if(Number.isFinite(e)&&(e>34028234663852886e22||e<-34028234663852886e22))throw Error(`invalid float 32: `+e)}e.assertFloat32=a})),qM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.BinaryWriter=e.binaryWriteOptions=void 0;let t=WM(),n=UM(),r=KM(),i={writeUnknownFields:!0,writerFactory:()=>new o};function a(e){return e?Object.assign(Object.assign({},i),e):i}e.binaryWriteOptions=a;var o=class{constructor(e){this.stack=[],this.textEncoder=e??new TextEncoder,this.chunks=[],this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let e=0;for(let t=0;t>>0)}raw(e){return this.buf.length&&(this.chunks.push(new Uint8Array(this.buf)),this.buf=[]),this.chunks.push(e),this}uint32(e){for(r.assertUInt32(e);e>127;)this.buf.push(e&127|128),e>>>=7;return this.buf.push(e),this}int32(e){return r.assertInt32(e),n.varint32write(e,this.buf),this}bool(e){return this.buf.push(+!!e),this}bytes(e){return this.uint32(e.byteLength),this.raw(e)}string(e){let t=this.textEncoder.encode(e);return this.uint32(t.byteLength),this.raw(t)}float(e){r.assertFloat32(e);let t=new Uint8Array(4);return new DataView(t.buffer).setFloat32(0,e,!0),this.raw(t)}double(e){let t=new Uint8Array(8);return new DataView(t.buffer).setFloat64(0,e,!0),this.raw(t)}fixed32(e){r.assertUInt32(e);let t=new Uint8Array(4);return new DataView(t.buffer).setUint32(0,e,!0),this.raw(t)}sfixed32(e){r.assertInt32(e);let t=new Uint8Array(4);return new DataView(t.buffer).setInt32(0,e,!0),this.raw(t)}sint32(e){return r.assertInt32(e),e=(e<<1^e>>31)>>>0,n.varint32write(e,this.buf),this}sfixed64(e){let n=new Uint8Array(8),r=new DataView(n.buffer),i=t.PbLong.from(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}fixed64(e){let n=new Uint8Array(8),r=new DataView(n.buffer),i=t.PbULong.from(e);return r.setInt32(0,i.lo,!0),r.setInt32(4,i.hi,!0),this.raw(n)}int64(e){let r=t.PbLong.from(e);return n.varint64write(r.lo,r.hi,this.buf),this}sint64(e){let r=t.PbLong.from(e),i=r.hi>>31,a=r.lo<<1^i,o=(r.hi<<1|r.lo>>>31)^i;return n.varint64write(a,o,this.buf),this}uint64(e){let r=t.PbULong.from(e);return n.varint64write(r.lo,r.hi,this.buf),this}};e.BinaryWriter=o})),JM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.mergeJsonOptions=e.jsonWriteOptions=e.jsonReadOptions=void 0;let t={emitDefaultValues:!1,enumAsInteger:!1,useProtoFieldName:!1,prettySpaces:0},n={ignoreUnknownFields:!1};function r(e){return e?Object.assign(Object.assign({},n),e):n}e.jsonReadOptions=r;function i(e){return e?Object.assign(Object.assign({},t),e):t}e.jsonWriteOptions=i;function a(e,t){let n=Object.assign(Object.assign({},e),t);return n.typeRegistry=[...e?.typeRegistry??[],...t?.typeRegistry??[]],n}e.mergeJsonOptions=a})),YM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.MESSAGE_TYPE=void 0,e.MESSAGE_TYPE=Symbol.for(`protobuf-ts/message-type`)})),XM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.lowerCamelCase=void 0;function t(e){let t=!1,n=[];for(let r=0;r{Object.defineProperty(e,`__esModule`,{value:!0}),e.readMessageOption=e.readFieldOption=e.readFieldOptions=e.normalizeFieldInfo=e.RepeatType=e.LongType=e.ScalarType=void 0;let t=XM();(function(e){e[e.DOUBLE=1]=`DOUBLE`,e[e.FLOAT=2]=`FLOAT`,e[e.INT64=3]=`INT64`,e[e.UINT64=4]=`UINT64`,e[e.INT32=5]=`INT32`,e[e.FIXED64=6]=`FIXED64`,e[e.FIXED32=7]=`FIXED32`,e[e.BOOL=8]=`BOOL`,e[e.STRING=9]=`STRING`,e[e.BYTES=12]=`BYTES`,e[e.UINT32=13]=`UINT32`,e[e.SFIXED32=15]=`SFIXED32`,e[e.SFIXED64=16]=`SFIXED64`,e[e.SINT32=17]=`SINT32`,e[e.SINT64=18]=`SINT64`})(e.ScalarType||={}),(function(e){e[e.BIGINT=0]=`BIGINT`,e[e.STRING=1]=`STRING`,e[e.NUMBER=2]=`NUMBER`})(e.LongType||={});var n;(function(e){e[e.NO=0]=`NO`,e[e.PACKED=1]=`PACKED`,e[e.UNPACKED=2]=`UNPACKED`})(n=e.RepeatType||={});function r(e){return e.localName=e.localName??t.lowerCamelCase(e.name),e.jsonName=e.jsonName??t.lowerCamelCase(e.name),e.repeat=e.repeat??n.NO,e.opt=e.opt??(e.repeat||e.oneof?!1:e.kind==`message`),e}e.normalizeFieldInfo=r;function i(e,t,n,r){let i=e.fields.find((e,n)=>e.localName==t||n==t)?.options;return i&&i[n]?r.fromJson(i[n]):void 0}e.readFieldOptions=i;function a(e,t,n,r){let i=e.fields.find((e,n)=>e.localName==t||n==t)?.options;if(!i)return;let a=i[n];return a===void 0?a:r?r.fromJson(a):a}e.readFieldOption=a;function o(e,t,n){let r=e.options[t];return r===void 0?r:n?n.fromJson(r):r}e.readMessageOption=o})),QM=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getSelectedOneofValue=e.clearOneofValue=e.setUnknownOneofValue=e.setOneofValue=e.getOneofValue=e.isOneofGroup=void 0;function t(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(`oneofKind`))return!1;switch(typeof e.oneofKind){case`string`:return e[e.oneofKind]===void 0?!1:Object.keys(e).length==2;case`undefined`:return Object.keys(e).length==1;default:return!1}}e.isOneofGroup=t;function n(e,t){return e[t]}e.getOneofValue=n;function r(e,t,n){e.oneofKind!==void 0&&delete e[e.oneofKind],e.oneofKind=t,n!==void 0&&(e[t]=n)}e.setOneofValue=r;function i(e,t,n){e.oneofKind!==void 0&&delete e[e.oneofKind],e.oneofKind=t,n!==void 0&&t!==void 0&&(e[t]=n)}e.setUnknownOneofValue=i;function a(e){e.oneofKind!==void 0&&delete e[e.oneofKind],e.oneofKind=void 0}e.clearOneofValue=a;function o(e){if(e.oneofKind!==void 0)return e[e.oneofKind]}e.getSelectedOneofValue=o})),$M=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionTypeCheck=void 0;let t=ZM(),n=QM();e.ReflectionTypeCheck=class{constructor(e){this.fields=e.fields??[]}prepare(){if(this.data)return;let e=[],t=[],n=[];for(let r of this.fields)if(r.oneof)n.includes(r.oneof)||(n.push(r.oneof),e.push(r.oneof),t.push(r.oneof));else switch(t.push(r.localName),r.kind){case`scalar`:case`enum`:(!r.opt||r.repeat)&&e.push(r.localName);break;case`message`:r.repeat&&e.push(r.localName);break;case`map`:e.push(r.localName);break}this.data={req:e,known:t,oneofs:Object.values(n)}}is(e,t,r=!1){if(t<0)return!0;if(typeof e!=`object`||!e)return!1;this.prepare();let i=Object.keys(e),a=this.data;if(i.length!i.includes(e))||!r&&i.some(e=>!a.known.includes(e)))return!1;if(t<1)return!0;for(let i of a.oneofs){let a=e[i];if(!n.isOneofGroup(a))return!1;if(a.oneofKind===void 0)continue;let o=this.fields.find(e=>e.localName===a.oneofKind);if(!o||!this.field(a[a.oneofKind],o,r,t))return!1}for(let n of this.fields)if(n.oneof===void 0&&!this.field(e[n.localName],n,r,t))return!1;return!0}field(e,n,r,i){let a=n.repeat;switch(n.kind){case`scalar`:return e===void 0?n.opt:a?this.scalars(e,n.T,i,n.L):this.scalar(e,n.T,n.L);case`enum`:return e===void 0?n.opt:a?this.scalars(e,t.ScalarType.INT32,i):this.scalar(e,t.ScalarType.INT32);case`message`:return e===void 0?!0:a?this.messages(e,n.T(),r,i):this.message(e,n.T(),r,i);case`map`:if(typeof e!=`object`||!e)return!1;if(i<2)return!0;if(!this.mapKeys(e,n.K,i))return!1;switch(n.V.kind){case`scalar`:return this.scalars(Object.values(e),n.V.T,i,n.V.L);case`enum`:return this.scalars(Object.values(e),t.ScalarType.INT32,i);case`message`:return this.messages(Object.values(e),n.V.T(),r,i)}break}return!0}message(e,t,n,r){return n?t.isAssignable(e,r):t.is(e,r)}messages(e,t,n,r){if(!Array.isArray(e))return!1;if(r<2)return!0;if(n){for(let n=0;nparseInt(e)),n,r);case t.ScalarType.BOOL:return this.scalars(i.slice(0,r).map(e=>e==`true`?!0:e==`false`?!1:e),n,r);default:return this.scalars(i,n,r,t.LongType.STRING)}}}})),eN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionLongConvert=void 0;let t=ZM();function n(e,n){switch(n){case t.LongType.BIGINT:return e.toBigInt();case t.LongType.NUMBER:return e.toNumber();default:return e.toString()}}e.reflectionLongConvert=n})),tN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionJsonReader=void 0;let t=zM(),n=BM(),r=ZM(),i=WM(),a=KM(),o=eN();e.ReflectionJsonReader=class{constructor(e){this.info=e}prepare(){if(this.fMap===void 0){this.fMap={};let e=this.info.fields??[];for(let t of e)this.fMap[t.name]=t,this.fMap[t.jsonName]=t,this.fMap[t.localName]=t}}assert(e,n,r){if(!e){let e=t.typeofJsonValue(r);throw(e==`number`||e==`boolean`)&&(e=r.toString()),Error(`Cannot parse JSON ${e} for ${this.info.typeName}#${n}`)}}read(e,n,i){this.prepare();let a=[];for(let[o,s]of Object.entries(e)){let e=this.fMap[o];if(!e){if(!i.ignoreUnknownFields)throw Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${o}`);continue}let c=e.localName,l;if(e.oneof){if(s===null&&(e.kind!==`enum`||e.T()[0]!==`google.protobuf.NullValue`))continue;if(a.includes(e.oneof))throw Error(`Multiple members of the oneof group "${e.oneof}" of ${this.info.typeName} are present in JSON.`);a.push(e.oneof),l=n[e.oneof]={oneofKind:c}}else l=n;if(e.kind==`map`){if(s===null)continue;this.assert(t.isJsonObject(s),e.name,s);let n=l[c];for(let[t,a]of Object.entries(s)){this.assert(a!==null,e.name+` map value`,null);let o;switch(e.V.kind){case`message`:o=e.V.T().internalJsonRead(a,i);break;case`enum`:if(o=this.enum(e.V.T(),a,e.name,i.ignoreUnknownFields),o===!1)continue;break;case`scalar`:o=this.scalar(a,e.V.T,e.V.L,e.name);break}this.assert(o!==void 0,e.name+` map value`,a);let s=t;e.K==r.ScalarType.BOOL&&(s=s==`true`?!0:s==`false`?!1:s),s=this.scalar(s,e.K,r.LongType.STRING,e.name).toString(),n[s]=o}}else if(e.repeat){if(s===null)continue;this.assert(Array.isArray(s),e.name,s);let t=l[c];for(let n of s){this.assert(n!==null,e.name,null);let r;switch(e.kind){case`message`:r=e.T().internalJsonRead(n,i);break;case`enum`:if(r=this.enum(e.T(),n,e.name,i.ignoreUnknownFields),r===!1)continue;break;case`scalar`:r=this.scalar(n,e.T,e.L,e.name);break}this.assert(r!==void 0,e.name,s),t.push(r)}}else switch(e.kind){case`message`:if(s===null&&e.T().typeName!=`google.protobuf.Value`){this.assert(e.oneof===void 0,e.name+` (oneof member)`,null);continue}l[c]=e.T().internalJsonRead(s,i,l[c]);break;case`enum`:if(s===null)continue;let t=this.enum(e.T(),s,e.name,i.ignoreUnknownFields);if(t===!1)continue;l[c]=t;break;case`scalar`:if(s===null)continue;l[c]=this.scalar(s,e.T,e.L,e.name);break}}}enum(e,t,n,r){if(e[0]==`google.protobuf.NullValue`&&a.assert(t===null||t===`NULL_VALUE`,`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} only accepts null.`),t===null)return 0;switch(typeof t){case`number`:return a.assert(Number.isInteger(t),`Unable to parse field ${this.info.typeName}#${n}, enum can only be integral number, got ${t}.`),t;case`string`:let i=t;e[2]&&t.substring(0,e[2].length)===e[2]&&(i=t.substring(e[2].length));let o=e[1][i];return o===void 0&&r?!1:(a.assert(typeof o==`number`,`Unable to parse field ${this.info.typeName}#${n}, enum ${e[0]} has no value for "${t}".`),o)}a.assert(!1,`Unable to parse field ${this.info.typeName}#${n}, cannot parse enum value from ${typeof t}".`)}scalar(e,t,s,c){let l;try{switch(t){case r.ScalarType.DOUBLE:case r.ScalarType.FLOAT:if(e===null)return 0;if(e===`NaN`)return NaN;if(e===`Infinity`)return 1/0;if(e===`-Infinity`)return-1/0;if(e===``){l=`empty string`;break}if(typeof e==`string`&&e.trim().length!==e.length){l=`extra whitespace`;break}if(typeof e!=`string`&&typeof e!=`number`)break;let c=Number(e);if(Number.isNaN(c)){l=`not a number`;break}if(!Number.isFinite(c)){l=`too large or small`;break}return t==r.ScalarType.FLOAT&&a.assertFloat32(c),c;case r.ScalarType.INT32:case r.ScalarType.FIXED32:case r.ScalarType.SFIXED32:case r.ScalarType.SINT32:case r.ScalarType.UINT32:if(e===null)return 0;let u;if(typeof e==`number`?u=e:e===``?l=`empty string`:typeof e==`string`&&(e.trim().length===e.length?u=Number(e):l=`extra whitespace`),u===void 0)break;return t==r.ScalarType.UINT32?a.assertUInt32(u):a.assertInt32(u),u;case r.ScalarType.INT64:case r.ScalarType.SFIXED64:case r.ScalarType.SINT64:if(e===null)return o.reflectionLongConvert(i.PbLong.ZERO,s);if(typeof e!=`number`&&typeof e!=`string`)break;return o.reflectionLongConvert(i.PbLong.from(e),s);case r.ScalarType.FIXED64:case r.ScalarType.UINT64:if(e===null)return o.reflectionLongConvert(i.PbULong.ZERO,s);if(typeof e!=`number`&&typeof e!=`string`)break;return o.reflectionLongConvert(i.PbULong.from(e),s);case r.ScalarType.BOOL:if(e===null)return!1;if(typeof e!=`boolean`)break;return e;case r.ScalarType.STRING:if(e===null)return``;if(typeof e!=`string`){l=`extra whitespace`;break}return e;case r.ScalarType.BYTES:if(e===null||e===``)return new Uint8Array;if(typeof e!=`string`)break;return n.base64decode(e)}}catch(e){l=e.message}this.assert(!1,c+(l?` - `+l:``),e)}}})),nN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionJsonWriter=void 0;let t=BM(),n=WM(),r=ZM(),i=KM();e.ReflectionJsonWriter=class{constructor(e){this.fields=e.fields??[]}write(e,t){let n={},r=e;for(let e of this.fields){if(!e.oneof){let i=this.field(e,r[e.localName],t);i!==void 0&&(n[t.useProtoFieldName?e.name:e.jsonName]=i);continue}let a=r[e.oneof];if(a.oneofKind!==e.localName)continue;let o=e.kind==`scalar`||e.kind==`enum`?Object.assign(Object.assign({},t),{emitDefaultValues:!0}):t,s=this.field(e,a[e.localName],o);i.assert(s!==void 0),n[t.useProtoFieldName?e.name:e.jsonName]=s}return n}field(e,t,n){let r;if(e.kind==`map`){i.assert(typeof t==`object`&&!!t);let a={};switch(e.V.kind){case`scalar`:for(let[n,r]of Object.entries(t)){let t=this.scalar(e.V.T,r,e.name,!1,!0);i.assert(t!==void 0),a[n.toString()]=t}break;case`message`:let r=e.V.T();for(let[o,s]of Object.entries(t)){let t=this.message(r,s,e.name,n);i.assert(t!==void 0),a[o.toString()]=t}break;case`enum`:let o=e.V.T();for(let[r,s]of Object.entries(t)){i.assert(s===void 0||typeof s==`number`);let t=this.enum(o,s,e.name,!1,!0,n.enumAsInteger);i.assert(t!==void 0),a[r.toString()]=t}break}(n.emitDefaultValues||Object.keys(a).length>0)&&(r=a)}else if(e.repeat){i.assert(Array.isArray(t));let a=[];switch(e.kind){case`scalar`:for(let n=0;n0||n.emitDefaultValues)&&(r=a)}else switch(e.kind){case`scalar`:r=this.scalar(e.T,t,e.name,e.opt,n.emitDefaultValues);break;case`enum`:r=this.enum(e.T(),t,e.name,e.opt,n.emitDefaultValues,n.enumAsInteger);break;case`message`:r=this.message(e.T(),t,e.name,n);break}return r}enum(e,t,n,r,a,o){if(e[0]==`google.protobuf.NullValue`)return!a&&!r?void 0:null;if(t===void 0){i.assert(r);return}if(!(t===0&&!a&&!r))return i.assert(typeof t==`number`),i.assert(Number.isInteger(t)),o||!e[1].hasOwnProperty(t)?t:e[2]?e[2]+e[1][t]:e[1][t]}message(e,t,n,r){return t===void 0?r.emitDefaultValues?null:void 0:e.internalJsonWrite(t,r)}scalar(e,a,o,s,c){if(a===void 0){i.assert(s);return}let l=c||s;switch(e){case r.ScalarType.INT32:case r.ScalarType.SFIXED32:case r.ScalarType.SINT32:return a===0?l?0:void 0:(i.assertInt32(a),a);case r.ScalarType.FIXED32:case r.ScalarType.UINT32:return a===0?l?0:void 0:(i.assertUInt32(a),a);case r.ScalarType.FLOAT:i.assertFloat32(a);case r.ScalarType.DOUBLE:return a===0?l?0:void 0:(i.assert(typeof a==`number`),Number.isNaN(a)?`NaN`:a===1/0?`Infinity`:a===-1/0?`-Infinity`:a);case r.ScalarType.STRING:return a===``?l?``:void 0:(i.assert(typeof a==`string`),a);case r.ScalarType.BOOL:return a===!1?l?!1:void 0:(i.assert(typeof a==`boolean`),a);case r.ScalarType.UINT64:case r.ScalarType.FIXED64:i.assert(typeof a==`number`||typeof a==`string`||typeof a==`bigint`);let e=n.PbULong.from(a);return e.isZero()&&!l?void 0:e.toString();case r.ScalarType.INT64:case r.ScalarType.SFIXED64:case r.ScalarType.SINT64:i.assert(typeof a==`number`||typeof a==`string`||typeof a==`bigint`);let o=n.PbLong.from(a);return o.isZero()&&!l?void 0:o.toString();case r.ScalarType.BYTES:return i.assert(a instanceof Uint8Array),a.byteLength?t.base64encode(a):l?``:void 0}}}})),rN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionScalarDefault=void 0;let t=ZM(),n=eN(),r=WM();function i(e,i=t.LongType.STRING){switch(e){case t.ScalarType.BOOL:return!1;case t.ScalarType.UINT64:case t.ScalarType.FIXED64:return n.reflectionLongConvert(r.PbULong.ZERO,i);case t.ScalarType.INT64:case t.ScalarType.SFIXED64:case t.ScalarType.SINT64:return n.reflectionLongConvert(r.PbLong.ZERO,i);case t.ScalarType.DOUBLE:case t.ScalarType.FLOAT:return 0;case t.ScalarType.BYTES:return new Uint8Array;case t.ScalarType.STRING:return``;default:return 0}}e.reflectionScalarDefault=i})),iN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionBinaryReader=void 0;let t=HM(),n=ZM(),r=eN(),i=rN();e.ReflectionBinaryReader=class{constructor(e){this.info=e}prepare(){if(!this.fieldNoToField){let e=this.info.fields??[];this.fieldNoToField=new Map(e.map(e=>[e.no,e]))}}read(e,r,i,a){this.prepare();let o=a===void 0?e.len:e.pos+a;for(;e.pos{Object.defineProperty(e,`__esModule`,{value:!0}),e.ReflectionBinaryWriter=void 0;let t=HM(),n=ZM(),r=KM(),i=WM();e.ReflectionBinaryWriter=class{constructor(e){this.info=e}prepare(){if(!this.fields){let e=this.info.fields?this.info.fields.concat():[];this.fields=e.sort((e,t)=>e.no-t.no)}}write(e,i,a){this.prepare();for(let t of this.fields){let o,s,c=t.repeat,l=t.localName;if(t.oneof){let n=e[t.oneof];if(n.oneofKind!==l)continue;o=n[l],s=!0}else o=e[l],s=!1;switch(t.kind){case`scalar`:case`enum`:let e=t.kind==`enum`?n.ScalarType.INT32:t.T;if(c)if(r.assert(Array.isArray(o)),c==n.RepeatType.PACKED)this.packed(i,e,t.no,o);else for(let n of o)this.scalar(i,e,t.no,n,!0);else o===void 0?r.assert(t.opt):this.scalar(i,e,t.no,o,s||t.opt);break;case`message`:if(c){r.assert(Array.isArray(o));for(let e of o)this.message(i,a,t.T(),t.no,e)}else this.message(i,a,t.T(),t.no,o);break;case`map`:r.assert(typeof o==`object`&&!!o);for(let[e,n]of Object.entries(o))this.mapEntry(i,a,t,e,n);break}}let o=a.writeUnknownFields;o!==!1&&(o===!0?t.UnknownFieldHandler.onWrite:o)(this.info.typeName,e,i)}mapEntry(e,i,a,o,s){e.tag(a.no,t.WireType.LengthDelimited),e.fork();let c=o;switch(a.K){case n.ScalarType.INT32:case n.ScalarType.FIXED32:case n.ScalarType.UINT32:case n.ScalarType.SFIXED32:case n.ScalarType.SINT32:c=Number.parseInt(o);break;case n.ScalarType.BOOL:r.assert(o==`true`||o==`false`),c=o==`true`;break}switch(this.scalar(e,a.K,1,c,!0),a.V.kind){case`scalar`:this.scalar(e,a.V.T,2,s,!0);break;case`enum`:this.scalar(e,n.ScalarType.INT32,2,s,!0);break;case`message`:this.message(e,i,a.V.T(),2,s);break}e.join()}message(e,n,r,i,a){a!==void 0&&(r.internalBinaryWrite(a,e.tag(i,t.WireType.LengthDelimited).fork(),n),e.join())}scalar(e,t,n,r,i){let[a,o,s]=this.scalarInfo(t,r);(!s||i)&&(e.tag(n,a),e[o](r))}packed(e,i,a,o){if(!o.length)return;r.assert(i!==n.ScalarType.BYTES&&i!==n.ScalarType.STRING),e.tag(a,t.WireType.LengthDelimited),e.fork();let[,s]=this.scalarInfo(i);for(let t=0;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionCreate=void 0;let t=rN(),n=YM();function r(e){let r=e.messagePrototype?Object.create(e.messagePrototype):Object.defineProperty({},n.MESSAGE_TYPE,{value:e});for(let n of e.fields){let e=n.localName;if(!n.opt)if(n.oneof)r[n.oneof]={oneofKind:void 0};else if(n.repeat)r[e]=[];else switch(n.kind){case`scalar`:r[e]=t.reflectionScalarDefault(n.T,n.L);break;case`enum`:r[e]=0;break;case`map`:r[e]={};break}}return r}e.reflectionCreate=r})),sN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionMergePartial=void 0;function t(e,t,n){let r,i=n,a;for(let n of e.fields){let e=n.localName;if(n.oneof){let o=i[n.oneof];if(o?.oneofKind==null)continue;if(r=o[e],a=t[n.oneof],a.oneofKind=o.oneofKind,r==null){delete a[e];continue}}else if(r=i[e],a=t,r==null)continue;switch(n.repeat&&(a[e].length=r.length),n.kind){case`scalar`:case`enum`:if(n.repeat)for(let t=0;t{Object.defineProperty(e,`__esModule`,{value:!0}),e.reflectionEquals=void 0;let t=ZM();function n(e,n,s){if(n===s)return!0;if(!n||!s)return!1;for(let c of e.fields){let e=c.localName,l=c.oneof?n[c.oneof][e]:n[e],u=c.oneof?s[c.oneof][e]:s[e];switch(c.kind){case`enum`:case`scalar`:let e=c.kind==`enum`?t.ScalarType.INT32:c.T;if(!(c.repeat?a(e,l,u):i(e,l,u)))return!1;break;case`map`:if(!(c.V.kind==`message`?o(c.V.T(),r(l),r(u)):a(c.V.kind==`enum`?t.ScalarType.INT32:c.V.T,r(l),r(u))))return!1;break;case`message`:let n=c.T();if(!(c.repeat?o(n,l,u):n.equals(l,u)))return!1;break}}return!0}e.reflectionEquals=n;let r=Object.values;function i(e,n,r){if(n===r)return!0;if(e!==t.ScalarType.BYTES)return!1;let i=n,a=r;if(i.length!==a.length)return!1;for(let e=0;e{Object.defineProperty(e,`__esModule`,{value:!0}),e.MessageType=void 0;let t=YM(),n=ZM(),r=$M(),i=tN(),a=nN(),o=iN(),s=aN(),c=oN(),l=sN(),u=zM(),d=JM(),f=cN(),p=qM(),m=GM(),h=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({})),g=h[t.MESSAGE_TYPE]={};e.MessageType=class{constructor(e,t,c){this.defaultCheckDepth=16,this.typeName=e,this.fields=t.map(n.normalizeFieldInfo),this.options=c??{},g.value=this,this.messagePrototype=Object.create(null,h),this.refTypeCheck=new r.ReflectionTypeCheck(this),this.refJsonReader=new i.ReflectionJsonReader(this),this.refJsonWriter=new a.ReflectionJsonWriter(this),this.refBinReader=new o.ReflectionBinaryReader(this),this.refBinWriter=new s.ReflectionBinaryWriter(this)}create(e){let t=c.reflectionCreate(this);return e!==void 0&&l.reflectionMergePartial(this,t,e),t}clone(e){let t=this.create();return l.reflectionMergePartial(this,t,e),t}equals(e,t){return f.reflectionEquals(this,e,t)}is(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!1)}isAssignable(e,t=this.defaultCheckDepth){return this.refTypeCheck.is(e,t,!0)}mergePartial(e,t){l.reflectionMergePartial(this,e,t)}fromBinary(e,t){let n=m.binaryReadOptions(t);return this.internalBinaryRead(n.readerFactory(e),e.byteLength,n)}fromJson(e,t){return this.internalJsonRead(e,d.jsonReadOptions(t))}fromJsonString(e,t){let n=JSON.parse(e);return this.fromJson(n,t)}toJson(e,t){return this.internalJsonWrite(e,d.jsonWriteOptions(t))}toJsonString(e,t){let n=this.toJson(e,t);return JSON.stringify(n,null,t?.prettySpaces??0)}toBinary(e,t){let n=p.binaryWriteOptions(t);return this.internalBinaryWrite(e,n.writerFactory(),n).finish()}internalJsonRead(e,t,n){if(typeof e==`object`&&e&&!Array.isArray(e)){let r=n??this.create();return this.refJsonReader.read(e,r,t),r}throw Error(`Unable to parse message ${this.typeName} from JSON ${u.typeofJsonValue(e)}.`)}internalJsonWrite(e,t){return this.refJsonWriter.write(e,t)}internalBinaryWrite(e,t,n){return this.refBinWriter.write(e,t,n),t}internalBinaryRead(e,t,n,r){let i=r??this.create();return this.refBinReader.read(e,i,n,t),i}}})),uN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.containsMessageType=void 0;let t=YM();function n(e){return e[t.MESSAGE_TYPE]!=null}e.containsMessageType=n})),dN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.listEnumNumbers=e.listEnumNames=e.listEnumValues=e.isEnumObject=void 0;function t(e){if(typeof e!=`object`||!e||!e.hasOwnProperty(0))return!1;for(let t of Object.keys(e)){let n=parseInt(t);if(Number.isNaN(n)){let n=e[t];if(n===void 0||typeof n!=`number`||e[n]===void 0)return!1}else{let t=e[n];if(t===void 0||e[t]!==n)return!1}}return!0}e.isEnumObject=t;function n(e){if(!t(e))throw Error(`not a typescript enum object`);let n=[];for(let[t,r]of Object.entries(e))typeof r==`number`&&n.push({name:t,number:r});return n}e.listEnumValues=n;function r(e){return n(e).map(e=>e.name)}e.listEnumNames=r;function i(e){return n(e).map(e=>e.number).filter((e,t,n)=>n.indexOf(e)==t)}e.listEnumNumbers=i})),fN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=zM();Object.defineProperty(e,`typeofJsonValue`,{enumerable:!0,get:function(){return t.typeofJsonValue}}),Object.defineProperty(e,`isJsonObject`,{enumerable:!0,get:function(){return t.isJsonObject}});var n=BM();Object.defineProperty(e,`base64decode`,{enumerable:!0,get:function(){return n.base64decode}}),Object.defineProperty(e,`base64encode`,{enumerable:!0,get:function(){return n.base64encode}});var r=VM();Object.defineProperty(e,`utf8read`,{enumerable:!0,get:function(){return r.utf8read}});var i=HM();Object.defineProperty(e,`WireType`,{enumerable:!0,get:function(){return i.WireType}}),Object.defineProperty(e,`mergeBinaryOptions`,{enumerable:!0,get:function(){return i.mergeBinaryOptions}}),Object.defineProperty(e,`UnknownFieldHandler`,{enumerable:!0,get:function(){return i.UnknownFieldHandler}});var a=GM();Object.defineProperty(e,`BinaryReader`,{enumerable:!0,get:function(){return a.BinaryReader}}),Object.defineProperty(e,`binaryReadOptions`,{enumerable:!0,get:function(){return a.binaryReadOptions}});var o=qM();Object.defineProperty(e,`BinaryWriter`,{enumerable:!0,get:function(){return o.BinaryWriter}}),Object.defineProperty(e,`binaryWriteOptions`,{enumerable:!0,get:function(){return o.binaryWriteOptions}});var s=WM();Object.defineProperty(e,`PbLong`,{enumerable:!0,get:function(){return s.PbLong}}),Object.defineProperty(e,`PbULong`,{enumerable:!0,get:function(){return s.PbULong}});var c=JM();Object.defineProperty(e,`jsonReadOptions`,{enumerable:!0,get:function(){return c.jsonReadOptions}}),Object.defineProperty(e,`jsonWriteOptions`,{enumerable:!0,get:function(){return c.jsonWriteOptions}}),Object.defineProperty(e,`mergeJsonOptions`,{enumerable:!0,get:function(){return c.mergeJsonOptions}});var l=YM();Object.defineProperty(e,`MESSAGE_TYPE`,{enumerable:!0,get:function(){return l.MESSAGE_TYPE}});var u=lN();Object.defineProperty(e,`MessageType`,{enumerable:!0,get:function(){return u.MessageType}});var d=ZM();Object.defineProperty(e,`ScalarType`,{enumerable:!0,get:function(){return d.ScalarType}}),Object.defineProperty(e,`LongType`,{enumerable:!0,get:function(){return d.LongType}}),Object.defineProperty(e,`RepeatType`,{enumerable:!0,get:function(){return d.RepeatType}}),Object.defineProperty(e,`normalizeFieldInfo`,{enumerable:!0,get:function(){return d.normalizeFieldInfo}}),Object.defineProperty(e,`readFieldOptions`,{enumerable:!0,get:function(){return d.readFieldOptions}}),Object.defineProperty(e,`readFieldOption`,{enumerable:!0,get:function(){return d.readFieldOption}}),Object.defineProperty(e,`readMessageOption`,{enumerable:!0,get:function(){return d.readMessageOption}});var f=$M();Object.defineProperty(e,`ReflectionTypeCheck`,{enumerable:!0,get:function(){return f.ReflectionTypeCheck}});var p=oN();Object.defineProperty(e,`reflectionCreate`,{enumerable:!0,get:function(){return p.reflectionCreate}});var m=rN();Object.defineProperty(e,`reflectionScalarDefault`,{enumerable:!0,get:function(){return m.reflectionScalarDefault}});var h=sN();Object.defineProperty(e,`reflectionMergePartial`,{enumerable:!0,get:function(){return h.reflectionMergePartial}});var g=cN();Object.defineProperty(e,`reflectionEquals`,{enumerable:!0,get:function(){return g.reflectionEquals}});var _=iN();Object.defineProperty(e,`ReflectionBinaryReader`,{enumerable:!0,get:function(){return _.ReflectionBinaryReader}});var v=aN();Object.defineProperty(e,`ReflectionBinaryWriter`,{enumerable:!0,get:function(){return v.ReflectionBinaryWriter}});var y=tN();Object.defineProperty(e,`ReflectionJsonReader`,{enumerable:!0,get:function(){return y.ReflectionJsonReader}});var b=nN();Object.defineProperty(e,`ReflectionJsonWriter`,{enumerable:!0,get:function(){return b.ReflectionJsonWriter}});var x=uN();Object.defineProperty(e,`containsMessageType`,{enumerable:!0,get:function(){return x.containsMessageType}});var S=QM();Object.defineProperty(e,`isOneofGroup`,{enumerable:!0,get:function(){return S.isOneofGroup}}),Object.defineProperty(e,`setOneofValue`,{enumerable:!0,get:function(){return S.setOneofValue}}),Object.defineProperty(e,`getOneofValue`,{enumerable:!0,get:function(){return S.getOneofValue}}),Object.defineProperty(e,`clearOneofValue`,{enumerable:!0,get:function(){return S.clearOneofValue}}),Object.defineProperty(e,`getSelectedOneofValue`,{enumerable:!0,get:function(){return S.getSelectedOneofValue}});var C=dN();Object.defineProperty(e,`listEnumValues`,{enumerable:!0,get:function(){return C.listEnumValues}}),Object.defineProperty(e,`listEnumNames`,{enumerable:!0,get:function(){return C.listEnumNames}}),Object.defineProperty(e,`listEnumNumbers`,{enumerable:!0,get:function(){return C.listEnumNumbers}}),Object.defineProperty(e,`isEnumObject`,{enumerable:!0,get:function(){return C.isEnumObject}});var w=XM();Object.defineProperty(e,`lowerCamelCase`,{enumerable:!0,get:function(){return w.lowerCamelCase}});var T=KM();Object.defineProperty(e,`assert`,{enumerable:!0,get:function(){return T.assert}}),Object.defineProperty(e,`assertNever`,{enumerable:!0,get:function(){return T.assertNever}}),Object.defineProperty(e,`assertInt32`,{enumerable:!0,get:function(){return T.assertInt32}}),Object.defineProperty(e,`assertUInt32`,{enumerable:!0,get:function(){return T.assertUInt32}}),Object.defineProperty(e,`assertFloat32`,{enumerable:!0,get:function(){return T.assertFloat32}})})),pN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.readServiceOption=e.readMethodOption=e.readMethodOptions=e.normalizeMethodInfo=void 0;let t=fN();function n(e,n){let r=e;return r.service=n,r.localName=r.localName??t.lowerCamelCase(r.name),r.serverStreaming=!!r.serverStreaming,r.clientStreaming=!!r.clientStreaming,r.options=r.options??{},r.idempotency=r.idempotency??void 0,r}e.normalizeMethodInfo=n;function r(e,t,n,r){let i=e.methods.find((e,n)=>e.localName===t||n===t)?.options;return i&&i[n]?r.fromJson(i[n]):void 0}e.readMethodOptions=r;function i(e,t,n,r){let i=e.methods.find((e,n)=>e.localName===t||n===t)?.options;if(!i)return;let a=i[n];return a===void 0?a:r?r.fromJson(a):a}e.readMethodOption=i;function a(e,t,n){let r=e.options;if(!r)return;let i=r[t];return i===void 0?i:n?n.fromJson(i):i}e.readServiceOption=a})),mN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ServiceType=void 0;let t=pN();e.ServiceType=class{constructor(e,n,r){this.typeName=e,this.methods=n.map(e=>t.normalizeMethodInfo(e,this)),this.options=r??{}}}})),hN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.RpcError=void 0,e.RpcError=class extends Error{constructor(e,t=`UNKNOWN`,n){super(e),this.name=`RpcError`,Object.setPrototypeOf(this,new.target.prototype),this.code=t,this.meta=n??{}}toString(){let e=[this.name+`: `+this.message];this.code&&(e.push(``),e.push(`Code: `+this.code)),this.serviceName&&this.methodName&&e.push(`Method: `+this.serviceName+`/`+this.methodName);let t=Object.entries(this.meta);if(t.length){e.push(``),e.push(`Meta:`);for(let[n,r]of t)e.push(` ${n}: ${r}`)}return e.join(` +`)}}})),gN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.mergeRpcOptions=void 0;let t=fN();function n(e,n){if(!n)return e;let i={};r(e,i),r(n,i);for(let a of Object.keys(n)){let o=n[a];switch(a){case`jsonOptions`:i.jsonOptions=t.mergeJsonOptions(e.jsonOptions,i.jsonOptions);break;case`binaryOptions`:i.binaryOptions=t.mergeBinaryOptions(e.binaryOptions,i.binaryOptions);break;case`meta`:i.meta={},r(e.meta,i.meta),r(n.meta,i.meta);break;case`interceptors`:i.interceptors=e.interceptors?e.interceptors.concat(o):o.concat();break}}return i}e.mergeRpcOptions=n;function r(e,t){if(!e)return;let n=t;for(let[t,r]of Object.entries(e))r instanceof Date?n[t]=new Date(r.getTime()):Array.isArray(r)?n[t]=r.concat():n[t]=r}})),_N=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.Deferred=e.DeferredState=void 0;var t;(function(e){e[e.PENDING=0]=`PENDING`,e[e.REJECTED=1]=`REJECTED`,e[e.RESOLVED=2]=`RESOLVED`})(t=e.DeferredState||={}),e.Deferred=class{constructor(e=!0){this._state=t.PENDING,this._promise=new Promise((e,t)=>{this._resolve=e,this._reject=t}),e&&this._promise.catch(e=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==t.PENDING)throw Error(`cannot resolve ${t[this.state].toLowerCase()}`);this._resolve(e),this._state=t.RESOLVED}reject(e){if(this.state!==t.PENDING)throw Error(`cannot reject ${t[this.state].toLowerCase()}`);this._reject(e),this._state=t.REJECTED}resolvePending(e){this._state===t.PENDING&&this.resolve(e)}rejectPending(e){this._state===t.PENDING&&this.reject(e)}}})),vN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.RpcOutputStreamController=void 0;let t=_N(),n=fN();e.RpcOutputStreamController=class{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]},this._closed=!1,this._itState={q:[]}}onNext(e){return this.addLis(e,this._lis.nxt)}onMessage(e){return this.addLis(e,this._lis.msg)}onError(e){return this.addLis(e,this._lis.err)}onComplete(e){return this.addLis(e,this._lis.cmp)}addLis(e,t){return t.push(e),()=>{let n=t.indexOf(e);n>=0&&t.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,t,r){n.assert(+!!e+ +!!t+ +!!r<=1,`only one emission at a time`),e&&this.notifyMessage(e),t&&this.notifyError(t),r&&this.notifyComplete()}notifyMessage(e){n.assert(!this.closed,`stream is closed`),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(t=>t(e)),this._lis.nxt.forEach(t=>t(e,void 0,!1))}notifyError(e){n.assert(!this.closed,`stream is closed`),this._closed=e,this.pushIt(e),this._lis.err.forEach(t=>t(e)),this._lis.nxt.forEach(t=>t(void 0,e,!1)),this.clearLis()}notifyComplete(){n.assert(!this.closed,`stream is closed`),this._closed=!0,this.pushIt({value:null,done:!0}),this._lis.cmp.forEach(e=>e()),this._lis.nxt.forEach(e=>e(void 0,void 0,!0)),this.clearLis()}[Symbol.asyncIterator](){return this._closed===!0?this.pushIt({value:null,done:!0}):this._closed!==!1&&this.pushIt(this._closed),{next:()=>{let e=this._itState;n.assert(e,`bad state`),n.assert(!e.p,`iterator contract broken`);let r=e.q.shift();return r?`value`in r?Promise.resolve(r):Promise.reject(r):(e.p=new t.Deferred,e.p.promise)}}}pushIt(e){let r=this._itState;if(r.p){let i=r.p;n.assert(i.state==t.DeferredState.PENDING,`iterator contract broken`),`value`in e?i.resolve(e):i.reject(e),delete r.p}else r.q.push(e)}}})),yN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.UnaryCall=void 0,e.UnaryCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.request=n,this.headers=r,this.response=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:t,status:n,trailers:r}})}}})),bN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.ServerStreamingCall=void 0,e.ServerStreamingCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.request=n,this.headers=r,this.responses=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,status:t,trailers:n}})}}})),xN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.ClientStreamingCall=void 0,e.ClientStreamingCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.requests=n,this.headers=r,this.response=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n,r]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,response:t,status:n,trailers:r}})}}})),SN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.DuplexStreamingCall=void 0,e.DuplexStreamingCall=class{constructor(e,t,n,r,i,a,o){this.method=e,this.requestHeaders=t,this.requests=n,this.headers=r,this.responses=i,this.status=a,this.trailers=o}then(e,t){return this.promiseFinished().then(t=>e?Promise.resolve(e(t)):t,e=>t?Promise.resolve(t(e)):Promise.reject(e))}promiseFinished(){return t(this,void 0,void 0,function*(){let[e,t,n]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:e,status:t,trailers:n}})}}})),CN=P((e=>{var t=e&&e.__awaiter||function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};Object.defineProperty(e,`__esModule`,{value:!0}),e.TestTransport=void 0;let n=hN(),r=fN(),i=vN(),a=gN(),o=yN(),s=bN(),c=xN(),l=SN();var u=class e{constructor(e){this.suppressUncaughtRejections=!0,this.headerDelay=10,this.responseDelay=50,this.betweenResponseDelay=10,this.afterResponseDelay=10,this.data=e??{}}get sentMessages(){return this.lastInput instanceof f?this.lastInput.sent:typeof this.lastInput==`object`?[this.lastInput.single]:[]}get sendComplete(){return this.lastInput instanceof f?this.lastInput.completed:typeof this.lastInput==`object`}promiseHeaders(){let t=this.data.headers??e.defaultHeaders;return t instanceof n.RpcError?Promise.reject(t):Promise.resolve(t)}promiseSingleResponse(e){if(this.data.response instanceof n.RpcError)return Promise.reject(this.data.response);let t;return Array.isArray(this.data.response)?(r.assert(this.data.response.length>0),t=this.data.response[0]):t=this.data.response===void 0?e.O.create():this.data.response,r.assert(e.O.is(t)),Promise.resolve(t)}streamResponses(e,i,a){return t(this,void 0,void 0,function*(){let t=[];if(this.data.response===void 0)t.push(e.O.create());else if(Array.isArray(this.data.response))for(let n of this.data.response)r.assert(e.O.is(n)),t.push(n);else this.data.response instanceof n.RpcError||(r.assert(e.O.is(this.data.response)),t.push(this.data.response));try{yield d(this.responseDelay,a)(void 0)}catch(e){i.notifyError(e);return}if(this.data.response instanceof n.RpcError){i.notifyError(this.data.response);return}for(let e of t){i.notifyMessage(e);try{yield d(this.betweenResponseDelay,a)(void 0)}catch(e){i.notifyError(e);return}}if(this.data.status instanceof n.RpcError){i.notifyError(this.data.status);return}if(this.data.trailers instanceof n.RpcError){i.notifyError(this.data.trailers);return}i.notifyComplete()})}promiseStatus(){let t=this.data.status??e.defaultStatus;return t instanceof n.RpcError?Promise.reject(t):Promise.resolve(t)}promiseTrailers(){let t=this.data.trailers??e.defaultTrailers;return t instanceof n.RpcError?Promise.reject(t):Promise.resolve(t)}maybeSuppressUncaught(...e){if(this.suppressUncaughtRejections)for(let t of e)t.catch(()=>{})}mergeOptions(e){return a.mergeRpcOptions({},e)}unary(e,t,n){let r=n.meta??{},i=this.promiseHeaders().then(d(this.headerDelay,n.abort)),a=i.catch(e=>{}).then(d(this.responseDelay,n.abort)).then(t=>this.promiseSingleResponse(e)),s=a.catch(e=>{}).then(d(this.afterResponseDelay,n.abort)).then(e=>this.promiseStatus()),c=a.catch(e=>{}).then(d(this.afterResponseDelay,n.abort)).then(e=>this.promiseTrailers());return this.maybeSuppressUncaught(s,c),this.lastInput={single:t},new o.UnaryCall(e,r,t,i,a,s,c)}serverStreaming(e,t,n){let r=n.meta??{},a=this.promiseHeaders().then(d(this.headerDelay,n.abort)),o=new i.RpcOutputStreamController,c=a.then(d(this.responseDelay,n.abort)).catch(()=>{}).then(()=>this.streamResponses(e,o,n.abort)).then(d(this.afterResponseDelay,n.abort)),l=c.then(()=>this.promiseStatus()),u=c.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(l,u),this.lastInput={single:t},new s.ServerStreamingCall(e,r,t,a,o,l,u)}clientStreaming(e,t){let n=t.meta??{},r=this.promiseHeaders().then(d(this.headerDelay,t.abort)),i=r.catch(e=>{}).then(d(this.responseDelay,t.abort)).then(t=>this.promiseSingleResponse(e)),a=i.catch(e=>{}).then(d(this.afterResponseDelay,t.abort)).then(e=>this.promiseStatus()),o=i.catch(e=>{}).then(d(this.afterResponseDelay,t.abort)).then(e=>this.promiseTrailers());return this.maybeSuppressUncaught(a,o),this.lastInput=new f(this.data,t.abort),new c.ClientStreamingCall(e,n,this.lastInput,r,i,a,o)}duplex(e,t){let n=t.meta??{},r=this.promiseHeaders().then(d(this.headerDelay,t.abort)),a=new i.RpcOutputStreamController,o=r.then(d(this.responseDelay,t.abort)).catch(()=>{}).then(()=>this.streamResponses(e,a,t.abort)).then(d(this.afterResponseDelay,t.abort)),s=o.then(()=>this.promiseStatus()),c=o.then(()=>this.promiseTrailers());return this.maybeSuppressUncaught(s,c),this.lastInput=new f(this.data,t.abort),new l.DuplexStreamingCall(e,n,this.lastInput,r,a,s,c)}};e.TestTransport=u,u.defaultHeaders={responseHeader:`test`},u.defaultStatus={code:`OK`,detail:`all good`},u.defaultTrailers={responseTrailer:`test`};function d(e,t){return r=>new Promise((i,a)=>{if(t?.aborted)a(new n.RpcError(`user cancel`,`CANCELLED`));else{let o=setTimeout(()=>i(r),e);t&&t.addEventListener(`abort`,e=>{clearTimeout(o),a(new n.RpcError(`user cancel`,`CANCELLED`))})}})}var f=class{constructor(e,t){this._completed=!1,this._sent=[],this.data=e,this.abort=t}get sent(){return this._sent}get completed(){return this._completed}send(e){if(this.data.inputMessage instanceof n.RpcError)return Promise.reject(this.data.inputMessage);let t=this.data.inputMessage===void 0?10:this.data.inputMessage;return Promise.resolve(void 0).then(()=>{this._sent.push(e)}).then(d(t,this.abort))}complete(){if(this.data.inputComplete instanceof n.RpcError)return Promise.reject(this.data.inputComplete);let e=this.data.inputComplete===void 0?10:this.data.inputComplete;return Promise.resolve(void 0).then(()=>{this._completed=!0}).then(d(e,this.abort))}}})),wN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.stackDuplexStreamingInterceptors=e.stackClientStreamingInterceptors=e.stackServerStreamingInterceptors=e.stackUnaryInterceptors=e.stackIntercept=void 0;let t=fN();function n(e,n,r,i,a){if(e==`unary`){let e=(e,t,r)=>n.unary(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptUnary).reverse()){let n=e;e=(e,r,i)=>t.interceptUnary(n,e,r,i)}return e(r,a,i)}if(e==`serverStreaming`){let e=(e,t,r)=>n.serverStreaming(e,t,r);for(let t of(i.interceptors??[]).filter(e=>e.interceptServerStreaming).reverse()){let n=e;e=(e,r,i)=>t.interceptServerStreaming(n,e,r,i)}return e(r,a,i)}if(e==`clientStreaming`){let e=(e,t)=>n.clientStreaming(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptClientStreaming).reverse()){let n=e;e=(e,r)=>t.interceptClientStreaming(n,e,r)}return e(r,i)}if(e==`duplex`){let e=(e,t)=>n.duplex(e,t);for(let t of(i.interceptors??[]).filter(e=>e.interceptDuplex).reverse()){let n=e;e=(e,r)=>t.interceptDuplex(n,e,r)}return e(r,i)}t.assertNever(e)}e.stackIntercept=n;function r(e,t,r,i){return n(`unary`,e,t,i,r)}e.stackUnaryInterceptors=r;function i(e,t,r,i){return n(`serverStreaming`,e,t,i,r)}e.stackServerStreamingInterceptors=i;function a(e,t,r){return n(`clientStreaming`,e,t,r)}e.stackClientStreamingInterceptors=a;function o(e,t,r){return n(`duplex`,e,t,r)}e.stackDuplexStreamingInterceptors=o})),TN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ServerCallContextController=void 0,e.ServerCallContextController=class{constructor(e,t,n,r,i={code:`OK`,detail:``}){this._cancelled=!1,this._listeners=[],this.method=e,this.headers=t,this.deadline=n,this.trailers={},this._sendRH=r,this.status=i}notifyCancelled(){if(!this._cancelled){this._cancelled=!0;for(let e of this._listeners)e()}}sendResponseHeaders(e){this._sendRH(e)}get cancelled(){return this._cancelled}onCancel(e){let t=this._listeners;return t.push(e),()=>{let n=t.indexOf(e);n>=0&&t.splice(n,1)}}}})),EN=P((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=mN();Object.defineProperty(e,`ServiceType`,{enumerable:!0,get:function(){return t.ServiceType}});var n=pN();Object.defineProperty(e,`readMethodOptions`,{enumerable:!0,get:function(){return n.readMethodOptions}}),Object.defineProperty(e,`readMethodOption`,{enumerable:!0,get:function(){return n.readMethodOption}}),Object.defineProperty(e,`readServiceOption`,{enumerable:!0,get:function(){return n.readServiceOption}});var r=hN();Object.defineProperty(e,`RpcError`,{enumerable:!0,get:function(){return r.RpcError}});var i=gN();Object.defineProperty(e,`mergeRpcOptions`,{enumerable:!0,get:function(){return i.mergeRpcOptions}});var a=vN();Object.defineProperty(e,`RpcOutputStreamController`,{enumerable:!0,get:function(){return a.RpcOutputStreamController}});var o=CN();Object.defineProperty(e,`TestTransport`,{enumerable:!0,get:function(){return o.TestTransport}});var s=_N();Object.defineProperty(e,`Deferred`,{enumerable:!0,get:function(){return s.Deferred}}),Object.defineProperty(e,`DeferredState`,{enumerable:!0,get:function(){return s.DeferredState}});var c=SN();Object.defineProperty(e,`DuplexStreamingCall`,{enumerable:!0,get:function(){return c.DuplexStreamingCall}});var l=xN();Object.defineProperty(e,`ClientStreamingCall`,{enumerable:!0,get:function(){return l.ClientStreamingCall}});var u=bN();Object.defineProperty(e,`ServerStreamingCall`,{enumerable:!0,get:function(){return u.ServerStreamingCall}});var d=yN();Object.defineProperty(e,`UnaryCall`,{enumerable:!0,get:function(){return d.UnaryCall}});var f=wN();Object.defineProperty(e,`stackIntercept`,{enumerable:!0,get:function(){return f.stackIntercept}}),Object.defineProperty(e,`stackDuplexStreamingInterceptors`,{enumerable:!0,get:function(){return f.stackDuplexStreamingInterceptors}}),Object.defineProperty(e,`stackClientStreamingInterceptors`,{enumerable:!0,get:function(){return f.stackClientStreamingInterceptors}}),Object.defineProperty(e,`stackServerStreamingInterceptors`,{enumerable:!0,get:function(){return f.stackServerStreamingInterceptors}}),Object.defineProperty(e,`stackUnaryInterceptors`,{enumerable:!0,get:function(){return f.stackUnaryInterceptors}});var p=TN();Object.defineProperty(e,`ServerCallContextController`,{enumerable:!0,get:function(){return p.ServerCallContextController}})}))(),$=fN();const DN=new class extends $.MessageType{constructor(){super(`github.actions.results.entities.v1.CacheScope`,[{no:1,name:`scope`,kind:`scalar`,T:9},{no:2,name:`permission`,kind:`scalar`,T:3}])}create(e){let t={scope:``,permission:`0`};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posDN}])}create(e){let t={repositoryId:`0`,scope:[]};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posON},{no:2,name:`key`,kind:`scalar`,T:9},{no:3,name:`version`,kind:`scalar`,T:9}])}create(e){let t={key:``,version:``};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posON},{no:2,name:`key`,kind:`scalar`,T:9},{no:3,name:`size_bytes`,kind:`scalar`,T:3},{no:4,name:`version`,kind:`scalar`,T:9}])}create(e){let t={key:``,sizeBytes:`0`,version:``};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posON},{no:2,name:`key`,kind:`scalar`,T:9},{no:3,name:`restore_keys`,kind:`scalar`,repeat:2,T:9},{no:4,name:`version`,kind:`scalar`,T:9}])}create(e){let t={key:``,restoreKeys:[],version:``};return globalThis.Object.defineProperty(t,$.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,$.reflectionMergePartial)(this,t,e),t}internalBinaryRead(e,t,n,r){let i=r??this.create(),a=e.pos+t;for(;e.posAN.fromJson(e,{ignoreUnknownFields:!0}))}FinalizeCacheEntryUpload(e){let t=jN.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request(`github.actions.results.api.v1.CacheService`,`FinalizeCacheEntryUpload`,`application/json`,t).then(e=>MN.fromJson(e,{ignoreUnknownFields:!0}))}GetCacheEntryDownloadURL(e){let t=NN.toJson(e,{useProtoFieldName:!0,emitDefaultValues:!1});return this.rpc.request(`github.actions.results.api.v1.CacheService`,`GetCacheEntryDownloadURL`,`application/json`,t).then(e=>PN.fromJson(e,{ignoreUnknownFields:!0}))}};function IN(e){if(e)try{let t=new URL(e).searchParams.get(`sig`);t&&(Nr(t),Nr(encodeURIComponent(t)))}catch(t){L(`Failed to parse URL: ${e} ${t instanceof Error?t.message:String(t)}`)}}function LN(e){if(typeof e!=`object`||!e){L(`body is not an object or is null`);return}`signed_upload_url`in e&&typeof e.signed_upload_url==`string`&&IN(e.signed_upload_url),`signed_download_url`in e&&typeof e.signed_download_url==`string`&&IN(e.signed_download_url)}var RN=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},zN=class{constructor(e,t,n,r){this.maxAttempts=5,this.baseRetryIntervalMilliseconds=3e3,this.retryMultiplier=1.5;let i=Ip();this.baseUrl=xM(),t&&(this.maxAttempts=t),n&&(this.baseRetryIntervalMilliseconds=n),r&&(this.retryMultiplier=r),this.httpClient=new Gn(e,[new Jn(i)])}request(e,t,n,r){return RN(this,void 0,void 0,function*(){let i=new URL(`/twirp/${e}/${t}`,this.baseUrl).href;L(`[Request] ${t} ${i}`);let a={"Content-Type":n};try{let{body:e}=yield this.retryableRequest(()=>RN(this,void 0,void 0,function*(){return this.httpClient.post(i,JSON.stringify(r),a)}));return e}catch(e){throw Error(`Failed to ${t}: ${e.message}`)}})}retryableRequest(e){return RN(this,void 0,void 0,function*(){let t=0,n=``,r=``;for(;t0&&Vr(`You've hit a rate limit, your rate limit will reset in ${t} seconds`)}throw new Xj(`Rate limited: ${n}`)}}catch(e){if(e instanceof SyntaxError&&L(`Raw Body: ${r}`),e instanceof Yj||e instanceof Xj)throw e;if(Jj.isNetworkErrorCode(e?.code))throw new Jj(e?.code);i=!0,n=e.message}if(!i)throw Error(`Received non-retryable error: ${n}`);if(t+1===this.maxAttempts)throw Error(`Failed to make request after ${this.maxAttempts} attempts: ${n}`);let a=this.getExponentialRetryTimeMilliseconds(t);R(`Attempt ${t+1} of ${this.maxAttempts} failed with error: ${n}. Retrying request in ${a} ms...`),yield this.sleep(a),t++}throw Error(`Request failed`)})}isSuccessStatusCode(e){return e?e>=200&&e<300:!1}isRetryableHttpStatusCode(e){return e?[Ln.BadGateway,Ln.GatewayTimeout,Ln.InternalServerError,Ln.ServiceUnavailable].includes(e):!1}sleep(e){return RN(this,void 0,void 0,function*(){return new Promise(t=>setTimeout(t,e))})}getExponentialRetryTimeMilliseconds(e){if(e<0)throw Error(`attempt should be a positive integer`);if(e===0)return this.baseRetryIntervalMilliseconds;let t=this.baseRetryIntervalMilliseconds*this.retryMultiplier**+e,n=t*this.retryMultiplier;return Math.trunc(Math.random()*(n-t)+t)}};function BN(e){return new FN(new zN(wM(),e?.maxAttempts,e?.retryIntervalMs,e?.retryMultiplier))}var VN=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};const HN=process.platform===`win32`;function UN(){return VN(this,void 0,void 0,function*(){switch(process.platform){case`win32`:{let e=yield Np(),t=xp;if(e)return{path:e,type:_p.GNU};if(s(t))return{path:t,type:_p.BSD};break}case`darwin`:{let e=yield xr(`gtar`,!1);return e?{path:e,type:_p.GNU}:{path:yield xr(`tar`,!0),type:_p.BSD}}default:break}return{path:yield xr(`tar`,!0),type:_p.GNU}})}function WN(e,t,n){return VN(this,arguments,void 0,function*(e,t,n,r=``){let i=[`"${e.path}"`],a=Mp(t),o=`cache.tar`,s=KN(),c=e.type===_p.BSD&&t!==gp.Gzip&&HN;switch(n){case`create`:i.push(`--posix`,`-cf`,c?o:a.replace(RegExp(`\\${u.sep}`,`g`),`/`),`--exclude`,c?o:a.replace(RegExp(`\\${u.sep}`,`g`),`/`),`-P`,`-C`,s.replace(RegExp(`\\${u.sep}`,`g`),`/`),`--files-from`,Cp);break;case`extract`:i.push(`-xf`,c?o:r.replace(RegExp(`\\${u.sep}`,`g`),`/`),`-P`,`-C`,s.replace(RegExp(`\\${u.sep}`,`g`),`/`));break;case`list`:i.push(`-tf`,c?o:r.replace(RegExp(`\\${u.sep}`,`g`),`/`),`-P`);break}if(e.type===_p.GNU)switch(process.platform){case`win32`:i.push(`--force-local`);break;case`darwin`:i.push(`--delay-directory-restore`);break}return i})}function GN(e,t){return VN(this,arguments,void 0,function*(e,t,n=``){let r,i=yield UN(),a=yield WN(i,e,t,n),o=t===`create`?yield JN(i,e):yield qN(i,e,n),s=i.type===_p.BSD&&e!==gp.Gzip&&HN;return r=s&&t!==`create`?[[...o].join(` `),[...a].join(` `)]:[[...a].join(` `),[...o].join(` `)],s?r:[r.join(` `)]})}function KN(){return process.env.GITHUB_WORKSPACE??process.cwd()}function qN(e,t,n){return VN(this,void 0,void 0,function*(){let r=e.type===_p.BSD&&t!==gp.Gzip&&HN;switch(t){case gp.Zstd:return r?[`zstd -d --long=30 --force -o`,Sp,n.replace(RegExp(`\\${u.sep}`,`g`),`/`)]:[`--use-compress-program`,HN?`"zstd -d --long=30"`:`unzstd --long=30`];case gp.ZstdWithoutLong:return r?[`zstd -d --force -o`,Sp,n.replace(RegExp(`\\${u.sep}`,`g`),`/`)]:[`--use-compress-program`,HN?`"zstd -d"`:`unzstd`];default:return[`-z`]}})}function JN(e,t){return VN(this,void 0,void 0,function*(){let n=Mp(t),r=e.type===_p.BSD&&t!==gp.Gzip&&HN;switch(t){case gp.Zstd:return r?[`zstd -T0 --long=30 --force -o`,n.replace(RegExp(`\\${u.sep}`,`g`),`/`),Sp]:[`--use-compress-program`,HN?`"zstd -T0 --long=30"`:`zstdmt --long=30`];case gp.ZstdWithoutLong:return r?[`zstd -T0 --force -o`,n.replace(RegExp(`\\${u.sep}`,`g`),`/`),Sp]:[`--use-compress-program`,HN?`"zstd -T0"`:`zstdmt`];default:return[`-z`]}})}function YN(e,t){return VN(this,void 0,void 0,function*(){for(let n of e)try{yield kr(n,void 0,{cwd:t,env:Object.assign(Object.assign({},process.env),{MSYS:`winsymlinks:nativestrict`})})}catch(e){throw Error(`${n.split(` `)[0]} failed with error: ${e?.message}`)}})}function XN(e,t){return VN(this,void 0,void 0,function*(){yield YN(yield GN(t,`list`,e))})}function ZN(e,t){return VN(this,void 0,void 0,function*(){yield br(KN()),yield YN(yield GN(t,`extract`,e))})}function QN(e,t,n){return VN(this,void 0,void 0,function*(){l(u.join(e,Cp),t.join(` +`)),yield YN(yield GN(n,`create`),e)})}var $N=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},eP=class e extends Error{constructor(t){super(t),this.name=`ValidationError`,Object.setPrototypeOf(this,e.prototype)}},tP=class e extends Error{constructor(t){super(t),this.name=`ReserveCacheError`,Object.setPrototypeOf(this,e.prototype)}},nP=class e extends Error{constructor(t){super(t),this.name=`FinalizeCacheError`,Object.setPrototypeOf(this,e.prototype)}};function rP(e){if(!e||e.length===0)throw new eP(`Path Validation Error: At least one directory or file path is required`)}function iP(e){if(e.length>512)throw new eP(`Key Validation Error: ${e} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(e))throw new eP(`Key Validation Error: ${e} cannot contain commas.`)}function aP(e,t,n,r){return $N(this,arguments,void 0,function*(e,t,n,r,i=!1){let a=bM();switch(L(`Cache service version: ${a}`),rP(e),a){case`v2`:return yield sP(e,t,n,r,i);default:return yield oP(e,t,n,r,i)}})}function oP(e,t,n,r){return $N(this,arguments,void 0,function*(e,t,n,r,i=!1){n||=[];let a=[t,...n];if(L(`Resolved Keys:`),L(JSON.stringify(a)),a.length>10)throw new eP(`Key Validation Error: Keys are limited to a maximum of 10.`);for(let e of a)iP(e);let o=yield jp(),s=``;try{let t=yield AM(a,e,{compressionMethod:o,enableCrossOsArchive:i});if(!t?.archiveLocation)return;if(r?.lookupOnly)return R(`Lookup only - skipping download`),t.cacheKey;s=u.join(yield Ep(),Mp(o)),L(`Archive Path: ${s}`),yield MM(t.archiveLocation,s,r),zr()&&(yield XN(s,o));let n=Dp(s);return R(`Cache Size: ~${Math.round(n/(1024*1024))} MB (${n} B)`),yield ZN(s,o),R(`Cache restored successfully`),t.cacheKey}catch(e){let t=e;if(t.name===eP.name)throw e;t instanceof Un&&typeof t.statusCode==`number`&&t.statusCode>=500?Br(`Failed to restore: ${e.message}`):Vr(`Failed to restore: ${e.message}`)}finally{try{yield kp(s)}catch(e){L(`Failed to delete archive: ${e}`)}}})}function sP(e,t,n,r){return $N(this,arguments,void 0,function*(e,t,n,r,i=!1){r=Object.assign(Object.assign({},r),{useAzureSdk:!0}),n||=[];let a=[t,...n];if(L(`Resolved Keys:`),L(JSON.stringify(a)),a.length>10)throw new eP(`Key Validation Error: Keys are limited to a maximum of 10.`);for(let e of a)iP(e);let o=``;try{let s=BN(),c=yield jp(),l={key:t,restoreKeys:n,version:Fp(e,c,i)},d=yield s.GetCacheEntryDownloadURL(l);if(!d.ok){L(`Cache not found for version ${l.version} of keys: ${a.join(`, `)}`);return}if(l.key===d.matchedKey?R(`Cache hit for: ${d.matchedKey}`):R(`Cache hit for restore-key: ${d.matchedKey}`),r?.lookupOnly)return R(`Lookup only - skipping download`),d.matchedKey;o=u.join(yield Ep(),Mp(c)),L(`Archive path: ${o}`),L(`Starting download of archive to: ${o}`),yield MM(d.signedDownloadUrl,o,r);let f=Dp(o);return R(`Cache Size: ~${Math.round(f/(1024*1024))} MB (${f} B)`),zr()&&(yield XN(o,c)),yield ZN(o,c),R(`Cache restored successfully`),d.matchedKey}catch(e){let t=e;if(t.name===eP.name)throw e;t instanceof Un&&typeof t.statusCode==`number`&&t.statusCode>=500?Br(`Failed to restore: ${e.message}`):Vr(`Failed to restore: ${e.message}`)}finally{try{o&&(yield kp(o))}catch(e){L(`Failed to delete archive: ${e}`)}}})}function cP(e,t,n){return $N(this,arguments,void 0,function*(e,t,n,r=!1){let i=bM();switch(L(`Cache service version: ${i}`),rP(e),iP(t),i){case`v2`:return yield uP(e,t,n,r);default:return yield lP(e,t,n,r)}})}function lP(e,t,n){return $N(this,arguments,void 0,function*(e,t,n,r=!1){let i=yield jp(),a=-1,o=yield Op(e);if(L(`Cache Paths:`),L(`${JSON.stringify(o)}`),o.length===0)throw Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);let s=yield Ep(),c=u.join(s,Mp(i));L(`Archive Path: ${c}`);try{yield QN(s,o,i),zr()&&(yield XN(c,i));let l=Dp(c);if(L(`File Size: ${l}`),l>10737418240&&!yM())throw Error(`Cache size of ~${Math.round(l/(1024*1024))} MB (${l} B) is over the 10GB limit, not saving cache.`);L(`Reserving Cache`);let u=yield NM(t,e,{compressionMethod:i,enableCrossOsArchive:r,cacheSize:l});if(u?.result?.cacheId)a=u?.result?.cacheId;else if(u?.statusCode===400)throw Error(u?.error?.message??`Cache size of ~${Math.round(l/(1024*1024))} MB (${l} B) is over the data cap limit, not saving cache.`);else throw new tP(`Unable to reserve cache with key ${t}, another job may be creating this cache. More details: ${u?.error?.message}`);L(`Saving Cache (ID: ${a})`),yield RM(a,c,``,n)}catch(e){let t=e;if(t.name===eP.name)throw e;t.name===tP.name?R(`Failed to save: ${t.message}`):t instanceof Un&&typeof t.statusCode==`number`&&t.statusCode>=500?Br(`Failed to save: ${t.message}`):Vr(`Failed to save: ${t.message}`)}finally{try{yield kp(c)}catch(e){L(`Failed to delete archive: ${e}`)}}return a})}function uP(e,t,n){return $N(this,arguments,void 0,function*(e,t,n,r=!1){n=Object.assign(Object.assign({},n),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:!0});let i=yield jp(),a=BN(),o=-1,s=yield Op(e);if(L(`Cache Paths:`),L(`${JSON.stringify(s)}`),s.length===0)throw Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);let c=yield Ep(),l=u.join(c,Mp(i));L(`Archive Path: ${l}`);try{yield QN(c,s,i),zr()&&(yield XN(l,i));let u=Dp(l);L(`File Size: ${u}`),n.archiveSizeBytes=u,L(`Reserving Cache`);let d=Fp(e,i,r),f={key:t,version:d},p;try{let e=yield a.CreateCacheEntry(f);if(!e.ok)throw e.message&&Vr(`Cache reservation failed: ${e.message}`),Error(e.message||`Response was not ok`);p=e.signedUploadUrl}catch(e){throw L(`Failed to reserve cache: ${e}`),new tP(`Unable to reserve cache with key ${t}, another job may be creating this cache.`)}L(`Attempting to upload cache located at: ${l}`),yield RM(o,l,p,n);let m={key:t,version:d,sizeBytes:`${u}`},h=yield a.FinalizeCacheEntryUpload(m);if(L(`FinalizeCacheEntryUploadResponse: ${h.ok}`),!h.ok)throw h.message?new nP(h.message):Error(`Unable to finalize cache with key ${t}, another job may be finalizing this cache.`);o=parseInt(h.entryId)}catch(e){let t=e;if(t.name===eP.name)throw e;t.name===tP.name?R(`Failed to save: ${t.message}`):t.name===nP.name?Vr(t.message):t instanceof Un&&typeof t.statusCode==`number`&&t.statusCode>=500?Br(`Failed to save: ${t.message}`):Vr(`Failed to save: ${t.message}`)}finally{try{yield kp(l)}catch(e){L(`Failed to delete archive: ${e}`)}}return o})}const dP=`v1.10.0`,fP=`https://github.com/SocketDev/sfw-free/releases/download/${dP}`,pP=2e3;function mP(){if(process.platform!==`linux`)return!1;try{return!!gP(process.platform,process.arch,hP())}catch{return!1}}function hP(){if(process.platform!==`linux`)return!1;try{let e=process.report?.getReport();if(e?.header&&!e.header.glibcVersionRuntime)return!0}catch{}return ae(`/etc/alpine-release`)}function gP(e,t,n){if(e===`darwin`){if(t===`arm64`)return`sfw-free-macos-arm64`;if(t===`x64`)return`sfw-free-macos-x86_64`}else if(e===`linux`){if(t===`arm64`)return n?`sfw-free-musl-linux-arm64`:`sfw-free-linux-arm64`;if(t===`x64`)return n?`sfw-free-musl-linux-x86_64`:`sfw-free-linux-x86_64`}else if(e===`win32`){if(t===`arm64`)return`sfw-free-windows-arm64.exe`;if(t===`x64`)return`sfw-free-windows-x86_64.exe`}throw Error(`Unsupported platform/arch for sfw: ${e}/${t}${e===`linux`?` (${n?`musl`:`glibc`})`:``}`)}function _P(){return N(process.env.RUNNER_TEMP||process.env.TMPDIR||process.env.TEMP||`/tmp`,`sfw-bin`)}async function vP(){let e=`${fP}/${gP(process.platform,process.arch,hP())}`,t=_P();oe(t,{recursive:!0});let n=N(t,process.platform===`win32`?`sfw.exe`:`sfw`),r=`sfw-${dP}-${process.platform}-${process.arch}-${hP()?`musl`:`glibc`}`,i=!1;try{let e=await aP([t],r);if(e&&ae(n)){process.platform!==`win32`&&ie(n,493),Pr(t),R(`sfw restored from cache: ${e}`),i=!0;return}}catch(e){Vr(`sfw cache restore failed (${e instanceof Error?e.message:String(e)}); falling through to download.`)}R(`Installing sfw from ${e}...`);let a=``;for(let o=1;o<=2;o++){try{let o=await xP(e,n);if(o===0&&ae(n)){if(process.platform!==`win32`&&ie(n,493),Pr(t),R(`sfw installed at ${n}`),!i)try{await cP([t],r),R(`sfw cached under key: ${r}`)}catch(e){Vr(`sfw cache save failed (${e instanceof Error?e.message:String(e)}); continuing.`)}return}a=`exit code ${o}`}catch(e){a=e instanceof Error?e.message:String(e)}o<2&&(Vr(`Failed to install sfw from ${e} (${a}). Retrying in ${pP}ms... (attempt ${o+1}/2)`),await ne(pP))}throw Error(`Failed to install sfw from ${e} after 2 attempts: ${a}`)}function yP(){let e=process.platform===`win32`?`where`:`which`;try{let t=xe(e,[`sfw`],{encoding:`utf8`,stdio:[`ignore`,`pipe`,`ignore`]}).split(/\r?\n/).find(e=>e.trim().length>0);return t?t.trim():null}catch{return null}}async function bP(e){if(!e.sfw)return!1;if(e.runInstall.length===0)return R("sfw was requested but `run-install` is disabled; sfw will not be invoked."),!1;if(process.platform!==`linux`)return Vr(`sfw is temporarily not supported on macOS/Windows (${`process.platform=${process.platform}, process.arch=${process.arch}`}); falling back to plain \`vp install\` even if sfw is on PATH. Tracking: https://github.com/voidzero-dev/setup-vp/issues/73`),!1;let t=yP();return t?(R(`Using existing sfw on PATH: ${t}`),!0):mP()?(await vP(),!0):(Vr(`sfw has no published binary for this Linux runner's architecture (${`process.platform=${process.platform}, process.arch=${process.arch}, musl=${hP()}`}) and none was found on PATH; falling back to plain \`vp install\`. To enable sfw on this arch, install a working sfw binary on PATH in an earlier step (e.g. via \`socketdev/action@\` or a custom install). Tracking: https://github.com/voidzero-dev/setup-vp/issues/73`),!1)}async function xP(e,t){let n={ignoreReturnCode:!0};return process.platform===`win32`?kr(`pwsh`,[`-Command`,`Invoke-WebRequest -UseBasicParsing -Uri '${e}' -OutFile '${t}' -TimeoutSec 60`],n):kr(`bash`,[`-c`,`set -o pipefail; curl -fsSL --connect-timeout 5 --max-time 60 -o '${t}' '${e}'`],n)}function SP(e,t){let n=e.trim();return n.length<=t?n:`…(truncated, showing last ${t} chars)…\n${n.slice(-t)}`}async function CP(e){let t=jd(e);for(let n of e.runInstall){let r=[`install`];n.args&&r.push(...n.args);let i=e.sfw?`sfw`:`vp`,a=e.sfw?[`vp`,...r]:r,o=Md(t,n.cwd),s=`${i} ${a.join(` `)}`;Hr(`Running ${s} in ${o}...`);try{let{exitCode:e,stdout:t,stderr:n}=await Ar(i,a,{cwd:o,ignoreReturnCode:!0});if(Ur(),e===0){R(`Successfully ran ${s}`);continue}let r=n.trim()||t.trim();r&&Br(SP(r,4e3),{title:`${s} failed`}),Rr(`Command "${s}" (cwd: ${o}) exited with code ${e}`)}catch(e){Ur(),Rr(`Failed to run ${s}: ${String(e)}`)}}}function wP(e){let t={followSymbolicLinks:!0,implicitDescendants:!0,matchDirectories:!0,omitBrokenSymbolicLinks:!0,excludeHiddenFiles:!1};return e&&(typeof e.followSymbolicLinks==`boolean`&&(t.followSymbolicLinks=e.followSymbolicLinks,L(`followSymbolicLinks '${t.followSymbolicLinks}'`)),typeof e.implicitDescendants==`boolean`&&(t.implicitDescendants=e.implicitDescendants,L(`implicitDescendants '${t.implicitDescendants}'`)),typeof e.matchDirectories==`boolean`&&(t.matchDirectories=e.matchDirectories,L(`matchDirectories '${t.matchDirectories}'`)),typeof e.omitBrokenSymbolicLinks==`boolean`&&(t.omitBrokenSymbolicLinks=e.omitBrokenSymbolicLinks,L(`omitBrokenSymbolicLinks '${t.omitBrokenSymbolicLinks}'`)),typeof e.excludeHiddenFiles==`boolean`&&(t.excludeHiddenFiles=e.excludeHiddenFiles,L(`excludeHiddenFiles '${t.excludeHiddenFiles}'`))),t}const TP=process.platform===`win32`;function EP(e){if(e=jP(e),TP&&/^\\\\[^\\]+(\\[^\\]+)?$/.test(e))return e;let t=u.dirname(e);return TP&&/^\\\\[^\\]+\\[^\\]+\\$/.test(t)&&(t=jP(t)),t}function DP(e,t){if(h(e,`ensureAbsoluteRoot parameter 'root' must not be empty`),h(t,`ensureAbsoluteRoot parameter 'itemPath' must not be empty`),OP(t))return t;if(TP){if(t.match(/^[A-Z]:[^\\/]|^[A-Z]:$/i)){let e=process.cwd();return h(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`),t[0].toUpperCase()===e[0].toUpperCase()?t.length===2?`${t[0]}:\\${e.substr(3)}`:(e.endsWith(`\\`)||(e+=`\\`),`${t[0]}:\\${e.substr(3)}${t.substr(2)}`):`${t[0]}:\\${t.substr(2)}`}else if(AP(t).match(/^\\$|^\\[^\\]/)){let e=process.cwd();return h(e.match(/^[A-Z]:\\/i),`Expected current directory to start with an absolute drive root. Actual '${e}'`),`${e[0]}:\\${t.substr(1)}`}}return h(OP(e),`ensureAbsoluteRoot parameter 'root' must have an absolute root`),e.endsWith(`/`)||TP&&e.endsWith(`\\`)||(e+=u.sep),e+t}function OP(e){return h(e,`hasAbsoluteRoot parameter 'itemPath' must not be empty`),e=AP(e),TP?e.startsWith(`\\\\`)||/^[A-Z]:\\/i.test(e):e.startsWith(`/`)}function kP(e){return h(e,`isRooted parameter 'itemPath' must not be empty`),e=AP(e),TP?e.startsWith(`\\`)||/^[A-Z]:/i.test(e):e.startsWith(`/`)}function AP(e){return e||=``,TP?(e=e.replace(/\//g,`\\`),(/^\\\\+[^\\]/.test(e)?`\\`:``)+e.replace(/\\\\+/g,`\\`)):e.replace(/\/\/+/g,`/`)}function jP(e){return e?(e=AP(e),!e.endsWith(u.sep)||e===u.sep||TP&&/^[A-Z]:\\$/i.test(e)?e:e.substr(0,e.length-1)):``}var MP;(function(e){e[e.None=0]=`None`,e[e.Directory=1]=`Directory`,e[e.File=2]=`File`,e[e.All=3]=`All`})(MP||={});const NP=process.platform===`win32`;function PP(e){e=e.filter(e=>!e.negate);let t={};for(let n of e){let e=NP?n.searchPath.toUpperCase():n.searchPath;t[e]=`candidate`}let n=[];for(let r of e){let e=NP?r.searchPath.toUpperCase():r.searchPath;if(t[e]===`included`)continue;let i=!1,a=e,o=EP(a);for(;o!==a;){if(t[o]){i=!0;break}a=o,o=EP(a)}i||(n.push(r.searchPath),t[e]=`included`)}return n}function FP(e,t){let n=MP.None;for(let r of e)r.negate?n&=~r.match(t):n|=r.match(t);return n}function IP(e,t){return e.some(e=>!e.negate&&e.partialMatch(t))}const LP=(e,t,n)=>{let r=e instanceof RegExp?RP(e,n):e,i=t instanceof RegExp?RP(t,n):t,a=r!==null&&i!=null&&zP(r,i,n);return a&&{start:a[0],end:a[1],pre:n.slice(0,a[0]),body:n.slice(a[0]+r.length,a[1]),post:n.slice(a[1]+i.length)}},RP=(e,t)=>{let n=t.match(e);return n?n[0]:null},zP=(e,t,n)=>{let r,i,a,o,s,c=n.indexOf(e),l=n.indexOf(t,c+1),u=c;if(c>=0&&l>0){if(e===t)return[c,l];for(r=[],a=n.length;u>=0&&!s;){if(u===c)r.push(u),c=n.indexOf(e,u+1);else if(r.length===1){let e=r.pop();e!==void 0&&(s=[e,l])}else i=r.pop(),i!==void 0&&i=0?c:l}r.length&&o!==void 0&&(s=[a,o])}return s},BP=`\0SLASH`+Math.random()+`\0`,VP=`\0OPEN`+Math.random()+`\0`,HP=`\0CLOSE`+Math.random()+`\0`,UP=`\0COMMA`+Math.random()+`\0`,WP=`\0PERIOD`+Math.random()+`\0`,GP=new RegExp(BP,`g`),KP=new RegExp(VP,`g`),qP=new RegExp(HP,`g`),JP=new RegExp(UP,`g`),YP=new RegExp(WP,`g`),XP=/\\\\/g,ZP=/\\{/g,QP=/\\}/g,$P=/\\,/g,eF=/\\\./g;function tF(e){return isNaN(e)?e.charCodeAt(0):parseInt(e,10)}function nF(e){return e.replace(XP,BP).replace(ZP,VP).replace(QP,HP).replace($P,UP).replace(eF,WP)}function rF(e){return e.replace(GP,`\\`).replace(KP,`{`).replace(qP,`}`).replace(JP,`,`).replace(YP,`.`)}function iF(e){if(!e)return[``];let t=[],n=LP(`{`,`}`,e);if(!n)return e.split(`,`);let{pre:r,body:i,post:a}=n,o=r.split(`,`);o[o.length-1]+=`{`+i+`}`;let s=iF(a);return a.length&&(o[o.length-1]+=s.shift(),o.push.apply(o,s)),t.push.apply(t,o),t}function aF(e,t={}){if(!e)return[];let{max:n=1e5}=t;return e.slice(0,2)===`{}`&&(e=`\\{\\}`+e.slice(2)),uF(nF(e),n,!0).map(rF)}function oF(e){return`{`+e+`}`}function sF(e){return/^-?0\d/.test(e)}function cF(e,t){return e<=t}function lF(e,t){return e>=t}function uF(e,t,n){let r=[],i=LP(`{`,`}`,e);if(!i)return[e];let a=i.pre,o=i.post.length?uF(i.post,t,!1):[``];if(/\$$/.test(i.pre))for(let e=0;e=0;if(!l&&!u)return i.post.match(/,(?!,).*\}/)?(e=i.pre+`{`+i.body+HP+i.post,uF(e,t,!0)):[e];let d;if(l)d=i.body.split(/\.\./);else if(d=iF(i.body),d.length===1&&d[0]!==void 0&&(d=uF(d[0],t,!1).map(oF),d.length===1))return o.map(e=>i.pre+d[0]+e);let f;if(l&&d[0]!==void 0&&d[1]!==void 0){let e=tF(d[0]),t=tF(d[1]),n=Math.max(d[0].length,d[1].length),r=d.length===3&&d[2]!==void 0?Math.max(Math.abs(tF(d[2])),1):1,i=cF;t0){let n=Array(t+1).join(`0`);e=o<0?`-`+n+e.slice(1):n+e}}f.push(e)}}else{f=[];for(let e=0;e{if(typeof e!=`string`)throw TypeError(`invalid pattern`);if(e.length>65536)throw TypeError(`pattern is too long`)},fF={"[:alnum:]":[`\\p{L}\\p{Nl}\\p{Nd}`,!0],"[:alpha:]":[`\\p{L}\\p{Nl}`,!0],"[:ascii:]":[`\\x00-\\x7f`,!1],"[:blank:]":[`\\p{Zs}\\t`,!0],"[:cntrl:]":[`\\p{Cc}`,!0],"[:digit:]":[`\\p{Nd}`,!0],"[:graph:]":[`\\p{Z}\\p{C}`,!0,!0],"[:lower:]":[`\\p{Ll}`,!0],"[:print:]":[`\\p{C}`,!0],"[:punct:]":[`\\p{P}`,!0],"[:space:]":[`\\p{Z}\\t\\r\\n\\v\\f`,!0],"[:upper:]":[`\\p{Lu}`,!0],"[:word:]":[`\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}`,!0],"[:xdigit:]":[`A-Fa-f0-9`,!1]},pF=e=>e.replace(/[[\]\\-]/g,`\\$&`),mF=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),hF=e=>e.join(``),gF=(e,t)=>{let n=t;if(e.charAt(n)!==`[`)throw Error(`not in a brace expression`);let r=[],i=[],a=n+1,o=!1,s=!1,c=!1,l=!1,u=n,d=``;WHILE:for(;ad?r.push(pF(d)+`-`+pF(t)):t===d&&r.push(pF(t)),d=``,a++;continue}if(e.startsWith(`-]`,a+1)){r.push(pF(t+`-`)),a+=2;continue}if(e.startsWith(`-`,a+1)){d=t,a+=2;continue}r.push(pF(t)),a++}if(un?t?e.replace(/\[([^/\\])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\])\]/g,`$1$2`).replace(/\\([^/])/g,`$1`):t?e.replace(/\[([^/\\{}])\]/g,`$1`):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,`$1$2`).replace(/\\([^/{}])/g,`$1`);var vF;const yF=new Set([`!`,`?`,`+`,`*`,`@`]),bF=e=>yF.has(e),xF=e=>bF(e.type),SF=new Map([[`!`,[`@`]],[`?`,[`?`,`@`]],[`@`,[`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`]]]),CF=new Map([[`!`,[`?`]],[`@`,[`?`]],[`+`,[`?`,`*`]]]),wF=new Map([[`!`,[`?`,`@`]],[`?`,[`?`,`@`]],[`@`,[`?`,`@`]],[`*`,[`*`,`+`,`?`,`@`]],[`+`,[`+`,`@`,`?`,`*`]]]),TF=new Map([[`!`,new Map([[`!`,`@`]])],[`?`,new Map([[`*`,`*`],[`+`,`*`]])],[`@`,new Map([[`!`,`!`],[`?`,`?`],[`@`,`@`],[`*`,`*`],[`+`,`+`]])],[`+`,new Map([[`?`,`*`],[`*`,`*`]])]]),EF=`(?!\\.)`,DF=new Set([`[`,`.`]),OF=new Set([`..`,`.`]),kF=new Set(`().*{}+?[]^$\\!`),AF=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`),jF=`[^/]`,MF=jF+`*?`,NF=jF+`+?`;let PF=0;var FF=class{type;#e;#t;#n=!1;#r=[];#i;#a;#o;#s=!1;#c;#l;#u=!1;id=++PF;get depth(){return(this.#i?.depth??-1)+1}[Symbol.for(`nodejs.util.inspect.custom`)](){return{"@@type":`AST`,id:this.id,type:this.type,root:this.#e.id,parent:this.#i?.id,depth:this.depth,partsLength:this.#r.length,parts:this.#r}}constructor(e,t,n={}){this.type=e,e&&(this.#t=!0),this.#i=t,this.#e=this.#i?this.#i.#e:this,this.#c=this.#e===this?n:this.#e.#c,this.#o=this.#e===this?[]:this.#e.#o,e===`!`&&!this.#e.#s&&this.#o.push(this),this.#a=this.#i?this.#i.#r.length:0}get hasMagic(){if(this.#t!==void 0)return this.#t;for(let e of this.#r)if(typeof e!=`string`&&(e.type||e.hasMagic))return this.#t=!0;return this.#t}toString(){return this.#l===void 0?this.type?this.#l=this.type+`(`+this.#r.map(e=>String(e)).join(`|`)+`)`:this.#l=this.#r.map(e=>String(e)).join(``):this.#l}#d(){if(this!==this.#e)throw Error(`should only call on root`);if(this.#s)return this;this.toString(),this.#s=!0;let e;for(;e=this.#o.pop();){if(e.type!==`!`)continue;let t=e,n=t.#i;for(;n;){for(let r=t.#a+1;!n.type&&rtypeof e==`string`?e:e.toJSON()):[this.type,...this.#r.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#s&&this.#i?.type===`!`)&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#i?.isStart())return!1;if(this.#a===0)return!0;let e=this.#i;for(let t=0;ttypeof e!=`string`),r=this.#r.map(t=>{let[r,i,a,o]=typeof t==`string`?vF.#C(t,this.#t,n):t.toRegExpSource(e);return this.#t=this.#t||a,this.#n=this.#n||o,r}).join(``),i=``;if(this.isStart()&&typeof this.#r[0]==`string`&&!(this.#r.length===1&&OF.has(this.#r[0]))){let n=DF,a=t&&n.has(r.charAt(0))||r.startsWith(`\\.`)&&n.has(r.charAt(2))||r.startsWith(`\\.\\.`)&&n.has(r.charAt(4)),o=!t&&!e&&n.has(r.charAt(0));i=a?`(?!(?:^|/)\\.\\.?(?:$|/))`:o?EF:``}let a=``;return this.isEnd()&&this.#e.#s&&this.#i?.type===`!`&&(a=`(?:$|\\/)`),[i+r+a,_F(r),this.#t=!!this.#t,this.#n]}let n=this.type===`*`||this.type===`+`,r=this.type===`!`?`(?:(?!(?:`:`(?:`,i=this.#S(t);if(this.isStart()&&this.isEnd()&&!i&&this.type!==`!`){let e=this.toString(),t=this;return t.#r=[e],t.type=null,t.#t=void 0,[e,_F(this.toString()),!1,!1]}let a=!n||e||t?``:this.#S(!0);a===i&&(a=``),a&&(i=`(?:${i})(?:${a})*?`);let o=``;if(this.type===`!`&&this.#u)o=(this.isStart()&&!t?EF:``)+NF;else{let n=this.type===`!`?`))`+(this.isStart()&&!t&&!e?EF:``)+MF+`)`:this.type===`@`?`)`:this.type===`?`?`)?`:this.type===`+`&&a?`)`:this.type===`*`&&a?`)?`:`)${this.type}`;o=r+i+n}return[o,_F(i),this.#t=!!this.#t,this.#n]}#x(){if(xF(this)){let e=0,t=!1;do{t=!0;for(let e=0;e{if(typeof t==`string`)throw Error(`string type in extglob ast??`);let[n,r,i,a]=t.toRegExpSource(e);return this.#n=this.#n||a,n}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join(`|`)}static#C(e,t,n=!1){let r=!1,i=``,a=!1,o=!1;for(let s=0;sn?t?e.replace(/[?*()[\]{}]/g,`[$&]`):e.replace(/[?*()[\]\\{}]/g,`\\$&`):t?e.replace(/[?*()[\]]/g,`[$&]`):e.replace(/[?*()[\]\\]/g,`\\$&`),LF=(e,t,n={})=>(dF(t),!n.nocomment&&t.charAt(0)===`#`?!1:new dI(t,n).match(e)),RF=/^\*+([^+@!?*[(]*)$/,zF=e=>t=>!t.startsWith(`.`)&&t.endsWith(e),BF=e=>t=>t.endsWith(e),VF=e=>(e=e.toLowerCase(),t=>!t.startsWith(`.`)&&t.toLowerCase().endsWith(e)),HF=e=>(e=e.toLowerCase(),t=>t.toLowerCase().endsWith(e)),UF=/^\*+\.\*+$/,WF=e=>!e.startsWith(`.`)&&e.includes(`.`),GF=e=>e!==`.`&&e!==`..`&&e.includes(`.`),KF=/^\.\*+$/,qF=e=>e!==`.`&&e!==`..`&&e.startsWith(`.`),JF=/^\*+$/,YF=e=>e.length!==0&&!e.startsWith(`.`),XF=e=>e.length!==0&&e!==`.`&&e!==`..`,ZF=/^\?+([^+@!?*[(]*)?$/,QF=([e,t=``])=>{let n=nI([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},$F=([e,t=``])=>{let n=rI([e]);return t?(t=t.toLowerCase(),e=>n(e)&&e.toLowerCase().endsWith(t)):n},eI=([e,t=``])=>{let n=rI([e]);return t?e=>n(e)&&e.endsWith(t):n},tI=([e,t=``])=>{let n=nI([e]);return t?e=>n(e)&&e.endsWith(t):n},nI=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(`.`)},rI=([e])=>{let t=e.length;return e=>e.length===t&&e!==`.`&&e!==`..`},iI=typeof process==`object`&&process?typeof process.env==`object`&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:`posix`,aI={win32:{sep:`\\`},posix:{sep:`/`}};LF.sep=iI===`win32`?aI.win32.sep:aI.posix.sep;const oI=Symbol(`globstar **`);LF.GLOBSTAR=oI,LF.filter=(e,t={})=>n=>LF(n,e,t);const sI=(e,t={})=>Object.assign({},e,t);LF.defaults=e=>{if(!e||typeof e!=`object`||!Object.keys(e).length)return LF;let t=LF;return Object.assign((n,r,i={})=>t(n,r,sI(e,i)),{Minimatch:class extends t.Minimatch{constructor(t,n={}){super(t,sI(e,n))}static defaults(n){return t.defaults(sI(e,n)).Minimatch}},AST:class extends t.AST{constructor(t,n,r={}){super(t,n,sI(e,r))}static fromGlob(n,r={}){return t.AST.fromGlob(n,sI(e,r))}},unescape:(n,r={})=>t.unescape(n,sI(e,r)),escape:(n,r={})=>t.escape(n,sI(e,r)),filter:(n,r={})=>t.filter(n,sI(e,r)),defaults:n=>t.defaults(sI(e,n)),makeRe:(n,r={})=>t.makeRe(n,sI(e,r)),braceExpand:(n,r={})=>t.braceExpand(n,sI(e,r)),match:(n,r,i={})=>t.match(n,r,sI(e,i)),sep:t.sep,GLOBSTAR:oI})};const cI=(e,t={})=>(dF(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e)?[e]:aF(e,{max:t.braceExpandMax}));LF.braceExpand=cI,LF.makeRe=(e,t={})=>new dI(e,t).makeRe(),LF.match=(e,t,n={})=>{let r=new dI(t,n);return e=e.filter(e=>r.match(e)),r.options.nonull&&!e.length&&e.push(t),e};const lI=/[?*]|[+@!]\(.*?\)|\[|\]/,uI=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,`\\$&`);var dI=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){dF(e),t||={},this.options=t,this.maxGlobstarRecursion=t.maxGlobstarRecursion??200,this.pattern=e,this.platform=t.platform||iI,this.isWindows=this.platform===`win32`,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape||t.allowWindowsEscape===!1,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,`/`)),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=t.windowsNoMagicRoot===void 0?!!(this.isWindows&&this.nocase):t.windowsNoMagicRoot,this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if(typeof t!=`string`)return!0;return!1}debug(...e){}make(){let e=this.pattern,t=this.options;if(!t.nocomment&&e.charAt(0)===`#`){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],t.debug&&(this.debug=(...e)=>console.error(...e)),this.debug(this.pattern,this.globSet);let n=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(n),this.debug(this.pattern,this.globParts);let r=this.globParts.map((e,t,n)=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=e[0]===``&&e[1]===``&&(e[2]===`?`||!lI.test(e[2]))&&!lI.test(e[3]),n=/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(n)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>e.indexOf(!1)===-1),this.isWindows)for(let e=0;e=2?(e=this.firstPhasePreProcess(e),e=this.secondPhasePreProcess(e)):e=t>=1?this.levelOneOptimize(e):this.adjascentGlobstarOptimize(e),e}adjascentGlobstarOptimize(e){return e.map(e=>{let t=-1;for(;(t=e.indexOf(`**`,t+1))!==-1;){let n=t;for(;e[n+1]===`**`;)n++;n!==t&&e.splice(t,n-t)}return e})}levelOneOptimize(e){return e.map(e=>(e=e.reduce((e,t)=>{let n=e[e.length-1];return t===`**`&&n===`**`?e:t===`..`&&n&&n!==`..`&&n!==`.`&&n!==`**`?(e.pop(),e):(e.push(t),e)},[]),e.length===0?[``]:e))}levelTwoFileOptimize(e){Array.isArray(e)||(e=this.slashSplit(e));let t=!1;do{if(t=!1,!this.preserveMultipleSlashes){for(let n=1;nr&&n.splice(r+1,i-r);let a=n[r+1],o=n[r+2],s=n[r+3];if(a!==`..`||!o||o===`.`||o===`..`||!s||s===`.`||s===`..`)continue;t=!0,n.splice(r,1);let c=n.slice(0);c[r]=`**`,e.push(c),r--}if(!this.preserveMultipleSlashes){for(let e=1;ee.length)}partsMatch(e,t,n=!1){let r=0,i=0,a=[],o=``;for(;r=2&&(e=this.levelTwoFileOptimize(e)),t.includes(oI)?this.#e(e,t,n,r,i):this.#n(e,t,n,r,i)}#e(e,t,n,r,i){let a=t.indexOf(oI,i),o=t.lastIndexOf(oI),[s,c,l]=n?[t.slice(i,a),t.slice(a+1),[]]:[t.slice(i,a),t.slice(a+1,o),t.slice(o+1)];if(s.length){let t=e.slice(r,r+s.length);if(!this.#n(t,s,n,0,0))return!1;r+=s.length,i+=s.length}let u=0;if(l.length){if(l.length+r>e.length)return!1;let t=e.length-l.length;if(this.#n(e,l,n,t,0))u=l.length;else{if(e[e.length-1]!==``||r+l.length===e.length||(t--,!this.#n(e,l,n,t,0)))return!1;u=l.length+1}}if(!c.length){let t=!!u;for(let n=r;n{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(``))r.add(t);return typeof e==`string`?uI(e):e===oI?oI:e._src});t.forEach((e,r)=>{let i=t[r+1],a=t[r-1];e!==oI||a===oI||(a===void 0?i!==void 0&&i!==oI?t[r+1]=`(?:\\/|`+n+`\\/)?`+i:t[r]=n:i===void 0?t[r-1]=a+`(?:\\/|\\/`+n+`)?`:i!==oI&&(t[r-1]=a+`(?:\\/|\\/`+n+`\\/)`+i,t[r+1]=oI))});let i=t.filter(e=>e!==oI);if(this.partial&&i.length>=1){let e=[];for(let t=1;t<=i.length;t++)e.push(i.slice(0,t).join(`/`));return`(?:`+e.join(`|`)+`)`}return i.join(`/`)}).join(`|`),[a,o]=e.length>1?[`(?:`,`)`]:[``,``];i=`^`+a+i+o+`$`,this.partial&&(i=`^(?:\\/|`+a+i.slice(1,-1)+o+`)$`),this.negate&&(i=`^(?!`+i+`).+$`);try{this.regexp=new RegExp(i,[...r].join(``))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split(`/`):this.isWindows&&/^\/\/[^/]+/.test(e)?[``,...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug(`match`,e,this.pattern),this.comment)return!1;if(this.empty)return e===``;if(e===`/`&&t)return!0;let n=this.options;this.isWindows&&(e=e.split(`\\`).join(`/`));let r=this.slashSplit(e);this.debug(this.pattern,`split`,r);let i=this.set;this.debug(this.pattern,`set`,i);let a=r[r.length-1];if(!a)for(let e=r.length-2;!a&&e>=0;e--)a=r[e];for(let e of i){let i=r;if(n.matchBase&&e.length===1&&(i=[a]),this.matchOne(i,e,t))return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate}static defaults(e){return LF.defaults(e).Minimatch}};LF.AST=FF,LF.Minimatch=dI,LF.escape=IF,LF.unescape=_F;const fI=process.platform===`win32`;var pI=class{constructor(e){if(this.segments=[],typeof e==`string`)if(h(e,`Parameter 'itemPath' must not be empty`),e=jP(e),!kP(e))this.segments=e.split(u.sep);else{let t=e,n=EP(t);for(;n!==t;){let e=u.basename(t);this.segments.unshift(e),t=n,n=EP(t)}this.segments.unshift(t)}else{h(e.length>0,`Parameter 'itemPath' must not be an empty array`);for(let t=0;te.getLiteral(t)).filter(e=>!o&&!(o=e===``));this.searchPath=new pI(s).toString(),this.rootRegExp=new RegExp(e.regExpEscape(s[0]),mI?`i`:``),this.isImplicitPattern=n;let c={dot:!0,nobrace:!0,nocase:mI,nocomment:!0,noext:!0,nonegate:!0};a=mI?a.replace(/\\/g,`/`):a,this.minimatch=new dI(a,c)}match(e){return this.segments[this.segments.length-1]===`**`?(e=AP(e),!e.endsWith(u.sep)&&this.isImplicitPattern===!1&&(e=`${e}${u.sep}`)):e=jP(e),this.minimatch.match(e)?this.trailingSeparator?MP.Directory:MP.All:MP.None}partialMatch(e){return e=jP(e),EP(e)===e?this.rootRegExp.test(e):this.minimatch.matchOne(e.split(mI?/\\+/:/\/+/),this.minimatch.set[0],!0)}static globEscape(e){return(mI?e:e.replace(/\\/g,`\\\\`)).replace(/(\[)(?=[^/]+\])/g,`[[]`).replace(/\?/g,`[?]`).replace(/\*/g,`[*]`)}static fixupPattern(n,r){h(n,`pattern cannot be empty`);let i=new pI(n).segments.map(t=>e.getLiteral(t));if(h(i.every((e,t)=>(e!==`.`||t===0)&&e!==`..`),`Invalid pattern '${n}'. Relative pathing '.' and '..' is not allowed.`),h(!kP(n)||i[0],`Invalid pattern '${n}'. Root segment must not contain globs.`),n=AP(n),n===`.`||n.startsWith(`.${u.sep}`))n=e.globEscape(process.cwd())+n.substr(1);else if(n===`~`||n.startsWith(`~${u.sep}`))r||=t.homedir(),h(r,`Unable to determine HOME directory`),h(OP(r),`Expected HOME directory to be a rooted path. Actual '${r}'`),n=e.globEscape(r)+n.substr(1);else if(mI&&(n.match(/^[A-Z]:$/i)||n.match(/^[A-Z]:[^\\]/i))){let t=DP(`C:\\dummy-root`,n.substr(0,2));n.length>2&&!t.endsWith(`\\`)&&(t+=`\\`),n=e.globEscape(t)+n.substr(2)}else if(mI&&(n===`\\`||n.match(/^\\[^\\]/))){let t=DP(`C:\\dummy-root`,`\\`);t.endsWith(`\\`)||(t+=`\\`),n=e.globEscape(t)+n.substr(1)}else n=DP(e.globEscape(process.cwd()),n);return AP(n)}static getLiteral(e){let t=``;for(let n=0;n=0){if(r.length>1)return``;if(r){t+=r,n=i;continue}}}t+=r}return t}static regExpEscape(e){return e.replace(/[[\\^$.|?*+()]/g,`\\$&`)}},gI=class{constructor(e,t){this.path=e,this.level=t}},_I=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},vI=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}},yI=function(e){return this instanceof yI?(this.v=e,this):new yI(e)},bI=function(e,t,n){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var r=n.apply(e,t||[]),i,a=[];return i=Object.create((typeof AsyncIterator==`function`?AsyncIterator:Object).prototype),s(`next`),s(`throw`),s(`return`,o),i[Symbol.asyncIterator]=function(){return this},i;function o(e){return function(t){return Promise.resolve(t).then(e,d)}}function s(e,t){r[e]&&(i[e]=function(t){return new Promise(function(n,r){a.push([e,t,n,r])>1||c(e,t)})},t&&(i[e]=t(i[e])))}function c(e,t){try{l(r[e](t))}catch(e){f(a[0][3],e)}}function l(e){e.value instanceof yI?Promise.resolve(e.value.v).then(u,d):f(a[0][2],e)}function u(e){c(`next`,e)}function d(e){c(`throw`,e)}function f(e,t){e(t),a.shift(),a.length&&c(a[0][0],a[0][1])}};const xI=process.platform===`win32`;var SI=class e{constructor(e){this.patterns=[],this.searchPaths=[],this.options=wP(e)}getSearchPaths(){return this.searchPaths.slice()}glob(){return _I(this,void 0,void 0,function*(){var e,t,n,r;let i=[];try{for(var a=!0,o=vI(this.globGenerator()),s;s=yield o.next(),e=s.done,!e;a=!0){r=s.value,a=!1;let e=r;i.push(e)}}catch(e){t={error:e}}finally{try{!a&&!e&&(n=o.return)&&(yield n.call(o))}finally{if(t)throw t.error}}return i})}globGenerator(){return bI(this,arguments,function*(){let t=wP(this.options),n=[];for(let e of this.patterns)n.push(e),t.implicitDescendants&&(e.trailingSeparator||e.segments[e.segments.length-1]!==`**`)&&n.push(new hI(e.negate,!0,e.segments.concat(`**`)));let r=[];for(let e of PP(n)){L(`Search path '${e}'`);try{yield yI(a.promises.lstat(e))}catch(e){if(e.code===`ENOENT`)continue;throw e}r.unshift(new gI(e,1))}let i=[];for(;r.length;){let o=r.pop(),s=FP(n,o.path),c=!!s||IP(n,o.path);if(!s&&!c)continue;let l=yield yI(e.stat(o,t,i));if(l&&!(t.excludeHiddenFiles&&u.basename(o.path).match(/^\./)))if(l.isDirectory()){if(s&MP.Directory&&t.matchDirectories)yield yield yI(o.path);else if(!c)continue;let e=o.level+1,n=(yield yI(a.promises.readdir(o.path))).map(t=>new gI(u.join(o.path,t),e));r.push(...n.reverse())}else s&MP.File&&(yield yield yI(o.path))}})}static create(t,n){return _I(this,void 0,void 0,function*(){let r=new e(n);xI&&(t=t.replace(/\r\n/g,` `),t=t.replace(/\r/g,` `));let i=t.split(` -`).map(e=>e.trim());for(let e of i)if(!e||e.startsWith(`#`))continue;else r.patterns.push(new tI(e));return r.searchPaths.push(...bP(r.patterns)),r})}static stat(e,t,n){return rI(this,void 0,void 0,function*(){let r;if(t.followSymbolicLinks)try{r=yield a.promises.stat(e.path)}catch(n){if(n.code===`ENOENT`){if(t.omitBrokenSymbolicLinks){R(`Broken symlink '${e.path}'`);return}throw Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}else r=yield a.promises.lstat(e.path);if(r.isDirectory()&&t.followSymbolicLinks){let t=yield a.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(e=>e===t)){R(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return}n.push(t)}return r})}},lI=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},uI=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}};function dI(e,t){return lI(this,arguments,void 0,function*(e,t,n=!1){var r,o,s,c;let l=n?Rr:R,d=!1,f=t||(process.env.GITHUB_WORKSPACE??process.cwd()),p=i.createHash(`sha256`),m=0;try{for(var h=!0,g=uI(e.globGenerator()),v;v=yield g.next(),r=v.done,!r;h=!0){c=v.value,h=!1;let e=c;if(l(e),!e.startsWith(`${f}${u.sep}`)){l(`Ignore '${e}' since it is not under GITHUB_WORKSPACE.`);continue}if(a.statSync(e).isDirectory()){l(`Skip directory '${e}'.`);continue}let t=i.createHash(`sha256`);yield _.promisify(me.pipeline)(a.createReadStream(e),t),p.write(t.digest()),m++,d||=!0}}catch(e){o={error:e}}finally{try{!h&&!r&&(s=g.return)&&(yield s.call(g))}finally{if(o)throw o.error}}return p.end(),d?(l(`Found ${m} files to hash.`),p.digest(`hex`)):(l(`No matches found for glob`),``)})}var fI=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function pI(e,t){return fI(this,void 0,void 0,function*(){return yield cI.create(e,t)})}function mI(e){return fI(this,arguments,void 0,function*(e,t=``,n,r=!1){let i=!0;return n&&typeof n.followSymbolicLinks==`boolean`&&(i=n.followSymbolicLinks),dI(yield pI(e,{followSymbolicLinks:i}),t,r)})}async function hI(e){let t=Od(e),n=jd(e.cacheDependencyPath,t);if(!n){Lr(e.cacheDependencyPath?`No lock file found for cache-dependency-path: ${e.cacheDependencyPath}. Skipping cache restore.`:`No lock file found in project directory: ${t}. Skipping cache restore.`),Nr(`cache-hit`,!1);return}Rr(`Using lock file: ${n.path}`);let r=M(n.path);Rr(`Resolving dependency cache directory in: ${r}`);let i=await Nd(n.type,r);if(!i.length){Lr(`No cache directories found for ${n.type} in ${r}. Skipping cache restore.`),Nr(`cache-hit`,!1);return}R(`Cache paths: ${i.join(`, `)}`),Vr(`CACHE_PATHS`,JSON.stringify(i));let a=process.env.RUNNER_OS||pe(),o=de(),s=await mI(n.path);if(!s)throw Error(`Failed to generate hash for lock file: ${n.path}`);let c=`vite-plus-${a}-${o}-${n.type}-${s}`,l=[`vite-plus-${a}-${o}-${n.type}-`,`vite-plus-${a}-${o}-`];R(`Primary key: ${c}`),R(`Restore keys: ${l.join(`, `)}`),Vr(`CACHE_PRIMARY_KEY`,c);let u=await iP(i,c,l);u?(Rr(`Cache restored from key: ${u}`),Vr(`CACHE_MATCHED_KEY`,u),Nr(`cache-hit`,!0)):(Rr(`Cache not found`),Nr(`cache-hit`,!1))}async function gI(){let e=Hr(`CACHE_PRIMARY_KEY`),t=Hr(`CACHE_MATCHED_KEY`),n=Hr(`CACHE_PATHS`);if(!e){Rr(`No cache key found. Skipping cache save.`);return}if(!n){Rr(`No cache paths found. Skipping cache save.`);return}if(e===t){Rr(`Cache hit on primary key "${e}". Skipping save.`);return}let r=JSON.parse(n);if(!r.length){Rr(`Empty cache paths. Skipping cache save.`);return}try{if(await sP(r,e)===-1){Lr(`Cache save failed or was skipped.`);return}Rr(`Cache saved with key: ${e}`)}catch(e){Lr(`Failed to save cache: ${String(e)}`)}}function _I(e,t){let n=Dd(e,t||Ed()),r;try{r=ae(n,`utf-8`)}catch{throw Error(`node-version-file not found: ${n}`)}let i=j(n),a;if(a=i===`.tool-versions`?bI(r):i===`package.json`?SI(r):vI(r),!a)throw Error(`No Node.js version found in ${e}`);return a=a.replace(/^v/i,``),Rr(`Resolved Node.js version '${a}' from ${e}`),a}function vI(e){for(let t of e.split(` -`)){let e=(t.includes(`#`)?t.slice(0,t.indexOf(`#`)):t).trim();if(e)return yI(e)}}function yI(e){let t=e.toLowerCase();return t===`node`||t===`stable`?`latest`:e}function bI(e){for(let t of e.split(` -`)){let e=t.trim();if(!e||e.startsWith(`#`))continue;let[n,...r]=e.split(/\s+/);if(!(n!==`nodejs`&&n!==`node`)){for(let e of r)if(xI(e))return e}}}function xI(e){return!!e&&e!==`system`&&!e.startsWith(`ref:`)&&!e.startsWith(`path:`)}function SI(e){let t;try{t=JSON.parse(e)}catch{throw Error(`Failed to parse package.json: invalid JSON`)}let n=t.devEngines;if(n?.runtime){let e=CI(n.runtime);if(e)return e}let r=t.engines;if(r?.node&&typeof r.node==`string`)return r.node}function CI(e){let t=Array.isArray(e)?e:[e];for(let e of t)if(e?.name===`node`&&typeof e.version==`string`)return e.version}function wI(){return te(process.env.RUNNER_TEMP||process.cwd(),`.npmrc`)}function TI(e){return e.replace(/^\w+:/,``)}function EI(e){return(TI(e)+`:_authtoken`).toLowerCase()}function DI(e){return`${TI(e)}:_authToken=\${NODE_AUTH_TOKEN}`}function OI(e){try{return ae(e,`utf8`)}catch(e){if(e.code===`ENOENT`)return;throw e}}function kI(e,t){let n;try{n=new URL(e)}catch{throw Error(`Invalid registry-url: "${e}". Must be a valid URL.`)}AI(n.href.endsWith(`/`)?n.href:n.href+`/`,wI(),t)}function AI(e,t,n){n||new URL(e).hostname===`npm.pkg.github.com`&&(n=process.env.GITHUB_REPOSITORY_OWNER);let r=``;n&&(r=(n.startsWith(`@`)?n:`@`+n).toLowerCase()+`:`),R(`Setting auth in ${t}`);let i=TI(e).toLowerCase(),a=[],o=OI(t);if(o!==void 0)for(let e of o.split(/\r?\n/)){let t=e.toLowerCase();t.startsWith(`${r}registry`)||t.startsWith(i)&&t.includes(`_authtoken`)||a.push(e)}a.push(DI(e),`${r}registry=${e}`),ce(t,a.join(ue)),Or(`NPM_CONFIG_USERCONFIG`,t),Or(`PNPM_CONFIG_USERCONFIG`,t),Or(`NODE_AUTH_TOKEN`,process.env.NODE_AUTH_TOKEN||`XXXXX-XXXXX-XXXXX-XXXXX`)}const jI=new Set([`GITHUB_TOKEN`]),MI=new Set([`PATH`,`HOME`,`USERPROFILE`,`TMPDIR`,`CI`]);function NI(e){return MI.has(e)||e.startsWith(`RUNNER_`)?!0:e.startsWith(`GITHUB_`)?!jI.has(e):!1}function PI(e){let t=new Set,n=new Set,r=new Set;for(let i of e.split(/\r?\n/)){let e=i.trim();if(!e||e.startsWith(`;`)||e.startsWith(`#`))continue;let a=e.indexOf(`=`);if(a<0)continue;let o=e.slice(0,a).trim().toLowerCase(),s=e.slice(a+1).trim();(o===`registry`||o.endsWith(`:registry`))&&(s.includes("${")||t.add(s.endsWith(`/`)?s:s+`/`)),o.startsWith(`//`)&&o.endsWith(`:_authtoken`)&&n.add(o);for(let e of s.matchAll(/\$\{(\w+)\}/g))r.add(e[1])}return{registriesNeedingAuth:[...t].filter(e=>!n.has(EI(e))),envVarRefs:r}}function FI(e){let t=wI(),n=new Set(e.map(EI)),r=OI(t),i=[...(r===void 0?[]:r.split(/\r?\n/)).filter(e=>{let t=e.indexOf(`=`);return t<=0?!0:!n.has(e.slice(0,t).trim().toLowerCase())}),...e.map(DI)].join(ue);if(Or(`NPM_CONFIG_USERCONFIG`,t),Or(`PNPM_CONFIG_USERCONFIG`,t),r===i){R(`Supplemental .npmrc at ${t} already current`);return}ce(t,i),Rr(`Wrote _authToken entries to ${t} for registries: ${e.join(`, `)}`)}function II(e){let t=N(e,`.npmrc`),n=OI(t);if(n===void 0)return;let{registriesNeedingAuth:r,envVarRefs:i}=PI(n);process.env.NODE_AUTH_TOKEN&&r.length>0&&(FI(r),i.add(`NODE_AUTH_TOKEN`));let a=[...i].filter(e=>!NI(e)&&!!process.env[e]);if(a.length===0){R(`Project .npmrc at ${t}: no auth env vars to propagate`);return}Rr(`Detected project .npmrc at ${t}. Propagating auth env vars: ${a.join(`, `)}`);for(let e of a)Or(e,process.env[e])}async function LI(e){Vr(`IS_POST`,`true`);let t=Od(e),n=e.nodeVersion;!n&&e.nodeVersionFile&&(n=_I(e.nodeVersionFile,t)),await zd(e),n&&(Rr(`Setting up Node.js ${n} via vp env use...`),await Tr(`vp`,[`env`,`use`,n])),e.registryUrl?kI(e.registryUrl,e.scope):II(t),e.cache&&await hI(e),e.runInstall.length>0&&await Ud(e),await RI(t)}async function RI(e){try{let t=(await Er(`vp`,[`--version`],{cwd:e,silent:!0})).stdout.trim();Rr(t);let n=t.match(/Global:\s*v?([\d.]+[^\s]*)/i)?.[1]||`unknown`;Vr(`INSTALLED_VERSION`,n),Nr(`version`,n)}catch(e){Lr(`Could not get vp version: ${String(e)}`),Nr(`version`,`unknown`)}}async function zI(e){e.cache&&await gI()}async function BI(){let e=Cd();Hr(`IS_POST`)===`true`?await zI(e):await LI(e)}BI().catch(e=>{console.error(e),Pr(e instanceof Error?e.message:String(e))});export{}; \ No newline at end of file +`).map(e=>e.trim());for(let e of i)if(!e||e.startsWith(`#`))continue;else r.patterns.push(new hI(e));return r.searchPaths.push(...PP(r.patterns)),r})}static stat(e,t,n){return _I(this,void 0,void 0,function*(){let r;if(t.followSymbolicLinks)try{r=yield a.promises.stat(e.path)}catch(n){if(n.code===`ENOENT`){if(t.omitBrokenSymbolicLinks){L(`Broken symlink '${e.path}'`);return}throw Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw n}else r=yield a.promises.lstat(e.path);if(r.isDirectory()&&t.followSymbolicLinks){let t=yield a.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(e=>e===t)){L(`Symlink cycle detected for path '${e.path}' and realpath '${t}'`);return}n.push(t)}return r})}},CI=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})},wI=function(e){if(!Symbol.asyncIterator)throw TypeError(`Symbol.asyncIterator is not defined.`);var t=e[Symbol.asyncIterator],n;return t?t.call(e):(e=typeof __values==`function`?__values(e):e[Symbol.iterator](),n={},r(`next`),r(`throw`),r(`return`),n[Symbol.asyncIterator]=function(){return this},n);function r(t){n[t]=e[t]&&function(n){return new Promise(function(r,a){n=e[t](n),i(r,a,n.done,n.value)})}}function i(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}};function TI(e,t){return CI(this,arguments,void 0,function*(e,t,n=!1){var r,o,s,c;let l=n?R:L,d=!1,f=t||(process.env.GITHUB_WORKSPACE??process.cwd()),p=i.createHash(`sha256`),m=0;try{for(var h=!0,g=wI(e.globGenerator()),v;v=yield g.next(),r=v.done,!r;h=!0){c=v.value,h=!1;let e=c;if(l(e),!e.startsWith(`${f}${u.sep}`)){l(`Ignore '${e}' since it is not under GITHUB_WORKSPACE.`);continue}if(a.statSync(e).isDirectory()){l(`Skip directory '${e}'.`);continue}let t=i.createHash(`sha256`);yield _.promisify(ge.pipeline)(a.createReadStream(e),t),p.write(t.digest()),m++,d||=!0}}catch(e){o={error:e}}finally{try{!h&&!r&&(s=g.return)&&(yield s.call(g))}finally{if(o)throw o.error}}return p.end(),d?(l(`Found ${m} files to hash.`),p.digest(`hex`)):(l(`No matches found for glob`),``)})}var EI=function(e,t,n,r){function i(e){return e instanceof n?e:new n(function(t){t(e)})}return new(n||=Promise)(function(n,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){e.done?n(e.value):i(e.value).then(o,s)}c((r=r.apply(e,t||[])).next())})};function DI(e,t){return EI(this,void 0,void 0,function*(){return yield SI.create(e,t)})}function OI(e){return EI(this,arguments,void 0,function*(e,t=``,n,r=!1){let i=!0;return n&&typeof n.followSymbolicLinks==`boolean`&&(i=n.followSymbolicLinks),TI(yield DI(e,{followSymbolicLinks:i}),t,r)})}async function kI(e){let t=jd(e),n=Pd(e.cacheDependencyPath,t);if(!n){Vr(e.cacheDependencyPath?`No lock file found for cache-dependency-path: ${e.cacheDependencyPath}. Skipping cache restore.`:`No lock file found in project directory: ${t}. Skipping cache restore.`),Lr(`cache-hit`,!1);return}R(`Using lock file: ${n.path}`);let r=M(n.path);R(`Resolving dependency cache directory in: ${r}`);let i=await Id(n.type,r);if(!i.length){Vr(`No cache directories found for ${n.type} in ${r}. Skipping cache restore.`),Lr(`cache-hit`,!1);return}L(`Cache paths: ${i.join(`, `)}`),Wr(`CACHE_PATHS`,JSON.stringify(i));let a=process.env.RUNNER_OS||he(),o=pe(),s=await OI(n.path);if(!s)throw Error(`Failed to generate hash for lock file: ${n.path}`);let c=`vite-plus-${a}-${o}-${n.type}-${s}`,l=[`vite-plus-${a}-${o}-${n.type}-`,`vite-plus-${a}-${o}-`];L(`Primary key: ${c}`),L(`Restore keys: ${l.join(`, `)}`),Wr(`CACHE_PRIMARY_KEY`,c);let u=await aP(i,c,l);u?(R(`Cache restored from key: ${u}`),Wr(`CACHE_MATCHED_KEY`,u),Lr(`cache-hit`,!0)):(R(`Cache not found`),Lr(`cache-hit`,!1))}async function AI(){let e=Gr(`CACHE_PRIMARY_KEY`),t=Gr(`CACHE_MATCHED_KEY`),n=Gr(`CACHE_PATHS`);if(!e){R(`No cache key found. Skipping cache save.`);return}if(!n){R(`No cache paths found. Skipping cache save.`);return}if(e===t){R(`Cache hit on primary key "${e}". Skipping save.`);return}let r=JSON.parse(n);if(!r.length){R(`Empty cache paths. Skipping cache save.`);return}try{if(await cP(r,e)===-1){Vr(`Cache save failed or was skipped.`);return}R(`Cache saved with key: ${e}`)}catch(e){Vr(`Failed to save cache: ${String(e)}`)}}function jI(e,t){let n=Ad(e,t||kd()),r;try{r=se(n,`utf-8`)}catch{throw Error(`node-version-file not found: ${n}`)}let i=j(n),a;if(a=i===`.tool-versions`?PI(r):i===`package.json`?II(r):MI(r),!a)throw Error(`No Node.js version found in ${e}`);return a=a.replace(/^v/i,``),R(`Resolved Node.js version '${a}' from ${e}`),a}function MI(e){for(let t of e.split(` +`)){let e=(t.includes(`#`)?t.slice(0,t.indexOf(`#`)):t).trim();if(e)return NI(e)}}function NI(e){let t=e.toLowerCase();return t===`node`||t===`stable`?`latest`:e}function PI(e){for(let t of e.split(` +`)){let e=t.trim();if(!e||e.startsWith(`#`))continue;let[n,...r]=e.split(/\s+/);if(!(n!==`nodejs`&&n!==`node`)){for(let e of r)if(FI(e))return e}}}function FI(e){return!!e&&e!==`system`&&!e.startsWith(`ref:`)&&!e.startsWith(`path:`)}function II(e){let t;try{t=JSON.parse(e)}catch{throw Error(`Failed to parse package.json: invalid JSON`)}let n=t.devEngines;if(n?.runtime){let e=LI(n.runtime);if(e)return e}let r=t.engines;if(r?.node&&typeof r.node==`string`)return r.node}function LI(e){let t=Array.isArray(e)?e:[e];for(let e of t)if(e?.name===`node`&&typeof e.version==`string`)return e.version}function RI(){return te(process.env.RUNNER_TEMP||process.cwd(),`.npmrc`)}function zI(e){return e.replace(/^\w+:/,``)}function BI(e){return(zI(e)+`:_authtoken`).toLowerCase()}function VI(e){return`${zI(e)}:_authToken=\${NODE_AUTH_TOKEN}`}function HI(e){try{return se(e,`utf8`)}catch(e){if(e.code===`ENOENT`)return;throw e}}function UI(e,t){let n;try{n=new URL(e)}catch{throw Error(`Invalid registry-url: "${e}". Must be a valid URL.`)}WI(n.href.endsWith(`/`)?n.href:n.href+`/`,RI(),t)}function WI(e,t,n){n||new URL(e).hostname===`npm.pkg.github.com`&&(n=process.env.GITHUB_REPOSITORY_OWNER);let r=``;n&&(r=(n.startsWith(`@`)?n:`@`+n).toLowerCase()+`:`),L(`Setting auth in ${t}`);let i=zI(e).toLowerCase(),a=[],o=HI(t);if(o!==void 0)for(let e of o.split(/\r?\n/)){let t=e.toLowerCase();t.startsWith(`${r}registry`)||t.startsWith(i)&&t.includes(`_authtoken`)||a.push(e)}a.push(VI(e),`${r}registry=${e}`),ue(t,a.join(fe)),Mr(`NPM_CONFIG_USERCONFIG`,t),Mr(`PNPM_CONFIG_USERCONFIG`,t),Mr(`NODE_AUTH_TOKEN`,process.env.NODE_AUTH_TOKEN||`XXXXX-XXXXX-XXXXX-XXXXX`)}const GI=new Set([`GITHUB_TOKEN`]),KI=new Set([`PATH`,`HOME`,`USERPROFILE`,`TMPDIR`,`CI`]);function qI(e){return KI.has(e)||e.startsWith(`RUNNER_`)?!0:e.startsWith(`GITHUB_`)?!GI.has(e):!1}function JI(e){let t=new Set,n=new Set,r=new Set;for(let i of e.split(/\r?\n/)){let e=i.trim();if(!e||e.startsWith(`;`)||e.startsWith(`#`))continue;let a=e.indexOf(`=`);if(a<0)continue;let o=e.slice(0,a).trim().toLowerCase(),s=e.slice(a+1).trim();(o===`registry`||o.endsWith(`:registry`))&&(s.includes("${")||t.add(s.endsWith(`/`)?s:s+`/`)),o.startsWith(`//`)&&o.endsWith(`:_authtoken`)&&n.add(o);for(let e of s.matchAll(/\$\{(\w+)\}/g))r.add(e[1])}return{registriesNeedingAuth:[...t].filter(e=>!n.has(BI(e))),envVarRefs:r}}function YI(e){let t=RI(),n=new Set(e.map(BI)),r=HI(t),i=[...(r===void 0?[]:r.split(/\r?\n/)).filter(e=>{let t=e.indexOf(`=`);return t<=0?!0:!n.has(e.slice(0,t).trim().toLowerCase())}),...e.map(VI)].join(fe);if(Mr(`NPM_CONFIG_USERCONFIG`,t),Mr(`PNPM_CONFIG_USERCONFIG`,t),r===i){L(`Supplemental .npmrc at ${t} already current`);return}ue(t,i),R(`Wrote _authToken entries to ${t} for registries: ${e.join(`, `)}`)}function XI(e){let t=N(e,`.npmrc`),n=HI(t);if(n===void 0)return;let{registriesNeedingAuth:r,envVarRefs:i}=JI(n);process.env.NODE_AUTH_TOKEN&&r.length>0&&(YI(r),i.add(`NODE_AUTH_TOKEN`));let a=[...i].filter(e=>!qI(e)&&!!process.env[e]);if(a.length===0){L(`Project .npmrc at ${t}: no auth env vars to propagate`);return}R(`Detected project .npmrc at ${t}. Propagating auth env vars: ${a.join(`, `)}`);for(let e of a)Mr(e,process.env[e])}async function ZI(e){Wr(`IS_POST`,`true`);let t=jd(e),n=e.nodeVersion;!n&&e.nodeVersionFile&&(n=jI(e.nodeVersionFile,t)),await Hd(e),n&&(R(`Setting up Node.js ${n} via vp env use...`),await kr(`vp`,[`env`,`use`,n])),e.registryUrl?UI(e.registryUrl,e.scope):XI(t),e.cache&&await kI(e);let r=await bP(e);e.runInstall.length>0&&await CP({...e,sfw:r}),await QI(t)}async function QI(e){try{let t=(await Ar(`vp`,[`--version`],{cwd:e,silent:!0})).stdout.trim();R(t);let n=t.match(/Global:\s*v?([\d.]+[^\s]*)/i)?.[1]||`unknown`;Wr(`INSTALLED_VERSION`,n),Lr(`version`,n)}catch(e){Vr(`Could not get vp version: ${String(e)}`),Lr(`version`,`unknown`)}}async function $I(e){e.cache&&await AI()}async function eL(){let e=Ed();Gr(`IS_POST`)===`true`?await $I(e):await ZI(e)}eL().catch(e=>{console.error(e),Rr(e instanceof Error?e.message:String(e))});export{}; \ No newline at end of file diff --git a/src/index.ts b/src/index.ts index a14e55d..da59701 100644 --- a/src/index.ts +++ b/src/index.ts @@ -2,6 +2,7 @@ import { saveState, getState, setFailed, info, setOutput, warning } from "@actio import { exec, getExecOutput } from "@actions/exec"; import { getInputs } from "./inputs.js"; import { installVitePlus } from "./install-viteplus.js"; +import { setupSfw } from "./install-sfw.js"; import { runViteInstall } from "./run-install.js"; import { restoreCache } from "./cache-restore.js"; import { saveCache } from "./cache-save.js"; @@ -43,9 +44,15 @@ async function runMain(inputs: Inputs): Promise { await restoreCache(inputs); } - // Step 6: Run vp install if requested + // Step 6: Install Socket Firewall Free if requested (must run before vp install). + // setupSfw centralizes all the decision branches: run-install disabled, sfw + // already on PATH (e.g. via socketdev/action@), supported platform + // (downloads our pinned binary), unsupported platform (falls back). + const effectiveSfw = await setupSfw(inputs); + + // Step 7: Run vp install if requested if (inputs.runInstall.length > 0) { - await runViteInstall(inputs); + await runViteInstall({ ...inputs, sfw: effectiveSfw }); } // Print version info at the end diff --git a/src/inputs.test.ts b/src/inputs.test.ts index a6c60c1..bdd6edd 100644 --- a/src/inputs.test.ts +++ b/src/inputs.test.ts @@ -29,6 +29,7 @@ describe("getInputs", () => { nodeVersionFile: undefined, workingDirectory: undefined, runInstall: [], + sfw: false, cache: false, cacheDependencyPath: undefined, }); @@ -106,6 +107,18 @@ describe("getInputs", () => { expect(inputs.cache).toBe(true); }); + it("should parse sfw input", () => { + vi.mocked(getInput).mockReturnValue(""); + vi.mocked(getBooleanInput).mockImplementation((name) => { + if (name === "sfw") return true; + return false; + }); + + const inputs = getInputs(); + + expect(inputs.sfw).toBe(true); + }); + it("should parse node-version-file input", () => { vi.mocked(getInput).mockImplementation((name) => { if (name === "node-version-file") return ".nvmrc"; diff --git a/src/inputs.ts b/src/inputs.ts index d7211c2..c3a9eb1 100644 --- a/src/inputs.ts +++ b/src/inputs.ts @@ -11,6 +11,7 @@ export function getInputs(): Inputs { nodeVersionFile: getInput("node-version-file") || undefined, workingDirectory: getInput("working-directory") || undefined, runInstall: parseRunInstall(getInput("run-install")), + sfw: getBooleanInput("sfw"), cache: getBooleanInput("cache"), cacheDependencyPath: getInput("cache-dependency-path") || undefined, registryUrl: getInput("registry-url") || undefined, diff --git a/src/install-sfw.test.ts b/src/install-sfw.test.ts new file mode 100644 index 0000000..03cd7a5 --- /dev/null +++ b/src/install-sfw.test.ts @@ -0,0 +1,66 @@ +import { describe, it, expect } from "vite-plus/test"; +import { getSfwAssetName, isSfwSupported } from "./install-sfw.js"; + +describe("getSfwAssetName", () => { + it("returns macOS arm64 asset", () => { + expect(getSfwAssetName("darwin", "arm64", false)).toBe("sfw-free-macos-arm64"); + }); + + it("returns macOS x64 asset", () => { + expect(getSfwAssetName("darwin", "x64", false)).toBe("sfw-free-macos-x86_64"); + }); + + it("ignores isMusl on darwin", () => { + expect(getSfwAssetName("darwin", "arm64", true)).toBe("sfw-free-macos-arm64"); + expect(getSfwAssetName("darwin", "x64", true)).toBe("sfw-free-macos-x86_64"); + }); + + it("returns Linux glibc arm64 asset", () => { + expect(getSfwAssetName("linux", "arm64", false)).toBe("sfw-free-linux-arm64"); + }); + + it("returns Linux glibc x64 asset", () => { + expect(getSfwAssetName("linux", "x64", false)).toBe("sfw-free-linux-x86_64"); + }); + + it("returns Linux musl arm64 asset", () => { + expect(getSfwAssetName("linux", "arm64", true)).toBe("sfw-free-musl-linux-arm64"); + }); + + it("returns Linux musl x64 asset", () => { + expect(getSfwAssetName("linux", "x64", true)).toBe("sfw-free-musl-linux-x86_64"); + }); + + it("returns Windows arm64 asset", () => { + expect(getSfwAssetName("win32", "arm64", false)).toBe("sfw-free-windows-arm64.exe"); + }); + + it("returns Windows x64 asset", () => { + expect(getSfwAssetName("win32", "x64", false)).toBe("sfw-free-windows-x86_64.exe"); + }); + + it("ignores isMusl on win32", () => { + expect(getSfwAssetName("win32", "x64", true)).toBe("sfw-free-windows-x86_64.exe"); + }); + + it("throws on unsupported platform", () => { + expect(() => getSfwAssetName("freebsd" as NodeJS.Platform, "x64", false)).toThrow( + /freebsd\/x64/, + ); + }); + + it("throws on unsupported arch", () => { + expect(() => getSfwAssetName("linux", "ia32", false)).toThrow(/linux\/ia32/); + }); + + it("includes libc in error message for unsupported Linux arch", () => { + expect(() => getSfwAssetName("linux", "ia32", true)).toThrow(/musl/); + expect(() => getSfwAssetName("linux", "ia32", false)).toThrow(/glibc/); + }); +}); + +describe("isSfwSupported", () => { + it("returns true on Linux, false elsewhere (matches current platform)", () => { + expect(isSfwSupported()).toBe(process.platform === "linux"); + }); +}); diff --git a/src/install-sfw.ts b/src/install-sfw.ts new file mode 100644 index 0000000..30f039b --- /dev/null +++ b/src/install-sfw.ts @@ -0,0 +1,243 @@ +import { restoreCache, saveCache } from "@actions/cache"; +import { info, warning, addPath } from "@actions/core"; +import { exec } from "@actions/exec"; +import { execFileSync } from "node:child_process"; +import { chmodSync, existsSync, mkdirSync } from "node:fs"; +import { join } from "node:path"; +import { setTimeout as sleep } from "node:timers/promises"; +import type { Inputs } from "./types.js"; + +// Pin sfw so a re-run of the same commit gets the same binary. Renovate +// watches SFW_VERSION (see .github/renovate.json customManagers entry) and +// opens PRs whenever SocketDev publishes a new sfw-free release, keeping +// us close to the latest malware-detection updates without giving up +// reproducibility. For stricter supply-chain hygiene, users can compose +// `socketdev/action@` ahead of this action — see README "Advanced: +// stricter supply chain via socketdev/action". +const SFW_VERSION = "v1.10.0"; +const SFW_RELEASE_BASE = `https://github.com/SocketDev/sfw-free/releases/download/${SFW_VERSION}`; +const INSTALL_MAX_ROUNDS = 2; +const INSTALL_RETRY_DELAY_MS = 2000; +const CURL_TIMEOUT_FLAGS = "--connect-timeout 5 --max-time 60"; +const PWSH_TIMEOUT_SEC = 60; + +// sfw is temporarily only enabled on Linux: sfw's CA cert has an empty +// Extended Key Usage extension that rustls (used by vp) rejects, so +// `sfw vp install` fails the TLS handshake on macOS / Windows before sfw can +// inspect anything. We also fall back when no sfw asset exists for the +// runner's arch (e.g., riscv64, ppc64 self-hosted Linux runners), so the +// action degrades gracefully instead of throwing. Tracking + cleanup +// checklist: https://github.com/voidzero-dev/setup-vp/issues/73 +export function isSfwSupported(): boolean { + if (process.platform !== "linux") return false; + // Defensive: `!!asset` keeps this correct even if `getSfwAssetName` is later + // refactored to return `undefined`/`null` instead of throw. The try/catch + // still covers the current throwing contract. + try { + const asset = getSfwAssetName(process.platform, process.arch, isMuslLinux()); + return !!asset; + } catch { + return false; + } +} + +export function isMuslLinux(): boolean { + if (process.platform !== "linux") return false; + try { + const report = process.report?.getReport() as + | { header?: { glibcVersionRuntime?: string } } + | undefined; + if (report?.header && !report.header.glibcVersionRuntime) { + return true; + } + } catch { + // fall through to filesystem fallback + } + return existsSync("/etc/alpine-release"); +} + +export function getSfwAssetName(platform: NodeJS.Platform, arch: string, isMusl: boolean): string { + if (platform === "darwin") { + if (arch === "arm64") return "sfw-free-macos-arm64"; + if (arch === "x64") return "sfw-free-macos-x86_64"; + } else if (platform === "linux") { + if (arch === "arm64") { + return isMusl ? "sfw-free-musl-linux-arm64" : "sfw-free-linux-arm64"; + } + if (arch === "x64") { + return isMusl ? "sfw-free-musl-linux-x86_64" : "sfw-free-linux-x86_64"; + } + } else if (platform === "win32") { + if (arch === "arm64") return "sfw-free-windows-arm64.exe"; + if (arch === "x64") return "sfw-free-windows-x86_64.exe"; + } + const libcSuffix = platform === "linux" ? ` (${isMusl ? "musl" : "glibc"})` : ""; + throw new Error(`Unsupported platform/arch for sfw: ${platform}/${arch}${libcSuffix}`); +} + +function getSfwBinDir(): string { + const tmp = process.env.RUNNER_TEMP || process.env.TMPDIR || process.env.TEMP || "/tmp"; + return join(tmp, "sfw-bin"); +} + +export async function installSfw(): Promise { + const assetName = getSfwAssetName(process.platform, process.arch, isMuslLinux()); + const url = `${SFW_RELEASE_BASE}/${assetName}`; + const binDir = getSfwBinDir(); + mkdirSync(binDir, { recursive: true }); + const binPath = join(binDir, process.platform === "win32" ? "sfw.exe" : "sfw"); + + // Try the GHA cache first so we don't redownload ~130 MB on every run and + // we get a fallback when the GitHub releases CDN flakes. Key includes the + // pinned version + platform + arch + libc; no restoreKeys, so we never + // accept a different version's binary as a fallback. All cache calls are + // best-effort: any failure falls through to the download path. + const cacheKey = `sfw-${SFW_VERSION}-${process.platform}-${process.arch}-${isMuslLinux() ? "musl" : "glibc"}`; + let cacheHit = false; + try { + const matchedKey = await restoreCache([binDir], cacheKey); + if (matchedKey && existsSync(binPath)) { + if (process.platform !== "win32") { + chmodSync(binPath, 0o755); + } + addPath(binDir); + info(`sfw restored from cache: ${matchedKey}`); + cacheHit = true; + return; + } + } catch (error) { + warning( + `sfw cache restore failed (${error instanceof Error ? error.message : String(error)}); falling through to download.`, + ); + } + + info(`Installing sfw from ${url}...`); + + const maxAttempts = INSTALL_MAX_ROUNDS; + let failureReason = ""; + for (let attempt = 1; attempt <= maxAttempts; attempt++) { + try { + const exitCode = await runDownloadCommand(url, binPath); + if (exitCode === 0 && existsSync(binPath)) { + if (process.platform !== "win32") { + chmodSync(binPath, 0o755); + } + addPath(binDir); + info(`sfw installed at ${binPath}`); + // Save to cache for future runs. Skipped on cache-hit branch (return + // above). On a re-key collision @actions/cache throws + // ReserveCacheError — swallow it like any other cache failure. + if (!cacheHit) { + try { + await saveCache([binDir], cacheKey); + info(`sfw cached under key: ${cacheKey}`); + } catch (error) { + warning( + `sfw cache save failed (${error instanceof Error ? error.message : String(error)}); continuing.`, + ); + } + } + return; + } + failureReason = `exit code ${exitCode}`; + } catch (error) { + failureReason = error instanceof Error ? error.message : String(error); + } + + if (attempt < maxAttempts) { + warning( + `Failed to install sfw from ${url} (${failureReason}). Retrying in ${INSTALL_RETRY_DELAY_MS}ms... (attempt ${attempt + 1}/${maxAttempts})`, + ); + await sleep(INSTALL_RETRY_DELAY_MS); + } + } + + throw new Error( + `Failed to install sfw from ${url} after ${maxAttempts} attempts: ${failureReason}`, + ); +} + +// Returns the absolute path to a pre-existing sfw binary on PATH, or null. +// Used to detect when the user composed `socketdev/action@` (or +// installed sfw via some other means) before invoking this action. +export function findSfwOnPath(): string | null { + const lookupCmd = process.platform === "win32" ? "where" : "which"; + try { + const stdout = execFileSync(lookupCmd, ["sfw"], { + encoding: "utf8", + stdio: ["ignore", "pipe", "ignore"], + }); + const firstLine = stdout.split(/\r?\n/).find((line) => line.trim().length > 0); + return firstLine ? firstLine.trim() : null; + } catch { + return null; + } +} + +// Decide what to do with `sfw: true`. Returns whether `vp install` should be +// wrapped with sfw. Centralizes all the cases and emits one log message per +// branch so the chosen path is always visible. +// +// Order is important: the macOS/Windows platform gate fires BEFORE the +// PATH-detection branch because the rustls TLS handshake failure (#73) is a +// platform-wide property of vp's HTTP client — it doesn't matter how sfw got +// installed; the handshake still fails. So even if a user composes +// `socketdev/action@` on macOS/Windows (which would happily put sfw on +// PATH), we still fall back to plain `vp install`. +export async function setupSfw(inputs: Inputs): Promise { + if (!inputs.sfw) return false; + + if (inputs.runInstall.length === 0) { + info("sfw was requested but `run-install` is disabled; sfw will not be invoked."); + return false; + } + + // Platform hard-gate. Linux-only until upstream #73 ships. + if (process.platform !== "linux") { + const env = `process.platform=${process.platform}, process.arch=${process.arch}`; + warning( + `sfw is temporarily not supported on macOS/Windows (${env}); falling back to plain \`vp install\` even if sfw is on PATH. Tracking: https://github.com/voidzero-dev/setup-vp/issues/73`, + ); + return false; + } + + // On Linux: prefer an externally-provided sfw — typically installed by a + // prior `socketdev/action@` step. That path lets users SHA-pin sfw via + // Renovate against the upstream action repo, which is stricter than our + // bundled releases/download URL. + const existing = findSfwOnPath(); + if (existing) { + info(`Using existing sfw on PATH: ${existing}`); + return true; + } + + if (!isSfwSupported()) { + const env = `process.platform=${process.platform}, process.arch=${process.arch}, musl=${isMuslLinux()}`; + warning( + `sfw has no published binary for this Linux runner's architecture (${env}) and none was found on PATH; falling back to plain \`vp install\`. To enable sfw on this arch, install a working sfw binary on PATH in an earlier step (e.g. via \`socketdev/action@\` or a custom install). Tracking: https://github.com/voidzero-dev/setup-vp/issues/73`, + ); + return false; + } + + await installSfw(); + return true; +} + +async function runDownloadCommand(url: string, outPath: string): Promise { + const options = { ignoreReturnCode: true }; + if (process.platform === "win32") { + return exec( + "pwsh", + [ + "-Command", + `Invoke-WebRequest -UseBasicParsing -Uri '${url}' -OutFile '${outPath}' -TimeoutSec ${PWSH_TIMEOUT_SEC}`, + ], + options, + ); + } + return exec( + "bash", + ["-c", `set -o pipefail; curl -fsSL ${CURL_TIMEOUT_FLAGS} -o '${outPath}' '${url}'`], + options, + ); +} diff --git a/src/install-viteplus.test.ts b/src/install-viteplus.test.ts index 128f13a..49593f4 100644 --- a/src/install-viteplus.test.ts +++ b/src/install-viteplus.test.ts @@ -24,6 +24,7 @@ const baseInputs: Inputs = { nodeVersionFile: undefined, workingDirectory: undefined, runInstall: [], + sfw: false, cache: false, cacheDependencyPath: undefined, registryUrl: undefined, diff --git a/src/run-install.ts b/src/run-install.ts index 908e39a..c71e217 100644 --- a/src/run-install.ts +++ b/src/run-install.ts @@ -15,18 +15,20 @@ export async function runViteInstall(inputs: Inputs): Promise { const projectDir = getConfiguredProjectDir(inputs); for (const options of inputs.runInstall) { - const args = ["install"]; + const installArgs = ["install"]; if (options.args) { - args.push(...options.args); + installArgs.push(...options.args); } + const cmd = inputs.sfw ? "sfw" : "vp"; + const args = inputs.sfw ? ["vp", ...installArgs] : installArgs; const cwd = getInstallCwd(projectDir, options.cwd); - const cmdStr = `vp ${args.join(" ")}`; + const cmdStr = `${cmd} ${args.join(" ")}`; startGroup(`Running ${cmdStr} in ${cwd}...`); try { - const { exitCode, stdout, stderr } = await getExecOutput("vp", args, { + const { exitCode, stdout, stderr } = await getExecOutput(cmd, args, { cwd, ignoreReturnCode: true, }); diff --git a/src/types.ts b/src/types.ts index be76545..b6d188a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -23,6 +23,7 @@ export interface Inputs { readonly nodeVersionFile?: string; readonly workingDirectory?: string; readonly runInstall: RunInstall[]; + readonly sfw: boolean; readonly cache: boolean; readonly cacheDependencyPath?: string; readonly registryUrl?: string; diff --git a/src/utils.test.ts b/src/utils.test.ts index fcd9a52..0d3169c 100644 --- a/src/utils.test.ts +++ b/src/utils.test.ts @@ -294,6 +294,7 @@ describe("getConfiguredProjectDir", () => { nodeVersionFile: undefined, workingDirectory: "web", runInstall: [], + sfw: false, cache: false, cacheDependencyPath: undefined, registryUrl: undefined, @@ -310,6 +311,7 @@ describe("getConfiguredProjectDir", () => { nodeVersionFile: undefined, workingDirectory: undefined, runInstall: [], + sfw: false, cache: false, cacheDependencyPath: undefined, registryUrl: undefined, @@ -328,6 +330,7 @@ describe("getConfiguredProjectDir", () => { nodeVersionFile: undefined, workingDirectory: "web", runInstall: [], + sfw: false, cache: false, cacheDependencyPath: undefined, registryUrl: undefined, @@ -348,6 +351,7 @@ describe("getConfiguredProjectDir", () => { nodeVersionFile: undefined, workingDirectory: "web", runInstall: [], + sfw: false, cache: false, cacheDependencyPath: undefined, registryUrl: undefined, @@ -381,6 +385,7 @@ describe("resolvePath", () => { nodeVersionFile: undefined, workingDirectory: "web", runInstall: [], + sfw: false, cache: false, cacheDependencyPath: undefined, registryUrl: undefined,