Compare commits

..
55 Commits
Author SHA1 Message Date
CrazyMax 3f1ab1ab0e Merge pull request #357 from docker/dependabot/github_actions/docker/bake-action-7.5.0
build(deps): bump docker/bake-action from 7.4.0 to 7.5.0
2026-11-05 15:45:43 +01:00
CrazyMax 4d59497d0d Merge pull request #354 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.108.0
build(deps): bump @docker/actions-toolkit from 0.107.0 to 0.109.0
2026-11-05 15:45:22 +01:00
CrazyMax ce5ffadc20 ci: enable embedded containerd on Windows
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-11-05 15:31:45 +01:00
github-actions[bot] 0e00f9aa8a [dependabot skip] chore: update generated content 2026-11-05 13:44:14 +00:00
dependabot[bot] b9ea3f3d86 build(deps): bump @docker/actions-toolkit from 0.107.0 to 0.109.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.107.0 to 0.109.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.107.0...v0.109.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.108.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 13:43:22 +00:00
dependabot[bot] b854b8f9e1 build(deps): bump docker/bake-action from 7.4.0 to 7.5.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/018cb6412ab401ebaa809aa5f85966b74628600f...59cb1203cd42bcefd40a1b6d73b589e48c86040e)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 7.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 13:42:22 +00:00
CrazyMax 808fb6eb18 Merge pull request #356 from docker/dependabot/github_actions/codeql-actions-54bdb232ba
build(deps): bump the codeql-actions group with 2 updates
2026-11-05 14:41:15 +01:00
CrazyMax 627bb10107 Merge pull request #358 from docker/dependabot/github_actions/docker/bake-action/subaction/matrix-7.5.0
build(deps): bump docker/bake-action/subaction/matrix from 7.4.0 to 7.5.0
2026-11-05 14:41:04 +01:00
CrazyMax 316c72cb5e Merge pull request #355 from crazy-max/ci-automate-docker-version-updates
ci: update docker to 29.9.3 and automate version updates
2026-11-05 14:40:25 +01:00
CrazyMax 78ba0d8a93 ci: update docker to 29.9.3 and automate version updates
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-11-05 14:13:03 +01:00
dependabot[bot] e78aa85057 build(deps): bump docker/bake-action/subaction/matrix
Bumps [docker/bake-action/subaction/matrix](https://github.com/docker/bake-action) from 7.4.0 to 7.5.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/018cb6412ab401ebaa809aa5f85966b74628600f...59cb1203cd42bcefd40a1b6d73b589e48c86040e)

---
updated-dependencies:
- dependency-name: docker/bake-action/subaction/matrix
  dependency-version: 7.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 10:54:54 +00:00
dependabot[bot] aba1a25acc build(deps): bump the codeql-actions group with 2 updates
Bumps the codeql-actions group with 2 updates: [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.39.0 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee...1fc58d04a4d4374f921bdac573c3811c240f9c26)

Updates `github/codeql-action/analyze` from 4.39.0 to 4.39.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee...1fc58d04a4d4374f921bdac573c3811c240f9c26)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: codeql-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-11-05 10:54:20 +00:00
CrazyMax bcf076d85e Merge pull request #352 from docker/dependabot/github_actions/actions/create-github-app-token-3.3.0
build(deps): bump actions/create-github-app-token from 3.2.0 to 3.3.0
2026-11-04 16:34:20 +01:00
CrazyMax 1448bfb7b5 Merge pull request #351 from docker/dependabot/github_actions/docker/build-push-action-7.4.0
build(deps): bump docker/build-push-action from 7.3.0 to 7.4.0
2026-11-04 16:34:04 +01:00
CrazyMax f76959ff88 Merge pull request #350 from docker/dependabot/github_actions/codecov/codecov-action-7.1.1
build(deps): bump codecov/codecov-action from 7.1.0 to 7.1.1
2026-11-04 16:33:52 +01:00
CrazyMax 15c7c6e594 Merge pull request #349 from docker/dependabot/github_actions/actions/setup-node-7.1.0
build(deps): bump actions/setup-node from 7.0.0 to 7.1.0
2026-11-04 16:33:39 +01:00
CrazyMax fe83eb3725 Merge pull request #348 from docker/dependabot/github_actions/codeql-actions-e40781d787
build(deps): bump the codeql-actions group with 2 updates
2026-11-04 16:33:27 +01:00
CrazyMax d85c72664f Merge pull request #353 from docker/dependabot/npm_and_yarn/undici-6.29.1
build(deps): bump undici from 6.28.1 to 6.29.1
2026-11-04 16:32:58 +01:00
github-actions[bot] ed739833fd [dependabot skip] chore: update generated content 2026-10-30 14:40:32 +00:00
dependabot[bot] c0ccecaed5 build(deps): bump undici from 6.28.1 to 6.29.1
Bumps [undici](https://github.com/nodejs/undici) from 6.28.1 to 6.29.1.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.28.1...v6.29.1)

---
updated-dependencies:
- dependency-name: undici
  dependency-version: 6.29.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-30 14:39:42 +00:00
dependabot[bot] 18d38a8d87 build(deps): bump actions/create-github-app-token from 3.2.0 to 3.3.0
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Changelog](https://github.com/actions/create-github-app-token/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/create-github-app-token/compare/bcd2ba49218906704ab6c1aa796996da409d3eb1...64ab729a6294000f5aa4a4bc0b73d1f32bc45510)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 10:55:04 +00:00
dependabot[bot] 1617d45564 build(deps): bump docker/build-push-action from 7.3.0 to 7.4.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/53b7df96c91f9c12dcc8a07bcb9ccacbed38856a...c3c9e263c25d99ce0380d002d59b67737d91b0dc)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 10:54:58 +00:00
dependabot[bot] fe693edf04 build(deps): bump codecov/codecov-action from 7.1.0 to 7.1.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 7.1.0 to 7.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/0b35c9ecc4f0529d0eb674914510c22f85b196b4...303a32d7a59b442fa8d48b6a1cc6825c09c847a5)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 7.1.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 10:54:51 +00:00
dependabot[bot] 230b735ec4 build(deps): bump actions/setup-node from 7.0.0 to 7.1.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/820762786026740c76f36085b0efc47a31fe5020...949feb2413d6458794dcd2491c4babbbce0c15c1)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 10:54:46 +00:00
dependabot[bot] 92b2109af5 build(deps): bump the codeql-actions group with 2 updates
Bumps the codeql-actions group with 2 updates: [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

Updates `github/codeql-action/analyze` from 4.38.3 to 4.39.0
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/24c54180a607b1449ed407dd24f251e4e9147c8d...6f2ac81f5cd81fe351a197ba0b00d91d03cd2aee)

---
updated-dependencies:
- dependency-name: github/codeql-action/init
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codeql-actions
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.39.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codeql-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-22 10:54:40 +00:00
CrazyMax 7ec28a0108 Merge pull request #345 from docker/deps/undock-version
chore(deps): update Undock version from v0.14.0 to v0.14.1
2026-10-21 15:01:33 +02:00
docker-ghactions[bot] e74dff5dab chore(deps): update Undock version from v0.14.0 to v0.14.1
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-21 12:21:05 +00:00
CrazyMax 7a2055af3c Merge pull request #346 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.106.0
build(deps): bump @docker/actions-toolkit from 0.100.0 to 0.107.0
2026-10-21 14:20:12 +02:00
github-actions[bot] 727c20074b [dependabot skip] chore: update generated content 2026-10-21 11:44:33 +00:00
dependabot[bot] 44815bd80c build(deps): bump @docker/actions-toolkit from 0.100.0 to 0.107.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.100.0 to 0.107.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.100.0...v0.107.0)

---
updated-dependencies:
- dependency-name: "@docker/actions-toolkit"
  dependency-version: 0.106.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-21 11:43:39 +00:00
CrazyMax f5bdd6ab65 Merge pull request #344 from docker/deps/regctl-version
chore(deps): update Regctl version from v0.11.6 to v0.11.7
2026-10-21 13:41:14 +02:00
docker-ghactions[bot] 8217deccad chore(deps): update Regctl version from v0.11.6 to v0.11.7
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-10-21 11:29:50 +00:00
CrazyMax c62f008f46 Merge pull request #330 from docker/dependabot/github_actions/docker/bake-action/subaction/matrix-7.4.0
build(deps): bump docker/bake-action/subaction/matrix from 7.3.0 to 7.4.0
2026-10-21 13:28:25 +02:00
CrazyMax 9250b54ce7 Merge pull request #347 from docker/dependabot/npm_and_yarn/vite-7.3.7
build(deps): bump vite from 7.3.6 to 7.3.7
2026-10-21 13:27:46 +02:00
CrazyMax 6161b5ec2a Merge pull request #341 from docker/dependabot/npm_and_yarn/source-map-js-1.2.2
build(deps): bump source-map-js from 1.2.1 to 1.2.2
2026-10-21 13:22:05 +02:00
CrazyMax ad526b4f45 Merge pull request #329 from docker/dependabot/github_actions/docker/bake-action-7.4.0
build(deps): bump docker/bake-action from 7.3.0 to 7.4.0
2026-10-21 13:21:43 +02:00
CrazyMax 02e0902573 Merge pull request #328 from docker/dependabot/github_actions/docker/setup-buildx-action-4.4.0
build(deps): bump docker/setup-buildx-action from 4.3.0 to 4.4.0
2026-10-21 13:21:24 +02:00
CrazyMax 97fc6b2da4 Merge pull request #327 from docker/dependabot/github_actions/codecov/codecov-action-7.1.0
build(deps): bump codecov/codecov-action from 7.0.0 to 7.1.0
2026-10-21 13:21:04 +02:00
dependabot[bot] 65d1b741a1 build(deps): bump vite from 7.3.6 to 7.3.7
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.6 to 7.3.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-version: 7.3.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-21 11:20:23 +00:00
CrazyMax 1f8aa9d677 Merge pull request #326 from docker/dependabot/github_actions/codeql-actions-03ad6eec6c
build(deps): bump the codeql-actions group across 1 directory with 2 updates
2026-10-21 13:19:27 +02:00
CrazyMax 3b315178e1 Merge pull request #332 from docker/dependabot/npm_and_yarn/ip-address-10.7.2
build(deps): bump ip-address from 10.4.0 to 10.7.2
2026-10-21 13:19:06 +02:00
CrazyMax 9153947780 Merge pull request #340 from docker/dependabot/npm_and_yarn/postcss-selector-parser-7.1.6
build(deps): bump postcss-selector-parser from 7.1.5 to 7.1.6
2026-10-21 13:18:39 +02:00
CrazyMax ab7c1c7179 Merge pull request #342 from docker/dependabot/npm_and_yarn/handlebars-4.7.10
build(deps): bump handlebars from 4.7.9 to 4.7.10
2026-10-21 13:18:18 +02:00
dependabot[bot] 0617a064c4 build(deps): bump the codeql-actions group across 1 directory with 2 updates
Bumps the codeql-actions group with 2 updates in the / directory: [github/codeql-action/init](https://github.com/github/codeql-action) and [github/codeql-action/analyze](https://github.com/github/codeql-action).


Updates `github/codeql-action/init` from 4.37.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e0647621c2984b5ed2f768cb892365bf2a616ad1...24c54180a607b1449ed407dd24f251e4e9147c8d)

Updates `github/codeql-action/analyze` from 4.37.2 to 4.38.3
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/e0647621c2984b5ed2f768cb892365bf2a616ad1...24c54180a607b1449ed407dd24f251e4e9147c8d)

---
updated-dependencies:
- dependency-name: github/codeql-action/analyze
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codeql-actions
- dependency-name: github/codeql-action/init
  dependency-version: 4.38.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: codeql-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-14 17:17:07 +00:00
github-actions[bot] be13163500 [dependabot skip] chore: update generated content 2026-10-13 09:11:02 +00:00
dependabot[bot] 99630f71f4 build(deps): bump handlebars from 4.7.9 to 4.7.10
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.9 to 4.7.10.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.10/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.9...v4.7.10)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 09:10:07 +00:00
dependabot[bot] ad63b39f00 build(deps): bump source-map-js from 1.2.1 to 1.2.2
Bumps [source-map-js](https://github.com/7rulnik/source-map-js) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/7rulnik/source-map-js/releases)
- [Changelog](https://github.com/7rulnik/source-map-js/blob/main/CHANGELOG.md)
- [Commits](https://github.com/7rulnik/source-map-js/compare/v1.2.1...v1.2.2)

---
updated-dependencies:
- dependency-name: source-map-js
  dependency-version: 1.2.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 09:09:49 +00:00
dependabot[bot] ef06307cc9 build(deps): bump postcss-selector-parser from 7.1.5 to 7.1.6
Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) from 7.1.5 to 7.1.6.
- [Release notes](https://github.com/postcss/postcss-selector-parser/releases)
- [Changelog](https://github.com/postcss/postcss-selector-parser/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-selector-parser/compare/7.1.5...7.1.6)

---
updated-dependencies:
- dependency-name: postcss-selector-parser
  dependency-version: 7.1.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-10-13 09:09:44 +00:00
CrazyMax a9800db2f4 Merge pull request #339 from crazy-max/ci-ubuntu-26
ci: update arm runners to ubuntu 26.04
2026-10-13 11:07:55 +02:00
CrazyMax 812b4ce9c9 ci: update arm runners to ubuntu 26.04
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-10-13 10:45:05 +02:00
dependabot[bot] 73e0008c12 build(deps): bump ip-address from 10.4.0 to 10.7.2
Bumps [ip-address](https://github.com/beaugunderson/ip-address) from 10.4.0 to 10.7.2.
- [Release notes](https://github.com/beaugunderson/ip-address/releases)
- [Commits](https://github.com/beaugunderson/ip-address/compare/v10.4.0...v10.7.2)

---
updated-dependencies:
- dependency-name: ip-address
  dependency-version: 10.7.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-29 06:16:02 +00:00
dependabot[bot] ea0f65b7c2 build(deps): bump docker/bake-action/subaction/matrix
Bumps [docker/bake-action/subaction/matrix](https://github.com/docker/bake-action) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b...018cb6412ab401ebaa809aa5f85966b74628600f)

---
updated-dependencies:
- dependency-name: docker/bake-action/subaction/matrix
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 10:53:07 +00:00
dependabot[bot] b5422ad403 build(deps): bump docker/bake-action from 7.3.0 to 7.4.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.3.0 to 7.4.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b...018cb6412ab401ebaa809aa5f85966b74628600f)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: 7.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 10:52:55 +00:00
dependabot[bot] eef3aa40b2 build(deps): bump docker/setup-buildx-action from 4.3.0 to 4.4.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/37fe631027851001ddb9b187196cc803df7f5f0e...594f3bf4285d9ea8dc53c9a0c9c4092420091003)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-17 10:52:39 +00:00
dependabot[bot] 31da0ce9e1 build(deps): bump codecov/codecov-action from 7.0.0 to 7.1.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/fb8b3582c8e4def4969c97caa2f19720cb33a72f...0b35c9ecc4f0529d0eb674914510c22f85b196b4)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-version: 7.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-16 10:53:02 +00:00
12 changed files with 527 additions and 703 deletions

No files matched your search

+14 -33
View File
@@ -20,7 +20,7 @@ on:
pull_request:
env:
DOCKER_VERSION: v27.3.1
DOCKER_VERSION: v29.9.3
DOCKER_BUILD_SUMMARY: false
jobs:
@@ -31,13 +31,13 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- ubuntu-26.04-arm
- macos-26-large
- windows-latest
version:
- ""
- v27.3.1
- type=image,tag=27.3.1
- v29.9.3
- type=image,tag=29.9.3
steps:
-
name: Checkout
@@ -55,7 +55,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- ubuntu-26.04-arm
- macos-26-large
- windows-latest
steps:
@@ -76,7 +76,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- ubuntu-26.04-arm
- macos-26-large
- windows-latest
steps:
@@ -92,7 +92,8 @@ jobs:
{
"debug": true,
"features": {
"containerd-snapshotter": true
"containerd-snapshotter": true,
"embedded-containerd": ${{ runner.os == 'Windows' }}
}
}
@@ -103,7 +104,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- ubuntu-26.04-arm
- macos-26-large
- windows-latest
steps:
@@ -163,13 +164,13 @@ jobs:
docker run -d -p 5000:5000 --restart=always --name registry registry:2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
uses: docker/setup-buildx-action@594f3bf4285d9ea8dc53c9a0c9c4092420091003 # v4.4.0
with:
driver: docker
driver-opts: network=host
-
name: Build and push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: ./test
push: true
@@ -202,13 +203,13 @@ jobs:
docker run -d -p 5000:5000 --restart=always --name registry registry:2
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@37fe631027851001ddb9b187196cc803df7f5f0e # v4.3.0
uses: docker/setup-buildx-action@594f3bf4285d9ea8dc53c9a0c9c4092420091003 # v4.4.0
with:
driver: docker
driver-opts: network=host
-
name: Build and push
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: ./test
push: true
@@ -281,7 +282,7 @@ jobs:
matrix:
os:
- ubuntu-latest
- ubuntu-24.04-arm
- ubuntu-26.04-arm
- macos-26-large
- windows-latest
steps:
@@ -325,23 +326,3 @@ jobs:
env:
UNDOCK_VERSION: ${{ matrix.undock_version }}
REGCTL_VERSION: ${{ matrix.regctl_version }}
docker-29:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-26-large
- windows-latest
steps:
-
name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Set up Docker
uses: ./
with:
version: v29.0.0-rc.1
channel: test
+3 -3
View File
@@ -30,17 +30,17 @@ jobs:
yarn --version
-
name: Set up Node
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ env.NODE_VERSION }}
-
name: Initialize CodeQL
uses: github/codeql-action/init@e0647621c2984b5ed2f768cb892365bf2a616ad1 # v4.37.2
uses: github/codeql-action/init@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2
with:
languages: javascript-typescript
build-mode: none
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@e0647621c2984b5ed2f768cb892365bf2a616ad1 # v4.37.2
uses: github/codeql-action/analyze@1fc58d04a4d4374f921bdac573c3811c240f9c26 # v4.39.2
with:
category: "/language:javascript-typescript"
+2 -2
View File
@@ -23,13 +23,13 @@ jobs:
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
-
name: Test
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
source: .
targets: test
-
name: Upload coverage
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
uses: codecov/codecov-action@303a32d7a59b442fa8d48b6a1cc6825c09c847a5 # v7.1.1
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
+33 -13
View File
@@ -27,13 +27,14 @@ jobs:
fail-fast: false
matrix:
dep:
- docker
- regctl
- undock
steps:
-
name: GitHub auth token from GitHub App
id: write-app
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}
@@ -91,6 +92,12 @@ jobs:
}
const dependencyConfigs = {
docker: {
name: 'Docker version',
branch: 'deps/docker-version',
sourcePath: '.github/docker-releases.json',
sourceUrl: 'https://github.com/docker/actions-toolkit/blob/main/.github/docker-releases.json'
},
regctl: {
name: 'Regctl version',
branch: 'deps/regctl-version',
@@ -113,22 +120,32 @@ jobs:
return;
}
const version = await readLatestTag(config.sourcePath);
const targetPath = 'src/main.ts';
const tag = await readLatestTag(config.sourcePath);
const version = dep === 'docker' ? tag.replace(/^docker-/, '') : tag;
const targetPath = dep === 'docker' ? '.github/workflows/ci.yml' : 'src/main.ts';
const absolutePath = path.join(process.env.GITHUB_WORKSPACE, targetPath);
const content = fs.readFileSync(absolutePath, 'utf8');
const pattern = tsConstStringPattern(config.key);
const match = content.match(pattern);
if (!match) {
throw new Error(`Missing ${config.key} in ${targetPath}`);
const replacements = dep === 'docker' ? [
{pattern: /^( DOCKER_VERSION: )(v\S+)()$/m, version},
{pattern: /^( - )(v\S+)()$/m, version},
{pattern: /^( - type=image,tag=)(\S+)()$/m, version: version.replace(/^v/, '')}
] : [{pattern: tsConstStringPattern(config.key), version}];
let updatedContent = content;
let previousVersion;
for (const replacement of replacements) {
const match = updatedContent.match(replacement.pattern);
if (!match) {
throw new Error(`Missing ${replacement.pattern} in ${targetPath}`);
}
previousVersion ??= match[2];
updatedContent = updatedContent.replace(replacement.pattern, (_, prefix, current, suffix) => `${prefix}${replacement.version}${suffix}`);
}
const previousVersion = match[2];
const changed = previousVersion !== version;
const changed = updatedContent !== content;
if (changed) {
fs.writeFileSync(
absolutePath,
content.replace(pattern, `$1${version}$3`),
updatedContent,
'utf8'
);
core.info(`New ${config.name} ${version} found`);
@@ -143,10 +160,13 @@ jobs:
core.setOutput('before', previousVersion);
core.setOutput('after', version);
core.setOutput('source-url', config.sourceUrl);
core.setOutput('description', dep === 'docker'
? `This updates the pinned Docker version in \`${targetPath}\` from \`${previousVersion}\` to \`${version}\`, including the binary and image test matrix entries.`
: `This updates the pinned default in \`${targetPath}\` from \`${previousVersion}\` to \`${version}\` and refreshes generated \`dist\` content.`);
-
name: Build
if: steps.update.outputs.changed == 'true'
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
if: steps.update.outputs.changed == 'true' && matrix.dep != 'docker'
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
source: .
targets: build
@@ -163,6 +183,6 @@ jobs:
sign-commits: true
delete-branch: true
body: |
This updates the pinned default in `src/main.ts` from `${{ steps.update.outputs.before }}` to `${{ steps.update.outputs.after }}` and refreshes generated `dist` content.
${{ steps.update.outputs.description }}
The source of truth for this update is ${{ steps.update.outputs.source-url }}.
+2 -2
View File
@@ -21,7 +21,7 @@ jobs:
-
name: GitHub auth token from GitHub App
id: docker-read-app
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}
@@ -37,7 +37,7 @@ jobs:
token: ${{ steps.docker-read-app.outputs.token }}
-
name: Build
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
source: .
targets: build
+2 -2
View File
@@ -26,7 +26,7 @@ jobs:
-
name: Generate matrix
id: generate
uses: docker/bake-action/subaction/matrix@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
uses: docker/bake-action/subaction/matrix@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
target: validate
@@ -41,6 +41,6 @@ jobs:
steps:
-
name: Validate
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
uses: docker/bake-action@59cb1203cd42bcefd40a1b6d73b589e48c86040e # v7.5.0
with:
targets: ${{ matrix.target }}
Generated Vendored
+103 -102
View File
@@ -1,82 +1,79 @@
var vZ=Object.create;var oh=Object.defineProperty;var PZ=Object.getOwnPropertyDescriptor;var kZ=Object.getOwnPropertyNames;var DZ=Object.getPrototypeOf,_Z=Object.prototype.hasOwnProperty;var o=(t,e)=>oh(t,"name",{value:e,configurable:!0});var f=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),LZ=(t,e)=>{for(var r in e)oh(t,r,{get:e[r],enumerable:!0})},MZ=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of kZ(e))!_Z.call(t,n)&&n!==r&&oh(t,n,{get:()=>e[n],enumerable:!(s=PZ(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?vZ(DZ(t)):{},MZ(e||!t||!t.__esModule?oh(r,"default",{value:t,enumerable:!0}):r,t));var Z_=f(Jc=>{"use strict";var aMe=require("net"),HZ=require("tls"),WB=require("http"),j_=require("https"),zZ=require("events"),cMe=require("assert"),$Z=require("util");Jc.httpOverHttp=VZ;Jc.httpsOverHttp=YZ;Jc.httpOverHttps=JZ;Jc.httpsOverHttps=WZ;function VZ(t){var e=new _i(t);return e.request=WB.request,e}o(VZ,"httpOverHttp");function YZ(t){var e=new _i(t);return e.request=WB.request,e.createSocket=K_,e.defaultPort=443,e}o(YZ,"httpsOverHttp");function JZ(t){var e=new _i(t);return e.request=j_.request,e}o(JZ,"httpOverHttps");function WZ(t){var e=new _i(t);return e.request=j_.request,e.createSocket=K_,e.defaultPort=443,e}o(WZ,"httpsOverHttps");function _i(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||WB.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=X_(n,i,a),l=0,u=e.requests.length;l<u;++l){var A=e.requests[l];if(A.host===c.host&&A.port===c.port){e.requests.splice(l,1),A.request.onSocket(s);return}}s.destroy(),e.removeSocket(s)},"onFree"))}o(_i,"TunnelingAgent");$Z.inherits(_i,zZ.EventEmitter);_i.prototype.addRequest=o(function(e,r,s,n){var i=this,a=jB({request:e},i.options,X_(r,s,n));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function u(A){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");_i.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=jB({},s.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")),Qo("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,p,m){process.nextTick(function(){u(d,p,m)})}o(l,"onUpgrade");function u(d,p,m){if(a.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){Qo("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}if(m.length>0){Qo("got illegal response body from proxy"),p.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}return Qo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),Qo(`tunneling socket could not be established, cause=%s
`,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(A,"onError")},"createSocket");_i.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function K_(t,e){var r=this;_i.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=jB({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=HZ.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(K_,"createSecureSocket");function X_(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(X_,"toOptions");function jB(t){for(var e=1,r=arguments.length;e<r;++e){var s=arguments[e];if(typeof s=="object")for(var n=Object.keys(s),i=0,a=n.length;i<a;++i){var c=n[i];s[c]!==void 0&&(t[c]=s[c])}}return t}o(jB,"mergeOptions");var Qo;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?Qo=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):Qo=o(function(){},"debug");Jc.debug=Qo});var IA=f((AMe,eL)=>{eL.exports=Z_()});var Ye=f((dMe,tL)=>{tL.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")}});var we=f((pMe,xL)=>{"use strict";var rL=Symbol.for("undici.error.UND_ERR"),Je=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[rL]===!0}[rL]=!0},sL=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),KB=class extends Je{static{o(this,"ConnectTimeoutError")}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[sL]===!0}[sL]=!0},nL=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),XB=class extends Je{static{o(this,"HeadersTimeoutError")}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[nL]===!0}[nL]=!0},iL=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),ZB=class extends Je{static{o(this,"HeadersOverflowError")}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[iL]===!0}[iL]=!0},oL=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),ew=class extends Je{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"} Line truncated
`)||t.includes("\r")||t.includes("\0"))===!1}o(FM,"isValidHeaderValue");function Ate(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(Wee.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(Ate,"setRequestReferrerPolicyOnRedirect");function dte(){return"allowed"}o(dte,"crossOriginResourcePolicyCheck");function pte(){return"success"}o(pte,"corsCheck");function mte(){return"success"}o(mte,"TAOCheck");function hte(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(hte,"appendFetchMetadata");function fte(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&Vw(t.origin)&&!Vw(vA(t))&&(e=null);break;case"same-origin":vh(t,vA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(fte,"appendRequestOriginHeader");function nl(t,e){return t}o(nl,"coarsenTime");function gte(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:nl(t.domainLookupStartTime,r),domainLookupEndTime:nl(t.domainLookupEndTime,r),connectionStartTime:nl(t.connectionStartTime,r),connectionEndTime:nl(t.connectionEndTime,r),secureConnectionStartTime:nl(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(gte,"clampAndCoarsenConnectionTimingInfo");function Ete(t){return nl(ete.now(),t)}o(Ete,"coarsenedSharedCurrentTime");function yte(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(yte,"createOpaqueTimingInfo");function UM(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(UM,"makePolicyContainer");function Cte(t){return{referrerPolicy:t.referrerPolicy}}o(Cte,"clonePolicyContainer");function Ite(t){let e=t.referrerPolicy;ba(e);let r=null;if(t.referrer==="client"){let c=DM();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let s=$w(r),n=$w(r,!0);s.toString().length>4096&&(s=n);let i=vh(t,s),a=TA(s)&&!TA(t.url);switch(e){case"origin":return n??$w(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=vA(t);return vh(s,c)?s:TA(s)&&!TA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(Ite,"determineRequestsReferrer");function $w(t,e){return ba(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o($w,"stripURLForReferrer");function TA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(TA,"isURLPotentiallyTrustworthy");function Bte(t,e){if(Th===void 0)return!0;let r=qM(e);if(r==="no metadata"||r.length===0)return!0;let s=bte(r),n=Qte(r,s);for(let i of n){let a=i.algo,c=i.hash,l=Th.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),xte(l,c))return!0}return!1}o(Bte,"bytesMatch");var wte=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function qM(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=wte.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();LM.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(qM,"parseMetadata");function bte(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let s=t[r];if(s.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;s.algo[3]==="3"&&(e="sha384")}}return e}o(bte,"getStrongestMetadata");function Qte(t,e){if(t.length===1)return t;let r=0;for(let s=0;s<t.length;++s)t[s].algo===e&&(t[r++]=t[s]);return t.length=r,t}o(Qte,"filterMetadataListByAlgorithm");function xte(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}o(xte,"compareBase64Mixed");function Nte(t){}o(Nte,"tryUpgradeReque Line truncated
`);function lre(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(lre,"isAsciiString");function ure(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let s=t.charCodeAt(r);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(ure,"validateBoundary");function Are(t,e){kh(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&Dh(t,are,i)||i.position===t.length-4&&Dh(t,cre,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=dre(t,i);if(c==="failure")return"failure";let{name:l,filename:u,contentType:A,encoding:d}=c;i.position+=2;let p;{let h=t.indexOf(s.subarray(2),i.position);if(h===-1)return"failure";p=t.subarray(i.position,h-4),i.position+=p.length,d==="base64"&&(p=Buffer.from(p.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let m;u!==null?(A??="text/plain",lre(A)||(A=""),m=new ire([p],u,{type:A})):m=ere(Buffer.from(p)),kh(eO(l)),kh(typeof m=="string"&&eO(m)||rre(m)),n.push(sre(l,m,u))}}o(Are,"multipartFormDataParser");function dre(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=ol(c=>c!==10&&c!==13&&c!==58,t,e);if(a=Zw(a,!0,!0,c=>c===9||c===32),!tre.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,ol(c=>c===32||c===9,t,e),Zte(a)){case"content-disposition":{if(r=s=null,!Dh(t,ore,e)||(e.position+=17,r=sO(t,e),r===null))return"failure";if(Dh(t,rO,e)){let c=e.position+rO.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=sO(t,e),s===null))return"failure"}break}case"content-type":{let c=ol(l=>l!==10&&l!==13,t,e);c=Zw(c,!1,!0,l=>l===9||l===32),n=tO(c);break}case"content-transfer-encoding":{let c=ol(l=>l!==10&&l!==13,t,e);c=Zw(c,!1,!0,l=>l===9||l===32),i=tO(c);break}default:ol(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(dre,"parseMultipartFormDataHeaders");function sO(t,e){kh(t[e.position-1]===34);let r=ol(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(sO,"parseMultipartFormDataName");function ol(t,e,r){let s=r.position;for(;s<e.length&&t(e[s]);)++s;return e.subarray(r.position,r.position=s)}o(ol,"collectASequenceOfBytes");function Zw(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n<t.length&&s(t[n]);)n++;if(r)for(;i>0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(Zw,"removeChars");function Dh(t,e,r){if(t.length<e.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[r.position+s])return!1;return!0}o(Dh,"bufferStartsWith");nO.exports={multipartFormDataParser:Are,validateBoundary:ure}});var ll=f((ZMe,hO)=>{"use strict";var DA=pe(),{ReadableStreamFrom:pre,isBlobLike:oO,isReadableStreamLike:mre,readableStreamClose:hre,createDeferredPromise:fre,fullyReadBody:gre,extractMimeType:Ere,utf8DecodeBytes:lO}=Kr(),{FormData:aO}=kA(),{kState:cl}=xo(),{webidl:yre}=Wt(),{Blob:Cre}=require("node:buffer"),eb=require("node:assert"),{isErrored:uO,isDisturbed:Ire}=require("node:stream"),{isArrayBuffer:Bre}=require("node:util/types"),{serializeAMimeType:wre}=vr(),{multipartFormDataParser:bre}=iO(),tb;try{let t=require("node:crypto");tb=o(e=>t.randomInt(0,e),"random")}catch{tb=o(t=>Math.floor(Math.random(t)),"random")}var _h=new TextEncoder;function Qre(){}o(Qre,"noop");var AO=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,dO;AO&&(dO=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!Ire(e)&&!uO(e)&&e.cancel("Response object has been garbage collected").catch(Qre)}));function pO(t,e=!1){let r=null;t instanceof ReadableStream?r=t:oO(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?_h.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>hre(l))},start(){},type:"bytes"}),eb(mre(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(Bre(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(DA.isFormDataLike(t)){let l=`----formdata-undici-0${`${tb(1e11)}`.padStart(11,"0")}`,u=`--${l}\r
var m7=Object.create;var mh=Object.defineProperty;var h7=Object.getOwnPropertyDescriptor;var f7=Object.getOwnPropertyNames;var g7=Object.getPrototypeOf,E7=Object.prototype.hasOwnProperty;var o=(t,e)=>mh(t,"name",{value:e,configurable:!0});var g=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),y7=(t,e)=>{for(var r in e)mh(t,r,{get:e[r],enumerable:!0})},C7=(t,e,r,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of f7(e))!E7.call(t,n)&&n!==r&&mh(t,n,{get:()=>e[n],enumerable:!(s=h7(e,n))||s.enumerable});return t};var w=(t,e,r)=>(r=t!=null?m7(g7(t)):{},C7(e||!t||!t.__esModule?mh(r,"default",{value:t,enumerable:!0}):r,t));var yL=g(sl=>{"use strict";var aFe=require("net"),Q7=require("tls"),sw=require("http"),fL=require("https"),N7=require("events"),cFe=require("assert"),S7=require("util");sl.httpOverHttp=R7;sl.httpsOverHttp=T7;sl.httpOverHttps=v7;sl.httpsOverHttps=P7;function R7(t){var e=new Oi(t);return e.request=sw.request,e}o(R7,"httpOverHttp");function T7(t){var e=new Oi(t);return e.request=sw.request,e.createSocket=gL,e.defaultPort=443,e}o(T7,"httpsOverHttp");function v7(t){var e=new Oi(t);return e.request=fL.request,e}o(v7,"httpOverHttps");function P7(t){var e=new Oi(t);return e.request=fL.request,e.createSocket=gL,e.defaultPort=443,e}o(P7,"httpsOverHttps");function Oi(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||sw.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",o(function(s,n,i,a){for(var c=EL(n,i,a),l=0,u=e.requests.length;l<u;++l){var A=e.requests[l];if(A.host===c.host&&A.port===c.port){e.requests.splice(l,1),A.request.onSocket(s);return}}s.destroy(),e.removeSocket(s)},"onFree"))}o(Oi,"TunnelingAgent");S7.inherits(Oi,N7.EventEmitter);Oi.prototype.addRequest=o(function(e,r,s,n){var i=this,a=nw({request:e},i.options,EL(r,s,n));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",l),c.on("close",u),c.on("agentRemove",u),e.onSocket(c);function l(){i.emit("free",c,a)}o(l,"onFree");function u(A){i.removeSocket(c),c.removeListener("free",l),c.removeListener("close",u),c.removeListener("agentRemove",u)}o(u,"onCloseOrRemove")})},"addRequest");Oi.prototype.createSocket=o(function(e,r){var s=this,n={};s.sockets.push(n);var i=nw({},s.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")),xo("making CONNECT request");var a=s.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",l),a.once("connect",u),a.once("error",A),a.end();function c(d){d.upgrade=!0}o(c,"onResponse");function l(d,p,m){process.nextTick(function(){u(d,p,m)})}o(l,"onUpgrade");function u(d,p,m){if(a.removeAllListeners(),p.removeAllListeners(),d.statusCode!==200){xo("tunneling socket could not be established, statusCode=%d",d.statusCode),p.destroy();var h=new Error("tunneling socket could not be established, statusCode="+d.statusCode);h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}if(m.length>0){xo("got illegal response body from proxy"),p.destroy();var h=new Error("got illegal response body from proxy");h.code="ECONNRESET",e.request.emit("error",h),s.removeSocket(n);return}return xo("tunneling connection has established"),s.sockets[s.sockets.indexOf(n)]=p,r(p)}o(u,"onConnect");function A(d){a.removeAllListeners(),xo(`tunneling socket could not be established, cause=%s
`,d.message,d.stack);var p=new Error("tunneling socket could not be established, cause="+d.message);p.code="ECONNRESET",e.request.emit("error",p),s.removeSocket(n)}o(A,"onError")},"createSocket");Oi.prototype.removeSocket=o(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var s=this.requests.shift();s&&this.createSocket(s,function(n){s.request.onSocket(n)})}},"removeSocket");function gL(t,e){var r=this;Oi.prototype.createSocket.call(r,t,function(s){var n=t.request.getHeader("host"),i=nw({},r.options,{socket:s,servername:n?n.replace(/:.*$/,""):t.host}),a=Q7.connect(0,i);r.sockets[r.sockets.indexOf(s)]=a,e(a)})}o(gL,"createSecureSocket");function EL(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}o(EL,"toOptions");function nw(t){for(var e=1,r=arguments.length;e<r;++e){var s=arguments[e];if(typeof s=="object")for(var n=Object.keys(s),i=0,a=n.length;i<a;++i){var c=n[i];s[c]!==void 0&&(t[c]=s[c])}}return t}o(nw,"mergeOptions");var xo;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?xo=o(function(){var t=Array.prototype.slice.call(arguments);typeof t[0]=="string"?t[0]="TUNNEL: "+t[0]:t.unshift("TUNNEL:"),console.error.apply(console,t)},"debug"):xo=o(function(){},"debug");sl.debug=xo});var PA=g((AFe,CL)=>{CL.exports=yL()});var $e=g((dFe,IL)=>{IL.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")}});var we=g((pFe,VL)=>{"use strict";var BL=Symbol.for("undici.error.UND_ERR"),Ve=class extends Error{static{o(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[BL]===!0}[BL]=!0},wL=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),iw=class extends Ve{static{o(this,"ConnectTimeoutError")}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[wL]===!0}[wL]=!0},bL=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),ow=class extends Ve{static{o(this,"HeadersTimeoutError")}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[bL]===!0}[bL]=!0},xL=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),aw=class extends Ve{static{o(this,"HeadersOverflowError")}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[xL]===!0}[xL]=!0},QL=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),cw=class extends Ve{static{o(this,"BodyTimeoutError")}constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"} Line truncated
`)||t.includes("\r")||t.includes("\0"))===!1}o(oO,"isValidHeaderValue");function Wte(t,e){let{headersList:r}=e,s=(r.get("referrer-policy",!0)??"").split(","),n="";if(s.length>0)for(let i=s.length;i!==0;i--){let a=s[i-1].trim();if(kte.has(a)){n=a;break}}n!==""&&(t.referrerPolicy=n)}o(Wte,"setRequestReferrerPolicyOnRedirect");function jte(){return"allowed"}o(jte,"crossOriginResourcePolicyCheck");function Kte(){return"success"}o(Kte,"corsCheck");function Xte(){return"success"}o(Xte,"TAOCheck");function Zte(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}o(Zte,"appendFetchMetadata");function ere(t){let e=t.origin;if(!(e==="client"||e===void 0)){if(t.responseTainting==="cors"||t.mode==="websocket")t.headersList.append("origin",e,!0);else if(t.method!=="GET"&&t.method!=="HEAD"){switch(t.referrerPolicy){case"no-referrer":e=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":t.origin&&eb(t.origin)&&!eb(GA(t))&&(e=null);break;case"same-origin":Fh(t,GA(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}o(ere,"appendRequestOriginHeader");function pl(t,e){return t}o(pl,"coarsenTime");function tre(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:pl(t.domainLookupStartTime,r),domainLookupEndTime:pl(t.domainLookupEndTime,r),connectionStartTime:pl(t.connectionStartTime,r),connectionEndTime:pl(t.connectionEndTime,r),secureConnectionStartTime:pl(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}o(tre,"clampAndCoarsenConnectionTimingInfo");function rre(t){return pl(Ote.now(),t)}o(rre,"coarsenedSharedCurrentTime");function sre(t){return{startTime:t.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:t.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}o(sre,"createOpaqueTimingInfo");function aO(){return{referrerPolicy:"strict-origin-when-cross-origin"}}o(aO,"makePolicyContainer");function nre(t){return{referrerPolicy:t.referrerPolicy}}o(nre,"clonePolicyContainer");function ire(t){let e=t.referrerPolicy;Sa(e);let r=null;if(t.referrer==="client"){let c=tO();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let s=Zw(r),n=Zw(r,!0);s.toString().length>4096&&(s=n);let i=Fh(t,s),a=qA(s)&&!qA(t.url);switch(e){case"origin":return n??Zw(r,!0);case"unsafe-url":return s;case"same-origin":return i?n:"no-referrer";case"origin-when-cross-origin":return i?s:n;case"strict-origin-when-cross-origin":{let c=GA(t);return Fh(s,c)?s:qA(s)&&!qA(c)?"no-referrer":n}default:return a?"no-referrer":n}}o(ire,"determineRequestsReferrer");function Zw(t,e){return Sa(t instanceof URL),t=new URL(t),t.protocol==="file:"||t.protocol==="about:"||t.protocol==="blank:"?"no-referrer":(t.username="",t.password="",t.hash="",e&&(t.pathname="",t.search=""),t)}o(Zw,"stripURLForReferrer");function qA(t){if(!(t instanceof URL))return!1;if(t.href==="about:blank"||t.href==="about:srcdoc"||t.protocol==="data:"||t.protocol==="file:")return!0;return e(t.origin);function e(r){if(r==null||r==="null")return!1;let s=new URL(r);return!!(s.protocol==="https:"||s.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(s.hostname)||s.hostname==="localhost"||s.hostname.includes("localhost.")||s.hostname.endsWith(".localhost"))}}o(qA,"isURLPotentiallyTrustworthy");function ore(t,e){if(Oh===void 0)return!0;let r=cO(e);if(r==="no metadata"||r.length===0)return!0;let s=cre(r),n=lre(r,s);for(let i of n){let a=i.algo,c=i.hash,l=Oh.createHash(a).update(t).digest("base64");if(l[l.length-1]==="="&&(l[l.length-2]==="="?l=l.slice(0,-2):l=l.slice(0,-1)),ure(l,c))return!0}return!1}o(ore,"bytesMatch");var are=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function cO(t){let e=[],r=!0;for(let s of t.split(" ")){r=!1;let n=are.exec(s);if(n===null||n.groups===void 0||n.groups.algo===void 0)continue;let i=n.groups.algo.toLowerCase();sO.includes(i)&&e.push(n.groups)}return r===!0?"no metadata":e}o(cO,"parseMetadata");function cre(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let s=t[r];if(s.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;s.algo[3]==="3"&&(e="sha384")}}return e}o(cre,"getStrongestMetadata");function lre(t,e){if(t.length===1)return t;let r=0;for(let s=0;s<t.length;++s)t[s].algo===e&&(t[r++]=t[s]);return t.length=r,t}o(lre,"filterMetadataListByAlgorithm");function ure(t,e){if(t.length!==e.length)return!1;for(let r=0;r<t.length;++r)if(t[r]!==e[r]){if(t[r]==="+"&&e[r]==="-"||t[r]==="/"&&e[r]==="_")continue;return!1}return!0}o(ure,"compareBase64Mixed");function Are(t){}o(Are,"tryUpgradeReque Line truncated
`);function Yre(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}o(Yre,"isAsciiString");function Jre(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let s=t.charCodeAt(r);if(!(s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122||s===39||s===45||s===95))return!1}return!0}o(Jre,"validateBoundary");function Wre(t,e){qh(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let s=Buffer.from(`--${r}`,"utf8"),n=[],i={position:0};for(;t[i.position]===13&&t[i.position+1]===10;)i.position+=2;let a=t.length;for(;t[a-1]===10&&t[a-2]===13;)a-=2;for(a!==t.length&&(t=t.subarray(0,a));;){if(t.subarray(i.position,i.position+s.length).equals(s))i.position+=s.length;else return"failure";if(i.position===t.length-2&&Gh(t,$re,i)||i.position===t.length-4&&Gh(t,Vre,i))return n;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=jre(t,i);if(c==="failure")return"failure";let{name:l,filename:u,contentType:A,encoding:d}=c;i.position+=2;let p;{let h=t.indexOf(s.subarray(2),i.position);if(h===-1)return"failure";p=t.subarray(i.position,h-4),i.position+=p.length,d==="base64"&&(p=Buffer.from(p.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let m;u!==null?(A??="text/plain",Yre(A)||(A=""),m=new Hre([p],u,{type:A})):m=Ore(Buffer.from(p)),qh(IO(l)),qh(typeof m=="string"&&IO(m)||Ure(m)),n.push(qre(l,m,u))}}o(Wre,"multipartFormDataParser");function jre(t,e){let r=null,s=null,n=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:s,contentType:n,encoding:i};let a=hl(c=>c!==10&&c!==13&&c!==58,t,e);if(a=ab(a,!0,!0,c=>c===9||c===32),!Fre.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,hl(c=>c===32||c===9,t,e),Mre(a)){case"content-disposition":{if(r=s=null,!Gh(t,zre,e)||(e.position+=17,r=bO(t,e),r===null))return"failure";if(Gh(t,wO,e)){let c=e.position+wO.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,s=bO(t,e),s===null))return"failure"}break}case"content-type":{let c=hl(l=>l!==10&&l!==13,t,e);c=ab(c,!1,!0,l=>l===9||l===32),n=BO(c);break}case"content-transfer-encoding":{let c=hl(l=>l!==10&&l!==13,t,e);c=ab(c,!1,!0,l=>l===9||l===32),i=BO(c);break}default:hl(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}o(jre,"parseMultipartFormDataHeaders");function bO(t,e){qh(t[e.position-1]===34);let r=hl(s=>s!==10&&s!==13&&s!==34,t,e);return t[e.position]!==34?null:(e.position++,r=new TextDecoder().decode(r).replace(/%0A/ig,`
`).replace(/%0D/ig,"\r").replace(/%22/g,'"'),r)}o(bO,"parseMultipartFormDataName");function hl(t,e,r){let s=r.position;for(;s<e.length&&t(e[s]);)++s;return e.subarray(r.position,r.position=s)}o(hl,"collectASequenceOfBytes");function ab(t,e,r,s){let n=0,i=t.length-1;if(e)for(;n<t.length&&s(t[n]);)n++;if(r)for(;i>0&&s(t[i]);)i--;return n===0&&i===t.length-1?t:t.subarray(n,i+1)}o(ab,"removeChars");function Gh(t,e,r){if(t.length<e.length)return!1;for(let s=0;s<e.length;s++)if(e[s]!==t[r.position+s])return!1;return!0}o(Gh,"bufferStartsWith");xO.exports={multipartFormDataParser:Wre,validateBoundary:Jre}});var El=g((ZFe,LO)=>{"use strict";var $A=pe(),{ReadableStreamFrom:Kre,isBlobLike:NO,isReadableStreamLike:Xre,readableStreamClose:Zre,createDeferredPromise:ese,fullyReadBody:tse,extractMimeType:rse,utf8DecodeBytes:TO}=ts(),{FormData:SO}=zA(),{kState:gl}=Qo(),{webidl:sse}=Kt(),{Blob:nse}=require("node:buffer"),cb=require("node:assert"),{isErrored:vO,isDisturbed:ise}=require("node:stream"),{isArrayBuffer:ose}=require("node:util/types"),{serializeAMimeType:ase}=Pr(),{multipartFormDataParser:cse}=QO(),lb;try{let t=require("node:crypto");lb=o(e=>t.randomInt(0,e),"random")}catch{lb=o(t=>Math.floor(Math.random(t)),"random")}var Hh=new TextEncoder;function lse(){}o(lse,"noop");var PO=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,kO;PO&&(kO=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!ise(e)&&!vO(e)&&e.cancel("Response object has been garbage collected").catch(lse)}));function DO(t,e=!1){let r=null;t instanceof ReadableStream?r=t:NO(t)?r=t.stream():r=new ReadableStream({async pull(l){let u=typeof n=="string"?Hh.encode(n):n;u.byteLength&&l.enqueue(u),queueMicrotask(()=>Zre(l))},start(){},type:"bytes"}),cb(Xre(r));let s=null,n=null,i=null,a=null;if(typeof t=="string")n=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)n=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(ose(t))n=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))n=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if($A.isFormDataLike(t)){let l=`----formdata-undici-0${`${lb(1e11)}`.padStart(11,"0")}`,u=`--${l}\r
Content-Disposition: form-data`;let A=o(C=>C.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),d=o(C=>C.replace(/\r?\n|\r/g,`\r
`),"normalizeLinefeeds"),p=[],m=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,E]of t)if(typeof E=="string"){let y=_h.encode(u+`; name="${A(d(C))}"\r
`),"normalizeLinefeeds"),p=[],m=new Uint8Array([13,10]);i=0;let h=!1;for(let[C,E]of t)if(typeof E=="string"){let y=Hh.encode(u+`; name="${A(d(C))}"\r
\r
${d(E)}\r
`);p.push(y),i+=y.byteLength}else{let y=_h.encode(`${u}; name="${A(d(C))}"`+(E.name?`; filename="${A(E.name)}"`:"")+`\r
`);p.push(y),i+=y.byteLength}else{let y=Hh.encode(`${u}; name="${A(d(C))}"`+(E.name?`; filename="${A(E.name)}"`:"")+`\r
Content-Type: ${E.type||"application/octet-stream"}\r
\r
`);p.push(y,E,m),typeof E.size=="number"?i+=y.byteLength+E.size+m.byteLength:h=!0}let g=_h.encode(`--${l}--\r
`);p.push(g),i+=g.byteLength,h&&(i=null),n=t,s=o(async function*(){for(let C of p)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(oO(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(DA.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:pre(t)}if((typeof n=="string"||DA.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!uO(r)){let p=new Uint8Array(A);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(pO,"extractBody");function xre(t,e=!1){return t instanceof ReadableStream&&(eb(!DA.isDisturbed(t),"The body has already been consumed."),eb(!t.locked,"The stream is locked.")),pO(t,e)}o(xre,"safelyExtractBody");function Nre(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(Nre,"cloneBody");function Sre(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(Sre,"throwIfAborted");function Rre(t){return{blob(){return al(this,r=>{let s=cO(this);return s===null?s="":s&&(s=wre(s)),new Cre([r],{type:s})},t)},arrayBuffer(){return al(this,r=>new Uint8Array(r).buffer,t)},text(){return al(this,lO,t)},json(){return al(this,vre,t)},formData(){return al(this,r=>{let s=cO(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=bre(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new aO;return i[cl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new aO;for(let[a,c]of n)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return al(this,r=>new Uint8Array(r),t)}}}o(Rre,"bodyMixinMethods");function Tre(t){Object.assign(t.prototype,Rre(t))}o(Tre,"mixinBody");async function al(t,e,r){if(yre.brandCheck(t,r),mO(t))throw new TypeError("Body is unusable: Body has already been read");Sre(t[cl]);let s=fre(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[cl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await gre(t[cl].body,i,n),s.promise)}o(al,"consumeBody");function mO(t){let e=t[cl].body;return e!=null&&(e.stream.locked||DA.isDisturbed(e.stream))}o(mO,"bodyUnusable");function vre(t){return JSON.parse(lO(t))}o(vre,"parseJSONFromBytes");function cO(t){let e=t[cl].headersList,r=Ere(e);return r==="failure"?null:r}o(cO,"bodyMimeType");hO.exports={extractBody:pO,safelyExtractBody:xre,cloneBody:Nre,mixinBody:Tre,streamRegistry:dO,hasFinalizationRegistry:AO,bodyUnusable:mO}});var vO=f((tOe,TO)=>{"use strict";var W=require("node:assert"),X=pe(),{channels:fO}=jc(),rb=Mw(),{RequestContentLengthMismatchError:Qa,ResponseContentLengthMismatchError:gO,RequestAbortedError:QO,InvalidArgumentError:Pre,HeadersTimeoutError:kre,HeadersOverflowError:Dre,SocketError:ul,InformationalError:Al,BodyTimeoutError:_re,HTTPParserError:Lre,ResponseExceededMaxSizeError:Mre}=we(),{kUrl:xO,kReset:Pr,kClient:Fh,kParser:qe,kBlocking:MA,kRunning:xt,kPending:NO,kSize:EO,kWriting:No,kQueue:on,kNoRef:_A,kKeepAliveDefaultTimeout:Ore,kHostHeader:Fre,kPendingIdx:Ure,kRunningIdx:xs,kError:pr,kPipelining:Uh,kSocket:xa,kKeepAliveTimeoutValue:Gh,kMaxHeadersSize:sb,kKeepAliveMaxTimeout:qre,kKeepAliveTimeoutThreshold:Gre,kHeadersTimeout:Hre,kBodyTimeout:zre,kStrictContentLength:ob,kMaxRequests:yO,kCounter:$re,kMaxResponseSize:Vre,kOnError:CO,kResume:qi,kHTTPContext:SO}=Ye(),Xr=dM(),IO=Buffer.alloc(0),Lh=Buffer[Symbol.species],Mh=X.addListener,Yre=X.removeAllListeners,Na=Symbol("kIdleSocketValidation"),dl=Symbol("kIdleSocketValidationTimeout"),ub=Symbol("kSocketUsed"),nb;async function Jre(){let t=process.env.JEST_WORKER_ID?Uw():void 0,e;try{e=await WebAssembly.compile(hM())}catch{e=await WebAssembly.compile(t||Uw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onStatus(new Lh(Fn.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(W(st.ptr===r),st.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onHeaderField(new Lh(Fn.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onHeaderValue(new Lh(Fn.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(W(st.ptr===r),st.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{W(st.ptr===r);let i=s-Un+Fn.byteOffset;return st.onBo Line truncated
`;if(typeof n=="string"?g+=`host: ${n}\r
`:g+=t[Fre],i?g+=`connection: upgrade\r
`);p.push(y,E,m),typeof E.size=="number"?i+=y.byteLength+E.size+m.byteLength:h=!0}let f=Hh.encode(`--${l}--\r
`);p.push(f),i+=f.byteLength,h&&(i=null),n=t,s=o(async function*(){for(let C of p)C.stream?yield*C.stream():yield C},"action"),a=`multipart/form-data; boundary=${l}`}else if(NO(t))n=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if($A.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:Kre(t)}if((typeof n=="string"||$A.isBuffer(n))&&(i=Buffer.byteLength(n)),s!=null){let l;r=new ReadableStream({async start(){l=s(t)[Symbol.asyncIterator]()},async pull(u){let{value:A,done:d}=await l.next();if(d)queueMicrotask(()=>{u.close(),u.byobRequest?.respond(0)});else if(!vO(r)){let p=new Uint8Array(A);p.byteLength&&u.enqueue(p)}return u.desiredSize>0},async cancel(u){await l.return()},type:"bytes"})}return[{stream:r,source:n,length:i},a]}o(DO,"extractBody");function use(t,e=!1){return t instanceof ReadableStream&&(cb(!$A.isDisturbed(t),"The body has already been consumed."),cb(!t.locked,"The stream is locked.")),DO(t,e)}o(use,"safelyExtractBody");function Ase(t,e){let[r,s]=e.stream.tee();return e.stream=r,{stream:s,length:e.length,source:e.source}}o(Ase,"cloneBody");function dse(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}o(dse,"throwIfAborted");function pse(t){return{blob(){return fl(this,r=>{let s=RO(this);return s===null?s="":s&&(s=ase(s)),new nse([r],{type:s})},t)},arrayBuffer(){return fl(this,r=>new Uint8Array(r).buffer,t)},text(){return fl(this,TO,t)},json(){return fl(this,hse,t)},formData(){return fl(this,r=>{let s=RO(this);if(s!==null)switch(s.essence){case"multipart/form-data":{let n=cse(r,s);if(n==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new SO;return i[gl]=n,i}case"application/x-www-form-urlencoded":{let n=new URLSearchParams(r.toString()),i=new SO;for(let[a,c]of n)i.append(a,c);return i}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},t)},bytes(){return fl(this,r=>new Uint8Array(r),t)}}}o(pse,"bodyMixinMethods");function mse(t){Object.assign(t.prototype,pse(t))}o(mse,"mixinBody");async function fl(t,e,r){if(sse.brandCheck(t,r),_O(t))throw new TypeError("Body is unusable: Body has already been read");dse(t[gl]);let s=ese(),n=o(a=>s.reject(a),"errorSteps"),i=o(a=>{try{s.resolve(e(a))}catch(c){n(c)}},"successSteps");return t[gl].body==null?(i(Buffer.allocUnsafe(0)),s.promise):(await tse(t[gl].body,i,n),s.promise)}o(fl,"consumeBody");function _O(t){let e=t[gl].body;return e!=null&&(e.stream.locked||$A.isDisturbed(e.stream))}o(_O,"bodyUnusable");function hse(t){return JSON.parse(TO(t))}o(hse,"parseJSONFromBytes");function RO(t){let e=t[gl].headersList,r=rse(e);return r==="failure"?null:r}o(RO,"bodyMimeType");LO.exports={extractBody:DO,safelyExtractBody:use,cloneBody:Ase,mixinBody:mse,streamRegistry:kO,hasFinalizationRegistry:PO,bodyUnusable:_O}});var XO=g((tUe,KO)=>{"use strict";var X=require("node:assert"),Y=pe(),{channels:MO}=il(),ub=$w(),{RequestContentLengthMismatchError:Ra,ResponseContentLengthMismatchError:OO,RequestAbortedError:VO,InvalidArgumentError:fse,HeadersTimeoutError:gse,HeadersOverflowError:Ese,SocketError:yl,InformationalError:Ta,BodyTimeoutError:yse,HTTPParserError:Cse,ResponseExceededMaxSizeError:Ise}=we(),{kUrl:YO,kReset:kr,kClient:Yh,kParser:Fe,kBlocking:JA,kRunning:xt,kPending:JO,kSize:FO,kWriting:No,kQueue:cn,kNoRef:VA,kKeepAliveDefaultTimeout:Bse,kHostHeader:wse,kPendingIdx:bse,kRunningIdx:Ns,kError:fr,kPipelining:Jh,kSocket:va,kKeepAliveTimeoutValue:jh,kMaxHeadersSize:Ab,kKeepAliveMaxTimeout:xse,kKeepAliveTimeoutThreshold:Qse,kHeadersTimeout:Nse,kBodyTimeout:Sse,kStrictContentLength:mb,kMaxRequests:UO,kCounter:Rse,kMaxResponseSize:Tse,kOnError:qO,kResume:Hi,kHTTPContext:WO}=$e(),rs=kM(),GO=Buffer.alloc(0),zh=Buffer[Symbol.species],$h=Y.addListener,vse=Y.removeAllListeners,Pa=Symbol("kIdleSocketValidation"),Cl=Symbol("kIdleSocketValidationTimeout"),Eb=Symbol("kSocketUsed"),db;async function Pse(){let t=process.env.JEST_WORKER_ID?Jw():void 0,e;try{e=await WebAssembly.compile(LM())}catch{e=await WebAssembly.compile(t||Jw())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:o((r,s,n)=>0,"wasm_on_url"),wasm_on_status:o((r,s,n)=>{X(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onStatus(new zh(On.buffer,i,n))||0},"wasm_on_status"),wasm_on_message_begin:o(r=>(X(tt.ptr===r),tt.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:o((r,s,n)=>{X(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onHeaderField(new zh(On.buffer,i,n))||0},"wasm_on_header_field"),wasm_on_header_value:o((r,s,n)=>{X(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onHeaderValue(new zh(On.buffer,i,n))||0},"wasm_on_header_value"),wasm_on_headers_complete:o((r,s,n,i)=>(X(tt.ptr===r),tt.onHeadersComplete(s,!!n,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:o((r,s,n)=>{X(tt.ptr===r);let i=s-Fn+On.byteOffset;return tt.onBo Line truncated
`;if(typeof n=="string"?f+=`host: ${n}\r
`:f+=t[wse],i?f+=`connection: upgrade\r
upgrade: ${i}\r
`:t[Uh]&&!m[Pr]?g+=`connection: keep-alive\r
`:g+=`connection: close\r
`,Array.isArray(u))for(let C=0;C<u.length;C+=2){let E=u[C+0],y=u[C+1];if(Array.isArray(y))for(let I=0;I<y.length;I++)g+=`${E}: ${y[I]}\r
`;else g+=`${E}: ${y}\r
`}return fO.sendHeaders.hasSubscribers&&fO.sendHeaders.publish({request:e,headers:g,socket:m}),!l||p===0?wO(h,null,t,e,m,A,g,d):X.isBuffer(l)?wO(h,l,t,e,m,A,g,d):X.isBlobLike(l)?typeof l.stream=="function"?bO(h,l.stream(),t,e,m,A,g,d):rse(h,l,t,e,m,A,g,d):X.isStream(l)?tse(h,l,t,e,m,A,g,d):X.isIterable(l)?bO(h,l,t,e,m,A,g,d):W(!1),!0}o(ese,"writeH1");function tse(t,e,r,s,n,i,a,c){W(i!==0||r[xt]===0,"stream body cannot be pipelined");let l=!1,u=new Hh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a}),A=o(function(h){if(!l)try{!u.write(h)&&this.pause&&this.pause()}catch(g){X.destroy(this,g)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),p=o(function(){if(queueMicrotask(()=>{e.removeListener("error",m)}),!l){let h=new QO;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,W(n.destroyed||n[No]&&r[xt]<=1),n.off("drain",d).off("error",m),e.removeListener("data",A).removeListener("end",m).removeListener("close",p),!h)try{u.end()}catch(g){h=g}u.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?X.destroy(e,h):X.destroy(e)}},"onFinished");e.on("data",A).on("end",m).on("error",m).on("close",p),e.resume&&e.resume(),n.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(p)}o(tse,"writeStream");function wO(t,e,r,s,n,i,a,c){try{e?X.isBuffer(e)&&(W(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r
`:t[Jh]&&!m[kr]?f+=`connection: keep-alive\r
`:f+=`connection: close\r
`,Array.isArray(u))for(let C=0;C<u.length;C+=2){let E=u[C+0],y=u[C+1];if(Array.isArray(y))for(let I=0;I<y.length;I++)f+=`${E}: ${y[I]}\r
`;else f+=`${E}: ${y}\r
`}return MO.sendHeaders.hasSubscribers&&MO.sendHeaders.publish({request:e,headers:f,socket:m}),!l||p===0?zO(h,null,t,e,m,A,f,d):Y.isBuffer(l)?zO(h,l,t,e,m,A,f,d):Y.isBlobLike(l)?typeof l.stream=="function"?$O(h,l.stream(),t,e,m,A,f,d):Use(h,l,t,e,m,A,f,d):Y.isStream(l)?Fse(h,l,t,e,m,A,f,d):Y.isIterable(l)?$O(h,l,t,e,m,A,f,d):X(!1),!0}o(Ose,"writeH1");function Fse(t,e,r,s,n,i,a,c){X(i!==0||r[xt]===0,"stream body cannot be pipelined");let l=!1,u=new Kh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a}),A=o(function(h){if(!l)try{!u.write(h)&&this.pause&&this.pause()}catch(f){Y.destroy(this,f)}},"onData"),d=o(function(){l||e.resume&&e.resume()},"onDrain"),p=o(function(){if(queueMicrotask(()=>{e.removeListener("error",m)}),!l){let h=new VO;queueMicrotask(()=>m(h))}},"onClose"),m=o(function(h){if(!l){if(l=!0,X(n.destroyed||n[No]&&r[xt]<=1),n.off("drain",d).off("error",m),e.removeListener("data",A).removeListener("end",m).removeListener("close",p),!h)try{u.end()}catch(f){h=f}u.destroy(h),h&&(h.code!=="UND_ERR_INFO"||h.message!=="reset")?Y.destroy(e,h):Y.destroy(e)}},"onFinished");e.on("data",A).on("end",m).on("error",m).on("close",p),e.resume&&e.resume(),n.on("drain",d).on("error",m),e.errorEmitted??e.errored?setImmediate(()=>m(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>m(null)),(e.closeEmitted??e.closed)&&setImmediate(p)}o(Fse,"writeStream");function zO(t,e,r,s,n,i,a,c){try{e?Y.isBuffer(e)&&(X(i===e.byteLength,"buffer body must have content length"),n.cork(),n.write(`${a}content-length: ${i}\r
\r
`,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!c&&s.reset!==!1&&(n[Pr]=!0)):i===0?n.write(`${a}content-length: 0\r
`,"latin1"),n.write(e),n.uncork(),s.onBodySent(e),!c&&s.reset!==!1&&(n[kr]=!0)):i===0?n.write(`${a}content-length: 0\r
\r
`,"latin1"):(W(i===null,"no body must not have content length"),n.write(`${a}\r
`,"latin1")),s.onRequestSent(),r[qi]()}catch(l){t(l)}}o(wO,"writeBuffer");async function rse(t,e,r,s,n,i,a,c){W(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Qa;let l=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r
`,"latin1"):(X(i===null,"no body must not have content length"),n.write(`${a}\r
`,"latin1")),s.onRequestSent(),r[Hi]()}catch(l){t(l)}}o(zO,"writeBuffer");async function Use(t,e,r,s,n,i,a,c){X(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new Ra;let l=Buffer.from(await e.arrayBuffer());n.cork(),n.write(`${a}content-length: ${i}\r
\r
`,"latin1"),n.write(l),n.uncork(),s.onBodySent(l),s.onRequestSent(),!c&&s.reset!==!1&&(n[Pr]=!0),r[qi]()}catch(l){t(l)}}o(rse,"writeBlob");async function bO(t,e,r,s,n,i,a,c){W(i!==0||r[xt]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let A=o(()=>new Promise((p,m)=>{W(l===null),n[pr]?m(n[pr]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let d=new Hh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[pr])throw n[pr];d.write(p)||await A()}d.end()}catch(p){d.destroy(p)}finally{n.off("close",u).off("drain",u)}}o(bO,"writeIterable");var Hh=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[No]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[pr])throw r[pr];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[ob])throw new Qa;process.emitWarning(new Qa)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[Pr]=!0),n===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"),n.write(l),n.uncork(),s.onBodySent(l),s.onRequestSent(),!c&&s.reset!==!1&&(n[kr]=!0),r[Hi]()}catch(l){t(l)}}o(Use,"writeBlob");async function $O(t,e,r,s,n,i,a,c){X(i!==0||r[xt]===0,"iterator body cannot be pipelined");let l=null;function u(){if(l){let p=l;l=null,p()}}o(u,"onDrain");let A=o(()=>new Promise((p,m)=>{X(l===null),n[fr]?m(n[fr]):l=p}),"waitForDrain");n.on("close",u).on("drain",u);let d=new Kh({abort:t,socket:n,request:s,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let p of e){if(n[fr])throw n[fr];d.write(p)||await A()}d.end()}catch(p){d.destroy(p)}finally{n.off("close",u).off("drain",u)}}o($O,"writeIterable");var Kh=class{static{o(this,"AsyncWriter")}constructor({abort:e,socket:r,request:s,contentLength:n,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=s,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[No]=!0}write(e){let{socket:r,request:s,contentLength:n,client:i,bytesWritten:a,expectsPayload:c,header:l}=this;if(r[fr])throw r[fr];if(r.destroyed)return!1;let u=Buffer.byteLength(e);if(!u)return!0;if(n!==null&&a+u>n){if(i[mb])throw new Ra;process.emitWarning(new Ra)}r.cork(),a===0&&(!c&&s.reset!==!1&&(r[kr]=!0),n===null?r.write(`${l}transfer-encoding: chunked\r
`,"latin1"):r.write(`${l}content-length: ${n}\r
\r
`,"latin1")),n===null&&r.write(`\r
${u.toString(16)}\r
`,"latin1"),this.bytesWritten+=u;let A=r.write(e);return r.uncork(),s.onBodySent(e),A||r[qe].timeout&&r[qe].timeoutType===pl&&r[qe].timeout.refresh&&r[qe].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[No]=!1,e[pr])throw e[pr];if(!e.destroyed){if(n===0?i?e.write(`${a}content-length: 0\r
`,"latin1"),this.bytesWritten+=u;let A=r.write(e);return r.uncork(),s.onBodySent(e),A||r[Fe].timeout&&r[Fe].timeoutType===Il&&r[Fe].timeout.refresh&&r[Fe].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:s,bytesWritten:n,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[No]=!1,e[fr])throw e[fr];if(!e.destroyed){if(n===0?i?e.write(`${a}content-length: 0\r
\r
`,"latin1"):e.write(`${a}\r
`,"latin1"):r===null&&e.write(`\r
0\r
\r
`,"latin1"),r!==null&&n!==r){if(s[ob])throw new Qa;process.emitWarning(new Qa)}e[qe].timeout&&e[qe].timeoutType===pl&&e[qe].timeout.refresh&&e[qe].timeout.refresh(),s[qi]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[No]=!1,e&&(W(s[xt]<=1,"pipeline should only contain this request"),n(e))}};TO.exports=jre});var FO=f((sOe,OO)=>{"use strict";var Ns=require("node:assert"),{pipeline:sse}=require("node:stream"),Ee=pe(),{RequestContentLengthMismatchError:Ab,RequestAbortedError:PO,SocketError:OA,InformationalError:db}=we(),{kUrl:zh,kReset:Vh,kClient:ml,kRunning:Yh,kPending:nse,kQueue:So,kPendingIdx:pb,kRunningIdx:an,kError:ln,kSocket:qt,kStrictContentLength:ise,kOnError:mb,kMaxConcurrentStreams:MO,kHTTP2Session:cn,kResume:Ro,kSize:ose,kHTTPContext:ase}=Ye(),Gi=Symbol("open streams"),kO,DO=!1,$h;try{$h=require("node:http2")}catch{$h={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:cse,HTTP2_HEADER_METHOD:lse,HTTP2_HEADER_PATH:use,HTTP2_HEADER_SCHEME:Ase,HTTP2_HEADER_CONTENT_LENGTH:dse,HTTP2_HEADER_EXPECT:pse,HTTP2_HEADER_STATUS:mse}}=$h;function hse(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(hse,"parseH2Headers");async function fse(t,e){t[qt]=e,DO||(DO=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=$h.connect(t[zh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[MO]});r[Gi]=0,r[ml]=t,r[qt]=e,Ee.addListener(r,"error",Ese),Ee.addListener(r,"frameError",yse),Ee.addListener(r,"end",Cse),Ee.addListener(r,"goaway",Ise),Ee.addListener(r,"close",function(){let{[ml]:n}=this,{[qt]:i}=n,a=this[qt][ln]||this[ln]||new OA("closed",Ee.getSocketInfo(i));if(n[cn]=null,n.destroyed){Ns(n[nse]===0);let c=n[So].splice(n[an]);for(let l=0;l<c.length;l++){let u=c[l];Ee.errorRequest(n,u,a)}}}),r.unref(),t[cn]=r,e[cn]=r,Ee.addListener(e,"error",function(n){Ns(n.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[ln]=n,this[ml][mb](n)}),Ee.addListener(e,"end",function(){Ee.destroy(this,new OA("other side closed",Ee.getSocketInfo(this)))}),Ee.addListener(e,"close",function(){let n=this[ln]||new OA("closed",Ee.getSocketInfo(this));t[qt]=null,this[cn]!=null&&this[cn].destroy(n),t[pb]=t[an],Ns(t[Yh]===0),t.emit("disconnect",t[zh],[t],n),t[Ro]()});let s=!1;return e.on("close",()=>{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return wse(t,...n)},resume(){gse(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(fse,"connectH2");function gse(t){let e=t[qt];e?.destroyed===!1&&(t[ose]===0&&t[MO]===0?(e.unref(),t[cn].unref()):(e.ref(),t[cn].ref()))}o(gse,"resumeH2");function Ese(t){Ns(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[qt][ln]=t,this[ml][mb](t)}o(Ese,"onHttp2SessionError");function yse(t,e,r){if(r===0){let s=new db(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[qt][ln]=s,this[ml][mb](s)}}o(yse,"onHttp2FrameError");function Cse(){let t=new OA("other side closed",Ee.getSocketInfo(this[qt]));this.destroy(t),Ee.destroy(this[qt],t)}o(Cse,"onHttp2SessionEnd");function Ise(t){let e=this[ln]||new OA(`HTTP/2: "GOAWAY" frame received with code ${t}`,Ee.getSocketInfo(this)),r=this[ml];if(r[qt]=null,r[ase]=null,this[cn]!=null&&(this[cn].destroy(e),this[cn]=null),Ee.destroy(this[qt],e),r[an]<r[So].length){let s=r[So][r[an]];r[So][r[an]++]=null,Ee.errorRequest(r,s,e),r[pb]=r[an]}Ns(r[Yh]===0),r.emit("disconnect",r[zh],[r],e),r[Ro]()}o(Ise,"onHTTP2GoAway");function Bse(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(Bse,"shouldSendContentLength");function wse(t,e){let r=t[cn],{method:s,path:n,host:i,upgrade:a,expectContinue:c,signal:l,headers:u}=e,{body:A}=e;if(a)return Ee.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let B=0;B<u.length;B+=2){let S=u[B+0],R=u[B+1];if(Array.isArray(R))for(let q=0;q<R.length;q++)d[S]?d[S]+=`,${R[q]}`:d[S]=R[q];else d[S]=R}let p,{hostname:m,port:h}=t[zh];d[cse]=i||`${m}${h?`:${h}`:""}`,d[lse]=s;let g=o(B=>{e.aborted||e.completed||(B=B||new PO,Ee.errorRequest(t,e,B),p!=null&&Ee.destroy(p,B),Ee.destroy(A,B),t[So][t[an]++]=null,t[Ro]())},"abort");try{e.onConnect(g)}catch(B){Ee.errorRequest(t,e,B)}if(e.aborted)return!1;if(s==="CONNECT")return r.ref(),p=r.request(d,{endStream:!1,signal:l}),p.id&&!p.pending?(e.onUpgrade(null,null,p),++r[Gi],t[So][t[an]++]=null):p.once("ready",()=>{e.onUpgrade(null,null,p),++r[Gi],t[So][t[an]++]=null}),p.once("close",()=>{r[Gi]-=1,r[Gi]===0&&r.unref()}),!0;d[use]=n,d[Ase]="https";let C=s==="PUT"||s==="POST"||s==="PATCH";A&&typeof A.read=="function"&&A.read(0);let E=Ee.bodyLength(A);if(Ee.isFormDataLike(A)){kO??=ll().extractBody;let[B,S]=kO(A);d["content-type"]=S,A=B.stream,E=B.length}if(E==null&&(E=e.contentLength),(E===0||!C)&&(E=null),Bse(s)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[ise])return Ee.errorRequest(t,e,n Line truncated
`,this[Wse]=l??3e5,this[Jse]=n??3e5,this[jse]=y??!0,this[Kse]=B,this[Eb]=R,this[vo]=null,this[rne]=ge>-1?ge:-1,this[nne]=Pe??100,this[ht]=null,this[un]=[],this[zi]=0,this[An]=0,this[GA]=se=>Cb(this,se),this[sne]=se=>KO(this,se)}get pipelining(){return this[Kh]}set pipelining(e){this[Kh]=e,this[GA](!0)}get[$A](){return this[un].length-this[An]}get[zA](){return this[An]-this[zi]}get[HA](){return this[un].length-this[zi]}get[qse](){return!!this[ht]&&!this[fl]&&!this[ht].destroyed}get[gb](){return!!(this[ht]?.busy(null)||this[HA]>=(jO(this)||1)||this[$A]>0)}[Use](e){XO(this),this.once("connect",e)}[tne](e,r){let s=e.origin||this[Gn].origin,n=new Dse(s,e,r);return this[un].push(n),this[Ra]||(Sa.bodyLength(n.body)==null&&Sa.isIterable(n.body)?(this[Ra]=1,queueMicrotask(()=>Cb(this))):this[GA](!0)),this[Ra]&&this[Po]!==2&&this[gb]&&(this[Po]=2),this[Po]<2}async[Zse](){return new Promise(e=>{this[HA]?this[vo]=e:e(null)})}async[ene](e){return new Promise(r=>{let s=this[un].splice(this[An]);for(let i=0;i<s.length;i++){let a=s[i];Sa.errorRequest(this,a,e)}let n=o(()=>{this[vo]&&(this[vo](),this[vo]=null),r(null)},"callback");this[ht]?(this[ht].destroy(e,n),this[ht]=null):queueMicrotask(n),this[GA]()})}},ane=jh();function KO(t,e){if(t[zA]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Hi(t[An]===t[zi]);let r=t[un].splice(t[zi]);for(let s=0;s<r.length;s++){let n=r[s];Sa.errorRequest(t,n,e)}Hi(t[HA]===0)}}o(KO,"onError");async function XO(t){Hi(!t[fl]),Hi(!t[ht]);let{host:e,hostname:r,protocol:s,port:n}=t[Gn];if(r[0]==="["){let i=r.indexOf("]");Hi(i!==-1);let a=r.substring(1,i);Hi(WO.isIP(a)),r=a}t[fl]=!0,hl.beforeConnect.hasSubscribers&&hl.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ht]?.version,servername:t[To],localAddress:t[qA]},connector:t[UA]});try{let i=await new Promise((a,c)=>{t[UA]({host:e,hostname:r,protocol:s,port:n,servername:t[To],localAddress:t[qA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Sa.destroy(i.on("error",YO),new Mse);return}Hi(i);try{t[ht]=i.alpnProtocol==="h2"?await one(t,i):await ine(t,i)}catch(a){throw i.destroy().on("error",YO),a}t[fl]=!1,i[Xse]=0,i[Eb]=t[Eb],i[Fse]=t,i[Hse]=null,hl.connected.hasSubscribers&&hl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ht]?.version,servername:t[To],localAddress:t[qA]},connector:t[UA],socket:i}),t.emit("connect",t[Gn],[t])}catch(i){if(t.destroyed)return;if(t[fl]=!1,hl.connectError.hasSubscribers&&hl.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[ht]?.version,servername:t[To],localAddress:t[qA]},connector:t[UA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Hi(t[zA]===0);t[$A]>0&&t[un][t[An]].servername===t[To];){let a=t[un][t[An]++];Sa.errorRequest(t,a,i)}else KO(t,i);t.emit("connectionError",t[Gn],[t],i)}t[GA]()}o(XO,"connect");function JO(t){t[Po]=0,t.emit("drain",t[Gn],[t])}o(JO,"emitDrain");function Cb(t,e){t[Ra]!==2&&(t[Ra]=2,cne(t,e),t[Ra]=0,t[zi]>256&&(t[un].splice(0,t[zi]),t[An]-=t[zi],t[zi]=0))}o(Cb,"resume");function cne(t,e){for(;;){if(t.destroyed){Hi(t[$A]===0);return}if(t[vo]&&!t[HA]){t[vo](),t[vo]=null;return}if(t[ht]&&t[ht].resume(),t[gb])t[Po]=2;else if(t[Po]===2){e?(t[Po]=1,queueMicrotask(()=>JO(t))):JO(t);continue}if(t[$A]===0||t[zA]>=(jO(t)||1))return;let r=t[un][t[An]];if(t[Gn].protocol==="https:"&&t[To]!==r.servername){if(t[zA]>0)return;t[To]=r.servername,t[ht]?.destroy(new Lse("servername changed"),()=>{t[ht]=null,Cb(t)})}if(t[fl])return;if(!t[ht]){XO(t);return}if(t[ht].destroyed||t[ht].busy(r))return;!r.aborted&&t[ht].write(r)?t[An]++:t[un].splice(t[An],1)}}o(cne,"_resume");ZO.exports=yb});var Ib=f((dOe,eF)=>{"use strict";var Xh=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};eF.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new Xh}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new Xh),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var rF=f((mOe,tF)=>{var{kFree:lne,kConnected:une,kPending:Ane,kQueued:dne,kRunning:pne,kSize:mne}=Ye(),Ta=Symbol("pool"),Bb=class{static{o(this,"PoolStats")}constructor(e){this[Ta]=e}get connected(){return this[Ta][une]}get free(){return this[Ta][lne]}get pending(){return this[Ta][Ane]}get queued(){return this[Ta][dne]}get running(){return this[Ta][pne]}get size(){return this[Ta][mne]}};tF.exports=Bb});var Sb=f((fOe,dF)=>{"use strict";var hne=el(),fne=Ib(),{kConnected:wb,kSize:sF,kRunning:nF,kPending:iF,kQueued:VA,kBusy:gne,kFree:Ene,kUrl:yne,kClose:Cne,kDestroy:Ine,kDispatch:Bne}=Ye(),wne=rF(),kr=Symbol("cl Line truncated
`,"latin1"),r!==null&&n!==r){if(s[mb])throw new Ra;process.emitWarning(new Ra)}e[Fe].timeout&&e[Fe].timeoutType===Il&&e[Fe].timeout.refresh&&e[Fe].timeout.refresh(),s[Hi]()}}destroy(e){let{socket:r,client:s,abort:n}=this;r[No]=!1,e&&(X(s[xt]<=1,"pipeline should only contain this request"),n(e))}};KO.exports=Dse});var oF=g((sUe,iF)=>{"use strict";var qn=require("node:assert"),{errorMonitor:yb}=require("node:events"),{pipeline:qse}=require("node:stream"),he=pe(),{RequestContentLengthMismatchError:Ib,RequestAbortedError:Cb,SocketError:WA,InformationalError:Xh}=we(),{kUrl:Zh,kReset:tf,kClient:Bl,kRunning:rf,kPending:Gse,kQueue:ka,kPendingIdx:wb,kRunningIdx:Un,kError:un,kSocket:Gt,kStrictContentLength:Hse,kOnError:bb,kMaxConcurrentStreams:sF,kHTTP2Session:ln,kResume:Ro,kSize:zse,kHTTPContext:$se}=$e(),So=Symbol("open streams"),ZO,eF=!1,ef;try{ef=require("node:http2")}catch{ef={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Vse,HTTP2_HEADER_METHOD:Yse,HTTP2_HEADER_PATH:Jse,HTTP2_HEADER_SCHEME:Wse,HTTP2_HEADER_CONTENT_LENGTH:jse,HTTP2_HEADER_EXPECT:Kse,HTTP2_HEADER_STATUS:Bb}}=ef;function nF(t){let e=[];for(let[r,s]of Object.entries(t))if(Array.isArray(s))for(let n of s)e.push(Buffer.from(r),Buffer.from(n));else e.push(Buffer.from(r),Buffer.from(s));return e}o(nF,"parseH2Headers");function Xse(t){let{[Bb]:e,...r}=t;return nF(r)}o(Xse,"parseH2ResponseHeaders");async function Zse(t,e){t[Gt]=e,eF||(eF=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=ef.connect(t[Zh],{createConnection:o(()=>e,"createConnection"),peerMaxConcurrentStreams:t[sF]});r[So]=0,r[Bl]=t,r[Gt]=e,he.addListener(r,"error",tne),he.addListener(r,"frameError",rne),he.addListener(r,"end",sne),he.addListener(r,"goaway",nne),he.addListener(r,"close",function(){let{[Bl]:n}=this,{[Gt]:i}=n,a=this[Gt][un]||this[un]||new WA("closed",he.getSocketInfo(i));if(n[ln]=null,n.destroyed){qn(n[Gse]===0);let c=n[ka].splice(n[Un]);for(let l=0;l<c.length;l++){let u=c[l];he.errorRequest(n,u,a)}}}),r.unref(),t[ln]=r,e[ln]=r,he.addListener(e,"error",function(n){this[un]=n,this[Bl][bb](n)}),he.addListener(e,"end",function(){he.destroy(this,new WA("other side closed",he.getSocketInfo(this)))}),he.addListener(e,"close",function(){let n=this[un]||new WA("closed",he.getSocketInfo(this));t[Gt]=null,this[ln]!=null&&this[ln].destroy(n),t[wb]=t[Un],qn(t[rf]===0),t.emit("disconnect",t[Zh],[t],n),t[Ro]()});let s=!1;return e.on("close",()=>{s=!0}),{version:"h2",defaultPipelining:1/0,write(...n){return one(t,...n)},resume(){ene(t)},destroy(n,i){s?queueMicrotask(i):e.destroy(n).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}o(Zse,"connectH2");function ene(t){let e=t[Gt];e?.destroyed===!1&&(t[zse]===0&&t[sF]===0?(e.unref(),t[ln].unref()):(e.ref(),t[ln].ref()))}o(ene,"resumeH2");function tne(t){this[Gt][un]=t,this[Bl][bb](t)}o(tne,"onHttp2SessionError");function rne(t,e,r){if(r===0){let s=new Xh(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[Gt][un]=s,this[Bl][bb](s)}}o(rne,"onHttp2FrameError");function sne(){let t=new WA("other side closed",he.getSocketInfo(this[Gt]));this.destroy(t),he.destroy(this[Gt],t)}o(sne,"onHttp2SessionEnd");function nne(t){let e=this[un]||new WA(`HTTP/2: "GOAWAY" frame received with code ${t}`,he.getSocketInfo(this)),r=this[Bl];if(r[Gt]=null,r[$se]=null,this[ln]!=null&&(this[ln].destroy(e),this[ln]=null),he.destroy(this[Gt],e),r[Un]<r[ka].length){let s=r[ka][r[Un]];r[ka][r[Un]++]=null,he.errorRequest(r,s,e),r[wb]=r[Un]}qn(r[rf]===0),r.emit("disconnect",r[Zh],[r],e),r[Ro]()}o(nne,"onHTTP2GoAway");function ine(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}o(ine,"shouldSendContentLength");function one(t,e){let r=t[ln],{method:s,path:n,host:i,upgrade:a,expectContinue:c,signal:l,headers:u}=e,{body:A}=e;if(a)return he.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let d={};for(let B=0;B<u.length;B+=2){let N=u[B+0],R=u[B+1];if(Array.isArray(R))for(let q=0;q<R.length;q++)d[N]?d[N]+=`,${R[q]}`:d[N]=R[q];else d[N]=R}let p,{hostname:m,port:h}=t[Zh];d[Vse]=i||`${m}${h?`:${h}`:""}`,d[Yse]=s;let f=o(B=>{if(!e.aborted){if(e.completed){s==="CONNECT"&&p!=null&&he.destroy(p,B||new Cb);return}B=B||new Cb,he.errorRequest(t,e,B),p!=null&&he.destroy(p,B),he.destroy(A,B),t[ka][t[Un]++]=null,t[Ro]()}},"abort");try{e.onConnect(f)}catch(B){he.errorRequest(t,e,B)}if(e.aborted)return!1;if(s==="CONNECT"){r.ref(),p=r.request(d,{endStream:!1,signal:l});let B=!1,N=o(Ae=>{B=!0,p.off(yb,R),e.onUpgradeResponse(Number(Ae[Bb]),Ae,Xse)},"onResponse"),R=o(Ae=>{B=!0,p.off("response",N),e.onUpgradeError(Ae)},"onUpgradeError"),q=o(()=>{try{e.onUpgrade(null,null,p)}catch(Ae){p.off("response",N),f(Ae);return}e.aborted||(p.off("error",f),p.once(yb,R),t[ka][t[Un]++]=null)},"onReady");return p.once("response",N),p.once("error",f),++r[So],q(),p.once("close",()=>{!B&&e.completed&&(p.off("response",N),p.off(yb,R),e.onUpgradeError(new Xh(`HTTP/2: "stream error"Line truncated
`,this[Pne]=l??3e5,this[vne]=n??3e5,this[kne]=y??!0,this[Dne]=B,this[Sb]=R,this[vo]=null,this[Fne]=Ae>-1?Ae:-1,this[qne]=_e??100,this[mt]=null,this[An]=[],this[$i]=0,this[dn]=0,this[ZA]=mr=>Tb(this,mr),this[Une]=mr=>EF(this,mr)}get pipelining(){return this[af]}set pipelining(e){this[af]=e,this[ZA](!0)}get[rd](){return this[An].length-this[dn]}get[td](){return this[dn]-this[$i]}get[ed](){return this[An].length-this[$i]}get[bne](){return!!this[mt]&&!this[bl]&&!this[mt].destroyed}get[Nb](){return!!(this[mt]?.busy(null)||this[ed]>=(gF(this)||1)||this[rd]>0)}[wne](e){yF(this),this.once("connect",e)}[One](e,r){let s=e.origin||this[Hn].origin,n=new gne(s,e,r);return this[An].push(n),this[_a]||(Da.bodyLength(n.body)==null&&Da.isIterable(n.body)?(this[_a]=1,queueMicrotask(()=>Tb(this))):this[ZA](!0)),this[_a]&&this[Po]!==2&&this[Nb]&&(this[Po]=2),this[Po]<2}async[Lne](){return new Promise(e=>{this[ed]?this[vo]=e:e(null)})}async[Mne](e){return new Promise(r=>{let s=this[An].splice(this[dn]);for(let i=0;i<s.length;i++){let a=s[i];Da.errorRequest(this,a,e)}let n=o(()=>{this[vo]&&(this[vo](),this[vo]=null),r(null)},"callback");this[mt]?(this[mt].destroy(e,n),this[mt]=null):queueMicrotask(n),this[ZA]()})}},zne=of();function EF(t,e){if(t[td]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){zi(t[dn]===t[$i]);let r=t[An].splice(t[$i]);for(let s=0;s<r.length;s++){let n=r[s];Da.errorRequest(t,n,e)}zi(t[ed]===0)}}o(EF,"onError");async function yF(t){zi(!t[bl]),zi(!t[mt]);let{host:e,hostname:r,protocol:s,port:n}=t[Hn];if(r[0]==="["){let i=r.indexOf("]");zi(i!==-1);let a=r.substring(1,i);zi(fF.isIP(a)),r=a}t[bl]=!0,wl.beforeConnect.hasSubscribers&&wl.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[To],localAddress:t[XA]},connector:t[KA]});try{let i=await new Promise((a,c)=>{t[KA]({host:e,hostname:r,protocol:s,port:n,servername:t[To],localAddress:t[XA]},(l,u)=>{l?c(l):a(u)})});if(t.destroyed){Da.destroy(i.on("error",mF),new Cne);return}zi(i);try{t[mt]=i.alpnProtocol==="h2"?await Hne(t,i):await Gne(t,i)}catch(a){throw i.destroy().on("error",mF),a}t[bl]=!1,i[_ne]=0,i[Sb]=t[Sb],i[Bne]=t,i[Qne]=null,wl.connected.hasSubscribers&&wl.connected.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[To],localAddress:t[XA]},connector:t[KA],socket:i}),t.emit("connect",t[Hn],[t])}catch(i){if(t.destroyed)return;if(t[bl]=!1,wl.connectError.hasSubscribers&&wl.connectError.publish({connectParams:{host:e,hostname:r,protocol:s,port:n,version:t[mt]?.version,servername:t[To],localAddress:t[XA]},connector:t[KA],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(zi(t[td]===0);t[rd]>0&&t[An][t[dn]].servername===t[To];){let a=t[An][t[dn]++];Da.errorRequest(t,a,i)}else EF(t,i);t.emit("connectionError",t[Hn],[t],i)}t[ZA]()}o(yF,"connect");function hF(t){t[Po]=0,t.emit("drain",t[Hn],[t])}o(hF,"emitDrain");function Tb(t,e){t[_a]!==2&&(t[_a]=2,$ne(t,e),t[_a]=0,t[$i]>256&&(t[An].splice(0,t[$i]),t[dn]-=t[$i],t[$i]=0))}o(Tb,"resume");function $ne(t,e){for(;;){if(t.destroyed){zi(t[rd]===0);return}if(t[vo]&&!t[ed]){t[vo](),t[vo]=null;return}if(t[mt]&&t[mt].resume(),t[Nb])t[Po]=2;else if(t[Po]===2){e?(t[Po]=1,queueMicrotask(()=>hF(t))):hF(t);continue}if(t[rd]===0||t[td]>=(gF(t)||1))return;let r=t[An][t[dn]];if(t[Hn].protocol==="https:"&&t[To]!==r.servername){if(t[td]>0)return;t[To]=r.servername,t[mt]?.destroy(new yne("servername changed"),()=>{t[mt]=null,Tb(t)})}if(t[bl])return;if(!t[mt]){yF(t);return}if(t[mt].destroyed||t[mt].busy(r))return;!r.aborted&&t[mt].write(r)?t[dn]++:t[An].splice(t[dn],1)}}o($ne,"_resume");CF.exports=Rb});var vb=g((dUe,IF)=>{"use strict";var cf=class{static{o(this,"FixedCircularBuffer")}constructor(){this.bottom=0,this.top=0,this.list=new Array(2048),this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return e===void 0?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}};IF.exports=class{static{o(this,"FixedQueue")}constructor(){this.head=this.tail=new cf}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new cf),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var wF=g((mUe,BF)=>{var{kFree:Vne,kConnected:Yne,kPending:Jne,kQueued:Wne,kRunning:jne,kSize:Kne}=$e(),La=Symbol("pool"),Pb=class{static{o(this,"PoolStats")}constructor(e){this[La]=e}get connected(){return this[La][Yne]}get free(){return this[La][Vne]}get pending(){return this[La][Jne]}get queued(){return this[La][Wne]}get running(){return this[La][jne]}get size(){return this[La][Kne]}};BF.exports=Pb});var Ob=g((fUe,kF)=>{"use strict";var Xne=ll(),Zne=vb(),{kConnected:kb,kSize:bF,kRunning:xF,kPending:QF,kQueued:sd,kBusy:eie,kFree:tie,kUrl:rie,kClose:sie,kDestroy:nie,kDispatch:iie}=$e(),oie=wF(),Dr=Symbol("cl Line truncated
${s.count} ${s.noun} ${s.is} pending:
${e.format(r)}
`.trim())}};y2.exports=SQ});var gf=f((mFe,b2)=>{"use strict";var I2=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Woe}=we(),joe=yl();w2()===void 0&&B2(new joe);function B2(t){if(!t||typeof t.dispatch!="function")throw new Woe("Argument agent must implement Agent");Object.defineProperty(globalThis,I2,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(B2,"setGlobalDispatcher");function w2(){return globalThis[I2]}o(w2,"getGlobalDispatcher");b2.exports={setGlobalDispatcher:B2,getGlobalDispatcher:w2}});var Ef=f((gFe,Q2)=>{"use strict";Q2.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new 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)}}});var N2=f((yFe,x2)=>{"use strict";var Koe=Wh();x2.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let l=new Koe(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var R2=f((IFe,S2)=>{"use strict";var Xoe=af();S2.exports=t=>e=>o(function(s,n){return e(s,new Xoe({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var v2=f((wFe,T2)=>{"use strict";var Zoe=pe(),{InvalidArgumentError:eae,RequestAbortedError:tae}=we(),rae=Ef(),RQ=class extends rae{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#r=!1;#i=!1;#n=0;#s=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new eae("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#i=!0,this.#s=e}onHeaders(e,r,s,n){let a=Zoe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new tae(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#i?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#r||(e=this.#s??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#r=!0,this.#i?this.#o.onError(this.#s):this.#o.onComplete([])),!0}onComplete(e){if(!this.#r){if(this.#i){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function sae({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new RQ({maxSize:i},n);return e(s,a)},"Intercept")}o(sae,"createDumpInterceptor");T2.exports=sae});var D2=f((QFe,k2)=>{"use strict";var{isIP:nae}=require("node:net"),{lookup:iae}=require("node:dns"),oae=Ef(),{InvalidArgumentError:Sl,InformationalError:aae}=we(),P2=Math.pow(2,31)-1,TQ=class{static{o(this,"DNSInstance")}#e=0;#t=0;#r=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.#i,this.pick=e.pick??this.#n}get full(){return this.#r.size===this.#t}runLookup(e,r,s){let n=this.#r.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new aae("No DNS entries found"));return}this.setRecords(e,c);let l=this.#r.get(e.hostname),u=this.pick(e,l,i.affinity),A;typeof u.port=="number"?A=`:${u.port}`:e.port!==""?A=`:${e.port}`:A="",s(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${A}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#r.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#i(e,r,s){iae(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);s(null,a.values())})}#n(e,r,s){let n=null,{records:i,offset:a}=r,c;if(this.dualStack?(s==null&&(a==null||a===P2?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?c=i[s]:c=i[s===4?6:4]):c=i[s],c==null||c.ips.length===0)return n;c.offset==null||c.offset===P2?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return n=c.ips[l]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(c.ips.splice(l,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=n.records[i.family]??{ips:[]};a.ips.push(i),n.records[i.family]=a}this.#r.set(e.hostname,n)}getHandler(e,r){return new vQ(this,e,r)}},vQ=class extends oae{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#r=null Line truncated
${a}`;return}if(ng(e,n,CAe)){IAe(e,i)&&(r.retry=e.toString("utf8",i));return}if(ng(e,n,yAe)){BAe(e,i)&&(r.id=e.toString("utf8",i));return}if(ng(e,n,EAe)){let a=e.toString("utf8",i);a.length>0&&(r.event=a)}}processEvent(e){e.retry&&pAe(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&mAe(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,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],r=0;for(let s=this.lineChunkIndex;s<=this.chunkIndex;s++){let n=this.chunks[s],i=s===this.lineChunkIndex?this.linePos:0,a=s===this.chunkIndex?this.pos:n.length,c=n.subarray(i,a);r+=c.length,e.push(c)}return Buffer.concat(e,r)}peekBufferedByte(e){let r=this.lineChunkIndex,s=this.linePos;for(;r<this.chunks.length;){let n=this.chunks[r],i=n.length-s;if(e<i)return n[s+e];e-=i,r++,s=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let s=this.chunks[this.lineChunkIndex].length-this.linePos;e<s?(this.linePos+=e,e=0):(e-=s,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),r=this.peekBufferedByte(1),s=this.peekBufferedByte(2);return r===void 0?(e===Gl[0]||(this.checkBOM=!1),!0):s===void 0?e===Gl[0]&&r===Gl[1]?!0:(this.checkBOM=!1,!1):(e===Gl[0]&&r===Gl[1]&&s===Gl[2]&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}};dG.exports={EventSourceStream:Cx}});var IG=f((SUe,CG)=>{"use strict";var{pipeline:wAe}=require("node:stream"),{fetching:bAe}=od(),{makeRequest:QAe}=vl(),{webidl:Ji}=Wt(),{EventSourceStream:xAe}=pG(),{parseMIMEType:NAe}=vr(),{createFastMessageEvent:SAe}=Ml(),{isNetworkError:mG}=nd(),{delay:RAe}=Ex(),{kEnumerableProperty:Va}=pe(),{environmentSettingsObject:hG}=Kr(),fG=!1,gG=3e3,Cd=0,EG=1,Id=2,TAe="anonymous",vAe="use-credentials",Hl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#r=!1;#i=Cd;#n=null;#s=null;#o;#a;constructor(e,r={}){super(),Ji.util.markAsUncloneable(this);let s="EventSource constructor";Ji.argumentLengthCheck(arguments,1,s),fG||(fG=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ji.converters.USVString(e,s,"url"),r=Ji.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:gG};let n=hG,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=TAe;r.withCredentials&&(a=vAe,this.#r=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=hG.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=QAe(c),this.#l()}get readyState(){return this.#i}get url(){return this.#t}get withCredentials(){return this.#r}#l(){if(this.#i===Id)return;this.#i=Cd;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{mG(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(mG(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let n=s.headersList.get("content-type",!0),i=n!==null?NAe(n):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(s.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#i=EG,this.dispatchEvent(new Event("open")),this.#a.origin=s.urlList[s.urlList.length-1].origin;let c=new xAe({eventSourceSettings:this.#a,push:o(l=>{this.dispatchEvent(SAe(l.type,l.options))},"push")});wAe(s.body.stream,c,l=>{l?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#s=bA Line truncated
%s`,S,S,y,s);var R=y.type==="*"?Q0:y.type==="?"?b0:"\\"+y.type;n=!0,s=s.slice(0,y.reStart)+R+"\\("+S}h(),i&&(s+="\\\\");var q=!1;switch(s.charAt(0)){case"[":case".":case"(":q=!0}for(var ge=c.length-1;ge>-1;ge--){var Te=c[ge],Ne=s.slice(0,Te.reStart),Pe=s.slice(Te.reStart,Te.reEnd-8),Ae=s.slice(Te.reEnd-8,Te.reEnd),Me=s.slice(Te.reEnd);Ae+=Me;var se=Ne.split("(").length-1,Ar=Me;for(g=0;g<se;g++)Ar=Ar.replace(/\)[+*?]?/,"");Me=Ar;var $="";Me===""&&e!==kg&&($="$");var Se=Ne+Pe+Me+$+Ae;s=Se}if(s!==""&&n&&(s="(?=.)"+s),q&&(s=p+s),e===kg)return[s,n];if(!n)return mfe(t);var Pn=r.nocase?"i":"";try{var bo=new RegExp("^"+s+"$",Pn)}catch{return new RegExp("$.")}return bo._glob=t,bo._src=s,bo}o(dfe,"parse");ls.makeRe=function(t,e){return new jt(t,e||{}).makeRe()};jt.prototype.makeRe=pfe;function pfe(){if(this.regexp||this.regexp===!1)return this.regexp;var t=this.set;if(!t.length)return this.regexp=!1,this.regexp;var e=this.options,r=e.noglobstar?Q0:e.dot?ife:ofe,s=e.nocase?"i":"",n=t.map(function(i){return i.map(function(a){return a===x0?r:typeof a=="string"?hfe(a):a._src}).join("\\/")}).join("|");n="^(?:"+n+")$",this.negate&&(n="^(?!"+n+").*$");try{this.regexp=new RegExp(n,s)}catch{this.regexp=!1}return this.regexp}o(pfe,"makeRe");ls.match=function(t,e,r){r=r||{};var s=new jt(e,r);return t=t.filter(function(n){return s.match(n)}),s.options.nonull&&!t.length&&t.push(e),t};jt.prototype.match=o(function(e,r){if(typeof r>"u"&&(r=this.partial),this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return e==="";if(e==="/"&&r)return!0;var s=this.options;$d.sep!=="/"&&(e=e.split($d.sep).join("/")),e=e.split(x$),this.debug(this.pattern,"split",e);var n=this.set;this.debug(this.pattern,"set",n);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a<n.length;a++){var c=n[a],l=e;s.matchBase&&c.length===1&&(l=[i]);var u=this.matchOne(l,c,r);if(u)return s.flipNegate?!0:!this.negate}return s.flipNegate?!1:this.negate},"match");jt.prototype.matchOne=function(t,e,r){var s=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var n=0,i=0,a=t.length,c=e.length;n<a&&i<c;n++,i++){this.debug("matchOne loop");var l=e[i],u=t[n];if(this.debug(e,l,u),l===!1)return!1;if(l===x0){this.debug("GLOBSTAR",[e,l,u]);var A=n,d=i+1;if(d===c){for(this.debug("** at the end");n<a;n++)if(t[n]==="."||t[n]===".."||!s.dot&&t[n].charAt(0)===".")return!1;return!0}for(;A<a;){var p=t[A];if(this.debug(`
globstar while`,t,A,e,d,p),this.matchOne(t.slice(A),e.slice(d),r))return this.debug("globstar found match!",A,a,p),!0;if(p==="."||p===".."||!s.dot&&p.charAt(0)==="."){this.debug("dot detected!",t,A,e,d);break}this.debug("globstar swallow a segment, and continue"),A++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,A,e,d),A===a))}var m;if(typeof l=="string"?(m=u===l,this.debug("string match",l,u,m)):(m=u.match(l),this.debug("pattern match",l,u,m)),!m)return!1}if(n===a&&i===c)return!0;if(n===a)return r;if(i===c)return n===a-1&&t[n]==="";throw new Error("wtf?")};function mfe(t){return t.replace(/\\(.)/g,"$1")}o(mfe,"globUnescape");function hfe(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}o(hfe,"regExpEscape")});var Jd=f((aHe,k$)=>{"use strict";var wfe="2.0.0",bfe=Number.MAX_SAFE_INTEGER||9007199254740991,Qfe=16,xfe=250,Nfe=["major","premajor","minor","preminor","patch","prepatch","prerelease"];k$.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:Qfe,MAX_SAFE_BUILD_LENGTH:xfe,MAX_SAFE_INTEGER:bfe,RELEASE_TYPES:Nfe,SEMVER_SPEC_VERSION:wfe,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Wd=f((cHe,D$)=>{"use strict";var Sfe=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};D$.exports=Sfe});var ru=f((Wn,_$)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:S0,MAX_SAFE_BUILD_LENGTH:Rfe,MAX_LENGTH:Tfe}=Jd(),vfe=Wd();Wn=_$.exports={};var Pfe=Wn.re=[],kfe=Wn.safeRe=[],M=Wn.src=[],Dfe=Wn.safeSrc=[],O=Wn.t={},_fe=0,R0="[a-zA-Z0-9-]",Lfe=[["\\s",1],["\\d",Tfe],[R0,Rfe]],Mfe=o(t=>{for(let[e,r]of Lfe)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ie=o((t,e,r)=>{let s=Mfe(e),n=_fe++;vfe(t,n,e),O[t]=n,M[n]=e,Dfe[n]=s,Pfe[n]=new RegExp(e,r?"g":void 0),kfe[n]=new RegExp(s,r?"g":void 0)},"createToken");ie("NUMERICIDENTIFIER","0|[1-9]\\d*");ie("NUMERICIDENTIFIERLOOSE","\\d+");ie("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${R0}*`);ie("MAINVERSION",`(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})\\.(${M[O.NUMERICIDENTIFIER]})`);ie("MAINVERSIONLOOSE",`(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})\\.(${M[O.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASEIDENTIFIER",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIER]})`);ie("PRERELEASEIDENTIFIERLOOSE",`(?:${M[O.NONNUMERICIDENTIFIER]}|${M[O.NUMERICIDENTIFIERLOOSE]})`);ie("PRERELEASE",`(?:-(${M[O.PRERELEASEIDENTIFIER]}(?:\\.${M[O.PRERELEASEIDENTIFIER]})*))`);ie("PRERELEASELOOSE",`(?:-?(${M[O.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${M[O.PRERELEASEIDENTIFIERLOOSE]})*))`);ie("BUILDIDENTIFIER",`${R0}+`);ie("BUILD",`(?:\\+(${M[O.BUILDIDENTIFIER]}(?:\\.${M[O.BUILDIDENTIFIER]})*))`);ie("FULLPLAIN",`v?${M[O.MAINVERSION]}${M[O.PRERELEASE]}?${M[O.BUILD]}?`);ie("FULL",`^${M[O.FULLPLAIN]}$`);ie("LOOSEPLAIN",`[v=\\s]*${M[O.MAINVERSIONLOOSE]}${M[O.PRERELEASELOOSE]}?${M[O.BUILD]}?`);ie("LOOSE",`^${M[O.LOOSEPLAIN]}$`);ie("GTLT","((?:<|>)?=?)");ie("XRANGEIDENTIFIERLOOSE",`${M[O.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ie("XRANGEIDENTIFIER",`${M[O.NUMERICIDENTIFIER]}|x|X|\\*`);ie("XRANGEPLAIN",`[v=\\s]*(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:\\.(${M[O.XRANGEIDENTIFIER]})(?:${M[O.PRERELEASE]})?${M[O.BUILD]}?)?)?`);ie("XRANGEPLAINLOOSE",`[v=\\s]*(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:\\.(${M[O.XRANGEIDENTIFIERLOOSE]})(?:${M[O.PRERELEASELOOSE]})?${M[O.BUILD]}?)?)?`);ie("XRANGE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAIN]}$`);ie("XRANGELOOSE",`^${M[O.GTLT]}\\s*${M[O.XRANGEPLAINLOOSE]}$`);ie("COERCEPLAIN",`(^|[^\\d])(\\d{1,${S0}})(?:\\.(\\d{1,${S0}}))?(?:\\.(\\d{1,${S0}}))?`);ie("COERCE",`${M[O.COERCEPLAIN]}(?:$|[^\\d])`);ie("COERCEFULL",M[O.COERCEPLAIN]+`(?:${M[O.PRERELEASE]})?(?:${M[O.BUILD]})?(?:$|[^\\d])`);ie("COERCERTL",M[O.COERCE],!0);ie("COERCERTLFULL",M[O.COERCEFULL],!0);ie("LONETILDE","(?:~>?)");ie("TILDETRIM",`(\\s*)${M[O.LONETILDE]}\\s+`,!0);Wn.tildeTrimReplace="$1~";ie("TILDE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAIN]}$`);ie("TILDELOOSE",`^${M[O.LONETILDE]}${M[O.XRANGEPLAINLOOSE]}$`);ie("LONECARET","(?:\\^)");ie("CARETTRIM",`(\\s*)${M[O.LONECARET]}\\s+`,!0);Wn.caretTrimReplace="$1^";ie("CARET",`^${M[O.LONECARET]}${M[O.XRANGEPLAIN]}$`);ie("CARETLOOSE",`^${M[O.LONECARET]}${M[O.XRANGEPLAINLOOSE]}$`);ie("COMPARATORLOOSE",`^${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]})$|^$`);ie("COMPARATOR",`^${M[O.GTLT]}\\s*(${M[O.FULLPLAIN]})$|^$`);ie("COMPARATORTRIM",`(\\s*)${M[O.GTLT]}\\s*(${M[O.LOOSEPLAIN]}|${M[O.XRANGEPLAIN]})`,!0);Wn.comparatorTrimReplace="$1$2$3";ie("HYPHENRANGE",`^\\s*(${M[O.XRANGEPLAIN]})\\s+-\\s+(${M[O.XRANGEPLAIN]})\\s*$`);ie("HYPHENRANGELOOSE",`^\\s*(${M[O.XRANGEPLAINLOOSE]})\\s+-\\s+(${M[O.XRANGEPLAINLOOSE]})\\s*$`);ie("STAR","(<|>)?=?\\s*\\*");ie("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ie("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var Mg=f((uHe,L$)=>{"use strict";var Ofe=Object.freeze({loose:!0}),Ffe=Object.freeze({}),Ufe=o(t=>t?typeof t!="object"?Ofe:t:Ffe,"parseOptions");L$.exports=Ufe});var T0=f((dHe,F$)=>{"use strict";var M$=/^[0-9]+$/,O$=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=M$.test(t),s=M$.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},"compareIdentifiers"),qfe=o((t,e)=>O$(e,t),"rcompareIdentifiers");F$Line truncated
`.trim())}};U1.exports=Ox});var pd=g((m1e,$1)=>{"use strict";var G1=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:Pae}=we(),kae=Nl();z1()===void 0&&H1(new kae);function H1(t){if(!t||typeof t.dispatch!="function")throw new Pae("Argument agent must implement Agent");Object.defineProperty(globalThis,G1,{value:t,writable:!0,enumerable:!1,configurable:!1})}o(H1,"setGlobalDispatcher");function z1(){return globalThis[G1]}o(z1,"getGlobalDispatcher");$1.exports={setGlobalDispatcher:H1,getGlobalDispatcher:z1}});var Qf=g((g1e,V1)=>{"use strict";V1.exports=class{static{o(this,"DecoratorHandler")}#e;constructor(e){if(typeof e!="object"||e===null)throw new 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)}}});var J1=g((y1e,Y1)=>{"use strict";var Dae=nf();Y1.exports=t=>{let e=t?.maxRedirections;return r=>o(function(n,i){let{maxRedirections:a=e,...c}=n;if(!a)return r(n,i);let l=new Dae(r,a,n,i);return r(c,l)},"redirectInterceptor")}});var j1=g((I1e,W1)=>{"use strict";var _ae=ff();W1.exports=t=>e=>o(function(s,n){return e(s,new _ae({...s,retryOptions:{...t,...s.retryOptions}},{handler:n,dispatch:e}))},"retryInterceptor")});var X1=g((w1e,K1)=>{"use strict";var Lae=pe(),{InvalidArgumentError:Mae,RequestAbortedError:Oae}=we(),Fae=Qf(),Fx=class extends Fae{static{o(this,"DumpHandler")}#e=1024*1024;#t=null;#s=!1;#r=!1;#n=0;#i=null;#o=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new Mae("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#o=r}onConnect(e){this.#t=e,this.#o.onConnect(this.#a.bind(this))}#a(e){this.#r=!0,this.#i=e}onHeaders(e,r,s,n){let a=Lae.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new Oae(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#o.onHeaders(e,r,s,n)}onError(e){this.#s||(e=this.#i??e,this.#o.onError(e))}onData(e){return this.#n=this.#n+e.length,this.#n>=this.#e&&(this.#s=!0,this.#r?this.#o.onError(this.#i):this.#o.onComplete([])),!0}onComplete(e){if(!this.#s){if(this.#r){this.#o.onError(this.reason);return}this.#o.onComplete(e)}}};function Uae({maxSize:t}={maxSize:1024*1024}){return e=>o(function(s,n){let{dumpMaxSize:i=t}=s,a=new Fx({maxSize:i},n);return e(s,a)},"Intercept")}o(Uae,"createDumpInterceptor");K1.exports=Uae});var t2=g((x1e,e2)=>{"use strict";var{isIP:qae}=require("node:net"),{lookup:Gae}=require("node:dns"),Hae=Qf(),{InvalidArgumentError:Ll,InformationalError:zae}=we(),Z1=Math.pow(2,31)-1,Ux=class{static{o(this,"DNSInstance")}#e=0;#t=0;#s=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.#n}get full(){return this.#s.size===this.#t}runLookup(e,r,s){let n=this.#s.get(e.hostname);if(n==null&&this.full){s(null,e.origin);return}let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...r.dns,maxTTL:this.#e,maxItems:this.#t};if(n==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){s(a??new zae("No DNS entries found"));return}this.setRecords(e,c);let l=this.#s.get(e.hostname),u=this.pick(e,l,i.affinity),A;typeof u.port=="number"?A=`:${u.port}`:e.port!==""?A=`:${e.port}`:A="",s(null,`${e.protocol}//${u.family===6?`[${u.address}]`:u.address}${A}`)});else{let a=this.pick(e,n,i.affinity);if(a==null){this.#s.delete(e.hostname),this.runLookup(e,r,s);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",s(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,s){Gae(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(n,i)=>{if(n)return s(n);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);s(null,a.values())})}#n(e,r,s){let n=null,{records:i,offset:a}=r,c;if(this.dualStack?(s==null&&(a==null||a===Z1?(r.offset=0,s=4):(r.offset++,s=(r.offset&1)===1?6:4)),i[s]!=null&&i[s].ips.length>0?c=i[s]:c=i[s===4?6:4]):c=i[s],c==null||c.ips.length===0)return n;c.offset==null||c.offset===Z1?c.offset=0:c.offset++;let l=c.offset%c.ips.length;return n=c.ips[l]??null,n==null?n:Date.now()-n.timestamp>n.ttl?(c.ips.splice(l,1),this.pick(e,r,s)):n}setRecords(e,r){let s=Date.now(),n={records:{4:null,6:null}};for(let i of r){i.timestamp=s,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=n.records[i.family]??{ips:[]};a.ips.push(i),n.records[i.family]=a}this.#s.set(e.hostname,n)}getHandler(e,r){return new qx(this,e,r)}},qx=class extends Hae{static{o(this,"DNSDispatchHandler")}#e=null;#t=null;#s=null Line truncated
${l}`,this.dataLineCount++;return}if(dg(e,n,ide)){lde(e,i)&&(this.setEventFieldSize("retry",e.length-i),r.retry=e.toString("utf8",i));return}if(dg(e,n,nde)){ude(e,i)&&(this.setEventFieldSize("id",e.length-i),r.id=e.toString("utf8",i));return}dg(e,n,sde)&&i<e.length&&(this.setEventFieldSize("event",e.length-i),r.event=e.toString("utf8",i))}setEventFieldSize(e,r){let s=this.eventSize-this.eventFieldSizes[e]+r;if(this.maxEventSize>0&&s>this.maxEventSize)throw pg();this.eventSize=s,this.eventFieldSizes[e]=r}processEvent(e){e.retry&&KAe(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&XAe(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,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0,this.eventSize=0,this.dataLineCount=0,this.eventFieldSizes.data=0,this.eventFieldSizes.event=0,this.eventFieldSizes.id=0,this.eventFieldSizes.retry=0}hasPendingEvent(){return this.event.data!==void 0||this.event.event!==void 0||this.event.id!==void 0||this.event.retry!==void 0}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.lineLength=0,this.dropConsumedChunks()}dropConsumedChunks(){if(this.lineChunkIndex>0){let e=this.lineChunkIndex;this.chunks.splice(0,e),this.lineChunkIndex=0,this.chunkIndex-=e}this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],r=0;for(let s=this.lineChunkIndex;s<=this.chunkIndex;s++){let n=this.chunks[s],i=s===this.lineChunkIndex?this.linePos:0,a=s===this.chunkIndex?this.pos:n.length,c=n.subarray(i,a);r+=c.length,e.push(c)}return Buffer.concat(e,r)}peekBufferedByte(e){let r=this.lineChunkIndex,s=this.linePos;for(;r<this.chunks.length;){let n=this.chunks[r],i=n.length-s;if(e<i)return n[s+e];e-=i,r++,s=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let s=this.chunks[this.lineChunkIndex].length-this.linePos;e<s?(this.linePos+=e,e=0):(e-=s,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),r=this.peekBufferedByte(1),s=this.peekBufferedByte(2);return r===void 0?(e===jl[0]||(this.checkBOM=!1),!0):s===void 0?e===jl[0]&&r===jl[1]?!0:(this.checkBOM=!1,!1):(e===jl[0]&&r===jl[1]&&s===jl[2]&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}};PG.exports={EventSourceStream:TQ}});var qG=g((S2e,UG)=>{"use strict";var{pipeline:Ade}=require("node:stream"),{fetching:dde}=Ed(),{makeRequest:pde}=Fl(),{webidl:Wi}=Kt(),{EventSourceStream:mde}=kG(),{parseMIMEType:hde}=Pr(),{createFastMessageEvent:fde}=$l(),{isNetworkError:DG}=fd(),{delay:gde}=RQ(),{kEnumerableProperty:Xa}=pe(),{environmentSettingsObject:_G}=ts(),{getGlobalDispatcher:Ede}=pd(),LG=!1,MG=3e3,kd=0,OG=1,Dd=2,yde="anonymous",Cde="use-credentials",Kl=class t extends EventTarget{static{o(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#s=!1;#r=kd;#n=null;#i=null;#o;#a;constructor(e,r={}){super(),Wi.util.markAsUncloneable(this);let s="EventSource constructor";Wi.argumentLengthCheck(arguments,1,s),LG||(LG=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Wi.converters.USVString(e,s,"url"),r=Wi.converters.EventSourceInitDict(r,s,"eventSourceInitDict"),this.#o=r.dispatcher,this.#a={lastEventId:"",reconnectionTime:MG};let n=_G,i;try{i=new URL(e,n.settingsObject.baseUrl),this.#a.origin=i.origin}catch(l){throw new DOMException(l,"SyntaxError")}this.#t=i.href;let a=yde;r.withCredentials&&(a=Cde,this.#s=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=_G.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#n=pde(c),this.#l()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#s}#l(){if(this.#r===Dd)return;this.#r=kd;let e={request:this.#n,dispatcher:this.#o},r=o(s=>{DG(s)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=s=>{if(DG(s))if(s.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c( Line truncated
`).join(`
`+i),t.push(n+"m+"+wE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=fCe()+e+" "+t[0]}o(hCe,"formatArgs");function fCe(){return Kt.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(fCe,"getDate");function gCe(...t){return process.stderr.write(BE.format(...t)+`
`)}o(gCe,"log");function ECe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(ECe,"save");function yCe(){return process.env.DEBUG}o(yCe,"load");function CCe(t){t.inspectOpts={};let e=Object.keys(Kt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=Kt.inspectOpts[e[r]]}o(CCe,"init");wE.exports=gN()(Kt);var{formatters:gJ}=wE.exports;gJ.o=function(t){return this.inspectOpts.colors=this.useColors,BE.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};gJ.O=function(t){return this.inspectOpts.colors=this.useColors,BE.inspect(t,this.inspectOpts)}});var bE=f((KVe,CN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?CN.exports=AJ():CN.exports=EJ()});var IJ=f(Or=>{"use strict";var ICe=Or&&Or.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),BCe=Or&&Or.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yJ=Or&&Or.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&ICe(e,t,r);return BCe(e,t),e};Object.defineProperty(Or,"__esModule",{value:!0});Or.req=Or.json=Or.toBuffer=void 0;var wCe=yJ(require("http")),bCe=yJ(require("https"));async function CJ(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(CJ,"toBuffer");Or.toBuffer=CJ;async function QCe(t){let r=(await CJ(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(QCe,"json");Or.json=QCe;function xCe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?bCe:wCe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(xCe,"req");Or.req=xCe});var BN=f(ps=>{"use strict";var wJ=ps&&ps.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),NCe=ps&&ps.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),bJ=ps&&ps.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&wJ(e,t,r);return NCe(e,t),e},SCe=ps&&ps.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&wJ(e,t,r)};Object.defineProperty(ps,"__esModule",{value:!0});ps.Agent=void 0;var RCe=bJ(require("net")),BJ=bJ(require("http")),TCe=require("https");SCe(IJ(),ps);var Zn=Symbol("AgentBaseInternalState"),IN=class extends BJ.Agent{static{o(this,"Agent")}constructor(e){super(e),this[Zn]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new RCe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?TCe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof BJ.Agent)return c.addRequest(e,n);this[Zn].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[Zn].currentSocket;if(this[Zn].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[Zn].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[Zn]&&(this[Zn].defaultPort=e)}get protocol(){return this[Zn].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[Zn]&&(this[Zn].protocol=e)}};ps.Agent=IN});var QJ=f(du=>{"use strict";var vCe=du&&du.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(du,"__esModule",{value:!0});du.parseProxyResponse=void 0;var PCe=vCe(bE()),QE=(0,PCe.default)("https-proxy-agent:parse-proxy-response");function kCe(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let A=t.read();A?u(A):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),QE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),QE("onerror %o",A),r(A)}o(l,"onerror");function u(A){n.push(A),s+=A.length;let d=Buffer.concat(n,s),p=d.indexOf(`\r
`+i),t.push(n+"m+"+TE.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=rBe()+e+" "+t[0]}o(tBe,"formatArgs");function rBe(){return er.inspectOpts.hideDate?"":new Date().toISOString()+" "}o(rBe,"getDate");function sBe(...t){return process.stderr.write(RE.format(...t)+`
`)}o(sBe,"log");function nBe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}o(nBe,"save");function iBe(){return process.env.DEBUG}o(iBe,"load");function oBe(t){t.inspectOpts={};let e=Object.keys(er.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=er.inspectOpts[e[r]]}o(oBe,"init");TE.exports=TN()(er);var{formatters:_J}=TE.exports;_J.o=function(t){return this.inspectOpts.colors=this.useColors,RE.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};_J.O=function(t){return this.inspectOpts.colors=this.useColors,RE.inspect(t,this.inspectOpts)}});var vE=g((I3e,kN)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?kN.exports=RJ():kN.exports=LJ()});var FJ=g(Ur=>{"use strict";var aBe=Ur&&Ur.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),cBe=Ur&&Ur.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),MJ=Ur&&Ur.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&aBe(e,t,r);return cBe(e,t),e};Object.defineProperty(Ur,"__esModule",{value:!0});Ur.req=Ur.json=Ur.toBuffer=void 0;var lBe=MJ(require("http")),uBe=MJ(require("https"));async function OJ(t){let e=0,r=[];for await(let s of t)e+=s.length,r.push(s);return Buffer.concat(r,e)}o(OJ,"toBuffer");Ur.toBuffer=OJ;async function ABe(t){let r=(await OJ(t)).toString("utf8");try{return JSON.parse(r)}catch(s){let n=s;throw n.message+=` (input: ${r})`,n}}o(ABe,"json");Ur.json=ABe;function dBe(t,e={}){let s=((typeof t=="string"?t:t.href).startsWith("https:")?uBe:lBe).request(t,e),n=new Promise((i,a)=>{s.once("response",i).once("error",a).end()});return s.then=n.then.bind(n),s}o(dBe,"req");Ur.req=dBe});var _N=g(fs=>{"use strict";var qJ=fs&&fs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),pBe=fs&&fs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),GJ=fs&&fs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&qJ(e,t,r);return pBe(e,t),e},mBe=fs&&fs.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&qJ(e,t,r)};Object.defineProperty(fs,"__esModule",{value:!0});fs.Agent=void 0;var hBe=GJ(require("net")),UJ=GJ(require("http")),fBe=require("https");mBe(FJ(),fs);var ei=Symbol("AgentBaseInternalState"),DN=class extends UJ.Agent{static{o(this,"Agent")}constructor(e){super(e),this[ei]={}}isSecureEndpoint(e){if(e){if(typeof e.secureEndpoint=="boolean")return e.secureEndpoint;if(typeof e.protocol=="string")return e.protocol==="https:"}let{stack:r}=new Error;return typeof r!="string"?!1:r.split(`
`).some(s=>s.indexOf("(https.js:")!==-1||s.indexOf("node:https:")!==-1)}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let r=new hBe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let s=this.sockets[e],n=s.indexOf(r);n!==-1&&(s.splice(n,1),this.totalSocketCount--,s.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?fBe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,s){let n={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(n),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(c=>{if(this.decrementSockets(i,a),c instanceof UJ.Agent)return c.addRequest(e,n);this[ei].currentSocket=c,super.createSocket(e,r,s)},c=>{this.decrementSockets(i,a),s(c)})}createConnection(){let e=this[ei].currentSocket;if(this[ei].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[ei].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[ei]&&(this[ei].defaultPort=e)}get protocol(){return this[ei].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[ei]&&(this[ei].protocol=e)}};fs.Agent=DN});var HJ=g(Bu=>{"use strict";var gBe=Bu&&Bu.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Bu,"__esModule",{value:!0});Bu.parseProxyResponse=void 0;var EBe=gBe(vE()),PE=(0,EBe.default)("https-proxy-agent:parse-proxy-response");function yBe(t){return new Promise((e,r)=>{let s=0,n=[];function i(){let A=t.read();A?u(A):t.once("readable",i)}o(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",l),t.removeListener("readable",i)}o(a,"cleanup");function c(){a(),PE("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}o(c,"onend");function l(A){a(),PE("onerror %o",A),r(A)}o(l,"onerror");function u(A){n.push(A),s+=A.length;let d=Buffer.concat(n,s),p=d.indexOf(`\r
\r
`);if(p===-1){QE("have not received end of HTTP headers yet..."),i();return}let m=d.slice(0,p).toString("ascii").split(`\r
`),h=m.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let g=h.split(" "),C=+g[1],E=g.slice(2).join(" "),y={};for(let I of m){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let S=I.slice(0,B).toLowerCase(),R=I.slice(B+1).trimStart(),q=y[S];typeof q=="string"?y[S]=[q,R]:Array.isArray(q)?q.push(R):y[S]=R}QE("got proxy server response: %o %o",h,y),a(),e({connect:{statusCode:C,statusText:E,headers:y},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),i()})}o(kCe,"parseProxyResponse");du.parseProxyResponse=kCe});var TJ=f(qs=>{"use strict";var DCe=qs&&qs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),_Ce=qs&&qs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),SJ=qs&&qs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&DCe(e,t,r);return _Ce(e,t),e},RJ=qs&&qs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(qs,"__esModule",{value:!0});qs.HttpsProxyAgent=void 0;var Ap=SJ(require("net")),xJ=SJ(require("tls")),LCe=RJ(require("assert")),MCe=RJ(bE()),OCe=BN(),FCe=require("url"),UCe=QJ(),dp=(0,MCe.default)("https-proxy-agent"),xE=class extends OCe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new FCe.URL(e):e,this.proxyHeaders=r?.headers??{},dp("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?NJ(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;if(s.protocol==="https:"){dp("Creating `tls.Socket`: %o",this.connectOpts);let p=this.connectOpts.servername||this.connectOpts.host;n=xJ.connect({...this.connectOpts,servername:p&&Ap.isIP(p)?void 0:p})}else dp("Creating `net.Socket`: %o",this.connectOpts),n=Ap.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Ap.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`);if(p===-1){PE("have not received end of HTTP headers yet..."),i();return}let m=d.slice(0,p).toString("ascii").split(`\r
`),h=m.shift();if(!h)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let f=h.split(" "),C=+f[1],E=f.slice(2).join(" "),y={};for(let I of m){if(!I)continue;let B=I.indexOf(":");if(B===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${I}"`));let N=I.slice(0,B).toLowerCase(),R=I.slice(B+1).trimStart(),q=y[N];typeof q=="string"?y[N]=[q,R]:Array.isArray(q)?q.push(R):y[N]=R}PE("got proxy server response: %o %o",h,y),a(),e({connect:{statusCode:C,statusText:E,headers:y},buffered:d})}o(u,"ondata"),t.on("error",l),t.on("end",c),i()})}o(yBe,"parseProxyResponse");Bu.parseProxyResponse=yBe});var JJ=g(Gs=>{"use strict";var CBe=Gs&&Gs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),IBe=Gs&&Gs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),VJ=Gs&&Gs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&CBe(e,t,r);return IBe(e,t),e},YJ=Gs&&Gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.HttpsProxyAgent=void 0;var Bp=VJ(require("net")),zJ=VJ(require("tls")),BBe=YJ(require("assert")),wBe=YJ(vE()),bBe=_N(),xBe=require("url"),QBe=HJ(),wp=(0,wBe.default)("https-proxy-agent"),kE=class extends bBe.Agent{static{o(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new xBe.URL(e):e,this.proxyHeaders=r?.headers??{},wp("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?$J(r,"headers"):null,host:s,port:n}}async connect(e,r){let{proxy:s}=this;if(!r.host)throw new TypeError('No "host" provided');let n;if(s.protocol==="https:"){wp("Creating `tls.Socket`: %o",this.connectOpts);let p=this.connectOpts.servername||this.connectOpts.host;n=zJ.connect({...this.connectOpts,servername:p&&Bp.isIP(p)?void 0:p})}else wp("Creating `net.Socket`: %o",this.connectOpts),n=Bp.connect(this.connectOpts);let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=Bp.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(s.username||s.password){let p=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(p).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(i))c+=`${p}: ${i[p]}\r
`;let l=(0,UCe.parseProxyResponse)(n);n.write(`${c}\r
`);let{connect:u,buffered:A}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200){if(e.once("socket",qCe),r.secureEndpoint){dp("Upgrading socket connection to TLS");let p=r.servername||r.host;return xJ.connect({...NJ(r,"host","path","port"),socket:n,servername:Ap.isIP(p)?void 0:p})}return n}n.destroy();let d=new Ap.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{dp("Replaying proxy buffer for failed request"),(0,LCe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};xE.protocols=["http","https"];qs.HttpsProxyAgent=xE;function qCe(t){t.resume()}o(qCe,"resume");function NJ(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(NJ,"omit")});var kJ=f(Gs=>{"use strict";var GCe=Gs&&Gs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),HCe=Gs&&Gs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),PJ=Gs&&Gs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&GCe(e,t,r);return HCe(e,t),e},zCe=Gs&&Gs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Gs,"__esModule",{value:!0});Gs.HttpProxyAgent=void 0;var $Ce=PJ(require("net")),VCe=PJ(require("tls")),YCe=zCe(bE()),JCe=require("events"),WCe=BN(),vJ=require("url"),pu=(0,YCe.default)("http-proxy-agent"),NE=class extends WCe.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new vJ.URL(e):e,this.proxyHeaders=r?.headers??{},pu("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?jCe(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new vJ.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let u=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let A=l[u];A&&e.setHeader(u,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;pu("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(pu("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r
`;let l=(0,QBe.parseProxyResponse)(n);n.write(`${c}\r
`);let{connect:u,buffered:A}=await l;if(e.emit("proxyConnect",u),this.emit("proxyConnect",u,e),u.statusCode===200){if(e.once("socket",NBe),r.secureEndpoint){wp("Upgrading socket connection to TLS");let p=r.servername||r.host;return zJ.connect({...$J(r,"host","path","port"),socket:n,servername:Bp.isIP(p)?void 0:p})}return n}n.destroy();let d=new Bp.Socket({writable:!1});return d.readable=!0,e.once("socket",p=>{wp("Replaying proxy buffer for failed request"),(0,BBe.default)(p.listenerCount("data")>0),p.push(A),p.push(null)}),d}};kE.protocols=["http","https"];Gs.HttpsProxyAgent=kE;function NBe(t){t.resume()}o(NBe,"resume");function $J(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o($J,"omit")});var KJ=g(Hs=>{"use strict";var SBe=Hs&&Hs.__createBinding||(Object.create?(function(t,e,r,s){s===void 0&&(s=r);var n=Object.getOwnPropertyDescriptor(e,r);(!n||("get"in n?!e.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:o(function(){return e[r]},"get")}),Object.defineProperty(t,s,n)}):(function(t,e,r,s){s===void 0&&(s=r),t[s]=e[r]})),RBe=Hs&&Hs.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jJ=Hs&&Hs.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)r!=="default"&&Object.prototype.hasOwnProperty.call(t,r)&&SBe(e,t,r);return RBe(e,t),e},TBe=Hs&&Hs.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Hs,"__esModule",{value:!0});Hs.HttpProxyAgent=void 0;var vBe=jJ(require("net")),PBe=jJ(require("tls")),kBe=TBe(vE()),DBe=require("events"),_Be=_N(),WJ=require("url"),wu=(0,kBe.default)("http-proxy-agent"),DE=class extends _Be.Agent{static{o(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new WJ.URL(e):e,this.proxyHeaders=r?.headers??{},wu("Creating new HttpProxyAgent instance: %o",this.proxy.href);let s=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?LBe(r,"headers"):null,host:s,port:n}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:s}=this,n=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${n}//${i}`,c=new WJ.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let l=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(s.username||s.password){let u=`${decodeURIComponent(s.username)}:${decodeURIComponent(s.password)}`;l["Proxy-Authorization"]=`Basic ${Buffer.from(u).toString("base64")}`}l["Proxy-Connection"]||(l["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let u of Object.keys(l)){let A=l[u];A&&e.setHeader(u,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let s,n;wu("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(wu("Patching connection write() output buffer with updated header"),s=e.outputData[0].data,n=s.indexOf(`\r
\r
`)+4,e.outputData[0].data=e._header+s.substring(n),pu("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(pu("Creating `tls.Socket`: %o",this.connectOpts),i=VCe.connect(this.connectOpts)):(pu("Creating `net.Socket`: %o",this.connectOpts),i=$Ce.connect(this.connectOpts)),await(0,JCe.once)(i,"connect"),i}};NE.protocols=["http","https"];Gs.HttpProxyAgent=NE;function jCe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(jCe,"omit")});var t3=f(qE=>{"use strict";Object.defineProperty(qE,"__esModule",{value:!0});qE.state=void 0;qE.state={instrumenterImplementation:void 0}});var E3=f(VE=>{"use strict";Object.defineProperty(VE,"__esModule",{value:!0});VE.state=void 0;VE.state={operationRequestMap:new WeakMap}});var jW=f(Pu=>{"use strict";Object.defineProperty(Pu,"__esModule",{value:!0});var hxe=require("os"),fxe=require("util");function gxe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(gxe,"_interopDefaultLegacy");var Exe=gxe(fxe);function yxe(t,...e){process.stderr.write(`${Exe.default.format(t,...e)}${hxe.EOL}`)}o(yxe,"log");var UW=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,GW,Xv=[],Zv=[],dC=[];UW&&eP(UW);var HW=Object.assign(t=>zW(t),{enable:eP,enabled:tP,disable:Cxe,log:yxe});function eP(t){GW=t,Xv=[],Zv=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?Zv.push(new RegExp(`^${s.substr(1)}$`)):Xv.push(new RegExp(`^${s}$`));for(let s of dC)s.enabled=tP(s.namespace)}o(eP,"enable");function tP(t){if(t.endsWith("*"))return!0;for(let e of Zv)if(e.test(t))return!1;for(let e of Xv)if(e.test(t))return!0;return!1}o(tP,"enabled");function Cxe(){let t=GW||"";return eP(""),t}o(Cxe,"disable");function zW(t){let e=Object.assign(r,{enabled:tP(t),destroy:Ixe,log:HW.log,namespace:t,extend:Bxe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),dC.push(e),e}o(zW,"createDebugger");function Ixe(){let t=dC.indexOf(this);return t>=0?(dC.splice(t,1),!0):!1}o(Ixe,"destroy");function Bxe(t){let e=zW(`${this.namespace}:${t}`);return e.log=this.log,e}o(Bxe,"extend");var Zp=HW,$W=new Set,uC=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,pC,mC=Zp("azure");mC.log=(...t)=>{Zp.log(...t)};var rP=["verbose","info","warning","error"];uC&&(WW(uC)?VW(uC):console.error(`AZURE_LOG_LEVEL set to unknown log level '${uC}'; logging is not enabled. Acceptable values: ${rP.join(", ")}.`));function VW(t){if(t&&!WW(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${rP.join(",")}`);pC=t;let e=[];for(let r of $W)JW(r)&&e.push(r.namespace);Zp.enable(e.join(","))}o(VW,"setLogLevel");function wxe(){return pC}o(wxe,"getLogLevel");var qW={verbose:400,info:300,warning:200,error:100};function bxe(t){let e=mC.extend(t);return YW(mC,e),{error:AC(e,"error"),warning:AC(e,"warning"),info:AC(e,"info"),verbose:AC(e,"verbose")}}o(bxe,"createClientLogger");function YW(t,e){e.log=(...r)=>{t.log(...r)}}o(YW,"patchLogMethod");function AC(t,e){let r=Object.assign(t.extend(e),{level:e});if(YW(t,r),JW(r)){let s=Zp.disable();Zp.enable(s+","+r.namespace)}return $W.add(r),r}o(AC,"createLogger");function JW(t){return!!(pC&&qW[t.level]<=qW[pC])}o(JW,"shouldEnable");function WW(t){return rP.includes(t)}o(WW,"isAzureLogLevel");Pu.AzureLogger=mC;Pu.createClientLogger=bxe;Pu.getLogLevel=wxe;Pu.setLogLevel=VW});var iP=f(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});var ku=new WeakMap,hC=new WeakMap,em=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,ku.set(this,[]),hC.set(this,!1)}get aborted(){if(!hC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return hC.get(this)}static get none(){return new t}addEventListener(e,r){if(!ku.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");ku.get(this).push(r)}removeEventListener(e,r){if(!ku.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=ku.get(this),n=s.indexOf(r);n>-1&&s.splice(n,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function KW(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=ku.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),hC.set(t,!0)}o(KW,"abortSignal");var sP=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},nP=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new em,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){KW(this._signal)}static timeout(e){let r=new em,s=setTimeout(KW,e,r);return typeof s.unref=="function"&&s.unref(),r}};tm.AbortController=nP;tm.AbortError=sP;tm.AbortSignal=em});var r8=f(ut=>{"use strict";Object.defineProperty(ut,"__esModule",{value:!0});var Qxe Line truncated
`)+4,e.outputData[0].data=e._header+s.substring(n),wu("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(wu("Creating `tls.Socket`: %o",this.connectOpts),i=PBe.connect(this.connectOpts)):(wu("Creating `net.Socket`: %o",this.connectOpts),i=vBe.connect(this.connectOpts)),await(0,DBe.once)(i,"connect"),i}};DE.protocols=["http","https"];Hs.HttpProxyAgent=DE;function LBe(t,...e){let r={},s;for(s in t)e.includes(s)||(r[s]=t[s]);return r}o(LBe,"omit")});var y3=g(JE=>{"use strict";Object.defineProperty(JE,"__esModule",{value:!0});JE.state=void 0;JE.state={instrumenterImplementation:void 0}});var L3=g(ZE=>{"use strict";Object.defineProperty(ZE,"__esModule",{value:!0});ZE.state=void 0;ZE.state={operationRequestMap:new WeakMap}});var m8=g(Gu=>{"use strict";Object.defineProperty(Gu,"__esModule",{value:!0});var tNe=require("os"),rNe=require("util");function sNe(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}o(sNe,"_interopDefaultLegacy");var nNe=sNe(rNe);function iNe(t,...e){process.stderr.write(`${nNe.default.format(t,...e)}${tNe.EOL}`)}o(iNe,"log");var n8=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,o8,AP=[],dP=[],yC=[];n8&&pP(n8);var a8=Object.assign(t=>c8(t),{enable:pP,enabled:mP,disable:oNe,log:iNe});function pP(t){o8=t,AP=[],dP=[];let e=/\*/g,r=t.split(",").map(s=>s.trim().replace(e,".*?"));for(let s of r)s.startsWith("-")?dP.push(new RegExp(`^${s.substr(1)}$`)):AP.push(new RegExp(`^${s}$`));for(let s of yC)s.enabled=mP(s.namespace)}o(pP,"enable");function mP(t){if(t.endsWith("*"))return!0;for(let e of dP)if(e.test(t))return!1;for(let e of AP)if(e.test(t))return!0;return!1}o(mP,"enabled");function oNe(){let t=o8||"";return pP(""),t}o(oNe,"disable");function c8(t){let e=Object.assign(r,{enabled:mP(t),destroy:aNe,log:a8.log,namespace:t,extend:cNe});function r(...s){e.enabled&&(s.length>0&&(s[0]=`${t} ${s[0]}`),e.log(...s))}return o(r,"debug"),yC.push(e),e}o(c8,"createDebugger");function aNe(){let t=yC.indexOf(this);return t>=0?(yC.splice(t,1),!0):!1}o(aNe,"destroy");function cNe(t){let e=c8(`${this.namespace}:${t}`);return e.log=this.log,e}o(cNe,"extend");var um=a8,l8=new Set,gC=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,CC,IC=um("azure");IC.log=(...t)=>{um.log(...t)};var hP=["verbose","info","warning","error"];gC&&(p8(gC)?u8(gC):console.error(`AZURE_LOG_LEVEL set to unknown log level '${gC}'; logging is not enabled. Acceptable values: ${hP.join(", ")}.`));function u8(t){if(t&&!p8(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${hP.join(",")}`);CC=t;let e=[];for(let r of l8)d8(r)&&e.push(r.namespace);um.enable(e.join(","))}o(u8,"setLogLevel");function lNe(){return CC}o(lNe,"getLogLevel");var i8={verbose:400,info:300,warning:200,error:100};function uNe(t){let e=IC.extend(t);return A8(IC,e),{error:EC(e,"error"),warning:EC(e,"warning"),info:EC(e,"info"),verbose:EC(e,"verbose")}}o(uNe,"createClientLogger");function A8(t,e){e.log=(...r)=>{t.log(...r)}}o(A8,"patchLogMethod");function EC(t,e){let r=Object.assign(t.extend(e),{level:e});if(A8(t,r),d8(r)){let s=um.disable();um.enable(s+","+r.namespace)}return l8.add(r),r}o(EC,"createLogger");function d8(t){return!!(CC&&i8[t.level]<=i8[CC])}o(d8,"shouldEnable");function p8(t){return hP.includes(t)}o(p8,"isAzureLogLevel");Gu.AzureLogger=IC;Gu.createClientLogger=uNe;Gu.getLogLevel=lNe;Gu.setLogLevel=u8});var EP=g(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});var Hu=new WeakMap,BC=new WeakMap,Am=class t{static{o(this,"AbortSignal")}constructor(){this.onabort=null,Hu.set(this,[]),BC.set(this,!1)}get aborted(){if(!BC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return BC.get(this)}static get none(){return new t}addEventListener(e,r){if(!Hu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");Hu.get(this).push(r)}removeEventListener(e,r){if(!Hu.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let s=Hu.get(this),n=s.indexOf(r);n>-1&&s.splice(n,1)}dispatchEvent(e){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}};function h8(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=Hu.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),BC.set(t,!0)}o(h8,"abortSignal");var fP=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},gP=class{static{o(this,"AbortController")}constructor(e){if(this._signal=new Am,!!e){Array.isArray(e)||(e=arguments);for(let r of e)r.aborted?this.abort():r.addEventListener("abort",()=>{this.abort()})}}get signal(){return this._signal}abort(){h8(this._signal)}static timeout(e){let r=new Am,s=setTimeout(h8,e,r);return typeof s.unref=="function"&&s.unref(),r}};dm.AbortController=gP;dm.AbortError=fP;dm.AbortSignal=Am});var C8=g(lt=>{"use strict";Object.defineProperty(lt,"__esModule",{value:!0});var ANe Line truncated
Polling from: ${r.config.operationLocation}
Operation status: ${A}
Polling status: ${o8.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(n8({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(e0e,"pollOperationHelper");async function u8(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:p,updateState:m,setDelay:h,isDone:g,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:y,status:I}=await e0e({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(c8({status:I,response:y,state:r,stateProxy:s,isDone:g,processResult:d,getError:p,setErrorAsResult:C}),!o8.includes(I)){let B=A?.(y);B&&h(B);let S=c?.(y,r);if(S!==void 0){let R=E!==S;r.config.operationLocation=S,u?.(S,R)}else u?.(E,!1)}m?.(r,y)}}o(u8,"pollOperation");function A8(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(A8,"getOperationLocationPollingUrl");function d8(t){return t.headers.location}o(d8,"getLocationHeader");function p8(t){return t.headers["operation-location"]}o(p8,"getOperationLocationHeader");function m8(t){return t.headers["azure-asyncoperation"]}o(m8,"getAzureAsyncOperationHeader");function t0e(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:n;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}o(a,"getDefault")}o(t0e,"findResourceLocation");function h8(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=p8(e),a=m8(e),c=A8({operationLocation:i,azureAsyncOperation:a}),l=d8(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:t0e({requestMethod:u,location:l,requestPath:s,resourceLocationConfig:n})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(h8,"inferLroMode");function f8(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return fP(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return xc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(f8,"transformStatus");function r0e(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return f8({status:r,statusCode:t.statusCode})}o(r0e,"getStatus");function s0e(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return f8({status:i,statusCode:t.statusCode})}o(s0e,"getProvisioningState");function fP(t){return t===202?"running":t<300?"succeeded":"failed"}o(fP,"toOperationStatus");function g8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?n0e(new Date(e)):r*1e3}}o(g8,"parseRetryAfter");function E8(t){let e=t.flatResponse.error;if(!e){xc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){xc.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(E8,"getErrorFromResponse");function n0e(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(n0e,"calculatePollingIntervalFromDate");function y8(t){let{response:e,state:r,operationLocation:s}=t;function n(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return fP(e.rawResponse.statusCode);case"Body":return gP(e,r);default:return"running"}}o(n,"helper");let i=n();return i==="running"&&s===void 0?"succeeded":i}o(y8,"getStatusFromInitialResponse");async function i0e(t){let{stateProxy:e,resourceLocationConfig:r,processResult:s,lro:n,setErrorAsResult:i}=t;return l8({init:o(async()=>{let a=await n.sendInitialRequest(),c=h8({rawResponse:a.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:s?({flatResponse:a},c)=>s(a,c):({flatResponse:a})=>a,getOperationStatus:y8,setErrorAsResult:i})}o(i0e,"initHttpOperation");function C8({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r==Line truncated
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(n){case 0:a=i,n=1;break;case 1:r[s++]=a<<2|(i&48)>>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o(G0e,"base64decode");Fu.base64decode=G0e;function H0e(t){let e="",r=0,s,n=0;for(let i=0;i<t.length;i++)switch(s=t[i],r){case 0:e+=ho[s>>2],n=(s&3)<<4,r=1;break;case 1:e+=ho[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=ho[n|s>>6],e+=ho[s&63],r=0;break}return r&&(e+=ho[n],e+="=",r==1&&(e+="=")),e}o(H0e,"base64encode");Fu.base64encode=H0e});var Z8=f(DC=>{"use strict";Object.defineProperty(DC,"__esModule",{value:!0});DC.utf8read=void 0;var SP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function z0e(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?s[n++]=i:i>191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(SP(s)),n=0);return r.length?(n&&r.push(SP(s.slice(0,n))),r.join("")):SP(s.slice(0,n))}o(z0e,"utf8read");DC.utf8read=z0e});var lm=f(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.WireType=Qi.mergeBinaryOptions=Qi.UnknownFieldHandler=void 0;var $0e;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})($0e=Qi.UnknownFieldHandler||(Qi.UnknownFieldHandler={}));function V0e(t,e){return Object.assign(Object.assign({},t),e)}o(V0e,"mergeBinaryOptions");Qi.mergeBinaryOptions=V0e;var Y0e;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(Y0e=Qi.WireType||(Qi.WireType={}))});var LC=f($r=>{"use strict";Object.defineProperty($r,"__esModule",{value:!0});$r.varint32read=$r.varint32write=$r.int64toString=$r.int64fromString=$r.varint64write=$r.varint64read=void 0;function J0e(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(J0e,"varint64read");$r.varint64read=J0e;function W0e(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(W0e,"varint64write");$r.varint64write=W0e;var _C=65536*65536;function j0e(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let l=Number(t.slice(a,c));n*=r,s=s*r+l,s>=_C&&(n=n+(s/_C|0),s=s%_C)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(j0e,"int64fromString");$r.int64fromString=j0e;function K0e(t,e){if(e>>>0<=2097151)return""+(_C*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(A,d){let p=A?String(A):"";return d?"0000000".slice(p.length)+p:p}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(i,1)}o(K0e,"int64toString");$r.int64toString=K0e;function X0e(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(X0e,"varint32write");$r.varint32write=X0e;function Z0e(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(Z0e,"varint32read");$r.varint32read=Z0e});var Aa=f(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.PbLong=ua.PbULong=ua.detectBi=void 0;var um=LC(),Le;function e5(){let t=new DataView(new ArrayBuffer(8));Le=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807" Line truncated
`)}};lI.RpcError=tk});var sk=f(AI=>{"use strict";Object.defineProperty(AI,"__esModule",{value:!0});AI.mergeRpcOptions=void 0;var P5=Bt();function ISe(t,e){if(!e)return t;let r={};uI(t,r),uI(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=P5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=P5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},uI(t.meta,r.meta),uI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(ISe,"mergeRpcOptions");AI.mergeRpcOptions=ISe;function uI(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(uI,"copy")});var ik=f(vc=>{"use strict";Object.defineProperty(vc,"__esModule",{value:!0});vc.Deferred=vc.DeferredState=void 0;var Si;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Si=vc.DeferredState||(vc.DeferredState={}));var nk=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Si.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Si.PENDING)throw new Error(`cannot resolve ${Si[this.state].toLowerCase()}`);this._resolve(e),this._state=Si.RESOLVED}reject(e){if(this.state!==Si.PENDING)throw new Error(`cannot reject ${Si[this.state].toLowerCase()}`);this._reject(e),this._state=Si.REJECTED}resolvePending(e){this._state===Si.PENDING&&this.resolve(e)}rejectPending(e){this._state===Si.PENDING&&this.reject(e)}};vc.Deferred=nk});var ak=f(dI=>{"use strict";Object.defineProperty(dI,"__esModule",{value:!0});dI.RpcOutputStreamController=void 0;var k5=ik(),Pc=Bt(),ok=class{static{o(this,"RpcOutputStreamController")}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,r){return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){Pc.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){Pc.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){Pc.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){Pc.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:o(()=>{let e=this._itState;Pc.assert(e,"bad state"),Pc.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 k5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Pc.assert(s.state==k5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};dI.RpcOutputStreamController=ok});var lk=f(Vu=>{"use strict";var BSe=Vu&&Vu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(Vu,"__esModule",{value:!0});Vu.UnaryCall=void 0;var ck=class{static{o(this,"UnaryCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return BSe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:n}})}};Vu.UnaryCall=ck});var Ak=f(Yu=>{"use strict";var wSe=Yu&&Yu.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){t Line truncated
Polling status: ${b8.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let d=a(u,r);if(d!==void 0)return{response:await e(d).catch(B8({state:r,stateProxy:s,isOperationError:c})),status:A}}return{response:u,status:A}}o(UNe,"pollOperationHelper");async function S8(t){let{poll:e,state:r,stateProxy:s,options:n,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:l,withOperationLocation:u,getPollingInterval:A,processResult:d,getError:p,updateState:m,setDelay:h,isDone:f,setErrorAsResult:C}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:y,status:I}=await UNe({poll:e,getOperationStatus:i,state:r,stateProxy:s,operationLocation:E,getResourceLocation:a,isOperationError:l,options:n});if(Q8({status:I,response:y,state:r,stateProxy:s,isDone:f,processResult:d,getError:p,setErrorAsResult:C}),!b8.includes(I)){let B=A?.(y);B&&h(B);let N=c?.(y,r);if(N!==void 0){let R=E!==N;r.config.operationLocation=N,u?.(N,R)}else u?.(E,!1)}m?.(r,y)}}o(S8,"pollOperation");function R8(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}o(R8,"getOperationLocationPollingUrl");function T8(t){return t.headers.location}o(T8,"getLocationHeader");function v8(t){return t.headers["operation-location"]}o(v8,"getOperationLocationHeader");function P8(t){return t.headers["azure-asyncoperation"]}o(P8,"getAzureAsyncOperationHeader");function qNe(t){var e;let{location:r,requestMethod:s,requestPath:n,resourceLocationConfig:i}=t;switch(s){case"PUT":return n;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:n;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return n;default:return r}}o(a,"getDefault")}o(qNe,"findResourceLocation");function k8(t){let{rawResponse:e,requestMethod:r,requestPath:s,resourceLocationConfig:n}=t,i=v8(e),a=P8(e),c=R8({operationLocation:i,azureAsyncOperation:a}),l=T8(e),u=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:qNe({requestMethod:u,location:l,requestPath:s,resourceLocationConfig:n})}:l!==void 0?{mode:"ResourceLocation",operationLocation:l}:u==="PUT"&&s?{mode:"Body",operationLocation:s}:void 0}o(k8,"inferLroMode");function D8(t){let{status:e,statusCode:r}=t;if(typeof e!="string"&&e!==void 0)throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${e}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);switch(e?.toLocaleLowerCase()){case void 0:return RP(r);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:return kc.verbose(`LRO: unrecognized operation status: ${e}`),e}}o(D8,"transformStatus");function GNe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return D8({status:r,statusCode:t.statusCode})}o(GNe,"getStatus");function HNe(t){var e,r;let{properties:s,provisioningState:n}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=s?.provisioningState)!==null&&r!==void 0?r:n;return D8({status:i,statusCode:t.statusCode})}o(HNe,"getProvisioningState");function RP(t){return t===202?"running":t<300?"succeeded":"failed"}o(RP,"toOperationStatus");function _8({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?zNe(new Date(e)):r*1e3}}o(_8,"parseRetryAfter");function L8(t){let e=t.flatResponse.error;if(!e){kc.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){kc.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}o(L8,"getErrorFromResponse");function zNe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}o(zNe,"calculatePollingIntervalFromDate");function M8(t){let{response:e,state:r,operationLocation:s}=t;function n(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return RP(e.rawResponse.statusCode);case"Body":return TP(e,r);default:return"running"}}o(n,"helper");let i=n();return i==="running"&&s===void 0?"succeeded":i}o(M8,"getStatusFromInitialResponse");async function $Ne(t){let{stateProxy:e,resourceLocationConfig:r,processResult:s,lro:n,setErrorAsResult:i}=t;return N8({init:o(async()=>{let a=await n.sendInitialRequest(),c=k8({rawResponse:a.rawResponse,requestPath:n.requestPath,requestMethod:n.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:s?({flatResponse:a},c)=>s(a,c):({flatResponse:a})=>a,getOperationStatus:M8,setErrorAsResult:i})}o($Ne,"initHttpOperation");function O8({rawResponse:t},e){var r;switch((r=e.config.metadata)===null||r==Line truncated
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(n){case 0:a=i,n=1;break;case 1:r[s++]=a<<2|(i&48)>>4,a=i,n=2;break;case 2:r[s++]=(a&15)<<4|(i&60)>>2,a=i,n=3;break;case 3:r[s++]=(a&3)<<6|i,n=0;break}}if(n==1)throw Error("invalid base64 string.");return r.subarray(0,s)}o(SSe,"base64decode");Wu.base64decode=SSe;function RSe(t){let e="",r=0,s,n=0;for(let i=0;i<t.length;i++)switch(s=t[i],r){case 0:e+=fo[s>>2],n=(s&3)<<4,r=1;break;case 1:e+=fo[n|s>>4],n=(s&15)<<2,r=2;break;case 2:e+=fo[n|s>>6],e+=fo[s&63],r=0;break}return r&&(e+=fo[n],e+="=",r==1&&(e+="=")),e}o(RSe,"base64encode");Wu.base64encode=RSe});var g5=g(qC=>{"use strict";Object.defineProperty(qC,"__esModule",{value:!0});qC.utf8read=void 0;var qP=o(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function TSe(t){if(t.length<1)return"";let e=0,r=[],s=[],n=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?s[n++]=i:i>191&&i<224?s[n++]=(i&31)<<6|t[e++]&63:i>239&&i<365?(i=((i&7)<<18|(t[e++]&63)<<12|(t[e++]&63)<<6|t[e++]&63)-65536,s[n++]=55296+(i>>10),s[n++]=56320+(i&1023)):s[n++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,n>8191&&(r.push(qP(s)),n=0);return r.length?(n&&r.push(qP(s.slice(0,n))),r.join("")):qP(s.slice(0,n))}o(TSe,"utf8read");qC.utf8read=TSe});var Cm=g(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.WireType=Qi.mergeBinaryOptions=Qi.UnknownFieldHandler=void 0;var vSe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,s,n,i,a)=>{(e(s)?s[t.symbol]:s[t.symbol]=[]).push({no:n,wireType:i,data:a})},t.onWrite=(r,s,n)=>{for(let{no:i,wireType:a,data:c}of t.list(s))n.tag(i,a).raw(c)},t.list=(r,s)=>{if(e(r)){let n=r[t.symbol];return s?n.filter(i=>i.no==s):n}return[]},t.last=(r,s)=>t.list(r,s).slice(-1)[0];let e=o(r=>r&&Array.isArray(r[t.symbol]),"is")})(vSe=Qi.UnknownFieldHandler||(Qi.UnknownFieldHandler={}));function PSe(t,e){return Object.assign(Object.assign({},t),e)}o(PSe,"mergeBinaryOptions");Qi.mergeBinaryOptions=PSe;var kSe;(function(t){t[t.Varint=0]="Varint",t[t.Bit64=1]="Bit64",t[t.LengthDelimited=2]="LengthDelimited",t[t.StartGroup=3]="StartGroup",t[t.EndGroup=4]="EndGroup",t[t.Bit32=5]="Bit32"})(kSe=Qi.WireType||(Qi.WireType={}))});var HC=g(Yr=>{"use strict";Object.defineProperty(Yr,"__esModule",{value:!0});Yr.varint32read=Yr.varint32write=Yr.int64toString=Yr.int64fromString=Yr.varint64write=Yr.varint64read=void 0;function DSe(){let t=0,e=0;for(let s=0;s<28;s+=7){let n=this.buf[this.pos++];if(t|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}let r=this.buf[this.pos++];if(t|=(r&15)<<28,e=(r&112)>>4,(r&128)==0)return this.assertBounds(),[t,e];for(let s=3;s<=31;s+=7){let n=this.buf[this.pos++];if(e|=(n&127)<<s,(n&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}o(DSe,"varint64read");Yr.varint64read=DSe;function _Se(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>i,c=!(!(a>>>7)&&e==0),l=(c?a|128:a)&255;if(r.push(l),!c)return}let s=t>>>28&15|(e&7)<<4,n=e>>3!=0;if(r.push((n?s|128:s)&255),!!n){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),l=(c?a|128:a)&255;if(r.push(l),!c)return}r.push(e>>>31&1)}}o(_Se,"varint64write");Yr.varint64write=_Se;var GC=65536*65536;function LSe(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,s=0,n=0;function i(a,c){let l=Number(t.slice(a,c));n*=r,s=s*r+l,s>=GC&&(n=n+(s/GC|0),s=s%GC)}return o(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,s,n]}o(LSe,"int64fromString");Yr.int64fromString=LSe;function MSe(t,e){if(e>>>0<=2097151)return""+(GC*e+(t>>>0));let r=t&16777215,s=(t>>>24|e<<8)>>>0&16777215,n=e>>16&65535,i=r+s*6777216+n*6710656,a=s+n*8147497,c=n*2,l=1e7;i>=l&&(a+=Math.floor(i/l),i%=l),a>=l&&(c+=Math.floor(a/l),a%=l);function u(A,d){let p=A?String(A):"";return d?"0000000".slice(p.length)+p:p}return o(u,"decimalFrom1e7"),u(c,0)+u(a,c)+u(i,1)}o(MSe,"int64toString");Yr.int64toString=MSe;function OSe(t,e){if(t>=0){for(;t>127;)e.push(t&127|128),t=t>>>7;e.push(t)}else{for(let r=0;r<9;r++)e.push(t&127|128),t=t>>7;e.push(1)}}o(OSe,"varint32write");Yr.varint32write=OSe;function FSe(){let t=this.buf[this.pos++],e=t&127;if((t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<7,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<14,(t&128)==0)return this.assertBounds(),e;if(t=this.buf[this.pos++],e|=(t&127)<<21,(t&128)==0)return this.assertBounds(),e;t=this.buf[this.pos++],e|=(t&15)<<28;for(let r=5;(t&128)!==0&&r<10;r++)t=this.buf[this.pos++];if((t&128)!=0)throw new Error("invalid varint");return this.assertBounds(),e>>>0}o(FSe,"varint32read");Yr.varint32read=FSe});var pa=g(da=>{"use strict";Object.defineProperty(da,"__esModule",{value:!0});da.PbLong=da.PbULong=da.detectBi=void 0;var Im=HC(),De;function E5(){let t=new DataView(new ArrayBuffer(8));De=globalThis.BigInt!==void 0&&typeof t.getBigInt64=="function"&&typeof t.getBigUint64=="function"&&typeof t.setBigInt64=="function"&&typeof t.setBigUint64=="function"?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807" Line truncated
`)}};fI.RpcError=mk});var fk=g(EI=>{"use strict";Object.defineProperty(EI,"__esModule",{value:!0});EI.mergeRpcOptions=void 0;var j5=Ct();function aTe(t,e){if(!e)return t;let r={};gI(t,r),gI(e,r);for(let s of Object.keys(e)){let n=e[s];switch(s){case"jsonOptions":r.jsonOptions=j5.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=j5.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},gI(t.meta,r.meta),gI(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(n):n.concat();break}}return r}o(aTe,"mergeRpcOptions");EI.mergeRpcOptions=aTe;function gI(t,e){if(!t)return;let r=e;for(let[s,n]of Object.entries(t))n instanceof Date?r[s]=new Date(n.getTime()):Array.isArray(n)?r[s]=n.concat():r[s]=n}o(gI,"copy")});var Ek=g(Oc=>{"use strict";Object.defineProperty(Oc,"__esModule",{value:!0});Oc.Deferred=Oc.DeferredState=void 0;var Ri;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(Ri=Oc.DeferredState||(Oc.DeferredState={}));var gk=class{static{o(this,"Deferred")}constructor(e=!0){this._state=Ri.PENDING,this._promise=new Promise((r,s)=>{this._resolve=r,this._reject=s}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==Ri.PENDING)throw new Error(`cannot resolve ${Ri[this.state].toLowerCase()}`);this._resolve(e),this._state=Ri.RESOLVED}reject(e){if(this.state!==Ri.PENDING)throw new Error(`cannot reject ${Ri[this.state].toLowerCase()}`);this._reject(e),this._state=Ri.REJECTED}resolvePending(e){this._state===Ri.PENDING&&this.resolve(e)}rejectPending(e){this._state===Ri.PENDING&&this.reject(e)}};Oc.Deferred=gk});var Ck=g(yI=>{"use strict";Object.defineProperty(yI,"__esModule",{value:!0});yI.RpcOutputStreamController=void 0;var K5=Ek(),Fc=Ct(),yk=class{static{o(this,"RpcOutputStreamController")}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,r){return r.push(e),()=>{let s=r.indexOf(e);s>=0&&r.splice(s,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,s){Fc.assert((e?1:0)+(r?1:0)+(s?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),s&&this.notifyComplete()}notifyMessage(e){Fc.assert(!this.closed,"stream is closed"),this.pushIt({value:e,done:!1}),this._lis.msg.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(e,void 0,!1))}notifyError(e){Fc.assert(!this.closed,"stream is closed"),this._closed=e,this.pushIt(e),this._lis.err.forEach(r=>r(e)),this._lis.nxt.forEach(r=>r(void 0,e,!1)),this.clearLis()}notifyComplete(){Fc.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:o(()=>{let e=this._itState;Fc.assert(e,"bad state"),Fc.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 K5.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let s=r.p;Fc.assert(s.state==K5.DeferredState.PENDING,"iterator contract broken"),"value"in e?s.resolve(e):s.reject(e),delete r.p}else r.q.push(e)}};yI.RpcOutputStreamController=yk});var Bk=g(rA=>{"use strict";var cTe=rA&&rA.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};Object.defineProperty(rA,"__esModule",{value:!0});rA.UnaryCall=void 0;var Ik=class{static{o(this,"UnaryCall")}constructor(e,r,s,n,i,a,c){this.method=e,this.requestHeaders=r,this.request=s,this.headers=n,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(s=>e?Promise.resolve(e(s)):s,s=>r?Promise.resolve(r(s)):Promise.reject(s))}promiseFinished(){return cTe(this,void 0,void 0,function*(){let[e,r,s,n]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:e,response:r,status:s,trailers:n}})}};rA.UnaryCall=Ik});var bk=g(sA=>{"use strict";var lTe=sA&&sA.__awaiter||function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){t Line truncated
You can add a runtime option to disable the check or this warning:
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(tTe,"logUnexpecedPropertyAccessOnce");function rTe(){Object.keys(kI).forEach(function(t){delete kI[t]})}o(rTe,"resetLoggedProperties")});var _I=f(vi=>{"use strict";vi.__esModule=!0;vi.HandlebarsEnvironment=oD;function kj(t){return t&&t.__esModule?t:{default:t}}o(kj,"_interopRequireDefault");var Fc=xr(),sTe=ws(),nD=kj(sTe),nTe=eD(),iTe=Rj(),oTe=rD(),DI=kj(oTe),aTe=sD(),cTe="4.7.9";vi.VERSION=cTe;var lTe=8;vi.COMPILER_REVISION=lTe;var uTe=7;vi.LAST_COMPATIBLE_COMPILER_REVISION=uTe;var ATe={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};vi.REVISION_CHANGES=ATe;var iD="[object Object]";function oD(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},nTe.registerDefaultHelpers(this),iTe.registerDefaultDecorators(this)}o(oD,"HandlebarsEnvironment");oD.prototype={constructor:oD,logger:DI.default,log:DI.default.log,registerHelper:o(function(e,r){if(Fc.toString.call(e)===iD){if(r)throw new nD.default("Arg not supported with multiple helpers");Fc.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(Fc.toString.call(e)===iD)Fc.extend(this.partials,e);else{if(typeof r>"u")throw new nD.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(Fc.toString.call(e)===iD){if(r)throw new nD.default("Arg not supported with multiple decorators");Fc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){aTe.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var dTe=DI.default.log;vi.log=dTe;vi.createFrame=Fc.createFrame;vi.logger=DI.default});var _j=f((LI,Dj)=>{"use strict";LI.__esModule=!0;function aD(t){this.string=t}o(aD,"SafeString");aD.prototype.toString=aD.prototype.toHTML=function(){return""+this.string};LI.default=aD;Dj.exports=LI.default});var Lj=f(cD=>{"use strict";cD.__esModule=!0;cD.wrapHelper=pTe;function pTe(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(pTe,"wrapHelper")});var Gj=f(ma=>{"use strict";ma.__esModule=!0;ma.checkRevision=yTe;ma.template=CTe;ma.wrapProgram=MI;ma.resolvePartial=ITe;ma.invokePartial=BTe;ma.noop=Uj;function mTe(t){return t&&t.__esModule?t:{default:t}}o(mTe,"_interopRequireDefault");function hTe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(hTe,"_interopRequireWildcard");var fTe=xr(),tA=hTe(fTe),gTe=ws(),go=mTe(gTe),Eo=_I(),Mj=eD(),ETe=Lj(),Oj=sD();function yTe(t){var e=t&&t[0]||1,r=Eo.COMPILER_REVISION;if(!(e>=Eo.LAST_COMPATIBLE_COMPILER_REVISION&&e<=Eo.COMPILER_REVISION))if(e<Eo.LAST_COMPATIBLE_COMPILER_REVISION){var s=Eo.REVISION_CHANGES[r],n=Eo.REVISION_CHANGES[e];throw new go.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+n+").")}else throw new go.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(yTe,"checkRevision");function CTe(t,e){if(!e)throw new go.default("No environment passed to template");if(!t||!t.main)throw new go.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function s(a,c,l){l.hash&&(c=tA.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,c,l),l.hooks=this.hooks,l.protoAccessControl=this.protoAccessControl;var u=e.VM.invokePartial.call(this,a,c,l);if(u==null&&e.compile&&(l.partials[l.name]=e.compile(a,t.compilerOptions,e),u=l.partials[l.name](c,l)),u!=null){if(l.indent){for(var A=u.split(`
See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}o(Hve,"logUnexpecedPropertyAccessOnce");function zve(){Object.keys(UI).forEach(function(t){delete UI[t]})}o(zve,"resetLoggedProperties")});var GI=g(ki=>{"use strict";ki.__esModule=!0;ki.HandlebarsEnvironment=ED;function e9(t){return t&&t.__esModule?t:{default:t}}o(e9,"_interopRequireDefault");var Vc=ur(),$ve=en(),fD=e9($ve),Vve=dD(),Yve=jj(),Jve=mD(),qI=e9(Jve),Wve=hD(),jve="4.7.10";ki.VERSION=jve;var Kve=8;ki.COMPILER_REVISION=Kve;var Xve=7;ki.LAST_COMPATIBLE_COMPILER_REVISION=Xve;var Zve={1:"<= 1.0.rc.2",2:"== 1.0.0-rc.3",3:"== 1.0.0-rc.4",4:"== 1.x.x",5:"== 2.0.0-alpha.x",6:">= 2.0.0-beta.1",7:">= 4.0.0 <4.3.0",8:">= 4.3.0"};ki.REVISION_CHANGES=Zve;var gD="[object Object]";function ED(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Vve.registerDefaultHelpers(this),Yve.registerDefaultDecorators(this)}o(ED,"HandlebarsEnvironment");ED.prototype={constructor:ED,logger:qI.default,log:qI.default.log,registerHelper:o(function(e,r){if(Vc.toString.call(e)===gD){if(r)throw new fD.default("Arg not supported with multiple helpers");Vc.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:o(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:o(function(e,r){if(Vc.toString.call(e)===gD)Vc.extend(this.partials,e);else{if(typeof r>"u")throw new fD.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:o(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:o(function(e,r){if(Vc.toString.call(e)===gD){if(r)throw new fD.default("Arg not supported with multiple decorators");Vc.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:o(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:o(function(){Wve.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var ePe=qI.default.log;ki.log=ePe;ki.createFrame=Vc.createFrame;ki.logger=qI.default});var r9=g((HI,t9)=>{"use strict";HI.__esModule=!0;function yD(t){this.string=t}o(yD,"SafeString");yD.prototype.toString=yD.prototype.toHTML=function(){return""+this.string};HI.default=yD;t9.exports=HI.default});var s9=g(CD=>{"use strict";CD.__esModule=!0;CD.wrapHelper=tPe;function tPe(t,e){if(typeof t!="function")return t;var r=o(function(){var n=arguments[arguments.length-1];return arguments[arguments.length-1]=e(n),t.apply(this,arguments)},"wrapper");return r}o(tPe,"wrapHelper")});var c9=g(fa=>{"use strict";fa.__esModule=!0;fa.checkRevision=aPe;fa.template=cPe;fa.wrapProgram=zI;fa.resolvePartial=lPe;fa.invokePartial=uPe;fa.noop=o9;function rPe(t){return t&&t.__esModule?t:{default:t}}o(rPe,"_interopRequireDefault");function sPe(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(sPe,"_interopRequireWildcard");var nPe=ur(),Yc=sPe(nPe),iPe=en(),vn=rPe(iPe),go=GI(),n9=dD(),oPe=s9(),ID=hD();function aPe(t){var e=t&&t[0]||1,r=go.COMPILER_REVISION;if(!(e>=go.LAST_COMPATIBLE_COMPILER_REVISION&&e<=go.COMPILER_REVISION))if(e<go.LAST_COMPATIBLE_COMPILER_REVISION){var s=go.REVISION_CHANGES[r],n=go.REVISION_CHANGES[e];throw new vn.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+s+") or downgrade your runtime to an older version ("+n+").")}else throw new vn.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}o(aPe,"checkRevision");function cPe(t,e){if(!e)throw new vn.default("No environment passed to template");if(!t||!t.main)throw new vn.default("Unknown template object: "+typeof t);t.main.decorator=t.main_d,e.VM.checkRevision(t.compiler);var r=t.compiler&&t.compiler[0]===7;function s(a,c,l){l.hash&&(c=Yc.extend({},c,l.hash),l.ids&&(l.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,c,l),l.hooks=this.hooks,l.protoAccessControl=this.protoAccessControl;var u=e.VM.invokePartial.call(this,a,c,l);if(u==null&&Yc.isFunction(a))throw new vn.default("The partial "+l.name+" returned no output: partials must return a string");if(u==null&&e.compile){if(typeof a!="string")throw new vn.default("The partial "+l.name+" could not be compiled: partials must be strings or functions returning strings");l.partials[l.name]=e.compile(a,t.compilerOptions,e),u=l.partials[l.name](c,l)}if(u!=null){if(l.indent){for(var A=u.split(`
`),d=0,p=A.length;d<p&&!(!A[d]&&d+1===p);d++)A[d]=l.indent+A[d];u=A.join(`
`)}return u}else throw new go.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(s,"invokePartialWrapper");var n={strict:o(function(c,l,u){if(!c||!(l in c))throw new go.default('"'+l+'" not defined in '+c,{loc:u});return n.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var u=c[l];if(u==null||Object.prototype.hasOwnProperty.call(c,l)||Oj.resultIsAllowed(u,n.protoAccessControl,l))return u},"lookupProperty"),lookup:o(function(c,l){for(var u=c.length,A=0;A<u;A++){var d=c[A]&&n.lookupProperty(c[A],l);if(d!=null)return d}},"lookup"),lambda:o(function(c,l){return typeof c=="function"?c.call(l):c},"lambda"),escapeExpression:tA.escapeExpression,invokePartial:s,fn:o(function(c){var l=t[c];return l.decorator=t[c+"_d"],l},"fn"),programs:[],program:o(function(c,l,u,A,d){var p=this.programs[c],m=this.fn(c);return l||d||A||u?p=MI(this,c,m,l,u,A,d):p||(p=this.programs[c]=MI(this,c,m)),p},"program"),data:o(function(c,l){for(;c&&l--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,l){var u=c||l;return c&&l&&c!==l&&(u=tA.extend({},l,c)),u},"mergeIfNeeded"),nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=c.data;i._setup(c),!c.partial&&t.useData&&(l=wTe(a,l));var u=void 0,A=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?u=a!=c.depths[0]?[a].concat(c.depths):c.depths:u=[a]);function d(p){return""+t.main(n,p,n.helpers,n.partials,l,A,u)}return o(d,"main"),d=qj(t.main,d,n,c.depths||[],l,A),d(a,c)}return o(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)n.protoAccessControl=a.protoAccessControl,n.helpers=a.helpers,n.partials=a.partials,n.decorators=a.decorators,n.hooks=a.hooks;else{var c={};Fj(c,e.helpers,n),Fj(c,a.helpers,n),n.helpers=c,t.usePartial&&(n.partials=n.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(n.decorators=tA.extend({},e.decorators,a.decorators)),n.hooks={},n.protoAccessControl=Oj.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;Mj.moveHelperToHooks(n,"helperMissing",l),Mj.moveHelperToHooks(n,"blockHelperMissing",l)}},i._child=function(a,c,l,u){if(t.useBlockParams&&!l)throw new go.default("must pass block params");if(t.useDepths&&!u)throw new go.default("must pass parent depths");return MI(n,a,t[a],c,0,l,u)},i}o(CTe,"template");function MI(t,e,r,s,n,i,a){function c(l){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],A=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(A=[l].concat(a)),r(t,l,t.helpers,t.partials,u.data||s,i&&[u.blockParams].concat(i),A)}return o(c,"prog"),c=qj(r,c,t,a,s,i),c.program=e,c.depth=a?a.length:0,c.blockParams=n||0,c}o(MI,"wrapProgram");function ITe(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=OI(r.partials,t)):r.name==="@partial-block"?t=OI(r.data,"partial-block"):t=OI(r.partials,r.name),t}o(ITe,"resolvePartial");function BTe(t,e,r){var s=OI(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var n=void 0;if(r.fn&&r.fn!==Uj&&(function(){r.data=Eo.createFrame(r.data);var i=r.fn;n=r.data["partial-block"]=o(function(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=Eo.createFrame(l.data),l.data["partial-block"]=s,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=tA.extend({},r.partials,i.partials))})(),t===void 0&&n&&(t=n),t===void 0)throw new go.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(BTe,"invokePartial");function Uj(){return""}o(Uj,"noop");function OI(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o(OI,"lookupOwnProperty");function wTe(t,e){return(!e||!("root"in e))&&(e=e?Eo.createFrame(e):{},e.root=t),e}o(wTe,"initData");function qj(t,e,r,s,n,i){if(t.decorator){var a={};e=t.decorator(e,a,r,s&&s[0],n,i,s),tA.extend(e,a)}return e}o(qj,"executeDecorators");function Fj(t,e,r){e&&Object.keys(e).forEach(function(s){var n=e[s];t[s]=bTe(n,r)})}o(Fj,"addHelpers");function bTe(t,e){var r=e.lookupProperty;return ETe.wrapHelper(t,function(s){return s.lookupProperty=r,s})}o(bTe,"passLookupPropertyOption")});var lD=f((FI,Hj)=>{"use strict";FI.__esModule=!0;FI.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};Hj.exports=FI.default});var Jj=f((UI,Yj)=>{"use strict";UI.__esModule=!0;function AD(t){return t&&t.__esModule?t:{default:t}}o(AD,"_interopRequireDefault");function dD(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(dD,"_interopRequireWildcard");var QTe=_I(),zj=dD(QTe),xTe=_j(),NTe=AD(xTe),STe=ws(),RTe=AD(STe),TTe=xr(),uD=dD(TTe),vTe=Gj(),$j=dD(vTe),PTe=lD() Line truncated
`)}return u}else throw new vn.default("The partial "+l.name+" could not be compiled when running in runtime-only mode")}o(s,"invokePartialWrapper");var n={strict:o(function(c,l,u){if(!c||!(l in c))throw new vn.default('"'+l+'" not defined in '+c,{loc:u});return n.lookupProperty(c,l)},"strict"),lookupProperty:o(function(c,l){var u=c[l];if(u==null||Object.prototype.hasOwnProperty.call(c,l)&&!ID.isPrototypeConstructor(c,l,u)||ID.resultIsAllowed(u,n.protoAccessControl,l))return u},"lookupProperty"),lookup:o(function(c,l){for(var u=c.length,A=0;A<u;A++){var d=c[A]&&n.lookupProperty(c[A],l);if(d!=null)return d}},"lookup"),lambda:o(function(c,l){return typeof c=="function"?c.call(l):c},"lambda"),escapeExpression:Yc.escapeExpression,invokePartial:s,fn:o(function(c){var l=t[c];return l.decorator=t[c+"_d"],l},"fn"),programs:[],program:o(function(c,l,u,A,d){var p=this.programs[c],m=this.fn(c);return l||d||A||u?p=zI(this,c,m,l,u,A,d):p||(p=this.programs[c]=zI(this,c,m)),p},"program"),data:o(function(c,l){for(;c&&l--;)c=c._parent;return c},"data"),mergeIfNeeded:o(function(c,l){var u=c||l;return c&&l&&c!==l&&(u=Yc.extend({},l,c)),u},"mergeIfNeeded"),nullContext:Object.seal({}),noop:e.VM.noop,compilerInfo:t.compiler};function i(a){var c=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],l=c.data;i._setup(c),!c.partial&&t.useData&&(l=APe(a,l));var u=void 0,A=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?u=a!=c.depths[0]?[a].concat(c.depths):c.depths:u=[a]);function d(p){return""+t.main(n,p,n.helpers,n.partials,l,A,u)}return o(d,"main"),d=a9(t.main,d,n,c.depths||[],l,A),d(a,c)}return o(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)n.protoAccessControl=a.protoAccessControl,n.helpers=a.helpers,n.partials=a.partials,n.decorators=a.decorators,n.hooks=a.hooks;else{var c={};i9(c,e.helpers,n),i9(c,a.helpers,n),n.helpers=c,t.usePartial&&(n.partials=n.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(n.decorators=Yc.extend({},e.decorators,a.decorators)),n.hooks={},n.protoAccessControl=ID.createProtoAccessControl(a);var l=a.allowCallsToHelperMissing||r;n9.moveHelperToHooks(n,"helperMissing",l),n9.moveHelperToHooks(n,"blockHelperMissing",l)}},i._child=function(a,c,l,u){if(t.useBlockParams&&!l)throw new vn.default("must pass block params");if(t.useDepths&&!u)throw new vn.default("must pass parent depths");return zI(n,a,t[a],c,0,l,u)},i}o(cPe,"template");function zI(t,e,r,s,n,i,a){function c(l){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],A=a;return a&&l!=a[0]&&!(l===t.nullContext&&a[0]===null)&&(A=[l].concat(a)),r(t,l,t.helpers,t.partials,u.data||s,i&&[u.blockParams].concat(i),A)}return o(c,"prog"),c=a9(r,c,t,a,s,i),c.program=e,c.depth=a?a.length:0,c.blockParams=n||0,c}o(zI,"wrapProgram");function lPe(t,e,r){return t?typeof t!="function"&&!r.name&&(r.name=t,t=$I(r.partials,t)):r.name==="@partial-block"?t=$I(r.data,"partial-block"):t=$I(r.partials,r.name),t}o(lPe,"resolvePartial");function uPe(t,e,r){var s=$I(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var n=void 0;if(r.fn&&r.fn!==o9&&(function(){r.data=go.createFrame(r.data);var i=r.fn;n=r.data["partial-block"]=o(function(c){var l=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return l.data=go.createFrame(l.data),l.data["partial-block"]=s,i(c,l)},"partialBlockWrapper"),i.partials&&(r.partials=Yc.extend({},r.partials,i.partials))})(),t===void 0&&n&&(t=n),t===void 0)throw new vn.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}o(uPe,"invokePartial");function o9(){return""}o(o9,"noop");function $I(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}o($I,"lookupOwnProperty");function APe(t,e){return(!e||!("root"in e))&&(e=e?go.createFrame(e):{},e.root=t),e}o(APe,"initData");function a9(t,e,r,s,n,i){if(t.decorator){var a={};e=t.decorator(e,a,r,s&&s[0],n,i,s),Yc.extend(e,a)}return e}o(a9,"executeDecorators");function i9(t,e,r){e&&Object.keys(e).forEach(function(s){var n=e[s];t[s]=dPe(n,r)})}o(i9,"addHelpers");function dPe(t,e){var r=e.lookupProperty;return oPe.wrapHelper(t,function(s){return s.lookupProperty=r,s})}o(dPe,"passLookupPropertyOption")});var BD=g((VI,l9)=>{"use strict";VI.__esModule=!0;VI.default=function(t){(function(){typeof globalThis!="object"&&(Object.prototype.__defineGetter__("__magic__",function(){return this}),__magic__.globalThis=__magic__,delete Object.prototype.__magic__)})();var e=globalThis.Handlebars;t.noConflict=function(){return globalThis.Handlebars===t&&(globalThis.Handlebars=e),t}};l9.exports=VI.default});var m9=g((YI,p9)=>{"use strict";YI.__esModule=!0;function bD(t){return t&&t.__esModule?t:{default:t}}o(bD,"_interopRequireDefault");function xD(t){if(t&&t.__esModule)return t;var e={};if(t!=null)for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e.default=t,e}o(xD,"_interopRequireWildcard");var pPe=GI(),u9=xD(pPe),mPe=r9(),hPe=bD(mPe),fPe=en(),gPe=bD(fPe), Line truncated
`+this.lexer.showPosition()+`
Expecting `+se.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ar="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(Ar,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:se})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+B);switch(q[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(q[1]),B=null,S?(B=S,S=null):(p=this.lexer.yyleng,A=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,m>0&&m--);break;case 2:if(Ae=this.productions_[q[1]][1],Ne.$=c[c.length-Ae],Ne._$={first_line:l[l.length-(Ae||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(Ae||1)].first_column,last_column:l[l.length-1].last_column},E&&(Ne._$.range=[l[l.length-(Ae||1)].range[0],l[l.length-1].range[1]]),Te=this.performAction.call(Ne,A,p,d,this.yy,q[1],c,l),typeof Te<"u")return Te;Ae&&(a=a.slice(0,-1*Ae*2),c=c.slice(0,-1*Ae),l=l.slice(0,-1*Ae)),a.push(this.productions_[q[1]][0]),c.push(Ne.$),l.push(Ne._$),Me=u[a[a.length-2]][a[a.length-1]],a.push(Me);break;case 3:return!0}}return!0},"parse")},e=(function(){var s={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
Expecting `+de.join(", ")+", got '"+(this.terminals_[B]||B)+"'":mr="Parse error on line "+(d+1)+": Unexpected "+(B==1?"end of input":"'"+(this.terminals_[B]||B)+"'"),this.parseError(mr,{text:this.lexer.match,token:this.terminals_[B]||B,line:this.lexer.yylineno,loc:C,expected:de})}}if(q[0]instanceof Array&&q.length>1)throw new Error("Parse Error: multiple actions possible at state: "+R+", token: "+B);switch(q[0]){case 1:a.push(B),c.push(this.lexer.yytext),l.push(this.lexer.yylloc),a.push(q[1]),B=null,N?(B=N,N=null):(p=this.lexer.yyleng,A=this.lexer.yytext,d=this.lexer.yylineno,C=this.lexer.yylloc,m>0&&m--);break;case 2:if(me=this.productions_[q[1]][1],ke.$=c[c.length-me],ke._$={first_line:l[l.length-(me||1)].first_line,last_line:l[l.length-1].last_line,first_column:l[l.length-(me||1)].first_column,last_column:l[l.length-1].last_column},E&&(ke._$.range=[l[l.length-(me||1)].range[0],l[l.length-1].range[1]]),et=this.performAction.call(ke,A,p,d,this.yy,q[1],c,l),typeof et<"u")return et;me&&(a=a.slice(0,-1*me*2),c=c.slice(0,-1*me),l=l.slice(0,-1*me)),a.push(this.productions_[q[1]][0]),c.push(ke.$),l.push(ke._$),bt=u[a[a.length-2]][a[a.length-1]],a.push(bt);break;case 3:return!0}}return!0},"parse")},e=(function(){var s={EOF:1,parseError:o(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:o(function(i){return this._input=i,this._more=this._less=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:o(function(){var i=this._input[0];this.yytext+=i,this.yyleng++,this.offset++,this.match+=i,this.matched+=i;var a=i.match(/(?:\r\n?|\n).*/g);return a?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),i},"input"),unput:o(function(i){var a=i.length,c=i.split(/(?:\r\n?|\n)/g);this._input=i+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-a-1),this.offset-=a;var l=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),c.length-1&&(this.yylineno-=c.length-1);var u=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:c?(c.length===l.length?this.yylloc.first_column:0)+l[l.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[u[0],u[0]+this.yyleng-a]),this},"unput"),more:o(function(){return this._more=!0,this},"more"),less:o(function(i){this.unput(this.match.slice(i))},"less"),pastInput:o(function(){var i=this.matched.substr(0,this.matched.length-this.match.length);return(i.length>20?"...":"")+i.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:o(function(){var i=this.match;return i.length<20&&(i+=this._input.substr(0,20-i.length)),(i.substr(0,20)+(i.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:o(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:o(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,l,u,A;this._more||(this.yytext="",this.match="");for(var d=this._currentRules(),p=0;p<d.length&&(c=this._input.match(this.rules[d[p]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,l=p,!this.options.flex)));p++);return a?(A=a[0].match(/(?:\r\n?|\n).*/g),A&&(this.yylineno+=A.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:A?A[A.length-1].length-A[A.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+a[0].length},this.yytext+=a[0],this.match+=a[0],this.matches=a,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(a[0].length),this.matched+=a[0],i=this.performAction.call(this,this.yy,this,d[l],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),i||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`. Unrecognized text.
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return s.options={},s.performAction=o(function(i,a,c,l){function u(d,p){return a.yytext=a.yytext.substring(d,a.yyleng-p+d)}o(u,"strip");var A=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();GI.default=DTe;Kj.exports=GI.default});var VI=f(($I,t9)=>{"use strict";$I.__esModule=!0;function _Te(t){return t&&t.__esModule?t:{default:t}}o(_Te,"_interopRequireDefault");var LTe=ws(),mD=_Te(LTe);function HI(){this.parents=[]}o(HI,"Visitor");HI.prototype={constructor:HI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!HI.prototype[s.type])throw new mD.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new mD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r<s;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,s--)},"acceptArray"),accept:o(function(e){if(e){if(!this[e.type])throw new mD.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](e);if(this.current=this.parents.shift(),!this.mutating||r)return r;if(r!==!1)return e}},"accept"),Program:o(function(e){this.acceptArray(e.body)},"Program"),MustacheStatement:zI,Decorator:zI,BlockStatement:Zj,DecoratorBlock:Zj,PartialStatement:e9,PartialBlockStatement:o(function(e){e9.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:o(function(){},"ContentStatement"),CommentStatement:o(function(){},"CommentStatement"),SubExpression:zI,PathExpression:o(function(){},"PathExpression"),StrLine truncated
`])}),e},"merge"),each:o(function(e){for(var r=0,s=this.source.length;r<s;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new Hc(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof Hc?e:(e=LD(e,this,r),new Hc(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,s){return s=this.generateList(s),this.wrap([e,r?"."+r+"(":"(",s,")"])},"functionCall"),quotedString:o(function(e){return'"'+(e+"").replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,s=[];Object.keys(e).forEach(function(i){var a=LD(e[i],r);a!=="undefined"&&s.push([r.quotedString(i),":",a])});var n=this.generateList(s);return n.prepend("{"),n.add("}"),n},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),s=0,n=e.length;s<n;s++)s&&r.add(","),r.add(LD(e[s],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};eB.default=L9;M9.exports=eB.default});var H9=f((tB,G9)=>{"use strict";tB.__esModule=!0;function q9(t){return t&&t.__esModule?t:{default:t}}o(q9,"_interopRequireDefault");var F9=_I(),kve=ws(),OD=q9(kve),Dve=xr(),_ve=O9(),U9=q9(_ve);function aA(t){this.value=t}o(aA,"Literal");function cA(){}o(cA,"JavaScriptCompiler");cA.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=F9.COMPILER_REVISION,r=F9.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return Dve.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l<u;l++)a=i[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new OD.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:o(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:o(function(i){this.conditionStack.push(i)},"begin"),popState:o(function(){return this.conditionStack.pop()},"popState"),_currentRules:o(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:o(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:o(function(i){this.begin(i)},"begin")};return s.options={},s.performAction=o(function(i,a,c,l){function u(d,p){return a.yytext=a.yytext.substring(d,a.yyleng-p+d)}o(u,"strip");var A=l;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(u(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(u(0,1),this.begin("emu")):this.begin("mu"),a.yytext)return 15;break;case 1:return 15;case 2:return this.popState(),15;break;case 3:return this.begin("raw"),15;break;case 4:return this.popState(),this.conditionStack[this.conditionStack.length-1]==="raw"?15:(u(5,9),"END_RAW_BLOCK");case 5:return 15;case 6:return this.popState(),14;break;case 7:return 65;case 8:return 68;case 9:return 19;case 10:return this.popState(),this.begin("raw"),23;break;case 11:return 55;case 12:return 60;case 13:return 29;case 14:return 47;case 15:return this.popState(),44;break;case 16:return this.popState(),44;break;case 17:return 34;case 18:return 39;case 19:return 51;case 20:return 48;case 21:this.unput(a.yytext),this.popState(),this.begin("com");break;case 22:return this.popState(),14;break;case 23:return 48;case 24:return 73;case 25:return 72;case 26:return 72;case 27:return 87;case 28:break;case 29:return this.popState(),54;break;case 30:return this.popState(),33;break;case 31:return a.yytext=u(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=u(1,2).replace(/\\'/g,"'"),80;break;case 33:return 85;case 34:return 82;case 35:return 82;case 36:return 83;case 37:return 84;case 38:return 81;case 39:return 75;case 40:return 77;case 41:return 72;case 42:return a.yytext=a.yytext.replace(/\\([\\\]])/g,"$1"),72;break;case 43:return"INVALID";case 44:return 5}},"anonymous"),s.rules=[/^(?:[^\x00]*?(?=(\{\{)))/,/^(?:[^\x00]+)/,/^(?:[^\x00]{2,}?(?=(\{\{|\\\{\{|\\\\\{\{|$)))/,/^(?:\{\{\{\{(?=[^\/]))/,/^(?:\{\{\{\{\/[^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=[=}\s\/.])\}\}\}\})/,/^(?:[^\x00]+?(?=(\{\{\{\{)))/,/^(?:[\s\S]*?--(~)?\}\})/,/^(?:\()/,/^(?:\))/,/^(?:\{\{\{\{)/,/^(?:\}\}\}\})/,/^(?:\{\{(~)?>)/,/^(?:\{\{(~)?#>)/,/^(?:\{\{(~)?#\*?)/,/^(?:\{\{(~)?\/)/,/^(?:\{\{(~)?\^\s*(~)?\}\})/,/^(?:\{\{(~)?\s*else\s*(~)?\}\})/,/^(?:\{\{(~)?\^)/,/^(?:\{\{(~)?\s*else\b)/,/^(?:\{\{(~)?\{)/,/^(?:\{\{(~)?&)/,/^(?:\{\{(~)?!--)/,/^(?:\{\{(~)?![\s\S]*?\}\})/,/^(?:\{\{(~)?\*?)/,/^(?:=)/,/^(?:\.\.)/,/^(?:\.(?=([=~}\s\/.)|])))/,/^(?:[\/.])/,/^(?:\s+)/,/^(?:\}(~)?\}\})/,/^(?:(~)?\}\})/,/^(?:"(\\["]|[^"])*")/,/^(?:'(\\[']|[^'])*')/,/^(?:@)/,/^(?:true(?=([~}\s)])))/,/^(?:false(?=([~}\s)])))/,/^(?:undefined(?=([~}\s)])))/,/^(?:null(?=([~}\s)])))/,/^(?:-?[0-9]+(?:\.[0-9]+)?(?=([~}\s)])))/,/^(?:as\s+\|)/,/^(?:\|)/,/^(?:([^\s!"#%-,\.\/;->@\[-\^`\{-~]+(?=([=~}\s\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],s.conditions={mu:{rules:[7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44],inclusive:!1},emu:{rules:[2],inclusive:!1},com:{rules:[6],inclusive:!1},raw:{rules:[3,4,5],inclusive:!1},INITIAL:{rules:[0,1,44],inclusive:!0}},s})();t.lexer=e;function r(){this.yy={}}return o(r,"Parser"),r.prototype=t,t.Parser=r,new r})();WI.default=BPe;g9.exports=WI.default});var SD=g(ND=>{"use strict";ND.__esModule=!0;var wPe=["Program","BlockStatement","DecoratorBlock","PartialStatement","PartialBlockStatement","Decorator","MustacheStatement","ContentStatement","CommentStatement","SubExpression","PathExpression","StringLiteral","NumberLiteral","BooleanLiteral","UndefinedLiteral","NullLiteral","Hash","HashPair"];ND.NODE_TYPES=wPe});var ZI=g((XI,B9)=>{"use strict";XI.__esModule=!0;function bPe(t){return t&&t.__esModule?t:{default:t}}o(bPe,"_interopRequireDefault");var xPe=en(),RD=bPe(xPe),QPe=ur(),NPe=SD();function KI(){this.parents=[]}o(KI,"Visitor");function y9(t,e){return QPe.indexOf(NPe.NODE_TYPES,e)!==-1||!(e in KI.prototype)&&typeof t[e]=="function"}o(y9,"isDispatchable");KI.prototype={constructor:KI,mutating:!1,acceptKey:o(function(e,r){var s=this.accept(e[r]);if(this.mutating){if(s&&!y9(this,s.type))throw new RD.default('Unexpected node type "'+s.type+'" found when accepting '+r+" on "+e.type);e[r]=s}},"acceptKey"),acceptRequired:o(function(e,r){if(this.acceptKey(e,r),!e[r])throw new RD.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:o(function(e){for(var r=0,s=e.length;r<s;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,s--)},"acceptArray"),accept:o(function(e){if(e){if(!y9(this,e.type)||!this[e.type])throw new RD.default("Unknown type: "+e.type,e);this.current&&this.parents.unshift(this.current),this.current=e;var r=this[e.type](eLine truncated
`])}),e},"merge"),each:o(function(e){for(var r=0,s=this.source.length;r<s;r++)e(this.source[r])},"each"),empty:o(function(){var e=this.currentLocation||{start:{}};return new Kc(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:o(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof Kc?e:(e=KD(e,this,r),new Kc(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:o(function(e,r,s){return s=this.generateList(s),this.wrap([e,r?"."+r+"(":"(",s,")"])},"functionCall"),quotedString:o(function(e){return e=e+"",wke.test(e)?i6(e):'"'+e+'"'},"quotedString"),objectLiteral:o(function(e){var r=this,s=[];Object.keys(e).forEach(function(i){var a=KD(e[i],r);a!=="undefined"&&s.push([r.quotedString(i),":",a])});var n=this.generateList(s);return n.prepend("{"),n.add("}"),n},"objectLiteral"),generateList:o(function(e){for(var r=this.empty(),s=0,n=e.length;s<n;s++)s&&r.add(","),r.add(KD(e[s],this));return r},"generateList"),generateArray:o(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};cB.default=o6});var m6=g((lB,p6)=>{"use strict";lB.__esModule=!0;function u6(t){return t&&t.__esModule?t:{default:t}}o(u6,"_interopRequireDefault");var c6=GI(),Nke=en(),ZD=u6(Nke),Ske=ur(),A6=a6(),l6=u6(A6);function yA(t){this.value=t}o(yA,"Literal");function CA(){}o(CA,"JavaScriptCompiler");CA.prototype={nameLookup:o(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:o(function(e){return[this.aliasable("container.lookup"),"(depths, ",this.quotedString(e),")"]},"depthedLookup"),compilerInfo:o(function(){var e=c6.COMPILER_REVISION,r=c6.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:o(function(e,r,s){return Ske.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:s?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:o(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:o(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",this.quotedString(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:o(function(e,r,s,n){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!n,this.name=this.environment.name,this.isChild=!!s,this.context=s||{decorators:[],programs:[],environments:[]},this.preamble(),this.stackSlot=0,this.stackVars=[],this.aliases={},this.registers={list:[]},this.hashes=[],this.compileStack=[],this.inlineStack=[],this.blockParams=[],this.compileChildren(e,r),this.useDepths=this.useDepths||e.useDepths||e.useDecorators||this.options.compat,this.useBlockParams=this.useBlockParams||e.useBlockParams;var i=e.opcodes,a=void 0,c=void 0,l=void 0,u=void 0;for(l=0,u=i.length;l<u;l++)a=i[l],this.source.currentLocation=a.loc,c=c||a.loc,this[a.opcode].apply(this,a.args);if(this.source.currentLocation=c,this.pushSource(""),this.stackSlot||this.inlineStack.length||this.compileStack.length)throw new ZD.default("Compile completed with content left on stack");this.decorators.isEmpty()?this.decorators=void 0:(this.useDecorators=!0,this.decorators.prepend(["var decorators = container.decorators, ",this.lookupPropertyFunctionVarDeclaration(),`;
`]),this.decorators.push("return fn;"),n?this.decorators=Function.apply(this,["fn","props","container","depth0","data","blockParams","depths",this.decorators.merge()]):(this.decorators.prepend(`function(fn, props, container, depth0, data, blockParams, depths) {
`),this.decorators.push(`}
`),this.decorators=this.decorators.merge()));var A=this.createFunctionContext(n);if(this.isChild)return A;var d={compiler:this.compilerInfo(),main:A};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var p=this.context,m=p.programs,h=p.decorators;for(l=0,u=m.length;l<u;l++)d[l]=m[l],h[l]&&(d[l+"_d"]=h[l],d.useDecorators=!0);return this.environment.usePartial&&(d.usePartial=!0),this.options.data&&(d.useData=!0),this.useDepths&&(d.useDepths=!0),this.useBlockParams&&(d.useBlockParams=!0),this.options.compat&&(d.compat=!0),n?d.compilerOptions=this.options:(d.compiler=JSON.stringify(d.compiler),this.source.currentLocation={start:{line:1,column:0}},d=this.objectLiteral(d),r.srcName?(d=d.toStringWithSourceMap({file:r.destName}),d.map=d.map&&d.map.toString()):d=d.toString()),d},"compile"),preamble:o(function(){this.lastContext=0,this.source=new U9.default(this.options.srcName),this.decorators=new U9.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,s="",n=this.stackVars.concat(this.registers.list);n.length>0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(s+=", alias"+ ++i+"="+l,u.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(s);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
`),this.decorators=this.decorators.merge()));var A=this.createFunctionContext(n);if(this.isChild)return A;var d={compiler:this.compilerInfo(),main:A};this.decorators&&(d.main_d=this.decorators,d.useDecorators=!0);var p=this.context,m=p.programs,h=p.decorators;for(l=0,u=m.length;l<u;l++)d[l]=m[l],h[l]&&(d[l+"_d"]=h[l],d.useDecorators=!0);return this.environment.usePartial&&(d.usePartial=!0),this.options.data&&(d.useData=!0),this.useDepths&&(d.useDepths=!0),this.useBlockParams&&(d.useBlockParams=!0),this.options.compat&&(d.compat=!0),n?d.compilerOptions=this.options:(d.compiler=JSON.stringify(d.compiler),this.source.currentLocation={start:{line:1,column:0}},d=this.objectLiteral(d),r.srcName?(d=d.toStringWithSourceMap({file:r.destName}),d.map=d.map&&d.map.toString()):d=d.toString()),d},"compile"),preamble:o(function(){this.lastContext=0,this.source=new l6.default(this.options.srcName),this.decorators=new l6.default(this.options.srcName)},"preamble"),createFunctionContext:o(function(e){var r=this,s="",n=this.stackVars.concat(this.registers.list);n.length>0&&(s+=", "+n.join(", "));var i=0;Object.keys(this.aliases).forEach(function(l){var u=r.aliases[l];u.children&&u.referenceCount>1&&(s+=", alias"+ ++i+"="+l,u.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(s+=", "+this.lookupPropertyFunctionVarDeclaration());var a=["container","depth0","helpers","partials","data"];(this.useBlockParams||this.useDepths)&&a.push("blockParams"),this.useDepths&&a.push("depths");var c=this.mergeSource(s);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
`,c,"}"])},"createFunctionContext"),mergeSource:o(function(e){var r=this.environment.isSimple,s=!this.forceBuffer,n=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(l){l.appendToBuffer?(a?l.prepend(" + "):a=l,c=l):(a&&(i?a.prepend("buffer += "):n=!0,c.add(";"),a=c=void 0),i=!0,r||(s=!1))}),s?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(n?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(n?"":`;
`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:o(function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
@@ -85,52 +82,53 @@ Expecting `+se.join(", ")+", got '"+(this.terminals_[B]||B)+"'":Ar="Parse error
}
return undefined
}
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(Lve(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,l=o(function(A){a.replaceStack(function(d){var p=a.nameLookup(d,r[A],e);return n?[" && ",p]:[" != null ? ",p," : ",d]})},"_loop"),u=s;u<c;u++)l(u)},"resolvePath"),resolvePossibleLambda:o(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:o(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:o(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:o(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:o(function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},"popHash"),pushString:o(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:o(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:o(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:o(function(e,r){var s=this.nameLookup("decorators",r,"decorator"),n=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",s,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",n])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,s){var n=this.popStack(),i=this.setupHelper(e,r),a=[];s&&a.push(i.name),a.push(n),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var c=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(c,"call",i.callParams);this.push(l)},"invokeHelper"),itemsSeparatedBy:o(function(e,r){var s=[];s.push(e[0]);for(var n=1;n<e.length;n++)s.push(r,e[n]);return s},"itemsSeparatedBy"),invokeKnownHelper:o(function(e,r){var s=this.setupHelper(e,r);this.push(this.source.functionCall(s.name,"call",s.callParams))},"invokeKnownHelper"),invokeAmbiguous:o(function(e,r){this.useRegister("helper");var s=this.popStack();this.emptyHash();var n=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",i," || ",s,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("h Line truncated
`,e};pt.prototype.Program=function(t){var e="",r=t.body,s=void 0,n=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(s=0,n=t.blockParams.length;s<n;s++)i+=" "+t.blockParams[s];i+=" ]",e+=this.pad(i)}for(s=0,n=r.length;s<n;s++)e+=this.accept(r[s]);return this.padding--,e};pt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};pt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};pt.prototype.BlockStatement=pt.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};pt.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};pt.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};pt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};pt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};pt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return e="["+r.join(", ")+"]",s=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+s};pt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};pt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};pt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};pt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};pt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};pt.prototype.NullLiteral=function(){return"NULL"};pt.prototype.Hash=function(t){for(var e=t.pairs,r=[],s=0,n=e.length;s<n;s++)r.push(this.accept(e[s]));return"HASH{"+r.join(", ")+"}"};pt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var qD=f((Hct,j9)=>{var nB=V9().default,W9=Y9();nB.PrintVisitor=W9.PrintVisitor;nB.print=W9.print;j9.exports=nB;function J9(t,e){var r=require("fs"),s=r.readFileSync(e,"utf8");t.exports=nB.compile(s)}o(J9,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=J9,require.extensions[".hbs"]=J9)});var m6=f(($ct,Co)=>{var _e=require("fs"),oB=require("os"),Ot=require("path"),K9=require("crypto"),ki={fs:_e.constants,os:oB.constants},X9="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",r6=/XXXXXX/,Xve=3,s6=(ki.O_CREAT||ki.fs.O_CREAT)|(ki.O_EXCL||ki.fs.O_EXCL)|(ki.O_RDWR||ki.fs.O_RDWR),Zve=oB.platform()==="win32",ePe=ki.EBADF||ki.os.errno.EBADF,tPe=ki.ENOENT||ki.os.errno.ENOENT,n6=448,i6=384,rPe="exit",uA=[],o6=_e.rmdirSync.bind(_e),a6=!1;function sPe(t,e){return _e.rm(t,{recursive:!0},e)}o(sPe,"rimraf");function c6(t){return _e.rmSync(t,{recursive:!0})}o(c6,"FN_RIMRAF_SYNC");function $D(t,e){let r=AA(t,e),s=r[0],n=r[1];pPe(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=u6(a);_e.stat(u,function(A){if(!A)return c-- >0?l():n(new Error("Could not get a unique tmp filename, max tries reached "+u));n(null,u)})}catch(u){n(u)}}),"_getUniqueName")()})}o($D,"tmpName");function VD(t){let e=AA(t),r=e[0],s=mPe(r),n=s.tries;do{let i=u6(s);try{_e.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(VD,"tmpNameSync");function nPe(t,e){let r=AA(t,e),s=r[0],n=r[1];$D(s,o(function(a,c){if(a)return n(a);_e.open(c,s6,s.mode||i6,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return _e.close(A,o(function(p){return n(p,c,void 0,HD(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,HD(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(nPe,"file");function iPe(t){let e=AA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=VD(r),i=_e.openSync(n,s6,r.mode||i6);return r.discardDescriptor&&(_e.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:HD(n,s?-1:i,r,!0)}}o(iPe,"fileSync");function oPe(t,e){let r=AA(t,e),s=r[0],n=r[1];$D(s,o(function(a,c){if(a)return n(a);_e.mkdir(c,s.mode||n6,o(function(u){if(u)return n(u);n(null,c,l6(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(oPe,"dir");function aPe(t){let e=AA(t),r=e[0],s=VD(r);return _e.mkdirSync(s,r.mode||n6),{name:s,removeCallback:l6(s,r,!0)}}o(aPe,"dirSync");function cPe(t,e){let r=o(function(s){if(s&&!zD(s))return e(s);e()},"_handler");0<=t[0]?_e.close(t[0],function(){_e.unlink(t[1],r)}):_e.unlink(t[1],r)}o(cPe,"_removeFileAsync");function Line truncated
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(Td,"getBooleanInput");function Mx(t,e){if(process.env.GITHUB_OUTPUT||"")return CA("OUTPUT",lh(t,e));process.stdout.write(Lx.EOL),_n("set-output",{name:t},Dn(e))}o(Mx,"setOutput");function JG(t){process.exitCode=_x.Failure,Wl(t)}o(JG,"setFailed");function Ka(){return process.env.RUNNER_DEBUG==="1"}o(Ka,"isDebug");function b(t){_n("debug",{},t)}o(b,"debug");function Wl(t,e={}){_n("error",$B(e),t instanceof Error?t.toString():t)}o(Wl,"error");function et(t,e={}){_n("warning",$B(e),t instanceof Error?t.toString():t)}o(et,"warning");function N(t){process.stdout.write(t+Lx.EOL)}o(N,"info");function xde(t){YB("group",t)}o(xde,"startGroup");function Nde(){YB("endgroup")}o(Nde,"endGroup");function me(t,e){return Qde(this,void 0,void 0,function*(){xde(t);let r;try{r=yield e()}finally{Nde()}return r})}o(me,"group");function jl(t,e){if(process.env.GITHUB_STATE||"")return CA("STATE",lh(t,e));_n("save-state",{name:t},Dn(e))}o(jl,"saveState");function WG(t){return process.env[`STATE_${t}`]||""}o(WG,"getState");var Qm=w(require("fs"),1),Vk=w(require("os"),1),Yk=w(require("path"),1);var KG=w(require("os"),1);function vd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(vd,"toCommandValue");function XG(t,e,r){let s=new Ox(t,e,r);process.stdout.write(s.toString()+KG.EOL)}o(XG,"issueCommand");var jG="::",Ox=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=jG+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${Rde(n)}`)}}return e+=`${jG}${Sde(this.message)}`,e}};function Sde(t){return vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(Sde,"escapeData");function Rde(t){return vd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Rde,"escapeProperty");var rH=w(require("os"),1);var eH=require("os"),Pd=require("fs");var Fx=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:Tde,appendFile:vde,writeFile:Pde}=Pd.promises,ZG="GITHUB_STEP_SUMMARY";var Ux=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return Fx(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[ZG];if(!e)throw new Error(`Unable to find environment variable for $${ZG}. Check if your runtime environment supports job summaries.`);try{yield Tde(e,Pd.constants.R_OK|Pd.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}>`}write(e){return Fx(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Pde:vde)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return Fx(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,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(eH.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,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,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}Line truncated
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:o(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),s=[this.contextName(0)];this.setupHelperArgs(e,0,s);var n=this.popStack();s.splice(1,0,n),this.push(this.source.functionCall(r,"call",s))},"blockValue"),ambiguousBlockValue:o(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var s=this.topStack();r.splice(1,0,s),this.pushSource(["if (!",this.lastHelper,") { ",s," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:o(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:o(function(){if(this.isInline())this.replaceStack(function(r){return[" != null ? ",r,' : ""']}),this.pushSource(this.appendToBuffer(this.popStack()));else{var e=this.popStack();this.pushSource(["if (",e," != null) { ",this.appendToBuffer(e,void 0,!0)," }"]),this.environment.isSimple&&this.pushSource(["else { ",this.appendToBuffer("''",void 0,!0)," }"])}},"append"),appendEscaped:o(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:o(function(e){this.lastContext=e},"getContext"),pushContext:o(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:o(function(e,r,s,n){var i=0;!n&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,s)},"lookupOnContext"),lookupBlockParam:o(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:o(function(e,r,s){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,s)},"lookupData"),resolvePath:o(function(e,r,s,n,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(Rke(this.options.strict&&i,this,r,s,e));return}for(var c=r.length,l=o(function(A){a.replaceStack(function(d){var p=a.nameLookup(d,r[A],e);return n?[" && ",p]:[" != null ? ",p," : ",d]})},"_loop"),u=s;u<c;u++)l(u)},"resolvePath"),resolvePossibleLambda:o(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:o(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:o(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:o(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:o(function(){var e=this.hash;this.hash=this.hashes.pop(),this.trackIds&&this.push(this.objectLiteral(e.ids)),this.stringParams&&(this.push(this.objectLiteral(e.contexts)),this.push(this.objectLiteral(e.types))),this.push(this.objectLiteral(e.values))},"popHash"),pushString:o(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:o(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:o(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:o(function(e,r){var s=this.nameLookup("decorators",r,"decorator"),n=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",s,";"]),this.decorators.push(['if (typeof decorator !== "function") { throw new Error(',this.quotedString('Missing decorator: "'+r+'"'),"); }"]),this.decorators.push(["fn = ",this.decorators.functionCall("decorator","",["fn","props","container",n])," || fn;"])},"registerDecorator"),invokeHelper:o(function(e,r,s){var n=this.popStack(),i=this.setupHelper(e,r),a=[];s&&a.push(i.name),a.push(n),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var c=["(",this.itemsSeparatedBy(a,"||"),")"],l=this.source.functionCall(c,"call",i.callParams);this.push(l)},"invokeHelper"),itemsSeparatedBy:o(function(e,r){var s=[];s.push(e[0]);for(var n=1;n<e.length;n++)s.push(r,e[n]);return s},"itemsSeparatedBy"),invokeKnownHelper:o(function(e,r){var s=this.setupHelper(e,r);this.push(this.source.functionCall(s.name,"call",s.callParams))},"invokeKnownHelper"),invokeAmbiguous:o(function(e,r){this.useRegister("helper");var s=this.popStack();this.emptyHash();var n=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",i," || ",s,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,n.paramsInit?["),(",n.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("h Line truncated
`,e};dt.prototype.Program=function(t){var e="",r=t.body,s=void 0,n=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(s=0,n=t.blockParams.length;s<n;s++)i+=" "+t.blockParams[s];i+=" ]",e+=this.pad(i)}for(s=0,n=r.length;s<n;s++)e+=this.accept(r[s]);return this.padding--,e};dt.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};dt.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};dt.prototype.BlockStatement=dt.prototype.DecoratorBlock=function(t){var e="";return e+=this.pad((t.type==="DecoratorBlock"?"DIRECTIVE ":"")+"BLOCK:"),this.padding++,e+=this.pad(this.SubExpression(t)),t.program&&(e+=this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--),t.inverse&&(t.program&&this.padding++,e+=this.pad("{{^}}"),this.padding++,e+=this.accept(t.inverse),this.padding--,t.program&&this.padding--),this.padding--,e};dt.prototype.PartialStatement=function(t){var e="PARTIAL:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),this.pad("{{> "+e+" }}")};dt.prototype.PartialBlockStatement=function(t){var e="PARTIAL BLOCK:"+t.name.original;return t.params[0]&&(e+=" "+this.accept(t.params[0])),t.hash&&(e+=" "+this.accept(t.hash)),e+=" "+this.pad("PROGRAM:"),this.padding++,e+=this.accept(t.program),this.padding--,this.pad("{{> "+e+" }}")};dt.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};dt.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};dt.prototype.SubExpression=function(t){for(var e=t.params,r=[],s=void 0,n=0,i=e.length;n<i;n++)r.push(this.accept(e[n]));return e="["+r.join(", ")+"]",s=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+s};dt.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};dt.prototype.StringLiteral=function(t){return'"'+t.value+'"'};dt.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};dt.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};dt.prototype.UndefinedLiteral=function(){return"UNDEFINED"};dt.prototype.NullLiteral=function(){return"NULL"};dt.prototype.Hash=function(t){for(var e=t.pairs,r=[],s=0,n=e.length;s<n;s++)r.push(this.accept(e[s]));return"HASH{"+r.join(", ")+"}"};dt.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var r_=g((hAt,I6)=>{var dB=g6().default,C6=E6();dB.PrintVisitor=C6.PrintVisitor;dB.print=C6.print;I6.exports=dB;function y6(t,e){var r=require("fs"),s=r.readFileSync(e,"utf8");t.exports=dB.compile(s)}o(y6,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=y6,require.extensions[".hbs"]=y6)});var F6=g((gAt,Co)=>{var Pe=require("fs"),mB=require("os"),Ft=require("path"),B6=require("crypto"),_i={fs:Pe.constants,os:mB.constants},w6="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",N6=/XXXXXX/,$ke=3,S6=(_i.O_CREAT||_i.fs.O_CREAT)|(_i.O_EXCL||_i.fs.O_EXCL)|(_i.O_RDWR||_i.fs.O_RDWR),Vke=mB.platform()==="win32",Yke=_i.EBADF||_i.os.errno.EBADF,Jke=_i.ENOENT||_i.os.errno.ENOENT,R6=448,T6=384,Wke="exit",BA=[],v6=Pe.rmdirSync.bind(Pe),P6=!1;function jke(t,e){return Pe.rm(t,{recursive:!0},e)}o(jke,"rimraf");function k6(t){return Pe.rmSync(t,{recursive:!0})}o(k6,"FN_RIMRAF_SYNC");function o_(t,e){let r=wA(t,e),s=r[0],n=r[1];oDe(s,function(i,a){if(i)return n(i);let c=a.tries;o((function l(){try{let u=_6(a);Pe.stat(u,function(A){if(!A)return c-- >0?l():n(new Error("Could not get a unique tmp filename, max tries reached "+u));n(null,u)})}catch(u){n(u)}}),"_getUniqueName")()})}o(o_,"tmpName");function a_(t){let e=wA(t),r=e[0],s=aDe(r),n=s.tries;do{let i=_6(s);try{Pe.statSync(i)}catch{return i}}while(n-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}o(a_,"tmpNameSync");function Kke(t,e){let r=wA(t,e),s=r[0],n=r[1];o_(s,o(function(a,c){if(a)return n(a);Pe.open(c,S6,s.mode||T6,o(function(u,A){if(u)return n(u);if(s.discardDescriptor)return Pe.close(A,o(function(p){return n(p,c,void 0,n_(c,-1,s,!1))},"_discardCallback"));{let d=s.discardDescriptor||s.detachDescriptor;n(null,c,A,n_(c,d?-1:A,s,!1))}},"_fileCreated"))},"_tmpNameCreated"))}o(Kke,"file");function Xke(t){let e=wA(t),r=e[0],s=r.discardDescriptor||r.detachDescriptor,n=a_(r),i=Pe.openSync(n,S6,r.mode||T6);return r.discardDescriptor&&(Pe.closeSync(i),i=void 0),{name:n,fd:i,removeCallback:n_(n,s?-1:i,r,!0)}}o(Xke,"fileSync");function Zke(t,e){let r=wA(t,e),s=r[0],n=r[1];o_(s,o(function(a,c){if(a)return n(a);Pe.mkdir(c,s.mode||R6,o(function(u){if(u)return n(u);n(null,c,D6(c,s,!1))},"_dirCreated"))},"_tmpNameCreated"))}o(Zke,"dir");function eDe(t){let e=wA(t),r=e[0],s=a_(r);return Pe.mkdirSync(s,r.mode||R6),{name:s,removeCallback:D6(s,r,!0)}}o(eDe,"dirSync");function tDe(t,e){let r=o(function(s){if(s&&!i_(s))return e(s);e()},"_handler");0<=t[0]?Pe.close(t[0],function(){Pe.unlink(t[1],r)}):Pe.unlink(t[1],r)}o(tDe,"_removeFileAsync");function Line truncated
`,"\v","\f","\r"," ","\xA0","\u1680","\u2000","\u2001","\u2002","\u2003","\u2004","\u2005","\u2006","\u2007","\u2008","\u2009","\u200A","\u2028","\u2029","\u202F","\u205F","\u3000","\uFEFF"],__e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];jK.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:P_e,MAX_SAFE_BUILD_LENGTH:k_e,MAX_SAFE_INTEGER:v_e,WHITESPACE_CHARACTERS:D_e,RELEASE_TYPES:__e,SEMVER_SPEC_VERSION:T_e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var th=g((Gpt,KK)=>{"use strict";var L_e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};KK.exports=L_e});var TA=g((Li,XK)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:L_,MAX_SAFE_BUILD_LENGTH:M_e,MAX_LENGTH:O_e}=rl(),F_e=th();Li=XK.exports={};var U_e=Li.re=[],q_e=Li.safeRe=[],F=Li.src=[],G_e=Li.safeSrc=[],U=Li.t={},H_e=0,M_="[a-zA-Z0-9-]",z_e=[["\\s",1],["\\d",O_e],[M_,M_e]],$_e=o(t=>{for(let[e,r]of z_e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),ae=o((t,e,r)=>{let s=$_e(e),n=H_e++;F_e(t,n,e),U[t]=n,F[n]=e,G_e[n]=s,U_e[n]=new RegExp(e,r?"g":void 0),q_e[n]=new RegExp(s,r?"g":void 0)},"createToken");ae("NUMERICIDENTIFIER","0|[1-9]\\d*");ae("NUMERICIDENTIFIERLOOSE","\\d+");ae("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${M_}*`);ae("MAINVERSION",`(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})\\.(${F[U.NUMERICIDENTIFIER]})`);ae("MAINVERSIONLOOSE",`(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})\\.(${F[U.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASEIDENTIFIER",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIER]})`);ae("PRERELEASEIDENTIFIERLOOSE",`(?:${F[U.NONNUMERICIDENTIFIER]}|${F[U.NUMERICIDENTIFIERLOOSE]})`);ae("PRERELEASE",`(?:-(${F[U.PRERELEASEIDENTIFIER]}(?:\\.${F[U.PRERELEASEIDENTIFIER]})*))`);ae("PRERELEASELOOSE",`(?:-?(${F[U.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${F[U.PRERELEASEIDENTIFIERLOOSE]})*))`);ae("BUILDIDENTIFIER",`${M_}+`);ae("BUILD",`(?:\\+(${F[U.BUILDIDENTIFIER]}(?:\\.${F[U.BUILDIDENTIFIER]})*))`);ae("FULLPLAIN",`v?${F[U.MAINVERSION]}${F[U.PRERELEASE]}?${F[U.BUILD]}?`);ae("FULL",`^${F[U.FULLPLAIN]}$`);ae("LOOSEPLAIN",`[v=\\s]*${F[U.MAINVERSIONLOOSE]}${F[U.PRERELEASELOOSE]}?${F[U.BUILD]}?`);ae("LOOSE",`^${F[U.LOOSEPLAIN]}$`);ae("GTLT","((?:<|>)?=?)");ae("XRANGEIDENTIFIERLOOSE",`${F[U.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);ae("XRANGEIDENTIFIER",`${F[U.NUMERICIDENTIFIER]}|x|X|\\*`);ae("XRANGEPLAIN",`[v=\\s]*(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:\\.(${F[U.XRANGEIDENTIFIER]})(?:${F[U.PRERELEASE]})?${F[U.BUILD]}?)?)?`);ae("XRANGEPLAINLOOSE",`[v=\\s]*(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:\\.(${F[U.XRANGEIDENTIFIERLOOSE]})(?:${F[U.PRERELEASELOOSE]})?${F[U.BUILD]}?)?)?`);ae("XRANGE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAIN]}$`);ae("XRANGELOOSE",`^${F[U.GTLT]}\\s*${F[U.XRANGEPLAINLOOSE]}$`);ae("COERCEPLAIN",`(^|[^\\d])(\\d{1,${L_}})(?:\\.(\\d{1,${L_}}))?(?:\\.(\\d{1,${L_}}))?`);ae("COERCE",`${F[U.COERCEPLAIN]}(?:$|[^\\d])`);ae("COERCEFULL",F[U.COERCEPLAIN]+`(?:${F[U.PRERELEASE]})?(?:${F[U.BUILD]})?(?:$|[^\\d])`);ae("COERCERTL",F[U.COERCE],!0);ae("COERCERTLFULL",F[U.COERCEFULL],!0);ae("LONETILDE","(?:~>?)");ae("TILDETRIM",`(\\s*)${F[U.LONETILDE]}\\s+`,!0);Li.tildeTrimReplace="$1~";ae("TILDE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAIN]}$`);ae("TILDELOOSE",`^${F[U.LONETILDE]}${F[U.XRANGEPLAINLOOSE]}$`);ae("LONECARET","(?:\\^)");ae("CARETTRIM",`(\\s*)${F[U.LONECARET]}\\s+`,!0);Li.caretTrimReplace="$1^";ae("CARET",`^${F[U.LONECARET]}${F[U.XRANGEPLAIN]}$`);ae("CARETLOOSE",`^${F[U.LONECARET]}${F[U.XRANGEPLAINLOOSE]}$`);ae("COMPARATORLOOSE",`^${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]})$|^$`);ae("COMPARATOR",`^${F[U.GTLT]}\\s*(${F[U.FULLPLAIN]})$|^$`);ae("COMPARATORTRIM",`(\\s*)${F[U.GTLT]}\\s*(${F[U.LOOSEPLAIN]}|${F[U.XRANGEPLAIN]})`,!0);Li.comparatorTrimReplace="$1$2$3";ae("HYPHENRANGE",`^\\s*(${F[U.XRANGEPLAIN]})\\s+-\\s+(${F[U.XRANGEPLAIN]})\\s*$`);ae("HYPHENRANGELOOSE",`^\\s*(${F[U.XRANGEPLAINLOOSE]})\\s+-\\s+(${F[U.XRANGEPLAINLOOSE]})\\s*$`);ae("STAR","(<|>)?=?\\s*\\*");ae("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");ae("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var kB=g((zpt,ZK)=>{"use strict";var V_e=Object.freeze({loose:!0}),Y_e=Object.freeze({}),J_e=o(t=>t?typeof t!="object"?V_e:t:Y_e,"parseOptions");ZK.exports=J_e});var O_=g((Vpt,rX)=>{"use strict";var eX=/^[0-9]+$/,tX=o((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=eX.test(t),s=eX.test(e);return r&&s&&(t=+t,e=+e),t===e?0:r&&!s?-1:s&&!r?1:t<e?-1:1},"compareIdentifiers"),W_e=o((t,e)=>tX(e,t),"rcompareIdentifiers");rX.exports={compareIdentifiers:tX,rcompareIdentifiers:W_e}});var rr=g((Jpt,nX)=>{"use strict";var DB=th(),{MAX_LENGTH:sX,MAX_SAFE_INTEGER:_B}=rl(),{safeRe:LB,t:MB}=TA(),j_e=kB(),{compareIdentifiers:F_}=O_(),K_e=o((t,e)=>{let r=e.split(".");if(r.length>t.length)return!1;for(let s=0;s<r.length;s++)if(F_(t[s],r[s])!==0)return!1;return Line truncated
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}o(Hd,"getBooleanInput");function YQ(t,e){if(process.env.GITHUB_OUTPUT||"")return vA("OUTPUT",gh(t,e));process.stdout.write(VQ.EOL),_n("set-output",{name:t},Dn(e))}o(YQ,"setOutput");function mH(t){process.exitCode=$Q.Failure,nu(t)}o(mH,"setFailed");function sc(){return process.env.RUNNER_DEBUG==="1"}o(sc,"isDebug");function b(t){_n("debug",{},t)}o(b,"debug");function nu(t,e={}){_n("error",ZB(e),t instanceof Error?t.toString():t)}o(nu,"error");function Xe(t,e={}){_n("warning",ZB(e),t instanceof Error?t.toString():t)}o(Xe,"warning");function S(t){process.stdout.write(t+VQ.EOL)}o(S,"info");function hpe(t){tw("group",t)}o(hpe,"startGroup");function fpe(){tw("endgroup")}o(fpe,"endGroup");function fe(t,e){return mpe(this,void 0,void 0,function*(){hpe(t);let r;try{r=yield e()}finally{fpe()}return r})}o(fe,"group");function iu(t,e){if(process.env.GITHUB_STATE||"")return vA("STATE",gh(t,e));_n("save-state",{name:t},Dn(e))}o(iu,"saveState");function hH(t){return process.env[`STATE_${t}`]||""}o(hH,"getState");var Lm=w(require("fs"),1),nD=w(require("os"),1),iD=w(require("path"),1);var gH=w(require("os"),1);function zd(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}o(zd,"toCommandValue");function EH(t,e,r){let s=new JQ(t,e,r);process.stdout.write(s.toString()+gH.EOL)}o(EH,"issueCommand");var fH="::",JQ=class{static{o(this,"Command")}constructor(e,r,s){e||(e="missing.command"),this.command=e,this.properties=r,this.message=s}toString(){let e=fH+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let s in this.properties)if(this.properties.hasOwnProperty(s)){let n=this.properties[s];n&&(r?r=!1:e+=",",e+=`${s}=${Epe(n)}`)}}return e+=`${fH}${gpe(this.message)}`,e}};function gpe(t){return zd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}o(gpe,"escapeData");function Epe(t){return zd(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}o(Epe,"escapeProperty");var BH=w(require("os"),1);var CH=require("os"),$d=require("fs");var WQ=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},{access:ype,appendFile:Cpe,writeFile:Ipe}=$d.promises,yH="GITHUB_STEP_SUMMARY";var jQ=class{static{o(this,"Summary")}constructor(){this._buffer=""}filePath(){return WQ(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[yH];if(!e)throw new Error(`Unable to find environment variable for $${yH}. Check if your runtime environment supports job summaries.`);try{yield ype(e,$d.constants.R_OK|$d.constants.W_OK)}catch{throw new Error(`Unable to access summary file: '${e}'. Check if the file has correct read/write permissions.`)}return this._filePath=e,this._filePath})}wrap(e,r,s={}){let n=Object.entries(s).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${n}>${r}</${e}>`:`<${e}${n}>`}write(e){return WQ(this,void 0,void 0,function*(){let r=!!e?.overwrite,s=yield this.filePath();return yield(r?Ipe:Cpe)(s,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return WQ(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,r=!1){return this._buffer+=e,r?this.addEOL():this}addEOL(){return this.addRaw(CH.EOL)}addCodeBlock(e,r){let s=Object.assign({},r&&{lang:r}),n=this.wrap("pre",this.wrap("code",e),s);return this.addRaw(n).addEOL()}addList(e,r=!1){let s=r?"ol":"ul",n=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(s,n);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(n=>{let i=n.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:l,colspan:u,rowspan:A}=a,d=c?"th":"td",p=Object.assign(Object.assign({},u&&{colspan:u}),A&&{rowspan:A});return this.wrap(d,l,p)}).join("");return this.wrap("tr",i)}).join(""),s=this.wrap("table",r);return this.addRaw(s).addEOL()}addDetails(e,r){let s=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(s).addEOL()}addImage(e,r,s){let{width:n,height:i}=s||{},a=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let s=`h${r}`,n=["h1","h2","h3","h4","h5","h6"].includes(s)?s:"h1",i=this.wrap(n,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,r){let s=Object.assign({},r&&{cite:r}),n=this.wrap("blockquote",e,s);return this.addRaw(n).addEOL()}Line truncated
`),e=e.replace(/\r/g,`
`));let n=e.split(`
`).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new Vd(i));return s.searchPaths.push(...C0(s.patterns)),s})}static stat(e,r,s){return N0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield tu.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Ls(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield tu.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield tu.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){Ls(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var Ife=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function P$(t,e){return Ife(this,void 0,void 0,function*(){return yield _g.create(t,e)})}o(P$,"create");var Xg=w(require("crypto"),1),nu=w(require("fs"),1),sc=w(require("path"),1),wY=w(IY(),1),bY=w(require("util"),1);var tp;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(tp||(tp={}));var Cr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Cr||(Cr={}));var us;(function(t){t.GNU="gnu",t.BSD="bsd"})(us||(us={}));var Wg=2,jg=5e3,Y0=5e3,J0=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,BY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,rp="cache.tar",W0="manifest.txt",Oze=10*Math.pow(1024,3),Kg="cache read denied:";var su=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Eye=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},yye="1.0";function sp(){return su(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=sc.join(s,"actions","temp")}let r=sc.join(e,Xg.randomUUID());return yield Ps(r),r})}o(sp,"createTempDirectory");function jn(t){return nu.statSync(t).size}o(jn,"getArchiveFileSizeInBytes");function j0(t){return su(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield P$(t.join(`
`),{implicitDescendants:!1});try{for(var u=!0,A=Eye(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=sc.relative(c,n).replace(new RegExp(`\\${sc.sep}`,"g"),"/");b(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}catch(p){r={error:p}}finally{try{!u&&!e&&(s=A.return)&&(yield s.call(A))}finally{if(r)throw r.error}}return a})}o(j0,"resolvePaths");function np(t){return su(this,void 0,void 0,function*(){return bY.promisify(nu.unlink)(t)})}o(np,"unlinkFile");function QY(t){return su(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield cs(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){b(n.message)}return s=s.trim(),b(s),s})}o(QY,"getVersion");function ip(){return su(this,void 0,void 0,function*(){let t=yield QY("zstd",["--quiet"]),e=wY.clean(t);return b(`zstd version: ${e}`),t===""?Cr.Gzip:Cr.ZstdWithoutLong})}o(ip,"getCompressionMethod");function jo(t){return t===Cr.Gzip?tp.Gzip:tp.Zstd}o(jo,"getCacheFileName");function xY(){return su(this,void 0,void 0,function*(){return nu.existsSync(J0)?J0:(yield QY("tar")).toLowerCase().includes("gnu tar")?nt("tar"):""})}o(xY,"getGnuTarPathOnWindows");function K0(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(K0,"assertDefined");function iu(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(yye),Xg.createHash("sha256").update(s.join("|")).digest("hex")}o(iu,"getCacheVersion");function NY(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o(NY,"getRuntimeToken");var ap=w(require("http"),1),eN=w(require("https"),1);function X0(t){let e=t.protocol==="https:";if(Cye(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new eE(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new eE(`http://${r}`)}else return}o(X0,"getProxyUrl");function Cye(t){if(!t.hostname)return!1;let e=t.hostname;if(Iye(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(Cye,"checkBypass");function Iye(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(Iye,"isLoopbackAddress");var eE=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Ko=w(IA(),1),SY=w($l(),1);var Et=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},it;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(it||(it={}));var Ir;(function(t){t.Accept="accept",t.ContentType="content-type"})(Ir||(Ir={}));var Zi;(function(t){t.ApplicationJson="application/json"})(Zi||(Zi={}));var wye=[it.MovedPermanently,it.ResourceMoved,it.SeeOther,it.TemporaryRedirect,it.PermanentRedirect],bye=[it.BadGateway,it.ServiceUnavailable,it.GatewayTimeout],Qye=["OPTIONS","GET","DELETE","HEAD"],xye=10,Nye=5,Kn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r) Line truncated
${Lye.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function oE(t){return t instanceof Br?!0:ic(t)&&t.name==="RestError"}o(oE,"isRestError");function Mr(t,e){return Buffer.from(t,e)}o(Mr,"stringToUint8Array");var aE=w(require("node:http"),1),cE=w(require("node:https"),1),uN=w(require("node:zlib"),1),VY=require("node:stream");var Fs=cp("ts-http-runtime");var Mye={};function lp(t){return t&&typeof t.pipe=="function"}o(lp,"isReadableStream");function $Y(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o($Y,"isStreamComplete");function YY(t){return t&&typeof t.byteLength=="number"}o(YY,"isArrayBuffer");var lE=class extends VY.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},AN=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new Xn("The operation was aborted. Request has already been canceled.");s=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let u=new Cn;Fs.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=qye(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,g=new lE(h);g.on("error",C=>{Fs.error("Error in upload progress",C)}),lp(c)?c.pipe(g):g.end(c),c=g}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=Oye(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?Fye(u,A):u;let m=e.onDownloadProgress;if(m){let h=new lE(m);h.on("error",g=>{Fs.error("Error in download progress",g)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await Uye(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();lp(c)&&(u=$Y(c));let A=Promise.resolve();lp(l)&&(A=$Y(l)),Promise.all([u,A]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(d=>{Fs.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let A=i?aE.default.request(c,l):cE.default.request(c,l);A.once("error",d=>{u(new Br(d.message,{code:d.code??Br.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Xn("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&lp(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):YY(s)?A.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Fs.error("Unrecognized body type",s),u(new Br("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?aE.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new aE.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return cE.default.globalAgent;let n=e.tlsSettings??Mye,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Fs.info("No cached TLS Agent exist, creating a new Agent"),i=new cE.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function Oye(t){let e=As();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}o(Oye,"getResponseHeaders");function Fye(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=uN.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=uN.default.createInflate();return t.pipe(s),s}return t}o(Fye,"getDecodedResponseStream");function Uye(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new Br(`Error reading response as text: ${n.message}`,{code:Br.PARSE_ERROR}))})})}o(Uye,"streamToText");function qye(t){return t?Buffer.isBuffer(t)?t.length:lp(t)?nul Line truncated
`;return e}o(cIe,"encodeHeaders");function lIe(t){return t instanceof Uint8Array?t.byteLength:PE(t)?t.size===-1?void 0:t.size:void 0}o(lIe,"getLength");function uIe(t){let e=0;for(let r of t){let s=lIe(r);if(s===void 0)return;e+=s}return e}o(uIe,"getTotalLength");async function AIe(t,e,r){let s=[Mr(`--${r}`,"utf-8"),...e.flatMap(i=>[Mr(`\r
`,"utf-8"),Mr(cIe(i.headers),"utf-8"),Mr(`\r
`,"utf-8"),i.body,Mr(`\r
--${r}`,"utf-8")]),Mr(`--\r
`).map(i=>i.trim());for(let i of n)!i||i.startsWith("#")||s.patterns.push(new op(i));return s.searchPaths.push(...T0(s.patterns)),s})}static stat(e,r,s){return F0(this,void 0,void 0,function*(){let n;if(r.followSymbolicLinks)try{n=yield uu.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Ls(`Broken symlink '${e.path}'`);return}throw new Error(`No information found for the path '${e.path}'. This may indicate a broken symbolic link.`)}throw i}else n=yield uu.promises.lstat(e.path);if(n.isDirectory()&&r.followSymbolicLinks){let i=yield uu.promises.realpath(e.path);for(;s.length>=e.level;)s.pop();if(s.some(a=>a===i)){Ls(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}s.push(i)}return n})}};var Wge=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function J$(t,e){return Wge(this,void 0,void 0,function*(){return yield Gg.create(t,e)})}o(J$,"create");var iE=w(require("crypto"),1),mu=w(require("fs"),1),lc=w(require("path"),1),qY=w(FY(),1),GY=w(require("util"),1);var pp;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(pp||(pp={}));var wr;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(wr||(wr={}));var ps;(function(t){t.GNU="gnu",t.BSD="bsd"})(ps||(ps={}));var rE=2,sE=5e3,oN=5e3,aN=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,UY=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,mp="cache.tar",cN="manifest.txt",cYe=10*Math.pow(1024,3),nE="cache read denied:";var pu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},nIe=function(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator],r;return e?e.call(t):(t=typeof __values=="function"?__values(t):t[Symbol.iterator](),r={},s("next"),s("throw"),s("return"),r[Symbol.asyncIterator]=function(){return this},r);function s(i){r[i]=t[i]&&function(a){return new Promise(function(c,l){a=t[i](a),n(c,l,a.done,a.value)})}}function n(i,a,c,l){Promise.resolve(l).then(function(u){i({value:u,done:c})},a)}},iIe="1.0";function uc(){return pu(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let s;t?s=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?s="/Users":s="/home",e=lc.join(s,"actions","temp")}let r=lc.join(e,iE.randomUUID());return yield Ps(r),r})}o(uc,"createTempDirectory");function Kn(t){return mu.statSync(t).size}o(Kn,"getArchiveFileSizeInBytes");function lN(t){return pu(this,void 0,void 0,function*(){var e,r,s,n,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),l=yield J$(t.join(`
`),{implicitDescendants:!1});try{for(var u=!0,A=nIe(l.globGenerator()),d;d=yield A.next(),e=d.done,!e;u=!0){n=d.value,u=!1;let m=lc.relative(c,n).replace(new RegExp(`\\${lc.sep}`,"g"),"/");b(`Matched: ${m}`),m===""?a.push("."):a.push(`${m}`)}}catch(p){r={error:p}}finally{try{!u&&!e&&(s=A.return)&&(yield s.call(A))}finally{if(r)throw r.error}}return a})}o(lN,"resolvePaths");function hp(t){return pu(this,void 0,void 0,function*(){return GY.promisify(mu.unlink)(t)})}o(hp,"unlinkFile");function HY(t){return pu(this,arguments,void 0,function*(e,r=[]){let s="";r.push("--version"),b(`Checking ${e} ${r.join(" ")}`);try{yield ds(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:o(n=>s+=n.toString(),"stdout"),stderr:o(n=>s+=n.toString(),"stderr")}})}catch(n){b(n.message)}return s=s.trim(),b(s),s})}o(HY,"getVersion");function fp(){return pu(this,void 0,void 0,function*(){let t=yield HY("zstd",["--quiet"]),e=qY.clean(t);return b(`zstd version: ${e}`),t===""?wr.Gzip:wr.ZstdWithoutLong})}o(fp,"getCompressionMethod");function Xo(t){return t===wr.Gzip?pp.Gzip:pp.Zstd}o(Xo,"getCacheFileName");function zY(){return pu(this,void 0,void 0,function*(){return mu.existsSync(aN)?aN:(yield HY("tar")).toLowerCase().includes("gnu tar")?rt("tar"):""})}o(zY,"getGnuTarPathOnWindows");function uN(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}o(uN,"assertDefined");function hu(t,e,r=!1){let s=t.slice();return e&&s.push(e),process.platform==="win32"&&!r&&s.push("windows-only"),s.push(iIe),iE.createHash("sha256").update(s.join("|")).digest("hex")}o(hu,"getCacheVersion");function $Y(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}o($Y,"getRuntimeToken");var Ep=w(require("http"),1),pN=w(require("https"),1);function AN(t){let e=t.protocol==="https:";if(oIe(t))return;let r=e?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;if(r)try{return new aE(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new aE(`http://${r}`)}else return}o(AN,"getProxyUrl");function oIe(t){if(!t.hostname)return!1;let e=t.hostname;if(aIe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let s;t.port?s=Number(t.port):t.protocol==="http:"?s=80:t.protocol==="https:"&&(s=443);let n=[t.hostname.toUpperCase()];typeof s=="number"&&n.push(`${n[0]}:${s}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||n.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}o(oIe,"checkBypass");function aIe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}o(aIe,"isLoopbackAddress");var aE=class extends URL{static{o(this,"DecodedURL")}constructor(e,r){super(e,r),this._decodedUsername=decodeURIComponent(super.username),this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}};var Zo=w(PA(),1),VY=w(Zl(),1);var ft=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},nt;(function(t){t[t.OK=200]="OK",t[t.MultipleChoices=300]="MultipleChoices",t[t.MovedPermanently=301]="MovedPermanently",t[t.ResourceMoved=302]="ResourceMoved",t[t.SeeOther=303]="SeeOther",t[t.NotModified=304]="NotModified",t[t.UseProxy=305]="UseProxy",t[t.SwitchProxy=306]="SwitchProxy",t[t.TemporaryRedirect=307]="TemporaryRedirect",t[t.PermanentRedirect=308]="PermanentRedirect",t[t.BadRequest=400]="BadRequest",t[t.Unauthorized=401]="Unauthorized",t[t.PaymentRequired=402]="PaymentRequired",t[t.Forbidden=403]="Forbidden",t[t.NotFound=404]="NotFound",t[t.MethodNotAllowed=405]="MethodNotAllowed",t[t.NotAcceptable=406]="NotAcceptable",t[t.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",t[t.RequestTimeout=408]="RequestTimeout",t[t.Conflict=409]="Conflict",t[t.Gone=410]="Gone",t[t.TooManyRequests=429]="TooManyRequests",t[t.InternalServerError=500]="InternalServerError",t[t.NotImplemented=501]="NotImplemented",t[t.BadGateway=502]="BadGateway",t[t.ServiceUnavailable=503]="ServiceUnavailable",t[t.GatewayTimeout=504]="GatewayTimeout"})(nt||(nt={}));var br;(function(t){t.Accept="accept",t.ContentType="content-type"})(br||(br={}));var eo;(function(t){t.ApplicationJson="application/json"})(eo||(eo={}));var lIe=[nt.MovedPermanently,nt.ResourceMoved,nt.SeeOther,nt.TemporaryRedirect,nt.PermanentRedirect],uIe=[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout],AIe=["OPTIONS","GET","DELETE","HEAD"],dIe=10,pIe=5,Xn=class t extends Error{static{o(this,"HttpClientError")}constructor(e,r) Line truncated
${BIe.sanitize({...this,request:{...this.request,agent:s},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function pE(t){return t instanceof xr?!0:dc(t)&&t.name==="RestError"}o(pE,"isRestError");function Fr(t,e){return Buffer.from(t,e)}o(Fr,"stringToUint8Array");var mE=w(require("node:http"),1),hE=w(require("node:https"),1),wN=w(require("node:zlib"),1),uJ=require("node:stream");var Us=yp("ts-http-runtime");var wIe={};function Cp(t){return t&&typeof t.pipe=="function"}o(Cp,"isReadableStream");function lJ(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=o(()=>{e(),t.removeListener("close",r),t.removeListener("end",r),t.removeListener("error",r)},"handler");t.on("close",r),t.on("end",r),t.on("error",r)})}o(lJ,"isStreamComplete");function AJ(t){return t&&typeof t.byteLength=="number"}o(AJ,"isArrayBuffer");var fE=class extends uJ.Transform{static{o(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,s){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),s()}catch(n){s(n)}}constructor(e){super(),this.progressCallback=e}},bN=class{static{o(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,s;if(e.abortSignal){if(e.abortSignal.aborted)throw new Zn("The operation was aborted. Request has already been canceled.");s=o(u=>{u.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",s)}let n;e.timeout>0&&(n=setTimeout(()=>{let u=new In;Us.info(`request to '${u.sanitizeUrl(e.url)}' timed out. canceling...`),r.abort()},e.timeout));let i=e.headers.get("Accept-Encoding"),a=i?.includes("gzip")||i?.includes("deflate"),c=typeof e.body=="function"?e.body():e.body;if(c&&!e.headers.has("Content-Length")){let u=NIe(c);u!==null&&e.headers.set("Content-Length",u)}let l;try{if(c&&e.onUploadProgress){let h=e.onUploadProgress,f=new fE(h);f.on("error",C=>{Us.error("Error in upload progress",C)}),Cp(c)?c.pipe(f):f.end(c),c=f}let u=await this.makeRequest(e,r,c);n!==void 0&&clearTimeout(n);let A=bIe(u),p={status:u.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return u.resume(),p;l=a?xIe(u,A):u;let m=e.onDownloadProgress;if(m){let h=new fE(m);h.on("error",f=>{Us.error("Error in download progress",f)}),l.pipe(h),l=h}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(p.status)?p.readableStreamBody=l:p.bodyAsText=await QIe(l),p}finally{if(e.abortSignal&&s){let u=Promise.resolve();Cp(c)&&(u=lJ(c));let A=Promise.resolve();Cp(l)&&(A=lJ(l)),Promise.all([u,A]).then(()=>{s&&e.abortSignal?.removeEventListener("abort",s)}).catch(d=>{Us.warning("Error when cleaning up abortListener on httpRequest",d)})}}}makeRequest(e,r,s){let n=new URL(e.url),i=n.protocol!=="https:";if(i&&!e.allowInsecureConnection)throw new Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let c={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((l,u)=>{let A=i?mE.default.request(c,l):hE.default.request(c,l);A.once("error",d=>{u(new xr(d.message,{code:d.code??xr.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let d=new Zn("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(d),u(d)}),s&&Cp(s)?s.pipe(A):s?typeof s=="string"||Buffer.isBuffer(s)?A.end(s):AJ(s)?A.end(ArrayBuffer.isView(s)?Buffer.from(s.buffer):Buffer.from(s)):(Us.error("Unrecognized body type",s),u(new xr("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let s=e.disableKeepAlive;if(r)return s?mE.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new mE.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(s&&!e.tlsSettings)return hE.default.globalAgent;let n=e.tlsSettings??wIe,i=this.cachedHttpsAgents.get(n);return i&&i.options.keepAlive===!s||(Us.info("No cached TLS Agent exist, creating a new Agent"),i=new hE.default.Agent({keepAlive:!s,...n}),this.cachedHttpsAgents.set(n,i)),i}}};function bIe(t){let e=ms();for(let r of Object.keys(t.headers)){let s=t.headers[r];Array.isArray(s)?s.length>0&&e.set(r,s[0]):s&&e.set(r,s)}return e}o(bIe,"getResponseHeaders");function xIe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let s=wN.default.createGunzip();return t.pipe(s),s}else if(r==="deflate"){let s=wN.default.createInflate();return t.pipe(s),s}return t}o(xIe,"getDecodedResponseStream");function QIe(t){return new Promise((e,r)=>{let s=[];t.on("data",n=>{Buffer.isBuffer(n)?s.push(n):s.push(Buffer.from(n))}),t.on("end",()=>{e(Buffer.concat(s).toString("utf8"))}),t.on("error",n=>{n&&n?.name==="AbortError"?r(n):r(new xr(`Error reading response as text: ${n.message}`,{code:xr.PARSE_ERROR}))})})}o(QIe,"streamToText");function NIe(t){return t?Buffer.isBuffer(t)?t.length:Cp(t)?nul Line truncated
`;return e}o(JBe,"encodeHeaders");function WBe(t){return t instanceof Uint8Array?t.byteLength:FE(t)?t.size===-1?void 0:t.size:void 0}o(WBe,"getLength");function jBe(t){let e=0;for(let r of t){let s=WBe(r);if(s===void 0)return;e+=s}return e}o(jBe,"getTotalLength");async function KBe(t,e,r){let s=[Fr(`--${r}`,"utf-8"),...e.flatMap(i=>[Fr(`\r
`,"utf-8"),Fr(JBe(i.headers),"utf-8"),Fr(`\r
`,"utf-8"),i.body,Fr(`\r
--${r}`,"utf-8")]),Fr(`--\r
\r
`,"utf-8")],n=uIe(s);n&&t.headers.set("Content-Length",n),t.body=await HJ(s)}o(AIe,"buildRequestBody");var pp="multipartPolicy",dIe=70,pIe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function mIe(t){if(t.length>dIe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!pIe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(mIe,"assertValidBoundary");function DE(){return{name:pp,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?mIe(r):r=aIe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await AIe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(DE,"multipartPolicy");function _E(){return iE()}o(_E,"createEmptyPipeline");var zJ=rE({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),P3e=zJ.logger;function ei(t){return zJ.createClientLogger(t)}o(ei,"createClientLogger");var ti=ei("core-rest-pipeline");function RN(t={}){return AE({logger:ti.info,...t})}o(RN,"logPolicy");var TN=dE;function vN(t={}){return pE(t)}o(vN,"redirectPolicy");var LE=w(require("node:os"),1),ME=w(require("node:process"),1);function $J(){return"User-Agent"}o($J,"getHeaderName");async function VJ(t){if(ME.default&&ME.default.versions){let e=`${LE.default.type()} ${LE.default.release()}; ${LE.default.arch()}`,r=ME.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(VJ,"setPlatformSpecificData");var OE="1.22.2";function BIe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(BIe,"getUserAgentString");function YJ(){return $J()}o(YJ,"getUserAgentHeaderName");async function FE(t){let e=new Map;e.set("core-rest-pipeline",OE),await VJ(e);let r=BIe(e);return t?`${t} ${r}`:r}o(FE,"getUserAgentValue");var JJ=YJ(),WJ="userAgentPolicy";function PN(t={}){let e=FE(t.userAgentPrefix);return{name:WJ,async sendRequest(r,s){return r.headers.has(JJ)||r.headers.set(JJ,await e),s(r)}}}o(PN,"userAgentPolicy");var ms=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function kN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new ms(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(kN,"createAbortablePromise");var NIe="The delay was aborted.";function mp(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return kN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??NIe})}o(mp,"delay");function Zo(t){if(ic(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(Zo,"getErrorMessage");function jJ(t){return ic(t)}o(jJ,"isError");function mu(){return nc()}o(mu,"randomUUID");var Qe=cc;var KJ=Symbol("rawContent");function _N(t){return typeof t[KJ]=="function"}o(_N,"hasRawContent");function XJ(t){return _N(t)?t[KJ]():t}o(XJ,"getRawContent");var UE=pp;function LN(){let t=DE();return{name:UE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)_N(s.body)&&(s.body=XJ(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(LN,"multipartPolicy");var MN=mE;function ON(){return hE()}o(ON,"decompressResponsePolicy");function FN(t={}){return EE(t)}o(FN,"defaultRetryPolicy");function UN(){return yE()}o(UN,"formDataPolicy");function ea(t){return bN(t)}o(ea,"getDefaultProxySettings");function qN(t,e){return RE(t,e)}o(qN,"proxyPolicy");var ZJ="setClientRequestIdPolicy";function GN(t="x-ms-client-request-id"){return{name:ZJ,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(GN,"setClientRequestIdPolicy");function HN(t){return TE(t)}o(HN,"agentPolicy");function zN(t){return vE(t)}o(zN,"tlsPolicy");var hu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function e3(t={}){let e=new $N(t.parentContext);return t.span&&(e=e.setValue(hu.span,t.span)),t.namespace&&(e=e.setValue(hu.namespace,t.namespace)),e}o(e3,"createTracingContext");var $N=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._context Line truncated
`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!KBe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",yt("InvalidTag",d,wr(t,i))}let u=VBe(t,i);if(u===!1)return yt("InvalidAttr","Attributes for '"+l+"' have open quote.",wr(t,i));let A=u.value;if(i=u.index,A[A.length-1]==="/"){let d=i-A.length;A=A.substring(0,A.length-1);let p=M3(A,e);if(p===!0)s=!0;else return yt(p.err.code,p.err.msg,wr(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return yt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",wr(t,a));if(r.length===0)return yt("InvalidTag","Closing tag '"+l+"' has not been opened.",wr(t,a));{let d=r.pop();if(l!==d.tagName){let p=wr(t,d.tagStartPos);return yt("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",wr(t,a))}r.length==0&&(n=!0)}}else return yt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",wr(t,i));else{let d=M3(A,e);if(d!==!0)return yt(d.err.code,d.err.msg,wr(t,i-A.length+d.err.line));if(n===!0)return yt("InvalidXml","Multiple possible root nodes found.",wr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=L3(t,i);continue}else if(t[i+1]==="?"){if(i=_3(t,++i),i.err)return i}else break;else if(t[i]==="&"){let d=WBe(t,i);if(d==-1)return yt("InvalidChar","char '&' is not expected.",wr(t,i));i=d}else if(n===!0&&!D3(t[i]))return yt("InvalidXml","Extra text at the end",wr(t,i));t[i]==="<"&&i--}}else{if(D3(t[i]))continue;return yt("InvalidChar","char '"+t[i]+"' is not expected.",wr(t,i))}if(s){if(r.length==1)return yt("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",wr(t,r[0].tagStartPos));if(r.length>0)return yt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return yt("InvalidXml","Start tag expected.",1);return!0}o(ZE,"validate");function D3(t){return t===" "||t===" "||t===`
`||t==="\r"}o(D3,"isWhiteSpace");function _3(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let s=t.substr(r,e-r);if(e>5&&s==="xml")return yt("InvalidXml","XML declaration allowed only at the start of the document.",wr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(_3,"readPI");function L3(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(L3,"readCommentAndCDATA");var zBe='"',$Be="'";function VBe(t,e){let r="",s="",n=!1;for(;e<t.length;e++){if(t[e]===zBe||t[e]===$Be)s===""?s=t[e]:s!==t[e]||(s="");else if(t[e]===">"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(VBe,"readAttributeStr");var YBe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function M3(t,e){let r=KE(t,YBe),s={};for(let n=0;n<r.length;n++){if(r[n][1].length===0)return yt("InvalidAttr","Attribute '"+r[n][2]+"' has no space in starting.",xp(r[n]));if(r[n][3]!==void 0&&r[n][4]===void 0)return yt("InvalidAttr","Attribute '"+r[n][2]+"' is without value.",xp(r[n]));if(r[n][3]===void 0&&!e.allowBooleanAttributes)return yt("InvalidAttr","boolean attribute '"+r[n][2]+"' is not allowed.",xp(r[n]));let i=r[n][2];if(!jBe(i))return yt("InvalidAttr","Attribute '"+i+"' is an invalid name.",xp(r[n]));if(!Object.prototype.hasOwnProperty.call(s,i))s[i]=1;else return yt("InvalidAttr","Attribute '"+i+"' is repeated.",xp(r[n]))}return!0}o(M3,"validateAttributeString");function JBe(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(JBe,"validateNumberAmpersand");function WBe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,JBe(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(WBe,"validateAmpersand");function yt(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(yt,"getErrorObject");function jBe(t){return Eu(t)}o(jBe,"validateAttrName");function KBe(t){return Eu(t)}o(KBe,"validateTagName");function wr(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(wr,"getLineNumberForPosition");function xp(t){return t.startIndex+t[1].length}o(xp,"getPositionFromMatch");var O3={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",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:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},F3={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},U3={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",HstLine truncated
`);let e=new Ur("!xml"),r=e,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let n=this.options,i=new Rp(n.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let u=t.charCodeAt(c+1);if(u===47){let A=Iu(t,">",c,"Closing Tag is not closed."),d=t.substring(c+2,A).trim();if(n.removeNSPrefix){let m=d.indexOf(":");m!==-1&&(d=d.substr(m+1))}d=hS(n.transformTagName,d,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(d&&n.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: </${d}>`);p&&n.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=A}else if(u===63){let A=fS(t,c,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(d){let p=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1)}if(!(n.ignoreDeclaration&&A.tagName==="?xml"||n.ignorePiTags)){let p=new Ur(A.tagName);p.add(n.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&n.ignoreAttributes!==!0&&(p[":@"]=d),this.addChild(r,p,this.readonlyMatcher,c)}c=A.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let A=Iu(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let d=t.substring(c+4,A-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:d}])}c=A}else if(u===33&&t.charCodeAt(c+2)===68){let A=i.readDocType(t,c);this.entityDecoder.addInputEntities(A.entities),c=A.i}else if(u===33&&t.charCodeAt(c+2)===91){let A=Iu(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,A);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let p=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:d}]):r.add(n.textNodeName,p),c=A+2}else{let A=fS(t,c,n.removeNSPrefix);if(!A){let R=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${R}"`)}let d=A.tagName,p=A.rawTagName,m=A.tagExp,h=A.attrExpPresent,g=A.closeIndex;if({tagName:d,tagExp:m}=hS(n.transformTagName,d,m,n),n.strictReservedNames&&(d===n.commentPropName||d===n.cdataPropName||d===n.textNodeName||d===n.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let C=r;C&&n.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(E=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),m=d):m=m.substr(0,m.length-1),h=d!==m);let y=null,I={},B;B=mwe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=pwe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let S=c;if(this.isCurrentNodeStopNode){let R="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let ge=this.readStopNodeData(t,p,g+1);if(!ge)throw new Error(`Unexpected end of ${p}`);c=ge.i,R=ge.tagContent}let q=new Ur(d);y&&(q[":@"]=y),q.add(n.textNodeName,R),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,q,this.readonlyMatcher,S)}else{if(E){({tagName:d,tagExp:m}=hS(n.transformTagName,d,m,n));let R=new Ur(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let R=new Ur(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,S),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let R=new Ur(d);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,S),r=R}s="",c=g}}}else s+=t[c];return e.child},"parseXml");function Cwe(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}o(Cwe,"addChild");function Iwe(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}o(Iwe,"replaceEntitiesValue");function Bwe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(Bwe,"saveTextToParentTag");function wwe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.mLine truncated
`;function Mwe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(BS(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(Mwe,"detectXmlVersionFromArray");function o4(t,e,r,s,n){return!r.sanitizeName||iy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(o4,"resolveTagName");function IS(t,e){let r="";e.format&&(r=Lwe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?s.push(new gs(c)):c instanceof gs&&s.push(c)}let n=Mwe(t,e),i=new ni;return a4(t,e,r,i,s,n)}o(IS,"toXml");function a4(t,e,r,s,n,i){let a="",c=!1;if(e.maxNestedTags&&s.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=CS(l,e),l}return""}for(let l=0;l<t.length;l++){let u=t[l],A=BS(u);if(A===void 0)continue;let p=A===e.textNodeName||A===e.cdataPropName||A===e.commentPropName||A[0]==="?"?A:o4(A,!1,e,s,i),m=Owe(u[":@"],e);s.push(p,m);let h=Uwe(s,n);if(p===e.textNodeName){let I=u[A];h||(I=e.tagValueProcessor(p,I),I=CS(I,e)),c&&(a+=r),a+=I,c=!1,s.pop();continue}else if(p===e.cdataPropName){c&&(a+=r);let I=u[A][0][e.textNodeName],B=ny(I);a+=`<![CDATA[${B}]]>`,c=!1,s.pop();continue}else if(p===e.commentPropName){let I=u[A][0][e.textNodeName],B=sy(I);a+=r+`<!--${B}-->`,c=!0,s.pop();continue}else if(p[0]==="?"){let I=i4(u[":@"],e,h,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let g=r;g!==""&&(g+=e.indentBy);let C=i4(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=c4(u[A],e):y=a4(u[A],e,g,s,n,i),e.unpairedTags.indexOf(p)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!y||y.length===0)&&e.suppressEmptyNode?a+=E+"/>":y&&y.endsWith(">")?a+=E+`>${y}${r}</${p}>`:(a+=E+">",y&&r!==""&&(y.includes("/>")||y.includes("</"))?a+=r+e.indentBy+y+r:a+=y,a+=`</${p}>`),c=!0,s.pop()}return a}o(a4,"arrToStr");function Owe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=sa(t[n]),s=!0}return s?r:null}o(Owe,"extractAttributeValues");function c4(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s<t.length;s++){let n=t[s],i=BS(n);if(i===e.textNodeName)r+=n[i];else if(i===e.cdataPropName)r+=n[i][0][e.textNodeName];else if(i===e.commentPropName)r+=n[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=Fwe(n[":@"],e),c=c4(n[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(c4,"getRawContent");function Fwe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${sa(n)}"`}return r}o(Fwe,"attr_to_str_raw");function BS(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let s=e[r];if(Object.prototype.hasOwnProperty.call(t,s)&&s!==":@")return s}}o(BS,"propName");function i4(t,e,r,s,n){let i="";if(t&&!e.ignoreAttributes)for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a))continue;let c=a.substr(e.attributeNamePrefix.length),l=r?c:o4(c,!0,e,s,n),u;r?u=t[a]:(u=e.attributeValueProcessor(a,t[a]),u=CS(u,e)),u===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${sa(u)}"`}return i}o(i4,"attr_to_str");function Uwe(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}o(Uwe,"checkStopNode");function CS(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let s=e.entities[r];t=t.replace(s.regex,s.val)}return t}o(CS,"replaceEntitiesValue");function wS(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(wS,"getIgnoreAttributesFn");var qwe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Gr(t){if(this.options=Object.assign({},qwe,t),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.oLine truncated
`,"utf-8")],n=jBe(s);n&&t.headers.set("Content-Length",n),t.body=await a3(s)}o(KBe,"buildRequestBody");var bp="multipartPolicy",XBe=70,ZBe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function ewe(t){if(t.length>XBe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!ZBe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}o(ewe,"assertValidBoundary");function qE(){return{name:bp,async sendRequest(t,e){if(!t.multipartBody)return e(t);if(t.body)throw new Error("multipartBody and regular body cannot be set at the same time");let r=t.multipartBody.boundary,s=t.headers.get("Content-Type")??"multipart/mixed",n=s.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw new Error(`Got multipart request body, but content-type header was not multipart: ${s}`);let[,i,a]=n;if(a&&r&&a!==r)throw new Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);return r??=a,r?ewe(r):r=YBe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await KBe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}o(qE,"multipartPolicy");function GE(){return dE()}o(GE,"createEmptyPipeline");var c3=lE({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),r8e=c3.logger;function ti(t){return c3.createClientLogger(t)}o(ti,"createClientLogger");var ri=ti("core-rest-pipeline");function GN(t={}){return EE({logger:ri.info,...t})}o(GN,"logPolicy");var HN=yE;function zN(t={}){return CE(t)}o(zN,"redirectPolicy");var HE=w(require("node:os"),1),zE=w(require("node:process"),1);function l3(){return"User-Agent"}o(l3,"getHeaderName");async function u3(t){if(zE.default&&zE.default.versions){let e=`${HE.default.type()} ${HE.default.release()}; ${HE.default.arch()}`,r=zE.default.versions;r.bun?t.set("Bun",`${r.bun} (${e})`):r.deno?t.set("Deno",`${r.deno} (${e})`):r.node&&t.set("Node",`${r.node} (${e})`)}}o(u3,"setPlatformSpecificData");var $E="1.22.2";function cwe(t){let e=[];for(let[r,s]of t){let n=s?`${r}/${s}`:r;e.push(n)}return e.join(" ")}o(cwe,"getUserAgentString");function A3(){return l3()}o(A3,"getUserAgentHeaderName");async function VE(t){let e=new Map;e.set("core-rest-pipeline",$E),await u3(e);let r=cwe(e);return t?`${t} ${r}`:r}o(VE,"getUserAgentValue");var d3=A3(),p3="userAgentPolicy";function $N(t={}){let e=VE(t.userAgentPrefix);return{name:p3,async sendRequest(r,s){return r.headers.has(d3)||r.headers.set(d3,await e),s(r)}}}o($N,"userAgentPolicy");var gs=class extends Error{static{o(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function VN(t,e){let{cleanupBeforeAbort:r,abortSignal:s,abortErrorMsg:n}=e??{};return new Promise((i,a)=>{function c(){a(new gs(n??"The operation was aborted."))}o(c,"rejectOnAbort");function l(){s?.removeEventListener("abort",u)}o(l,"removeListeners");function u(){r?.(),l(),c()}if(o(u,"onAbort"),s?.aborted)return c();try{t(A=>{l(),i(A)},A=>{l(),a(A)})}catch(A){a(A)}s?.addEventListener("abort",u)})}o(VN,"createAbortablePromise");var pwe="The delay was aborted.";function xp(t,e){let r,{abortSignal:s,abortErrorMsg:n}=e??{};return VN(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:o(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:s,abortErrorMsg:n??pwe})}o(xp,"delay");function ta(t){if(dc(t))return t.message;{let e;try{typeof t=="object"&&t?e=JSON.stringify(t):e=String(t)}catch{e="[unable to stringify input]"}return`Unknown error ${e}`}}o(ta,"getErrorMessage");function m3(t){return dc(t)}o(m3,"isError");function bu(){return Ac()}o(bu,"randomUUID");var xe=hc;var h3=Symbol("rawContent");function JN(t){return typeof t[h3]=="function"}o(JN,"hasRawContent");function f3(t){return JN(t)?t[h3]():t}o(f3,"getRawContent");var YE=bp;function WN(){let t=qE();return{name:YE,sendRequest:o(async(e,r)=>{if(e.multipartBody)for(let s of e.multipartBody.parts)JN(s.body)&&(s.body=f3(s.body));return t.sendRequest(e,r)},"sendRequest")}}o(WN,"multipartPolicy");var jN=IE;function KN(){return BE()}o(KN,"decompressResponsePolicy");function XN(t={}){return xE(t)}o(XN,"defaultRetryPolicy");function ZN(){return QE()}o(ZN,"formDataPolicy");function ra(t){return MN(t)}o(ra,"getDefaultProxySettings");function eS(t,e){return LE(t,e)}o(eS,"proxyPolicy");var g3="setClientRequestIdPolicy";function tS(t="x-ms-client-request-id"){return{name:g3,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}o(tS,"setClientRequestIdPolicy");function rS(t){return ME(t)}o(rS,"agentPolicy");function sS(t){return OE(t)}o(sS,"tlsPolicy");var xu={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function E3(t={}){let e=new nS(t.parentContext);return t.span&&(e=e.setValue(xu.span,t.span)),t.namespace&&(e=e.setValue(xu.namespace,t.namespace)),e}o(E3,"createTracingContext");var nS=class t{static{o(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e instanceof t?new Map(e._context Line truncated
`&&t[i]!=="\r";i++)l+=t[i];if(l=l.trim(),l[l.length-1]==="/"&&(l=l.substring(0,l.length-1),i--),!Mbe(l)){let d;return l.trim().length===0?d="Invalid space after '<'.":d="Tag '"+l+"' is an invalid name.",gt("InvalidTag",d,Qr(t,i))}let u=Pbe(t,i);if(u===!1)return gt("InvalidAttr","Attributes for '"+l+"' have open quote.",Qr(t,i));let A=u.value;if(i=u.index,A[A.length-1]==="/"){let d=i-A.length;A=A.substring(0,A.length-1);let p=t4(A,e);if(p===!0)s=!0;else return gt(p.err.code,p.err.msg,Qr(t,d+p.err.line))}else if(c)if(u.tagClosed){if(A.trim().length>0)return gt("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",Qr(t,a));if(r.length===0)return gt("InvalidTag","Closing tag '"+l+"' has not been opened.",Qr(t,a));{let d=r.pop();if(l!==d.tagName){let p=Qr(t,d.tagStartPos);return gt("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+l+"'.",Qr(t,a))}r.length==0&&(n=!0)}}else return gt("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",Qr(t,i));else{let d=t4(A,e);if(d!==!0)return gt(d.err.code,d.err.msg,Qr(t,i-A.length+d.err.line));if(n===!0)return gt("InvalidXml","Multiple possible root nodes found.",Qr(t,i));e.unpairedTags.indexOf(l)!==-1||r.push({tagName:l,tagStartPos:a}),s=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=e4(t,i);continue}else if(t[i+1]==="?"){if(i=Z3(t,++i),i.err)return i}else break;else if(t[i]==="&"){let d=_be(t,i);if(d==-1)return gt("InvalidChar","char '&' is not expected.",Qr(t,i));i=d}else if(n===!0&&!X3(t[i]))return gt("InvalidXml","Extra text at the end",Qr(t,i));t[i]==="<"&&i--}}else{if(X3(t[i]))continue;return gt("InvalidChar","char '"+t[i]+"' is not expected.",Qr(t,i))}if(s){if(r.length==1)return gt("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",Qr(t,r[0].tagStartPos));if(r.length>0)return gt("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return gt("InvalidXml","Start tag expected.",1);return!0}o(oy,"validate");function X3(t){return t===" "||t===" "||t===`
`||t==="\r"}o(X3,"isWhiteSpace");function Z3(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let s=t.substr(r,e-r);if(e>5&&s==="xml")return gt("InvalidXml","XML declaration allowed only at the start of the document.",Qr(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}o(Z3,"readPI");function e4(t,e){if(t.length>e+5&&t[e+1]==="-"&&t[e+2]==="-"){for(e+=3;e<t.length;e++)if(t[e]==="-"&&t[e+1]==="-"&&t[e+2]===">"){e+=2;break}}else if(t.length>e+8&&t[e+1]==="D"&&t[e+2]==="O"&&t[e+3]==="C"&&t[e+4]==="T"&&t[e+5]==="Y"&&t[e+6]==="P"&&t[e+7]==="E"){let r=1;for(e+=8;e<t.length;e++)if(t[e]==="<")r++;else if(t[e]===">"&&(r--,r===0))break}else if(t.length>e+9&&t[e+1]==="["&&t[e+2]==="C"&&t[e+3]==="D"&&t[e+4]==="A"&&t[e+5]==="T"&&t[e+6]==="A"&&t[e+7]==="["){for(e+=8;e<t.length;e++)if(t[e]==="]"&&t[e+1]==="]"&&t[e+2]===">"){e+=2;break}}return e}o(e4,"readCommentAndCDATA");var Tbe='"',vbe="'";function Pbe(t,e){let r="",s="",n=!1;for(;e<t.length;e++){if(t[e]===Tbe||t[e]===vbe)s===""?s=t[e]:s!==t[e]||(s="");else if(t[e]===">"&&s===""){n=!0;break}r+=t[e]}return s!==""?!1:{value:r,index:e,tagClosed:n}}o(Pbe,"readAttributeStr");var kbe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function t4(t,e){let r=ny(t,kbe),s={};for(let n=0;n<r.length;n++){if(r[n][1].length===0)return gt("InvalidAttr","Attribute '"+r[n][2]+"' has no space in starting.",Mp(r[n]));if(r[n][3]!==void 0&&r[n][4]===void 0)return gt("InvalidAttr","Attribute '"+r[n][2]+"' is without value.",Mp(r[n]));if(r[n][3]===void 0&&!e.allowBooleanAttributes)return gt("InvalidAttr","boolean attribute '"+r[n][2]+"' is not allowed.",Mp(r[n]));let i=r[n][2];if(!Lbe(i))return gt("InvalidAttr","Attribute '"+i+"' is an invalid name.",Mp(r[n]));if(!Object.prototype.hasOwnProperty.call(s,i))s[i]=1;else return gt("InvalidAttr","Attribute '"+i+"' is repeated.",Mp(r[n]))}return!0}o(t4,"validateAttributeString");function Dbe(t,e){let r=/\d/;for(t[e]==="x"&&(e++,r=/[\da-fA-F]/);e<t.length;e++){if(t[e]===";")return e;if(!t[e].match(r))break}return-1}o(Dbe,"validateNumberAmpersand");function _be(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,Dbe(t,e);let r=0;for(;e<t.length;e++,r++)if(!(t[e].match(/\w/)&&r<20)){if(t[e]===";")break;return-1}return e}o(_be,"validateAmpersand");function gt(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}o(gt,"getErrorObject");function Lbe(t){return Su(t)}o(Lbe,"validateAttrName");function Mbe(t){return Su(t)}o(Mbe,"validateTagName");function Qr(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}o(Qr,"getLineNumberForPosition");function Mp(t){return t.startIndex+t[1].length}o(Mp,"getPositionFromMatch");var r4={amp:"&",AMP:"&",lt:"<",LT:"<",gt:">",GT:">",quot:'"',QUOT:'"',apos:"'",lsquo:"\u2018",rsquo:"\u2019",ldquo:"\u201C",rdquo:"\u201D",lsquor:"\u201A",rsquor:"\u2019",ldquor:"\u201E",bdquo:"\u201E",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:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",COPY:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",REG:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",half:"\xBD",frac34:"\xBE",iquest:"\xBF",times:"\xD7",div:"\xF7",divide:"\xF7"},s4={Agrave:"\xC0",agrave:"\xE0",Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",Aring:"\xC5",aring:"\xE5",AElig:"\xC6",aelig:"\xE6",Ccedil:"\xC7",ccedil:"\xE7",Egrave:"\xC8",egrave:"\xE8",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Euml:"\xCB",euml:"\xEB",Igrave:"\xCC",igrave:"\xEC",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",Iuml:"\xCF",iuml:"\xEF",ETH:"\xD0",eth:"\xF0",Ntilde:"\xD1",ntilde:"\xF1",Ograve:"\xD2",ograve:"\xF2",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",Oslash:"\xD8",oslash:"\xF8",Ugrave:"\xD9",ugrave:"\xF9",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",THORN:"\xDE",thorn:"\xFE",szlig:"\xDF",yuml:"\xFF",Yuml:"\u0178"},n4={Amacr:"\u0100",amacr:"\u0101",Abreve:"\u0102",abreve:"\u0103",Aogon:"\u0104",aogon:"\u0105",Cacute:"\u0106",cacute:"\u0107",Ccirc:"\u0108",ccirc:"\u0109",Cdot:"\u010A",cdot:"\u010B",Ccaron:"\u010C",ccaron:"\u010D",Dcaron:"\u010E",dcaron:"\u010F",Dstrok:"\u0110",dstrok:"\u0111",Emacr:"\u0112",emacr:"\u0113",Ecaron:"\u011A",ecaron:"\u011B",Edot:"\u0116",edot:"\u0117",Eogon:"\u0118",eogon:"\u0119",Gcirc:"\u011C",gcirc:"\u011D",Gbreve:"\u011E",gbreve:"\u011F",Gdot:"\u0120",gdot:"\u0121",Gcedil:"\u0122",Hcirc:"\u0124",hcirc:"\u0125",HstLine truncated
`);let e=new Gr("!xml"),r=e,s="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let n=this.options,i=new Up(n.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let u=t.charCodeAt(c+1);if(u===47){let A=vu(t,">",c,"Closing Tag is not closed."),d=t.substring(c+2,A).trim();if(n.removeNSPrefix){let m=d.indexOf(":");m!==-1&&(d=d.substr(m+1))}d=SS(n.transformTagName,d,"",n).tagName,r&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher));let p=this.matcher.getCurrentTag();if(d&&n.unpairedTagsSet.has(d))throw new Error(`Unpaired tag can not be used as closing tag: </${d}>`);p&&n.unpairedTagsSet.has(p)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),s="",c=A}else if(u===63){let A=RS(t,c,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let d=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(d){let p=d[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(p)||1)}if(!(n.ignoreDeclaration&&A.tagName==="?xml"||n.ignorePiTags)){let p=new Gr(A.tagName);p.add(n.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&n.ignoreAttributes!==!0&&(p[":@"]=d),this.addChild(r,p,this.readonlyMatcher,c)}c=A.closeIndex+1}else if(u===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let A=vu(t,"-->",c+4,"Comment is not closed.");if(n.commentPropName){let d=t.substring(c+4,A-2);s=this.saveTextToParentTag(s,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:d}])}c=A}else if(u===33&&t.charCodeAt(c+2)===68){let A=i.readDocType(t,c);this.entityDecoder.addInputEntities(A.entities),c=A.i}else if(u===33&&t.charCodeAt(c+2)===91){let A=vu(t,"]]>",c,"CDATA is not closed.")-2,d=t.substring(c+9,A);s=this.saveTextToParentTag(s,r,this.readonlyMatcher);let p=this.parseTextData(d,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);p==null&&(p=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:d}]):r.add(n.textNodeName,p),c=A+2}else{let A=RS(t,c,n.removeNSPrefix);if(!A){let R=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${R}"`)}let d=A.tagName,p=A.rawTagName,m=A.tagExp,h=A.attrExpPresent,f=A.closeIndex;if({tagName:d,tagExp:m}=SS(n.transformTagName,d,m,n),n.strictReservedNames&&(d===n.commentPropName||d===n.cdataPropName||d===n.textNodeName||d===n.attributesGroupName))throw new Error(`Invalid tag name: ${d}`);r&&s&&r.tagname!=="!xml"&&(s=this.saveTextToParentTag(s,r,this.readonlyMatcher,!1));let C=r;C&&n.unpairedTagsSet.has(C.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(E=!0,d[d.length-1]==="/"?(d=d.substr(0,d.length-1),m=d):m=m.substr(0,m.length-1),h=d!==m);let y=null,I={},B;B=exe(p),d!==e.tagname&&this.matcher.push(d,{},B),d!==m&&h&&(y=this.buildAttributesMap(m,this.matcher,d),y&&(I=Zbe(y,n))),d!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let N=c;if(this.isCurrentNodeStopNode){let R="";if(E)c=A.closeIndex;else if(n.unpairedTagsSet.has(d))c=A.closeIndex;else{let Ae=this.readStopNodeData(t,p,f+1);if(!Ae)throw new Error(`Unexpected end of ${p}`);c=Ae.i,R=Ae.tagContent}let q=new Gr(d);y&&(q[":@"]=y),q.add(n.textNodeName,R),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,q,this.readonlyMatcher,N)}else{if(E){({tagName:d,tagExp:m}=SS(n.transformTagName,d,m,n));let R=new Gr(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(d)){let R=new Gr(d);y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,N),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let R=new Gr(d);if(this.tagsNodeStack.length>n.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),y&&(R[":@"]=y),this.addChild(r,R,this.readonlyMatcher,N),r=R}s="",c=f}}}else s+=t[c];return e.child},"parseXml");function oxe(t,e,r,s){this.options.captureMetaData||(s=void 0);let n=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,n,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,s))}o(oxe,"addChild");function axe(t,e,r){let s=this.options.processEntities;if(!s||!s.enabled)return t;if(s.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(s.allowedTags)?s.allowedTags.includes(e):s.allowedTags(e,n)))return t}if(s.tagFilter){let n=this.options.jPath?r.toString():r;if(!s.tagFilter(e,n))return t}return this.entityDecoder.decode(t)}o(axe,"replaceEntitiesValue");function cxe(t,e,r,s){return t&&(s===void 0&&(s=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,s),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}o(cxe,"saveTextToParentTag");function lxe(){return this.stopNodeExpressionsSet.size===0?!1:this.matcher.mLine truncated
`;function wxe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(_S(r)==="?xml"){let n=r[":@"];if(n){let i=e.attributeNamePrefix+"version";if(n[i])return n[i]}}return"1.0"}o(wxe,"detectXmlVersionFromArray");function b4(t,e,r,s,n){return!r.sanitizeName||dy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(b4,"resolveTagName");function DS(t,e){let r="";e.format&&(r=Bxe);let s=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?s.push(new Cs(c)):c instanceof Cs&&s.push(c)}let n=wxe(t,e),i=new ii;return x4(t,e,r,i,s,n)}o(DS,"toXml");function x4(t,e,r,s,n,i){let a="",c=!1;if(e.maxNestedTags&&s.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let l=t.toString();return l=kS(l,e),l}return""}for(let l=0;l<t.length;l++){let u=t[l],A=_S(u);if(A===void 0)continue;let p=A===e.textNodeName||A===e.cdataPropName||A===e.commentPropName||A[0]==="?"?A:b4(A,!1,e,s,i),m=bxe(u[":@"],e);s.push(p,m);let h=Qxe(s,n);if(p===e.textNodeName){let I=u[A];h||(I=e.tagValueProcessor(p,I),I=kS(I,e)),c&&(a+=r),a+=I,c=!1,s.pop();continue}else if(p===e.cdataPropName){c&&(a+=r);let I=u[A][0][e.textNodeName],B=Ay(I);a+=`<![CDATA[${B}]]>`,c=!1,s.pop();continue}else if(p===e.commentPropName){let I=u[A][0][e.textNodeName],B=uy(I);a+=r+`<!--${B}-->`,c=!0,s.pop();continue}else if(p[0]==="?"){let I=w4(u[":@"],e,h,s,i);a+=(p==="?xml"?"":r)+`<${p}${I}?>`,c=!0,s.pop();continue}let f=r;f!==""&&(f+=e.indentBy);let C=w4(u[":@"],e,h,s,i),E=r+`<${p}${C}`,y;h?y=Q4(u[A],e):y=x4(u[A],e,f,s,n,i),e.unpairedTags.indexOf(p)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!y||y.length===0)&&e.suppressEmptyNode?a+=E+"/>":y&&y.endsWith(">")?a+=E+`>${y}${r}</${p}>`:(a+=E+">",y&&r!==""&&(y.includes("/>")||y.includes("</"))?a+=r+e.indentBy+y+r:a+=y,a+=`</${p}>`),c=!0,s.pop()}return a}o(x4,"arrToStr");function bxe(t,e){if(!t||e.ignoreAttributes)return null;let r={},s=!1;for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let i=n.startsWith(e.attributeNamePrefix)?n.substr(e.attributeNamePrefix.length):n;r[i]=ia(t[n]),s=!0}return s?r:null}o(bxe,"extractAttributeValues");function Q4(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let s=0;s<t.length;s++){let n=t[s],i=_S(n);if(i===e.textNodeName)r+=n[i];else if(i===e.cdataPropName)r+=n[i][0][e.textNodeName];else if(i===e.commentPropName)r+=n[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=xxe(n[":@"],e),c=Q4(n[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}o(Q4,"getRawContent");function xxe(t,e){let r="";if(t&&!e.ignoreAttributes)for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=t[s];n===!0&&e.suppressBooleanAttributes?r+=` ${s.substr(e.attributeNamePrefix.length)}`:r+=` ${s.substr(e.attributeNamePrefix.length)}="${ia(n)}"`}return r}o(xxe,"attr_to_str_raw");function _S(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let s=e[r];if(Object.prototype.hasOwnProperty.call(t,s)&&s!==":@")return s}}o(_S,"propName");function w4(t,e,r,s,n){let i="";if(t&&!e.ignoreAttributes)for(let a in t){if(!Object.prototype.hasOwnProperty.call(t,a))continue;let c=a.substr(e.attributeNamePrefix.length),l=r?c:b4(c,!0,e,s,n),u;r?u=t[a]:(u=e.attributeValueProcessor(a,t[a]),u=kS(u,e)),u===!0&&e.suppressBooleanAttributes?i+=` ${l}`:i+=` ${l}="${ia(u)}"`}return i}o(w4,"attr_to_str");function Qxe(t,e){if(!e||e.length===0)return!1;for(let r=0;r<e.length;r++)if(t.matches(e[r]))return!0;return!1}o(Qxe,"checkStopNode");function kS(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let s=e.entities[r];t=t.replace(s.regex,s.val)}return t}o(kS,"replaceEntitiesValue");function LS(t){return typeof t=="function"?t:Array.isArray(t)?e=>{for(let r of t)if(typeof r=="string"&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1}o(LS,"getIgnoreAttributesFn");var Nxe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:o(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:o(function(t,e){return e},"attributeValueProcessor"),preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:new RegExp("&","g"),val:"&amp;"},{regex:new RegExp(">","g"),val:"&gt;"},{regex:new RegExp("<","g"),val:"&lt;"},{regex:new RegExp("'","g"),val:"&apos;"},{regex:new RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function zr(t){if(this.options=Object.assign({},Nxe,t),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.oLine truncated
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(Gr,"Builder");function Gwe(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o(Gwe,"detectXmlVersionFromObj");function bS(t,e,r,s,n){return!r.sanitizeName||iy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(bS,"resolveTagName");Gr.prototype.build=function(t){if(this.options.preserveOrder)return IS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ni,r=Gwe(t,this.options);return this.j2x(t,0,e,r).val}};Gr.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let A=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:bS(l,!1,this.options,r,s);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||A===this.options.cdataPropName||A===this.options.commentPropName?i+="":A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],A,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let p=bS(d,!0,this.options,r,s);n+=this.buildAttrPairStr(p,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let p=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(p)}else{r.push(A);let p=this.checkStopNode(r);if(r.pop(),p){let m=""+t[l];m===""?i+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:i+=this.indentate(e)+"<"+A+">"+m+"</"+A+this.tagEndChar}else i+=this.buildTextValNode(t[l],A,"",e,r)}}else if(Array.isArray(t[l])){let d=t[l].length,p="",m="";for(let h=0;h<d;h++){let g=t[l][h];if(!(typeof g>"u"))if(g===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof g=="object")if(this.options.oneListGroup){r.push(A);let C=this.j2x(g,e+1,r,s);r.pop(),p+=C.val,this.options.attributesGroupName&&g.hasOwnProperty(this.options.attributesGroupName)&&(m+=C.attrStr)}else p+=this.processTextOrObjNode(g,A,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(A,g);C=this.replaceEntitiesValue(C),p+=C}else{r.push(A);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+g;E===""?p+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:p+=this.indentate(e)+"<"+A+">"+E+"</"+A+this.tagEndChar}else p+=this.buildTextValNode(g,A,"",e,r)}}this.options.oneListGroup&&(p=this.buildObjectNode(p,A,m,e)),i+=p}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let d=Object.keys(t[l]),p=d.length;for(let m=0;m<p;m++){let h=bS(d[m],!0,this.options,r,s);n+=this.buildAttrPairStr(h,""+t[l][d[m]],c)}}else i+=this.processTextOrObjNode(t[l],A,e,r,s)}return{attrStr:n,val:i}};Gr.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+sa(e)+'"'};function Hwe(t,e,r,s,n){let i=this.extractAttributes(t);if(s.push(e,i),this.checkStopNode(s)){let l=this.buildRawContent(t),u=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(l,e,u,r)}let c=this.j2x(t,r+1,s,n);return s.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,s):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,s):this.buildObjectNode(c.val,e,c.attrStr,r)}o(Hwe,"processTextOrObjNode");Gr.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let s=t[this.options.attributesGroupName];for(let n in s){if(!Object.prototype.hasOwnProperty.call(s,n))continue;let i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n;e[i]=sa(s[n]),r=!0}}else for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=this.isAttribute(s);n&&(e[n]=sa(t[s]),r=!0)}return r?e:null};Gr.prototype.buildRawContent=function(t){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.o Line truncated
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}o(zr,"Builder");function Sxe(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let n=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(n)return n}let s=r[e.attributeNamePrefix+"version"];if(s)return s}return"1.0"}o(Sxe,"detectXmlVersionFromObj");function MS(t,e,r,s,n){return!r.sanitizeName||dy(t,{xmlVersion:n})?t:r.sanitizeName(t,{isAttribute:e,matcher:s.readOnly()})}o(MS,"resolveTagName");zr.prototype.build=function(t){if(this.options.preserveOrder)return DS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new ii,r=Sxe(t,this.options);return this.j2x(t,0,e,r).val}};zr.prototype.j2x=function(t,e,r,s){let n="",i="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw new Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,c=this.checkStopNode(r);for(let l in t){if(!Object.prototype.hasOwnProperty.call(t,l))continue;let A=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||l[0]==="?"?l:MS(l,!1,this.options,r,s);if(typeof t[l]>"u")this.isAttribute(l)&&(i+="");else if(t[l]===null)this.isAttribute(l)||A===this.options.cdataPropName||A===this.options.commentPropName?i+="":A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(t[l]instanceof Date)i+=this.buildTextValNode(t[l],A,"",e,r);else if(typeof t[l]!="object"){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,a)){let p=MS(d,!0,this.options,r,s);n+=this.buildAttrPairStr(p,""+t[l],c)}else if(!d)if(l===this.options.textNodeName){let p=this.options.tagValueProcessor(l,""+t[l]);i+=this.replaceEntitiesValue(p)}else{r.push(A);let p=this.checkStopNode(r);if(r.pop(),p){let m=""+t[l];m===""?i+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:i+=this.indentate(e)+"<"+A+">"+m+"</"+A+this.tagEndChar}else i+=this.buildTextValNode(t[l],A,"",e,r)}}else if(Array.isArray(t[l])){let d=t[l].length,p="",m="";for(let h=0;h<d;h++){let f=t[l][h];if(!(typeof f>"u"))if(f===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof f=="object")if(this.options.oneListGroup){r.push(A);let C=this.j2x(f,e+1,r,s);r.pop(),p+=C.val,this.options.attributesGroupName&&f.hasOwnProperty(this.options.attributesGroupName)&&(m+=C.attrStr)}else p+=this.processTextOrObjNode(f,A,e,r,s);else if(this.options.oneListGroup){let C=this.options.tagValueProcessor(A,f);C=this.replaceEntitiesValue(C),p+=C}else{r.push(A);let C=this.checkStopNode(r);if(r.pop(),C){let E=""+f;E===""?p+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:p+=this.indentate(e)+"<"+A+">"+E+"</"+A+this.tagEndChar}else p+=this.buildTextValNode(f,A,"",e,r)}}this.options.oneListGroup&&(p=this.buildObjectNode(p,A,m,e)),i+=p}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let d=Object.keys(t[l]),p=d.length;for(let m=0;m<p;m++){let h=MS(d[m],!0,this.options,r,s);n+=this.buildAttrPairStr(h,""+t[l][d[m]],c)}}else i+=this.processTextOrObjNode(t[l],A,e,r,s)}return{attrStr:n,val:i}};zr.prototype.buildAttrPairStr=function(t,e,r){return r||(e=this.options.attributeValueProcessor(t,""+e),e=this.replaceEntitiesValue(e)),this.options.suppressBooleanAttributes&&e==="true"?" "+t:" "+t+'="'+ia(e)+'"'};function Rxe(t,e,r,s,n){let i=this.extractAttributes(t);if(s.push(e,i),this.checkStopNode(s)){let l=this.buildRawContent(t),u=this.buildAttributesForStopNode(t);return s.pop(),this.buildObjectNode(l,e,u,r)}let c=this.j2x(t,r+1,s,n);return s.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,s):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,s):this.buildObjectNode(c.val,e,c.attrStr,r)}o(Rxe,"processTextOrObjNode");zr.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let s=t[this.options.attributesGroupName];for(let n in s){if(!Object.prototype.hasOwnProperty.call(s,n))continue;let i=n.startsWith(this.options.attributeNamePrefix)?n.substring(this.options.attributeNamePrefix.length):n;e[i]=ia(s[n]),r=!0}}else for(let s in t){if(!Object.prototype.hasOwnProperty.call(t,s))continue;let n=this.isAttribute(s);n&&(e[n]=ia(t[s]),r=!0)}return r?e:null};zr.prototype.buildRawContent=function(t){if(typeof t=="string")return t;if(typeof t!="object"||t===null)return String(t);if(t[this.options.textNodeName]!==void 0)return t[this.options.textNodeName];let e="";for(let r in t){if(!Object.prototype.hasOwnProperty.call(t,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.o Line truncated
`)+`
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(re.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===re.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE));r.sort((n,i)=>fy(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()}
`}),s}getCanonicalizedResourceString(e){let r=py(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=my(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=`
${c}:${decodeURIComponent(i[c])}`}return s}};var ot=class extends hc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new Dp(e,r,this)}computeHMACSHA256(e){return(0,f4.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var kt=ei("storage-common");var Hs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Hs||(Hs={}));var ia={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Xwe=new ms("The operation was aborted."),_p=class extends ii{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=ia){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:ia.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):ia.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:ia.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:ia.maxRetryDelayInMs):ia.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:ia.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:ia.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=dy(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=na(n.url,no.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(kt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(kt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return kt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return kt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return kt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return kt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(re.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(kt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case Hs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Hs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return kt.info(`RetryPolicy: Delay for ${n}ms`),hy(n,s,Xwe)}};var Lp=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new _p(e,r,this.retryOptions)}};var Zwe="storageBrowserPolicy";function g4(){return{name:Zwe,async sendRequest(t,e){return Qe||((t.method==="GET"||t.method==="HEAD")&&(t.url=na(t.url,no.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}o(g4,"storageBrowserPolicy");var ebe="StorageCorrectContentLengthPolicy";function E4(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:ebe,async sendRequest(e,r){return t(e),r(e)}}}o(E4,"storageCorrectContentLengthPolicy");var tbe="storageRetryPolicy",wu={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Hs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},rbe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],sbe=new ms("The operation was aborted.");function y4(t={}){let e=t.retryPolicyType??wu.retryPolicyType,r=t.maxTries??wu.maxTries,s=t.retryDelayInMs??wu.retryDelayInMs,n=t.maxRetryDelayInMs??wu.maxRetryDelayInMs,i=t.secondaryHost??wu.secondaryHost,a=t.tryTimeoutInMs??wu.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return kt.inf Line truncated
`+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),s=this.factory.computeHMACSHA256(r);return e.headers.set(re.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${s}`),e}getHeaderValueToSign(e,r){let s=e.headers.get(r);return!s||r===re.CONTENT_LENGTH&&s==="0"?"":s}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(n=>n.name.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE));r.sort((n,i)=>wy(n.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((n,i,a)=>!(i>0&&n.name.toLowerCase()===a[i-1].name.toLowerCase()));let s="";return r.forEach(n=>{s+=`${n.name.toLowerCase().trimRight()}:${n.value.trimLeft()}
`}),s}getCanonicalizedResourceString(e){let r=Cy(e.url)||"/",s="";s+=`/${this.factory.accountName}${r}`;let n=Iy(e.url),i={};if(n){let a=[];for(let c in n)if(Object.prototype.hasOwnProperty.call(n,c)){let l=c.toLowerCase();i[l]=n[c],a.push(l)}a.sort();for(let c of a)s+=`
${c}:${decodeURIComponent(i[c])}`}return s}};var it=class extends Bc{static{o(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new $p(e,r,this)}computeHMACSHA256(e){return(0,D4.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var Dt=ti("storage-common");var zs;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(zs||(zs={}));var aa={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:zs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Oxe=new gs("The operation was aborted."),Vp=class extends oi{static{o(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,s=aa){super(e,r),this.retryOptions={retryPolicyType:s.retryPolicyType?s.retryPolicyType:aa.retryPolicyType,maxTries:s.maxTries&&s.maxTries>=1?Math.floor(s.maxTries):aa.maxTries,tryTimeoutInMs:s.tryTimeoutInMs&&s.tryTimeoutInMs>=0?s.tryTimeoutInMs:aa.tryTimeoutInMs,retryDelayInMs:s.retryDelayInMs&&s.retryDelayInMs>=0?Math.min(s.retryDelayInMs,s.maxRetryDelayInMs?s.maxRetryDelayInMs:aa.maxRetryDelayInMs):aa.retryDelayInMs,maxRetryDelayInMs:s.maxRetryDelayInMs&&s.maxRetryDelayInMs>=0?s.maxRetryDelayInMs:aa.maxRetryDelayInMs,secondaryHost:s.secondaryHost?s.secondaryHost:aa.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,s){let n=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||s%2===1;i||(n.url=yy(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=oa(n.url,io.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(Dt.info(`RetryPolicy: =====> Try=${s} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(n),!this.shouldRetry(i,s,a))return a;r=r||!i&&a.status===404}catch(c){if(Dt.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,s,a,c))throw c}return await this.delay(i,s,e.abortSignal),this.attemptSendRequest(e,r,++s)}shouldRetry(e,r,s,n){if(r>=this.retryOptions.maxTries)return Dt.info(`RetryPolicy: Attempt(s) ${r} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;let i=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(n){for(let a of i)if(n.name.toUpperCase().includes(a)||n.message.toUpperCase().includes(a)||n.code&&n.code.toString().toUpperCase()===a)return Dt.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(s||n){let a=s?s.status:n?n.statusCode:0;if(!e&&a===404)return Dt.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return Dt.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(s&&s?.status>=400){let a=s.headers.get(re.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag')?(Dt.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,s){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case zs.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case zs.FIXED:n=this.retryOptions.retryDelayInMs;break}else n=Math.random()*1e3;return Dt.info(`RetryPolicy: Delay for ${n}ms`),By(n,s,Oxe)}};var Yp=class{static{o(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new Vp(e,r,this.retryOptions)}};var Fxe="storageBrowserPolicy";function _4(){return{name:Fxe,async sendRequest(t,e){return xe||((t.method==="GET"||t.method==="HEAD")&&(t.url=oa(t.url,io.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(re.COOKIE),t.headers.delete(re.CONTENT_LENGTH)),e(t)}}}o(_4,"storageBrowserPolicy");var Uxe="StorageCorrectContentLengthPolicy";function L4(){function t(e){e.body&&(typeof e.body=="string"||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(re.CONTENT_LENGTH,Buffer.byteLength(e.body))}return o(t,"correctContentLength"),{name:Uxe,async sendRequest(e,r){return t(e),r(e)}}}o(L4,"storageCorrectContentLengthPolicy");var qxe="storageRetryPolicy",ku={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:zs.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Gxe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Hxe=new gs("The operation was aborted.");function M4(t={}){let e=t.retryPolicyType??ku.retryPolicyType,r=t.maxTries??ku.maxTries,s=t.retryDelayInMs??ku.retryDelayInMs,n=t.maxRetryDelayInMs??ku.maxRetryDelayInMs,i=t.secondaryHost??ku.secondaryHost,a=t.tryTimeoutInMs??ku.tryTimeoutInMs;function c({isPrimaryRetry:u,attempt:A,response:d,error:p}){if(A>=r)return Dt.inf Line truncated
`)+`
`+s(i)+n(i),c=(0,C4.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(re.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===re.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function s(i){let a=[];for(let[l,u]of i.headers)l.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>fy(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,A)=>!(u>0&&l.name.toLowerCase()===A[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()}
`}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=py(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=my(i.url),u={};if(l){let A=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let p=d.toLowerCase();u[p]=l[d],A.push(p)}A.sort();for(let d of A)c+=`
${d}:${decodeURIComponent(u[d])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:nbe,async sendRequest(i,a){return e(i),a(i)}}}o(RS,"storageSharedKeyCredentialPolicy");var ibe="storageRequestFailureDetailsParserPolicy";function I4(){return{name:ibe,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.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.
`),r}}}}o(I4,"storageRequestFailureDetailsParserPolicy");var B4=require("node:crypto");var gy=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,B4.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var Ey="12.31.0",yy="2026-02-06";var Cy="https://storage.azure.com/.default",io={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var In="",TS="*",obe=1*1024*1024;var abe=4*obe;var w4="AES256",b4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",Q4=["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"],x4=["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"],N4="BlobUsesCustomerSpecifiedEncryption",S4="BlobDoesNotUseCustomerSpecifiedEncryption",R4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function oo(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(oo,"isPipelineLike");var Mp=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function Ct(t,e={}){t||(t=new je);let r=new Mp([],e);return r._credential=t,r}o(Ct,"newPipeline");function cbe(t){let e=[lbe,T4,ube,Abe,dbe,pbe,hbe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>mbe(n));return{wrappedPolicies:aS(r),afterRetry:s}}}}o(cbe,"processDownlevelPipeline");function vS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?cS(e):SS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${Ey}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=yp({...r,loggingOptions:{additionalAllowedHeaderNames:Q4,additionalAllowedQueryParameters:x4,logger:ay.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:oy,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:xS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:MN}),n.addPolicy(E4()),n.addPolicy(y4(r.retryOptions),{phase:"Retry"}),n.addPo Line truncated
`),i=e.computeHMACSHA256(n);return{sasQueryParameters:new xn(t.version,i,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}o(cxe,"generateBlobSASQueryParameters20150405");function lxe(t,e){if(t=bc(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(lxe,"generateBlobSASQueryParameters20181109");function uxe(t,e){if(t=bc(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(uxe,"generateBlobSASQueryParameters20201206");function Axe(t,e){if(t=bc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(Axe,"generateBlobSASQueryParametersUDK20181109");function dxe(t,e){if(t=bc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(dxe,"generateBlobSASQueryParametersUDK20200210");function pxe(t,e){if(t=bc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(pxe,"generateBlobSASQueryParametersUDK20201206");function mxe(t,e){if(t=bc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=Bi.parse(t.permissions.toString()).toString():n=wi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?xe(t.startsOn,!1):"",t.expiresOn?xe(t.expiresOn,!1):"",wc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?xe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?xe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new xn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(mxe,"generateBlobSASQueryParametersUDK20250705");function wc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(wc,"getCanonicalName");function bc(t){let e=t.version?t.version:yy;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(bc,"SASSignatureValuesSanityCheckAndAutofill");var Wp=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=mu()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||r.conditions?.tagConditions))throw new 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 z.withSpan("BlobLeaseClient-acquireLease",r,async s=>J(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==In||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==In||r.conditions?.tagConditions))throw new 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 z.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=J(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==In||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==In||e.conditions?.tagConditions))throw new 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 z.withSpan("BlobLeaseClient-releaseLease",e,async r=>J(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==In||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==In||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values ar Line truncated
If 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(r),this.code=e,this.name="NetworkError"}};_u.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var Sc=class extends Error{static{o(this,"UsageError")}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"}};Sc.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var im=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var b0e=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},IP=class{static{o(this,"UploadProgress")}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,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);N(`Sent ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function k8(t,e,r){return b0e(this,void 0,void 0,function*(){var s;let n=new mo(t),i=n.getBlockBlobClient(),a=new IP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new bC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw et(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(k8,"uploadCacheArchiveSDK");var _8=w(require("buffer"),1),bi=w(require("fs"),1),L8=w(require("stream"),1),M8=w(require("util"),1);var QC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function xC(t){return t?t>=200&&t<300:!1}o(xC,"isSuccessStatusCode");function Q0e(t){return t?t>=500:!0}o(Q0e,"isServerErrorStatusCode");function x0e(t){return t?[it.BadGateway,it.ServiceUnavailable,it.GatewayTimeout].includes(t):!1}o(x0e,"isRetryableStatusCode");function N0e(t){return QC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(N0e,"sleep");function D8(t,e,r){return QC(this,arguments,void 0,function*(s,n,i,a=Wg,c=jg,l=void 0){let u="",A=1;for(;A<=a;){let d,p,m=!1;try{d=yield n()}catch(h){l&&(d=l(h)),m=!0,u=h.message}if(d&&(p=i(d),!Q0e(p)))return d;if(p&&(m=x0e(p),u=`Cache service responded with ${p}`),b(`${s} - Attempt ${A} of ${a} failed with error: ${u}`),!m){b(`${s} - Error is not retryable`);break}yield N0e(c),A++}throw Error(`${s} failed: ${u}`)})}o(D8,"retry");function om(t,e){return QC(this,arguments,void 0,function*(r,s,n=Wg,i=jg){return yield D8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Kn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(om,"retryTypedResponse");function Lu(t,e){return QC(this,arguments,void 0,function*(r,s,n=Wg,i=jg){return yield D8(r,s,a=>a.message.statusCode,n,i)})}o(Lu,"retryHttpClientResponse");var Js=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function S0e(t,e){return Js(this,void 0,void 0,function*(){yield M8.promisify(L8.pipeline)(t.message,e)})}o(S0e,"pipeResponseToStream");var NC=class{static{o(this,"DownloadProgress")}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.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,b(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.received Line truncated
Other caches with similar key:`);for(let c of i?.artifactCaches||[])b(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(_0e,"printCachesListForDiagnostics");function xP(t,e,r){return zr(this,void 0,void 0,function*(){let s=new j8.URL(t),n=q8(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield F8(t,e,n):n.concurrentBlobDownloads?yield O8(t,e,n):yield SC(t,e):yield SC(t,e)})}o(xP,"downloadCache");function X8(t,e,r){return zr(this,void 0,void 0,function*(){let s=QP(),n=iu(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield om("reserveCache",()=>zr(this,void 0,void 0,function*(){return s.postJson(cm("caches"),i)}))})}o(X8,"reserveCache");function W8(t,e){return`bytes ${t}-${e}/*`}o(W8,"getContentRange");function L0e(t,e,r,s,n){return zr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${W8(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":W8(s,n)},a=yield Lu(`uploadChunk (start: ${s}, end: ${n})`,()=>zr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!xC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(L0e,"uploadChunk");function M0e(t,e,r,s){return zr(this,void 0,void 0,function*(){let n=jn(r),i=cm(`caches/${e.toString()}`),a=Mu.openSync(r,"r"),c=BP(s),l=K0("uploadConcurrency",c.uploadConcurrency),u=K0("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>zr(this,void 0,void 0,function*(){for(;d<n;){let p=Math.min(n-d,u),m=d,h=d+p-1;d+=u,yield L0e(t,i,()=>Mu.createReadStream(r,{fd:a,start:m,end:h,autoClose:!1}).on("error",g=>{throw new Error(`Cache upload failed because file read failed with ${g.message}`)}),m,h)}})))}finally{Mu.closeSync(a)}})}o(M0e,"uploadFile");function O0e(t,e,r){return zr(this,void 0,void 0,function*(){let s={size:r};return yield om("commitCache",()=>zr(this,void 0,void 0,function*(){return t.postJson(cm(`caches/${e.toString()}`),s)}))})}o(O0e,"commitCache");function NP(t,e,r,s){return zr(this,void 0,void 0,function*(){if(BP(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield k8(r,e,s)}else{let i=QP();b("Upload cache"),yield M0e(i,t,e,s),b("Commiting cache");let a=jn(e);N(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield O0e(i,t,a);if(!xC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);N("Cache saved successfully")}})}o(NP,"saveCache");var V5=w(F5(),1),wt=w(Bt(),1),Cs=w(Bt(),1),kc=w(Bt(),1),Dc=w(Bt(),1),_c=w(Bt(),1);var Ik=w(Bt(),1),Bk=w(Bt(),1),H5=w(Bt(),1),z5=w(Bt(),1),$5=w(Bt(),1);var Ek=w(Bt(),1),yk=w(Bt(),1),U5=w(Bt(),1),q5=w(Bt(),1),G5=w(Bt(),1);var Ck=class extends G5.MessageType{static{o(this,"CacheScope$Type")}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 r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,q5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,U5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let A=e.skip(l);u!==!1&&(u===!0?yk.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,A)}}return i}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,Ek.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,Ek.WireType.Varint).int64(e.permission);let n=s.writeUnknownFields;return n!==!1&&(n==!0?yk.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},hI=new Ck;var wk=class extends $5.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>hI,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,z5.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,H5.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(hI.internalBinaryRead(e,e.uint32(),s));break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let A=e.skip(l);u!==!1&&(u===!0?Bk.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,A)}}return i}internalBinaryWrite(e,r,s){e.repositoryId!=="0"&&r.tag(1,Ik.WireType. Line truncated
`));let s=yield Ok(r,"create");yield Fk(s,t)})}o(qk,"createTar");var Zu=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Rn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Lc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},Gk="cache write denied:",yI=class t extends Lc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},j5=Kg,CI=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},II=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function K5(t){if(!t||t.length===0)throw new Rn("Path Validation Error: At least one directory or file path is required")}o(K5,"checkPaths");function Hk(t){if(t.length>512)throw new Rn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Rn(`Key Validation Error: ${t} cannot contain commas.`)}o(Hk,"checkKey");function zk(){return am()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(zk,"isFeatureAvailable");function X5(t,e,r,s){return Zu(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=am();b(`Cache service version: ${u}`),K5(n);let A=bP();if(!H8(A)){N(`Cache restore skipped: the effective cache-mode '${A}' does not permit reads.`),b(`Skipped restore for paths [${n.join(", ")}] with primary key '${i}'.`);return}return u==="v2"?yield ZSe(n,i,a,c,l):yield XSe(n,i,a,c,l)})}o(X5,"restoreCache");function XSe(t,e,r,s){return Zu(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Rn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)Hk(m);let d=yield ip(),p="";try{let m;try{m=yield K8(A,n,{compressionMethod:d,enableCrossOsArchive:l})}catch(g){let C=(u=g?.message)!==null&&u!==void 0?u:"";throw C.includes(j5)?new CI(C):g}if(!m?.archiveLocation)return;if(c?.lookupOnly)return N("Lookup only - skipping download"),m.cacheKey;p=bm.join(yield sp(),jo(d)),b(`Archive Path: ${p}`),yield xP(m.archiveLocation,p,c),Ka()&&(yield wm(p,d));let h=jn(p);return N(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield Uk(p,d),N("Cache restored successfully"),m.cacheKey}catch(m){let h=m;if(h.name===Rn.name)throw m;h instanceof Kn&&typeof h.statusCode=="number"&&h.statusCode>=500?Wl(`Failed to restore: ${m.message}`):et(`Failed to restore: ${m.message}`)}finally{try{yield np(p)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(XSe,"restoreCacheV1");function ZSe(t,e,r,s){return Zu(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Rn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of A)Hk(p);let d="";try{let p=Mk(),m=yield ip(),h={key:i,restoreKeys:a,version:iu(n,m,l)},g;try{g=yield p.GetCacheEntryDownloadURL(h)}catch(y){let I=(u=y?.message)!==null&&u!==void 0?u:"";throw I.includes(j5)?new CI(I):y}if(!g.ok){b(`Cache not found for version ${h.version} of keys: ${A.join(", ")}`);return}if(h.key!==g.matchedKey?N(`Cache hit for restore-key: ${g.matchedKey}`):N(`Cache hit for: ${g.matchedKey}`),c?.lookupOnly)return N("Lookup only - skipping download"),g.matchedKey;d=bm.join(yield sp(),jo(m)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield xP(g.signedDownloadUrl,d,c);let E=jn(d);return N(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),Ka()&&(yield wm(d,m)),yield Uk(d,m),N("Cache restored successfully"),g.matchedKey}catch(p){let m=p;if(m.name===Rn.name)throw p;m instanceof Kn&&typeof m.statusCode=="number"&&m.statusCode>=500?Wl(`Failed to restore: ${p.message}`):et(`Failed to restore: ${p.message}`)}finally{try{d&&(yield np(d))}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(ZSe,"restoreCacheV2");function $k(t,e,r){return Zu(this,arguments,void 0,function*(s,n,i,a=!1){let c=am();b(`Cache service version: ${c}`),K5(s),Hk(n);let l=bP();return z8(l)?c==="v2"?yield tRe(s,n,i,a):yield eRe(s,n,i,a):(N(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),b(`Skipped save for paths [${s.join(", ")}] with key '${n}'.`),-1)})}o($k,"saveCache");function eRe(t,e,r){return Zu(this,arguments,void 0,function* Line truncated
`,a).length:d,u?(c===null?0:c.length)+l.length:0,u?l.length+d:0);return p<m},"__needMoreData"),parse:o(function(s,n,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:A,from_line:d,ltrim:p,max_record_size:m,raw:h,relax_quotes:g,rtrim:C,skip_empty_lines:E,to:y,to_line:I}=this.options,{comment:B,escape:S,quote:R,record_delimiter:q}=this.options,{bomSkipped:ge,delimiterDiscovered:Te,delimiterBufPrevious:Ne,rawBuffer:Pe,escapeIsQuote:Ae}=this.state;if(!Te&&u){let Se;if(Ne===void 0?Se=s:Ne!==void 0&&s===void 0?Se=Ne:Se=Buffer.concat([Ne,s]),s=void 0,n||Se.length>u.size)this.options.delimiter=[Buffer.from(C6(Se,this.options.delimiter_auto))],this.state.previousBuf=Se,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Se;return}}let{previousBuf:Me}=this.state,se;if(Me===void 0)if(s===void 0){a();return}else se=s;else Me!==void 0&&s===void 0?se=Me:se=Buffer.concat([Me,s]);if(ge===!1)if(c===!1)this.state.bomSkipped=!0;else if(se.length<3){if(n===!1){this.state.previousBuf=se;return}}else{for(let Se in pA)if(pA[Se].compare(se,0,pA[Se].length)===0){let Pn=pA[Se].length;this.state.bufBytesStart+=Pn,se=se.slice(Pn);let bo=dA({...this.original_options,encoding:Se});for(let rt in bo)this.options[rt]=bo[rt];({comment:B,escape:S,quote:R}=this.options);break}this.state.bomSkipped=!0}let Ar=se.length,$;for($=0;$<Ar&&!this.__needMoreData($,Ar,n);$++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&q.length===0&&this.__autoDiscoverRecordDelimiter(se,$)&&(q=this.options.record_delimiter);let Se=se[$];if(h===!0&&Pe.append(Se),(Se===yPe||Se===CPe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(S!==null&&this.state.quoting===!0&&this.__isEscape(se,$,Se)&&$+S.length<Ar)if(Ae){if(this.__isQuote(se,$+S.length)){this.state.escaping=!0,$+=S.length-1;continue}}else{this.state.escaping=!0,$+=S.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(se,$))if(this.state.quoting===!0){let rt=se[$+R.length],kn=C&&this.__isCharTrimable(se,$+R.length),jr=B!==null&&this.__compareBytes(B,se,$+R.length,rt),Ca=this.__isDelimiter(se,$+R.length,rt),ih=q.length===0?this.__autoDiscoverRecordDelimiter(se,$+R.length):this.__isRecordDelimiter(rt,se,$+R.length);if(S!==null&&this.__isEscape(se,$,Se)&&this.__isQuote(se,$+S.length))$+=S.length-1;else if(!rt||Ca||ih||jr||kn){this.state.quoting=!1,this.state.wasQuoting=!0,$+=R.length-1;continue}else if(g===!1){let V_=this.__error(new fe("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(rt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(V_!==void 0)return V_}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(R),$+=R.length-1}else if(this.state.field.length!==0){if(g===!1){let rt=this.__infoField(),kn=Object.keys(pA).map(Ca=>pA[Ca].equals(this.state.field.toString())?Ca:!1).filter(Boolean)[0],jr=this.__error(new fe("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(rt.column)} at line ${rt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,kn?`(${kn} bom)`:void 0],this.options,rt,{field:this.state.field}));if(jr!==void 0)return jr}}else{this.state.quoting=!0,$+=R.length-1;continue}if(this.state.quoting===!1){let rt=this.__isRecordDelimiter(Se,se,$);if(rt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),$+=rt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=rt-1;continue}this.info.bytes=this.state.bufBytesStart+$;let Ca=this.__onField();if(Ca!==void 0)return Ca;this.info.bytes=this.state.bufBytesStart+$+rt;let ih=this.__onRecord(i);if(ih!==void 0)return ih;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,$+=rt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,se,$,Se)!==0){this.state.commenting=!0;continue}let kn=this.__isDelimiter(se,$,Se);if(kn!==0){this.info.bytes=this.state.bufBytesStart+$;let jr=this.__onField();if(jr!==void 0)return jr;$+=kn-1;continue}}}if(this.state.commenting===!1&&m!==0&&this.state.record_length+this.state.field.length>m)return this.__error(new fe("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${m}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let Pn=p===!1||thi Line truncated
`+s(i)+n(i),c=(0,O4.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(re.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}o(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===re.CONTENT_LENGTH&&c==="0"?"":c}o(r,"getHeaderValueToSign");function s(i){let a=[];for(let[l,u]of i.headers)l.toLowerCase().startsWith(re.PREFIX_FOR_STORAGE)&&a.push({name:l,value:u});a.sort((l,u)=>wy(l.name.toLowerCase(),u.name.toLowerCase())),a=a.filter((l,u,A)=>!(u>0&&l.name.toLowerCase()===A[u-1].name.toLowerCase()));let c="";return a.forEach(l=>{c+=`${l.name.toLowerCase().trimRight()}:${l.value.trimLeft()}
`}),c}o(s,"getCanonicalizedHeadersString");function n(i){let a=Cy(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let l=Iy(i.url),u={};if(l){let A=[];for(let d in l)if(Object.prototype.hasOwnProperty.call(l,d)){let p=d.toLowerCase();u[p]=l[d],A.push(p)}A.sort();for(let d of A)c+=`
${d}:${decodeURIComponent(u[d])}`}return c}return o(n,"getCanonicalizedResourceString"),{name:zxe,async sendRequest(i,a){return e(i),a(i)}}}o(GS,"storageSharedKeyCredentialPolicy");var $xe="storageRequestFailureDetailsParserPolicy";function F4(){return{name:$xe,async sendRequest(t,e){try{return await e(t)}catch(r){throw typeof r=="object"&&r!==null&&r.response&&r.response.parsedBody&&r.response.parsedBody.code==="InvalidHeaderValue"&&r.response.parsedBody.HeaderName==="x-ms-version"&&(r.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.
`),r}}}}o(F4,"storageRequestFailureDetailsParserPolicy");var U4=require("node:crypto");var by=class{static{o(this,"UserDelegationKeyCredential")}accountName;userDelegationKey;key;constructor(e,r){this.accountName=e,this.userDelegationKey=r,this.key=Buffer.from(r.value,"base64")}computeHMACSHA256(e){return(0,U4.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var xy="12.31.0",Qy="2026-02-06";var Ny="https://storage.azure.com/.default",oo={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var Bn="",HS="*",Vxe=1*1024*1024;var Yxe=4*Vxe;var q4="AES256",G4="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",H4=["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"],z4=["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"],$4="BlobUsesCustomerSpecifiedEncryption",V4="BlobDoesNotUseCustomerSpecifiedEncryption",Y4=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function ao(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}o(ao,"isPipelineLike");var Jp=class{static{o(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function Et(t,e={}){t||(t=new Je);let r=new Jp([],e);return r._credential=t,r}o(Et,"newPipeline");function Jxe(t){let e=[Wxe,J4,jxe,Kxe,Xxe,Zxe,tQe];if(t.factories.length){let r=t.factories.filter(s=>!e.some(n=>n(s)));if(r.length){let s=r.some(n=>eQe(n));return{wrappedPolicies:CS(r),afterRetry:s}}}}o(Jxe,"processDownlevelPipeline");function zS(t){let{httpClient:e,...r}=t.options,s=t._coreHttpClient;s||(s=e?IS(e):qS(),t._coreHttpClient=s);let n=t._corePipeline;if(!n){let i=`azsdk-js-azure-storage-blob/${xy}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;n=Tp({...r,loggingOptions:{additionalAllowedHeaderNames:H4,additionalAllowedQueryParameters:z4,logger:my.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:py,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:FS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),n.removePolicy({phase:"Retry"}),n.removePolicy({name:jN}),n.addPolicy(L4()),n.addPolicy(M4(r.retryOptions),{phase:"Retry"}),n.addPo Line truncated
`),i=e.computeHMACSHA256(n);return{sasQueryParameters:new Nn(t.version,i,s,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:n}}o(J0e,"generateBlobSASQueryParameters20150405");function W0e(t,e){if(t=vc(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=wi.parse(t.permissions.toString()).toString():n=bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Tc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType),stringToSign:i}}o(W0e,"generateBlobSASQueryParameters20181109");function j0e(t,e){if(t=vc(t),!t.identifier&&!(t.permissions&&t.expiresOn))throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=wi.parse(t.permissions.toString()).toString():n=bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Tc(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl?t.cacheControl:"",t.contentDisposition?t.contentDisposition:"",t.contentEncoding?t.contentEncoding:"",t.contentLanguage?t.contentLanguage:"",t.contentType?t.contentType:""].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,void 0,void 0,void 0,t.encryptionScope),stringToSign:i}}o(j0e,"generateBlobSASQueryParameters20201206");function K0e(t,e){if(t=vc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=wi.parse(t.permissions.toString()).toString():n=bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Tc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey),stringToSign:i}}o(K0e,"generateBlobSASQueryParametersUDK20181109");function X0e(t,e){if(t=vc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=wi.parse(t.permissions.toString()).toString():n=bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Tc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId),stringToSign:i}}o(X0e,"generateBlobSASQueryParametersUDK20200210");function Z0e(t,e){if(t=vc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=wi.parse(t.permissions.toString()).toString():n=bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Tc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope),stringToSign:i}}o(Z0e,"generateBlobSASQueryParametersUDK20201206");function eNe(t,e){if(t=vc(t),!t.permissions||!t.expiresOn)throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let r="c",s=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",s=t.versionId));let n;t.permissions&&(t.blobName?n=wi.parse(t.permissions.toString()).toString():n=bi.parse(t.permissions.toString()).toString());let i=[n||"",t.startsOn?Qe(t.startsOn,!1):"",t.expiresOn?Qe(t.expiresOn,!1):"",Tc(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?Qe(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?Qe(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?Qn(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,s,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Nn(t.version,a,n,void 0,void 0,t.protocol,t.startsOn,t.expiresOn,t.ipRange,t.identifier,r,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType,e.userDelegationKey,t.preauthorizedAgentObjectId,t.correlationId,t.encryptionScope,t.delegatedUserObjectId),stringToSign:i}}o(eNe,"generateBlobSASQueryParametersUDK20250705");function Tc(t,e,r){let s=[`/blob/${t}/${e}`];return r&&s.push(`/${r}`),s.join("")}o(Tc,"getCanonicalName");function vc(t){let e=t.version?t.version:Qy;if(t.snapshotTime&&e<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(t.blobName===void 0&&t.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(t.versionId&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(t.blobName===void 0&&t.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(t.permissions&&t.permissions.setImmutabilityPolicy&&e<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(t.permissions&&t.permissions.deleteVersion&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(t.permissions&&t.permissions.permanentDelete&&e<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(t.permissions&&t.permissions.tag&&e<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(e<"2020-02-10"&&t.permissions&&(t.permissions.move||t.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(e<"2021-04-10"&&t.permissions&&t.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(e<"2020-02-10"&&(t.preauthorizedAgentObjectId||t.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(t.encryptionScope&&e<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return t.version=e,t}o(vc,"SASSignatureValuesSanityCheckAndAutofill");var om=class{static{o(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let s=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=s.container):(this._isContainer=!1,this._containerOrBlobOperation=s.blob),r||(r=bu()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Bn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Bn||r.conditions?.tagConditions))throw new 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 z.withSpan("BlobLeaseClient-acquireLease",r,async s=>W(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:s.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==Bn||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==Bn||r.conditions?.tagConditions))throw new 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 z.withSpan("BlobLeaseClient-changeLease",r,async s=>{let n=W(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:s.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Bn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Bn||e.conditions?.tagConditions))throw new 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 z.withSpan("BlobLeaseClient-releaseLease",e,async r=>W(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==Bn||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==Bn||e.conditions?.tagConditions))throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values ar Line truncated
If 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(r),this.code=e,this.name="NetworkError"}};$u.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var _c=class extends Error{static{o(this,"UsageError")}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"}};_c.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var fm=class extends Error{static{o(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var uSe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},DP=class{static{o(this,"UploadProgress")}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,r=(100*(e/this.contentLength)).toFixed(1),s=Date.now()-this.startTime,n=(e/(1024*1024)/(s/1e3)).toFixed(1);S(`Sent ${e} of ${this.contentLength} (${r}%), ${n} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=o(()=>{this.display(),this.isDone()||(this.timeoutHandle=setTimeout(r,e))},"displayCallback");this.timeoutHandle=setTimeout(r,e)}stopDisplayTimer(){this.timeoutHandle&&(clearTimeout(this.timeoutHandle),this.timeoutHandle=void 0),this.display()}};function K8(t,e,r){return uSe(this,void 0,void 0,function*(){var s;let n=new ho(t),i=n.getBlockBlobClient(),a=new DP((s=r?.archiveSizeBytes)!==null&&s!==void 0?s:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),b(`BlobClient: ${n.name}:${n.accountName}:${n.containerName}`);let l=yield i.uploadFile(e,c);if(l._response.status>=400)throw new vC(`uploadCacheArchiveSDK: upload failed with status code ${l._response.status}`);return l}catch(l){throw Xe(`uploadCacheArchiveSDK: internal error uploading cache archive: ${l.message}`),l}finally{a.stopDisplayTimer()}})}o(K8,"uploadCacheArchiveSDK");var Z8=w(require("buffer"),1),xi=w(require("fs"),1),e5=w(require("stream"),1),t5=w(require("util"),1);var PC=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function kC(t){return t?t>=200&&t<300:!1}o(kC,"isSuccessStatusCode");function ASe(t){return t?t>=500:!0}o(ASe,"isServerErrorStatusCode");function dSe(t){return t?[nt.BadGateway,nt.ServiceUnavailable,nt.GatewayTimeout].includes(t):!1}o(dSe,"isRetryableStatusCode");function pSe(t){return PC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}o(pSe,"sleep");function X8(t,e,r){return PC(this,arguments,void 0,function*(s,n,i,a=rE,c=sE,l=void 0){let u="",A=1;for(;A<=a;){let d,p,m=!1;try{d=yield n()}catch(h){l&&(d=l(h)),m=!0,u=h.message}if(d&&(p=i(d),!ASe(p)))return d;if(p&&(m=dSe(p),u=`Cache service responded with ${p}`),b(`${s} - Attempt ${A} of ${a} failed with error: ${u}`),!m){b(`${s} - Error is not retryable`);break}yield pSe(c),A++}throw Error(`${s} failed: ${u}`)})}o(X8,"retry");function gm(t,e){return PC(this,arguments,void 0,function*(r,s,n=rE,i=sE){return yield X8(r,s,a=>a.statusCode,n,i,a=>{if(a instanceof Xn)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}o(gm,"retryTypedResponse");function Vu(t,e){return PC(this,arguments,void 0,function*(r,s,n=rE,i=sE){return yield X8(r,s,a=>a.message.statusCode,n,i)})}o(Vu,"retryHttpClientResponse");var Ws=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function mSe(t,e){return Ws(this,void 0,void 0,function*(){yield t5.promisify(e5.pipeline)(t.message,e)})}o(mSe,"pipeResponseToStream");var DC=class{static{o(this,"DownloadProgress")}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.segmentOffset+this.segmentSize,this.segmentIndex=this.segmentIndex+1,this.segmentSize=e,this.receivedBytes=0,b(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){this.received Line truncated
Other caches with similar key:`);for(let c of i?.artifactCaches||[])b(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}o(ISe,"printCachesListForDiagnostics");function FP(t,e,r){return Vr(this,void 0,void 0,function*(){let s=new m5.URL(t),n=i5(r);s.hostname.endsWith(".blob.core.windows.net")?n.useAzureSdk?yield s5(t,e,n):n.concurrentBlobDownloads?yield r5(t,e,n):yield _C(t,e):yield _C(t,e)})}o(FP,"downloadCache");function f5(t,e,r){return Vr(this,void 0,void 0,function*(){let s=OP(),n=hu(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:n,cacheSize:r?.cacheSize};return yield gm("reserveCache",()=>Vr(this,void 0,void 0,function*(){return s.postJson(ym("caches"),i)}))})}o(f5,"reserveCache");function p5(t,e){return`bytes ${t}-${e}/*`}o(p5,"getContentRange");function BSe(t,e,r,s,n){return Vr(this,void 0,void 0,function*(){b(`Uploading chunk of size ${n-s+1} bytes at offset ${s} with content range: ${p5(s,n)}`);let i={"Content-Type":"application/octet-stream","Content-Range":p5(s,n)},a=yield Vu(`uploadChunk (start: ${s}, end: ${n})`,()=>Vr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!kC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}o(BSe,"uploadChunk");function wSe(t,e,r,s){return Vr(this,void 0,void 0,function*(){let n=Kn(r),i=ym(`caches/${e.toString()}`),a=Yu.openSync(r,"r"),c=_P(s),l=uN("uploadConcurrency",c.uploadConcurrency),u=uN("uploadChunkSize",c.uploadChunkSize),A=[...new Array(l).keys()];b("Awaiting all uploads");let d=0;try{yield Promise.all(A.map(()=>Vr(this,void 0,void 0,function*(){for(;d<n;){let p=Math.min(n-d,u),m=d,h=d+p-1;d+=u,yield BSe(t,i,()=>Yu.createReadStream(r,{fd:a,start:m,end:h,autoClose:!1}).on("error",f=>{throw new Error(`Cache upload failed because file read failed with ${f.message}`)}),m,h)}})))}finally{Yu.closeSync(a)}})}o(wSe,"uploadFile");function bSe(t,e,r){return Vr(this,void 0,void 0,function*(){let s={size:r};return yield gm("commitCache",()=>Vr(this,void 0,void 0,function*(){return t.postJson(ym(`caches/${e.toString()}`),s)}))})}o(bSe,"commitCache");function UP(t,e,r,s){return Vr(this,void 0,void 0,function*(){if(_P(s).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield K8(r,e,s)}else{let i=OP();b("Upload cache"),yield wSe(i,t,e,s),b("Commiting cache");let a=Kn(e);S(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield bSe(i,t,a);if(!kC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}o(UP,"saveCache");var uj=w(sj(),1),It=w(Ct(),1),ws=w(Ct(),1),Uc=w(Ct(),1),qc=w(Ct(),1),Gc=w(Ct(),1);var Dk=w(Ct(),1),_k=w(Ct(),1),aj=w(Ct(),1),cj=w(Ct(),1),lj=w(Ct(),1);var vk=w(Ct(),1),Pk=w(Ct(),1),nj=w(Ct(),1),ij=w(Ct(),1),oj=w(Ct(),1);var kk=class extends oj.MessageType{static{o(this,"CacheScope$Type")}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 r={scope:"",permission:"0"};return globalThis.Object.defineProperty(r,ij.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,nj.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let A=e.skip(l);u!==!1&&(u===!0?Pk.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,A)}}return i}internalBinaryWrite(e,r,s){e.scope!==""&&r.tag(1,vk.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,vk.WireType.Varint).int64(e.permission);let n=s.writeUnknownFields;return n!==!1&&(n==!0?Pk.UnknownFieldHandler.onWrite:n)(this.typeName,e,r),r}},BI=new kk;var Lk=class extends lj.MessageType{static{o(this,"CacheMetadata$Type")}constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:o(()=>BI,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,cj.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,aj.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,s,n){let i=n??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,l]=e.tag();switch(c){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(BI.internalBinaryRead(e,e.uint32(),s));break;default:let u=s.readUnknownField;if(u==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${l}) for ${this.typeName}`);let A=e.skip(l);u!==!1&&(u===!0?_k.UnknownFieldHandler.onRead:u)(this.typeName,i,c,l,A)}}return i}internalBinaryWrite(e,r,s){e.repositoryId!=="0"&&r.tag(1,Dk.WireType. Line truncated
`));let{commands:s}=yield pj(r,"create");yield hj(s,t)})}o(Zk,"createTar");var lA=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})},Tn=class t extends Error{static{o(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},Hc=class t extends Error{static{o(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},eD="cache write denied:",QI=class t extends Hc{static{o(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},gj=nE,NI=class t extends Error{static{o(this,"CacheReadDeniedError")}constructor(e){super(e),this.name="CacheReadDeniedError",Object.setPrototypeOf(this,t.prototype)}},SI=class t extends Error{static{o(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function Ej(t){if(!t||t.length===0)throw new Tn("Path Validation Error: At least one directory or file path is required")}o(Ej,"checkPaths");function tD(t){if(t.length>512)throw new Tn(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Tn(`Key Validation Error: ${t} cannot contain commas.`)}o(tD,"checkKey");function rD(){return Em()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}o(rD,"isFeatureAvailable");function yj(t,e,r,s){return lA(this,arguments,void 0,function*(n,i,a,c,l=!1){let u=Em();b(`Cache service version: ${u}`),Ej(n);let A=MP();if(!a5(A)){S(`Cache restore skipped: the effective cache-mode '${A}' does not permit reads.`),b(`Skipped restore for paths [${n.join(", ")}] with primary key '${i}'.`);return}return u==="v2"?yield FTe(n,i,a,c,l):yield OTe(n,i,a,c,l)})}o(yj,"restoreCache");function OTe(t,e,r,s){return lA(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Tn("Key Validation Error: Keys are limited to a maximum of 10.");for(let m of A)tD(m);let d=yield fp(),p="";try{let m;try{m=yield h5(A,n,{compressionMethod:d,enableCrossOsArchive:l})}catch(f){let C=(u=f?.message)!==null&&u!==void 0?u:"";throw C.includes(gj)?new NI(C):f}if(!m?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),m.cacheKey;p=_m.join(yield uc(),Xo(d)),b(`Archive Path: ${p}`),yield FP(m.archiveLocation,p,c),sc()&&(yield Dm(p,d));let h=Kn(p);return S(`Cache Size: ~${Math.round(h/(1024*1024))} MB (${h} B)`),yield Xk(p,d),S("Cache restored successfully"),m.cacheKey}catch(m){let h=m;if(h.name===Tn.name)throw m;h instanceof Xn&&typeof h.statusCode=="number"&&h.statusCode>=500?nu(`Failed to restore: ${m.message}`):Xe(`Failed to restore: ${m.message}`)}finally{try{yield hp(p)}catch(m){b(`Failed to delete archive: ${m}`)}}})}o(OTe,"restoreCacheV1");function FTe(t,e,r,s){return lA(this,arguments,void 0,function*(n,i,a,c,l=!1){var u;c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let A=[i,...a];if(b("Resolved Keys:"),b(JSON.stringify(A)),A.length>10)throw new Tn("Key Validation Error: Keys are limited to a maximum of 10.");for(let p of A)tD(p);let d="";try{let p=jk(),m=yield fp(),h={key:i,restoreKeys:a,version:hu(n,m,l)},f;try{f=yield p.GetCacheEntryDownloadURL(h)}catch(y){let I=(u=y?.message)!==null&&u!==void 0?u:"";throw I.includes(gj)?new NI(I):y}if(!f.ok){b(`Cache not found for version ${h.version} of keys: ${A.join(", ")}`);return}if(h.key!==f.matchedKey?S(`Cache hit for restore-key: ${f.matchedKey}`):S(`Cache hit for: ${f.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),f.matchedKey;d=_m.join(yield uc(),Xo(m)),b(`Archive path: ${d}`),b(`Starting download of archive to: ${d}`),yield FP(f.signedDownloadUrl,d,c);let E=Kn(d);return S(`Cache Size: ~${Math.round(E/(1024*1024))} MB (${E} B)`),sc()&&(yield Dm(d,m)),yield Xk(d,m),S("Cache restored successfully"),f.matchedKey}catch(p){let m=p;if(m.name===Tn.name)throw p;m instanceof Xn&&typeof m.statusCode=="number"&&m.statusCode>=500?nu(`Failed to restore: ${p.message}`):Xe(`Failed to restore: ${p.message}`)}finally{try{d&&(yield hp(d))}catch(p){b(`Failed to delete archive: ${p}`)}}})}o(FTe,"restoreCacheV2");function sD(t,e,r){return lA(this,arguments,void 0,function*(s,n,i,a=!1){let c=Em();b(`Cache service version: ${c}`),Ej(s),tD(n);let l=MP();return c5(l)?c==="v2"?yield qTe(s,n,i,a):yield UTe(s,n,i,a):(S(`Cache save skipped: the effective cache-mode '${l}' does not permit writes.`),b(`Skipped save for paths [${s.join(", ")}] with key '${n}'.`),-1)})}o(sD,"saveCache");function UTe(t,e,r){return lA(this,arguments,void 0 Line truncated
`,a).length:d,u?(c===null?0:c.length)+l.length:0,u?l.length+d:0);return p<m},"__needMoreData"),parse:o(function(s,n,i,a){let{bom:c,comment_no_infix:l,delimiter_auto:u,encoding:A,from_line:d,ltrim:p,max_record_size:m,raw:h,relax_quotes:f,rtrim:C,skip_empty_lines:E,to:y,to_line:I}=this.options,{comment:B,escape:N,quote:R,record_delimiter:q}=this.options,{bomSkipped:Ae,delimiterDiscovered:et,delimiterBufPrevious:ke,rawBuffer:_e,escapeIsQuote:me}=this.state;if(!et&&u){let Re;if(ke===void 0?Re=s:ke!==void 0&&s===void 0?Re=ke:Re=Buffer.concat([ke,s]),s=void 0,n||Re.length>u.size)this.options.delimiter=[Buffer.from($6(Re,this.options.delimiter_auto))],this.state.previousBuf=Re,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=Re;return}}let{previousBuf:bt}=this.state,de;if(bt===void 0)if(s===void 0){a();return}else de=s;else bt!==void 0&&s===void 0?de=bt:de=Buffer.concat([bt,s]);if(Ae===!1)if(c===!1)this.state.bomSkipped=!0;else if(de.length<3){if(n===!1){this.state.previousBuf=de;return}}else{for(let Re in xA)if(xA[Re].compare(de,0,xA[Re].length)===0){let bo=xA[Re].length;this.state.bufBytesStart+=bo,de=de.slice(bo);let dh=bA({...this.original_options,encoding:Re});for(let vt in dh)this.options[vt]=dh[vt];({comment:B,escape:N,quote:R}=this.options);break}this.state.bomSkipped=!0}let mr=de.length,$;for($=0;$<mr&&!this.__needMoreData($,mr,n);$++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),I!==-1&&this.info.lines>I){this.state.stop=!0,a();return}this.state.quoting===!1&&q.length===0&&this.__autoDiscoverRecordDelimiter(de,$)&&(q=this.options.record_delimiter);let Re=de[$];if(h===!0&&_e.append(Re),(Re===dDe||Re===pDe)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(N!==null&&this.state.quoting===!0&&this.__isEscape(de,$,Re)&&$+N.length<mr)if(me){if(this.__isQuote(de,$+N.length)){this.state.escaping=!0,$+=N.length-1;continue}}else{this.state.escaping=!0,$+=N.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(de,$))if(this.state.quoting===!0){let vt=de[$+R.length],wa=C&&this.__isCharTrimable(de,$+R.length),Mi=B!==null&&this.__compareBytes(B,de,$+R.length,vt),ba=this.__isDelimiter(de,$+R.length,vt),ph=q.length===0?this.__autoDiscoverRecordDelimiter(de,$+R.length):this.__isRecordDelimiter(vt,de,$+R.length);if(N!==null&&this.__isEscape(de,$,Re)&&this.__isQuote(de,$+N.length))$+=N.length-1;else if(!vt||ba||ph||Mi||wa){this.state.quoting=!1,this.state.wasQuoting=!0,$+=R.length-1;continue}else if(f===!1){let dL=this.__error(new Ee("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(vt)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(dL!==void 0)return dL}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(R),$+=R.length-1}else if(this.state.field.length!==0){if(f===!1){let vt=this.__infoField(),wa=Object.keys(xA).map(ba=>xA[ba].equals(this.state.field.toString())?ba:!1).filter(Boolean)[0],Mi=this.__error(new Ee("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(vt.column)} at line ${vt.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,wa?`(${wa} bom)`:void 0],this.options,vt,{field:this.state.field}));if(Mi!==void 0)return Mi}}else{this.state.quoting=!0,$+=R.length-1;continue}if(this.state.quoting===!1){let vt=this.__isRecordDelimiter(Re,de,$);if(vt!==0){if(this.state.commenting&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0)this.info.comment_lines++;else{if(this.state.enabled===!1&&this.info.lines+(this.state.wasRowDelimiter===!0?1:0)>=d){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),$+=vt-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,$+=vt-1;continue}this.info.bytes=this.state.bufBytesStart+$;let ba=this.__onField();if(ba!==void 0)return ba;this.info.bytes=this.state.bufBytesStart+$+vt;let ph=this.__onRecord(i);if(ph!==void 0)return ph;if(y!==-1&&this.info.records>=y){this.state.stop=!0,a();return}}this.state.commenting=!1,$+=vt-1;continue}if(this.state.commenting)continue;if(B!==null&&(l===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(B,de,$,Re)!==0){this.state.commenting=!0;continue}let wa=this.__isDelimiter(de,$,Re);if(wa!==0){this.info.bytes=this.state.bufBytesStart+$;let Mi=this.__onField();if(Mi!==void 0)return Mi;$+=wa-1;continue}}}if(this.state.commenting===!1&&m!==0&&this.state.record_length+this.state.field.length>m)return this.__error(new Ee("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${m}`,`at line ${this.info.lines}`],this.options,this.__infoField()));let bo=p===!1||thi Line truncated
`,i),Buffer.from(`
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let u=0;u<l;u++)if(a[c][u]!==s[n+u])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(s){let{encoding:n,raw:i,skip_records_with_error:a}=this.options,c=typeof s=="string"?new Error(s):s;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(n):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:s,raw:n,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:n?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:s}=this.options,n=Array.isArray(s),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:n===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var lB=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=cB(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var Nr=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(fn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=lB(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=fn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;s<e.length;s++)await r(e[s],s,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let s=await nt("powershell",!0),n=e.replace(/'/g,"''"),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''")}'`);return{command:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-EncodedCommand",Buffer.from(`& '${n}' ${i.join(" ")}`,"utf16le").toString("base64")]}}static isDirectory(e){try{return B6.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let s=e.lastIndexOf(r);return s===-1||s+r.length!==e.length?e:e.substring(0,s)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return jD.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return jD.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return w6.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=qm.default.resolve(e);return qm.default.resolve(r).startsWith(s.endsWith(qm.default.sep)?s:`${s}${qm.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var ur=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Gm.default.join(b6.default.homedir(),".docker")}static configFile(){let e=Gm.default.join(t.configDir,"config.json");if(KD.default.existsSync(e))return JSON.parse(KD.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await nt("docker",!0).then(e=>(b(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(b(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}ca Line truncated
${s}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var wK=w(require("crypto"),1);var uB=require("fs"),N6=require("os");var mA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,uB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,uB.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${N6.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var t_=w(P6(),1),k6=w($l(),1);var kPe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function D6(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}o(D6,"getAuthString");function _6(t){return new t_.HttpClient().getAgent(t)}o(_6,"getProxyAgent");function DPe(t){return new t_.HttpClient().getAgentDispatcher(t)}o(DPe,"getProxyAgentDispatcher");function L6(t){let e=DPe(t);return o((s,n)=>kPe(this,void 0,void 0,function*(){return(0,k6.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(L6,"getProxyFetch");function M6(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(M6,"getApiBaseUrl");function r_(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o(r_,"getUserAgentWithOrchestrationId");function fa(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:"<environment undetectable>"}o(fa,"getUserAgent");function gB(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>gB.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}o(gB,"register");function O6(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=o((i,a)=>Promise.resolve().then(n.bind(null,a)).then(i.bind(null,a)),"hook")),e==="after"&&(s=o((i,a)=>{let c;return Promise.resolve().then(i.bind(null,a)).then(l=>(c=l,n(c,a))).then(()=>c)},"hook")),e==="error"&&(s=o((i,a)=>Promise.resolve().then(i.bind(null,a)).catch(c=>n(c,a)),"hook")),t.registry[r].push({hook:s,orig:n})}o(O6,"addHook");function F6(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}o(F6,"removeHook");var U6=Function.bind,q6=U6.bind(U6);function G6(t,e,r){let s=q6(F6,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=q6(O6,null).apply(null,i)})}o(G6,"bindApi");function LPe(){let t=Symbol("Singular"),e={registry:{}},r=gB.bind(null,e,t);return G6(r,e,t),r}o(LPe,"Singular");function MPe(){let t={registry:{}},e=gB.bind(null,t);return G6(e,t),e}o(MPe,"Co Line truncated
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let l=a[c].length;for(let u=0;u<l;u++)if(a[c][u]!==s[n+u])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:o(function(s){let{encoding:n,raw:i,skip_records_with_error:a}=this.options,c=typeof s=="string"?new Error(s):s;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(n):void 0)}catch(l){return l}return}else return c},"__error"),__infoDataSet:o(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:o(function(){let{columns:s,raw:n,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:s===!0,index:this.state.record.length,raw:n?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:o(function(){let{columns:s}=this.options,n=Array.isArray(s),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:n===!0?s.length>this.state.record.length?s[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var gB=o(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],s=fB(e),n=o(c=>{s.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=o(()=>{},"close"),a=s.parse(t,!0,n,i);if(a!==void 0)throw a;return r},"parse");var Rr=class t{static{o(this,"Util")}static getInputList(e,r){return this.getList(gn(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let s=[];if(e=="")return s;let n=gB(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of n)i.length==1?r?.ignoreComma?s.push(i[0]):s.push(...i[0].split(",")):r?.ignoreComma?s.push(i.join(",")):s.push(...i);return s.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=gn(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let s=0;s<e.length;s++)await r(e[s],s,e)}static isValidURL(e){let r;try{r=new URL(e)}catch{return!1}return r.protocol==="http:"||r.protocol==="https:"}static isValidRef(e){if(t.isValidURL(e))return!0;for(let r of["git://","github.com/","git@"])if(e.startsWith(r))return!0;return!1}static async powershellCommand(e,r){let s=await rt("powershell",!0),n=e.replace(/'/g,"''"),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''")}'`);return{command:`"${s}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-EncodedCommand",Buffer.from(`& '${n}' ${i.join(" ")}`,"utf16le").toString("base64")]}}static isDirectory(e){try{return Y6.default.lstatSync(e).isDirectory()}catch{}return!1}static trimPrefix(e,r){return!e||!r||e.indexOf(r)!==0?e:e.substring(r.length)}static trimSuffix(e,r){if(!e||!r)return e;let s=e.lastIndexOf(r);return s===-1||s+r.length!==e.length?e:e.substring(0,s)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return A_.default.createHash("sha256").update(e).digest("hex")}static parseBool(e){if(e===void 0)return!1;switch(e){case"1":case"t":case"T":case"true":case"TRUE":case"True":return!0;case"0":case"f":case"F":case"false":case"FALSE":case"False":return!1;default:throw new Error(`parseBool syntax error: ${e}`)}}static parseBoolOrDefault(e,r=!1){try{return this.parseBool(e)}catch{return r}}static formatFileSize(e){if(e===0)return"0 Bytes";let r=1024,s=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],n=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,n)).toFixed(2))+" "+s[n]}static generateRandomString(e=10){return A_.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,s){return J6.default.compile(e,r)(s)}static stringToUnicodeEntities(e){return Array.from(e).map(r=>`&#x${r.charCodeAt(0).toString(16)};`).join("")}static countLines(e){return e.split(/\r\n|\r|\n/).length}static isPathRelativeTo(e,r){let s=Ym.default.resolve(e);return Ym.default.resolve(r).startsWith(s.endsWith(Ym.default.sep)?s:`${s}${Ym.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),s=Math.floor(r/3600),n=Math.floor(r%3600/60),i=r%60,a=[];return s&&a.push(`${s}h`),n&&a.push(`${n}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var dr=class t{static{o(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Jm.default.join(W6.default.homedir(),".docker")}static configFile(){let e=Jm.default.join(t.configDir,"config.json");if(d_.default.existsSync(e))return JSON.parse(d_.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await rt("docker",!0).then(e=>(b(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(b(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}ca Line truncated
${n}`)},"onRetry")})}static isPullTransientError(e){return/Client\.Timeout exceeded|TLS handshake timeout|i\/o timeout|context deadline exceeded|request canceled|connection reset by peer|connection refused|connection timed out|temporary failure|unexpected EOF|\bEOF\b|server misbehaving/i.test(e)||/\b(500|502|503|504)\b/.test(e)||/\b(service unavailable|bad gateway|gateway timeout|internal server error)\b/i.test(e)}};var JK=w(require("crypto"),1);var EB=require("fs"),X6=require("os");var QA=class{static{o(this,"Context")}constructor(){var e,r,s;if(this.payload={},process.env.GITHUB_EVENT_PATH)if((0,EB.existsSync)(process.env.GITHUB_EVENT_PATH))this.payload=JSON.parse((0,EB.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}));else{let n=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${n} does not exist${X6.EOL}`)}this.eventName=process.env.GITHUB_EVENT_NAME,this.sha=process.env.GITHUB_SHA,this.ref=process.env.GITHUB_REF,this.workflow=process.env.GITHUB_WORKFLOW,this.action=process.env.GITHUB_ACTION,this.actor=process.env.GITHUB_ACTOR,this.job=process.env.GITHUB_JOB,this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10),this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10),this.runId=parseInt(process.env.GITHUB_RUN_ID,10),this.apiUrl=(e=process.env.GITHUB_API_URL)!==null&&e!==void 0?e:"https://api.github.com",this.serverUrl=(r=process.env.GITHUB_SERVER_URL)!==null&&r!==void 0?r:"https://github.com",this.graphqlUrl=(s=process.env.GITHUB_GRAPHQL_URL)!==null&&s!==void 0?s:"https://api.github.com/graphql"}get issue(){let e=this.payload;return Object.assign(Object.assign({},this.repo),{number:(e.issue||e.pull_request||e).number})}get repo(){if(process.env.GITHUB_REPOSITORY){let[e,r]=process.env.GITHUB_REPOSITORY.split("/");return{owner:e,repo:r}}if(this.payload.repository)return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name};throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}};var f_=w(sK(),1),nK=w(Zl(),1);var QDe=function(t,e,r,s){function n(i){return i instanceof r?i:new r(function(a){a(i)})}return o(n,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{u(s.next(A))}catch(d){a(d)}}o(c,"fulfilled");function l(A){try{u(s.throw(A))}catch(d){a(d)}}o(l,"rejected");function u(A){A.done?i(A.value):n(A.value).then(c,l)}o(u,"step"),u((s=s.apply(t,e||[])).next())})};function iK(t,e){if(!t&&!e.auth)throw new Error("Parameter token or opts.auth is required");if(t&&e.auth)throw new Error("Parameters token and opts.auth may not both be specified");return typeof e.auth=="string"?e.auth:`token ${t}`}o(iK,"getAuthString");function oK(t){return new f_.HttpClient().getAgent(t)}o(oK,"getProxyAgent");function NDe(t){return new f_.HttpClient().getAgentDispatcher(t)}o(NDe,"getProxyAgentDispatcher");function aK(t){let e=NDe(t);return o((s,n)=>QDe(this,void 0,void 0,function*(){return(0,nK.fetch)(s,Object.assign(Object.assign({},n),{dispatcher:e}))}),"proxyFetch")}o(aK,"getProxyFetch");function cK(){return process.env.GITHUB_API_URL||"https://api.github.com"}o(cK,"getApiBaseUrl");function g_(t){var e;let r=(e=process.env.ACTIONS_ORCHESTRATION_ID)===null||e===void 0?void 0:e.trim();if(r){let n=`actions_orchestration_id/${r.replace(/[^a-z0-9_.-]/gi,"_")}`;return t?.includes(n)?t:`${t?`${t} `:""}${n}`}return t}o(g_,"getUserAgentWithOrchestrationId");function ya(){return typeof navigator=="object"&&"userAgent"in navigator?navigator.userAgent:typeof process=="object"&&process.version!==void 0?`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`:"<environment undetectable>"}o(ya,"getUserAgent");function xB(t,e,r,s){if(typeof r!="function")throw new Error("method for before hook must be a function");return s||(s={}),Array.isArray(e)?e.reverse().reduce((n,i)=>xB.bind(null,t,i,n,s),r)():Promise.resolve().then(()=>t.registry[e]?t.registry[e].reduce((n,i)=>i.hook.bind(null,n,s),r)():r(s))}o(xB,"register");function lK(t,e,r,s){let n=s;t.registry[r]||(t.registry[r]=[]),e==="before"&&(s=o((i,a)=>Promise.resolve().then(n.bind(null,a)).then(i.bind(null,a)),"hook")),e==="after"&&(s=o((i,a)=>{let c;return Promise.resolve().then(i.bind(null,a)).then(l=>(c=l,n(c,a))).then(()=>c)},"hook")),e==="error"&&(s=o((i,a)=>Promise.resolve().then(i.bind(null,a)).catch(c=>n(c,a)),"hook")),t.registry[r].push({hook:s,orig:n})}o(lK,"addHook");function uK(t,e,r){if(!t.registry[e])return;let s=t.registry[e].map(n=>n.orig).indexOf(r);s!==-1&&t.registry[e].splice(s,1)}o(uK,"removeHook");var AK=Function.bind,dK=AK.bind(AK);function pK(t,e,r){let s=dK(uK,null).apply(null,r?[e,r]:[e]);t.api={remove:s},t.remove=s,["before","error","after","wrap"].forEach(n=>{let i=r?[e,n,r]:[e,n];t[n]=t.api[n]=dK(lK,null).apply(null,i)})}o(pK,"bindApi");function RDe(){let t=Symbol("Singular"),e={registry:{}},r=xB.bind(null,e,t);return pK(r,e,t),r}o(RDe,"Singular");function TDe(){let t={registry:{}},e=xB.bind(null,t);return pK(e,t),e}o(TDe,"Co Line truncated
`+t.errors.map(e=>` - ${e.message}`).join(`
`)}o(ike,"_buildMessageForResponseErrors");var oke=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(ike(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},ake=["method","baseUrl","url","headers","request","query","mediaType","operationName"],cke=["query","method","url"],cK=/\/api\/v3\/?$/;function lke(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(cke.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>ake.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return cK.test(i)&&(n.url=i.replace(cK,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new oke(n,c,a.data)}return a.data.data})}o(lke,"graphql");function c_(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>lke(r,n,i),"newApi"),{defaults:c_.bind(null,r),endpoint:r.endpoint})}o(c_,"withDefaults");var but=c_(Vm,{headers:{"user-agent":`octokit-graphql.js/${nke} ${fa()}`},method:"POST",url:"/graphql"});function lK(t){return c_(t,{method:"POST",url:"/graphql"})}o(lK,"withCustomRequest");var l_="(?:[a-zA-Z0-9_-]+)",uK="\\.",AK=new RegExp(`^${l_}${uK}${l_}${uK}${l_}$`),uke=AK.test.bind(AK);async function Ake(t){let e=uke(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(Ake,"auth");function dke(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(dke,"withAuthorizationPrefix");async function pke(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=dke(t),e(n)}o(pke,"hook");var dK=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(Ake.bind(null,e),{hook:pke.bind(null,e)})},"createTokenAuth2");var u_="7.0.6";var pK=o(()=>{},"noop"),mke=console.warn.bind(console),hke=console.error.bind(console);function fke(t={}){return typeof t.debug!="function"&&(t.debug=pK),typeof t.info!="function"&&(t.info=pK),typeof t.warn!="function"&&(t.warn=mke),typeof t.error!="function"&&(t.error=hke),t}o(fke,"createLogger");var mK=`octokit-core.js/${u_} ${fa()}`,IB=class{static{o(this,"Octokit")}static VERSION=u_;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new H6.Collection,s={baseUrl:Vm.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${mK}`:mK,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=Vm.defaults(s),this.graphql=lK(this.request).defaults(s),this.log=fke(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=dK(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i<n.plugins.length;++i)Object.assign(this,n.plugins[i](this,e))}request;graphql;log;hook;auth};var A_="17.0.0";var gke={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerF Line truncated
`)}o(XDe,"_buildMessageForResponseErrors");var ZDe=class extends Error{static{o(this,"GraphqlResponseError")}constructor(t,e,r){super(XDe(r)),this.request=t,this.headers=e,this.response=r,this.errors=r.errors,this.data=r.data,Error.captureStackTrace&&Error.captureStackTrace(this,this.constructor)}name="GraphqlResponseError";errors;data},e_e=["method","baseUrl","url","headers","request","query","mediaType","operationName"],t_e=["query","method","url"],kK=/\/api\/v3\/?$/;function r_e(t,e,r){if(r){if(typeof e=="string"&&"query"in r)return Promise.reject(new Error('[@octokit/graphql] "query" cannot be used as variable name'));for(let a in r)if(t_e.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let s=typeof e=="string"?Object.assign({query:e},r):e,n=Object.keys(s).reduce((a,c)=>e_e.includes(c)?(a[c]=s[c],a):(a.variables||(a.variables={}),a.variables[c]=s[c],a),{}),i=s.baseUrl||t.endpoint.DEFAULTS.baseUrl;return kK.test(i)&&(n.url=i.replace(kK,"/api/graphql")),t(n).then(a=>{if(a.data.errors){let c={};for(let l of Object.keys(a.headers))c[l]=a.headers[l];throw new ZDe(n,c,a.data)}return a.data.data})}o(r_e,"graphql");function w_(t,e){let r=t.defaults(e);return Object.assign(o((n,i)=>r_e(r,n,i),"newApi"),{defaults:w_.bind(null,r),endpoint:r.endpoint})}o(w_,"withDefaults");var jdt=w_(Xm,{headers:{"user-agent":`octokit-graphql.js/${KDe} ${ya()}`},method:"POST",url:"/graphql"});function DK(t){return w_(t,{method:"POST",url:"/graphql"})}o(DK,"withCustomRequest");var b_="(?:[a-zA-Z0-9_-]+)",_K="\\.",LK=new RegExp(`^${b_}${_K}${b_}${_K}${b_}$`),s_e=LK.test.bind(LK);async function n_e(t){let e=s_e(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),s=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":s?"user-to-server":"oauth"}}o(n_e,"auth");function i_e(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}o(i_e,"withAuthorizationPrefix");async function o_e(t,e,r,s){let n=e.endpoint.merge(r,s);return n.headers.authorization=i_e(t),e(n)}o(o_e,"hook");var MK=o(function(e){if(!e)throw new Error("[@octokit/auth-token] No token passed to createTokenAuth");if(typeof e!="string")throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string");return e=e.replace(/^(token|bearer) +/i,""),Object.assign(n_e.bind(null,e),{hook:o_e.bind(null,e)})},"createTokenAuth2");var x_="7.0.6";var OK=o(()=>{},"noop"),a_e=console.warn.bind(console),c_e=console.error.bind(console);function l_e(t={}){return typeof t.debug!="function"&&(t.debug=OK),typeof t.info!="function"&&(t.info=OK),typeof t.warn!="function"&&(t.warn=a_e),typeof t.error!="function"&&(t.error=c_e),t}o(l_e,"createLogger");var FK=`octokit-core.js/${x_} ${ya()}`,RB=class{static{o(this,"Octokit")}static VERSION=x_;static defaults(e){return class extends this{static{o(this,"OctokitWithDefaults")}constructor(...s){let n=s[0]||{};if(typeof e=="function"){super(e(n));return}super(Object.assign({},e,n,n.userAgent&&e.userAgent?{userAgent:`${n.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{o(this,"NewOctokit")}static plugins=r.concat(e.filter(n=>!r.includes(n)))}}constructor(e={}){let r=new mK.Collection,s={baseUrl:Xm.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(s.headers["user-agent"]=e.userAgent?`${e.userAgent} ${FK}`:FK,e.baseUrl&&(s.baseUrl=e.baseUrl),e.previews&&(s.mediaType.previews=e.previews),e.timeZone&&(s.headers["time-zone"]=e.timeZone),this.request=Xm.defaults(s),this.graphql=DK(this.request).defaults(s),this.log=l_e(e.log),this.hook=r,e.authStrategy){let{authStrategy:i,...a}=e,c=i(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:a},e.auth));r.wrap("request",c.hook),this.auth=c}else if(!e.auth)this.auth=async()=>({type:"unauthenticated"});else{let i=MK(e.auth);r.wrap("request",i.hook),this.auth=i}let n=this.constructor;for(let i=0;i<n.plugins.length;++i)Object.assign(this,n.plugins[i](this,e))}request;graphql;log;hook;auth};var Q_="17.0.0";var u_e={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addRepoAccessToSelfHostedRunnerGroupInOrg:["PUT /orgs/{org}/actions/runner-groups/{runner_group_id}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repos/{owner}/{repo}/environments/{environment_name}/variables"],createHostedRunnerF Line truncated
[CmdletBinding()]
param(
[Parameter(Mandatory = $true)]
@@ -179,8 +177,8 @@ Write-Host "DOCKER_HOST: $env:DOCKER_HOST"
if ($DaemonConfig) {
Write-Host "Writing Docker daemon config"
New-Item -ItemType Directory -Force -Path "$env:ProgramData\\Docker\\config"
$DaemonConfig | Out-File -FilePath "$env:ProgramData\\Docker\\config\\daemon.json"
$daemonConfigPath = "$RunDir\\daemon.json"
[System.IO.File]::WriteAllText($daemonConfigPath, $DaemonConfig, (New-Object System.Text.UTF8Encoding($false)))
}
$arguments = @(
@@ -190,6 +188,9 @@ $arguments = @(
"--pidfile=$RunDir\\\\docker.pid",
"--register-service"
)
if ($DaemonConfig) {
$arguments += '--config-file="' + $daemonConfigPath + '"'
}
if ($DockerHostTCP) {
$arguments += "--host=$DockerHostTCP"
}
@@ -219,12 +220,12 @@ While ($true) {
Start-Sleep -Seconds 1
}
Write-Host "Docker daemon started successfully!"
`,$Le=`
`,$Oe=`
Get-WinEvent -ea SilentlyContinue \`
-FilterHashtable @{ProviderName= "docker"; LogName = "application"} |
Sort-Object @{Expression="TimeCreated";Descending=$false} |
ForEach-Object {"$($_.TimeCreated.ToUniversalTime().ToString("o")) [$($_.LevelDisplayName)] $($_.Message)"}
`,CZ=`
`,s7=`
# Source:
# - https://github.com/lima-vm/lima/blob/master/templates/docker-rootful.yaml
# - https://github.com/lima-vm/lima/blob/master/templates/_images/ubuntu-lts.yaml
@@ -250,19 +251,19 @@ images:
arch: "{{arch}}"
digest: "{{digest}}"
{{/each}}
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/ubuntu-24.04-server-cloudimg-amd64.img"
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/ubuntu-24.04-server-cloudimg-amd64.img"
arch: "x86_64"
digest: "sha256:ffe6203da54deeb6db5d2a98a83f9ec8e55f149d3f7ba622e1abe5fa966ee3d6"
digest: "sha256:04e8f2461a16a44e78a370284471f29616cdd9baf1893df25807b71f985b6c94"
kernel:
location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic"
digest: "sha256:72526aac4c8c3f63d30fe0741f0c3b1923e700585750cb135815d5c2f831b691"
location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/unpacked/ubuntu-24.04-server-cloudimg-amd64-vmlinuz-generic"
digest: "sha256:41ba36d860aa0b0cd995f4ca8856d80249b244577e704929b55be13fbd1ebd2f"
cmdline: "root=LABEL=cloudimg-rootfs ro console=tty1 console=ttyAMA0 no_timer_check"
initrd:
location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic"
digest: "sha256:edda2af6677cc93c3a8e6056dd3b4e3bf541d4076faa408991598069d9c0854f"
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20260705/ubuntu-24.04-server-cloudimg-arm64.img"
location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/unpacked/ubuntu-24.04-server-cloudimg-amd64-initrd-generic"
digest: "sha256:bf276ffc12872256080890698b42db0dc9c5a469c896d8b59af6bc4e723cd186"
- location: "https://cloud-images.ubuntu.com/releases/noble/release-20261017/ubuntu-24.04-server-cloudimg-arm64.img"
arch: "aarch64"
digest: "sha256:7df0201546f75b8bcc1044594c806c35749421ad3c9bc1be2a3ab806cfae39cc"
digest: "sha256:50e24e1fb79e89116e939d90aa7738f7af48c442fa1bc2510131e0b39c50348e"
# Fallback to the latest release image.
# Hint: run \`limactl prune\` to invalidate the cache
- location: https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img
@@ -433,13 +434,13 @@ audio:
# Choosing "none" will mute the audio output, and not play any sound.
# Builtin default: ""
device: none
`;var th=class t{static{o(this,"Install")}runDir;source;contextName;daemonConfig;rootless;localTCPPort;regctl;undock;githubToken;_version;_toolDir;gitCommit;limaInstanceName="docker-actions-toolkit";constructor(e){this.runDir=e.runDir,this.source=e.source||{type:"archive",version:"latest",channel:"stable"},this.contextName=e.contextName||"setup-docker-action",this.daemonConfig=e.daemonConfig,this.rootless=e.rootless||!1,this.localTCPPort=e.localTCPPort,this.regctl=e.regctl||new MB,this.undock=e.undock||new OB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||Jr.tmpDir()}async download(){let e,r,s=Wr.default.platform();switch(this.source.type){case"image":{this._version=this.source.tag,r="docker-image",e=await this.downloadSourceImage(s);break}case"archive":{let i=this.source.version;if(r=`docker-archive-${this.source.channel}`,this._version=i,N(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){N(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let c=await this.downloadSourceArchive("docker-rootless-extras",this.source);Jt.default.readdirSync(c).forEach(l=>{let u=vt.default.join(c,l),A=vt.default.join(e,l);Jt.default.copyFileSync(u,A)})}break}}N("Fixing perms"),Jt.default.readdir(vt.default.join(e),function(i,a){if(i)throw i;a.forEach(function(c,l){Nr.isDirectory(vt.default.join(e,c))||Jt.default.chmodSync(vt.default.join(e,c),"0755")})});let n=await Rg(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return Jl(n),N("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=vt.default.join(Jr.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if(N(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))N(`Downloading Docker engine from ${n}`),await this.undock.run({source:n,dist:r});else if(e=="darwin"){try{let i=await this.imageConfig(n,"linux/arm64");if(b(`docker.Install.downloadSourceImage engineImageConfig: ${JSON.stringify(i)}`),this.gitCommit=i.config?.Labels?.["org.opencontainers.image.revision"],!this.gitCommit)throw new Error("No git revision can be determined from the image")}catch(i){et(i),this.gitCommit="master"}b(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else et(`Docker engine not supported on ${e}, only the Docker cli will be available`);return r}async downloadSourceArchive(e,r){let s=await t.getRelease(r.version,this.githubToken);this._version=s.tag_name.replace(/^(docker-)?v+/,""),b(`docker.Install.downloadSourceArchive version: ${this._version}`);let n=this.downloadURL(e,this._version,r.channel);N(`Downloading ${n}`);let i=await Za(n);b(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let a;return Wr.default.platform()=="win32"?a=await Sg(i,a):a=await Ng(i,a),Nr.isDirectory(vt.default.join(a,e))&&(a=vt.default.join(a,e)),b(`docker.Install.downloadSourceArchive extractFolder: ${a}`),a}async install(){if(!this.toolDir)throw new Error("toolDir must be set. Run download first.");if(!this.runDir)throw new Error("runDir must be set");let e=Wr.default.platform();if(this.rootless&&e!="linux")throw new Error("rootless is only supported on linux");switch(e){case"darwin":return await this.installDarwin();case"linux":return await this.installLinux();case"win32":return await this.installWindows();default:throw new Error(`Unsupported platform: ${Wr.default.platform()}`)}}async installDarwin(){if(this.source.type=="image"&&!this.gitCommit)throw new Error("gitCommit must be set. Run download first.");let e=this.source,r=vt.default.join(Wr.default.homedir(),".lima",this.limaInstanceName);await Ps(r);let s=`unix://${r}/docker.sock`;if(await t.limaInstalled()||await this.brewInstall("lima"),await me("Lima version",async()=>{await de.exec("lima",["--version"])}),await me("Creating lima config",async()=>{let i={};this.daemonConfig&&(i=JSON.parse(this.daemonConfig)),FB.default.registerHelper("stringify",function(l){return new FB.default.SafeString(JSON.stringify(l))});let a=e,c=FB.default.compile(CZ)({customImages:t.limaCustomImages(),daemonConfig:i,dockerSock:`${r}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:a.channel,srcImageTag:e.tag,undockVersion:EZ});N(`Writing lima config to ${vt.default.join(r,"lima.yaml")}`),Jt.default.writeFileSync(vt.default.join(r,"lima.yaml"),c),N(c)}),t.limaNeedsQemu()){await t.qemuInstalled()||await this.brewInstall("qemu");let i=await t.qemuBin();await me("QEMU version",async()=>{await de.exec(i,["--version"])})}let n=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await me("Starting lima instance",async()=>{let i=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];process.e Line truncated
${A}`)})}).catch(()=>{}),a}}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${s}`]),await ur.exec(["context","use",this.contextName])}),s}async installLinux(){let e=`unix://${vt.default.join(this.runDir,"docker.sock")}`;await Ps(this.runDir);let r=vt.default.join(this.runDir,"daemon.json");await Jt.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Jt.default.existsSync(n)&&(await me("Default Docker daemon config found",async()=>{N(JSON.stringify(JSON.parse(Jt.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Jt.default.readFileSync(n,{encoding:"utf8"}))),this.daemonConfig&&(s=Object.assign(s||{},JSON.parse(this.daemonConfig))),s){let a=JSON.stringify(s,null,2);await me("Writing Docker daemon config",async()=>{Jt.default.writeFileSync(r,a),N(a)})}let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||void 0});return await me("Start Docker daemon",async()=>{let a=await nt("bash",!0),c=`${this.toolDir}/dockerd`;this.rootless&&(c=`${this.toolDir}/dockerd-rootless.sh`,process.env.RUNNER_ENVIRONMENT==="github-hosted"&&Jt.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")&&await nt("sudo",!1)&&await de.exec("sudo",["-n","sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"],{ignoreReturnCode:!0}));let l=`${c} --host="${e}" --config-file="${r}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;this.localTCPPort&&(l+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`),N(`[command] ${l}`);let u=this.rootless?"":"sudo ";(await IZ.spawn(`${u}env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${a} << EOF
`;var ch=class t{static{o(this,"Install")}runDir;source;contextName;daemonConfig;rootless;localTCPPort;regctl;undock;githubToken;_version;_toolDir;gitCommit;limaInstanceName="docker-actions-toolkit";constructor(e){this.runDir=e.runDir,this.source=e.source||{type:"archive",version:"latest",channel:"stable"},this.contextName=e.contextName||"setup-docker-action",this.daemonConfig=e.daemonConfig,this.rootless=e.rootless||!1,this.localTCPPort=e.localTCPPort,this.regctl=e.regctl||new $B,this.undock=e.undock||new VB,this.githubToken=e.githubToken||process.env.GITHUB_TOKEN}get toolDir(){return this._toolDir||Kr.tmpDir()}async download(){let e,r,s=Zr.default.platform();switch(this.source.type){case"image":{this._version=this.source.tag,r="docker-image",e=await this.downloadSourceImage(s);break}case"archive":{let i=this.source.version;if(r=`docker-archive-${this.source.channel}`,this._version=i,S(`Downloading Docker ${i} from ${this.source.channel} at download.docker.com`),e=await this.downloadSourceArchive("docker",this.source),this.rootless){S(`Downloading Docker rootless extras ${i} from ${this.source.channel} at download.docker.com`);let c=await this.downloadSourceArchive("docker-rootless-extras",this.source);Wt.default.readdirSync(c).forEach(l=>{let u=Tt.default.join(c,l),A=Tt.default.join(e,l);Wt.default.copyFileSync(u,A)})}break}}S("Fixing perms"),Wt.default.readdir(Tt.default.join(e),function(i,a){if(i)throw i;a.forEach(function(c,l){Rr.isDirectory(Tt.default.join(e,c))||Wt.default.chmodSync(Tt.default.join(e,c),"0755")})});let n=await Mg(e,r,this._version.replace(/(0+)([1-9]+)/,"$2"));return su(n),S("Added Docker to PATH"),this._toolDir=n,n}async downloadSourceImage(e){let r=Tt.default.join(Kr.tmpDir(),"docker-install-image"),s=`dockereng/cli-bin:${this._version}`,n=`moby/moby-bin:${this._version}`;if(S(`Downloading Docker CLI from ${s}`),await this.undock.run({source:s,dist:r}),["win32","linux"].includes(e))S(`Downloading Docker engine from ${n}`),await this.undock.run({source:n,dist:r});else if(e=="darwin"){try{let i=await this.imageConfig(n,"linux/arm64");if(b(`docker.Install.downloadSourceImage engineImageConfig: ${JSON.stringify(i)}`),this.gitCommit=i.config?.Labels?.["org.opencontainers.image.revision"],!this.gitCommit)throw new Error("No git revision can be determined from the image")}catch(i){Xe(i),this.gitCommit="master"}b(`docker.Install.downloadSourceImage gitCommit: ${this.gitCommit}`)}else Xe(`Docker engine not supported on ${e}, only the Docker cli will be available`);return r}async downloadSourceArchive(e,r){let s=await t.getRelease(r.version,this.githubToken);this._version=s.tag_name.replace(/^(docker-)?v+/,""),b(`docker.Install.downloadSourceArchive version: ${this._version}`);let n=this.downloadURL(e,this._version,r.channel);S(`Downloading ${n}`);let i=await ic(n);b(`docker.Install.downloadSourceArchive downloadPath: ${i}`);let a;return Zr.default.platform()=="win32"?a=await Lg(i,a):a=await _g(i,a),Rr.isDirectory(Tt.default.join(a,e))&&(a=Tt.default.join(a,e)),b(`docker.Install.downloadSourceArchive extractFolder: ${a}`),a}async install(){if(!this.toolDir)throw new Error("toolDir must be set. Run download first.");if(!this.runDir)throw new Error("runDir must be set");let e=Zr.default.platform();if(this.rootless&&e!="linux")throw new Error("rootless is only supported on linux");switch(e){case"darwin":return await this.installDarwin();case"linux":return await this.installLinux();case"win32":return await this.installWindows();default:throw new Error(`Unsupported platform: ${Zr.default.platform()}`)}}async installDarwin(){if(this.source.type=="image"&&!this.gitCommit)throw new Error("gitCommit must be set. Run download first.");let e=this.source,r=Tt.default.join(Zr.default.homedir(),".lima",this.limaInstanceName);await Ps(r);let s=`unix://${r}/docker.sock`;if(await t.limaInstalled()||await this.brewInstall("lima"),await fe("Lima version",async()=>{await ue.exec("lima",["--version"])}),await fe("Creating lima config",async()=>{let i={};this.daemonConfig&&(i=JSON.parse(this.daemonConfig)),YB.default.registerHelper("stringify",function(l){return new YB.default.SafeString(JSON.stringify(l))});let a=e,c=YB.default.compile(s7)({customImages:t.limaCustomImages(),daemonConfig:i,dockerSock:`${r}/docker.sock`,localTCPPort:this.localTCPPort,gitCommit:this.gitCommit,srcType:e.type,srcArchiveVersion:this._version,srcArchiveChannel:a.channel,srcImageTag:e.tag,undockVersion:t7});S(`Writing lima config to ${Tt.default.join(r,"lima.yaml")}`),Wt.default.writeFileSync(Tt.default.join(r,"lima.yaml"),c),S(c)}),t.limaNeedsQemu()){await t.qemuInstalled()||await this.brewInstall("qemu");let i=await t.qemuBin();await fe("QEMU version",async()=>{await ue.exec(i,["--version"])})}let n=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`});return await fe("Starting lima instance",async()=>{let i=["start",`--name=${this.limaInstanceName}`,`--timeout=${process.env.LIMA_START_TIMEOUT??"15m"}`];process.e Line truncated
${A}`)})}).catch(()=>{}),a}}),await fe("Create Docker context",async()=>{await dr.exec(["context","create",this.contextName,"--docker",`host=${s}`]),await dr.exec(["context","use",this.contextName])}),s}async installLinux(){let e=`unix://${Tt.default.join(this.runDir,"docker.sock")}`;await Ps(this.runDir);let r=Tt.default.join(this.runDir,"daemon.json");await Wt.default.writeFileSync(r,"{}");let s,n="/etc/docker/daemon.json";if(Wt.default.existsSync(n)&&(await fe("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Wt.default.readFileSync(n,{encoding:"utf8"})),null,2))}),s=JSON.parse(Wt.default.readFileSync(n,{encoding:"utf8"}))),this.daemonConfig&&(s=Object.assign(s||{},JSON.parse(this.daemonConfig))),s){let a=JSON.stringify(s,null,2);await fe("Writing Docker daemon config",async()=>{Wt.default.writeFileSync(r,a),S(a)})}let i=Object.assign({},process.env,{PATH:`${this.toolDir}:${process.env.PATH}`,XDG_RUNTIME_DIR:this.rootless&&this.runDir||void 0});return await fe("Start Docker daemon",async()=>{let a=await rt("bash",!0),c=`${this.toolDir}/dockerd`;this.rootless&&(c=`${this.toolDir}/dockerd-rootless.sh`,process.env.RUNNER_ENVIRONMENT==="github-hosted"&&Wt.default.existsSync("/proc/sys/kernel/apparmor_restrict_unprivileged_userns")&&await rt("sudo",!1)&&await ue.exec("sudo",["-n","sh","-c","echo 0 > /proc/sys/kernel/apparmor_restrict_unprivileged_userns"],{ignoreReturnCode:!0}));let l=`${c} --host="${e}" --config-file="${r}" --exec-root="${this.runDir}/execroot" --data-root="${this.runDir}/data" --pidfile="${this.runDir}/docker.pid"`;this.localTCPPort&&(l+=` --host="tcp://127.0.0.1:${this.localTCPPort}"`),S(`[command] ${l}`);let u=this.rootless?"":"sudo ";(await n7.spawn(`${u}env "PATH=$PATH" "XDG_RUNTIME_DIR=$XDG_RUNTIME_DIR" ${a} << EOF
( ${l} 2>&1 | tee "${this.runDir}/dockerd.log" ) &
EOF`,[],{env:i,detached:!0,shell:!0,stdio:["ignore",process.stdout,process.stderr]})).unref(),await Nr.sleep(3);let d=10;await(0,bZ.default)(async p=>{try{await de.getExecOutput("docker version",void 0,{silent:!0,env:Object.assign({},i,{DOCKER_HOST:e,DOCKER_CONTENT_TRUST:"false"})})}catch(m){p(m)}},{retries:d,minTimeout:1e3,onRetry:o((p,m)=>{N(`${p}. Retrying (${m}/${d})...`)},"onRetry")}),N("Docker daemon started started successfully")}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await ur.exec(["context","use",this.contextName])}),e}async installWindows(){let e="npipe:////./pipe/setup_docker_action",r,s=vt.default.join(this.runDir,"daemon.json");Jt.default.existsSync(s)&&(await me("Default Docker daemon config found",async()=>{N(JSON.stringify(JSON.parse(Jt.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Jt.default.readFileSync(s,{encoding:"utf8"}))),this.daemonConfig&&(r=Object.assign(r||{},JSON.parse(this.daemonConfig)));let n="{}";r&&(n=JSON.stringify(r,null,2),await me("Docker daemon config",async()=>{N(n)}));let i={ToolDir:this.toolDir,RunDir:this.runDir,DockerHostSocket:e,DaemonConfig:n};return this.localTCPPort&&(i.DockerHostTCP=`tcp://127.0.0.1:${this.localTCPPort}`),await me("Install Docker daemon service",async()=>{let a=await Nr.powershellCommand(gZ(),i);await de.exec(a.command,a.args);let c=await Nr.powershellCommand(G_());await de.exec(c.command,c.args)}),await me("Create Docker context",async()=>{await ur.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await ur.exec(["context","use",this.contextName])}),e}async tearDown(){if(!this.runDir)throw new Error("runDir must be set");switch(Wr.default.platform()){case"darwin":{await this.tearDownDarwin();break}case"linux":{await this.tearDownLinux();break}case"win32":{await this.tearDownWindows();break}default:throw new Error(`Unsupported platform: ${Wr.default.platform()}`)}await me("Cleaning up toolDir",async()=>{this._toolDir&&Jt.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await me("Stopping lima instance",async()=>{await de.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing lima instance",async()=>{await de.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await de.exec("sudo",["rm","-rf",this.runDir])})}async printDarwinDiagnostics(){await this.printDarwinGuestCommandOutput("Cloud-init output log",["sudo","cat","/var/log/cloud-init-output.log"]),await this.printDarwinGuestCommandOutput("Cloud-init status",["sudo","timeout","300s","cloud-init","status","--wait"]),await this.printDarwinGuestCommandOutput("Docker unit file",["sudo","systemctl","cat","docker.service"]),await this.printDarwinGuestCommandOutput("Docker service status",["sudo","systemctl","status","docker.service","docker.socket","-l","--no-pager"]),await this.printDarwinGuestCommandOutput("Archive install script log",["sudo","cat","/var/log/docker-actions-toolkit-archive-install.log"]),await this.printDarwinGuestCommandOutput("Docker daemon logs",["sudo","journalctl","-u","docker.service","-l","--no-pager"])}async printDarwinGuestCommandOutput(e,r){await me(e,async()=>{let s=await de.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{N(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(`
`);n.length>0?N(n):s.exitCode!==0&&N(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await me("Docker daemon logs",async()=>{let e=[vt.default.join(this.runDir,"dockerd.log")];await de.exec(this.rootless?"cat":"sudo",this.rootless?e:["cat",...e],{ignoreReturnCode:!0})}),await me("Stopping Docker daemon",async()=>{let e=["-s","SIGTERM",Jt.default.readFileSync(vt.default.join(this.runDir,"docker.pid")).toString().trim()];await de.exec(this.rootless?"kill":"sudo",this.rootless?e:["kill",...e]),await Nr.sleep(5)}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Cleaning up runDir",async()=>{await de.exec(this.rootless?"rootlesskit":"sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await me("Docker daemon logs",async()=>{let e=await Nr.powershellCommand(G_());await de.exec(e.command,e.args)}),await me("Removing Docker context",async()=>{await ur.exec(["context","rm","-f",this.contextName])}),await me("Stopping Docker daemon service",async()=>{await de.exec("powershell",["-Command","Stop-Service -Name docker -Force"])})}downloadURL(e,r,s){let n=t.platformOS(),i=t.platformArch();return`https://download.docker.com/${n}/static/${s}/${i}/${e}-${r}${n==="win"?".zip":".tgz"}`}static platformOS(){switch(Wr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Wr.default.platform()}}static platformArch(){switch(Wr.default.arch()){case"x64":return"x86_64";case"ppc64":return"ppc64le";case"arm64":return"aarch64";case"arm":{let e=process.config.variables.arm_version;switch(e){case 6:return"armel";case 7:return"armhf";default:return`v${e}`}}default:return Wr.default.arch()}}static async limaInstalled(){return await nt("lima",!0).then(e=>(b(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Wr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Wr.default.arch()}`}}static async qemuInstalled(){return await nt(await t.qemuBin(),!0).then(e=>(b(`docker.Install.qemuInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.qemuInstalled error: ${e}`),!1))}static async getRelease(e,r){let n=await new Ea({token:r}).releases("Docker",{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/docker-releases.json"});if(!n[e]){if(!n["v"+e])throw new Error(`Cannot find Docker release ${e} in releases JSON`);return n["v"+e]}return n[e]}static limaNeedsQemu(){let e=(process.env.LIMA_START_ARGS||"").match(/(?:[^\s"]|"[^"]*")+/g)||[],{values:r}=(0,wZ.parseArgs)({args:e.map(s=>s.replace(/"/g,"")),options:{"vm-type":{type:"string"},set:{type:"string"}},strict:!1,allowPositionals:!0});return r.set!==void 0||r["vm-type"]!=="vz"}static limaCustomImages(){let e=[],r=process.env.LIMA_IMAGES;if(!r)return e;for(let s of Nr.getList(r,{ignoreComma:!0,comment:"#"})){let n=s.indexOf(":"),i=s.substring(0,n).trim(),a=s.indexOf("@"),c=s.substring(n+1,a!==-1?a:void 0).trim(),l=a!==-1?s.substring(a+1).trim():"";e.push({location:c,arch:i,digest:l})}return e}async imageConfig(e,r){let n=(await this.regctl.manifestGet({image:e,platform:r}))?.config?.digest;if(!n)throw new Error(`No config digest found for image ${e}`);let i=await this.regctl.blobGet({repository:e,digest:n});return JSON.parse(i)}async brewInstall(e,r){let s=Object.assign({},process.env,{HOMEBREW_NO_AUTO_UPDATE:"1",HOMEBREW_NO_INSTALL_UPGRADE:"1",HOMEBREW_NO_INSTALL_CLEANUP:"1"});await me(`Installing ${e}`,async()=>{if(!r)await de.exec("brew",["install",e]);else{let n="docker-actions-toolkit/tap";await de.getExecOutput("brew",["tap"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(`
`))if(A.includes(n))return!0;return!1})||await de.exec("brew",["tap-new",n],{env:s});let a=await de.getExecOutput("brew",["--repo",n],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);return u.stdout.trim()}),c=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${r}/Formula/${e.charAt(0)}/${e}.rb`;await Za(c,vt.default.join(a,"Formula",`${e}.rb`)),await de.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(`
`))if(A.trim()==e)return!0;return!1})&&await de.exec("brew",["uninstall",e,"--ignore-dependencies"],{env:s}),await de.exec("brew",["install",`${n}/${e}`],{env:s})}})}};var rh=w(require("fs"),1),wo=w(require("os"),1),UB=w(require("path"),1);var GB=w(eh(),1),H_=w(require("util"),1);var qB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=GB.clean(i)||"";if(!GB.valid(a))throw new Error(`Invalid regclient version "${i}".`);let c=new Ti({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:UB.default.join(wo.default.homedir(),".bin"),cacheFile:wo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return N(`regctl binary found in ${l}`),l;let u=H_.format(s.downloadURL,i,this.filename());N(`Downloading ${u}`);let A=await Za(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d=await c.save(A);return N(`Cached to ${d}`),d}async install(e,r){r=r||Jr.tmpDir();let s=UB.default.join(r,"regctl-bin");rh.default.existsSync(s)||rh.default.mkdirSync(s,{recursive:!0});let n=wo.default.platform()=="win32"?"regctl.exe":"regctl",i=UB.default.join(s,n);return rh.default.copyFileSync(e,i),N("Fixing perms"),rh.default.chmodSync(i,"0755"),Jl(s),N("Added regctl to PATH"),N(`Binary path: ${i}`),i}filename(){let e;switch(wo.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let n=process.config.variables.arm_version;e=n?"armv"+n:"arm";break}default:{e=wo.default.arch();break}}let r=wo.default.platform()=="win32"?"windows":wo.default.platform(),s=wo.default.platform()=="win32"?".exe":"";return H_.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return N(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}static async getRelease(e,r){let n=await new Ea({token:r}).releases("regclient",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return n[e.version]}};var sh=w(require("fs"),1),vn=w(require("os"),1),nh=w(require("path"),1);var zB=w(eh(),1),z_=w(require("util"),1);var HB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=zB.clean(i)||"";if(!zB.valid(a))throw new Error(`Invalid Undock version "${i}".`);let c=new Ti({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:nh.default.join(vn.default.homedir(),".bin"),cacheFile:vn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return N(`Undock binary found in ${l}`),l;let u=z_.format(s.downloadURL,i,this.filename(i));N(`Downloading ${u}`);let A=await Za(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d;vn.default.platform()=="win32"?d=await Sg(A):d=await Ng(A),N(`Extracted to ${d}`);let p=nh.default.join(d,vn.default.platform()=="win32"?"undock.exe":"undock");b(`Install.download exePath: ${p}`);let m=await c.save(p);return N(`Cached to ${m}`),m}async install(e,r){r=r||Jr.tmpDir();let s=nh.default.join(r,"undock-bin");sh.default.existsSync(s)||sh.default.mkdirSync(s,{recursive:!0});let n=vn.default.platform()=="win32"?"undock.exe":"undock",i=nh.default.join(s,n);return sh.default.copyFileSync(e,i),N("Fixing perms"),sh.default.chmodSync(i,"0755"),Jl(s),N("Added Undock to PATH"),N(`Binary path: ${i}`),i}filename(e){let r;switch(vn.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;r=i?"armv"+i:"arm";break}default:{r=vn.default.arch();break}}let s=vn.default.platform()=="win32"?"windows":vn.default.platform(),n=vn.default.platform()=="win32"?".zip":".tar.gz";return z_.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return N(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}static async getRelease(e,r){let n=await new Ea({token:r}).releases("Undock",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find Undock release ${e.version} iLine truncated
EOF`,[],{env:i,detached:!0,shell:!0,stdio:["ignore",process.stdout,process.stderr]})).unref(),await Rr.sleep(3);let d=10;await(0,a7.default)(async p=>{try{await ue.getExecOutput("docker version",void 0,{silent:!0,env:Object.assign({},i,{DOCKER_HOST:e,DOCKER_CONTENT_TRUST:"false"})})}catch(m){p(m)}},{retries:d,minTimeout:1e3,onRetry:o((p,m)=>{S(`${p}. Retrying (${m}/${d})...`)},"onRetry")}),S("Docker daemon started started successfully")}),await fe("Create Docker context",async()=>{await dr.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await dr.exec(["context","use",this.contextName])}),e}async installWindows(){let e="npipe:////./pipe/setup_docker_action",r,s=Tt.default.join(this.runDir,"daemon.json");Wt.default.existsSync(s)&&(await fe("Default Docker daemon config found",async()=>{S(JSON.stringify(JSON.parse(Wt.default.readFileSync(s,{encoding:"utf8"})),null,2))}),r=JSON.parse(Wt.default.readFileSync(s,{encoding:"utf8"}))),this.daemonConfig&&(r=Object.assign(r||{},JSON.parse(this.daemonConfig)));let n="{}";r&&(n=JSON.stringify(r,null,2),await fe("Docker daemon config",async()=>{S(n)}));let i={ToolDir:this.toolDir,RunDir:this.runDir,DockerHostSocket:e,DaemonConfig:n};return this.localTCPPort&&(i.DockerHostTCP=`tcp://127.0.0.1:${this.localTCPPort}`),await fe("Install Docker daemon service",async()=>{let a=await Rr.powershellCommand(e7(),i);await ue.exec(a.command,a.args);let c=await Rr.powershellCommand(cL());await ue.exec(c.command,c.args)}),await fe("Create Docker context",async()=>{await dr.exec(["context","create",this.contextName,"--docker",`host=${e}`]),await dr.exec(["context","use",this.contextName])}),e}async tearDown(){if(!this.runDir)throw new Error("runDir must be set");switch(Zr.default.platform()){case"darwin":{await this.tearDownDarwin();break}case"linux":{await this.tearDownLinux();break}case"win32":{await this.tearDownWindows();break}default:throw new Error(`Unsupported platform: ${Zr.default.platform()}`)}await fe("Cleaning up toolDir",async()=>{this._toolDir&&Wt.default.rmSync(this._toolDir,{recursive:!0,force:!0})})}async tearDownDarwin(){await this.printDarwinDiagnostics(),await fe("Stopping lima instance",async()=>{await ue.exec("limactl",["stop","--tty=false",this.limaInstanceName,"--force"])}),await fe("Removing lima instance",async()=>{await ue.exec("limactl",["delete","--tty=false",this.limaInstanceName,"--force"])}),await fe("Removing Docker context",async()=>{await dr.exec(["context","rm","-f",this.contextName])}),await fe("Cleaning up runDir",async()=>{await ue.exec("sudo",["rm","-rf",this.runDir])})}async printDarwinDiagnostics(){await this.printDarwinGuestCommandOutput("Cloud-init output log",["sudo","cat","/var/log/cloud-init-output.log"]),await this.printDarwinGuestCommandOutput("Cloud-init status",["sudo","timeout","300s","cloud-init","status","--wait"]),await this.printDarwinGuestCommandOutput("Docker unit file",["sudo","systemctl","cat","docker.service"]),await this.printDarwinGuestCommandOutput("Docker service status",["sudo","systemctl","status","docker.service","docker.socket","-l","--no-pager"]),await this.printDarwinGuestCommandOutput("Archive install script log",["sudo","cat","/var/log/docker-actions-toolkit-archive-install.log"]),await this.printDarwinGuestCommandOutput("Docker daemon logs",["sudo","journalctl","-u","docker.service","-l","--no-pager"])}async printDarwinGuestCommandOutput(e,r){await fe(e,async()=>{let s=await ue.getExecOutput("limactl",["shell","--tty=false",this.limaInstanceName,...r],{ignoreReturnCode:!0,silent:!0}).catch(i=>{S(`Failed to get ${e}: ${i}`)});if(!s)return;let n=[s.stdout.trim(),s.stderr.trim()].filter(Boolean).join(`
`);n.length>0?S(n):s.exitCode!==0&&S(`${e} exited with code ${s.exitCode}`)})}async tearDownLinux(){await fe("Docker daemon logs",async()=>{let e=[Tt.default.join(this.runDir,"dockerd.log")];await ue.exec(this.rootless?"cat":"sudo",this.rootless?e:["cat",...e],{ignoreReturnCode:!0})}),await fe("Stopping Docker daemon",async()=>{let e=["-s","SIGTERM",Wt.default.readFileSync(Tt.default.join(this.runDir,"docker.pid")).toString().trim()];await ue.exec(this.rootless?"kill":"sudo",this.rootless?e:["kill",...e]),await Rr.sleep(5)}),await fe("Removing Docker context",async()=>{await dr.exec(["context","rm","-f",this.contextName])}),await fe("Cleaning up runDir",async()=>{await ue.exec(this.rootless?"rootlesskit":"sudo",["rm","-rf",this.runDir],{ignoreReturnCode:!0,failOnStdErr:!1})})}async tearDownWindows(){await fe("Docker daemon logs",async()=>{let e=await Rr.powershellCommand(cL());await ue.exec(e.command,e.args)}),await fe("Removing Docker context",async()=>{await dr.exec(["context","rm","-f",this.contextName])}),await fe("Stopping Docker daemon service",async()=>{await ue.exec("powershell",["-Command","Stop-Service -Name docker -Force"])})}downloadURL(e,r,s){let n=t.platformOS(),i=t.platformArch();return`https://download.docker.com/${n}/static/${s}/${i}/${e}-${r}${n==="win"?".zip":".tgz"}`}static platformOS(){switch(Zr.default.platform()){case"darwin":return"mac";case"linux":return"linux";case"win32":return"win";default:return Zr.default.platform()}}static platformArch(){switch(Zr.default.arch()){case"x64":return"x86_64";case"ppc64":return"ppc64le";case"arm64":return"aarch64";case"arm":{let e=process.config.variables.arm_version;switch(e){case 6:return"armel";case 7:return"armhf";default:return`v${e}`}}default:return Zr.default.arch()}}static async limaInstalled(){return await rt("lima",!0).then(e=>(b(`docker.Install.limaInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.limaInstalled error: ${e}`),!1))}static async qemuBin(){switch(Zr.default.arch()){case"x64":return"qemu-system-x86_64";case"arm64":return"qemu-system-aarch64";default:return`qemu-system-${Zr.default.arch()}`}}static async qemuInstalled(){return await rt(await t.qemuBin(),!0).then(e=>(b(`docker.Install.qemuInstalled ok: ${e}`),!0)).catch(e=>(b(`docker.Install.qemuInstalled error: ${e}`),!1))}static async getRelease(e,r){let n=await new Ia({token:r}).releases("Docker",{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/docker-releases.json"});if(!n[e]){if(!n["v"+e])throw new Error(`Cannot find Docker release ${e} in releases JSON`);return n["v"+e]}return n[e]}static limaNeedsQemu(){let e=(process.env.LIMA_START_ARGS||"").match(/(?:[^\s"]|"[^"]*")+/g)||[],{values:r}=(0,o7.parseArgs)({args:e.map(s=>s.replace(/"/g,"")),options:{"vm-type":{type:"string"},set:{type:"string"}},strict:!1,allowPositionals:!0});return r.set!==void 0||r["vm-type"]!=="vz"}static limaCustomImages(){let e=[],r=process.env.LIMA_IMAGES;if(!r)return e;for(let s of Rr.getList(r,{ignoreComma:!0,comment:"#"})){let n=s.indexOf(":"),i=s.substring(0,n).trim(),a=s.indexOf("@"),c=s.substring(n+1,a!==-1?a:void 0).trim(),l=a!==-1?s.substring(a+1).trim():"";e.push({location:c,arch:i,digest:l})}return e}async imageConfig(e,r){let n=(await this.regctl.manifestGet({image:e,platform:r}))?.config?.digest;if(!n)throw new Error(`No config digest found for image ${e}`);let i=await this.regctl.blobGet({repository:e,digest:n});return JSON.parse(i)}async brewInstall(e,r){let s=Object.assign({},process.env,{HOMEBREW_NO_AUTO_UPDATE:"1",HOMEBREW_NO_INSTALL_UPGRADE:"1",HOMEBREW_NO_INSTALL_CLEANUP:"1"});await fe(`Installing ${e}`,async()=>{if(!r)await ue.exec("brew",["install",e]);else{let n="docker-actions-toolkit/tap";await ue.getExecOutput("brew",["tap"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(`
`))if(A.includes(n))return!0;return!1})||await ue.exec("brew",["tap-new",n],{env:s});let a=await ue.getExecOutput("brew",["--repo",n],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);return u.stdout.trim()}),c=`https://raw.githubusercontent.com/Homebrew/homebrew-core/${r}/Formula/${e.charAt(0)}/${e}.rb`;await ic(c,Tt.default.join(a,"Formula",`${e}.rb`)),await ue.getExecOutput("brew",["ls","-1"],{ignoreReturnCode:!0,silent:!0,env:s}).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(u.stderr);for(let A of u.stdout.trim().split(`
`))if(A.trim()==e)return!0;return!1})&&await ue.exec("brew",["uninstall",e,"--ignore-dependencies"],{env:s}),await ue.exec("brew",["install",`${n}/${e}`],{env:s})}})}};var lh=w(require("fs"),1),wo=w(require("os"),1),JB=w(require("path"),1);var jB=w(ah(),1),lL=w(require("util"),1);var WB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=jB.clean(i)||"";if(!jB.valid(a))throw new Error(`Invalid regclient version "${i}".`);let c=new Pi({htcName:"regctl-dl-bin",htcVersion:i,baseCacheDir:JB.default.join(wo.default.homedir(),".bin"),cacheFile:wo.default.platform()=="win32"?"regctl.exe":"regctl",ghaNoCache:r}),l=await c.find();if(l)return S(`regctl binary found in ${l}`),l;let u=lL.format(s.downloadURL,i,this.filename());S(`Downloading ${u}`);let A=await ic(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d=await c.save(A);return S(`Cached to ${d}`),d}async install(e,r){r=r||Kr.tmpDir();let s=JB.default.join(r,"regctl-bin");lh.default.existsSync(s)||lh.default.mkdirSync(s,{recursive:!0});let n=wo.default.platform()=="win32"?"regctl.exe":"regctl",i=JB.default.join(s,n);return lh.default.copyFileSync(e,i),S("Fixing perms"),lh.default.chmodSync(i,"0755"),su(s),S("Added regctl to PATH"),S(`Binary path: ${i}`),i}filename(){let e;switch(wo.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}case"arm":{let n=process.config.variables.arm_version;e=n?"armv"+n:"arm";break}default:{e=wo.default.arch();break}}let r=wo.default.platform()=="win32"?"windows":wo.default.platform(),s=wo.default.platform()=="win32"?".exe":"";return lL.format("regctl-%s-%s%s",r,e,s)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return S(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/regclient/regclient/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/regclient-releases.json"}}}static async getRelease(e,r){let n=await new Ia({token:r}).releases("regclient",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find regclient release ${e.version} in releases JSON`);return n[e.version]}};var uh=w(require("fs"),1),kn=w(require("os"),1),Ah=w(require("path"),1);var XB=w(ah(),1),uL=w(require("util"),1);var KB=class t{static{o(this,"Install")}githubToken;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let s=await t.getDownloadVersion(e);b(`Install.download version: ${s.version}`);let n=await t.getRelease(s,this.githubToken);b(`Install.download release tag name: ${n.tag_name}`);let i=await this.vspec(n.tag_name);b(`Install.download vspec: ${i}`);let a=XB.clean(i)||"";if(!XB.valid(a))throw new Error(`Invalid Undock version "${i}".`);let c=new Pi({htcName:"undock-dl-bin",htcVersion:i,baseCacheDir:Ah.default.join(kn.default.homedir(),".bin"),cacheFile:kn.default.platform()=="win32"?"undock.exe":"undock",ghaNoCache:r}),l=await c.find();if(l)return S(`Undock binary found in ${l}`),l;let u=uL.format(s.downloadURL,i,this.filename(i));S(`Downloading ${u}`);let A=await ic(u,void 0,this.githubToken);b(`Install.download htcDownloadPath: ${A}`);let d;kn.default.platform()=="win32"?d=await Lg(A):d=await _g(A),S(`Extracted to ${d}`);let p=Ah.default.join(d,kn.default.platform()=="win32"?"undock.exe":"undock");b(`Install.download exePath: ${p}`);let m=await c.save(p);return S(`Cached to ${m}`),m}async install(e,r){r=r||Kr.tmpDir();let s=Ah.default.join(r,"undock-bin");uh.default.existsSync(s)||uh.default.mkdirSync(s,{recursive:!0});let n=kn.default.platform()=="win32"?"undock.exe":"undock",i=Ah.default.join(s,n);return uh.default.copyFileSync(e,i),S("Fixing perms"),uh.default.chmodSync(i,"0755"),su(s),S("Added Undock to PATH"),S(`Binary path: ${i}`),i}filename(e){let r;switch(kn.default.arch()){case"x64":{r="amd64";break}case"ppc64":{r="ppc64le";break}case"arm":{let i=process.config.variables.arm_version;r=i?"armv"+i:"arm";break}default:{r=kn.default.arch();break}}let s=kn.default.platform()=="win32"?"windows":kn.default.platform(),n=kn.default.platform()=="win32"?".zip":".tar.gz";return uL.format("undock_%s_%s_%s%s",e,s,r,n)}async vspec(e){let r=e.replace(/^v+|v+$/g,"");return S(`Use ${r} version spec cache key for ${e}`),r}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/crazy-max/undock/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/undock-releases.json"}}}static async getRelease(e,r){let n=await new Ia({token:r}).releases("Undock",e.contentOpts);if(!n[e.version])throw new Error(`Cannot find Undock release ${e.version} iLine truncated
/*! Bundled license information:
undici/lib/web/fetch/body.js:
Generated Vendored
+4 -4
View File
@@ -1,7 +1,7 @@
{
"version": 3,
"sources": ["../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/undici/lib/core/symbols.js", "../node_modules/undici/lib/core/errors.js", "../node_modules/undici/lib/core/constants.js", "../node_modules/undici/lib/core/tree.js", "../node_modules/undici/lib/core/util.js", "../node_modules/undici/lib/core/diagnostics.js", "../node_modules/undici/lib/core/request.js", "../node_modules/undici/lib/dispatcher/dispatcher.js", "../node_modules/undici/lib/dispatcher/dispatcher-base.js", "../node_modules/undici/lib/util/timers.js", "../node_modules/undici/lib/core/connect.js", "../node_modules/undici/lib/llhttp/utils.js", "../node_modules/undici/lib/llhttp/constants.js", "../node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/undici/lib/web/fetch/constants.js", "../node_modules/undici/lib/web/fetch/global.js", "../node_modules/undici/lib/web/fetch/data-url.js", "../node_modules/undici/lib/web/fetch/webidl.js", "../node_modules/undici/lib/web/fetch/util.js", "../node_modules/undici/lib/web/fetch/symbols.js", "../node_modules/undici/lib/web/fetch/file.js", "../node_modules/undici/lib/web/fetch/formdata.js", "../node_modules/undici/lib/web/fetch/formdata-parser.js", "../node_modules/undici/lib/web/fetch/body.js", "../node_modules/undici/lib/dispatcher/client-h1.js", "../node_modules/undici/lib/dispatcher/client-h2.js", "../node_modules/undici/lib/handler/redirect-handler.js", "../node_modules/undici/lib/interceptor/redirect-interceptor.js", "../node_modules/undici/lib/dispatcher/client.js", "../node_modules/undici/lib/dispatcher/fixed-queue.js", "../node_modules/undici/lib/dispatcher/pool-stats.js", "../node_modules/undici/lib/dispatcher/pool-base.js", "../node_modules/undici/lib/dispatcher/pool.js", "../node_modules/undici/lib/dispatcher/balanced-pool.js", "../node_modules/undici/lib/dispatcher/agent.js", "../node_modules/undici/lib/dispatcher/proxy-agent.js", "../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js", "../node_modules/undici/lib/handler/retry-handler.js", "../node_modules/undici/lib/dispatcher/retry-agent.js", "../node_modules/undici/lib/api/readable.js", "../node_modules/undici/lib/api/util.js", "../node_modules/undici/lib/api/api-request.js", "../node_modules/undici/lib/api/abort-signal.js", "../node_modules/undici/lib/api/api-stream.js", "../node_modules/undici/lib/api/api-pipeline.js", "../node_modules/undici/lib/api/api-upgrade.js", "../node_modules/undici/lib/api/api-connect.js", "../node_modules/undici/lib/api/index.js", "../node_modules/undici/lib/mock/mock-errors.js", "../node_modules/undici/lib/mock/mock-symbols.js", "../node_modules/undici/lib/mock/mock-utils.js", "../node_modules/undici/lib/mock/mock-interceptor.js", "../node_modules/undici/lib/mock/mock-client.js", "../node_modules/undici/lib/mock/mock-pool.js", "../node_modules/undici/lib/mock/pluralizer.js", "../node_modules/undici/lib/mock/pending-interceptors-formatter.js", "../node_modules/undici/lib/mock/mock-agent.js", "../node_modules/undici/lib/global.js", "../node_modules/undici/lib/handler/decorator-handler.js", "../node_modules/undici/lib/interceptor/redirect.js", "../node_modules/undici/lib/interceptor/retry.js", "../node_modules/undici/lib/interceptor/dump.js", "../node_modules/undici/lib/interceptor/dns.js", "../node_modules/undici/lib/web/fetch/headers.js", "../node_modules/undici/lib/web/fetch/response.js", "../node_modules/undici/lib/web/fetch/dispatcher-weakref.js", "../node_modules/undici/lib/web/fetch/request.js", "../node_modules/undici/lib/web/fetch/index.js", "../node_modules/undici/lib/web/fileapi/symbols.js", "../node_modules/undici/lib/web/fileapi/progressevent.js", "../node_modules/undici/lib/web/fileapi/encoding.js", "../node_modules/undici/lib/web/fileapi/util.js", "../node_modules/undici/lib/web/fileapi/filereader.js", "../node_modules/undici/lib/web/cache/symbols.js", "../node_modules/undici/lib/web/cache/util.js", "../node_modules/undici/lib/web/cache/cache.js", "../node_modules/undici/lib/web/cache/cachestorage.js", "../node_modules/undici/lib/web/cookies/constants.js", "../node_modules/undici/lib/web/cookies/util.js", "../node_modules/undici/lib/web/cookies/parse.js", "../node_modules/undici/lib/web/cookies/index.js", "../node_modules/undici/lib/web/websocket/events.js", "../node_modules/undici/lib/web/websocket/constants.js", "../node_modules/undici/lib/web/websocket/symbols.js", "../node_modules/undici/lib/web/websocket/util.js", "../node_modules/undici/lib/web/websocket/frame.js", "../node_modules/undici/lib/web/websocket/connection.js", "../node_modules/undici/lib/web/websocket/permessage-deflate.js", "../node_modules/undici/lib/web/websocket/receiver.js", "../node_modules/undici/lib/web/websocket/sender.js", "../node_modules/undici/lib/web/websocket/websocket.js", "../node_modules/undici/lib/web/eventsource/util.js", "../node_modules/undici/lib/web/eventsource/eventsource-stream.js",Line truncated
"sourcesContent": ["'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('Line truncated
"mappings": "ooBAAA,IAAAA,GAAAC,EAAAC,IAAA,cAEA,IAAIC,IAAM,QAAQ,KAAK,EACnBC,GAAM,QAAQ,KAAK,EACnBC,GAAO,QAAQ,MAAM,EACrBC,GAAQ,QAAQ,OAAO,EACvBC,GAAS,QAAQ,QAAQ,EACzBC,IAAS,QAAQ,QAAQ,EACzBC,GAAO,QAAQ,MAAM,EAGzBP,GAAQ,aAAeQ,GACvBR,GAAQ,cAAgBS,GACxBT,GAAQ,cAAgBU,GACxBV,GAAQ,eAAiBW,GAGzB,SAASH,GAAaI,EAAS,CAC7B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACdU,CACT,CAJSE,EAAAP,GAAA,gBAMT,SAASC,GAAcG,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACrBU,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAN,GAAA,iBAQT,SAASC,GAAcE,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACfS,CACT,CAJSE,EAAAL,GAAA,iBAMT,SAASC,GAAeC,EAAS,CAC/B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACtBS,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAJ,GAAA,kBAST,SAASG,GAAeF,EAAS,CAC/B,IAAIK,EAAO,KACXA,EAAK,QAAUL,GAAW,CAAC,EAC3BK,EAAK,aAAeA,EAAK,QAAQ,OAAS,CAAC,EAC3CA,EAAK,WAAaA,EAAK,QAAQ,YAAcd,GAAK,MAAM,kBACxDc,EAAK,SAAW,CAAC,EACjBA,EAAK,QAAU,CAAC,EAEhBA,EAAK,GAAG,OAAQF,EAAA,SAAgBG,EAAQC,EAAMC,EAAMC,EAAc,CAEhE,QADIT,EAAUU,GAAUH,EAAMC,EAAMC,CAAY,EACvCE,EAAI,EAAGC,EAAMP,EAAK,SAAS,OAAQM,EAAIC,EAAK,EAAED,EAAG,CACxD,IAAIE,EAAUR,EAAK,SAASM,CAAC,EAC7B,GAAIE,EAAQ,OAASb,EAAQ,MAAQa,EAAQ,OAASb,EAAQ,KAAM,CAGlEK,EAAK,SAAS,OAAOM,EAAG,CAAC,EACzBE,EAAQ,QAAQ,SAASP,CAAM,EAC/B,MACF,CACF,CACAA,EAAO,QAAQ,EACfD,EAAK,aAAaC,CAAM,CAC1B,EAdgB,SAcf,CACH,CAvBSH,EAAAD,GAAA,kBAwBTP,GAAK,SAASO,GAAgBT,GAAO,YAAY,EAEjDS,GAAe,UAAU,WAAaC,EAAA,SAAoBW,EAAKP,EAAMC,EAAMC,EAAc,CACvF,IAAIJ,EAAO,KACPL,EAAUe,GAAa,CAAC,QAASD,CAAG,EAAGT,EAAK,QAASK,GAAUH,EAAMC,EAAMC,CAAY,CAAC,EAE5F,GAAIJ,EAAK,QAAQ,QAAU,KAAK,WAAY,CAE1CA,EAAK,SAAS,KAAKL,CAAO,EAC1B,MACF,CAGAK,EAAK,aAAaL,EAAS,SAASM,EAAQ,CAC1CA,EAAO,GAAG,OAAQU,CAAM,EACxBV,EAAO,GAAG,QAASW,CAAe,EAClCX,EAAO,GAAG,cAAeW,CAAe,EACxCH,EAAI,SAASR,CAAM,EAEnB,SAASU,GAAS,CAChBX,EAAK,KAAK,OAAQC,EAAQN,CAAO,CACnC,CAFSG,EAAAa,EAAA,UAIT,SAASC,EAAgBC,EAAK,CAC5Bb,EAAK,aAAaC,CAAM,EACxBA,EAAO,eAAe,OAAQU,CAAM,EACpCV,EAAO,eAAe,QAASW,CAAe,EAC9CX,EAAO,eAAe,cAAeW,CAAe,CACtD,CALSd,EAAAc,EAAA,kBAMX,CAAC,CACH,EA5BsC,cA8BtCf,GAAe,UAAU,aAAeC,EAAA,SAAsBH,EAASmB,EAAI,CACzE,IAAId,EAAO,KACPe,EAAc,CAAC,EACnBf,EAAK,QAAQ,KAAKe,CAAW,EAE7B,IAAIC,EAAiBN,GAAa,CAAC,EAAGV,EAAK,aAAc,CACvD,OAAQ,UACR,KAAML,EAAQ,KAAO,IAAMA,EAAQ,KACnC,MAAO,GACP,QAAS,CACP,KAAMA,EAAQ,KAAO,IAAMA,EAAQ,IACrC,CACF,CAAC,EACGA,EAAQ,eACVqB,EAAe,aAAerB,EAAQ,cAEpCqB,EAAe,YACjBA,EAAe,QAAUA,EAAe,SAAW,CAAC,EACpDA,EAAe,QAAQ,qBAAqB,EAAI,SAC5C,IAAI,OAAOA,EAAe,SAAS,EAAE,SAAS,QAAQ,GAG5DC,GAAM,wBAAwB,EAC9B,IAAIC,EAAalB,EAAK,QAAQgB,CAAc,EAC5CE,EAAW,4BAA8B,GACzCA,EAAW,KAAK,WAAYC,CAAU,EACtCD,EAAW,KAAK,UAAWE,CAAS,EACpCF,EAAW,KAAK,UAAWG,CAAS,EACpCH,EAAW,KAAK,QAASI,CAAO,EAChCJ,EAAW,IAAI,EAEf,SAASC,EAAWI,EAAK,CAEvBA,EAAI,QAAU,EAChB,CAHSzB,EAAAqB,EAAA,cAKT,SAASC,EAAUG,EAAKtB,EAAQuB,EAAM,CAEpC,QAAQ,SAAS,UAAW,CAC1BH,EAAUE,EAAKtB,EAAQuB,CAAI,CAC7B,CAAC,CACH,CALS1B,EAAAsB,EAAA,aAOT,SAASC,EAAUE,EAAKtB,EAAQuB,EAAM,CAIpC,GAHAN,EAAW,mBAAmB,EAC9BjB,EAAO,mBAAmB,EAEtBsB,EAAI,aAAe,IAAK,CAC1BN,GAAM,2DACJM,EAAI,UAAU,EAChBtB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,yDACJF,EAAI,UAAU,EAChCE,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,GAAIS,EAAK,OAAS,EAAG,CACnBP,GAAM,sCAAsC,EAC5ChB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,sCAAsC,EAC5DA,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,OAAAE,GAAM,sCAAsC,EAC5CjB,EAAK,QAAQA,EAAK,QAAQ,QAAQe,CAAW,CAAC,EAAId,EAC3Ca,EAAGb,CAAM,CAClB,CA3BSH,EAAAuB,EAAA,aA6BT,SAASC,EAAQI,EAAO,CACtBR,EAAW,mBAAmB,EAE9BD,GAAM;AAAA,EACAS,EAAM,QAASA,EAAM,KAAK,EAChC,IAAID,EAAQ,IAAI,MAAM,oDACWC,EAAM,OAAO,EAC9CD,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,CAC/B,CAVSjB,EAAAwB,EAAA,UAWX,EAnFwC,gBAqFxCzB,GAAe,UAAU,aAAeC,EAAA,SAAsBG,EAAQ,CACpE,IAAI0B,EAAM,KAAK,QAAQ,QAAQ1B,CAAM,EACrC,GAAI0B,IAAQ,GAGZ,MAAK,QAAQ,OAAOA,EAAK,CAAC,EAE1B,IAAInB,EAAU,KAAK,SAAS,MAAM,EAC9BA,GAGF,KAAK,aAAaA,EAAS,SAASP,EAAQ,CAC1CO,EAAQ,QAAQ,SAASP,CAAM,CACjC,CAAC,EAEL,EAfwC,gBAiBxC,SAASF,GAAmBJ,EAASmB,EAAI,CACvC,IAAId,EAAO,KACXH,GAAe,UAAU,aAAa,KAAKG,EAAML,EAAS,SAASM,EAAQ,CACzE,IAAI2B,EAAajC,EAAQ,QAAQ,UAAU,MAAM,EAC7CkC,EAAanB,GAAa,CAAC,EAAGV,EAAK,QAAS,CAC9C,OAAQC,EACR,WAAY2B,EAAaA,EAAW,QAAQ,OAAQ,EAAE,EAAIjC,EAAQ,IACpE,CAAC,EAGGmC,EAAe7C,GAAI,QAAQ,EAAG4C,CAAU,EAC5C7B,EAAK,QAAQA,EAAK,QAAQ,QAAQC,CAAM,CAAC,EAAI6B,EAC7ChB,EAAGgB,CAAY,CACjB,CAAC,CACH,CAdShC,EAAAC,GAAA,sBAiBT,SAASM,GAAUH,EAAMC,EAAMC,EAAc,CAC3C,OAAI,OAAOF,GAAS,SACX,CACL,KAAMA,EACN,KAAMC,EACN,aAAcC,CAChB,EAEKF,CACT,CATSJ,EAAAO,GAAA,aAWT,SAASK,GAAaqB,EAAQ,CAC5B,QAASzB,EAAI,EAAGC,EAAM,UAAU,OAAQD,EAAIC,EAAK,EAAED,EAAG,CACpD,IAAI0B,EAAY,UAAU1B,CAAC,EAC3B,GAAI,OAAO0B,GAAc,SAEvB,QADIC,EAAO,OAAO,KAAKD,CAAS,EACvBE,EAAI,EAAGC,EAASF,EAAK,OAAQC,EAAIC,EAAQ,EAAED,EAAG,CACrD,IAAIE,EAAIH,EAAKC,CAAC,EACVF,EAAUI,CAAC,IAAM,SACnBL,EAAOK,CAAC,EAAIJ,EAAUI,CAAC,EAE3B,CAEJ,CACA,OAAOL,CACT,CAdSjC,EAAAY,GAAA,gBAiBT,IAAIO,GACA,QAAQ,IAAI,YAAc,aAAa,KAAK,QAAQ,IAAI,UAAU,EACpEA,GAAQnB,EAAA,UAAW,CACjB,IAAIuC,EAAO,MAAM,UAAU,MAAM,KAAK,SAAS,EAC3C,OAAOA,EAAK,CAAC,GAAM,SACrBA,EAAK,CAAC,EAAI,WALine truncated
"names": ["require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "__name", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "require_symbols", "__commonJSMin", "exports", "module", "require_errors", "__commonJSMin", "exports", "module", "kUndiciError", "UndiciError", "__name", "message", "instance", "kConnectTimeoutError", "ConnectTimeoutError", "kHeadersTimeoutError", "HeadersTimeoutError", "kHeadersOverflowError", "HeadersOverflowError", "kBodyTimeoutError", "BodyTimeoutError", "kResponseStatusCodeError", "ResponseStatusCodeError", "statusCode", "headers", "body", "kInvalidArgumentError", "InvalidArgumentError", "kInvalidReturnValueError", "InvalidReturnValueError", "kAbortError", "AbortError", "kRequestAbortedError", "RequestAbortedError", "kInformationalError", "InformationalError", "kRequestContentLengthMismatchError", "RequestContentLengthMismatchError", "kResponseContentLengthMismatchError", "ResponseContentLengthMismatchError", "kClientDestroyedError", "ClientDestroyedError", "kClientClosedError", "ClientClosedError", "kSocketError", "SocketError", "socket", "kNotSupportedError", "NotSupportedError", "kBalancedPoolMissingUpstreamError", "BalancedPoolMissingUpstreamError", "kHTTPParserError", "HTTPParserError", "code", "data", "kResponseExceededMaxSizeError", "ResponseExceededMaxSizeError", "kRequestRetryError", "RequestRetryError", "kResponseError", "ResponseError", "kSecureProxyConnectionError", "SecureProxyConnectionError", "cause", "options", "kMessageSizeExceededError", "MessageSizeExceededError", "require_constants", "__commonJSMin", "exports", "module", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_tree", "__commonJSMin", "exports", "module", "wellknownHeaderNames", "headerNameLowerCasedRecord", "TstNode", "_TstNode", "__name", "key", "value", "index", "length", "node", "code", "keylength", "TernarySearchTree", "tree", "i", "require_util", "__commonJSMin", "exports", "module", "assert", "kDestroyed", "kBodyUsed", "kListeners", "kBody", "IncomingMessage", "stream", "net", "Blob", "nodeUtil", "stringify", "EE", "InvalidArgumentError", "headerNameLowerCasedRecord", "tree", "nodeMajor", "nodeMinor", "v", "BodyAsyncIterable", "__name", "body", "wrapRequestBody", "isStream", "bodyLength", "isIterable", "nop", "obj", "isBlobLike", "object", "sTag", "buildURL", "url", "queryParams", "stringified", "isValidPort", "port", "value", "isHttpOrHttpsPrefixed", "parseURL", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "state", "isBuffer", "isDestroyed", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "bufferToLowerCasedHeaderName", "parseHeaders", "headers", "i", "key", "headersValue", "x", "parseRawHeaders", "len", "ret", "hasContentLength", "contentDispositionIdx", "kLen", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "ReadableStreamFrom", "iterable", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "addAbortListener", "signal", "listener", "hasToWellFormed", "hasIsWellFormed", "toUSVString", "isUSVString", "isTokenCharCode", "c", "isValidHTTPToken", "characters", "headerCharRegex", "isValidHeaderValue", "parseRangeHeader", "range", "addListener", "name", "removeAllListeners", "errorRequest", "client", "request", "kEnumerableProperty", "normalizedMethodRecordsBase", "normalizedMethodRecords", "require_diagnostics", "__commonJSMin", "exports", "module", "diagnosticsChannel", "util", "undiciDebugLog", "fetchDebuglog", "websocketDebuglog", "isClientSet", "channels", "debuglog", "evt", "version", "protocol", "port", "host", "error", "method", "path", "origin", "statusCode", "address", "websocket", "code", "reason", "err", "require_request", "__commonJSMin", "exports", "module", "InvalidArgumentError", "NotSupportedError", "assert", "isValidHTTPToken", "isValidHeaderValue", "isStream", "destroy", "isBuffer", "isFormDataLike", "isIterable", "isBlobLike", "buildURL", "validateHandler", "getServerName", "normalizedMethodRecords", "channels", "headerNameLowerCasedRecord", "invalidPathRegex", "kHandler", "Request", "__name", "origin", "path", "method", "body", "headers", "query", "idempotent", "blocking", "upgrade", "headersTimeout", "bodyTimeout", "resetLine truncated
"sources": ["../node_modules/tunnel/lib/tunnel.js", "../node_modules/tunnel/index.js", "../node_modules/undici/lib/core/symbols.js", "../node_modules/undici/lib/core/errors.js", "../node_modules/undici/lib/core/constants.js", "../node_modules/undici/lib/core/tree.js", "../node_modules/undici/lib/core/util.js", "../node_modules/undici/lib/core/diagnostics.js", "../node_modules/undici/lib/core/request.js", "../node_modules/undici/lib/dispatcher/dispatcher.js", "../node_modules/undici/lib/dispatcher/dispatcher-base.js", "../node_modules/undici/lib/util/timers.js", "../node_modules/undici/lib/core/connect.js", "../node_modules/undici/lib/llhttp/utils.js", "../node_modules/undici/lib/llhttp/constants.js", "../node_modules/undici/lib/llhttp/llhttp-wasm.js", "../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js", "../node_modules/undici/lib/web/fetch/constants.js", "../node_modules/undici/lib/web/fetch/global.js", "../node_modules/undici/lib/web/fetch/data-url.js", "../node_modules/undici/lib/web/fetch/webidl.js", "../node_modules/undici/lib/web/fetch/util.js", "../node_modules/undici/lib/web/fetch/symbols.js", "../node_modules/undici/lib/web/fetch/file.js", "../node_modules/undici/lib/web/fetch/formdata.js", "../node_modules/undici/lib/web/fetch/formdata-parser.js", "../node_modules/undici/lib/web/fetch/body.js", "../node_modules/undici/lib/dispatcher/client-h1.js", "../node_modules/undici/lib/dispatcher/client-h2.js", "../node_modules/undici/lib/handler/redirect-handler.js", "../node_modules/undici/lib/interceptor/redirect-interceptor.js", "../node_modules/undici/lib/dispatcher/client.js", "../node_modules/undici/lib/dispatcher/fixed-queue.js", "../node_modules/undici/lib/dispatcher/pool-stats.js", "../node_modules/undici/lib/dispatcher/pool-base.js", "../node_modules/undici/lib/dispatcher/pool.js", "../node_modules/undici/lib/dispatcher/balanced-pool.js", "../node_modules/undici/lib/dispatcher/agent.js", "../node_modules/undici/lib/dispatcher/proxy-agent.js", "../node_modules/undici/lib/dispatcher/env-http-proxy-agent.js", "../node_modules/undici/lib/handler/retry-handler.js", "../node_modules/undici/lib/dispatcher/retry-agent.js", "../node_modules/undici/lib/api/readable.js", "../node_modules/undici/lib/api/util.js", "../node_modules/undici/lib/api/api-request.js", "../node_modules/undici/lib/api/abort-signal.js", "../node_modules/undici/lib/api/api-stream.js", "../node_modules/undici/lib/api/api-pipeline.js", "../node_modules/undici/lib/api/api-upgrade.js", "../node_modules/undici/lib/api/api-connect.js", "../node_modules/undici/lib/api/index.js", "../node_modules/undici/lib/mock/mock-errors.js", "../node_modules/undici/lib/mock/mock-symbols.js", "../node_modules/undici/lib/mock/mock-utils.js", "../node_modules/undici/lib/mock/mock-interceptor.js", "../node_modules/undici/lib/mock/mock-client.js", "../node_modules/undici/lib/mock/mock-pool.js", "../node_modules/undici/lib/mock/pluralizer.js", "../node_modules/undici/lib/mock/pending-interceptors-formatter.js", "../node_modules/undici/lib/mock/mock-agent.js", "../node_modules/undici/lib/global.js", "../node_modules/undici/lib/handler/decorator-handler.js", "../node_modules/undici/lib/interceptor/redirect.js", "../node_modules/undici/lib/interceptor/retry.js", "../node_modules/undici/lib/interceptor/dump.js", "../node_modules/undici/lib/interceptor/dns.js", "../node_modules/undici/lib/web/fetch/headers.js", "../node_modules/undici/lib/web/fetch/response.js", "../node_modules/undici/lib/web/fetch/dispatcher-weakref.js", "../node_modules/undici/lib/web/fetch/request.js", "../node_modules/undici/lib/web/fetch/index.js", "../node_modules/undici/lib/web/fileapi/symbols.js", "../node_modules/undici/lib/web/fileapi/progressevent.js", "../node_modules/undici/lib/web/fileapi/encoding.js", "../node_modules/undici/lib/web/fileapi/util.js", "../node_modules/undici/lib/web/fileapi/filereader.js", "../node_modules/undici/lib/web/cache/symbols.js", "../node_modules/undici/lib/web/cache/util.js", "../node_modules/undici/lib/web/cache/cache.js", "../node_modules/undici/lib/web/cache/cachestorage.js", "../node_modules/undici/lib/web/cookies/constants.js", "../node_modules/undici/lib/web/cookies/util.js", "../node_modules/undici/lib/web/cookies/parse.js", "../node_modules/undici/lib/web/cookies/index.js", "../node_modules/undici/lib/web/websocket/events.js", "../node_modules/undici/lib/web/websocket/constants.js", "../node_modules/undici/lib/web/websocket/symbols.js", "../node_modules/undici/lib/web/websocket/util.js", "../node_modules/undici/lib/web/websocket/frame.js", "../node_modules/undici/lib/web/websocket/connection.js", "../node_modules/undici/lib/web/websocket/permessage-deflate.js", "../node_modules/undici/lib/web/websocket/receiver.js", "../node_modules/undici/lib/web/websocket/sender.js", "../node_modules/undici/lib/web/websocket/websocket.js", "../node_modules/undici/lib/web/eventsource/util.js", "../node_modules/undici/lib/web/eventsource/eventsource-stream.js",Line truncated
"sourcesContent": ["'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('Line truncated
"mappings": "ooBAAA,IAAAA,GAAAC,EAAAC,IAAA,cAEA,IAAIC,IAAM,QAAQ,KAAK,EACnBC,GAAM,QAAQ,KAAK,EACnBC,GAAO,QAAQ,MAAM,EACrBC,GAAQ,QAAQ,OAAO,EACvBC,GAAS,QAAQ,QAAQ,EACzBC,IAAS,QAAQ,QAAQ,EACzBC,GAAO,QAAQ,MAAM,EAGzBP,GAAQ,aAAeQ,GACvBR,GAAQ,cAAgBS,GACxBT,GAAQ,cAAgBU,GACxBV,GAAQ,eAAiBW,GAGzB,SAASH,GAAaI,EAAS,CAC7B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACdU,CACT,CAJSE,EAAAP,GAAA,gBAMT,SAASC,GAAcG,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACrBU,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAN,GAAA,iBAQT,SAASC,GAAcE,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACfS,CACT,CAJSE,EAAAL,GAAA,iBAMT,SAASC,GAAeC,EAAS,CAC/B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACtBS,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAJ,GAAA,kBAST,SAASG,GAAeF,EAAS,CAC/B,IAAIK,EAAO,KACXA,EAAK,QAAUL,GAAW,CAAC,EAC3BK,EAAK,aAAeA,EAAK,QAAQ,OAAS,CAAC,EAC3CA,EAAK,WAAaA,EAAK,QAAQ,YAAcd,GAAK,MAAM,kBACxDc,EAAK,SAAW,CAAC,EACjBA,EAAK,QAAU,CAAC,EAEhBA,EAAK,GAAG,OAAQF,EAAA,SAAgBG,EAAQC,EAAMC,EAAMC,EAAc,CAEhE,QADIT,EAAUU,GAAUH,EAAMC,EAAMC,CAAY,EACvCE,EAAI,EAAGC,EAAMP,EAAK,SAAS,OAAQM,EAAIC,EAAK,EAAED,EAAG,CACxD,IAAIE,EAAUR,EAAK,SAASM,CAAC,EAC7B,GAAIE,EAAQ,OAASb,EAAQ,MAAQa,EAAQ,OAASb,EAAQ,KAAM,CAGlEK,EAAK,SAAS,OAAOM,EAAG,CAAC,EACzBE,EAAQ,QAAQ,SAASP,CAAM,EAC/B,MACF,CACF,CACAA,EAAO,QAAQ,EACfD,EAAK,aAAaC,CAAM,CAC1B,EAdgB,SAcf,CACH,CAvBSH,EAAAD,GAAA,kBAwBTP,GAAK,SAASO,GAAgBT,GAAO,YAAY,EAEjDS,GAAe,UAAU,WAAaC,EAAA,SAAoBW,EAAKP,EAAMC,EAAMC,EAAc,CACvF,IAAIJ,EAAO,KACPL,EAAUe,GAAa,CAAC,QAASD,CAAG,EAAGT,EAAK,QAASK,GAAUH,EAAMC,EAAMC,CAAY,CAAC,EAE5F,GAAIJ,EAAK,QAAQ,QAAU,KAAK,WAAY,CAE1CA,EAAK,SAAS,KAAKL,CAAO,EAC1B,MACF,CAGAK,EAAK,aAAaL,EAAS,SAASM,EAAQ,CAC1CA,EAAO,GAAG,OAAQU,CAAM,EACxBV,EAAO,GAAG,QAASW,CAAe,EAClCX,EAAO,GAAG,cAAeW,CAAe,EACxCH,EAAI,SAASR,CAAM,EAEnB,SAASU,GAAS,CAChBX,EAAK,KAAK,OAAQC,EAAQN,CAAO,CACnC,CAFSG,EAAAa,EAAA,UAIT,SAASC,EAAgBC,EAAK,CAC5Bb,EAAK,aAAaC,CAAM,EACxBA,EAAO,eAAe,OAAQU,CAAM,EACpCV,EAAO,eAAe,QAASW,CAAe,EAC9CX,EAAO,eAAe,cAAeW,CAAe,CACtD,CALSd,EAAAc,EAAA,kBAMX,CAAC,CACH,EA5BsC,cA8BtCf,GAAe,UAAU,aAAeC,EAAA,SAAsBH,EAASmB,EAAI,CACzE,IAAId,EAAO,KACPe,EAAc,CAAC,EACnBf,EAAK,QAAQ,KAAKe,CAAW,EAE7B,IAAIC,EAAiBN,GAAa,CAAC,EAAGV,EAAK,aAAc,CACvD,OAAQ,UACR,KAAML,EAAQ,KAAO,IAAMA,EAAQ,KACnC,MAAO,GACP,QAAS,CACP,KAAMA,EAAQ,KAAO,IAAMA,EAAQ,IACrC,CACF,CAAC,EACGA,EAAQ,eACVqB,EAAe,aAAerB,EAAQ,cAEpCqB,EAAe,YACjBA,EAAe,QAAUA,EAAe,SAAW,CAAC,EACpDA,EAAe,QAAQ,qBAAqB,EAAI,SAC5C,IAAI,OAAOA,EAAe,SAAS,EAAE,SAAS,QAAQ,GAG5DC,GAAM,wBAAwB,EAC9B,IAAIC,EAAalB,EAAK,QAAQgB,CAAc,EAC5CE,EAAW,4BAA8B,GACzCA,EAAW,KAAK,WAAYC,CAAU,EACtCD,EAAW,KAAK,UAAWE,CAAS,EACpCF,EAAW,KAAK,UAAWG,CAAS,EACpCH,EAAW,KAAK,QAASI,CAAO,EAChCJ,EAAW,IAAI,EAEf,SAASC,EAAWI,EAAK,CAEvBA,EAAI,QAAU,EAChB,CAHSzB,EAAAqB,EAAA,cAKT,SAASC,EAAUG,EAAKtB,EAAQuB,EAAM,CAEpC,QAAQ,SAAS,UAAW,CAC1BH,EAAUE,EAAKtB,EAAQuB,CAAI,CAC7B,CAAC,CACH,CALS1B,EAAAsB,EAAA,aAOT,SAASC,EAAUE,EAAKtB,EAAQuB,EAAM,CAIpC,GAHAN,EAAW,mBAAmB,EAC9BjB,EAAO,mBAAmB,EAEtBsB,EAAI,aAAe,IAAK,CAC1BN,GAAM,2DACJM,EAAI,UAAU,EAChBtB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,yDACJF,EAAI,UAAU,EAChCE,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,GAAIS,EAAK,OAAS,EAAG,CACnBP,GAAM,sCAAsC,EAC5ChB,EAAO,QAAQ,EACf,IAAIwB,EAAQ,IAAI,MAAM,sCAAsC,EAC5DA,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,EAC7B,MACF,CACA,OAAAE,GAAM,sCAAsC,EAC5CjB,EAAK,QAAQA,EAAK,QAAQ,QAAQe,CAAW,CAAC,EAAId,EAC3Ca,EAAGb,CAAM,CAClB,CA3BSH,EAAAuB,EAAA,aA6BT,SAASC,EAAQI,EAAO,CACtBR,EAAW,mBAAmB,EAE9BD,GAAM;AAAA,EACAS,EAAM,QAASA,EAAM,KAAK,EAChC,IAAID,EAAQ,IAAI,MAAM,oDACWC,EAAM,OAAO,EAC9CD,EAAM,KAAO,aACb9B,EAAQ,QAAQ,KAAK,QAAS8B,CAAK,EACnCzB,EAAK,aAAae,CAAW,CAC/B,CAVSjB,EAAAwB,EAAA,UAWX,EAnFwC,gBAqFxCzB,GAAe,UAAU,aAAeC,EAAA,SAAsBG,EAAQ,CACpE,IAAI0B,EAAM,KAAK,QAAQ,QAAQ1B,CAAM,EACrC,GAAI0B,IAAQ,GAGZ,MAAK,QAAQ,OAAOA,EAAK,CAAC,EAE1B,IAAInB,EAAU,KAAK,SAAS,MAAM,EAC9BA,GAGF,KAAK,aAAaA,EAAS,SAASP,EAAQ,CAC1CO,EAAQ,QAAQ,SAASP,CAAM,CACjC,CAAC,EAEL,EAfwC,gBAiBxC,SAASF,GAAmBJ,EAASmB,EAAI,CACvC,IAAId,EAAO,KACXH,GAAe,UAAU,aAAa,KAAKG,EAAML,EAAS,SAASM,EAAQ,CACzE,IAAI2B,EAAajC,EAAQ,QAAQ,UAAU,MAAM,EAC7CkC,EAAanB,GAAa,CAAC,EAAGV,EAAK,QAAS,CAC9C,OAAQC,EACR,WAAY2B,EAAaA,EAAW,QAAQ,OAAQ,EAAE,EAAIjC,EAAQ,IACpE,CAAC,EAGGmC,EAAe7C,GAAI,QAAQ,EAAG4C,CAAU,EAC5C7B,EAAK,QAAQA,EAAK,QAAQ,QAAQC,CAAM,CAAC,EAAI6B,EAC7ChB,EAAGgB,CAAY,CACjB,CAAC,CACH,CAdShC,EAAAC,GAAA,sBAiBT,SAASM,GAAUH,EAAMC,EAAMC,EAAc,CAC3C,OAAI,OAAOF,GAAS,SACX,CACL,KAAMA,EACN,KAAMC,EACN,aAAcC,CAChB,EAEKF,CACT,CATSJ,EAAAO,GAAA,aAWT,SAASK,GAAaqB,EAAQ,CAC5B,QAASzB,EAAI,EAAGC,EAAM,UAAU,OAAQD,EAAIC,EAAK,EAAED,EAAG,CACpD,IAAI0B,EAAY,UAAU1B,CAAC,EAC3B,GAAI,OAAO0B,GAAc,SAEvB,QADIC,EAAO,OAAO,KAAKD,CAAS,EACvBE,EAAI,EAAGC,EAASF,EAAK,OAAQC,EAAIC,EAAQ,EAAED,EAAG,CACrD,IAAIE,EAAIH,EAAKC,CAAC,EACVF,EAAUI,CAAC,IAAM,SACnBL,EAAOK,CAAC,EAAIJ,EAAUI,CAAC,EAE3B,CAEJ,CACA,OAAOL,CACT,CAdSjC,EAAAY,GAAA,gBAiBT,IAAIO,GACA,QAAQ,IAAI,YAAc,aAAa,KAAK,QAAQ,IAAI,UAAU,EACpEA,GAAQnB,EAAA,UAAW,CACjB,IAAIuC,EAAO,MAAM,UAAU,MAAM,KAAK,SAAS,EAC3C,OAAOA,EAAK,CAAC,GAAM,SACrBA,EAAK,CAAC,EAAI,WALine truncated
"names": ["require_tunnel", "__commonJSMin", "exports", "net", "tls", "http", "https", "events", "assert", "util", "httpOverHttp", "httpsOverHttp", "httpOverHttps", "httpsOverHttps", "options", "agent", "TunnelingAgent", "__name", "createSecureSocket", "self", "socket", "host", "port", "localAddress", "toOptions", "i", "len", "pending", "req", "mergeOptions", "onFree", "onCloseOrRemove", "err", "cb", "placeholder", "connectOptions", "debug", "connectReq", "onResponse", "onUpgrade", "onConnect", "onError", "res", "head", "error", "cause", "pos", "hostHeader", "tlsOptions", "secureSocket", "target", "overrides", "keys", "j", "keyLen", "k", "args", "require_tunnel", "__commonJSMin", "exports", "module", "require_symbols", "__commonJSMin", "exports", "module", "require_errors", "__commonJSMin", "exports", "module", "kUndiciError", "UndiciError", "__name", "message", "instance", "kConnectTimeoutError", "ConnectTimeoutError", "kHeadersTimeoutError", "HeadersTimeoutError", "kHeadersOverflowError", "HeadersOverflowError", "kBodyTimeoutError", "BodyTimeoutError", "kResponseStatusCodeError", "ResponseStatusCodeError", "statusCode", "headers", "body", "kInvalidArgumentError", "InvalidArgumentError", "kInvalidReturnValueError", "InvalidReturnValueError", "kAbortError", "AbortError", "kRequestAbortedError", "RequestAbortedError", "kInformationalError", "InformationalError", "kRequestContentLengthMismatchError", "RequestContentLengthMismatchError", "kResponseContentLengthMismatchError", "ResponseContentLengthMismatchError", "kClientDestroyedError", "ClientDestroyedError", "kClientClosedError", "ClientClosedError", "kSocketError", "SocketError", "socket", "kNotSupportedError", "NotSupportedError", "kBalancedPoolMissingUpstreamError", "BalancedPoolMissingUpstreamError", "kHTTPParserError", "HTTPParserError", "code", "data", "kResponseExceededMaxSizeError", "ResponseExceededMaxSizeError", "kRequestRetryError", "RequestRetryError", "kResponseError", "ResponseError", "kSecureProxyConnectionError", "SecureProxyConnectionError", "cause", "options", "kMessageSizeExceededError", "MessageSizeExceededError", "require_constants", "__commonJSMin", "exports", "module", "headerNameLowerCasedRecord", "wellknownHeaderNames", "i", "key", "lowerCasedKey", "require_tree", "__commonJSMin", "exports", "module", "wellknownHeaderNames", "headerNameLowerCasedRecord", "TstNode", "_TstNode", "__name", "key", "value", "index", "length", "node", "code", "keylength", "TernarySearchTree", "tree", "i", "require_util", "__commonJSMin", "exports", "module", "assert", "kDestroyed", "kBodyUsed", "kListeners", "kBody", "IncomingMessage", "stream", "net", "Blob", "nodeUtil", "stringify", "EE", "InvalidArgumentError", "headerNameLowerCasedRecord", "tree", "nodeMajor", "nodeMinor", "v", "BodyAsyncIterable", "__name", "body", "wrapRequestBody", "isStream", "bodyLength", "isIterable", "nop", "obj", "isBlobLike", "object", "sTag", "buildURL", "url", "queryParams", "stringified", "isValidPort", "port", "value", "isHttpOrHttpsPrefixed", "parseURL", "origin", "path", "parseOrigin", "getHostname", "host", "idx", "getServerName", "servername", "deepClone", "isAsyncIterable", "state", "isBuffer", "isDestroyed", "destroy", "err", "KEEPALIVE_TIMEOUT_EXPR", "parseKeepAliveTimeout", "val", "m", "headerNameToString", "bufferToLowerCasedHeaderName", "parseHeaders", "headers", "i", "key", "headersValue", "x", "parseRawHeaders", "len", "ret", "hasContentLength", "contentDispositionIdx", "kLen", "n", "buffer", "validateHandler", "handler", "method", "upgrade", "isDisturbed", "isErrored", "isReadable", "getSocketInfo", "socket", "ReadableStreamFrom", "iterable", "iterator", "controller", "done", "buf", "reason", "isFormDataLike", "addAbortListener", "signal", "listener", "hasToWellFormed", "hasIsWellFormed", "toUSVString", "isUSVString", "isTokenCharCode", "c", "isValidHTTPToken", "characters", "headerCharRegex", "isValidHeaderValue", "parseRangeHeader", "range", "addListener", "name", "removeAllListeners", "errorRequest", "client", "request", "kEnumerableProperty", "normalizedMethodRecordsBase", "normalizedMethodRecords", "require_diagnostics", "__commonJSMin", "exports", "module", "diagnosticsChannel", "util", "undiciDebugLog", "fetchDebuglog", "websocketDebuglog", "isClientSet", "channels", "debuglog", "evt", "version", "protocol", "port", "host", "error", "method", "path", "origin", "statusCode", "address", "websocket", "code", "reason", "err", "require_request", "__commonJSMin", "exports", "module", "InvalidArgumentError", "NotSupportedError", "assert", "isValidHTTPToken", "isValidHeaderValue", "isStream", "destroy", "isBuffer", "isFormDataLike", "isIterable", "isBlobLike", "buildURL", "validateHandler", "getServerName", "normalizedMethodRecords", "channels", "headerNameLowerCasedRecord", "invalidPathRegex", "kHandler", "Request", "__name", "origin", "path", "method", "body", "headers", "query", "idempotent", "blocking", "upgrade", "headersTimeout", "bodyTimeout", "resetLine truncated
}
Generated Vendored
+123 -359
View File
@@ -216,7 +216,7 @@ Apache License
The following npm package may be included in this product:
- @docker/actions-toolkit@0.100.0
- @docker/actions-toolkit@0.109.0
This package contains the following license:
@@ -453,9 +453,10 @@ The following npm packages may be included in this product:
- @pkgjs/parseargs@0.11.0
- b4a@1.6.6
- b4a@1.9.0
- bare-events@2.3.1
- bare-events@2.8.3
- bare-fs@4.7.1
- bare-fs@4.8.4
- bare-os@3.9.1
- bare-stream@2.13.1
- bare-url@2.4.3
@@ -1541,13 +1542,8 @@ Apache License
The following npm packages may be included in this product:
- @protobuf-ts/plugin-framework@2.9.4
- @protobuf-ts/plugin@2.9.4
- @protobuf-ts/protoc@2.9.4
- @protobuf-ts/runtime-rpc@2.11.1
- @protobuf-ts/runtime-rpc@2.9.4
- @protobuf-ts/runtime@2.11.1
- @protobuf-ts/runtime@2.9.4
These packages each contain the following license:
@@ -1792,7 +1788,7 @@ SOFTWARE.
The following npm package may be included in this product:
- js-yaml@5.4.2
- js-yaml@5.5.0
This package contains the following license:
@@ -2006,6 +2002,37 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- content-type@3.1.1
This package contains the following license:
(The MIT License)
Copyright (c) 2015 Douglas Christopher Wilson
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- universal-user-agent@7.0.3
@@ -2090,6 +2117,7 @@ The following npm packages may be included in this product:
- jackspeak@3.4.0
- minimatch@10.2.5
- minimatch@10.2.6
These packages each contain the following license:
@@ -2197,269 +2225,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-----------
The following npm package may be included in this product:
- argparse@2.0.1
This package contains the following license:
A. HISTORY OF THE SOFTWARE
==========================
Python was created in the early 1990s by Guido van Rossum at Stichting
Mathematisch Centrum (CWI, see http://www.cwi.nl) in the Netherlands
as a successor of a language called ABC. Guido remains Python's
principal author, although it includes many contributions from others.
In 1995, Guido continued his work on Python at the Corporation for
National Research Initiatives (CNRI, see http://www.cnri.reston.va.us)
in Reston, Virginia where he released several versions of the
software.
In May 2000, Guido and the Python core development team moved to
BeOpen.com to form the BeOpen PythonLabs team. In October of the same
year, the PythonLabs team moved to Digital Creations, which became
Zope Corporation. In 2001, the Python Software Foundation (PSF, see
https://www.python.org/psf/) was formed, a non-profit organization
created specifically to own Python-related Intellectual Property.
Zope Corporation was a sponsoring member of the PSF.
All Python releases are Open Source (see http://www.opensource.org for
the Open Source Definition). Historically, most, but not all, Python
releases have also been GPL-compatible; the table below summarizes
the various releases.
Release Derived Year Owner GPL-
from compatible? (1)
0.9.0 thru 1.2 1991-1995 CWI yes
1.3 thru 1.5.2 1.2 1995-1999 CNRI yes
1.6 1.5.2 2000 CNRI no
2.0 1.6 2000 BeOpen.com no
1.6.1 1.6 2001 CNRI yes (2)
2.1 2.0+1.6.1 2001 PSF no
2.0.1 2.0+1.6.1 2001 PSF yes
2.1.1 2.1+2.0.1 2001 PSF yes
2.1.2 2.1.1 2002 PSF yes
2.1.3 2.1.2 2002 PSF yes
2.2 and above 2.1.1 2001-now PSF yes
Footnotes:
(1) GPL-compatible doesn't mean that we're distributing Python under
the GPL. All Python licenses, unlike the GPL, let you distribute
a modified version without making your changes open source. The
GPL-compatible licenses make it possible to combine Python with
other software that is released under the GPL; the others don't.
(2) According to Richard Stallman, 1.6.1 is not GPL-compatible,
because its license has a choice of law clause. According to
CNRI, however, Stallman's lawyer has told CNRI's lawyer that 1.6.1
is "not incompatible" with the GPL.
Thanks to the many outside volunteers who have worked under Guido's
direction to make these releases possible.
B. TERMS AND CONDITIONS FOR ACCESSING OR OTHERWISE USING PYTHON
===============================================================
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
--------------------------------------------
1. This LICENSE AGREEMENT is between the Python Software Foundation
("PSF"), and the Individual or Organization ("Licensee") accessing and
otherwise using this software ("Python") in source or binary form and
its associated documentation.
2. Subject to the terms and conditions of this License Agreement, PSF hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python alone or in any derivative version,
provided, however, that PSF's License Agreement and PSF's notice of copyright,
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020 Python Software Foundation;
All Rights Reserved" are retained in Python alone or in any derivative version
prepared by Licensee.
3. In the event Licensee prepares a derivative work that is based on
or incorporates Python or any part thereof, and wants to make
the derivative work available to others as provided herein, then
Licensee hereby agrees to include in any such work a brief summary of
the changes made to Python.
4. PSF is making Python available to Licensee on an "AS IS"
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.
7. Nothing in this License Agreement shall be deemed to create any
relationship of agency, partnership, or joint venture between PSF and
Licensee. This License Agreement does not grant permission to use PSF
trademarks or trade name in a trademark sense to endorse or promote
products or services of Licensee, or any third party.
8. By copying, installing or otherwise using Python, Licensee
agrees to be bound by the terms and conditions of this License
Agreement.
BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0
-------------------------------------------
BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1
1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an
office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the
Individual or Organization ("Licensee") accessing and otherwise using
this software in source or binary form and its associated
documentation ("the Software").
2. Subject to the terms and conditions of this BeOpen Python License
Agreement, BeOpen hereby grants Licensee a non-exclusive,
royalty-free, world-wide license to reproduce, analyze, test, perform
and/or display publicly, prepare derivative works, distribute, and
otherwise use the Software alone or in any derivative version,
provided, however, that the BeOpen Python License is retained in the
Software, alone or in any derivative version prepared by Licensee.
3. BeOpen is making the Software available to Licensee on an "AS IS"
basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.
4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE
SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS
AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY
DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
5. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.
6. This License Agreement shall be governed by and interpreted in all
respects by the law of the State of California, excluding conflict of
law provisions. Nothing in this License Agreement shall be deemed to
create any relationship of agency, partnership, or joint venture
between BeOpen and Licensee. This License Agreement does not grant
permission to use BeOpen trademarks or trade names in a trademark
sense to endorse or promote products or services of Licensee, or any
third party. As an exception, the "BeOpen Python" logos available at
http://www.pythonlabs.com/logos.html may be used according to the
permissions granted on that web page.
7. By copying, installing or otherwise using the software, Licensee
agrees to be bound by the terms and conditions of this License
Agreement.
CNRI LICENSE AGREEMENT FOR PYTHON 1.6.1
---------------------------------------
1. This LICENSE AGREEMENT is between the Corporation for National
Research Initiatives, having an office at 1895 Preston White Drive,
Reston, VA 20191 ("CNRI"), and the Individual or Organization
("Licensee") accessing and otherwise using Python 1.6.1 software in
source or binary form and its associated documentation.
2. Subject to the terms and conditions of this License Agreement, CNRI
hereby grants Licensee a nonexclusive, royalty-free, world-wide
license to reproduce, analyze, test, perform and/or display publicly,
prepare derivative works, distribute, and otherwise use Python 1.6.1
alone or in any derivative version, provided, however, that CNRI's
License Agreement and CNRI's notice of copyright, i.e., "Copyright (c)
1995-2001 Corporation for National Research Initiatives; All Rights
Reserved" are retained in Python 1.6.1 alone or in any derivative
version prepared by Licensee. Alternately, in lieu of CNRI's License
Agreement, Licensee may substitute the following text (omitting the
quotes): "Python 1.6.1 is made available subject to the terms and
conditions in CNRI's License Agreement. This Agreement together with
Python 1.6.1 may be located on the Internet using the following
unique, persistent identifier (known as a handle): 1895.22/1013. This
Agreement may also be obtained from a proxy server on the Internet
using the following URL: http://hdl.handle.net/1895.22/1013".
3. In the event Licensee prepares a derivative work that is based on
or incorporates Python 1.6.1 or any part thereof, and wants to make
the derivative work available to others as provided herein, then
Licensee hereby agrees to include in any such work a brief summary of
the changes made to Python 1.6.1.
4. CNRI is making Python 1.6.1 available to Licensee on an "AS IS"
basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6.1 WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.
5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
1.6.1 FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON 1.6.1,
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.
7. This License Agreement shall be governed by the federal
intellectual property law of the United States, including without
limitation the federal copyright law, and, to the extent such
U.S. federal law does not apply, by the law of the Commonwealth of
Virginia, excluding Virginia's conflict of law provisions.
Notwithstanding the foregoing, with regard to derivative works based
on Python 1.6.1 that incorporate non-separable material that was
previously distributed under the GNU General Public License (GPL), the
law of the Commonwealth of Virginia shall govern this License
Agreement only as to issues arising under or with respect to
Paragraphs 4, 5, and 7 of this License Agreement. Nothing in this
License Agreement shall be deemed to create any relationship of
agency, partnership, or joint venture between CNRI and Licensee. This
License Agreement does not grant permission to use CNRI trademarks or
trade name in a trademark sense to endorse or promote products or
services of Licensee, or any third party.
8. By clicking on the "ACCEPT" button where indicated, or by copying,
installing or otherwise using Python 1.6.1, Licensee agrees to be
bound by the terms and conditions of this License Agreement.
ACCEPT
CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2
--------------------------------------------------
Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam,
The Netherlands. All rights reserved.
Permission to use, copy, modify, and distribute this software and its
documentation for any purpose and without fee is hereby granted,
provided that the above copyright notice appear in all copies and that
both that copyright notice and this permission notice appear in
supporting documentation, and that the name of Stichting Mathematisch
Centrum or CWI not be used in advertising or publicity pertaining to
distribution of the software without specific, written prior
permission.
STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO
THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE
FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-----------
The following npm packages may be included in this product:
- @actions/http-client@3.0.2
@@ -2492,70 +2257,6 @@ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- typescript@3.9.10
This package contains the following license:
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files.
"Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions:
You must give any other recipients of the Work or Derivative Works a copy of this License; and
You must cause any modified files to carry prominent notices stating that You changed the files; and
You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and
If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
-----------
The following npm package may be included in this product:
- @sigstore/verify@4.1.2
@@ -2654,7 +2355,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
The following npm package may be included in this product:
- handlebars@4.7.9
- handlebars@4.7.10
This package contains the following license:
@@ -2889,11 +2590,13 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
The following npm packages may be included in this product:
- @octokit/openapi-types@27.0.0
- @octokit/openapi-types@28.0.0
- @octokit/openapi-types@29.0.1
This package contains the following license:
These packages each contain the following license:
Copyright (c) GitHub 2025 - Licensed as MIT.
@@ -3056,7 +2759,7 @@ The following npm packages may be included in this product:
- emoji-regex@8.0.0
- emoji-regex@9.2.2
- he@1.2.0
- he@2.0.0
These packages each contain the following license:
@@ -3214,12 +2917,11 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
-----------
The following npm packages may be included in this product:
The following npm package may be included in this product:
- brace-expansion@1.1.18
- brace-expansion@2.0.1
These packages each contain the following license:
This package contains the following license:
MIT License
@@ -3368,7 +3070,7 @@ SOFTWARE.
The following npm package may be included in this product:
- @octokit/plugin-retry@8.1.0
- @octokit/plugin-retry@8.1.1
This package contains the following license:
@@ -3458,11 +3160,12 @@ SOFTWARE.
-----------
The following npm package may be included in this product:
The following npm packages may be included in this product:
- json-with-bigint@3.5.12
- json-with-bigint@3.5.3
This package contains the following license:
These packages each contain the following license:
MIT License
@@ -3601,7 +3304,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
The following npm package may be included in this product:
- undici@6.28.1
- undici@6.29.1
This package contains the following license:
@@ -3677,11 +3380,12 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
-----------
The following npm package may be included in this product:
The following npm packages may be included in this product:
- brace-expansion@5.0.12
- brace-expansion@5.0.5
This package contains the following license:
These packages each contain the following license:
MIT License
@@ -3714,6 +3418,8 @@ The following npm packages may be included in this product:
- @octokit/plugin-paginate-rest@14.0.0
- @octokit/plugin-rest-endpoint-methods@17.0.0
- @octokit/types@16.0.0
- @octokit/types@17.0.0
- @octokit/types@18.0.0
These packages each contain the following license:
@@ -3867,6 +3573,62 @@ IN THE SOFTWARE.
-----------
The following npm package may be included in this product:
- argparse@3.0.3
This package contains the following license:
PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2
1. This LICENSE AGREEMENT is between the Python Software Foundation
("PSF"), and the Individual or Organization ("Licensee") accessing and
otherwise using this software ("Python") in source or binary form and
its associated documentation.
2. Subject to the terms and conditions of this License Agreement, PSF hereby
grants Licensee a nonexclusive, royalty-free, world-wide license to reproduce,
analyze, test, perform and/or display publicly, prepare derivative works,
distribute, and otherwise use Python alone or in any derivative version,
provided, however, that PSF's License Agreement and PSF's notice of copyright,
i.e., "Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010,
2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019 Python Software Foundation;
All Rights Reserved" are retained in Python alone or in any derivative version
prepared by Licensee.
3. In the event Licensee prepares a derivative work that is based on
or incorporates Python or any part thereof, and wants to make
the derivative work available to others as provided herein, then
Licensee hereby agrees to include in any such work a brief summary of
the changes made to Python.
4. PSF is making Python available to Licensee on an "AS IS"
basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR
IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND
DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS
FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT
INFRINGE ANY THIRD PARTY RIGHTS.
5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON
FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS
A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON,
OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF.
6. This License Agreement will automatically terminate upon a material
breach of its terms and conditions.
7. Nothing in this License Agreement shall be deemed to create any
relationship of agency, partnership, or joint venture between PSF and
Licensee. This License Agreement does not grant permission to use PSF
trademarks or trade name in a trademark sense to endorse or promote
products or services of Licensee, or any third party.
8. By copying, installing or otherwise using Python, Licensee
agrees to be bound by the terms and conditions of this License
Agreement.
-----------
The following npm package may be included in this product:
- glob@10.4.1
@@ -4065,11 +3827,10 @@ PERFORMANCE OF THIS SOFTWARE.
The following npm packages may be included in this product:
- isexe@2.0.0
- minimatch@3.1.2
- once@1.4.0
- semver@7.7.3
- semver@7.7.4
- semver@7.8.5
- semver@7.8.6
- which@2.0.2
- wrappy@1.0.2
@@ -4124,7 +3885,9 @@ ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEAL
The following npm packages may be included in this product:
- @octokit/endpoint@11.0.3
- @octokit/endpoint@11.0.5
- @octokit/graphql@9.0.3
- @octokit/request@10.0.16
- @octokit/request@10.0.8
These packages each contain the following license:
@@ -4158,6 +3921,7 @@ The following npm packages may be included in this product:
- @octokit/auth-token@6.0.0
- @octokit/core@7.0.6
- @octokit/request-error@7.1.0
- @octokit/request-error@7.1.2
These packages each contain the following license:
@@ -4185,11 +3949,12 @@ THE SOFTWARE.
-----------
The following npm package may be included in this product:
The following npm packages may be included in this product:
- csv-parse@7.0.2
- csv-parse@7.0.3
- csv-stringify@6.9.0
This package contains the following license:
These packages each contain the following license:
The MIT License (MIT)
@@ -4313,7 +4078,7 @@ The following npm packages may be included in this product:
- pump@2.0.1
- pumpify@1.5.1
- tar-stream@3.1.7
- tar-stream@3.2.1
- tar-stream@3.2.2
These packages each contain the following license:
@@ -4586,6 +4351,7 @@ The following npm packages may be included in this product:
- fast-fifo@1.3.2
- streamx@2.18.0
- streamx@2.26.0
- streamx@2.28.1
These packages each contain the following license:
@@ -4831,14 +4597,13 @@ THE SOFTWARE.
The following npm packages may be included in this product:
- @actions/artifact@6.2.1
- @actions/cache@6.2.0
- @actions/artifact@6.3.1
- @actions/cache@6.3.0
- @actions/core@3.0.0
- @actions/core@3.0.1
- @actions/exec@3.0.0
- @actions/github@9.0.0
- @actions/github@9.1.1
- @actions/glob@0.6.1
- @actions/glob@0.7.0
- @actions/io@3.0.2
- @actions/tool-cache@4.0.0
@@ -4934,7 +4699,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
The following npm packages may be included in this product:
- concat-map@0.0.1
- minimist@1.2.8
- wordwrap@1.0.0
+1 -1
View File
@@ -24,7 +24,7 @@
"packageManager": "yarn@4.15.0",
"dependencies": {
"@actions/core": "^3.0.1",
"@docker/actions-toolkit": "^0.100.0"
"@docker/actions-toolkit": "^0.109.0"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
+2 -2
View File
@@ -10,8 +10,8 @@ import {Install as UndockInstall} from '@docker/actions-toolkit/lib/undock/insta
import * as context from './context.js';
import * as stateHelper from './state-helper.js';
const regctlDefaultVersion = 'v0.11.6';
const undockDefaultVersion = 'v0.14.0';
const regctlDefaultVersion = 'v0.11.7';
const undockDefaultVersion = 'v0.14.1';
actionsToolkit.run(
// main
+238 -180
View File
@@ -12,42 +12,42 @@ __metadata:
languageName: node
linkType: hard
"@actions/artifact@npm:^6.2.1":
version: 6.2.1
resolution: "@actions/artifact@npm:6.2.1"
"@actions/artifact@npm:^6.3.1":
version: 6.3.1
resolution: "@actions/artifact@npm:6.3.1"
dependencies:
"@actions/core": "npm:^3.0.0"
"@actions/github": "npm:^9.0.0"
"@actions/http-client": "npm:^4.0.0"
"@azure/storage-blob": "npm:^12.30.0"
"@actions/core": "npm:^3.0.1"
"@actions/github": "npm:^9.1.1"
"@actions/http-client": "npm:^4.0.1"
"@azure/storage-blob": "npm:^12.31.0"
"@octokit/core": "npm:^7.0.6"
"@octokit/plugin-request-log": "npm:^6.0.0"
"@octokit/plugin-retry": "npm:^8.0.0"
"@octokit/request": "npm:^10.0.7"
"@octokit/plugin-retry": "npm:^8.1.0"
"@octokit/request": "npm:^10.0.8"
"@octokit/request-error": "npm:^7.1.0"
"@protobuf-ts/plugin": "npm:^2.2.3-alpha.1"
"@protobuf-ts/runtime": "npm:^2.9.4"
"@protobuf-ts/runtime": "npm:^2.11.1"
"@protobuf-ts/runtime-rpc": "npm:^2.11.1"
archiver: "npm:^7.0.1"
jwt-decode: "npm:^4.0.0"
unzip-stream: "npm:^0.3.1"
checksum: 10/1fad9b079ee2ab07f964b93bf7b4fc594d115199219baed74ac3bf2a8675e0b7ea57252eccbcdaaaa8fc8375742d23585cbd054f3b2d029c091817e0f257ce93
checksum: 10/1028ef2fb114b2980386c399d85356c7653234d70f9e5141663afd9f729bb27e1a5ec011523aa7dfd1986fba13a1308f1b63d7636bdb76feadf9d7b049ee3bc0
languageName: node
linkType: hard
"@actions/cache@npm:^6.2.0":
version: 6.2.0
resolution: "@actions/cache@npm:6.2.0"
"@actions/cache@npm:^6.3.0":
version: 6.3.0
resolution: "@actions/cache@npm:6.3.0"
dependencies:
"@actions/core": "npm:^3.0.1"
"@actions/exec": "npm:^3.0.0"
"@actions/glob": "npm:^0.6.1"
"@actions/glob": "npm:^0.7.0"
"@actions/http-client": "npm:^4.0.1"
"@actions/io": "npm:^3.0.2"
"@azure/core-rest-pipeline": "npm:^1.23.0"
"@azure/storage-blob": "npm:^12.31.0"
"@azure/core-rest-pipeline": "npm:~1.23.0"
"@azure/storage-blob": "npm:~12.31.0"
"@protobuf-ts/runtime-rpc": "npm:^2.11.1"
semver: "npm:^7.7.4"
checksum: 10/b2b3d219d3458b6b7e8f47ff6a83a0566f0b3cd5b257e307636d2147f892e595ce8cecbc0675590a57d0eb4d4d73564d08d28753baa50934ad59a65cbee2d8fa
semver: "npm:^7.8.5"
checksum: 10/3c81ba707401599944af64c22406b336e1302bb6d04ca3c5525c65629bd48063eccda40864750c5832b7bdc462f6e6cdb1df734983815c89d1cd4bb2b41a548f
languageName: node
linkType: hard
@@ -80,21 +80,6 @@ __metadata:
languageName: node
linkType: hard
"@actions/github@npm:^9.0.0":
version: 9.0.0
resolution: "@actions/github@npm:9.0.0"
dependencies:
"@actions/http-client": "npm:^3.0.2"
"@octokit/core": "npm:^7.0.6"
"@octokit/plugin-paginate-rest": "npm:^14.0.0"
"@octokit/plugin-rest-endpoint-methods": "npm:^17.0.0"
"@octokit/request": "npm:^10.0.7"
"@octokit/request-error": "npm:^7.1.0"
undici: "npm:^6.23.0"
checksum: 10/5d3b2790f7b67cb7b0ec4416e8b666fde69621bac5fff5e59737c8233f8ad09829471b5cab2c50faea60da39554c69d5e7e51e5ffc8e2c899fba32f47db15b9b
languageName: node
linkType: hard
"@actions/github@npm:^9.1.1":
version: 9.1.1
resolution: "@actions/github@npm:9.1.1"
@@ -110,13 +95,13 @@ __metadata:
languageName: node
linkType: hard
"@actions/glob@npm:^0.6.1":
version: 0.6.1
resolution: "@actions/glob@npm:0.6.1"
"@actions/glob@npm:^0.7.0":
version: 0.7.0
resolution: "@actions/glob@npm:0.7.0"
dependencies:
"@actions/core": "npm:^3.0.0"
minimatch: "npm:^3.0.4"
checksum: 10/343ca2ef8343fd5488fe277dc268b84017bb8b0c5e352215c4ce7181d07c86f0e1951b97e273b5a133a39596a6a8f1a5f06dbc87214fc440d729d3f03daa3b61
minimatch: "npm:^10.2.5"
checksum: 10/6fda1034a5e71db90776cce7ef298d15b77e82d2edd613b074efa3e8c59dc45527137d94ff7c6ef7a5a9c270f227b4b2b8c3312696599546ffe8497981a82ac0
languageName: node
linkType: hard
@@ -261,7 +246,7 @@ __metadata:
languageName: node
linkType: hard
"@azure/core-rest-pipeline@npm:^1.23.0":
"@azure/core-rest-pipeline@npm:~1.23.0":
version: 1.23.0
resolution: "@azure/core-rest-pipeline@npm:1.23.0"
dependencies:
@@ -335,7 +320,7 @@ __metadata:
languageName: node
linkType: hard
"@azure/storage-blob@npm:^12.30.0, @azure/storage-blob@npm:^12.31.0":
"@azure/storage-blob@npm:^12.31.0, @azure/storage-blob@npm:~12.31.0":
version: 12.31.0
resolution: "@azure/storage-blob@npm:12.31.0"
dependencies:
@@ -436,12 +421,12 @@ __metadata:
languageName: node
linkType: hard
"@docker/actions-toolkit@npm:^0.100.0":
version: 0.100.0
resolution: "@docker/actions-toolkit@npm:0.100.0"
"@docker/actions-toolkit@npm:^0.109.0":
version: 0.109.0
resolution: "@docker/actions-toolkit@npm:0.109.0"
dependencies:
"@actions/artifact": "npm:^6.2.1"
"@actions/cache": "npm:^6.2.0"
"@actions/artifact": "npm:^6.3.1"
"@actions/cache": "npm:^6.3.0"
"@actions/core": "npm:^3.0.1"
"@actions/exec": "npm:^3.0.0"
"@actions/github": "npm:^9.1.1"
@@ -452,16 +437,17 @@ __metadata:
"@sigstore/tuf": "npm:^5.0.0"
"@sigstore/verify": "npm:^4.1.2"
async-retry: "npm:^1.3.3"
csv-parse: "npm:^7.0.2"
csv-parse: "npm:^7.0.3"
csv-stringify: "npm:^6.9.0"
gunzip-maybe: "npm:^1.4.2"
handlebars: "npm:^4.7.9"
he: "npm:^1.2.0"
js-yaml: "npm:^5.4.1"
handlebars: "npm:^4.7.10"
he: "npm:^2.0.0"
js-yaml: "npm:^5.5.0"
jwt-decode: "npm:^4.0.0"
semver: "npm:^7.8.5"
tar-stream: "npm:^3.2.1"
semver: "npm:^7.8.6"
tar-stream: "npm:^3.2.2"
tmp: "npm:^0.2.7"
checksum: 10/74eaa1afb1887ed2974e403870205889844d42eb527550309819fd24b80484b92ebf95ba4ee01eef607b66acd655a8457fc25a6d27ff2f81e842705ff98b1976
checksum: 10/55a4c83878e7f729b186542fb84267b3fe667977c2efb9e336b913d9d9e57fa4af2e6642b35a4befeb12a9bfc87ed72c30927483a8b78d77534c9ff2920f3b89
languageName: node
linkType: hard
@@ -1303,6 +1289,16 @@ __metadata:
languageName: node
linkType: hard
"@octokit/endpoint@npm:^11.0.5":
version: 11.0.5
resolution: "@octokit/endpoint@npm:11.0.5"
dependencies:
"@octokit/types": "npm:^18.0.0"
universal-user-agent: "npm:^7.0.2"
checksum: 10/4f29564887c3e71269a7d79ba57c512a0289932a2b3c6e5f999d6a5360e1f6d08bb072466d9f5726a017d4be4d4c8e48ccaa66fe3b9ca97bd5f7faf9fd4208a9
languageName: node
linkType: hard
"@octokit/graphql@npm:^9.0.3":
version: 9.0.3
resolution: "@octokit/graphql@npm:9.0.3"
@@ -1321,6 +1317,20 @@ __metadata:
languageName: node
linkType: hard
"@octokit/openapi-types@npm:^28.0.0":
version: 28.0.0
resolution: "@octokit/openapi-types@npm:28.0.0"
checksum: 10/031cebd35b7a110771ab9909d4d2f8ac2dba7185b55ea2ba91dfa0736f397797c768b7c12b12290e9cb42f1dd1d157ffe829d2009be8542e227780e588a40c68
languageName: node
linkType: hard
"@octokit/openapi-types@npm:^29.0.1":
version: 29.0.1
resolution: "@octokit/openapi-types@npm:29.0.1"
checksum: 10/843b0ad4891152e0e22c3c6527602992448dc6aec92d9d90f5e9b5c4ceb440224e911d3fdb583be0af06d2db7b93b4bc5663450d8117b818df8e77c407af877d
languageName: node
linkType: hard
"@octokit/plugin-paginate-rest@npm:^14.0.0":
version: 14.0.0
resolution: "@octokit/plugin-paginate-rest@npm:14.0.0"
@@ -1352,16 +1362,16 @@ __metadata:
languageName: node
linkType: hard
"@octokit/plugin-retry@npm:^8.0.0":
version: 8.1.0
resolution: "@octokit/plugin-retry@npm:8.1.0"
"@octokit/plugin-retry@npm:^8.1.0":
version: 8.1.1
resolution: "@octokit/plugin-retry@npm:8.1.1"
dependencies:
"@octokit/request-error": "npm:^7.0.2"
"@octokit/types": "npm:^16.0.0"
"@octokit/request-error": "npm:^7.1.1"
"@octokit/types": "npm:^17.0.0"
bottleneck: "npm:^2.15.3"
peerDependencies:
"@octokit/core": ">=7"
checksum: 10/0bccaa14ef295ac5dc3e6fa96bb7c555b8b188dfe0bf1db5ea83acb29af375bf08a43e0d44c42941608afc6ab414b6dcdfb44881a8e8346b963d7501e0aea766
checksum: 10/ee42b70c04b6749362093bf79d3b5f4019a3a5e3cdf79e28e9d781e4a43242aa67781d1e71dba069646ea6a0b442e155403877493cd3e194e7045386b26023d7
languageName: node
linkType: hard
@@ -1374,6 +1384,15 @@ __metadata:
languageName: node
linkType: hard
"@octokit/request-error@npm:^7.1.1, @octokit/request-error@npm:^7.1.2":
version: 7.1.2
resolution: "@octokit/request-error@npm:7.1.2"
dependencies:
"@octokit/types": "npm:^18.0.0"
checksum: 10/cdc39ee0776b3ee149e3af6373a339f7e3eea98a712d83452db302eb7acd16187325a8be2853623c1215e629674c220395bb47937d8ce8a8a2fa757dc803c52d
languageName: node
linkType: hard
"@octokit/request@npm:^10.0.6, @octokit/request@npm:^10.0.7":
version: 10.0.8
resolution: "@octokit/request@npm:10.0.8"
@@ -1388,6 +1407,20 @@ __metadata:
languageName: node
linkType: hard
"@octokit/request@npm:^10.0.8":
version: 10.0.16
resolution: "@octokit/request@npm:10.0.16"
dependencies:
"@octokit/endpoint": "npm:^11.0.5"
"@octokit/request-error": "npm:^7.1.2"
"@octokit/types": "npm:^18.0.0"
content-type: "npm:^3.0.0"
json-with-bigint: "npm:^3.5.12"
universal-user-agent: "npm:^7.0.2"
checksum: 10/806f953a265ed7c3619cb36db5dec4a4e0f17de99fe96f186e1fda0a7de122a34b6e844a4e693a1ea39bc4dc5f9c9eed56fec344c712e0e2059f3dbbee493672
languageName: node
linkType: hard
"@octokit/types@npm:^16.0.0":
version: 16.0.0
resolution: "@octokit/types@npm:16.0.0"
@@ -1397,6 +1430,24 @@ __metadata:
languageName: node
linkType: hard
"@octokit/types@npm:^17.0.0":
version: 17.0.0
resolution: "@octokit/types@npm:17.0.0"
dependencies:
"@octokit/openapi-types": "npm:^28.0.0"
checksum: 10/38db90d8a2dde153b84a26b6ba2aa4e4a8ddda03dd13d6b4a6f075ffe850c946b6852ba77457e4de8c07b10d06f59d174223e69243c88ecb5cf6280ee541601e
languageName: node
linkType: hard
"@octokit/types@npm:^18.0.0":
version: 18.0.0
resolution: "@octokit/types@npm:18.0.0"
dependencies:
"@octokit/openapi-types": "npm:^29.0.1"
checksum: 10/40cdc058e18295d838f7f0680bf839d7622fe23e1467166a9d2df4b3a8dff995f088c3f132b0b789fb27213647f6dc3a84f286c099de5c4a5a0b858fb07b4e55
languageName: node
linkType: hard
"@pkgjs/parseargs@npm:^0.11.0":
version: 0.11.0
resolution: "@pkgjs/parseargs@npm:0.11.0"
@@ -1411,41 +1462,6 @@ __metadata:
languageName: node
linkType: hard
"@protobuf-ts/plugin-framework@npm:^2.9.4":
version: 2.9.4
resolution: "@protobuf-ts/plugin-framework@npm:2.9.4"
dependencies:
"@protobuf-ts/runtime": "npm:^2.9.4"
typescript: "npm:^3.9"
checksum: 10/08b309a5ab8bf7a35d125363a75c1e7213279b04927c0e804276326a6728ea4805e7ea09aa964b140b9c37fdf94c75ed3ccc1ec985aa84bcabe8d5327be85118
languageName: node
linkType: hard
"@protobuf-ts/plugin@npm:^2.2.3-alpha.1":
version: 2.9.4
resolution: "@protobuf-ts/plugin@npm:2.9.4"
dependencies:
"@protobuf-ts/plugin-framework": "npm:^2.9.4"
"@protobuf-ts/protoc": "npm:^2.9.4"
"@protobuf-ts/runtime": "npm:^2.9.4"
"@protobuf-ts/runtime-rpc": "npm:^2.9.4"
typescript: "npm:^3.9"
bin:
protoc-gen-dump: bin/protoc-gen-dump
protoc-gen-ts: bin/protoc-gen-ts
checksum: 10/6308ce7640fbdc62bb6d0238c90a7256a9cb702243ea73663d69dffeca019cff572f205a23846bd75347454693506c6d974db914c9fb29b31dd73fb6cbdf8c6d
languageName: node
linkType: hard
"@protobuf-ts/protoc@npm:^2.9.4":
version: 2.9.4
resolution: "@protobuf-ts/protoc@npm:2.9.4"
bin:
protoc: protoc.js
checksum: 10/f5309e895fe8121d784788bc256049e23b6c222ed4a3a482df27b48c0a9976c233c69721677b42173b34b151338790b5863b4303452d3baf9626f4a2e18df420
languageName: node
linkType: hard
"@protobuf-ts/runtime-rpc@npm:^2.11.1":
version: 2.11.1
resolution: "@protobuf-ts/runtime-rpc@npm:2.11.1"
@@ -1455,15 +1471,6 @@ __metadata:
languageName: node
linkType: hard
"@protobuf-ts/runtime-rpc@npm:^2.9.4":
version: 2.9.4
resolution: "@protobuf-ts/runtime-rpc@npm:2.9.4"
dependencies:
"@protobuf-ts/runtime": "npm:^2.9.4"
checksum: 10/c5344324885f0221743695fe153e513cea6b36f3564edbf9521b9dde63e68a174f2805f844a2518a2f12a44699e8d29570b8531b58f9db30321bb5d949e18ec9
languageName: node
linkType: hard
"@protobuf-ts/runtime@npm:^2.11.1":
version: 2.11.1
resolution: "@protobuf-ts/runtime@npm:2.11.1"
@@ -1471,13 +1478,6 @@ __metadata:
languageName: node
linkType: hard
"@protobuf-ts/runtime@npm:^2.9.4":
version: 2.9.4
resolution: "@protobuf-ts/runtime@npm:2.9.4"
checksum: 10/95f82bd7090320b6a1b68047171bd6db782b85d22e9cb1207f4dbebf196d4f0087ea779070a8f7ed9d8fd9c1503bed3648d4df64da6361975b5742c2222a456a
languageName: node
linkType: hard
"@rollup/rollup-android-arm-eabi@npm:4.59.0":
version: 4.59.0
resolution: "@rollup/rollup-android-arm-eabi@npm:4.59.0"
@@ -2297,6 +2297,13 @@ __metadata:
languageName: node
linkType: hard
"argparse@npm:^3.0.3":
version: 3.0.3
resolution: "argparse@npm:3.0.3"
checksum: 10/6834e247fe8a8d21a0061dc2b7134ae79625d9ab795eca043d8ba9434be3bc1e7d049c9a4aa01bd3d6bfc145b29addfb290d17b8b3f7b11710cc52ab13629f31
languageName: node
linkType: hard
"assertion-error@npm:^2.0.1":
version: 2.0.1
resolution: "assertion-error@npm:2.0.1"
@@ -2338,6 +2345,18 @@ __metadata:
languageName: node
linkType: hard
"b4a@npm:^1.9.0":
version: 1.9.0
resolution: "b4a@npm:1.9.0"
peerDependencies:
react-native-b4a: "*"
peerDependenciesMeta:
react-native-b4a:
optional: true
checksum: 10/9b52d2d6614b10cce3b5473472be17d6db189010f41e3b914b8a2eaf177eeec668edceaecc957a143a9a435c1c0549b7d70b8059e37fc07cbad0ac82d588c30c
languageName: node
linkType: hard
"balanced-match@npm:^1.0.0":
version: 1.0.2
resolution: "balanced-match@npm:1.0.2"
@@ -2371,9 +2390,9 @@ __metadata:
languageName: node
linkType: hard
"bare-fs@npm:^4.5.5":
version: 4.7.1
resolution: "bare-fs@npm:4.7.1"
"bare-fs@npm:^4.8.2":
version: 4.8.4
resolution: "bare-fs@npm:4.8.4"
dependencies:
bare-events: "npm:^2.5.4"
bare-path: "npm:^3.0.0"
@@ -2385,7 +2404,7 @@ __metadata:
peerDependenciesMeta:
bare-buffer:
optional: true
checksum: 10/bb873bf8d22c45fd14444b0f9731315a77b696c9387b09cc0df9975b998d1b5db9f4c88aa4b264ce59edeade573689ba9e0ba172003cc8900b2c2ad803f9275b
checksum: 10/b3bc1f2122aca3d63899c2b5d007e22e72636573be3dd2cc3a8c31c9fcc27a5b1e2fe7cc7db013cac7eea31835ca9dfd3b27156320c05085a736702413aa09b2
languageName: node
linkType: hard
@@ -2518,6 +2537,15 @@ __metadata:
languageName: node
linkType: hard
"brace-expansion@npm:^5.0.8":
version: 5.0.12
resolution: "brace-expansion@npm:5.0.12"
dependencies:
balanced-match: "npm:^4.0.2"
checksum: 10/65b550f1836e3b43f512f12afbc3be96616eee5c353e16d70181b7dffec8c08beabffb51d69a3bbdb27d675840725cbab025fda9d10716b5cda7dd864dc7bc4a
languageName: node
linkType: hard
"browserify-zlib@npm:^0.1.4":
version: 0.1.4
resolution: "browserify-zlib@npm:0.1.4"
@@ -2775,6 +2803,13 @@ __metadata:
languageName: node
linkType: hard
"content-type@npm:^3.0.0":
version: 3.1.1
resolution: "content-type@npm:3.1.1"
checksum: 10/97d3f22c21475ab05ea3b4a46044d573d281db5706f6268b95adbccdf4d05ebcb34c9517a27e1e60588d04eaf43dc78e7a5ad8f2aae47241caf4fae2fa957eba
languageName: node
linkType: hard
"core-util-is@npm:~1.0.0":
version: 1.0.3
resolution: "core-util-is@npm:1.0.3"
@@ -2838,10 +2873,17 @@ __metadata:
languageName: node
linkType: hard
"csv-parse@npm:^7.0.2":
version: 7.0.2
resolution: "csv-parse@npm:7.0.2"
checksum: 10/66158491d25b2070908c6d28130c1d439bec0e0d1ab3fad372973909e573bcc85a46ca317ae410f0178157f272112e3741b164aaf850d8241128c30ea2137670
"csv-parse@npm:^7.0.3":
version: 7.0.3
resolution: "csv-parse@npm:7.0.3"
checksum: 10/98d80273b47603cbf754f4b75e7ea769ea63eb83fa18e4c92061e64b3575694eb98151100ddbb907670e7210ef7eac594ef850ecd3f23119062eeb8d9a2e2684
languageName: node
linkType: hard
"csv-stringify@npm:^6.9.0":
version: 6.9.0
resolution: "csv-stringify@npm:6.9.0"
checksum: 10/af8bb8999ee023183fcec2b95693cb7fda90466e1961509936eda55886963e4e01ce9109fce7e22da4c2c42ebdaf8bcddf178974c5508e8e2ea12fe42670e524
languageName: node
linkType: hard
@@ -2897,7 +2939,7 @@ __metadata:
resolution: "docker-setup-docker@workspace:."
dependencies:
"@actions/core": "npm:^3.0.1"
"@docker/actions-toolkit": "npm:^0.100.0"
"@docker/actions-toolkit": "npm:^0.109.0"
"@eslint/js": "npm:^9.39.3"
"@types/node": "npm:^24.11.0"
"@typescript-eslint/eslint-plugin": "npm:^8.56.1"
@@ -3738,11 +3780,11 @@ __metadata:
languageName: node
linkType: hard
"handlebars@npm:^4.7.9":
version: 4.7.9
resolution: "handlebars@npm:4.7.9"
"handlebars@npm:^4.7.10":
version: 4.7.10
resolution: "handlebars@npm:4.7.10"
dependencies:
minimist: "npm:^1.2.5"
minimist: "npm:^1.2.8"
neo-async: "npm:^2.6.2"
source-map: "npm:^0.6.1"
uglify-js: "npm:^3.1.4"
@@ -3752,7 +3794,7 @@ __metadata:
optional: true
bin:
handlebars: bin/handlebars
checksum: 10/e755433d652e8a15fc02f83d7478e652359e7a4d354c4328818853ed4f8a39d4a09e1d22dad3c7213c5240864a65b3c840970b8b181745575dd957dd258f2b8d
checksum: 10/e7df9b9986594384de11ea27d2f9c694f90dca9ff768ac28851b4cf89f6268a3177ec50c9bb1601c8841f67bee25598b37bdcd53d1f7acd3744619f938ad1f53
languageName: node
linkType: hard
@@ -3770,12 +3812,12 @@ __metadata:
languageName: node
linkType: hard
"he@npm:^1.2.0":
version: 1.2.0
resolution: "he@npm:1.2.0"
"he@npm:^2.0.0":
version: 2.0.0
resolution: "he@npm:2.0.0"
bin:
he: bin/he
checksum: 10/d09b2243da4e23f53336e8de3093e5c43d2c39f8d0d18817abfa32ce3e9355391b2edb4bb5edc376aea5d4b0b59d6a0482aab4c52bc02ef95751e4b818e847f1
he: bin/he.mjs
checksum: 10/f554704a474bf74e169f7420ec23d4c21dadfdc5b0d88e8de35d24b6610bb177fb189bd6dfc10caae35edac0df2e79c8778a90d59ae3718a50b00f3bdd544999
languageName: node
linkType: hard
@@ -3960,9 +4002,9 @@ __metadata:
linkType: hard
"ip-address@npm:^10.0.1":
version: 10.4.0
resolution: "ip-address@npm:10.4.0"
checksum: 10/8a286dd112a88c372b10c706caca14dcf5ed029a11c3911062ad8937ca0f951aa513ecacf82e15ffcf6343749ae6c079dd9741282fc94033a06ff1b7bd6ce69a
version: 10.7.2
resolution: "ip-address@npm:10.7.2"
checksum: 10/3a051cb5234cff142bb527e8b40bf0f9dd895b0334161b1ffe0256700a50a49f4d3b94ef72a809f086b2bd6489d4f7a4a52025b03db9c2e9e83a5f9e4d4bdb60
languageName: node
linkType: hard
@@ -4172,14 +4214,14 @@ __metadata:
languageName: node
linkType: hard
"js-yaml@npm:^5.4.1":
version: 5.4.2
resolution: "js-yaml@npm:5.4.2"
"js-yaml@npm:^5.5.0":
version: 5.5.0
resolution: "js-yaml@npm:5.5.0"
dependencies:
argparse: "npm:^2.0.1"
argparse: "npm:^3.0.3"
bin:
js-yaml: bin/js-yaml.mjs
checksum: 10/f2461abd1d6268fb226733f0a0e0aa48004bb824116e3dfa75f1a1279001936343b672066dfecdb852ac3ca883452706c383a760aa90430cb68ba395aa2cbc84
checksum: 10/c01359a4fe69a1c032e9e57d7387a1cbdfbbd45bc69924885a3c9a9a020e066627dc125f7b46f7b929186b5a65471ae5fa478d3f773e35f7ccdf57d32fcf369f
languageName: node
linkType: hard
@@ -4225,6 +4267,13 @@ __metadata:
languageName: node
linkType: hard
"json-with-bigint@npm:^3.5.12":
version: 3.5.12
resolution: "json-with-bigint@npm:3.5.12"
checksum: 10/096a98e435311ab7cdc645769b949cda0cc723b2f1fd0dd5e86839432a703e804a99136da658536e86b876a85d193a87066352e6723dbcc498439fc6c3c34d5c
languageName: node
linkType: hard
"json-with-bigint@npm:^3.5.3":
version: 3.5.3
resolution: "json-with-bigint@npm:3.5.3"
@@ -4528,6 +4577,15 @@ __metadata:
languageName: node
linkType: hard
"minimatch@npm:^10.2.5":
version: 10.2.6
resolution: "minimatch@npm:10.2.6"
dependencies:
brace-expansion: "npm:^5.0.8"
checksum: 10/a5e43f7c57d6061a77da320b42aa35ffff826030cf67c83c0eee47a26ede4d66486935881492b968c609bf27a7d48cc4b9f54b2806643cd8fb792fcf9240cc1b
languageName: node
linkType: hard
"minimatch@npm:^3.0.4, minimatch@npm:^3.1.1, minimatch@npm:^3.1.2":
version: 3.1.2
resolution: "minimatch@npm:3.1.2"
@@ -4564,7 +4622,7 @@ __metadata:
languageName: node
linkType: hard
"minimist@npm:^1.2.5, minimist@npm:^1.2.6":
"minimist@npm:^1.2.6, minimist@npm:^1.2.8":
version: 1.2.8
resolution: "minimist@npm:1.2.8"
checksum: 10/908491b6cc15a6c440ba5b22780a0ba89b9810e1aea684e253e43c4e3b8d56ec1dcdd7ea96dde119c29df59c936cde16062159eae4225c691e19c70b432b6e6f
@@ -5184,12 +5242,12 @@ __metadata:
linkType: hard
"postcss-selector-parser@npm:^7.0.0":
version: 7.1.5
resolution: "postcss-selector-parser@npm:7.1.5"
version: 7.1.6
resolution: "postcss-selector-parser@npm:7.1.6"
dependencies:
cssesc: "npm:^3.0.0"
util-deprecate: "npm:^1.0.2"
checksum: 10/ae66bbcb5d370a3f4b4660e23a208352a885c651f1b420f7b998faaa1034832b870066f49e295f73ee3da6a6c6312c56fea1b2039969f8d803438fa48232b307
checksum: 10/8b00b63c8ae9eab8567bebf2710971dcd832a7a20a9cae7059d92aee3df38fbcd13ce454bdc09c54e777dbddd0df38966227000091c88002741b8575f3878f05
languageName: node
linkType: hard
@@ -5533,7 +5591,7 @@ __metadata:
languageName: node
linkType: hard
"semver@npm:^7.1.1, semver@npm:^7.3.7, semver@npm:^7.5.3, semver@npm:^7.7.4":
"semver@npm:^7.1.1, semver@npm:^7.3.7, semver@npm:^7.5.3":
version: 7.7.4
resolution: "semver@npm:7.7.4"
bin:
@@ -5571,6 +5629,15 @@ __metadata:
languageName: node
linkType: hard
"semver@npm:^7.8.6":
version: 7.8.6
resolution: "semver@npm:7.8.6"
bin:
semver: bin/semver.js
checksum: 10/76fd62a781a9c58464e4d4b1b9c99c404063d8133fff8a0753e66b1bd826bfb720d843664e7ab1268c0fb7134d04df9f3b8788eb2f1000c509648e0eeac03921
languageName: node
linkType: hard
"set-blocking@npm:^2.0.0":
version: 2.0.0
resolution: "set-blocking@npm:2.0.0"
@@ -5679,9 +5746,9 @@ __metadata:
linkType: hard
"source-map-js@npm:^1.2.1":
version: 1.2.1
resolution: "source-map-js@npm:1.2.1"
checksum: 10/ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3
version: 1.2.2
resolution: "source-map-js@npm:1.2.2"
checksum: 10/4807c894bb6280c8b84886159b96080e3996f42c6e8015e647881edfd4f955f6024ceebb8bb40d33ce8b106e24b2e29c133575e1c60c01c8aae57a05fdf17761
languageName: node
linkType: hard
@@ -5781,6 +5848,17 @@ __metadata:
languageName: node
linkType: hard
"streamx@npm:^2.28.1":
version: 2.28.1
resolution: "streamx@npm:2.28.1"
dependencies:
events-universal: "npm:^1.0.0"
fast-fifo: "npm:^1.3.2"
text-decoder: "npm:^1.1.0"
checksum: 10/1bbfad45ee015af1e8ccf73315e1a03bb3c650865c06b64c28b328c20d9a8ff1aa7993d79a124b26ac17720b4f4825fe225bc4ab78a1b2c36a7d04343d312e51
languageName: node
linkType: hard
"string-width-cjs@npm:string-width@^4.2.0, string-width@npm:^1.0.2 || 2 || 3 || 4, string-width@npm:^4.1.0, string-width@npm:^4.2.3":
version: 4.2.3
resolution: "string-width@npm:4.2.3"
@@ -5882,15 +5960,15 @@ __metadata:
languageName: node
linkType: hard
"tar-stream@npm:^3.2.1":
version: 3.2.1
resolution: "tar-stream@npm:3.2.1"
"tar-stream@npm:^3.2.2":
version: 3.2.2
resolution: "tar-stream@npm:3.2.2"
dependencies:
b4a: "npm:^1.6.4"
bare-fs: "npm:^4.5.5"
fast-fifo: "npm:^1.2.0"
streamx: "npm:^2.15.0"
checksum: 10/1a09f857e0789489476d99fb716fa6d209e7d19aa73b7a4b23f40eeba46792d5007ca62fde4fca8f643ed71ace1c526a293c655718a0409275a45a8aa86b562a
b4a: "npm:^1.9.0"
bare-fs: "npm:^4.8.2"
fast-fifo: "npm:^1.3.2"
streamx: "npm:^2.28.1"
checksum: 10/9fdb4bf39adc37dcb42fdd458c79075930b98e3bd2ec5165365c936100eb4f40b149e5135cb6eb8f8f37a89e9df1ebd096fb6ce08fc06ba7d4e2d98438a37718
languageName: node
linkType: hard
@@ -6079,16 +6157,6 @@ __metadata:
languageName: node
linkType: hard
"typescript@npm:^3.9":
version: 3.9.10
resolution: "typescript@npm:3.9.10"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/f86a085eea24fdd665850c6be4dd69c7a71fe3d27ecc712be88cdc7a52d866f4f2416ad91c554df60f499dedcf288a24b3d8052e502833d8acc661a9d21bb98f
languageName: node
linkType: hard
"typescript@npm:^5.9.3":
version: 5.9.3
resolution: "typescript@npm:5.9.3"
@@ -6099,16 +6167,6 @@ __metadata:
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A^3.9#optional!builtin<compat/typescript>":
version: 3.9.10
resolution: "typescript@patch:typescript@npm%3A3.9.10#optional!builtin<compat/typescript>::version=3.9.10&hash=3bd3d3"
bin:
tsc: bin/tsc
tsserver: bin/tsserver
checksum: 10/77024c200e1f80d95185d5a973bcc4b0ecc12a77851390b1382e372195313769373a4b8b1642df4a8d4ae1df5911dcd9bde111cf6755eb4b6091f374e97c6dc5
languageName: node
linkType: hard
"typescript@patch:typescript@npm%3A^5.9.3#optional!builtin<compat/typescript>":
version: 5.9.3
resolution: "typescript@patch:typescript@npm%3A5.9.3#optional!builtin<compat/typescript>::version=5.9.3&hash=5786d5"
@@ -6136,9 +6194,9 @@ __metadata:
linkType: hard
"undici@npm:^6.23.0, undici@npm:^6.25.0":
version: 6.28.1
resolution: "undici@npm:6.28.1"
checksum: 10/a64d5972054604918448ffa1bbaa867ecd1ae9ed5aa75344a794550cc048a79949fd95ca196b961463384c49d77e924adb3643758a2aa809e43db5377a390941
version: 6.29.1
resolution: "undici@npm:6.29.1"
checksum: 10/92acb64ec190fe3499dec69830fdfc48e28f6f19627bad7563cfd57c37b4e95379c12b8ac15a2e6a8739eaac358f17503a229c160d3dc8774141b1e270d8aa57
languageName: node
linkType: hard
@@ -6219,8 +6277,8 @@ __metadata:
linkType: hard
"vite@npm:^6.0.0 || ^7.0.0":
version: 7.3.6
resolution: "vite@npm:7.3.6"
version: 7.3.7
resolution: "vite@npm:7.3.7"
dependencies:
esbuild: "npm:^0.27.0 || ^0.28.0"
fdir: "npm:^6.5.0"
@@ -6269,7 +6327,7 @@ __metadata:
optional: true
bin:
vite: bin/vite.js
checksum: 10/6fcbadb1a409990e1bbd4ff0ff41e763c87049228cdc407984bdca40b96ab32de0f1f70fa62fb1f3ca001a5b90accbbe22ddfad5cc436855058357b3f2141d3b
checksum: 10/a4ff9858afbb83a882cd79809d32cc0dda26d442fd2c6b230f73db988d770a6269b78b8d7327a79464c424589dc9c511af4223e8eba3189d115a925ad2585b16
languageName: node
linkType: hard