Compare commits

...
193 Commits
Author SHA1 Message Date
CrazyMax 334e73ab86 Merge pull request #710 from docker/dependabot/npm_and_yarn/postcss-8.5.25
chore(deps): Bump postcss from 8.5.10 to 8.5.28
2026-09-11 14:19:10 +02:00
CrazyMax a65e287521 Merge pull request #707 from docker/dependabot/npm_and_yarn/moment-timezone-0.6.3
chore(deps): Bump moment-timezone from 0.6.2 to 0.6.3
2026-09-11 14:02:25 +02:00
github-actions[bot] 06076441e4 [dependabot skip] chore: update generated content 2026-09-11 11:57:50 +00:00
dependabot[bot] 16b2402ae8 chore(deps): Bump moment-timezone from 0.6.2 to 0.6.3
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.6.2 to 0.6.3.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.6.2...0.6.3)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-version: 0.6.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-11 11:56:50 +00:00
CrazyMax fe5ae53f8c Merge pull request #701 from docker/dependabot/npm_and_yarn/csv-parse-7.0.1
chore(deps): Bump csv-parse from 7.0.0 to 7.0.2
2026-09-11 13:54:30 +02:00
github-actions[bot] 8c322d0993 [dependabot skip] chore: update generated content 2026-09-11 11:46:11 +00:00
dependabot[bot] b85971cc18 chore(deps): Bump postcss from 8.5.10 to 8.5.28
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.10 to 8.5.28.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.10...8.5.28)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.25
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-11 11:46:01 +00:00
dependabot[bot] 5faed39cb8 chore(deps): Bump csv-parse from 7.0.0 to 7.0.2
Bumps [csv-parse](https://github.com/adaltas/node-csv/tree/HEAD/packages/csv-parse) from 7.0.0 to 7.0.2.
- [Changelog](https://github.com/adaltas/node-csv/blob/master/packages/csv-parse/CHANGELOG.md)
- [Commits](https://github.com/adaltas/node-csv/commits/csv-parse@7.0.2/packages/csv-parse)

---
updated-dependencies:
- dependency-name: csv-parse
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-11 11:45:15 +00:00
CrazyMax fa86a8e19a Merge pull request #715 from docker/dependabot/npm_and_yarn/js-yaml-4.3.1
chore(deps): Bump js-yaml from 4.3.0 to 4.3.1
2026-09-11 13:44:37 +02:00
CrazyMax 818bf39daf Merge pull request #713 from docker/dependabot/npm_and_yarn/undici-6.28.0
chore(deps): Bump undici from 6.27.0 to 6.28.0
2026-09-11 13:43:18 +02:00
CrazyMax 7e7495626c Merge pull request #716 from docker/dependabot/npm_and_yarn/postcss-selector-parser-7.1.5
chore(deps): Bump postcss-selector-parser from 7.1.1 to 7.1.5
2026-09-11 13:43:00 +02:00
CrazyMax 63f5656707 Merge pull request #717 from docker/dependabot/npm_and_yarn/humanfs/node-0.16.8
chore(deps): Bump @humanfs/node from 0.16.7 to 0.16.8
2026-09-11 13:42:31 +02:00
CrazyMax 8457f1474c Merge pull request #718 from docker/dependabot/npm_and_yarn/nanoid-3.3.18
chore(deps): Bump nanoid from 3.3.11 to 3.3.18
2026-09-11 13:40:31 +02:00
CrazyMax c1ce55cf4b Merge pull request #704 from docker/dependabot/github_actions/codeql-actions-af2beed448
chore(deps): Bump the codeql-actions group with 2 updates
2026-09-11 13:40:02 +02:00
CrazyMax 0b24e01e4b Merge pull request #700 from docker/dependabot/github_actions/docker/setup-buildx-action-4.2.0
chore(deps): Bump docker/setup-buildx-action from 4.1.0 to 4.2.0
2026-09-11 13:39:52 +02:00
CrazyMax 6630998811 Merge pull request #699 from docker/dependabot/github_actions/docker/bake-action/subaction/matrix-7.3.0
chore(deps): Bump docker/bake-action/subaction/matrix from 7.2.0 to 7.3.0
2026-09-11 13:39:42 +02:00
CrazyMax 721ab41eb2 Merge pull request #698 from docker/dependabot/github_actions/docker/build-push-action-7.3.0
chore(deps): Bump docker/build-push-action from 7.2.0 to 7.3.0
2026-09-11 13:39:32 +02:00
CrazyMax 3c48aca360 Merge pull request #697 from docker/dependabot/github_actions/docker/bake-action-7.3.0
chore(deps): Bump docker/bake-action from 7.2.0 to 7.3.0
2026-09-11 13:39:22 +02:00
dependabot[bot] be5123e520 chore(deps): Bump nanoid from 3.3.11 to 3.3.18
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.11 to 3.3.18.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/3.3.18/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.11...3.3.18)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-version: 3.3.18
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-05 08:05:43 +00:00
dependabot[bot] 5e134fc3cf chore(deps): Bump @humanfs/node from 0.16.7 to 0.16.8
Bumps [@humanfs/node](https://github.com/humanwhocodes/humanfs/tree/HEAD/packages/node) from 0.16.7 to 0.16.8.
- [Release notes](https://github.com/humanwhocodes/humanfs/releases)
- [Changelog](https://github.com/humanwhocodes/humanfs/blob/main/packages/node/CHANGELOG.md)
- [Commits](https://github.com/humanwhocodes/humanfs/commits/node-v0.16.8/packages/node)

---
updated-dependencies:
- dependency-name: "@humanfs/node"
  dependency-version: 0.16.8
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-03 12:25:39 +00:00
dependabot[bot] 75c1523541 chore(deps): Bump postcss-selector-parser from 7.1.1 to 7.1.5
Bumps [postcss-selector-parser](https://github.com/postcss/postcss-selector-parser) from 7.1.1 to 7.1.5.
- [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/v7.1.1...7.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-09-01 22:32:21 +00:00
dependabot[bot] 31e817f601 chore(deps): Bump js-yaml from 4.3.0 to 4.3.1
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.3.0 to 4.3.1.
- [Changelog](https://github.com/nodeca/js-yaml/blob/4.3.1/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.3.0...4.3.1)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.3.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-28 00:41:15 +00:00
github-actions[bot] fd428be62d [dependabot skip] chore: update generated content 2026-08-05 16:18:40 +00:00
dependabot[bot] 85f67a52da chore(deps): Bump undici from 6.27.0 to 6.28.0
Bumps [undici](https://github.com/nodejs/undici) from 6.27.0 to 6.28.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.27.0...v6.28.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-08-05 16:17:43 +00:00
dependabot[bot] d6d4c02fe1 chore(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.36.2 to 4.36.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/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...54f647b7e1bb85c95cddabcd46b0c578ec92bc1a)

Updates `github/codeql-action/analyze` from 4.36.2 to 4.36.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/8aad20d150bbac5944a9f9d289da16a4b0d87c1e...54f647b7e1bb85c95cddabcd46b0c578ec92bc1a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-09 12:01:34 +00:00
CrazyMax 703896b4f3 Merge pull request #703 from crazy-max/group-codeql-dependabot-updates
chore: group codeql dependabot updates
2026-07-09 13:58:27 +02:00
CrazyMax 1710a9f662 chore: group codeql dependabot updates
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-07-09 12:43:17 +02:00
dependabot[bot] 0b3ddf66f0 chore(deps): Bump docker/setup-buildx-action from 4.1.0 to 4.2.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5...bb05f3f5519dd87d3ba754cc423b652a5edd6d2c)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-06 19:22:36 +00:00
dependabot[bot] 02a9d84cbc chore(deps): Bump docker/bake-action/subaction/matrix
Bumps [docker/bake-action/subaction/matrix](https://github.com/docker/bake-action) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/6614cfa25eff9a0b2b2697efb0b6159e7680d584...d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-03 19:25:26 +00:00
dependabot[bot] e956db8a87 chore(deps): Bump docker/build-push-action from 7.2.0 to 7.3.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/f9f3042f7e2789586610d6e8b85c8f03e5195baf...53b7df96c91f9c12dcc8a07bcb9ccacbed38856a)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-03 19:25:10 +00:00
dependabot[bot] 9293eb8a8a chore(deps): Bump docker/bake-action from 7.2.0 to 7.3.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.2.0 to 7.3.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/6614cfa25eff9a0b2b2697efb0b6159e7680d584...d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-03 19:22:33 +00:00
CrazyMax dc80280410 Merge pull request #696 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.92.0
chore(deps): Bump @docker/actions-toolkit from 0.91.0 to 0.92.0
2026-07-02 10:48:54 +02:00
github-actions[bot] 2b9fe830ef [dependabot skip] chore: update generated content 2026-07-02 08:41:54 +00:00
dependabot[bot] 8128ce30ab chore(deps): Bump @docker/actions-toolkit from 0.91.0 to 0.92.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.91.0 to 0.92.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.91.0...v0.92.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 08:40:54 +00:00
CrazyMax 1d1c89551e Merge pull request #695 from docker/dependabot/npm_and_yarn/semver-7.8.5
chore(deps): Bump semver from 7.8.1 to 7.8.5
2026-07-02 10:17:31 +02:00
CrazyMax 7f0c2dd4c8 Merge pull request #694 from docker/dependabot/npm_and_yarn/sigstore-4.1.1
chore(deps): Bump sigstore from 4.1.0 to 4.1.1
2026-07-02 10:16:57 +02:00
github-actions[bot] 025f8c5c81 [dependabot skip] chore: update generated content 2026-07-02 08:15:28 +00:00
dependabot[bot] e98d63c308 chore(deps): Bump semver from 7.8.1 to 7.8.5
Bumps [semver](https://github.com/npm/node-semver) from 7.8.1 to 7.8.5.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.8.1...v7.8.5)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 7.8.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 08:14:30 +00:00
dependabot[bot] 37d9379950 chore(deps): Bump sigstore from 4.1.0 to 4.1.1
Bumps [sigstore](https://github.com/sigstore/sigstore-js) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/sigstore/sigstore-js/releases)
- [Commits](https://github.com/sigstore/sigstore-js/compare/sigstore@4.1.0...sigstore@4.1.1)

---
updated-dependencies:
- dependency-name: sigstore
  dependency-version: 4.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 08:14:02 +00:00
CrazyMax a1b8072847 Merge pull request #690 from docker/dependabot/npm_and_yarn/sigstore/core-3.2.1
chore(deps): Bump @sigstore/core from 3.1.0 to 3.2.1
2026-07-02 10:12:02 +02:00
github-actions[bot] e0e338106d [dependabot skip] chore: update generated content 2026-07-02 08:08:04 +00:00
dependabot[bot] 8740eb24f1 chore(deps): Bump @sigstore/core from 3.1.0 to 3.2.1
Bumps [@sigstore/core](https://github.com/sigstore/sigstore-js) from 3.1.0 to 3.2.1.
- [Release notes](https://github.com/sigstore/sigstore-js/releases)
- [Commits](https://github.com/sigstore/sigstore-js/compare/sigstore@3.1.0...@sigstore/core@3.2.1)

---
updated-dependencies:
- dependency-name: "@sigstore/core"
  dependency-version: 3.2.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 08:07:05 +00:00
CrazyMax 829d9deafc Merge pull request #686 from docker/dependabot/npm_and_yarn/undici-6.27.0
chore(deps): Bump undici from 6.25.0 to 6.27.0
2026-07-02 10:04:48 +02:00
github-actions[bot] c6f28b352d [dependabot skip] chore: update generated content 2026-07-02 08:03:27 +00:00
dependabot[bot] 2538bcf92b chore(deps): Bump undici from 6.25.0 to 6.27.0
Bumps [undici](https://github.com/nodejs/undici) from 6.25.0 to 6.27.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.25.0...v6.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 08:02:28 +00:00
CrazyMax d90dd465e0 Merge pull request #688 from docker/dependabot/npm_and_yarn/js-yaml-4.2.0
chore(deps): Bump js-yaml from 4.1.1 to 4.3.0
2026-07-02 10:00:21 +02:00
CrazyMax 25e0734ed4 Merge pull request #685 from docker/dependabot/npm_and_yarn/vite-7.3.5
chore(deps): Bump vite from 7.3.2 to 7.3.6
2026-07-02 09:59:54 +02:00
CrazyMax e9f6281329 Merge pull request #683 from docker/dependabot/npm_and_yarn/csv-parse-7.0.0
chore(deps): Bump csv-parse from 6.2.1 to 7.0.0
2026-07-02 09:59:28 +02:00
github-actions[bot] 662982e6ad [dependabot skip] chore: update generated content 2026-07-02 07:57:51 +00:00
github-actions[bot] 8cb42a736d [dependabot skip] chore: update generated content 2026-07-02 07:57:45 +00:00
dependabot[bot] a2ac6757c7 chore(deps): Bump js-yaml from 4.1.1 to 4.3.0
Bumps [js-yaml](https://github.com/nodeca/js-yaml) from 4.1.1 to 4.3.0.
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nodeca/js-yaml/compare/4.1.1...4.3.0)

---
updated-dependencies:
- dependency-name: js-yaml
  dependency-version: 4.2.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 07:56:52 +00:00
dependabot[bot] 2f18853aff chore(deps): Bump csv-parse from 6.2.1 to 7.0.0
Bumps [csv-parse](https://github.com/adaltas/node-csv/tree/HEAD/packages/csv-parse) from 6.2.1 to 7.0.0.
- [Changelog](https://github.com/adaltas/node-csv/blob/master/packages/csv-parse/CHANGELOG.md)
- [Commits](https://github.com/adaltas/node-csv/commits/csv-parse@7.0.0/packages/csv-parse)

---
updated-dependencies:
- dependency-name: csv-parse
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 07:56:48 +00:00
CrazyMax 99b992b69c Merge pull request #693 from docker/dependabot/npm_and_yarn/sigstore/verify-3.1.1
chore(deps): Bump @sigstore/verify from 3.1.0 to 3.1.1
2026-07-02 09:55:59 +02:00
CrazyMax f5d3f0bb4f Merge pull request #678 from docker/dependabot/github_actions/crazy-max-dot-github-a6a0ecf511
chore(deps): Bump the crazy-max-dot-github group across 1 directory with 2 updates
2026-07-02 09:43:01 +02:00
CrazyMax ad815f93b1 Merge pull request #684 from docker/dependabot/github_actions/actions/checkout-7.0.0
chore(deps): Bump actions/checkout from 6.0.2 to 7.0.0
2026-07-02 09:42:40 +02:00
CrazyMax e7c990b5e8 Merge pull request #681 from docker/dependabot/github_actions/github/codeql-action-4.36.2
chore(deps): Bump github/codeql-action from 4.36.0 to 4.36.2
2026-07-02 09:42:18 +02:00
CrazyMax 41cf1318aa Merge pull request #679 from docker/dependabot/github_actions/codecov/codecov-action-7.0.0
chore(deps): Bump codecov/codecov-action from 6.0.1 to 7.0.0
2026-07-02 09:41:52 +02:00
dependabot[bot] 4f8aff440c chore(deps): Bump @sigstore/verify from 3.1.0 to 3.1.1
Bumps [@sigstore/verify](https://github.com/sigstore/sigstore-js) from 3.1.0 to 3.1.1.
- [Release notes](https://github.com/sigstore/sigstore-js/releases)
- [Commits](https://github.com/sigstore/sigstore-js/compare/sigstore@3.1.0...@sigstore/verify@3.1.1)

---
updated-dependencies:
- dependency-name: "@sigstore/verify"
  dependency-version: 3.1.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-02 04:23:50 +00:00
dependabot[bot] 2785aeedfc chore(deps): Bump the crazy-max-dot-github group across 1 directory with 2 updates
Bumps the crazy-max-dot-github group with 2 updates in the / directory: [crazy-max/.github/.github/workflows/pr-assign-author.yml](https://github.com/crazy-max/.github) and [crazy-max/.github/.github/workflows/zizmor.yml](https://github.com/crazy-max/.github).


Updates `crazy-max/.github/.github/workflows/pr-assign-author.yml` from 1.8.0 to 1.10.1
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/9ba6e6f9450baf3b1237f8035c1fdc45932510bd...46267a6e61cd56aac2fc79943df180152f4c89d6)

Updates `crazy-max/.github/.github/workflows/zizmor.yml` from 1.8.0 to 1.10.1
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/9ba6e6f9450baf3b1237f8035c1fdc45932510bd...46267a6e61cd56aac2fc79943df180152f4c89d6)

---
updated-dependencies:
- dependency-name: crazy-max/.github/.github/workflows/pr-assign-author.yml
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
- dependency-name: crazy-max/.github/.github/workflows/zizmor.yml
  dependency-version: 1.10.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-07-01 19:22:23 +00:00
CrazyMax 860a41aba4 Merge pull request #692 from crazy-max/fix-yarn-preapprove-actions-toolkit
chore: allow actions-toolkit to bypass yarn age gate
2026-07-01 14:00:37 +02:00
CrazyMax 23422a030c Merge pull request #691 from crazy-max/dependabot-skip-update-dist
dependabot: skip for update-dist commits
2026-07-01 14:00:23 +02:00
CrazyMax 2a674ccb52 chore: allow actions-toolkit to bypass yarn age gate
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-07-01 11:43:32 +02:00
CrazyMax 5185deded3 dependabot: skip for update-dist commits
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-06-30 11:09:07 +02:00
dependabot[bot] 9f63154d50 chore(deps): Bump vite from 7.3.2 to 7.3.6
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.2 to 7.3.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.6/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-29 14:18:11 +00:00
CrazyMax 45b1914810 Merge pull request #689 from crazy-max/fix-esbuild
preserve names in esbuild bundle
2026-06-29 16:14:58 +02:00
CrazyMax d3cc900f2d preserve names in esbuild bundle
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-06-29 15:01:08 +02:00
dependabot[bot] d8b45f9c76 chore(deps): Bump actions/checkout from 6.0.2 to 7.0.0
Bumps [actions/checkout](https://github.com/actions/checkout) from 6.0.2 to 7.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/de0fac2e4500dabe0009e67214ff5f5447ce83dd...9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 7.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-19 19:22:37 +00:00
temenuzhka-thede 020b7354dd Merge pull request #682 from docker/sec-cli/npm-ci-20260612-184903
fix: replace npm install with npm ci (20260612-184903)
2026-06-12 14:10:33 -05:00
securityeng-bot[bot] 7f842e879c fix: use lockfile-aware install commands 2026-06-12 18:49:05 +00:00
dependabot[bot] 58711ad468 chore(deps): Bump github/codeql-action from 4.36.0 to 4.36.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.36.0 to 4.36.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/7211b7c8077ea37d8641b6271f6a365a22a5fbfa...8aad20d150bbac5944a9f9d289da16a4b0d87c1e)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-08 19:24:29 +00:00
dependabot[bot] 7a9d9fefe1 chore(deps): Bump codecov/codecov-action from 6.0.1 to 7.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.1 to 7.0.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/e79a6962e0d4c0c17b229090214935d2e33f8354...fb8b3582c8e4def4969c97caa2f19720cb33a72f)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-06-08 19:22:35 +00:00
CrazyMax 3caf19fbe3 Merge pull request #675 from crazy-max/yarn-update
update yarn to 4.15.0
2026-05-28 18:43:59 +02:00
CrazyMax 8016b4facd update yarn to 4.15.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-05-28 15:13:30 +02:00
CrazyMax 530a407188 Merge pull request #672 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.91.0
chore(deps): Bump @docker/actions-toolkit from 0.90.0 to 0.91.0
2026-05-28 12:59:33 +02:00
github-actions[bot] afa75d4359 chore: update generated content 2026-05-28 10:57:17 +00:00
dependabot[bot] 26a83f6e31 chore(deps): Bump @docker/actions-toolkit from 0.90.0 to 0.91.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.90.0 to 0.91.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.90.0...v0.91.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 10:56:20 +00:00
CrazyMax 585dfe4a50 Merge pull request #663 from docker/dependabot/npm_and_yarn/actions/core-3.0.1
chore(deps): Bump @actions/core from 3.0.0 to 3.0.1
2026-05-28 12:54:14 +02:00
github-actions[bot] 829c7e6ce9 chore: update generated content 2026-05-28 10:25:16 +00:00
dependabot[bot] 246bbe8935 chore(deps): Bump @actions/core from 3.0.0 to 3.0.1
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 3.0.0 to 3.0.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

---
updated-dependencies:
- dependency-name: "@actions/core"
  dependency-version: 3.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 10:24:18 +00:00
CrazyMax ebb6b285fa Merge pull request #666 from docker/dependabot/npm_and_yarn/actions/github-9.1.1
chore(deps): Bump @actions/github from 9.0.0 to 9.1.1
2026-05-28 12:22:11 +02:00
github-actions[bot] cbc0ced701 chore: update generated content 2026-05-28 10:18:59 +00:00
dependabot[bot] 55d77601d7 chore(deps): Bump @actions/github from 9.0.0 to 9.1.1
Bumps [@actions/github](https://github.com/actions/toolkit/tree/HEAD/packages/github) from 9.0.0 to 9.1.1.
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/github/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/github)

---
updated-dependencies:
- dependency-name: "@actions/github"
  dependency-version: 9.1.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 10:17:58 +00:00
CrazyMax f25e8d2521 Merge pull request #665 from docker/dependabot/npm_and_yarn/semver-7.8.0
chore(deps): Bump semver from 7.7.4 to 7.8.1
2026-05-28 11:35:07 +02:00
github-actions[bot] 8707af5b28 chore: update generated content 2026-05-28 08:44:56 +00:00
dependabot[bot] f5b5258ae1 chore(deps): Bump semver from 7.7.4 to 7.8.1
Bumps [semver](https://github.com/npm/node-semver) from 7.7.4 to 7.8.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.7.4...v7.8.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-version: 7.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 08:43:59 +00:00
CrazyMax 83fa4edf37 Merge pull request #664 from docker/dependabot/npm_and_yarn/moment-timezone-0.6.2
chore(deps): Bump moment-timezone from 0.6.1 to 0.6.2
2026-05-28 10:41:57 +02:00
github-actions[bot] c57fc5591a chore: update generated content 2026-05-28 08:28:29 +00:00
dependabot[bot] 9c446bddcb chore(deps): Bump moment-timezone from 0.6.1 to 0.6.2
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.6.1...0.6.2)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-version: 0.6.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 08:27:31 +00:00
CrazyMax 9da27ef7f4 Merge pull request #673 from docker/dependabot/npm_and_yarn/tmp-0.2.7
chore(deps): Bump tmp from 0.2.5 to 0.2.7
2026-05-28 10:24:48 +02:00
github-actions[bot] ba2f556688 chore: update generated content 2026-05-28 08:21:40 +00:00
dependabot[bot] 47ed4f4109 chore(deps): Bump tmp from 0.2.5 to 0.2.7
Bumps [tmp](https://github.com/raszi/node-tmp) from 0.2.5 to 0.2.7.
- [Changelog](https://github.com/raszi/node-tmp/blob/master/CHANGELOG.md)
- [Commits](https://github.com/raszi/node-tmp/compare/v0.2.5...v0.2.7)

---
updated-dependencies:
- dependency-name: tmp
  dependency-version: 0.2.7
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 08:20:41 +00:00
CrazyMax e25b2146bd Merge pull request #674 from docker/dependabot/github_actions/crazy-max/ghaction-dump-context-3.1.0
chore(deps): Bump crazy-max/ghaction-dump-context from 3.0.0 to 3.1.0
2026-05-28 09:57:10 +02:00
dependabot[bot] a8639b7509 chore(deps): Bump crazy-max/ghaction-dump-context from 3.0.0 to 3.1.0
Bumps [crazy-max/ghaction-dump-context](https://github.com/crazy-max/ghaction-dump-context) from 3.0.0 to 3.1.0.
- [Release notes](https://github.com/crazy-max/ghaction-dump-context/releases)
- [Commits](https://github.com/crazy-max/ghaction-dump-context/compare/5d2753e7076f4568c7729971e25231f32147e2d8...4d9eeaf15dd59aa4346919ea84a84ccf514b4db8)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-dump-context
  dependency-version: 3.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-28 07:55:44 +00:00
CrazyMax 4e03f56500 Merge pull request #671 from docker/sec-cli/ignore-scripts-fix-20260527-193116
ci: add ignore-scripts to Node package manager config (20260527-193116)
2026-05-28 09:53:58 +02:00
securityeng-bot[bot] 620026c7c4 ci: enforce ignore-scripts policy for Node package managers 2026-05-27 20:04:39 +00:00
CrazyMax 17e943b674 Merge pull request #667 from docker/dependabot/github_actions/docker/build-push-action-7.2.0
chore(deps): Bump docker/build-push-action from 7.1.0 to 7.2.0
2026-05-26 17:30:38 +02:00
CrazyMax da0e8cb6fa Merge pull request #669 from docker/dependabot/github_actions/docker/setup-buildx-action-4.1.0
chore(deps): Bump docker/setup-buildx-action from 4.0.0 to 4.1.0
2026-05-26 17:30:36 +02:00
CrazyMax 62878a8cd8 Merge pull request #670 from docker/dependabot/github_actions/github/codeql-action-4.36.0
chore(deps): Bump github/codeql-action from 4.35.5 to 4.36.0
2026-05-26 17:30:33 +02:00
dependabot[bot] 7fff4a866b chore(deps): Bump github/codeql-action from 4.35.5 to 4.36.0
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.5 to 4.36.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/9e0d7b8d25671d64c341c19c0152d693099fb5ba...7211b7c8077ea37d8641b6271f6a365a22a5fbfa)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.36.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 15:28:46 +00:00
dependabot[bot] 80c12fa72e chore(deps): Bump docker/build-push-action from 7.1.0 to 7.2.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/bcafcacb16a39f128d818304e6c9c0c18556b85f...f9f3042f7e2789586610d6e8b85c8f03e5195baf)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 15:27:35 +00:00
dependabot[bot] cb88e1e24e chore(deps): Bump docker/setup-buildx-action from 4.0.0 to 4.1.0
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/4d04d5d9486b7bd6fa91e7baf45bbb4f8b9deedd...d7f5e7f509e45cec5c76c4d5afdd7de93d0b3df5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 15:27:27 +00:00
CrazyMax 8904ec6ac8 Merge pull request #668 from docker/dependabot/github_actions/docker/bake-action-7.2.0
chore(deps): Bump docker/bake-action from 7.1.0 to 7.2.0
2026-05-26 17:26:12 +02:00
dependabot[bot] 133aa67758 chore(deps): Bump docker/bake-action from 7.1.0 to 7.2.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/a66e1c87e2eca0503c343edf1d208c716d54b8a8...6614cfa25eff9a0b2b2697efb0b6159e7680d584)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-26 00:56:40 +00:00
CrazyMax 80c7e94dd9 Merge pull request #613 from docker/dependabot/npm_and_yarn/docker/actions-toolkit-0.80.0
chore(deps): Bump @docker/actions-toolkit from 0.79.0 to 0.90.0
2026-05-22 14:37:45 +02:00
github-actions[bot] 8e0ddab90c chore: update generated content 2026-05-22 12:36:07 +00:00
dependabot[bot] a8db14bd86 chore(deps): Bump @docker/actions-toolkit from 0.79.0 to 0.90.0
Bumps [@docker/actions-toolkit](https://github.com/docker/actions-toolkit) from 0.79.0 to 0.90.0.
- [Release notes](https://github.com/docker/actions-toolkit/releases)
- [Commits](https://github.com/docker/actions-toolkit/compare/v0.79.0...v0.90.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22 12:35:07 +00:00
CrazyMax 63a7371ee0 Merge pull request #617 from docker/dependabot/npm_and_yarn/csv-parse-6.2.0
chore(deps): Bump csv-parse from 6.1.0 to 6.2.1
2026-05-22 14:32:06 +02:00
github-actions[bot] c6916a6cf8 chore: update generated content 2026-05-22 12:26:28 +00:00
dependabot[bot] aca9205632 chore(deps): Bump csv-parse from 6.1.0 to 6.2.1
Bumps [csv-parse](https://github.com/adaltas/node-csv/tree/HEAD/packages/csv-parse) from 6.1.0 to 6.2.1.
- [Changelog](https://github.com/adaltas/node-csv/blob/master/packages/csv-parse/CHANGELOG.md)
- [Commits](https://github.com/adaltas/node-csv/commits/csv-parse@6.2.1/packages/csv-parse)

---
updated-dependencies:
- dependency-name: csv-parse
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22 12:25:32 +00:00
CrazyMax 9dcfe60f10 Merge pull request #629 from docker/dependabot/npm_and_yarn/handlebars-4.7.9
chore(deps): Bump handlebars from 4.7.8 to 4.7.9
2026-05-22 14:23:33 +02:00
github-actions[bot] 43dea7677c chore: update generated content 2026-05-22 12:20:24 +00:00
dependabot[bot] 7a56f5af0a chore(deps): Bump handlebars from 4.7.8 to 4.7.9
Bumps [handlebars](https://github.com/handlebars-lang/handlebars.js) from 4.7.8 to 4.7.9.
- [Release notes](https://github.com/handlebars-lang/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/v4.7.9/release-notes.md)
- [Commits](https://github.com/handlebars-lang/handlebars.js/compare/v4.7.8...v4.7.9)

---
updated-dependencies:
- dependency-name: handlebars
  dependency-version: 4.7.9
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22 12:19:23 +00:00
CrazyMax e49e0aa5de Merge pull request #658 from docker/dependabot/npm_and_yarn/brace-expansion-5.0.6
chore(deps): Bump brace-expansion from 1.1.14 to 5.0.6
2026-05-22 14:16:38 +02:00
github-actions[bot] 97ffca02cc chore: update generated content 2026-05-22 12:14:39 +00:00
dependabot[bot] 792ab493f0 chore(deps): Bump brace-expansion from 1.1.14 to 5.0.6
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.14 to 5.0.6.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.14...v5.0.6)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 5.0.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22 12:13:43 +00:00
CrazyMax 47a52a8886 Merge pull request #657 from docker/dependabot/npm_and_yarn/tar-7.5.15
chore(deps): Bump tar from 6.2.1 to 7.5.15
2026-05-22 14:11:51 +02:00
CrazyMax 30e3a5c71b Merge pull request #620 from docker/dependabot/npm_and_yarn/fast-xml-parser-5.5.6
chore(deps): Bump fast-xml-parser from 5.4.2 to 5.8.0
2026-05-22 14:10:03 +02:00
github-actions[bot] 5677a062dd chore: update generated content 2026-05-22 12:07:22 +00:00
dependabot[bot] 27ad663c44 chore(deps): Bump fast-xml-parser from 5.4.2 to 5.8.0
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 5.4.2 to 5.8.0.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v5.4.2...v5.8.0)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-version: 5.5.6
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22 12:06:30 +00:00
CrazyMax b83758ab83 Merge pull request #614 from docker/dependabot/npm_and_yarn/undici-6.24.0
chore(deps): Bump undici from 6.23.0 to 6.25.0
2026-05-22 14:04:30 +02:00
github-actions[bot] b08aa41573 chore: update generated content 2026-05-22 12:01:11 +00:00
dependabot[bot] 1b54296ddb chore(deps): Bump undici from 6.23.0 to 6.25.0
Bumps [undici](https://github.com/nodejs/undici) from 6.23.0 to 6.25.0.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v6.23.0...v6.25.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-22 12:00:16 +00:00
CrazyMax 73ea5d3910 Merge pull request #651 from docker/dependabot/github_actions/crazy-max-dot-github-a3893cf95f
chore(deps): Bump the crazy-max-dot-github group across 1 directory with 2 updates
2026-05-22 13:57:53 +02:00
CrazyMax cbf5ecfb6e Merge pull request #652 from docker/dependabot/github_actions/actions/setup-node-6.4.0
chore(deps): Bump actions/setup-node from 6.3.0 to 6.4.0
2026-05-22 13:57:34 +02:00
CrazyMax 7635ada344 Merge pull request #656 from docker/dependabot/github_actions/actions/create-github-app-token-3.2.0
chore(deps): Bump actions/create-github-app-token from 3.1.1 to 3.2.0
2026-05-22 13:57:13 +02:00
CrazyMax b97a91b21a Merge pull request #659 from docker/dependabot/github_actions/github/codeql-action-4.35.5
chore(deps): Bump github/codeql-action from 4.35.2 to 4.35.5
2026-05-22 13:56:50 +02:00
CrazyMax eb7e4a1a09 Merge pull request #660 from docker/dependabot/github_actions/codecov/codecov-action-6.0.1
chore(deps): Bump codecov/codecov-action from 6.0.0 to 6.0.1
2026-05-22 13:56:30 +02:00
dependabot[bot] 87b2898f8d chore(deps): Bump the crazy-max-dot-github group across 1 directory with 2 updates
Bumps the crazy-max-dot-github group with 2 updates in the / directory: [crazy-max/.github/.github/workflows/pr-assign-author.yml](https://github.com/crazy-max/.github) and [crazy-max/.github/.github/workflows/zizmor.yml](https://github.com/crazy-max/.github).


Updates `crazy-max/.github/.github/workflows/pr-assign-author.yml` from 1.6.0 to 1.8.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/d89fe92d808a15e2b2ed5cdb62db7c172c31410d...9ba6e6f9450baf3b1237f8035c1fdc45932510bd)

Updates `crazy-max/.github/.github/workflows/zizmor.yml` from 1.6.0 to 1.8.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/d89fe92d808a15e2b2ed5cdb62db7c172c31410d...9ba6e6f9450baf3b1237f8035c1fdc45932510bd)

---
updated-dependencies:
- dependency-name: crazy-max/.github/.github/workflows/pr-assign-author.yml
  dependency-version: 1.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
- dependency-name: crazy-max/.github/.github/workflows/zizmor.yml
  dependency-version: 1.7.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-21 19:56:04 +00:00
CrazyMax 1b2e78b2f1 Merge pull request #661 from crazy-max/zizmor-fixes
ci: restrict update-dist GitHub App token scope
2026-05-21 14:57:49 +02:00
CrazyMax 0569d83a01 ci: restrict update-dist GitHub App token scope
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-05-21 14:26:18 +02:00
dependabot[bot] 2852e5544b chore(deps): Bump codecov/codecov-action from 6.0.0 to 6.0.1
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6.0.0 to 6.0.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/57e3a136b779b570ffcdbf80b3bdc90e7fab3de2...e79a6962e0d4c0c17b229090214935d2e33f8354)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-20 02:54:20 +00:00
dependabot[bot] b2d63e72ae chore(deps): Bump github/codeql-action from 4.35.2 to 4.35.5
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.2 to 4.35.5.
- [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/95e58e9a2cdfd71adc6e0353d5c52f41a045d225...9e0d7b8d25671d64c341c19c0152d693099fb5ba)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-19 04:34:16 +00:00
dependabot[bot] 15f2e7f938 chore(deps): Bump tar from 6.2.1 to 7.5.15
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.1 to 7.5.15.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.5.15)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 7.5.15
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-15 00:40:01 +00:00
dependabot[bot] c53b86815a chore(deps): Bump actions/create-github-app-token from 3.1.1 to 3.2.0
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.1.1 to 3.2.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/1b10c78c7865c340bc4f6099eb2f838309f1e8c3...bcd2ba49218906704ab6c1aa796996da409d3eb1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-05-14 19:23:31 +00:00
dependabot[bot] 25b70a676c chore(deps): Bump actions/setup-node from 6.3.0 to 6.4.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 6.3.0 to 6.4.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/53b83947a5a98c8d113130e565377fae1a50d02f...48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 22:59:59 +00:00
CrazyMax 4f5b523467 Merge pull request #630 from docker/dependabot/npm_and_yarn/brace-expansion-1.1.13
chore(deps): Bump brace-expansion from 1.1.12 to 1.1.14
2026-04-27 14:19:26 +02:00
github-actions[bot] fc08c1af45 chore: update generated content 2026-04-27 12:17:51 +00:00
dependabot[bot] 53adf7e0c2 chore(deps): Bump brace-expansion from 1.1.12 to 1.1.14
Bumps [brace-expansion](https://github.com/juliangruber/brace-expansion) from 1.1.12 to 1.1.14.
- [Release notes](https://github.com/juliangruber/brace-expansion/releases)
- [Commits](https://github.com/juliangruber/brace-expansion/compare/v1.1.12...v1.1.14)

---
updated-dependencies:
- dependency-name: brace-expansion
  dependency-version: 1.1.13
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-27 12:16:56 +00:00
Tõnis Tiigi 9725dce4ec Merge pull request #650 from crazy-max/fix-yarnlock
fix malformed yarn.lock
2026-04-27 14:14:02 +02:00
CrazyMax 1ca9d11fdb fix malformed yarn.lock
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-04-27 09:55:53 +02:00
CrazyMax aa5e42bc43 Merge pull request #621 from docker/dependabot/npm_and_yarn/glob-10.5.0
chore(deps): Bump glob from 10.3.15 to 10.5.0
2026-04-27 09:42:19 +02:00
CrazyMax 09c39d7e3d Merge pull request #623 from docker/dependabot/npm_and_yarn/flatted-3.4.2
chore(deps): Bump flatted from 3.3.3 to 3.4.2
2026-04-27 09:41:59 +02:00
CrazyMax b0d9a8511d Merge pull request #626 from docker/dependabot/npm_and_yarn/picomatch-4.0.4
chore(deps): Bump picomatch from 4.0.3 to 4.0.4
2026-04-27 09:41:41 +02:00
CrazyMax 0b0cf52037 Merge pull request #637 from docker/dependabot/npm_and_yarn/vite-7.3.2
chore(deps): Bump vite from 7.3.1 to 7.3.2
2026-04-27 09:41:04 +02:00
CrazyMax 84dc0051ed Merge pull request #639 from docker/dependabot/npm_and_yarn/lodash-4.18.1
chore(deps): Bump lodash from 4.17.23 to 4.18.1
2026-04-27 09:40:45 +02:00
CrazyMax 6e706bd386 Merge pull request #649 from docker/dependabot/npm_and_yarn/postcss-8.5.10
chore(deps): Bump postcss from 8.5.6 to 8.5.10
2026-04-27 09:40:26 +02:00
CrazyMax b110e1928a Merge pull request #641 from docker/dependabot/github_actions/actions/github-script-9.0.0
chore(deps): Bump actions/github-script from 8.0.0 to 9.0.0
2026-04-27 09:38:25 +02:00
CrazyMax db51f20eda Merge pull request #642 from docker/dependabot/github_actions/docker/bake-action-7.1.0
chore(deps): Bump docker/bake-action from 7.0.0 to 7.1.0
2026-04-27 09:38:08 +02:00
CrazyMax 6600503189 Merge pull request #643 from docker/dependabot/github_actions/docker/build-push-action-7.1.0
chore(deps): Bump docker/build-push-action from 7.0.0 to 7.1.0
2026-04-27 09:37:51 +02:00
CrazyMax 03027a6dec Merge pull request #645 from docker/dependabot/github_actions/github/codeql-action-4.35.2
chore(deps): Bump github/codeql-action from 4.35.1 to 4.35.2
2026-04-27 09:37:35 +02:00
CrazyMax 56e4e9c0bb Merge pull request #640 from docker/dependabot/github_actions/actions/create-github-app-token-3.1.1
chore(deps): Bump actions/create-github-app-token from 3.0.0 to 3.1.1
2026-04-27 09:37:13 +02:00
dependabot[bot] 56dca0c993 chore(deps): Bump vite from 7.3.1 to 7.3.2
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 7.3.1 to 7.3.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v7.3.2/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v7.3.2/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 17:41:43 +00:00
dependabot[bot] 194d9dfbc5 chore(deps): Bump picomatch from 4.0.3 to 4.0.4
Bumps [picomatch](https://github.com/micromatch/picomatch) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/micromatch/picomatch/releases)
- [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/picomatch/compare/4.0.3...4.0.4)

---
updated-dependencies:
- dependency-name: picomatch
  dependency-version: 4.0.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 17:41:30 +00:00
dependabot[bot] a39c67c6e6 chore(deps): Bump postcss from 8.5.6 to 8.5.10
Bumps [postcss](https://github.com/postcss/postcss) from 8.5.6 to 8.5.10.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.6...8.5.10)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.10
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-24 17:41:15 +00:00
Tõnis Tiigi 59ccfb174a Merge pull request #648 from crazy-max/esbuild
replace ncc with esbuild for action bundling
2026-04-24 10:39:23 -07:00
CrazyMax 710075a097 replace ncc with esbuild for action bundling
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-04-24 11:12:40 +02:00
dependabot[bot] da96386992 chore(deps): Bump github/codeql-action from 4.35.1 to 4.35.2
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.35.1 to 4.35.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/c10b8064de6f491fea524254123dbe5e09572f13...95e58e9a2cdfd71adc6e0353d5c52f41a045d225)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-17 19:23:46 +00:00
Tõnis Tiigi deaa0dee56 Merge pull request #644 from crazy-max/fix-zizmor
ci(zizmor): update rules
2026-04-15 14:25:48 -07:00
CrazyMax 0865878ea7 ci(zizmor): update rules
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-04-15 16:01:58 +02:00
dependabot[bot] 264f94771d chore(deps): Bump docker/build-push-action from 7.0.0 to 7.1.0
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/d08e5c354a6adb9ed34480a06d141179aa583294...bcafcacb16a39f128d818304e6c9c0c18556b85f)

---
updated-dependencies:
- dependency-name: docker/build-push-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-04-13 20:25:05 +00:00
dependabot[bot] a78c5dda00 chore(deps): Bump docker/bake-action from 7.0.0 to 7.1.0
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/82490499d2e5613fcead7e128237ef0b0ea210f7...a66e1c87e2eca0503c343edf1d208c716d54b8a8)

---
updated-dependencies:
- dependency-name: docker/bake-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-04-13 20:24:53 +00:00
dependabot[bot] c3bf319c22 chore(deps): Bump actions/github-script from 8.0.0 to 9.0.0
Bumps [actions/github-script](https://github.com/actions/github-script) from 8.0.0 to 9.0.0.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/ed597411d8f924073f98dfc5c65a23a2325f34cd...3a2844b7e9c422d3c10d287c895573f7108da1b3)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-version: 9.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 20:23:26 +00:00
dependabot[bot] dd1f6cb7c8 chore(deps): Bump actions/create-github-app-token from 3.0.0 to 3.1.1
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 3.0.0 to 3.1.1.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](https://github.com/actions/create-github-app-token/compare/f8d387b68d61c58ab83c6c016672934102569859...1b10c78c7865c340bc4f6099eb2f838309f1e8c3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-13 20:23:20 +00:00
dependabot[bot] 42970c56ae chore(deps): Bump lodash from 4.17.23 to 4.18.1
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.23...4.18.1)

---
updated-dependencies:
- dependency-name: lodash
  dependency-version: 4.18.1
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-09 08:53:54 +00:00
CrazyMax a7807070e6 Merge pull request #638 from docker/dependabot/github_actions/crazy-max-dot-github-f0991e81fd
chore(deps): Bump the crazy-max-dot-github group with 2 updates
2026-04-09 10:22:09 +02:00
dependabot[bot] 445fddb648 chore(deps): Bump the crazy-max-dot-github group with 2 updates
Bumps the crazy-max-dot-github group with 2 updates: [crazy-max/.github/.github/workflows/pr-assign-author.yml](https://github.com/crazy-max/.github) and [crazy-max/.github/.github/workflows/zizmor.yml](https://github.com/crazy-max/.github).


Updates `crazy-max/.github/.github/workflows/pr-assign-author.yml` from 1.3.0 to 1.6.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/bb328ea508cd6a89d0865555ddbeb148e5724aed...d89fe92d808a15e2b2ed5cdb62db7c172c31410d)

Updates `crazy-max/.github/.github/workflows/zizmor.yml` from 1.3.0 to 1.6.0
- [Release notes](https://github.com/crazy-max/.github/releases)
- [Commits](https://github.com/crazy-max/.github/compare/bb328ea508cd6a89d0865555ddbeb148e5724aed...d89fe92d808a15e2b2ed5cdb62db7c172c31410d)

---
updated-dependencies:
- dependency-name: crazy-max/.github/.github/workflows/pr-assign-author.yml
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
- dependency-name: crazy-max/.github/.github/workflows/zizmor.yml
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: crazy-max-dot-github
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-08 19:22:42 +00:00
CrazyMax c3b064c6d7 Merge pull request #636 from crazy-max/fix-update-dist
ci: stop update-dist reruns after generated dist pushes
2026-04-01 15:08:09 +02:00
CrazyMax 4254c7f183 ci: stop update-dist reruns after generated dist pushes
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-04-01 13:11:03 +02:00
CrazyMax 54262e8fce Merge pull request #634 from docker/dependabot/github_actions/codecov/codecov-action-6.0.0
chore(deps): Bump codecov/codecov-action from 5.5.4 to 6.0.0
2026-03-31 09:30:49 +02:00
CrazyMax 65e2f1ec2d Merge pull request #635 from docker/dependabot/github_actions/crazy-max/ghaction-dump-context-3.0.0
chore(deps): Bump crazy-max/ghaction-dump-context from 2.3.0 to 3.0.0
2026-03-31 09:30:33 +02:00
dependabot[bot] f612a659e4 chore(deps): Bump crazy-max/ghaction-dump-context from 2.3.0 to 3.0.0
Bumps [crazy-max/ghaction-dump-context](https://github.com/crazy-max/ghaction-dump-context) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/crazy-max/ghaction-dump-context/releases)
- [Commits](https://github.com/crazy-max/ghaction-dump-context/compare/5355a8e5e6ac5a302e746a1c4b7747a0393863c8...5d2753e7076f4568c7729971e25231f32147e2d8)

---
updated-dependencies:
- dependency-name: crazy-max/ghaction-dump-context
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-31 01:52:31 +00:00
dependabot[bot] 1077d4b182 chore(deps): Bump codecov/codecov-action from 5.5.4 to 6.0.0
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 5.5.4 to 6.0.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/75cd11691c0faa626561e295848008c8a7dddffe...57e3a136b779b570ffcdbf80b3bdc90e7fab3de2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-31 01:52:14 +00:00
Tõnis Tiigi 12e32e61d3 Merge pull request #632 from crazy-max/zizmor
ci: zizmor workflow
2026-03-30 18:49:57 -07:00
CrazyMax 389e17934e fix zizmor findings
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-30 13:50:52 +02:00
CrazyMax 23d4d7612d ci: zizmor workflow
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-30 13:49:18 +02:00
Tõnis Tiigi 4378dc6be7 Merge pull request #625 from crazy-max/update-crazy-max-actions
ci: bump crazy-max/.github to 1.1.0
2026-03-25 10:43:37 -07:00
CrazyMax 6884e07af7 ci: bump crazy-max/.github to 1.1.0
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-25 12:37:50 +01:00
dependabot[bot] c8a967b196 chore(deps): Bump flatted from 3.3.3 to 3.4.2
Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.2.
- [Commits](https://github.com/WebReflection/flatted/compare/v3.3.3...v3.4.2)

---
updated-dependencies:
- dependency-name: flatted
  dependency-version: 3.4.2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-20 15:59:28 +00:00
CrazyMax 1107934206 Merge pull request #622 from crazy-max/codeql
ci: enable SAST scanning with CodeQL
2026-03-20 16:57:23 +01:00
CrazyMax 50e32640d5 ci: enable SAST scanning with CodeQL
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-20 11:51:51 +01:00
dependabot[bot] f5764bfd66 chore(deps): Bump glob from 10.3.15 to 10.5.0
Bumps [glob](https://github.com/isaacs/node-glob) from 10.3.15 to 10.5.0.
- [Changelog](https://github.com/isaacs/node-glob/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/node-glob/compare/v10.3.15...v10.5.0)

---
updated-dependencies:
- dependency-name: glob
  dependency-version: 10.5.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-20 01:28:27 +00:00
CrazyMax d24d429af2 Merge pull request #619 from docker/dependabot/npm_and_yarn/moment-timezone-0.6.1
chore(deps): Bump moment-timezone from 0.6.0 to 0.6.1
2026-03-18 23:06:56 +01:00
github-actions[bot] d3cc762016 chore: update generated content 2026-03-18 19:24:41 +00:00
dependabot[bot] e724a31677 chore(deps): Bump moment-timezone from 0.6.0 to 0.6.1
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.6.0...0.6.1)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-version: 0.6.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-18 19:23:34 +00:00
Tõnis Tiigi dde548f160 Merge pull request #608 from crazy-max/update-readme
readme: update to v6
2026-03-16 17:57:09 -07:00
Tõnis Tiigi b13d25e5fc Merge pull request #609 from docker/dependabot/github_actions/docker/bake-action-7
chore(deps): Bump docker/bake-action from 6 to 7
2026-03-09 12:35:19 -07:00
CrazyMax f58488e265 Merge pull request #612 from docker/dependabot/github_actions/docker/build-push-action-7
chore(deps): Bump docker/build-push-action from 6 to 7
2026-03-09 16:25:29 +01:00
CrazyMax 414af88e96 ci: switch to matrix subaction
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-09 16:22:40 +01:00
dependabot[bot] 2c2d4fb584 chore(deps): Bump docker/build-push-action from 6 to 7
Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 6 to 7.
- [Release notes](https://github.com/docker/build-push-action/releases)
- [Commits](https://github.com/docker/build-push-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: docker/build-push-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-06 19:22:22 +00:00
CrazyMax 85e876bd3a Merge pull request #610 from docker/dependabot/github_actions/docker/setup-buildx-action-4
chore(deps): Bump docker/setup-buildx-action from 3 to 4
2026-03-06 09:54:50 +01:00
CrazyMax 0b0903be56 readme: update to v6
Signed-off-by: CrazyMax <1951866+crazy-max@users.noreply.github.com>
2026-03-05 22:25:27 +01:00
dependabot[bot] e2d26b25bd chore(deps): Bump docker/setup-buildx-action from 3 to 4
Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 3 to 4.
- [Release notes](https://github.com/docker/setup-buildx-action/releases)
- [Commits](https://github.com/docker/setup-buildx-action/compare/v3...v4)

---
updated-dependencies:
- dependency-name: docker/setup-buildx-action
  dependency-version: '4'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-05 19:22:33 +00:00
dependabot[bot] a26abf68b2 chore(deps): Bump docker/bake-action from 6 to 7
Bumps [docker/bake-action](https://github.com/docker/bake-action) from 6 to 7.
- [Release notes](https://github.com/docker/bake-action/releases)
- [Commits](https://github.com/docker/bake-action/compare/v6...v7)

---
updated-dependencies:
- dependency-name: docker/bake-action
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-03-05 19:22:30 +00:00
24 changed files with 7687 additions and 843 deletions

No files matched your search

+13
View File
@@ -4,6 +4,15 @@ updates:
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 2
groups:
crazy-max-dot-github:
patterns:
- "crazy-max/.github/*"
codeql-actions:
patterns:
- "github/codeql-action/*"
labels:
- "dependencies"
- "bot"
@@ -11,6 +20,10 @@ updates:
directory: "/"
schedule:
interval: "daily"
cooldown:
default-days: 2
exclude:
- "@docker/actions-toolkit"
versioning-strategy: "increase"
allow:
- dependency-type: "production"
+48 -45
View File
@@ -1,5 +1,8 @@
name: ci
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -31,7 +34,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Docker meta
uses: ./
@@ -43,10 +46,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -80,10 +83,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -116,10 +119,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -150,10 +153,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -181,10 +184,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -204,10 +207,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -225,10 +228,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -255,10 +258,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -285,10 +288,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -314,16 +317,16 @@ jobs:
runs-on: ubuntu-latest
services:
registry:
image: registry:2
image: registry:2.8.3@sha256:a3d8aaa63ed8681a604f1dea0aa03f100d5895b6a58ace528858a7b332415373
ports:
- 5000:5000
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver-opts: network=host
@@ -345,7 +348,7 @@ jobs:
type=sha
-
name: Build and push to local registry
uses: docker/build-push-action@v6
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: ./test
file: ./test/Dockerfile
@@ -368,10 +371,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
-
@@ -393,7 +396,7 @@ jobs:
type=sha
-
name: Build
uses: docker/bake-action@v6
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
files: |
./test/docker-bake.hcl
@@ -413,10 +416,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -431,7 +434,7 @@ jobs:
sep-tags: ${{ matrix.sep }}
-
name: Tags
uses: actions/github-script@v8
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
with:
script: |
console.log(`${{ steps.meta.outputs.tags }}`);
@@ -441,10 +444,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -462,7 +465,7 @@ jobs:
maintainer=Foo
-
name: Build
uses: docker/build-push-action@v6
uses: docker/build-push-action@53b7df96c91f9c12dcc8a07bcb9ccacbed38856a # v7.3.0
with:
context: ./test
file: ./test/output.Dockerfile
@@ -480,7 +483,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Docker meta
id: meta
@@ -504,10 +507,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
-
@@ -531,7 +534,7 @@ jobs:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
-
name: Build
uses: docker/bake-action@v6
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
files: |
./test/docker-bake.hcl
@@ -545,10 +548,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -571,10 +574,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: latest
-
@@ -583,7 +586,7 @@ jobs:
uses: ./
-
name: Build
uses: docker/bake-action@v6
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
files: |
@@ -604,10 +607,10 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
with:
version: ${{ env.BUILDX_VERSION }}
driver: docker
@@ -628,7 +631,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Dump context
uses: crazy-max/ghaction-dump-context@v2
uses: crazy-max/ghaction-dump-context@4d9eeaf15dd59aa4346919ea84a84ccf514b4db8 # v3.1.0
+46
View File
@@ -0,0 +1,46 @@
name: codeql
permissions:
contents: read
on:
push:
branches:
- 'master'
- 'releases/v*'
pull_request:
env:
NODE_VERSION: "24"
jobs:
analyze:
runs-on: ubuntu-latest
permissions:
contents: read
security-events: write
steps:
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Enable corepack
run: |
corepack enable
yarn --version
-
name: Set up Node
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ env.NODE_VERSION }}
-
name: Initialize CodeQL
uses: github/codeql-action/init@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
with:
languages: javascript-typescript
build-mode: none
-
name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@54f647b7e1bb85c95cddabcd46b0c578ec92bc1a # v4.36.3
with:
category: "/language:javascript-typescript"
+2 -2
View File
@@ -4,14 +4,14 @@ permissions:
contents: read
on:
pull_request_target:
pull_request_target: # zizmor: ignore[dangerous-triggers] safe to use without checkout
types:
- opened
- reopened
jobs:
run:
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@1b673f36fad86812f538c1df9794904038a23cbf
uses: crazy-max/.github/.github/workflows/pr-assign-author.yml@46267a6e61cd56aac2fc79943df180152f4c89d6 # v1.10.1
permissions:
contents: read
pull-requests: write
+9 -2
View File
@@ -1,5 +1,12 @@
name: publish
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
release:
types:
@@ -15,7 +22,7 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Publish
uses: actions/publish-immutable-action@v0.0.4
uses: actions/publish-immutable-action@4bc8754ffc40f27910afb20287dbbbb675a4e978 # v0.0.4
+6 -3
View File
@@ -1,5 +1,8 @@
name: test
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -17,16 +20,16 @@ jobs:
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Test
uses: docker/bake-action@v6
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
targets: test
-
name: Upload coverage
uses: codecov/codecov-action@v5
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0
with:
files: ./coverage/clover.xml
token: ${{ secrets.CODECOV_TOKEN }}
+15 -6
View File
@@ -1,5 +1,12 @@
name: update-dist
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
pull_request:
types:
@@ -8,27 +15,29 @@ on:
jobs:
update-dist:
if: github.actor == 'dependabot[bot]'
if: github.actor == 'dependabot[bot]' && github.event.pull_request.user.login == 'dependabot[bot]' && github.repository == github.event.pull_request.head.repo.full_name
runs-on: ubuntu-latest
steps:
-
name: GitHub auth token from GitHub App
id: docker-read-app
uses: actions/create-github-app-token@v2
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
app-id: ${{ secrets.GHACTIONS_REPO_WRITE_APP_ID }}
private-key: ${{ secrets.GHACTIONS_REPO_WRITE_APP_PRIVATE_KEY }}
owner: docker
repositories: metadata-action
permission-contents: write
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0
token: ${{ steps.docker-read-app.outputs.token || github.token }}
token: ${{ steps.docker-read-app.outputs.token }}
-
name: Build
uses: docker/bake-action@v6
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
targets: build
@@ -41,7 +50,7 @@ jobs:
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git add dist
git commit -m "chore: update generated content"
git commit -m "[dependabot skip] chore: update generated content"
git push
)
else
+9 -6
View File
@@ -1,5 +1,8 @@
name: validate
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
@@ -15,15 +18,15 @@ jobs:
prepare:
runs-on: ubuntu-latest
outputs:
targets: ${{ steps.generate.outputs.targets }}
matrix: ${{ steps.generate.outputs.matrix }}
steps:
-
name: Checkout
uses: actions/checkout@v6
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: List targets
name: Generate matrix
id: generate
uses: docker/bake-action/subaction/list-targets@v6
uses: docker/bake-action/subaction/matrix@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
target: validate
@@ -34,10 +37,10 @@ jobs:
strategy:
fail-fast: false
matrix:
target: ${{ fromJson(needs.prepare.outputs.targets) }}
include: ${{ fromJson(needs.prepare.outputs.matrix) }}
steps:
-
name: Validate
uses: docker/bake-action@v6
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
targets: ${{ matrix.target }}
+29
View File
@@ -0,0 +1,29 @@
name: zizmor
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
on:
workflow_dispatch:
push:
branches:
- 'master'
- 'releases/v*'
tags:
- 'v*'
pull_request:
jobs:
zizmor:
uses: crazy-max/.github/.github/workflows/zizmor.yml@46267a6e61cd56aac2fc79943df180152f4c89d6 # v1.10.1
permissions:
contents: read
security-events: write
with:
min-severity: medium
min-confidence: medium
persona: pedantic
+11 -4
View File
@@ -1,10 +1,10 @@
# https://yarnpkg.com/configuration/yarnrc
compressionLevel: mixed
enableGlobalCache: false
enableHardenedMode: true
nodeLinker: node-modules
logFilters:
- code: YN0004
level: discard
- code: YN0013
level: discard
- code: YN0019
@@ -14,4 +14,11 @@ logFilters:
- code: YN0086
level: discard
nodeLinker: node-modules
npmPreapprovedPackages:
- "@docker/actions-toolkit"
compressionLevel: mixed
enableGlobalCache: false
enableHardenedMode: true
enableScripts: false
npmMinimalAgeGate: 2d
+20 -28
View File
@@ -75,27 +75,23 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v6
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: name/app
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@@ -129,13 +125,10 @@ jobs:
docker:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v6
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: |
name/app
@@ -147,15 +140,14 @@ jobs:
-
name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
uses: docker/login-action@v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@@ -210,7 +202,7 @@ jobs:
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: |
name/app
@@ -222,7 +214,7 @@ jobs:
type=sha
-
name: Build
uses: docker/bake-action@v6
uses: docker/bake-action@v7
with:
files: |
./docker-bake.hcl
@@ -269,7 +261,7 @@ similar to the previous one:
```yaml
-
name: Build
uses: docker/bake-action@v6
uses: docker/bake-action@v7
with:
files: |
./docker-bake.hcl
@@ -336,7 +328,7 @@ Alternatively, each output is also exported as an environment variable when `DOC
So it can be used with our [Docker Build Push action](https://github.com/docker/build-push-action/):
```yaml
- uses: docker/build-push-action@v6
- uses: docker/build-push-action@v7
with:
build-args: |
DOCKER_METADATA_OUTPUT_JSON
@@ -728,7 +720,7 @@ increase this length for larger repositories by setting the
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: |
name/app
@@ -939,13 +931,13 @@ that you can reuse them further in your workflow using the [`fromJSON` function]
```yaml
-
name: Docker meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
id: meta
with:
images: name/app
-
name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
@@ -965,7 +957,7 @@ this:
-
name: Docker meta
id: meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: name/app
labels: |
@@ -987,12 +979,12 @@ of the `metadata-action`:
```yaml
-
name: Docker meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: name/app
-
name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
tags: ${{ steps.meta.outputs.tags }}
annotations: ${{ steps.meta.outputs.annotations }}
@@ -1003,12 +995,12 @@ The same can be done with the [`bake-action`](https://github.com/docker/bake-act
```yaml
-
name: Docker meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: name/app
-
name: Build
uses: docker/bake-action@v6
uses: docker/bake-action@v7
with:
files: |
./docker-bake.hcl
@@ -1032,14 +1024,14 @@ Please consult the documentation of your registry.
```yaml
-
name: Docker meta
uses: docker/metadata-action@v5
uses: docker/metadata-action@v6
with:
images: name/app
env:
DOCKER_METADATA_ANNOTATIONS_LEVELS: manifest,index
-
name: Build and push
uses: docker/build-push-action@v6
uses: docker/build-push-action@v7
with:
tags: ${{ steps.meta.outputs.tags }}
annotations: ${{ steps.meta.outputs.annotations }}
+1 -1
View File
@@ -67,4 +67,4 @@ outputs:
runs:
using: 'node24'
main: 'dist/index.js'
main: 'dist/index.cjs'
+1 -1
View File
@@ -17,7 +17,7 @@ FROM base AS deps
RUN --mount=type=bind,target=.,rw \
--mount=type=cache,target=/src/.yarn/cache \
--mount=type=cache,target=/src/node_modules \
yarn install && mkdir /vendor && cp yarn.lock /vendor
yarn install --immutable && mkdir /vendor && cp yarn.lock /vendor
FROM scratch AS vendor-update
COPY --from=deps /vendor /
Generated Vendored
-299
View File
@@ -1,299 +0,0 @@
export const id = 606;
export const ids = [606];
export const modules = {
/***/ 606:
/***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
/* harmony export */ __webpack_require__.d(__webpack_exports__, {
/* harmony export */ "default": () => (/* binding */ pMap)
/* harmony export */ });
/* unused harmony exports pMapIterable, pMapSkip */
async function pMap(
iterable,
mapper,
{
concurrency = Number.POSITIVE_INFINITY,
stopOnError = true,
signal,
} = {},
) {
return new Promise((resolve_, reject_) => {
if (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {
throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof iterable})`);
}
if (typeof mapper !== 'function') {
throw new TypeError('Mapper function is required');
}
if (!((Number.isSafeInteger(concurrency) && concurrency >= 1) || concurrency === Number.POSITIVE_INFINITY)) {
throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
}
const result = [];
const errors = [];
const skippedIndexesMap = new Map();
let isRejected = false;
let isResolved = false;
let isIterableDone = false;
let resolvingCount = 0;
let currentIndex = 0;
const iterator = iterable[Symbol.iterator] === undefined ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();
const signalListener = () => {
reject(signal.reason);
};
const cleanup = () => {
signal?.removeEventListener('abort', signalListener);
};
const resolve = value => {
resolve_(value);
cleanup();
};
const reject = reason => {
isRejected = true;
isResolved = true;
reject_(reason);
cleanup();
};
if (signal) {
if (signal.aborted) {
reject(signal.reason);
}
signal.addEventListener('abort', signalListener, {once: true});
}
const next = async () => {
if (isResolved) {
return;
}
const nextItem = await iterator.next();
const index = currentIndex;
currentIndex++;
// Note: `iterator.next()` can be called many times in parallel.
// This can cause multiple calls to this `next()` function to
// receive a `nextItem` with `done === true`.
// The shutdown logic that rejects/resolves must be protected
// so it runs only one time as the `skippedIndex` logic is
// non-idempotent.
if (nextItem.done) {
isIterableDone = true;
if (resolvingCount === 0 && !isResolved) {
if (!stopOnError && errors.length > 0) {
reject(new AggregateError(errors)); // eslint-disable-line unicorn/error-message
return;
}
isResolved = true;
if (skippedIndexesMap.size === 0) {
resolve(result);
return;
}
const pureResult = [];
// Support multiple `pMapSkip`'s.
for (const [index, value] of result.entries()) {
if (skippedIndexesMap.get(index) === pMapSkip) {
continue;
}
pureResult.push(value);
}
resolve(pureResult);
}
return;
}
resolvingCount++;
// Intentionally detached
(async () => {
try {
const element = await nextItem.value;
if (isResolved) {
return;
}
const value = await mapper(element, index);
// Use Map to stage the index of the element.
if (value === pMapSkip) {
skippedIndexesMap.set(index, value);
}
result[index] = value;
resolvingCount--;
await next();
} catch (error) {
if (stopOnError) {
reject(error);
} else {
errors.push(error);
resolvingCount--;
// In that case we can't really continue regardless of `stopOnError` state
// since an iterable is likely to continue throwing after it throws once.
// If we continue calling `next()` indefinitely we will likely end up
// in an infinite loop of failed iteration.
try {
await next();
} catch (error) {
reject(error);
}
}
}
})();
};
// Create the concurrent runners in a detached (non-awaited)
// promise. We need this so we can await the `next()` calls
// to stop creating runners before hitting the concurrency limit
// if the iterable has already been marked as done.
// NOTE: We *must* do this for async iterators otherwise we'll spin up
// infinite `next()` calls by default and never start the event loop.
(async () => {
for (let index = 0; index < concurrency; index++) {
try {
// eslint-disable-next-line no-await-in-loop
await next();
} catch (error) {
reject(error);
break;
}
if (isIterableDone || isRejected) {
break;
}
}
})();
});
}
function pMapIterable(
iterable,
mapper,
{
concurrency = Number.POSITIVE_INFINITY,
backpressure = concurrency,
} = {},
) {
if (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {
throw new TypeError(`Expected \`input\` to be either an \`Iterable\` or \`AsyncIterable\`, got (${typeof iterable})`);
}
if (typeof mapper !== 'function') {
throw new TypeError('Mapper function is required');
}
if (!((Number.isSafeInteger(concurrency) && concurrency >= 1) || concurrency === Number.POSITIVE_INFINITY)) {
throw new TypeError(`Expected \`concurrency\` to be an integer from 1 and up or \`Infinity\`, got \`${concurrency}\` (${typeof concurrency})`);
}
if (!((Number.isSafeInteger(backpressure) && backpressure >= concurrency) || backpressure === Number.POSITIVE_INFINITY)) {
throw new TypeError(`Expected \`backpressure\` to be an integer from \`concurrency\` (${concurrency}) and up or \`Infinity\`, got \`${backpressure}\` (${typeof backpressure})`);
}
return {
async * [Symbol.asyncIterator]() {
const iterator = iterable[Symbol.asyncIterator] === undefined ? iterable[Symbol.iterator]() : iterable[Symbol.asyncIterator]();
const promises = [];
let runningMappersCount = 0;
let isDone = false;
let index = 0;
function trySpawn() {
if (isDone || !(runningMappersCount < concurrency && promises.length < backpressure)) {
return;
}
const promise = (async () => {
const {done, value} = await iterator.next();
if (done) {
return {done: true};
}
runningMappersCount++;
// Spawn if still below concurrency and backpressure limit
trySpawn();
try {
const returnValue = await mapper(await value, index++);
runningMappersCount--;
if (returnValue === pMapSkip) {
const index = promises.indexOf(promise);
if (index > 0) {
promises.splice(index, 1);
}
}
// Spawn if still below backpressure limit and just dropped below concurrency limit
trySpawn();
return {done: false, value: returnValue};
} catch (error) {
isDone = true;
return {error};
}
})();
promises.push(promise);
}
trySpawn();
while (promises.length > 0) {
const {error, done, value} = await promises[0]; // eslint-disable-line no-await-in-loop
promises.shift();
if (error) {
throw error;
}
if (done) {
return;
}
// Spawn if just dropped below backpressure limit and below the concurrency limit
trySpawn();
if (value === pMapSkip) {
continue;
}
yield value;
}
},
};
}
const pMapSkip = Symbol('skip');
/***/ })
};
//# sourceMappingURL=606.index.js.map
Generated Vendored
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"606.index.js","mappings":";;;;;;;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","sources":[".././node_modules/p-map/index.js"],"sourcesContent":["export default async function pMap(\n\titerable,\n\tmapper,\n\t{\n\t\tconcurrency = Number.POSITIVE_INFINITY,\n\t\tstopOnError = true,\n\t\tsignal,\n\t} = {},\n) {\n\treturn new Promise((resolve_, reject_) => {\n\t\tif (iterable[Symbol.iterator] === undefined && iterable[Symbol.asyncIterator] === undefined) {\n\t\t\tthrow new TypeError(`Expected \\`input\\` to be either an \\`Iterable\\` or \\`AsyncIterable\\`, got (${typeof iterable})`);\n\t\t}\n\n\t\tif (typeof mapper !== 'function') {\n\t\t\tthrow new TypeError('Mapper function is required');\n\t\t}\n\n\t\tif (!((Number.isSafeInteger(concurrency) && concurrency >= 1) || concurrency === Number.POSITIVE_INFINITY)) {\n\t\t\tthrow new TypeError(`Expected \\`concurrency\\` to be an integer from 1 and up or \\`Infinity\\`, got \\`${concurrency}\\` (${typeof concurrency})`);\n\t\t}\n\n\t\tconst result = [];\n\t\tconst errors = [];\n\t\tconst skippedIndexesMap = new Map();\n\t\tlet isRejected = false;\n\t\tlet isResolved = false;\n\t\tlet isIterableDone = false;\n\t\tlet resolvingCount = 0;\n\t\tlet currentIndex = 0;\n\t\tconst iterator = iterable[Symbol.iterator] === undefined ? iterable[Symbol.asyncIterator]() : iterable[Symbol.iterator]();\n\n\t\tconst signalListener = () => {\n\t\t\treject(signal.reason);\n\t\t};\n\n\t\tconst cleanup = () => {\n\t\t\tsignal?.removeEventListener('abort', signalListener);\n\t\t};\n\n\t\tconst resolve = value => {\n\t\t\tresolve_(value);\n\t\t\tcleanup();\n\t\t};\n\n\t\tconst reject = reason => {\n\t\t\tisRejected = true;\n\t\t\tisResolved = true;\n\t\t\treject_(reason);\n\t\t\tcleanup();\n\t\t};\n\n\t\tif (signal) {\n\t\t\tif (signal.aborted) {\n\t\t\t\treject(signal.reason);\n\t\t\t}\n\n\t\t\tsignal.addEventListener('abort', signalListener, {once: true});\n\t\t}\n\n\t\tconst next = async () => {\n\t\t\tif (isResolved) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst nextItem = await iterator.next();\n\n\t\t\tconst index = currentIndex;\n\t\t\tcurrentIndex++;\n\n\t\t\t// Note: `iterator.next()` can be called many times in parallel.\n\t\t\t// This can cause multiple calls to this `next()` function to\n\t\t\t// receive a `nextItem` with `done === true`.\n\t\t\t// The shutdown logic that rejects/resolves must be protected\n\t\t\t// so it runs only one time as the `skippedIndex` logic is\n\t\t\t// non-idempotent.\n\t\t\tif (nextItem.done) {\n\t\t\t\tisIterableDone = true;\n\n\t\t\t\tif (resolvingCount === 0 && !isResolved) {\n\t\t\t\t\tif (!stopOnError && errors.length > 0) {\n\t\t\t\t\t\treject(new AggregateError(errors)); // eslint-disable-line unicorn/error-message\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tisResolved = true;\n\n\t\t\t\t\tif (skippedIndexesMap.size === 0) {\n\t\t\t\t\t\tresolve(result);\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst pureResult = [];\n\n\t\t\t\t\t// Support multiple `pMapSkip`'s.\n\t\t\t\t\tfor (const [index, value] of result.entries()) {\n\t\t\t\t\t\tif (skippedIndexesMap.get(index) === pMapSkip) {\n\t\t\t\t\t\t\tcontinue;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tpureResult.push(value);\n\t\t\t\t\t}\n\n\t\t\t\t\tresolve(pureResult);\n\t\t\t\t}\n\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tresolvingCount++;\n\n\t\t\t// Intentionally detached\n\t\t\t(async () => {\n\t\t\t\ttry {\n\t\t\t\t\tconst element = await nextItem.value;\n\n\t\t\t\t\tif (isResolved) {\n\t\t\t\t\t\treturn;\n\t\t\t\t\t}\n\n\t\t\t\t\tconst value = await mapper(element, index);\n\n\t\t\t\t\t// Use Map to stage the index of the element.\n\t\t\Line truncated
Generated Vendored
+315
View File
@@ -0,0 +1,315 @@
var EIe=Object.create;var bz=Object.defineProperty;var CIe=Object.getOwnPropertyDescriptor;var yIe=Object.getOwnPropertyNames;var BIe=Object.getPrototypeOf,qIe=Object.prototype.hasOwnProperty;var s=(t,e)=>bz(t,"name",{value:e,configurable:!0});var m=(t,e)=>()=>(e||t((e={exports:{}}).exports,e),e.exports),DIe=(t,e)=>{for(var r in e)bz(t,r,{get:e[r],enumerable:!0})},IIe=(t,e,r,n)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of yIe(e))!qIe.call(t,o)&&o!==r&&bz(t,o,{get:()=>e[o],enumerable:!(n=CIe(e,o))||n.enumerable});return t};var w=(t,e,r)=>(r=t!=null?EIe(BIe(t)):{},IIe(e||!t||!t.__esModule?bz(r,"default",{value:t,enumerable:!0}):r,t));var K9=m(lA=>{"use strict";var uB0=require("net"),WIe=require("tls"),rI=require("http"),Y9=require("https"),xIe=require("events"),pB0=require("assert"),TIe=require("util");lA.httpOverHttp=vIe;lA.httpsOverHttp=LIe;lA.httpOverHttps=_Ie;lA.httpsOverHttps=QIe;function vIe(t){var e=new gs(t);return e.request=rI.request,e}s(vIe,"httpOverHttp");function LIe(t){var e=new gs(t);return e.request=rI.request,e.createSocket=$9,e.defaultPort=443,e}s(LIe,"httpsOverHttp");function _Ie(t){var e=new gs(t);return e.request=Y9.request,e}s(_Ie,"httpOverHttps");function QIe(t){var e=new gs(t);return e.request=Y9.request,e.createSocket=$9,e.defaultPort=443,e}s(QIe,"httpsOverHttps");function gs(t){var e=this;e.options=t||{},e.proxyOptions=e.options.proxy||{},e.maxSockets=e.options.maxSockets||rI.Agent.defaultMaxSockets,e.requests=[],e.sockets=[],e.on("free",s(function(n,o,i,a){for(var c=j9(o,i,a),u=0,p=e.requests.length;u<p;++u){var A=e.requests[u];if(A.host===c.host&&A.port===c.port){e.requests.splice(u,1),A.request.onSocket(n);return}}n.destroy(),e.removeSocket(n)},"onFree"))}s(gs,"TunnelingAgent");TIe.inherits(gs,xIe.EventEmitter);gs.prototype.addRequest=s(function(e,r,n,o){var i=this,a=nI({request:e},i.options,j9(r,n,o));if(i.sockets.length>=this.maxSockets){i.requests.push(a);return}i.createSocket(a,function(c){c.on("free",u),c.on("close",p),c.on("agentRemove",p),e.onSocket(c);function u(){i.emit("free",c,a)}s(u,"onFree");function p(A){i.removeSocket(c),c.removeListener("free",u),c.removeListener("close",p),c.removeListener("agentRemove",p)}s(p,"onCloseOrRemove")})},"addRequest");gs.prototype.createSocket=s(function(e,r){var n=this,o={};n.sockets.push(o);var i=nI({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),wa("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",c),a.once("upgrade",u),a.once("connect",p),a.once("error",A),a.end();function c(l){l.upgrade=!0}s(c,"onResponse");function u(l,b,M){process.nextTick(function(){p(l,b,M)})}s(u,"onUpgrade");function p(l,b,M){if(a.removeAllListeners(),b.removeAllListeners(),l.statusCode!==200){wa("tunneling socket could not be established, statusCode=%d",l.statusCode),b.destroy();var z=new Error("tunneling socket could not be established, statusCode="+l.statusCode);z.code="ECONNRESET",e.request.emit("error",z),n.removeSocket(o);return}if(M.length>0){wa("got illegal response body from proxy"),b.destroy();var z=new Error("got illegal response body from proxy");z.code="ECONNRESET",e.request.emit("error",z),n.removeSocket(o);return}return wa("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=b,r(b)}s(p,"onConnect");function A(l){a.removeAllListeners(),wa(`tunneling socket could not be established, cause=%s
`,l.message,l.stack);var b=new Error("tunneling socket could not be established, cause="+l.message);b.code="ECONNRESET",e.request.emit("error",b),n.removeSocket(o)}s(A,"onError")},"createSocket");gs.prototype.removeSocket=s(function(e){var r=this.sockets.indexOf(e);if(r!==-1){this.sockets.splice(r,1);var n=this.requests.shift();n&&this.createSocket(n,function(o){n.request.onSocket(o)})}},"removeSocket");function $9(t,e){var r=this;gs.prototype.createSocket.call(r,t,function(n){var o=t.request.getHeader("host"),i=nI({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):t.host}),a=WIe.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,e(a)})}s($9,"createSecureSocket");function j9(t,e,r){return typeof t=="string"?{host:t,port:e,localAddress:r}:t}s(j9,"toOptions");function nI(t){for(var e=1,r=arguments.length;e<r;++e){var n=arguments[e];if(typeof n=="object")for(var o=Object.keys(n),i=0,a=o.length;i<a;++i){var c=o[i];n[c]!==void 0&&(t[c]=n[c])}}return t}s(nI,"mergeOptions");var wa;process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?wa=s(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"):wa=s(function(){},"debug");lA.debug=wa});var jd=m((dB0,Z9)=>{Z9.exports=K9()});var G0=m((bB0,eU)=>{eU.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 p0=m((fB0,BU)=>{"use strict";var tU=Symbol.for("undici.error.UND_ERR"),H0=class extends Error{static{s(this,"UndiciError")}constructor(e){super(e),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&e[tU]===!0}[tU]=!0},rU=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT"),oI=class extends H0{static{s(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[rU]===!0}[rU]=!0},nU=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT"),iI=class extends H0{static{s(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[nU]===!0}[nU]=!0},oU=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW"),sI=class extends H0{static{s(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[oU]===!0}[oU]=!0},iU=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT"),aI=class extends H0{static{s(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}s(LG,"isValidHeaderValue");function rNe(t,e){let{headersList:r}=e,n=(r.get("referrer-policy",!0)??"").split(","),o="";if(n.length>0)for(let i=n.length;i!==0;i--){let a=n[i-1].trim();if(QRe.has(a)){o=a;break}}o!==""&&(t.referrerPolicy=o)}s(rNe,"setRequestReferrerPolicyOnRedirect");function nNe(){return"allowed"}s(nNe,"crossOriginResourcePolicyCheck");function oNe(){return"success"}s(oNe,"corsCheck");function iNe(){return"success"}s(iNe,"TAOCheck");function sNe(t){let e=null;e=t.mode,t.headersList.set("sec-fetch-mode",e,!0)}s(sNe,"appendFetchMetadata");function aNe(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&&ZI(t.origin)&&!ZI(ab(t))&&(e=null);break;case"same-origin":_z(t,ab(t))||(e=null);break;default:}t.headersList.append("origin",e,!0)}}}s(aNe,"appendRequestOriginHeader");function EA(t,e){return t}s(EA,"coarsenTime");function cNe(t,e,r){return!t?.startTime||t.startTime<e?{domainLookupStartTime:e,domainLookupEndTime:e,connectionStartTime:e,connectionEndTime:e,secureConnectionStartTime:e,ALPNNegotiatedProtocol:t?.ALPNNegotiatedProtocol}:{domainLookupStartTime:EA(t.domainLookupStartTime,r),domainLookupEndTime:EA(t.domainLookupEndTime,r),connectionStartTime:EA(t.connectionStartTime,r),connectionEndTime:EA(t.connectionEndTime,r),secureConnectionStartTime:EA(t.secureConnectionStartTime,r),ALPNNegotiatedProtocol:t.ALPNNegotiatedProtocol}}s(cNe,"clampAndCoarsenConnectionTimingInfo");function uNe(t){return EA(HRe.now(),t)}s(uNe,"coarsenedSharedCurrentTime");function pNe(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}}s(pNe,"createOpaqueTimingInfo");function _G(){return{referrerPolicy:"strict-origin-when-cross-origin"}}s(_G,"makePolicyContainer");function ANe(t){return{referrerPolicy:t.referrerPolicy}}s(ANe,"clonePolicyContainer");function lNe(t){let e=t.referrerPolicy;ru(e);let r=null;if(t.referrer==="client"){let c=FG();if(!c||c.origin==="null")return"no-referrer";r=new URL(c)}else t.referrer instanceof URL&&(r=t.referrer);let n=KI(r),o=KI(r,!0);n.toString().length>4096&&(n=o);let i=_z(t,n),a=sb(n)&&!sb(t.url);switch(e){case"origin":return o??KI(r,!0);case"unsafe-url":return n;case"same-origin":return i?o:"no-referrer";case"origin-when-cross-origin":return i?n:o;case"strict-origin-when-cross-origin":{let c=ab(t);return _z(n,c)?n:sb(n)&&!sb(c)?"no-referrer":o}default:return a?"no-referrer":o}}s(lNe,"determineRequestsReferrer");function KI(t,e){return ru(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)}s(KI,"stripURLForReferrer");function sb(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 n=new URL(r);return!!(n.protocol==="https:"||n.protocol==="wss:"||/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(n.hostname)||n.hostname==="localhost"||n.hostname.includes("localhost.")||n.hostname.endsWith(".localhost"))}}s(sb,"isURLPotentiallyTrustworthy");function dNe(t,e){if(Lz===void 0)return!0;let r=QG(e);if(r==="no metadata"||r.length===0)return!0;let n=fNe(r),o=MNe(r,n);for(let i of o){let a=i.algo,c=i.hash,u=Lz.createHash(a).update(t).digest("base64");if(u[u.length-1]==="="&&(u[u.length-2]==="="?u=u.slice(0,-2):u=u.slice(0,-1)),mNe(u,c))return!0}return!1}s(dNe,"bytesMatch");var bNe=/(?<algo>sha256|sha384|sha512)-((?<hash>[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function QG(t){let e=[],r=!0;for(let n of t.split(" ")){r=!1;let o=bNe.exec(n);if(o===null||o.groups===void 0||o.groups.algo===void 0)continue;let i=o.groups.algo.toLowerCase();xG.includes(i)&&e.push(o.groups)}return r===!0?"no metadata":e}s(QG,"parseMetadata");function fNe(t){let e=t[0].algo;if(e[3]==="5")return e;for(let r=1;r<t.length;++r){let n=t[r];if(n.algo[3]==="5"){e="sha512";break}else{if(e[3]==="3")continue;n.algo[3]==="3"&&(e="sha384")}}return e}s(fNe,"getStrongestMetadata");function MNe(t,e){if(t.length===1)return t;let r=0;for(let n=0;n<t.length;++n)t[n].algo===e&&(t[r++]=t[n]);return t.length=r,t}s(MNe,"filterMetadataListByAlgorithm");function mNe(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}s(mNe,"compareBase64Mixed");function hNe(t){}s(hNe,"tryUpgradeReque Line truncated
`);function ewe(t){for(let e=0;e<t.length;++e)if((t.charCodeAt(e)&-128)!==0)return!1;return!0}s(ewe,"isAsciiString");function twe(t){let e=t.length;if(e<27||e>70)return!1;for(let r=0;r<e;++r){let n=t.charCodeAt(r);if(!(n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122||n===39||n===45||n===95))return!1}return!0}s(twe,"validateBoundary");function rwe(t,e){Pz(e!=="failure"&&e.essence==="multipart/form-data");let r=e.parameters.get("boundary");if(r===void 0)return"failure";let n=Buffer.from(`--${r}`,"utf8"),o=[],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+n.length).equals(n))i.position+=n.length;else return"failure";if(i.position===t.length-2&&kz(t,KNe,i)||i.position===t.length-4&&kz(t,ZNe,i))return o;if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let c=nwe(t,i);if(c==="failure")return"failure";let{name:u,filename:p,contentType:A,encoding:l}=c;i.position+=2;let b;{let z=t.indexOf(n.subarray(2),i.position);if(z===-1)return"failure";b=t.subarray(i.position,z-4),i.position+=b.length,l==="base64"&&(b=Buffer.from(b.toString(),"base64"))}if(t[i.position]!==13||t[i.position+1]!==10)return"failure";i.position+=2;let M;p!==null?(A??="text/plain",ewe(A)||(A=""),M=new $Ne([b],p,{type:A})):M=HNe(Buffer.from(b)),Pz(ZG(u)),Pz(typeof M=="string"&&ZG(M)||VNe(M)),o.push(JNe(u,M,p))}}s(rwe,"multipartFormDataParser");function nwe(t,e){let r=null,n=null,o=null,i=null;for(;;){if(t[e.position]===13&&t[e.position+1]===10)return r===null?"failure":{name:r,filename:n,contentType:o,encoding:i};let a=yA(c=>c!==10&&c!==13&&c!==58,t,e);if(a=s5(a,!0,!0,c=>c===9||c===32),!XNe.test(a.toString())||t[e.position]!==58)return"failure";switch(e.position++,yA(c=>c===32||c===9,t,e),GNe(a)){case"content-disposition":{if(r=n=null,!kz(t,jNe,e)||(e.position+=17,r=rH(t,e),r===null))return"failure";if(kz(t,tH,e)){let c=e.position+tH.length;if(t[c]===42&&(e.position+=1,c+=1),t[c]!==61||t[c+1]!==34||(e.position+=12,n=rH(t,e),n===null))return"failure"}break}case"content-type":{let c=yA(u=>u!==10&&u!==13,t,e);c=s5(c,!1,!0,u=>u===9||u===32),o=eH(c);break}case"content-transfer-encoding":{let c=yA(u=>u!==10&&u!==13,t,e);c=s5(c,!1,!0,u=>u===9||u===32),i=eH(c);break}default:yA(c=>c!==10&&c!==13,t,e)}if(t[e.position]!==13&&t[e.position+1]!==10)return"failure";e.position+=2}}s(nwe,"parseMultipartFormDataHeaders");function rH(t,e){Pz(t[e.position-1]===34);let r=yA(n=>n!==10&&n!==13&&n!==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)}s(rH,"parseMultipartFormDataName");function yA(t,e,r){let n=r.position;for(;n<e.length&&t(e[n]);)++n;return e.subarray(r.position,r.position=n)}s(yA,"collectASequenceOfBytes");function s5(t,e,r,n){let o=0,i=t.length-1;if(e)for(;o<t.length&&n(t[o]);)o++;if(r)for(;i>0&&n(t[i]);)i--;return o===0&&i===t.length-1?t:t.subarray(o,i+1)}s(s5,"removeChars");function kz(t,e,r){if(t.length<e.length)return!1;for(let n=0;n<e.length;n++)if(e[n]!==t[r.position+n])return!1;return!0}s(kz,"bufferStartsWith");nH.exports={multipartFormDataParser:rwe,validateBoundary:twe}});var DA=m((tq0,bH)=>{"use strict";var pb=Xe(),{ReadableStreamFrom:owe,isBlobLike:iH,isReadableStreamLike:iwe,readableStreamClose:swe,createDeferredPromise:awe,fullyReadBody:cwe,extractMimeType:uwe,utf8DecodeBytes:cH}=Nr(),{FormData:sH}=ub(),{kState:qA}=Sa(),{webidl:pwe}=st(),{Blob:Awe}=require("node:buffer"),a5=require("node:assert"),{isErrored:uH,isDisturbed:lwe}=require("node:stream"),{isArrayBuffer:dwe}=require("node:util/types"),{serializeAMimeType:bwe}=tr(),{multipartFormDataParser:fwe}=oH(),c5;try{let t=require("node:crypto");c5=s(e=>t.randomInt(0,e),"random")}catch{c5=s(t=>Math.floor(Math.random(t)),"random")}var Uz=new TextEncoder;function Mwe(){}s(Mwe,"noop");var pH=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0,AH;pH&&(AH=new FinalizationRegistry(t=>{let e=t.deref();e&&!e.locked&&!lwe(e)&&!uH(e)&&e.cancel("Response object has been garbage collected").catch(Mwe)}));function lH(t,e=!1){let r=null;t instanceof ReadableStream?r=t:iH(t)?r=t.stream():r=new ReadableStream({async pull(u){let p=typeof o=="string"?Uz.encode(o):o;p.byteLength&&u.enqueue(p),queueMicrotask(()=>swe(u))},start(){},type:"bytes"}),a5(iwe(r));let n=null,o=null,i=null,a=null;if(typeof t=="string")o=t,a="text/plain;charset=UTF-8";else if(t instanceof URLSearchParams)o=t.toString(),a="application/x-www-form-urlencoded;charset=UTF-8";else if(dwe(t))o=new Uint8Array(t.slice());else if(ArrayBuffer.isView(t))o=new Uint8Array(t.buffer.slice(t.byteOffset,t.byteOffset+t.byteLength));else if(pb.isFormDataLike(t)){let u=`----formdata-undici-0${`${c5(1e11)}`.padStart(11,"0")}`,p=`--${u}\r
Content-Disposition: form-data`;let A=s(y=>y.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),"escape"),l=s(y=>y.replace(/\r?\n|\r/g,`\r
`),"normalizeLinefeeds"),b=[],M=new Uint8Array([13,10]);i=0;let z=!1;for(let[y,E]of t)if(typeof E=="string"){let B=Uz.encode(p+`; name="${A(l(y))}"\r
\r
${l(E)}\r
`);b.push(B),i+=B.byteLength}else{let B=Uz.encode(`${p}; name="${A(l(y))}"`+(E.name?`; filename="${A(E.name)}"`:"")+`\r
Content-Type: ${E.type||"application/octet-stream"}\r
\r
`);b.push(B,E,M),typeof E.size=="number"?i+=B.byteLength+E.size+M.byteLength:z=!0}let O=Uz.encode(`--${u}--\r
`);b.push(O),i+=O.byteLength,z&&(i=null),o=t,n=s(async function*(){for(let y of b)y.stream?yield*y.stream():yield y},"action"),a=`multipart/form-data; boundary=${u}`}else if(iH(t))o=t,i=t.size,t.type&&(a=t.type);else if(typeof t[Symbol.asyncIterator]=="function"){if(e)throw new TypeError("keepalive");if(pb.isDisturbed(t)||t.locked)throw new TypeError("Response body object should not be disturbed or locked");r=t instanceof ReadableStream?t:owe(t)}if((typeof o=="string"||pb.isBuffer(o))&&(i=Buffer.byteLength(o)),n!=null){let u;r=new ReadableStream({async start(){u=n(t)[Symbol.asyncIterator]()},async pull(p){let{value:A,done:l}=await u.next();if(l)queueMicrotask(()=>{p.close(),p.byobRequest?.respond(0)});else if(!uH(r)){let b=new Uint8Array(A);b.byteLength&&p.enqueue(b)}return p.desiredSize>0},async cancel(p){await u.return()},type:"bytes"})}return[{stream:r,source:o,length:i},a]}s(lH,"extractBody");function mwe(t,e=!1){return t instanceof ReadableStream&&(a5(!pb.isDisturbed(t),"The body has already been consumed."),a5(!t.locked,"The stream is locked.")),lH(t,e)}s(mwe,"safelyExtractBody");function hwe(t,e){let[r,n]=e.stream.tee();return e.stream=r,{stream:n,length:e.length,source:e.source}}s(hwe,"cloneBody");function zwe(t){if(t.aborted)throw new DOMException("The operation was aborted.","AbortError")}s(zwe,"throwIfAborted");function gwe(t){return{blob(){return BA(this,r=>{let n=aH(this);return n===null?n="":n&&(n=bwe(n)),new Awe([r],{type:n})},t)},arrayBuffer(){return BA(this,r=>new Uint8Array(r).buffer,t)},text(){return BA(this,cH,t)},json(){return BA(this,Ewe,t)},formData(){return BA(this,r=>{let n=aH(this);if(n!==null)switch(n.essence){case"multipart/form-data":{let o=fwe(r,n);if(o==="failure")throw new TypeError("Failed to parse body as FormData.");let i=new sH;return i[qA]=o,i}case"application/x-www-form-urlencoded":{let o=new URLSearchParams(r.toString()),i=new sH;for(let[a,c]of o)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 BA(this,r=>new Uint8Array(r),t)}}}s(gwe,"bodyMixinMethods");function Owe(t){Object.assign(t.prototype,gwe(t))}s(Owe,"mixinBody");async function BA(t,e,r){if(pwe.brandCheck(t,r),dH(t))throw new TypeError("Body is unusable: Body has already been read");zwe(t[qA]);let n=awe(),o=s(a=>n.reject(a),"errorSteps"),i=s(a=>{try{n.resolve(e(a))}catch(c){o(c)}},"successSteps");return t[qA].body==null?(i(Buffer.allocUnsafe(0)),n.promise):(await cwe(t[qA].body,i,o),n.promise)}s(BA,"consumeBody");function dH(t){let e=t[qA].body;return e!=null&&(e.stream.locked||pb.isDisturbed(e.stream))}s(dH,"bodyUnusable");function Ewe(t){return JSON.parse(cH(t))}s(Ewe,"parseJSONFromBytes");function aH(t){let e=t[qA].headersList,r=uwe(e);return r==="failure"?null:r}s(aH,"bodyMimeType");bH.exports={extractBody:lH,safelyExtractBody:mwe,cloneBody:hwe,mixinBody:Owe,streamRegistry:AH,hasFinalizationRegistry:pH,bodyUnusable:dH}});var NH=m((nq0,RH)=>{"use strict";var fe=require("node:assert"),he=Xe(),{channels:fH}=bA(),u5=GI(),{RequestContentLengthMismatchError:nu,ResponseContentLengthMismatchError:MH,RequestAbortedError:yH,InvalidArgumentError:Cwe,HeadersTimeoutError:ywe,HeadersOverflowError:Bwe,SocketError:IA,InformationalError:RA,BodyTimeoutError:qwe,HTTPParserError:Dwe,ResponseExceededMaxSizeError:Iwe}=p0(),{kUrl:BH,kReset:rr,kClient:Vz,kParser:T0,kBlocking:db,kRunning:w1,kPending:qH,kSize:mH,kWriting:Fa,kQueue:io,kNoRef:Ab,kKeepAliveDefaultTimeout:Rwe,kHostHeader:Nwe,kPendingIdx:wwe,kRunningIdx:dn,kError:Ft,kPipelining:Jz,kSocket:iu,kKeepAliveTimeoutValue:$z,kMaxHeadersSize:p5,kKeepAliveMaxTimeout:Swe,kKeepAliveTimeoutThreshold:Fwe,kHeadersTimeout:Wwe,kBodyTimeout:xwe,kStrictContentLength:d5,kMaxRequests:hH,kCounter:Twe,kMaxResponseSize:vwe,kOnError:zH,kResume:qs,kHTTPContext:DH}=G0(),wr=AG(),gH=Buffer.alloc(0),Gz=Buffer[Symbol.species],Hz=he.addListener,Lwe=he.removeAllListeners,su=Symbol("kIdleSocketValidation"),ou=Symbol("kIdleSocketValidationTimeout"),m5=Symbol("kSocketUsed"),A5;async function _we(){let t=process.env.JEST_WORKER_ID?VI():void 0,e;try{e=await WebAssembly.compile(bG())}catch{e=await WebAssembly.compile(t||VI())}return await WebAssembly.instantiate(e,{env:{wasm_on_url:s((r,n,o)=>0,"wasm_on_url"),wasm_on_status:s((r,n,o)=>{fe(o1.ptr===r);let i=n-Xo+Ho.byteOffset;return o1.onStatus(new Gz(Ho.buffer,i,o))||0},"wasm_on_status"),wasm_on_message_begin:s(r=>(fe(o1.ptr===r),o1.onMessageBegin()||0),"wasm_on_message_begin"),wasm_on_header_field:s((r,n,o)=>{fe(o1.ptr===r);let i=n-Xo+Ho.byteOffset;return o1.onHeaderField(new Gz(Ho.buffer,i,o))||0},"wasm_on_header_field"),wasm_on_header_value:s((r,n,o)=>{fe(o1.ptr===r);let i=n-Xo+Ho.byteOffset;return o1.onHeaderValue(new Gz(Ho.buffer,i,o))||0},"wasm_on_header_value"),wasm_on_headers_complete:s((r,n,o,i)=>(fe(o1.ptr===r),o1.onHeadersComplete(n,!!o,!!i)||0),"wasm_on_headers_complete"),wasm_on_body:s((r,n,o)=>{fe(o1.ptr===r);let i=n-Xo+Ho.byteOffset;retu Line truncated
`;if(typeof o=="string"?O+=`host: ${o}\r
`:O+=t[Nwe],i?O+=`connection: upgrade\r
upgrade: ${i}\r
`:t[Jz]&&!M[rr]?O+=`connection: keep-alive\r
`:O+=`connection: close\r
`,Array.isArray(p))for(let y=0;y<p.length;y+=2){let E=p[y+0],B=p[y+1];if(Array.isArray(B))for(let q=0;q<B.length;q++)O+=`${E}: ${B[q]}\r
`;else O+=`${E}: ${B}\r
`}return fH.sendHeaders.hasSubscribers&&fH.sendHeaders.publish({request:e,headers:O,socket:M}),!u||b===0?EH(z,null,t,e,M,A,O,l):he.isBuffer(u)?EH(z,u,t,e,M,A,O,l):he.isBlobLike(u)?typeof u.stream=="function"?CH(z,u.stream(),t,e,M,A,O,l):Vwe(z,u,t,e,M,A,O,l):he.isStream(u)?Xwe(z,u,t,e,M,A,O,l):he.isIterable(u)?CH(z,u,t,e,M,A,O,l):fe(!1),!0}s(Hwe,"writeH1");function Xwe(t,e,r,n,o,i,a,c){fe(i!==0||r[w1]===0,"stream body cannot be pipelined");let u=!1,p=new jz({abort:t,socket:o,request:n,contentLength:i,client:r,expectsPayload:c,header:a}),A=s(function(z){if(!u)try{!p.write(z)&&this.pause&&this.pause()}catch(O){he.destroy(this,O)}},"onData"),l=s(function(){u||e.resume&&e.resume()},"onDrain"),b=s(function(){if(queueMicrotask(()=>{e.removeListener("error",M)}),!u){let z=new yH;queueMicrotask(()=>M(z))}},"onClose"),M=s(function(z){if(!u){if(u=!0,fe(o.destroyed||o[Fa]&&r[w1]<=1),o.off("drain",l).off("error",M),e.removeListener("data",A).removeListener("end",M).removeListener("close",b),!z)try{p.end()}catch(O){z=O}p.destroy(z),z&&(z.code!=="UND_ERR_INFO"||z.message!=="reset")?he.destroy(e,z):he.destroy(e)}},"onFinished");e.on("data",A).on("end",M).on("error",M).on("close",b),e.resume&&e.resume(),o.on("drain",l).on("error",M),e.errorEmitted??e.errored?setImmediate(()=>M(e.errored)):(e.endEmitted??e.readableEnded)&&setImmediate(()=>M(null)),(e.closeEmitted??e.closed)&&setImmediate(b)}s(Xwe,"writeStream");function EH(t,e,r,n,o,i,a,c){try{e?he.isBuffer(e)&&(fe(i===e.byteLength,"buffer body must have content length"),o.cork(),o.write(`${a}content-length: ${i}\r
\r
`,"latin1"),o.write(e),o.uncork(),n.onBodySent(e),!c&&n.reset!==!1&&(o[rr]=!0)):i===0?o.write(`${a}content-length: 0\r
\r
`,"latin1"):(fe(i===null,"no body must not have content length"),o.write(`${a}\r
`,"latin1")),n.onRequestSent(),r[qs]()}catch(u){t(u)}}s(EH,"writeBuffer");async function Vwe(t,e,r,n,o,i,a,c){fe(i===e.size,"blob body must have content length");try{if(i!=null&&i!==e.size)throw new nu;let u=Buffer.from(await e.arrayBuffer());o.cork(),o.write(`${a}content-length: ${i}\r
\r
`,"latin1"),o.write(u),o.uncork(),n.onBodySent(u),n.onRequestSent(),!c&&n.reset!==!1&&(o[rr]=!0),r[qs]()}catch(u){t(u)}}s(Vwe,"writeBlob");async function CH(t,e,r,n,o,i,a,c){fe(i!==0||r[w1]===0,"iterator body cannot be pipelined");let u=null;function p(){if(u){let b=u;u=null,b()}}s(p,"onDrain");let A=s(()=>new Promise((b,M)=>{fe(u===null),o[Ft]?M(o[Ft]):u=b}),"waitForDrain");o.on("close",p).on("drain",p);let l=new jz({abort:t,socket:o,request:n,contentLength:i,client:r,expectsPayload:c,header:a});try{for await(let b of e){if(o[Ft])throw o[Ft];l.write(b)||await A()}l.end()}catch(b){l.destroy(b)}finally{o.off("close",p).off("drain",p)}}s(CH,"writeIterable");var jz=class{static{s(this,"AsyncWriter")}constructor({abort:e,socket:r,request:n,contentLength:o,client:i,expectsPayload:a,header:c}){this.socket=r,this.request=n,this.contentLength=o,this.client=i,this.bytesWritten=0,this.expectsPayload=a,this.header=c,this.abort=e,r[Fa]=!0}write(e){let{socket:r,request:n,contentLength:o,client:i,bytesWritten:a,expectsPayload:c,header:u}=this;if(r[Ft])throw r[Ft];if(r.destroyed)return!1;let p=Buffer.byteLength(e);if(!p)return!0;if(o!==null&&a+p>o){if(i[d5])throw new nu;process.emitWarning(new nu)}r.cork(),a===0&&(!c&&n.reset!==!1&&(r[rr]=!0),o===null?r.write(`${u}transfer-encoding: chunked\r
`,"latin1"):r.write(`${u}content-length: ${o}\r
\r
`,"latin1")),o===null&&r.write(`\r
${p.toString(16)}\r
`,"latin1"),this.bytesWritten+=p;let A=r.write(e);return r.uncork(),n.onBodySent(e),A||r[T0].timeout&&r[T0].timeoutType===NA&&r[T0].timeout.refresh&&r[T0].timeout.refresh(),A}end(){let{socket:e,contentLength:r,client:n,bytesWritten:o,expectsPayload:i,header:a,request:c}=this;if(c.onRequestSent(),e[Fa]=!1,e[Ft])throw e[Ft];if(!e.destroyed){if(o===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&&o!==r){if(n[d5])throw new nu;process.emitWarning(new nu)}e[T0].timeout&&e[T0].timeoutType===NA&&e[T0].timeout.refresh&&e[T0].timeout.refresh(),n[qs]()}}destroy(e){let{socket:r,client:n,abort:o}=this;r[Fa]=!1,e&&(fe(n[w1]<=1,"pipeline should only contain this request"),o(e))}};RH.exports=Pwe});var LH=m((iq0,vH)=>{"use strict";var bn=require("node:assert"),{pipeline:Jwe}=require("node:stream"),Ze=Xe(),{RequestContentLengthMismatchError:h5,RequestAbortedError:wH,SocketError:bb,InformationalError:z5}=p0(),{kUrl:Kz,kReset:eg,kClient:wA,kRunning:tg,kPending:Ywe,kQueue:Wa,kPendingIdx:g5,kRunningIdx:so,kError:co,kSocket:$1,kStrictContentLength:$we,kOnError:O5,kMaxConcurrentStreams:TH,kHTTP2Session:ao,kResume:xa,kSize:jwe,kHTTPContext:Kwe}=G0(),Ds=Symbol("open streams"),SH,FH=!1,Zz;try{Zz=require("node:http2")}catch{Zz={constants:{}}}var{constants:{HTTP2_HEADER_AUTHORITY:Zwe,HTTP2_HEADER_METHOD:e6e,HTTP2_HEADER_PATH:t6e,HTTP2_HEADER_SCHEME:r6e,HTTP2_HEADER_CONTENT_LENGTH:n6e,HTTP2_HEADER_EXPECT:o6e,HTTP2_HEADER_STATUS:i6e}}=Zz;function s6e(t){let e=[];for(let[r,n]of Object.entries(t))if(Array.isArray(n))for(let o of n)e.push(Buffer.from(r),Buffer.from(o));else e.push(Buffer.from(r),Buffer.from(n));return e}s(s6e,"parseH2Headers");async function a6e(t,e){t[$1]=e,FH||(FH=!0,process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"}));let r=Zz.connect(t[Kz],{createConnection:s(()=>e,"createConnection"),peerMaxConcurrentStreams:t[TH]});r[Ds]=0,r[wA]=t,r[$1]=e,Ze.addListener(r,"error",u6e),Ze.addListener(r,"frameError",p6e),Ze.addListener(r,"end",A6e),Ze.addListener(r,"goaway",l6e),Ze.addListener(r,"close",function(){let{[wA]:o}=this,{[$1]:i}=o,a=this[$1][co]||this[co]||new bb("closed",Ze.getSocketInfo(i));if(o[ao]=null,o.destroyed){bn(o[Ywe]===0);let c=o[Wa].splice(o[so]);for(let u=0;u<c.length;u++){let p=c[u];Ze.errorRequest(o,p,a)}}}),r.unref(),t[ao]=r,e[ao]=r,Ze.addListener(e,"error",function(o){bn(o.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[co]=o,this[wA][O5](o)}),Ze.addListener(e,"end",function(){Ze.destroy(this,new bb("other side closed",Ze.getSocketInfo(this)))}),Ze.addListener(e,"close",function(){let o=this[co]||new bb("closed",Ze.getSocketInfo(this));t[$1]=null,this[ao]!=null&&this[ao].destroy(o),t[g5]=t[so],bn(t[tg]===0),t.emit("disconnect",t[Kz],[t],o),t[xa]()});let n=!1;return e.on("close",()=>{n=!0}),{version:"h2",defaultPipelining:1/0,write(...o){return b6e(t,...o)},resume(){c6e(t)},destroy(o,i){n?queueMicrotask(i):e.destroy(o).on("close",i)},get destroyed(){return e.destroyed},busy(){return!1}}}s(a6e,"connectH2");function c6e(t){let e=t[$1];e?.destroyed===!1&&(t[jwe]===0&&t[TH]===0?(e.unref(),t[ao].unref()):(e.ref(),t[ao].ref()))}s(c6e,"resumeH2");function u6e(t){bn(t.code!=="ERR_TLS_CERT_ALTNAME_INVALID"),this[$1][co]=t,this[wA][O5](t)}s(u6e,"onHttp2SessionError");function p6e(t,e,r){if(r===0){let n=new z5(`HTTP/2: "frameError" received - type ${t}, code ${e}`);this[$1][co]=n,this[wA][O5](n)}}s(p6e,"onHttp2FrameError");function A6e(){let t=new bb("other side closed",Ze.getSocketInfo(this[$1]));this.destroy(t),Ze.destroy(this[$1],t)}s(A6e,"onHttp2SessionEnd");function l6e(t){let e=this[co]||new bb(`HTTP/2: "GOAWAY" frame received with code ${t}`,Ze.getSocketInfo(this)),r=this[wA];if(r[$1]=null,r[Kwe]=null,this[ao]!=null&&(this[ao].destroy(e),this[ao]=null),Ze.destroy(this[$1],e),r[so]<r[Wa].length){let n=r[Wa][r[so]];r[Wa][r[so]++]=null,Ze.errorRequest(r,n,e),r[g5]=r[so]}bn(r[tg]===0),r.emit("disconnect",r[Kz],[r],e),r[xa]()}s(l6e,"onHTTP2GoAway");function d6e(t){return t!=="GET"&&t!=="HEAD"&&t!=="OPTIONS"&&t!=="TRACE"&&t!=="CONNECT"}s(d6e,"shouldSendContentLength");function b6e(t,e){let r=t[ao],{method:n,path:o,host:i,upgrade:a,expectContinue:c,signal:u,headers:p}=e,{body:A}=e;if(a)return Ze.errorRequest(t,e,new Error("Upgrade not supported for H2")),!1;let l={};for(let D=0;D<p.length;D+=2){let F=p[D+0],x=p[D+1];if(Array.isArray(x))for(let _=0;_<x.length;_++)l[F]?l[F]+=`,${x[_]}`:l[F]=x[_];else l[F]=x}let b,{hostname:M,port:z}=t[Kz];l[Zwe]=i||`${M}${z?`:${z}`:""}`,l[e6e]=n;let O=s(D=>{e.aborted||e.completed||(D=D||new wH,Ze.errorRequest(t,e,D),b!=null&&Ze.destroy(b,D),Ze.destroy(A,D),t[Wa][t[so]++]=null,t[xa]())},"abort");try{e.onConnect(O)}catch(D){Ze.errorRequest(t,e,D)}if(e.aborted)return!1;if(n==="CONNECT")return r.ref(),b=r.request(l,{endStream:!1,signal:u}),b.id&&!b.pending?(e.onUpgrade(null,null,b),++r[Ds],t[Wa][t[so]++]=null):b.once("ready",()=>{e.onUpgrade(null,null,b),++r[Ds],t[Wa][t[so]++]=null}),b.once("close",()=>{r[Ds]-=1,r[Ds]===0&&r.unref()}),!0;l[t6e]=o,l[r6e]="https";let y=n==="PUT"||n==="POST"||n==="PATCH";A&&typeof A.read=="function"&&A.read(0);let E=Ze.bodyLength(A);if(Ze.isFormDataLike(A)){SH??=DA().extractBody;let[D,F]=SH(A);l["content-type"]=F,A=D.stream,E=D.length}if(E==null&&(E=e.contentLength),(E===0||!y)&&(E=null),d6e(n)&&E>0&&e.contentLength!=null&&e.contentLength!==E){if(t[$we])return Ze.errorRequest(t,e, Line truncated
`,this[Q6e]=u??3e5,this[_6e]=o??3e5,this[P6e]=B??!0,this[k6e]=D,this[B5]=x,this[va]=null,this[V6e]=ce>-1?ce:-1,this[Y6e]=De??100,this[g1]=null,this[uo]=[],this[Rs]=0,this[po]=0,this[hb]=k=>D5(this,k),this[J6e]=k=>$H(this,k)}get pipelining(){return this[ig]}set pipelining(e){this[ig]=e,this[hb](!0)}get[Ob](){return this[uo].length-this[po]}get[gb](){return this[po]-this[Rs]}get[zb](){return this[uo].length-this[Rs]}get[S6e](){return!!this[g1]&&!this[FA]&&!this[g1].destroyed}get[y5](){return!!(this[g1]?.busy(null)||this[zb]>=(YH(this)||1)||this[Ob]>0)}[w6e](e){jH(this),this.once("connect",e)}[X6e](e,r){let n=e.origin||this[Jo].origin,o=new B6e(n,e,r);return this[uo].push(o),this[cu]||(au.bodyLength(o.body)==null&&au.isIterable(o.body)?(this[cu]=1,queueMicrotask(()=>D5(this))):this[hb](!0)),this[cu]&&this[La]!==2&&this[y5]&&(this[La]=2),this[La]<2}async[G6e](){return new Promise(e=>{this[zb]?this[va]=e:e(null)})}async[H6e](e){return new Promise(r=>{let n=this[uo].splice(this[po]);for(let i=0;i<n.length;i++){let a=n[i];au.errorRequest(this,a,e)}let o=s(()=>{this[va]&&(this[va](),this[va]=null),r(null)},"callback");this[g1]?(this[g1].destroy(e,o),this[g1]=null):queueMicrotask(o),this[hb]()})}},K6e=og();function $H(t,e){if(t[gb]===0&&e.code!=="UND_ERR_INFO"&&e.code!=="UND_ERR_SOCKET"){Is(t[po]===t[Rs]);let r=t[uo].splice(t[Rs]);for(let n=0;n<r.length;n++){let o=r[n];au.errorRequest(t,o,e)}Is(t[zb]===0)}}s($H,"onError");async function jH(t){Is(!t[FA]),Is(!t[g1]);let{host:e,hostname:r,protocol:n,port:o}=t[Jo];if(r[0]==="["){let i=r.indexOf("]");Is(i!==-1);let a=r.substring(1,i);Is(JH.isIP(a)),r=a}t[FA]=!0,SA.beforeConnect.hasSubscribers&&SA.beforeConnect.publish({connectParams:{host:e,hostname:r,protocol:n,port:o,version:t[g1]?.version,servername:t[Ta],localAddress:t[mb]},connector:t[Mb]});try{let i=await new Promise((a,c)=>{t[Mb]({host:e,hostname:r,protocol:n,port:o,servername:t[Ta],localAddress:t[mb]},(u,p)=>{u?c(u):a(p)})});if(t.destroyed){au.destroy(i.on("error",XH),new I6e);return}Is(i);try{t[g1]=i.alpnProtocol==="h2"?await j6e(t,i):await $6e(t,i)}catch(a){throw i.destroy().on("error",XH),a}t[FA]=!1,i[U6e]=0,i[B5]=t[B5],i[N6e]=t,i[W6e]=null,SA.connected.hasSubscribers&&SA.connected.publish({connectParams:{host:e,hostname:r,protocol:n,port:o,version:t[g1]?.version,servername:t[Ta],localAddress:t[mb]},connector:t[Mb],socket:i}),t.emit("connect",t[Jo],[t])}catch(i){if(t.destroyed)return;if(t[FA]=!1,SA.connectError.hasSubscribers&&SA.connectError.publish({connectParams:{host:e,hostname:r,protocol:n,port:o,version:t[g1]?.version,servername:t[Ta],localAddress:t[mb]},connector:t[Mb],error:i}),i.code==="ERR_TLS_CERT_ALTNAME_INVALID")for(Is(t[gb]===0);t[Ob]>0&&t[uo][t[po]].servername===t[Ta];){let a=t[uo][t[po]++];au.errorRequest(t,a,i)}else $H(t,i);t.emit("connectionError",t[Jo],[t],i)}t[hb]()}s(jH,"connect");function VH(t){t[La]=0,t.emit("drain",t[Jo],[t])}s(VH,"emitDrain");function D5(t,e){t[cu]!==2&&(t[cu]=2,Z6e(t,e),t[cu]=0,t[Rs]>256&&(t[uo].splice(0,t[Rs]),t[po]-=t[Rs],t[Rs]=0))}s(D5,"resume");function Z6e(t,e){for(;;){if(t.destroyed){Is(t[Ob]===0);return}if(t[va]&&!t[zb]){t[va](),t[va]=null;return}if(t[g1]&&t[g1].resume(),t[y5])t[La]=2;else if(t[La]===2){e?(t[La]=1,queueMicrotask(()=>VH(t))):VH(t);continue}if(t[Ob]===0||t[gb]>=(YH(t)||1))return;let r=t[uo][t[po]];if(t[Jo].protocol==="https:"&&t[Ta]!==r.servername){if(t[gb]>0)return;t[Ta]=r.servername,t[g1]?.destroy(new D6e("servername changed"),()=>{t[g1]=null,D5(t)})}if(t[FA])return;if(!t[g1]){jH(t);return}if(t[g1].destroyed||t[g1].busy(r))return;!r.aborted&&t[g1].write(r)?t[po]++:t[uo].splice(t[po],1)}}s(Z6e,"_resume");KH.exports=q5});var I5=m((bq0,ZH)=>{"use strict";var sg=class{static{s(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)}};ZH.exports=class{static{s(this,"FixedQueue")}constructor(){this.head=this.tail=new sg}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new sg),this.head.push(e)}shift(){let e=this.tail,r=e.shift();return e.isEmpty()&&e.next!==null&&(this.tail=e.next),r}}});var tX=m((Mq0,eX)=>{var{kFree:eSe,kConnected:tSe,kPending:rSe,kQueued:nSe,kRunning:oSe,kSize:iSe}=G0(),uu=Symbol("pool"),R5=class{static{s(this,"PoolStats")}constructor(e){this[uu]=e}get connected(){return this[uu][tSe]}get free(){return this[uu][eSe]}get pending(){return this[uu][rSe]}get queued(){return this[uu][nSe]}get running(){return this[uu][oSe]}get size(){return this[uu][iSe]}};eX.exports=R5});var x5=m((hq0,AX)=>{"use strict";var sSe=hA(),aSe=I5(),{kConnected:N5,kSize:rX,kRunning:nX,kPending:oX,kQueued:Eb,kBusy:cSe,kFree:uSe,kUrl:pSe,kClose:ASe,kDestroy:lSe,kDispatch:dSe}=G0(),bSe=tX(),nr=Symbol("client Line truncated
${n.count} ${n.noun} ${n.is} pending:
${e.format(r)}
`.trim())}};hJ.exports=xR});var yg=m((MD0,CJ)=>{"use strict";var gJ=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:QWe}=p0(),PWe=TA();EJ()===void 0&&OJ(new PWe);function OJ(t){if(!t||typeof t.dispatch!="function")throw new QWe("Argument agent must implement Agent");Object.defineProperty(globalThis,gJ,{value:t,writable:!0,enumerable:!1,configurable:!1})}s(OJ,"setGlobalDispatcher");function EJ(){return globalThis[gJ]}s(EJ,"getGlobalDispatcher");CJ.exports={setGlobalDispatcher:OJ,getGlobalDispatcher:EJ}});var Bg=m((zD0,yJ)=>{"use strict";yJ.exports=class{static{s(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 qJ=m((OD0,BJ)=>{"use strict";var kWe=ng();BJ.exports=t=>{let e=t?.maxRedirections;return r=>s(function(o,i){let{maxRedirections:a=e,...c}=o;if(!a)return r(o,i);let u=new kWe(r,a,o,i);return r(c,u)},"redirectInterceptor")}});var IJ=m((CD0,DJ)=>{"use strict";var UWe=bg();DJ.exports=t=>e=>s(function(n,o){return e(n,new UWe({...n,retryOptions:{...t,...n.retryOptions}},{handler:o,dispatch:e}))},"retryInterceptor")});var NJ=m((BD0,RJ)=>{"use strict";var GWe=Xe(),{InvalidArgumentError:HWe,RequestAbortedError:XWe}=p0(),VWe=Bg(),TR=class extends VWe{static{s(this,"DumpHandler")}#e=1024*1024;#t=null;#n=!1;#r=!1;#o=0;#i=null;#a=null;constructor({maxSize:e},r){if(super(r),e!=null&&(!Number.isFinite(e)||e<1))throw new HWe("maxSize must be a number greater than 0");this.#e=e??this.#e,this.#a=r}onConnect(e){this.#t=e,this.#a.onConnect(this.#s.bind(this))}#s(e){this.#r=!0,this.#i=e}onHeaders(e,r,n,o){let a=GWe.parseHeaders(r)["content-length"];if(a!=null&&a>this.#e)throw new XWe(`Response size (${a}) larger than maxSize (${this.#e})`);return this.#r?!0:this.#a.onHeaders(e,r,n,o)}onError(e){this.#n||(e=this.#i??e,this.#a.onError(e))}onData(e){return this.#o=this.#o+e.length,this.#o>=this.#e&&(this.#n=!0,this.#r?this.#a.onError(this.#i):this.#a.onComplete([])),!0}onComplete(e){if(!this.#n){if(this.#r){this.#a.onError(this.reason);return}this.#a.onComplete(e)}}};function JWe({maxSize:t}={maxSize:1024*1024}){return e=>s(function(n,o){let{dumpMaxSize:i=t}=n,a=new TR({maxSize:i},o);return e(n,a)},"Intercept")}s(JWe,"createDumpInterceptor");RJ.exports=JWe});var FJ=m((DD0,SJ)=>{"use strict";var{isIP:YWe}=require("node:net"),{lookup:$We}=require("node:dns"),jWe=Bg(),{InvalidArgumentError:VA,InformationalError:KWe}=p0(),wJ=Math.pow(2,31)-1,vR=class{static{s(this,"DNSInstance")}#e=0;#t=0;#n=new Map;dualStack=!0;affinity=null;lookup=null;pick=null;constructor(e){this.#e=e.maxTTL,this.#t=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#r,this.pick=e.pick??this.#o}get full(){return this.#n.size===this.#t}runLookup(e,r,n){let o=this.#n.get(e.hostname);if(o==null&&this.full){n(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(o==null)this.lookup(e,i,(a,c)=>{if(a||c==null||c.length===0){n(a??new KWe("No DNS entries found"));return}this.setRecords(e,c);let u=this.#n.get(e.hostname),p=this.pick(e,u,i.affinity),A;typeof p.port=="number"?A=`:${p.port}`:e.port!==""?A=`:${e.port}`:A="",n(null,`${e.protocol}//${p.family===6?`[${p.address}]`:p.address}${A}`)});else{let a=this.pick(e,o,i.affinity);if(a==null){this.#n.delete(e.hostname),this.runLookup(e,r,n);return}let c;typeof a.port=="number"?c=`:${a.port}`:e.port!==""?c=`:${e.port}`:c="",n(null,`${e.protocol}//${a.family===6?`[${a.address}]`:a.address}${c}`)}}#r(e,r,n){$We(e.hostname,{all:!0,family:this.dualStack===!1?this.affinity:0,order:"ipv4first"},(o,i)=>{if(o)return n(o);let a=new Map;for(let c of i)a.set(`${c.address}:${c.family}`,c);n(null,a.values())})}#o(e,r,n){let o=null,{records:i,offset:a}=r,c;if(this.dualStack?(n==null&&(a==null||a===wJ?(r.offset=0,n=4):(r.offset++,n=(r.offset&1)===1?6:4)),i[n]!=null&&i[n].ips.length>0?c=i[n]:c=i[n===4?6:4]):c=i[n],c==null||c.ips.length===0)return o;c.offset==null||c.offset===wJ?c.offset=0:c.offset++;let u=c.offset%c.ips.length;return o=c.ips[u]??null,o==null?o:Date.now()-o.timestamp>o.ttl?(c.ips.splice(u,1),this.pick(e,r,n)):o}setRecords(e,r){let n=Date.now(),o={records:{4:null,6:null}};for(let i of r){i.timestamp=n,typeof i.ttl=="number"?i.ttl=Math.min(i.ttl,this.#e):i.ttl=this.#e;let a=o.records[i.family]??{ips:[]};a.ips.push(i),o.records[i.family]=a}this.#n.set(e.hostname,o)}getHandler(e,r){return new LR(this,e,r)}},LR=class extends jWe{static{s(this,"DNSDispatchHandler")}#e=null;#t=null;#n=null Line truncated
${i}`;break;case"retry":Aj(i)&&(r[o]=i);break;case"id":lj(i)&&(r[o]=i);break;case"event":i.length>0&&(r[o]=i);break}}processEvent(e){e.retry&&Aj(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),e.id&&lj(e.id)&&(this.state.lastEventId=e.id),e.data!==void 0&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event={data:void 0,event:void 0,id:void 0,retry:void 0}}};dj.exports={EventSourceStream:DN}});var Ej=m((NI0,Oj)=>{"use strict";var{pipeline:s_e}=require("node:stream"),{fetching:a_e}=xb(),{makeRequest:c_e}=$A(),{webidl:Ws}=st(),{EventSourceStream:u_e}=bj(),{parseMIMEType:p_e}=tr(),{createFastMessageEvent:A_e}=rl(),{isNetworkError:fj}=Fb(),{delay:l_e}=BN(),{kEnumerableProperty:yu}=Xe(),{environmentSettingsObject:Mj}=Nr(),mj=!1,hj=3e3,Yb=0,zj=1,$b=2,d_e="anonymous",b_e="use-credentials",al=class t extends EventTarget{static{s(this,"EventSource")}#e={open:null,error:null,message:null};#t=null;#n=!1;#r=Yb;#o=null;#i=null;#a;#s;constructor(e,r={}){super(),Ws.util.markAsUncloneable(this);let n="EventSource constructor";Ws.argumentLengthCheck(arguments,1,n),mj||(mj=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=Ws.converters.USVString(e,n,"url"),r=Ws.converters.EventSourceInitDict(r,n,"eventSourceInitDict"),this.#a=r.dispatcher,this.#s={lastEventId:"",reconnectionTime:hj};let o=Mj,i;try{i=new URL(e,o.settingsObject.baseUrl),this.#s.origin=i.origin}catch(u){throw new DOMException(u,"SyntaxError")}this.#t=i.href;let a=d_e;r.withCredentials&&(a=b_e,this.#n=!0);let c={redirect:"follow",keepalive:!0,mode:"cors",credentials:a==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};c.client=Mj.settingsObject,c.headersList=[["accept",{name:"accept",value:"text/event-stream"}]],c.cache="no-store",c.initiator="other",c.urlList=[new URL(this.#t)],this.#o=c_e(c),this.#u()}get readyState(){return this.#r}get url(){return this.#t}get withCredentials(){return this.#n}#u(){if(this.#r===$b)return;this.#r=Yb;let e={request:this.#o,dispatcher:this.#a},r=s(n=>{fj(n)&&(this.dispatchEvent(new Event("error")),this.close()),this.#c()},"processEventSourceEndOfBody");e.processResponseEndOfBody=r,e.processResponse=n=>{if(fj(n))if(n.aborted){this.close(),this.dispatchEvent(new Event("error"));return}else{this.#c();return}let o=n.headersList.get("content-type",!0),i=o!==null?p_e(o):"failure",a=i!=="failure"&&i.essence==="text/event-stream";if(n.status!==200||a===!1){this.close(),this.dispatchEvent(new Event("error"));return}this.#r=zj,this.dispatchEvent(new Event("open")),this.#s.origin=n.urlList[n.urlList.length-1].origin;let c=new u_e({eventSourceSettings:this.#s,push:s(u=>{this.dispatchEvent(A_e(u.type,u.options))},"push")});s_e(n.body.stream,c,u=>{u?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#i=a_e(e)}async#c(){this.#r!==$b&&(this.#r=Yb,this.dispatchEvent(new Event("error")),await l_e(this.#s.reconnectionTime),this.#r===Yb&&(this.#s.lastEventId.length&&this.#o.headersList.set("last-event-id",this.#s.lastEventId,!0),this.#u()))}close(){Ws.brandCheck(this,t),this.#r!==$b&&(this.#r=$b,this.#i.abort(),this.#o=null)}get onopen(){return this.#e.open}set onopen(e){this.#e.open&&this.removeEventListener("open",this.#e.open),typeof e=="function"?(this.#e.open=e,this.addEventListener("open",e)):this.#e.open=null}get onmessage(){return this.#e.message}set onmessage(e){this.#e.message&&this.removeEventListener("message",this.#e.message),typeof e=="function"?(this.#e.message=e,this.addEventListener("message",e)):this.#e.message=null}get onerror(){return this.#e.error}set onerror(e){this.#e.error&&this.removeEventListener("error",this.#e.error),typeof e=="function"?(this.#e.error=e,this.addEventListener("error",e)):this.#e.error=null}},gj={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:Yb,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:zj,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:$b,writable:!1}};Object.defineProperties(al,gj);Object.defineProperties(al.prototype,gj);Object.defineProperties(al.prototype,{close:yu,onerror:yu,onmessage:yu,onopen:yu,readyState:yu,url:yu,withCredentials:yu});Ws.converters.EventSourceInitDict=Ws.dictionaryConverter([{key:"withCredentials",converter:Ws.converters.boolean,defaultValue:s(()=>!1,"defaultValue")},{key:"dispatcher",converter:Ws.converters.any}]);Oj.exports={EventSource:al,defaultReconnectionTime:hj}});var ul=m((SI0,Ee)=>{"use strict";var f_e=WA(),Cj=eb(),M_e=xA(),m_e=gX(),h_e=TA(),z_e=J5(),g_e=GX(),O_e=jX(),yj=p0(),lO=Xe(),{InvalidArgumentError:AO}=yj,cl=vV(),E_e=rb(),C_e=RR(),y_e=zJ(),B_e=SR(),q_e=MR(),D_e=bg(),{getGlobalDispatcher:Bj,setGlobalDispatcher:I_e}=yg(),R_e=Bg(),N_e=ng(),w_e=og();Object.assign(Cj.prototype,cl);Ee.exports.Dispatcher=Cj;Ee.exports.Client=f_e;Ee.exports.Pool=M_e;Ee.exports.BalancedPool=m_e;Ee.exports.Agent=h_e;Ee.exports. Line truncated
%s`,F,F,B,n);var x=B.type==="*"?Sw:B.type==="?"?ww:"\\"+B.type;o=!0,n=n.slice(0,B.reStart)+x+"\\("+F}z(),i&&(n+="\\\\");var _=!1;switch(n.charAt(0)){case"[":case".":case"(":_=!0}for(var ce=c.length-1;ce>-1;ce--){var ye=c[ce],Ne=n.slice(0,ye.reStart),De=n.slice(ye.reStart,ye.reEnd-8),ge=n.slice(ye.reEnd-8,ye.reEnd),Fe=n.slice(ye.reEnd);ge+=Fe;var k=Ne.split("(").length-1,Te=Fe;for(O=0;O<k;O++)Te=Te.replace(/\)[+*?]?/,"");Fe=Te;var T="";Fe===""&&e!==TO&&(T="$");var j=Ne+De+Fe+T+ge;n=j}if(n!==""&&o&&(n="(?=.)"+n),_&&(n=b+n),e===TO)return[n,o];if(!o)return Vke(t);var $e=r.nocase?"i":"";try{var m1=new RegExp("^"+n+"$",$e)}catch{return new RegExp("$.")}return m1._glob=t,m1._src=n,m1}s(Hke,"parse");Ur.makeRe=function(t,e){return new ut(t,e||{}).makeRe()};ut.prototype.makeRe=Xke;function Xke(){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?Sw:e.dot?Lke:_ke,n=e.nocase?"i":"",o=t.map(function(i){return i.map(function(a){return a===Fw?r:typeof a=="string"?Jke(a):a._src}).join("\\/")}).join("|");o="^(?:"+o+")$",this.negate&&(o="^(?!"+o+").*$");try{this.regexp=new RegExp(o,n)}catch{this.regexp=!1}return this.regexp}s(Xke,"makeRe");Ur.match=function(t,e,r){r=r||{};var n=new ut(e,r);return t=t.filter(function(o){return n.match(o)}),n.options.nonull&&!t.length&&t.push(e),t};ut.prototype.match=s(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 n=this.options;zf.sep!=="/"&&(e=e.split(zf.sep).join("/")),e=e.split(Nee),this.debug(this.pattern,"split",e);var o=this.set;this.debug(this.pattern,"set",o);var i,a;for(a=e.length-1;a>=0&&(i=e[a],!i);a--);for(a=0;a<o.length;a++){var c=o[a],u=e;n.matchBase&&c.length===1&&(u=[i]);var p=this.matchOne(u,c,r);if(p)return n.flipNegate?!0:!this.negate}return n.flipNegate?!1:this.negate},"match");ut.prototype.matchOne=function(t,e,r){var n=this.options;this.debug("matchOne",{this:this,file:t,pattern:e}),this.debug("matchOne",t.length,e.length);for(var o=0,i=0,a=t.length,c=e.length;o<a&&i<c;o++,i++){this.debug("matchOne loop");var u=e[i],p=t[o];if(this.debug(e,u,p),u===!1)return!1;if(u===Fw){this.debug("GLOBSTAR",[e,u,p]);var A=o,l=i+1;if(l===c){for(this.debug("** at the end");o<a;o++)if(t[o]==="."||t[o]===".."||!n.dot&&t[o].charAt(0)===".")return!1;return!0}for(;A<a;){var b=t[A];if(this.debug(`
globstar while`,t,A,e,l,b),this.matchOne(t.slice(A),e.slice(l),r))return this.debug("globstar found match!",A,a,b),!0;if(b==="."||b===".."||!n.dot&&b.charAt(0)==="."){this.debug("dot detected!",t,A,e,l);break}this.debug("globstar swallow a segment, and continue"),A++}return!!(r&&(this.debug(`
>>> no match, partial?`,t,A,e,l),A===a))}var M;if(typeof u=="string"?(M=p===u,this.debug("string match",u,p,M)):(M=p.match(u),this.debug("pattern match",u,p,M)),!M)return!1}if(o===a&&i===c)return!0;if(o===a)return r;if(i===c)return o===a-1&&t[o]==="";throw new Error("wtf?")};function Vke(t){return t.replace(/\\(.)/g,"$1")}s(Vke,"globUnescape");function Jke(t){return t.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}s(Jke,"regExpEscape")});var gl=m((c60,vee)=>{"use strict";var r7e="2.0.0",n7e=Number.MAX_SAFE_INTEGER||9007199254740991,o7e=16,i7e=250,s7e=["major","premajor","minor","preminor","patch","prepatch","prerelease"];vee.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:o7e,MAX_SAFE_BUILD_LENGTH:i7e,MAX_SAFE_INTEGER:n7e,RELEASE_TYPES:s7e,SEMVER_SPEC_VERSION:r7e,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}});var Ef=m((u60,Lee)=>{"use strict";var a7e=typeof process=="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...t)=>console.error("SEMVER",...t):()=>{};Lee.exports=a7e});var Ol=m((ni,_ee)=>{"use strict";var{MAX_SAFE_COMPONENT_LENGTH:xw,MAX_SAFE_BUILD_LENGTH:c7e,MAX_LENGTH:u7e}=gl(),p7e=Ef();ni=_ee.exports={};var A7e=ni.re=[],l7e=ni.safeRe=[],re=ni.src=[],d7e=ni.safeSrc=[],ne=ni.t={},b7e=0,Tw="[a-zA-Z0-9-]",f7e=[["\\s",1],["\\d",u7e],[Tw,c7e]],M7e=s(t=>{for(let[e,r]of f7e)t=t.split(`${e}*`).join(`${e}{0,${r}}`).split(`${e}+`).join(`${e}{1,${r}}`);return t},"makeSafeRegex"),Le=s((t,e,r)=>{let n=M7e(e),o=b7e++;p7e(t,o,e),ne[t]=o,re[o]=e,d7e[o]=n,A7e[o]=new RegExp(e,r?"g":void 0),l7e[o]=new RegExp(n,r?"g":void 0)},"createToken");Le("NUMERICIDENTIFIER","0|[1-9]\\d*");Le("NUMERICIDENTIFIERLOOSE","\\d+");Le("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${Tw}*`);Le("MAINVERSION",`(${re[ne.NUMERICIDENTIFIER]})\\.(${re[ne.NUMERICIDENTIFIER]})\\.(${re[ne.NUMERICIDENTIFIER]})`);Le("MAINVERSIONLOOSE",`(${re[ne.NUMERICIDENTIFIERLOOSE]})\\.(${re[ne.NUMERICIDENTIFIERLOOSE]})\\.(${re[ne.NUMERICIDENTIFIERLOOSE]})`);Le("PRERELEASEIDENTIFIER",`(?:${re[ne.NONNUMERICIDENTIFIER]}|${re[ne.NUMERICIDENTIFIER]})`);Le("PRERELEASEIDENTIFIERLOOSE",`(?:${re[ne.NONNUMERICIDENTIFIER]}|${re[ne.NUMERICIDENTIFIERLOOSE]})`);Le("PRERELEASE",`(?:-(${re[ne.PRERELEASEIDENTIFIER]}(?:\\.${re[ne.PRERELEASEIDENTIFIER]})*))`);Le("PRERELEASELOOSE",`(?:-?(${re[ne.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${re[ne.PRERELEASEIDENTIFIERLOOSE]})*))`);Le("BUILDIDENTIFIER",`${Tw}+`);Le("BUILD",`(?:\\+(${re[ne.BUILDIDENTIFIER]}(?:\\.${re[ne.BUILDIDENTIFIER]})*))`);Le("FULLPLAIN",`v?${re[ne.MAINVERSION]}${re[ne.PRERELEASE]}?${re[ne.BUILD]}?`);Le("FULL",`^${re[ne.FULLPLAIN]}$`);Le("LOOSEPLAIN",`[v=\\s]*${re[ne.MAINVERSIONLOOSE]}${re[ne.PRERELEASELOOSE]}?${re[ne.BUILD]}?`);Le("LOOSE",`^${re[ne.LOOSEPLAIN]}$`);Le("GTLT","((?:<|>)?=?)");Le("XRANGEIDENTIFIERLOOSE",`${re[ne.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);Le("XRANGEIDENTIFIER",`${re[ne.NUMERICIDENTIFIER]}|x|X|\\*`);Le("XRANGEPLAIN",`[v=\\s]*(${re[ne.XRANGEIDENTIFIER]})(?:\\.(${re[ne.XRANGEIDENTIFIER]})(?:\\.(${re[ne.XRANGEIDENTIFIER]})(?:${re[ne.PRERELEASE]})?${re[ne.BUILD]}?)?)?`);Le("XRANGEPLAINLOOSE",`[v=\\s]*(${re[ne.XRANGEIDENTIFIERLOOSE]})(?:\\.(${re[ne.XRANGEIDENTIFIERLOOSE]})(?:\\.(${re[ne.XRANGEIDENTIFIERLOOSE]})(?:${re[ne.PRERELEASELOOSE]})?${re[ne.BUILD]}?)?)?`);Le("XRANGE",`^${re[ne.GTLT]}\\s*${re[ne.XRANGEPLAIN]}$`);Le("XRANGELOOSE",`^${re[ne.GTLT]}\\s*${re[ne.XRANGEPLAINLOOSE]}$`);Le("COERCEPLAIN",`(^|[^\\d])(\\d{1,${xw}})(?:\\.(\\d{1,${xw}}))?(?:\\.(\\d{1,${xw}}))?`);Le("COERCE",`${re[ne.COERCEPLAIN]}(?:$|[^\\d])`);Le("COERCEFULL",re[ne.COERCEPLAIN]+`(?:${re[ne.PRERELEASE]})?(?:${re[ne.BUILD]})?(?:$|[^\\d])`);Le("COERCERTL",re[ne.COERCE],!0);Le("COERCERTLFULL",re[ne.COERCEFULL],!0);Le("LONETILDE","(?:~>?)");Le("TILDETRIM",`(\\s*)${re[ne.LONETILDE]}\\s+`,!0);ni.tildeTrimReplace="$1~";Le("TILDE",`^${re[ne.LONETILDE]}${re[ne.XRANGEPLAIN]}$`);Le("TILDELOOSE",`^${re[ne.LONETILDE]}${re[ne.XRANGEPLAINLOOSE]}$`);Le("LONECARET","(?:\\^)");Le("CARETTRIM",`(\\s*)${re[ne.LONECARET]}\\s+`,!0);ni.caretTrimReplace="$1^";Le("CARET",`^${re[ne.LONECARET]}${re[ne.XRANGEPLAIN]}$`);Le("CARETLOOSE",`^${re[ne.LONECARET]}${re[ne.XRANGEPLAINLOOSE]}$`);Le("COMPARATORLOOSE",`^${re[ne.GTLT]}\\s*(${re[ne.LOOSEPLAIN]})$|^$`);Le("COMPARATOR",`^${re[ne.GTLT]}\\s*(${re[ne.FULLPLAIN]})$|^$`);Le("COMPARATORTRIM",`(\\s*)${re[ne.GTLT]}\\s*(${re[ne.LOOSEPLAIN]}|${re[ne.XRANGEPLAIN]})`,!0);ni.comparatorTrimReplace="$1$2$3";Le("HYPHENRANGE",`^\\s*(${re[ne.XRANGEPLAIN]})\\s+-\\s+(${re[ne.XRANGEPLAIN]})\\s*$`);Le("HYPHENRANGELOOSE",`^\\s*(${re[ne.XRANGEPLAINLOOSE]})\\s+-\\s+(${re[ne.XRANGEPLAINLOOSE]})\\s*$`);Le("STAR","(<|>)?=?\\s*\\*");Le("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");Le("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")});var QO=m((A60,Qee)=>{"use strict";var m7e=Object.freeze({loose:!0}),h7e=Object.freeze({}),z7e=s(t=>t?typeof t!="object"?m7e:t:h7e,"parseOptions");Qee.exports=z7e});var vw=m((d60,Uee)=>{"use strict";var Pee=/^[0-9]+$/,kee=s((t,e)=>{if(typeof t=="number"&&typeof e=="number")return t===e?0:t<e?-1:1;let r=Pee Line truncated
`).join(`
`+i),t.push(o+"m+"+B3.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=iHe()+e+" "+t[0]}s(oHe,"formatArgs");function iHe(){return lt.inspectOpts.hideDate?"":new Date().toISOString()+" "}s(iHe,"getDate");function sHe(...t){return process.stderr.write(y3.format(...t)+`
`)}s(sHe,"log");function aHe(t){t?process.env.DEBUG=t:delete process.env.DEBUG}s(aHe,"save");function cHe(){return process.env.DEBUG}s(cHe,"load");function uHe(t){t.inspectOpts={};let e=Object.keys(lt.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=lt.inspectOpts[e[r]]}s(uHe,"init");B3.exports=B6()(lt);var{formatters:Ete}=B3.exports;Ete.o=function(t){return this.inspectOpts.colors=this.useColors,y3.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};Ete.O=function(t){return this.inspectOpts.colors=this.useColors,y3.inspect(t,this.inspectOpts)}});var q3=m((ex0,R6)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?R6.exports=mte():R6.exports=Cte()});var qte=m(cr=>{"use strict";var pHe=cr&&cr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),AHe=cr&&cr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),yte=cr&&cr.__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)&&pHe(e,t,r);return AHe(e,t),e};Object.defineProperty(cr,"__esModule",{value:!0});cr.req=cr.json=cr.toBuffer=void 0;var lHe=yte(require("http")),dHe=yte(require("https"));async function Bte(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}s(Bte,"toBuffer");cr.toBuffer=Bte;async function bHe(t){let r=(await Bte(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let o=n;throw o.message+=` (input: ${r})`,o}}s(bHe,"json");cr.json=bHe;function fHe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?dHe:lHe).request(t,e),o=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=o.then.bind(o),n}s(fHe,"req");cr.req=fHe});var Nte=m(Vr=>{"use strict";var Ite=Vr&&Vr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),MHe=Vr&&Vr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Rte=Vr&&Vr.__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)&&Ite(e,t,r);return MHe(e,t),e},mHe=Vr&&Vr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&Ite(e,t,r)};Object.defineProperty(Vr,"__esModule",{value:!0});Vr.Agent=void 0;var hHe=Rte(require("net")),Dte=Rte(require("http")),zHe=require("https");mHe(qte(),Vr);var ai=Symbol("AgentBaseInternalState"),N6=class extends Dte.Agent{static{s(this,"Agent")}constructor(e){super(e),this[ai]={}}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(n=>n.indexOf("(https.js:")!==-1||n.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 hHe.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],o=n.indexOf(r);o!==-1&&(n.splice(o,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?zHe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let o={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(o),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,o)).then(c=>{if(this.decrementSockets(i,a),c instanceof Dte.Agent)try{return c.addRequest(e,o)}catch(u){return n(u)}this[ai].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[ai].currentSocket;if(this[ai].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[ai].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[ai]&&(this[ai].defaultPort=e)}get protocol(){return this[ai].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[ai]&&(this[ai].protocol=e)}};Vr.Agent=N6});var wte=m(wl=>{"use strict";var gHe=wl&&wl.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(wl,"__esModule",{value:!0});wl.parseProxyResponse=void 0;var OHe=gHe(q3()),D3=(0,OHe.default)("https-proxy-agent:parse-proxy-response");function EHe(t){return new Promise((e,r)=>{let n=0,o=[];function i(){let A=t.read();A?p(A):t.once("readable",i)}s(i,"read");function a(){t.removeListener("end",c),t.removeListener("error",u),t.removeListener("readable",i)}s(a,"cleanup");function c(){a(),D3("onend"),r(new Error("Proxy connection ended before receiving CONNECT response"))}s(c,"onend");function u(A){a(),D3("onerror %o",A),r(A)}s(u,"onerror");function p(A){o.push(A),n+=A.length;let l=Buffer.concat(o,n),b=l.indexOf(`\r
\r
`);if(b===-1){D3("have not received end of HTTP headers yet..."),i();return}let M=l.slice(0,b).toString("ascii").split(`\r
`),z=M.shift();if(!z)return t.destroy(),r(new Error("No header received from proxy CONNECT response"));let O=z.split(" "),y=+O[1],E=O.slice(2).join(" "),B={};for(let q of M){if(!q)continue;let D=q.indexOf(":");if(D===-1)return t.destroy(),r(new Error(`Invalid header from proxy CONNECT response: "${q}"`));let F=q.slice(0,D).toLowerCase(),x=q.slice(D+1).trimStart(),_=B[F];typeof _=="string"?B[F]=[_,x]:Array.isArray(_)?_.push(x):B[F]=x}D3("got proxy server response: %o %o",z,B),a(),e({connect:{statusCode:y,statusText:E,headers:B},buffered:l})}s(p,"ondata"),t.on("error",u),t.on("end",c),i()})}s(EHe,"parseProxyResponse");wl.parseProxyResponse=EHe});var vte=m(In=>{"use strict";var CHe=In&&In.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),yHe=In&&In.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),xte=In&&In.__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)&&CHe(e,t,r);return yHe(e,t),e},Tte=In&&In.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(In,"__esModule",{value:!0});In.HttpsProxyAgent=void 0;var I3=xte(require("net")),Ste=xte(require("tls")),BHe=Tte(require("assert")),qHe=Tte(q3()),DHe=Nte(),IHe=require("url"),RHe=wte(),vf=(0,qHe.default)("https-proxy-agent"),Fte=s(t=>t.servername===void 0&&t.host&&!I3.isIP(t.host)?{...t,servername:t.host}:t,"setServernameFromNonIpHost"),R3=class extends DHe.Agent{static{s(this,"HttpsProxyAgent")}constructor(e,r){super(r),this.options={path:void 0},this.proxy=typeof e=="string"?new IHe.URL(e):e,this.proxyHeaders=r?.headers??{},vf("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),o=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...r?Wte(r,"headers"):null,host:n,port:o}}async connect(e,r){let{proxy:n}=this;if(!r.host)throw new TypeError('No "host" provided');let o;n.protocol==="https:"?(vf("Creating `tls.Socket`: %o",this.connectOpts),o=Ste.connect(Fte(this.connectOpts))):(vf("Creating `net.Socket`: %o",this.connectOpts),o=I3.connect(this.connectOpts));let i=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders},a=I3.isIPv6(r.host)?`[${r.host}]`:r.host,c=`CONNECT ${a}:${r.port} HTTP/1.1\r
`;if(n.username||n.password){let b=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(b).toString("base64")}`}i.Host=`${a}:${r.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let b of Object.keys(i))c+=`${b}: ${i[b]}\r
`;let u=(0,RHe.parseProxyResponse)(o);o.write(`${c}\r
`);let{connect:p,buffered:A}=await u;if(e.emit("proxyConnect",p),this.emit("proxyConnect",p,e),p.statusCode===200)return e.once("socket",NHe),r.secureEndpoint?(vf("Upgrading socket connection to TLS"),Ste.connect({...Wte(Fte(r),"host","path","port"),socket:o})):o;o.destroy();let l=new I3.Socket({writable:!1});return l.readable=!0,e.once("socket",b=>{vf("Replaying proxy buffer for failed request"),(0,BHe.default)(b.listenerCount("data")>0),b.push(A),b.push(null)}),l}};R3.protocols=["http","https"];In.HttpsProxyAgent=R3;function NHe(t){t.resume()}s(NHe,"resume");function Wte(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}s(Wte,"omit")});var Qte=m(ur=>{"use strict";var wHe=ur&&ur.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),SHe=ur&&ur.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Lte=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)&&wHe(e,t,r);return SHe(e,t),e};Object.defineProperty(ur,"__esModule",{value:!0});ur.req=ur.json=ur.toBuffer=void 0;var FHe=Lte(require("http")),WHe=Lte(require("https"));async function _te(t){let e=0,r=[];for await(let n of t)e+=n.length,r.push(n);return Buffer.concat(r,e)}s(_te,"toBuffer");ur.toBuffer=_te;async function xHe(t){let r=(await _te(t)).toString("utf8");try{return JSON.parse(r)}catch(n){let o=n;throw o.message+=` (input: ${r})`,o}}s(xHe,"json");ur.json=xHe;function THe(t,e={}){let n=((typeof t=="string"?t:t.href).startsWith("https:")?WHe:FHe).request(t,e),o=new Promise((i,a)=>{n.once("response",i).once("error",a).end()});return n.then=o.then.bind(o),n}s(THe,"req");ur.req=THe});var Gte=m(Jr=>{"use strict";var kte=Jr&&Jr.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),vHe=Jr&&Jr.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Ute=Jr&&Jr.__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)&&kte(e,t,r);return vHe(e,t),e},LHe=Jr&&Jr.__exportStar||function(t,e){for(var r in t)r!=="default"&&!Object.prototype.hasOwnProperty.call(e,r)&&kte(e,t,r)};Object.defineProperty(Jr,"__esModule",{value:!0});Jr.Agent=void 0;var _He=Ute(require("net")),Pte=Ute(require("http")),QHe=require("https");LHe(Qte(),Jr);var ci=Symbol("AgentBaseInternalState"),w6=class extends Pte.Agent{static{s(this,"Agent")}constructor(e){super(e),this[ci]={}}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(n=>n.indexOf("(https.js:")!==-1||n.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 _He.Socket({writable:!1});return this.sockets[e].push(r),this.totalSocketCount++,r}decrementSockets(e,r){if(!this.sockets[e]||r===null)return;let n=this.sockets[e],o=n.indexOf(r);o!==-1&&(n.splice(o,1),this.totalSocketCount--,n.length===0&&delete this.sockets[e])}getName(e){return(typeof e.secureEndpoint=="boolean"?e.secureEndpoint:this.isSecureEndpoint(e))?QHe.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,r,n){let o={...r,secureEndpoint:this.isSecureEndpoint(r)},i=this.getName(o),a=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,o)).then(c=>{if(this.decrementSockets(i,a),c instanceof Pte.Agent)return c.addRequest(e,o);this[ci].currentSocket=c,super.createSocket(e,r,n)},c=>{this.decrementSockets(i,a),n(c)})}createConnection(){let e=this[ci].currentSocket;if(this[ci].currentSocket=void 0,!e)throw new Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[ci].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(e){this[ci]&&(this[ci].defaultPort=e)}get protocol(){return this[ci].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[ci]&&(this[ci].protocol=e)}};Jr.Agent=w6});var Vte=m(Rn=>{"use strict";var PHe=Rn&&Rn.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),kHe=Rn&&Rn.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),Xte=Rn&&Rn.__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)&&PHe(e,t,r);return kHe(e,t),e},UHe=Rn&&Rn.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Rn,"__esModule",{value:!0});Rn.HttpProxyAgent=void 0;var GHe=Xte(require("net")),HHe=Xte(require("tls")),XHe=UHe(q3()),VHe=require("events"),JHe=Gte(),Hte=require("url"),Sl=(0,XHe.default)("http-proxy-agent"),N3=class extends JHe.Agent{static{s(this,"HttpProxyAgent")}constructor(e,r){super(r),this.proxy=typeof e=="string"?new Hte.URL(e):e,this.proxyHeaders=r?.headers??{},Sl("Creating new HttpProxyAgent instance: %o",this.proxy.href);let n=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),o=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...r?YHe(r,"headers"):null,host:n,port:o}}addRequest(e,r){e._header=null,this.setRequestProps(e,r),super.addRequest(e,r)}setRequestProps(e,r){let{proxy:n}=this,o=r.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",a=`${o}//${i}`,c=new Hte.URL(e.path,a);r.port!==80&&(c.port=String(r.port)),e.path=String(c);let u=typeof this.proxyHeaders=="function"?this.proxyHeaders():{...this.proxyHeaders};if(n.username||n.password){let p=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;u["Proxy-Authorization"]=`Basic ${Buffer.from(p).toString("base64")}`}u["Proxy-Connection"]||(u["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close");for(let p of Object.keys(u)){let A=u[p];A&&e.setHeader(p,A)}}async connect(e,r){e._header=null,e.path.includes("://")||this.setRequestProps(e,r);let n,o;Sl("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(Sl("Patching connection write() output buffer with updated header"),n=e.outputData[0].data,o=n.indexOf(`\r
\r
`)+4,e.outputData[0].data=e._header+n.substring(o),Sl("Output buffer: %o",e.outputData[0].data));let i;return this.proxy.protocol==="https:"?(Sl("Creating `tls.Socket`: %o",this.connectOpts),i=HHe.connect(this.connectOpts)):(Sl("Creating `net.Socket`: %o",this.connectOpts),i=GHe.connect(this.connectOpts)),await(0,VHe.once)(i,"connect"),i}};N3.protocols=["http","https"];Rn.HttpProxyAgent=N3;function YHe(t,...e){let r={},n;for(n in t)e.includes(n)||(r[n]=t[n]);return r}s(YHe,"omit")});var fre=m(G3=>{"use strict";Object.defineProperty(G3,"__esModule",{value:!0});G3.state=void 0;G3.state={instrumenterImplementation:void 0}});var Sre=m(Y3=>{"use strict";Object.defineProperty(Y3,"__esModule",{value:!0});Y3.state=void 0;Y3.state={operationRequestMap:new WeakMap}});var pie=m($l=>{"use strict";Object.defineProperty($l,"__esModule",{value:!0});var fje=require("os"),Mje=require("util");function mje(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}s(mje,"_interopDefaultLegacy");var hje=mje(Mje);function zje(t,...e){process.stderr.write(`${hje.default.format(t,...e)}${fje.EOL}`)}s(zje,"log");var eie=typeof process<"u"&&process.env&&process.env.DEBUG||void 0,rie,uT=[],pT=[],bC=[];eie&&AT(eie);var nie=Object.assign(t=>oie(t),{enable:AT,enabled:lT,disable:gje,log:zje});function AT(t){rie=t,uT=[],pT=[];let e=/\*/g,r=t.split(",").map(n=>n.trim().replace(e,".*?"));for(let n of r)n.startsWith("-")?pT.push(new RegExp(`^${n.substr(1)}$`)):uT.push(new RegExp(`^${n}$`));for(let n of bC)n.enabled=lT(n.namespace)}s(AT,"enable");function lT(t){if(t.endsWith("*"))return!0;for(let e of pT)if(e.test(t))return!1;for(let e of uT)if(e.test(t))return!0;return!1}s(lT,"enabled");function gje(){let t=rie||"";return AT(""),t}s(gje,"disable");function oie(t){let e=Object.assign(r,{enabled:lT(t),destroy:Oje,log:nie.log,namespace:t,extend:Eje});function r(...n){e.enabled&&(n.length>0&&(n[0]=`${t} ${n[0]}`),e.log(...n))}return s(r,"debug"),bC.push(e),e}s(oie,"createDebugger");function Oje(){let t=bC.indexOf(this);return t>=0?(bC.splice(t,1),!0):!1}s(Oje,"destroy");function Eje(t){let e=oie(`${this.namespace}:${t}`);return e.log=this.log,e}s(Eje,"extend");var yM=nie,iie=new Set,lC=typeof process<"u"&&process.env&&process.env.AZURE_LOG_LEVEL||void 0,fC,MC=yM("azure");MC.log=(...t)=>{yM.log(...t)};var dT=["verbose","info","warning","error"];lC&&(uie(lC)?sie(lC):console.error(`AZURE_LOG_LEVEL set to unknown log level '${lC}'; logging is not enabled. Acceptable values: ${dT.join(", ")}.`));function sie(t){if(t&&!uie(t))throw new Error(`Unknown log level '${t}'. Acceptable values: ${dT.join(",")}`);fC=t;let e=[];for(let r of iie)cie(r)&&e.push(r.namespace);yM.enable(e.join(","))}s(sie,"setLogLevel");function Cje(){return fC}s(Cje,"getLogLevel");var tie={verbose:400,info:300,warning:200,error:100};function yje(t){let e=MC.extend(t);return aie(MC,e),{error:dC(e,"error"),warning:dC(e,"warning"),info:dC(e,"info"),verbose:dC(e,"verbose")}}s(yje,"createClientLogger");function aie(t,e){e.log=(...r)=>{t.log(...r)}}s(aie,"patchLogMethod");function dC(t,e){let r=Object.assign(t.extend(e),{level:e});if(aie(t,r),cie(r)){let n=yM.disable();yM.enable(n+","+r.namespace)}return iie.add(r),r}s(dC,"createLogger");function cie(t){return!!(fC&&tie[t.level]<=tie[fC])}s(cie,"shouldEnable");function uie(t){return dT.includes(t)}s(uie,"isAzureLogLevel");$l.AzureLogger=MC;$l.createClientLogger=yje;$l.getLogLevel=Cje;$l.setLogLevel=sie});var MT=m(qM=>{"use strict";Object.defineProperty(qM,"__esModule",{value:!0});var jl=new WeakMap,mC=new WeakMap,BM=class t{static{s(this,"AbortSignal")}constructor(){this.onabort=null,jl.set(this,[]),mC.set(this,!1)}get aborted(){if(!mC.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");return mC.get(this)}static get none(){return new t}addEventListener(e,r){if(!jl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");jl.get(this).push(r)}removeEventListener(e,r){if(!jl.has(this))throw new TypeError("Expected `this` to be an instance of AbortSignal.");let n=jl.get(this),o=n.indexOf(r);o>-1&&n.splice(o,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 Aie(t){if(t.aborted)return;t.onabort&&t.onabort.call(t);let e=jl.get(t);e&&e.slice().forEach(r=>{r.call(t,{type:"abort"})}),mC.set(t,!0)}s(Aie,"abortSignal");var bT=class extends Error{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}},fT=class{static{s(this,"AbortController")}constructor(e){if(this._signal=new BM,!!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(){Aie(this._signal)}static timeout(e){let r=new BM,n=setTimeout(Aie,e,r);return typeof n.unref=="function"&&n.unref(),r}};qM.AbortController=fT;qM.AbortError=bT;qM.AbortSignal=BM});var Mie=m(p1=>{"use strict";Object.defineP Line truncated
Polling from: ${r.config.operationLocation}
Operation status: ${A}
Polling status: ${gie.includes(A)?"Stopped":"Running"}`),A==="succeeded"){let l=a(p,r);if(l!==void 0)return{response:await e(l).catch(hie({state:r,stateProxy:n,isOperationError:c})),status:A}}return{response:p,status:A}}s(eKe,"pollOperationHelper");async function yie(t){let{poll:e,state:r,stateProxy:n,options:o,getOperationStatus:i,getResourceLocation:a,getOperationLocation:c,isOperationError:u,withOperationLocation:p,getPollingInterval:A,processResult:l,getError:b,updateState:M,setDelay:z,isDone:O,setErrorAsResult:y}=t,{operationLocation:E}=r.config;if(E!==void 0){let{response:B,status:q}=await eKe({poll:e,getOperationStatus:i,state:r,stateProxy:n,operationLocation:E,getResourceLocation:a,isOperationError:u,options:o});if(Eie({status:q,response:B,state:r,stateProxy:n,isDone:O,processResult:l,getError:b,setErrorAsResult:y}),!gie.includes(q)){let D=A?.(B);D&&z(D);let F=c?.(B,r);if(F!==void 0){let x=E!==F;r.config.operationLocation=F,p?.(F,x)}else p?.(E,!1)}M?.(r,B)}}s(yie,"pollOperation");function Bie(t){let{azureAsyncOperation:e,operationLocation:r}=t;return r??e}s(Bie,"getOperationLocationPollingUrl");function qie(t){return t.headers.location}s(qie,"getLocationHeader");function Die(t){return t.headers["operation-location"]}s(Die,"getOperationLocationHeader");function Iie(t){return t.headers["azure-asyncoperation"]}s(Iie,"getAzureAsyncOperationHeader");function tKe(t){var e;let{location:r,requestMethod:n,requestPath:o,resourceLocationConfig:i}=t;switch(n){case"PUT":return o;case"DELETE":return;case"PATCH":return(e=a())!==null&&e!==void 0?e:o;default:return a()}function a(){switch(i){case"azure-async-operation":return;case"original-uri":return o;default:return r}}s(a,"getDefault")}s(tKe,"findResourceLocation");function Rie(t){let{rawResponse:e,requestMethod:r,requestPath:n,resourceLocationConfig:o}=t,i=Die(e),a=Iie(e),c=Bie({operationLocation:i,azureAsyncOperation:a}),u=qie(e),p=r?.toLocaleUpperCase();return c!==void 0?{mode:"OperationLocation",operationLocation:c,resourceLocation:tKe({requestMethod:p,location:u,requestPath:n,resourceLocationConfig:o})}:u!==void 0?{mode:"ResourceLocation",operationLocation:u}:p==="PUT"&&n?{mode:"Body",operationLocation:n}:void 0}s(Rie,"inferLroMode");function Nie(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 DT(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 np.verbose(`LRO: unrecognized operation status: ${e}`),e}}s(Nie,"transformStatus");function rKe(t){var e;let{status:r}=(e=t.body)!==null&&e!==void 0?e:{};return Nie({status:r,statusCode:t.statusCode})}s(rKe,"getStatus");function nKe(t){var e,r;let{properties:n,provisioningState:o}=(e=t.body)!==null&&e!==void 0?e:{},i=(r=n?.provisioningState)!==null&&r!==void 0?r:o;return Nie({status:i,statusCode:t.statusCode})}s(nKe,"getProvisioningState");function DT(t){return t===202?"running":t<300?"succeeded":"failed"}s(DT,"toOperationStatus");function wie({rawResponse:t}){let e=t.headers["retry-after"];if(e!==void 0){let r=parseInt(e);return isNaN(r)?oKe(new Date(e)):r*1e3}}s(wie,"parseRetryAfter");function Sie(t){let e=t.flatResponse.error;if(!e){np.warning("The long-running operation failed but there is no error property in the response's body");return}if(!e.code||!e.message){np.warning("The long-running operation failed but the error property in the response's body doesn't contain code or message");return}return e}s(Sie,"getErrorFromResponse");function oKe(t){let e=Math.floor(new Date().getTime()),r=t.getTime();if(e<r)return r-e}s(oKe,"calculatePollingIntervalFromDate");function Fie(t){let{response:e,state:r,operationLocation:n}=t;function o(){var a;switch((a=r.config.metadata)===null||a===void 0?void 0:a.mode){case void 0:return DT(e.rawResponse.statusCode);case"Body":return IT(e,r);default:return"running"}}s(o,"helper");let i=o();return i==="running"&&n===void 0?"succeeded":i}s(Fie,"getStatusFromInitialResponse");async function iKe(t){let{stateProxy:e,resourceLocationConfig:r,processResult:n,lro:o,setErrorAsResult:i}=t;return Cie({init:s(async()=>{let a=await o.sendInitialRequest(),c=Rie({rawResponse:a.rawResponse,requestPath:o.requestPath,requestMethod:o.requestMethod,resourceLocationConfig:r});return Object.assign({response:a,operationLocation:c?.operationLocation,resourceLocation:c?.resourceLocation},c?.mode?{metadata:{mode:c.mode}}:{})},"init"),stateProxy:e,processResult:n?({flatResponse:a},c)=>n(a,c):({flatResponse:a})=>a,getOperationStatus:Fie,setErrorAsResult:i})}s(iKe,"initHttpOperation");function Wie({rawResponse:t},e){var r;switchLine truncated
`:case"\r":case" ":case" ":continue;default:throw Error("invalid base64 string.")}switch(o){case 0:a=i,o=1;break;case 1:r[n++]=a<<2|(i&48)>>4,a=i,o=2;break;case 2:r[n++]=(a&15)<<4|(i&60)>>2,a=i,o=3;break;case 3:r[n++]=(a&3)<<6|i,o=0;break}}if(o==1)throw Error("invalid base64 string.");return r.subarray(0,n)}s(kKe,"base64decode");n2.base64decode=kKe;function UKe(t){let e="",r=0,n,o=0;for(let i=0;i<t.length;i++)switch(n=t[i],r){case 0:e+=ra[n>>2],o=(n&3)<<4,r=1;break;case 1:e+=ra[o|n>>4],o=(n&15)<<2,r=2;break;case 2:e+=ra[o|n>>6],e+=ra[n&63],r=0;break}return r&&(e+=ra[o],e+="=",r==1&&(e+="=")),e}s(UKe,"base64encode");n2.base64encode=UKe});var pse=m(TC=>{"use strict";Object.defineProperty(TC,"__esModule",{value:!0});TC.utf8read=void 0;var LT=s(t=>String.fromCharCode.apply(String,t),"fromCharCodes");function GKe(t){if(t.length<1)return"";let e=0,r=[],n=[],o=0,i,a=t.length;for(;e<a;)i=t[e++],i<128?n[o++]=i:i>191&&i<224?n[o++]=(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,n[o++]=55296+(i>>10),n[o++]=56320+(i&1023)):n[o++]=(i&15)<<12|(t[e++]&63)<<6|t[e++]&63,o>8191&&(r.push(LT(n)),o=0);return r.length?(o&&r.push(LT(n.slice(0,o))),r.join("")):LT(n.slice(0,o))}s(GKe,"utf8read");TC.utf8read=GKe});var WM=m(Wi=>{"use strict";Object.defineProperty(Wi,"__esModule",{value:!0});Wi.WireType=Wi.mergeBinaryOptions=Wi.UnknownFieldHandler=void 0;var HKe;(function(t){t.symbol=Symbol.for("protobuf-ts/unknown"),t.onRead=(r,n,o,i,a)=>{(e(n)?n[t.symbol]:n[t.symbol]=[]).push({no:o,wireType:i,data:a})},t.onWrite=(r,n,o)=>{for(let{no:i,wireType:a,data:c}of t.list(n))o.tag(i,a).raw(c)},t.list=(r,n)=>{if(e(r)){let o=r[t.symbol];return n?o.filter(i=>i.no==n):o}return[]},t.last=(r,n)=>t.list(r,n).slice(-1)[0];let e=s(r=>r&&Array.isArray(r[t.symbol]),"is")})(HKe=Wi.UnknownFieldHandler||(Wi.UnknownFieldHandler={}));function XKe(t,e){return Object.assign(Object.assign({},t),e)}s(XKe,"mergeBinaryOptions");Wi.mergeBinaryOptions=XKe;var VKe;(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"})(VKe=Wi.WireType||(Wi.WireType={}))});var LC=m(Mr=>{"use strict";Object.defineProperty(Mr,"__esModule",{value:!0});Mr.varint32read=Mr.varint32write=Mr.int64toString=Mr.int64fromString=Mr.varint64write=Mr.varint64read=void 0;function JKe(){let t=0,e=0;for(let n=0;n<28;n+=7){let o=this.buf[this.pos++];if(t|=(o&127)<<n,(o&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 n=3;n<=31;n+=7){let o=this.buf[this.pos++];if(e|=(o&127)<<n,(o&128)==0)return this.assertBounds(),[t,e]}throw new Error("invalid varint")}s(JKe,"varint64read");Mr.varint64read=JKe;function YKe(t,e,r){for(let i=0;i<28;i=i+7){let a=t>>>i,c=!(!(a>>>7)&&e==0),u=(c?a|128:a)&255;if(r.push(u),!c)return}let n=t>>>28&15|(e&7)<<4,o=e>>3!=0;if(r.push((o?n|128:n)&255),!!o){for(let i=3;i<31;i=i+7){let a=e>>>i,c=!!(a>>>7),u=(c?a|128:a)&255;if(r.push(u),!c)return}r.push(e>>>31&1)}}s(YKe,"varint64write");Mr.varint64write=YKe;var vC=65536*65536;function $Ke(t){let e=t[0]=="-";e&&(t=t.slice(1));let r=1e6,n=0,o=0;function i(a,c){let u=Number(t.slice(a,c));o*=r,n=n*r+u,n>=vC&&(o=o+(n/vC|0),n=n%vC)}return s(i,"add1e6digit"),i(-24,-18),i(-18,-12),i(-12,-6),i(-6),[e,n,o]}s($Ke,"int64fromString");Mr.int64fromString=$Ke;function jKe(t,e){if(e>>>0<=2097151)return""+(vC*e+(t>>>0));let r=t&16777215,n=(t>>>24|e<<8)>>>0&16777215,o=e>>16&65535,i=r+n*6777216+o*6710656,a=n+o*8147497,c=o*2,u=1e7;i>=u&&(a+=Math.floor(i/u),i%=u),a>=u&&(c+=Math.floor(a/u),a%=u);function p(A,l){let b=A?String(A):"";return l?"0000000".slice(b.length)+b:b}return s(p,"decimalFrom1e7"),p(c,0)+p(a,c)+p(i,1)}s(jKe,"int64toString");Mr.int64toString=jKe;function KKe(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)}}s(KKe,"varint32write");Mr.varint32write=KKe;function ZKe(){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}s(ZKe,"varint32read");Mr.varint32read=ZKe});var hc=m(mc=>{"use strict";Object.defineProperty(mc,"__esModule",{value:!0});mc.PbLong=mc.PbULong=mc.detectBi=void 0;var xM=LC(),B0;function Ase(){let t=new DataView(new ArrayBuffer(8));B0=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("922337203685477580 Line truncated
`)}};Ay.RpcError=Av});var dv=m(dy=>{"use strict";Object.defineProperty(dy,"__esModule",{value:!0});dy.mergeRpcOptions=void 0;var Use=q1();function Oe0(t,e){if(!e)return t;let r={};ly(t,r),ly(e,r);for(let n of Object.keys(e)){let o=e[n];switch(n){case"jsonOptions":r.jsonOptions=Use.mergeJsonOptions(t.jsonOptions,r.jsonOptions);break;case"binaryOptions":r.binaryOptions=Use.mergeBinaryOptions(t.binaryOptions,r.binaryOptions);break;case"meta":r.meta={},ly(t.meta,r.meta),ly(e.meta,r.meta);break;case"interceptors":r.interceptors=t.interceptors?t.interceptors.concat(o):o.concat();break}}return r}s(Oe0,"mergeRpcOptions");dy.mergeRpcOptions=Oe0;function ly(t,e){if(!t)return;let r=e;for(let[n,o]of Object.entries(t))o instanceof Date?r[n]=new Date(o.getTime()):Array.isArray(o)?r[n]=o.concat():r[n]=o}s(ly,"copy")});var fv=m(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.Deferred=cp.DeferredState=void 0;var vi;(function(t){t[t.PENDING=0]="PENDING",t[t.REJECTED=1]="REJECTED",t[t.RESOLVED=2]="RESOLVED"})(vi=cp.DeferredState||(cp.DeferredState={}));var bv=class{static{s(this,"Deferred")}constructor(e=!0){this._state=vi.PENDING,this._promise=new Promise((r,n)=>{this._resolve=r,this._reject=n}),e&&this._promise.catch(r=>{})}get state(){return this._state}get promise(){return this._promise}resolve(e){if(this.state!==vi.PENDING)throw new Error(`cannot resolve ${vi[this.state].toLowerCase()}`);this._resolve(e),this._state=vi.RESOLVED}reject(e){if(this.state!==vi.PENDING)throw new Error(`cannot reject ${vi[this.state].toLowerCase()}`);this._reject(e),this._state=vi.REJECTED}resolvePending(e){this._state===vi.PENDING&&this.resolve(e)}rejectPending(e){this._state===vi.PENDING&&this.reject(e)}};cp.Deferred=bv});var mv=m(by=>{"use strict";Object.defineProperty(by,"__esModule",{value:!0});by.RpcOutputStreamController=void 0;var Gse=fv(),up=q1(),Mv=class{static{s(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 n=r.indexOf(e);n>=0&&r.splice(n,1)}}clearLis(){for(let e of Object.values(this._lis))e.splice(0,e.length)}get closed(){return this._closed!==!1}notifyNext(e,r,n){up.assert((e?1:0)+(r?1:0)+(n?1:0)<=1,"only one emission at a time"),e&&this.notifyMessage(e),r&&this.notifyError(r),n&&this.notifyComplete()}notifyMessage(e){up.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){up.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(){up.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:s(()=>{let e=this._itState;up.assert(e,"bad state"),up.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 Gse.Deferred,e.p.promise)},"next")}}pushIt(e){let r=this._itState;if(r.p){let n=r.p;up.assert(n.state==Gse.DeferredState.PENDING,"iterator contract broken"),"value"in e?n.resolve(e):n.reject(e),delete r.p}else r.q.push(e)}};by.RpcOutputStreamController=Mv});var zv=m(p2=>{"use strict";var Ee0=p2&&p2.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})};Object.defineProperty(p2,"__esModule",{value:!0});p2.UnaryCall=void 0;var hv=class{static{s(this,"UnaryCall")}constructor(e,r,n,o,i,a,c){this.method=e,this.requestHeaders=r,this.request=n,this.headers=o,this.response=i,this.status=a,this.trailers=c}then(e,r){return this.promiseFinished().then(n=>e?Promise.resolve(e(n)):n,n=>r?Promise.resolve(r(n)):Promise.reject(n))}promiseFinished(){return Ee0(this,void 0,void 0,function*(){let[e,r,n,o]=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:n,trailers:o}})}};p2.UnaryCall=hv});var Ov=m(A2=>{"use strict";var Ce0=A2&&A2.__awaiter||function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function 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`))}s(Ho0,"logUnexpecedPropertyAccessOnce");function Xo0(){Object.keys(p4).forEach(function(t){delete p4[t]})}s(Xo0,"resetLoggedProperties")});var l4=m(Pi=>{"use strict";Pi.__esModule=!0;Pi.HandlebarsEnvironment=A_;function Xpe(t){return t&&t.__esModule?t:{default:t}}s(Xpe,"_interopRequireDefault");var zp=$t(),Vo0=on(),u_=Xpe(Vo0),Jo0=i_(),Yo0=kpe(),$o0=a_(),A4=Xpe($o0),jo0=c_(),Ko0="4.7.9";Pi.VERSION=Ko0;var Zo0=8;Pi.COMPILER_REVISION=Zo0;var ei0=7;Pi.LAST_COMPATIBLE_COMPILER_REVISION=ei0;var ti0={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"};Pi.REVISION_CHANGES=ti0;var p_="[object Object]";function A_(t,e,r){this.helpers=t||{},this.partials=e||{},this.decorators=r||{},Jo0.registerDefaultHelpers(this),Yo0.registerDefaultDecorators(this)}s(A_,"HandlebarsEnvironment");A_.prototype={constructor:A_,logger:A4.default,log:A4.default.log,registerHelper:s(function(e,r){if(zp.toString.call(e)===p_){if(r)throw new u_.default("Arg not supported with multiple helpers");zp.extend(this.helpers,e)}else this.helpers[e]=r},"registerHelper"),unregisterHelper:s(function(e){delete this.helpers[e]},"unregisterHelper"),registerPartial:s(function(e,r){if(zp.toString.call(e)===p_)zp.extend(this.partials,e);else{if(typeof r>"u")throw new u_.default('Attempting to register a partial called "'+e+'" as undefined');this.partials[e]=r}},"registerPartial"),unregisterPartial:s(function(e){delete this.partials[e]},"unregisterPartial"),registerDecorator:s(function(e,r){if(zp.toString.call(e)===p_){if(r)throw new u_.default("Arg not supported with multiple decorators");zp.extend(this.decorators,e)}else this.decorators[e]=r},"registerDecorator"),unregisterDecorator:s(function(e){delete this.decorators[e]},"unregisterDecorator"),resetLoggedPropertyAccesses:s(function(){jo0.resetLoggedProperties()},"resetLoggedPropertyAccesses")};var ri0=A4.default.log;Pi.log=ri0;Pi.createFrame=zp.createFrame;Pi.logger=A4.default});var Jpe=m((d4,Vpe)=>{"use strict";d4.__esModule=!0;function l_(t){this.string=t}s(l_,"SafeString");l_.prototype.toString=l_.prototype.toHTML=function(){return""+this.string};d4.default=l_;Vpe.exports=d4.default});var Ype=m(d_=>{"use strict";d_.__esModule=!0;d_.wrapHelper=ni0;function ni0(t,e){if(typeof t!="function")return t;var r=s(function(){var o=arguments[arguments.length-1];return arguments[arguments.length-1]=e(o),t.apply(this,arguments)},"wrapper");return r}s(ni0,"wrapHelper")});var tAe=m(yc=>{"use strict";yc.__esModule=!0;yc.checkRevision=ui0;yc.template=pi0;yc.wrapProgram=b4;yc.resolvePartial=Ai0;yc.invokePartial=li0;yc.noop=Zpe;function oi0(t){return t&&t.__esModule?t:{default:t}}s(oi0,"_interopRequireDefault");function ii0(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}s(ii0,"_interopRequireWildcard");var si0=$t(),D2=ii0(si0),ai0=on(),aa=oi0(ai0),ca=l4(),$pe=i_(),ci0=Ype(),jpe=c_();function ui0(t){var e=t&&t[0]||1,r=ca.COMPILER_REVISION;if(!(e>=ca.LAST_COMPATIBLE_COMPILER_REVISION&&e<=ca.COMPILER_REVISION))if(e<ca.LAST_COMPATIBLE_COMPILER_REVISION){var n=ca.REVISION_CHANGES[r],o=ca.REVISION_CHANGES[e];throw new aa.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+n+") or downgrade your runtime to an older version ("+o+").")}else throw new aa.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+t[1]+").")}s(ui0,"checkRevision");function pi0(t,e){if(!e)throw new aa.default("No environment passed to template");if(!t||!t.main)throw new aa.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 n(a,c,u){u.hash&&(c=D2.extend({},c,u.hash),u.ids&&(u.ids[0]=!0)),a=e.VM.resolvePartial.call(this,a,c,u),u.hooks=this.hooks,u.protoAccessControl=this.protoAccessControl;var p=e.VM.invokePartial.call(this,a,c,u);if(p==null&&e.compile&&(u.partials[u.name]=e.compile(a,t.compilerOptions,e),p=u.partials[u.name](c,u)),p!=null){if(u.indent){for(var A=p.split(`
`),l=0,b=A.length;l<b&&!(!A[l]&&l+1===b);l++)A[l]=u.indent+A[l];p=A.join(`
`)}return p}else throw new aa.default("The partial "+u.name+" could not be compiled when running in runtime-only mode")}s(n,"invokePartialWrapper");var o={strict:s(function(c,u,p){if(!c||!(u in c))throw new aa.default('"'+u+'" not defined in '+c,{loc:p});return o.lookupProperty(c,u)},"strict"),lookupProperty:s(function(c,u){var p=c[u];if(p==null||Object.prototype.hasOwnProperty.call(c,u)||jpe.resultIsAllowed(p,o.protoAccessControl,u))return p},"lookupProperty"),lookup:s(function(c,u){for(var p=c.length,A=0;A<p;A++){var l=c[A]&&o.lookupProperty(c[A],u);if(l!=null)return l}},"lookup"),lambda:s(function(c,u){return typeof c=="function"?c.call(u):c},"lambda"),escapeExpression:D2.escapeExpression,invokePartial:n,fn:s(function(c){var u=t[c];return u.decorator=t[c+"_d"],u},"fn"),programs:[],program:s(function(c,u,p,A,l){var b=this.programs[c],M=this.fn(c);return u||l||A||p?b=b4(this,c,M,u,p,A,l):b||(b=this.programs[c]=b4(this,c,M)),b},"program"),data:s(function(c,u){for(;c&&u--;)c=c._parent;return c},"data"),mergeIfNeeded:s(function(c,u){var p=c||u;return c&&u&&c!==u&&(p=D2.extend({},u,c)),p},"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],u=c.data;i._setup(c),!c.partial&&t.useData&&(u=di0(a,u));var p=void 0,A=t.useBlockParams?[]:void 0;t.useDepths&&(c.depths?p=a!=c.depths[0]?[a].concat(c.depths):c.depths:p=[a]);function l(b){return""+t.main(o,b,o.helpers,o.partials,u,A,p)}return s(l,"main"),l=eAe(t.main,l,o,c.depths||[],u,A),l(a,c)}return s(i,"ret"),i.isTop=!0,i._setup=function(a){if(a.partial)o.protoAccessControl=a.protoAccessControl,o.helpers=a.helpers,o.partials=a.partials,o.decorators=a.decorators,o.hooks=a.hooks;else{var c={};Kpe(c,e.helpers,o),Kpe(c,a.helpers,o),o.helpers=c,t.usePartial&&(o.partials=o.mergeIfNeeded(a.partials,e.partials)),(t.usePartial||t.useDecorators)&&(o.decorators=D2.extend({},e.decorators,a.decorators)),o.hooks={},o.protoAccessControl=jpe.createProtoAccessControl(a);var u=a.allowCallsToHelperMissing||r;$pe.moveHelperToHooks(o,"helperMissing",u),$pe.moveHelperToHooks(o,"blockHelperMissing",u)}},i._child=function(a,c,u,p){if(t.useBlockParams&&!u)throw new aa.default("must pass block params");if(t.useDepths&&!p)throw new aa.default("must pass parent depths");return b4(o,a,t[a],c,0,u,p)},i}s(pi0,"template");function b4(t,e,r,n,o,i,a){function c(u){var p=arguments.length<=1||arguments[1]===void 0?{}:arguments[1],A=a;return a&&u!=a[0]&&!(u===t.nullContext&&a[0]===null)&&(A=[u].concat(a)),r(t,u,t.helpers,t.partials,p.data||n,i&&[p.blockParams].concat(i),A)}return s(c,"prog"),c=eAe(r,c,t,a,n,i),c.program=e,c.depth=a?a.length:0,c.blockParams=o||0,c}s(b4,"wrapProgram");function Ai0(t,e,r){return t?!t.call&&!r.name&&(r.name=t,t=f4(r.partials,t)):r.name==="@partial-block"?t=f4(r.data,"partial-block"):t=f4(r.partials,r.name),t}s(Ai0,"resolvePartial");function li0(t,e,r){var n=f4(r.data,"partial-block");r.partial=!0,r.ids&&(r.data.contextPath=r.ids[0]||r.data.contextPath);var o=void 0;if(r.fn&&r.fn!==Zpe&&(function(){r.data=ca.createFrame(r.data);var i=r.fn;o=r.data["partial-block"]=s(function(c){var u=arguments.length<=1||arguments[1]===void 0?{}:arguments[1];return u.data=ca.createFrame(u.data),u.data["partial-block"]=n,i(c,u)},"partialBlockWrapper"),i.partials&&(r.partials=D2.extend({},r.partials,i.partials))})(),t===void 0&&o&&(t=o),t===void 0)throw new aa.default("The partial "+r.name+" could not be found");if(t instanceof Function)return t(e,r)}s(li0,"invokePartial");function Zpe(){return""}s(Zpe,"noop");function f4(t,e){if(t&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}s(f4,"lookupOwnProperty");function di0(t,e){return(!e||!("root"in e))&&(e=e?ca.createFrame(e):{},e.root=t),e}s(di0,"initData");function eAe(t,e,r,n,o,i){if(t.decorator){var a={};e=t.decorator(e,a,r,n&&n[0],o,i,n),D2.extend(e,a)}return e}s(eAe,"executeDecorators");function Kpe(t,e,r){e&&Object.keys(e).forEach(function(n){var o=e[n];t[n]=bi0(o,r)})}s(Kpe,"addHelpers");function bi0(t,e){var r=e.lookupProperty;return ci0.wrapHelper(t,function(n){return n.lookupProperty=r,n})}s(bi0,"passLookupPropertyOption")});var b_=m((M4,rAe)=>{"use strict";M4.__esModule=!0;M4.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}};rAe.exports=M4.default});var aAe=m((m4,sAe)=>{"use strict";m4.__esModule=!0;function M_(t){return t&&t.__esModule?t:{default:t}}s(M_,"_interopRequireDefault");function m_(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}s(m_,"_interopRequireWildcard");var fi0=l4(),nAe=m_(fi0),Mi0=Jpe(),mi0=M_(Mi0),hi0=on(),zi0=M_(hi0),gi0=$t(),f_=m_(gi0),Oi0=tAe Line truncated
`+this.lexer.showPosition()+`
Expecting `+k.join(", ")+", got '"+(this.terminals_[D]||D)+"'":Te="Parse error on line "+(l+1)+": Unexpected "+(D==1?"end of input":"'"+(this.terminals_[D]||D)+"'"),this.parseError(Te,{text:this.lexer.match,token:this.terminals_[D]||D,line:this.lexer.yylineno,loc:y,expected:k})}}if(_[0]instanceof Array&&_.length>1)throw new Error("Parse Error: multiple actions possible at state: "+x+", token: "+D);switch(_[0]){case 1:a.push(D),c.push(this.lexer.yytext),u.push(this.lexer.yylloc),a.push(_[1]),D=null,F?(D=F,F=null):(b=this.lexer.yyleng,A=this.lexer.yytext,l=this.lexer.yylineno,y=this.lexer.yylloc,M>0&&M--);break;case 2:if(ge=this.productions_[_[1]][1],Ne.$=c[c.length-ge],Ne._$={first_line:u[u.length-(ge||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(ge||1)].first_column,last_column:u[u.length-1].last_column},E&&(Ne._$.range=[u[u.length-(ge||1)].range[0],u[u.length-1].range[1]]),ye=this.performAction.call(Ne,A,b,l,this.yy,_[1],c,u),typeof ye<"u")return ye;ge&&(a=a.slice(0,-1*ge*2),c=c.slice(0,-1*ge),u=u.slice(0,-1*ge)),a.push(this.productions_[_[1]][0]),c.push(Ne.$),u.push(Ne._$),Fe=p[a[a.length-2]][a[a.length-1]],a.push(Fe);break;case 3:return!0}}return!0},"parse")},e=(function(){var n={EOF:1,parseError:s(function(i,a){if(this.yy.parser)this.yy.parser.parseError(i,a);else throw new Error(i)},"parseError"),setInput:s(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:s(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:s(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 u=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 p=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===u.length?this.yylloc.first_column:0)+u[u.length-c.length].length-c[0].length:this.yylloc.first_column-a},this.options.ranges&&(this.yylloc.range=[p[0],p[0]+this.yyleng-a]),this},"unput"),more:s(function(){return this._more=!0,this},"more"),less:s(function(i){this.unput(this.match.slice(i))},"less"),pastInput:s(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:s(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:s(function(){var i=this.pastInput(),a=new Array(i.length+1).join("-");return i+this.upcomingInput()+`
`+a+"^"},"showPosition"),next:s(function(){if(this.done)return this.EOF;this._input||(this.done=!0);var i,a,c,u,p,A;this._more||(this.yytext="",this.match="");for(var l=this._currentRules(),b=0;b<l.length&&(c=this._input.match(this.rules[l[b]]),!(c&&(!a||c[0].length>a[0].length)&&(a=c,u=b,!this.options.flex)));b++);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,l[u],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:s(function(){var i=this.next();return typeof i<"u"?i:this.lex()},"lex"),begin:s(function(i){this.conditionStack.push(i)},"begin"),popState:s(function(){return this.conditionStack.pop()},"popState"),_currentRules:s(function(){return this.conditions[this.conditionStack[this.conditionStack.length-1]].rules},"_currentRules"),topState:s(function(){return this.conditionStack[this.conditionStack.length-2]},"topState"),pushState:s(function(i){this.begin(i)},"begin")};return n.options={},n.performAction=s(function(i,a,c,u){function p(l,b){return a.yytext=a.yytext.substring(l,a.yyleng-b+l)}s(p,"strip");var A=u;switch(c){case 0:if(a.yytext.slice(-2)==="\\\\"?(p(0,1),this.begin("mu")):a.yytext.slice(-1)==="\\"?(p(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:(p(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=p(1,2).replace(/\\"/g,'"'),80;break;case 32:return a.yytext=p(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"),n.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\/.)|]))))/,/^(?:\[(\\\]|[^\]])*\])/,/^(?:.)/,/^(?:$)/],n.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}},n})();t.lexer=e;function r(){this.yy={}}return s(r,"Parser"),r.prototype=t,t.Parser=r,new r})();z4.default=yi0;pAe.exports=z4.default});var C4=m((E4,bAe)=>{"use strict";E4.__esModule=!0;function Bi0(t){return t&&t.__esModule?t:{default:t}}s(Bi0,"_interopRequireDefault");var qi0=on(),z_=Bi0(qi0);function g4(){this.parents=[]}s(g4,"Visitor");g4.prototype={constructor:g4,mutating:!1,acceptKey:s(function(e,r){var n=this.accept(e[r]);if(this.mutating){if(n&&!g4.prototype[n.type])throw new z_.default('Unexpected node type "'+n.type+'" found when accepting '+r+" on "+e.type);e[r]=n}},"acceptKey"),acceptRequired:s(function(e,r){if(this.acceptKey(e,r),!e[r])throw new z_.default(e.type+" requires "+r)},"acceptRequired"),acceptArray:s(function(e){for(var r=0,n=e.length;r<n;r++)this.acceptKey(e,r),e[r]||(e.splice(r,1),r--,n--)},"acceptArray"),accept:s(function(e){if(e){if(!this[e.type])throw new z_.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:s(function(e){this.acceptArray(e.body)},"Program"),MustacheStatement:O4,Decorator:O4,BlockStatement:lAe,DecoratorBlock:lAe,PartialStatement:dAe,PartialBlockStatement:s(function(e){dAe.call(this,e),this.acceptKey(e,"program")},"PartialBlockStatement"),ContentStatement:s(function(){},"ContentStatement"),CommentStatement:s(function(){},"CommentStatement"),SubExpression:O4,PathExpression:s(function(){},"PathExpressionLine truncated
`])}),e},"merge"),each:s(function(e){for(var r=0,n=this.source.length;r<n;r++)e(this.source[r])},"each"),empty:s(function(){var e=this.currentLocation||{start:{}};return new Cp(e.start.line,e.start.column,this.srcFile)},"empty"),wrap:s(function(e){var r=arguments.length<=1||arguments[1]===void 0?this.currentLocation||{start:{}}:arguments[1];return e instanceof Cp?e:(e=P_(e,this,r),new Cp(r.start.line,r.start.column,this.srcFile,e))},"wrap"),functionCall:s(function(e,r,n){return n=this.generateList(n),this.wrap([e,r?"."+r+"(":"(",n,")"])},"functionCall"),quotedString:s(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:s(function(e){var r=this,n=[];Object.keys(e).forEach(function(i){var a=P_(e[i],r);a!=="undefined"&&n.push([r.quotedString(i),":",a])});var o=this.generateList(n);return o.prepend("{"),o.add("}"),o},"objectLiteral"),generateList:s(function(e){for(var r=this.empty(),n=0,o=e.length;n<o;n++)n&&r.add(","),r.add(P_(e[n],this));return r},"generateList"),generateArray:s(function(e){var r=this.generateList(e);return r.prepend("["),r.add("]"),r},"generateArray")};w4.default=YAe;$Ae.exports=w4.default});var rle=m((S4,tle)=>{"use strict";S4.__esModule=!0;function ele(t){return t&&t.__esModule?t:{default:t}}s(ele,"_interopRequireDefault");var KAe=l4(),Cs0=on(),U_=ele(Cs0),ys0=$t(),Bs0=jAe(),ZAe=ele(Bs0);function F2(t){this.value=t}s(F2,"Literal");function W2(){}s(W2,"JavaScriptCompiler");W2.prototype={nameLookup:s(function(e,r){return this.internalNameLookup(e,r)},"nameLookup"),depthedLookup:s(function(e){return[this.aliasable("container.lookup"),"(depths, ",JSON.stringify(e),")"]},"depthedLookup"),compilerInfo:s(function(){var e=KAe.COMPILER_REVISION,r=KAe.REVISION_CHANGES[e];return[e,r]},"compilerInfo"),appendToBuffer:s(function(e,r,n){return ys0.isArray(e)||(e=[e]),e=this.source.wrap(e,r),this.environment.isSimple?["return ",e,";"]:n?["buffer += ",e,";"]:(e.appendToBuffer=!0,e)},"appendToBuffer"),initializeBuffer:s(function(){return this.quotedString("")},"initializeBuffer"),internalNameLookup:s(function(e,r){return this.lookupPropertyFunctionIsUsed=!0,["lookupProperty(",e,",",JSON.stringify(r),")"]},"internalNameLookup"),lookupPropertyFunctionIsUsed:!1,compile:s(function(e,r,n,o){this.environment=e,this.options=r,this.stringParams=this.options.stringParams,this.trackIds=this.options.trackIds,this.precompile=!o,this.name=this.environment.name,this.isChild=!!n,this.context=n||{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,u=void 0,p=void 0;for(u=0,p=i.length;u<p;u++)a=i[u],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 U_.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;"),o?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(o);if(this.isChild)return A;var l={compiler:this.compilerInfo(),main:A};this.decorators&&(l.main_d=this.decorators,l.useDecorators=!0);var b=this.context,M=b.programs,z=b.decorators;for(u=0,p=M.length;u<p;u++)l[u]=M[u],z[u]&&(l[u+"_d"]=z[u],l.useDecorators=!0);return this.environment.usePartial&&(l.usePartial=!0),this.options.data&&(l.useData=!0),this.useDepths&&(l.useDepths=!0),this.useBlockParams&&(l.useBlockParams=!0),this.options.compat&&(l.compat=!0),o?l.compilerOptions=this.options:(l.compiler=JSON.stringify(l.compiler),this.source.currentLocation={start:{line:1,column:0}},l=this.objectLiteral(l),r.srcName?(l=l.toStringWithSourceMap({file:r.destName}),l.map=l.map&&l.map.toString()):l=l.toString()),l},"compile"),preamble:s(function(){this.lastContext=0,this.source=new ZAe.default(this.options.srcName),this.decorators=new ZAe.default(this.options.srcName)},"preamble"),createFunctionContext:s(function(e){var r=this,n="",o=this.stackVars.concat(this.registers.list);o.length>0&&(n+=", "+o.join(", "));var i=0;Object.keys(this.aliases).forEach(function(u){var p=r.aliases[u];p.children&&p.referenceCount>1&&(n+=", alias"+ ++i+"="+u,p.children[0]="alias"+i)}),this.lookupPropertyFunctionIsUsed&&(n+=", "+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(n);return e?(a.push(c),Function.apply(this,a)):this.source.wrap(["function(",a.join(","),`) {
`,c,"}"])},"createFunctionContext"),mergeSource:s(function(e){var r=this.environment.isSimple,n=!this.forceBuffer,o=void 0,i=void 0,a=void 0,c=void 0;return this.source.each(function(u){u.appendToBuffer?(a?u.prepend(" + "):a=u,c=u):(a&&(i?a.prepend("buffer += "):o=!0,c.add(";"),a=c=void 0),i=!0,r||(n=!1))}),n?a?(a.prepend("return "),c.add(";")):i||this.source.push('return "";'):(e+=", buffer = "+(o?"":this.initializeBuffer()),a?(a.prepend("return buffer + "),c.add(";")):this.source.push("return buffer;")),e&&this.source.prepend("var "+e.substring(2)+(o?"":`;
`)),this.source.merge()},"mergeSource"),lookupPropertyFunctionVarDeclaration:s(function(){return`
lookupProperty = container.lookupProperty || function(parent, propertyName) {
if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
return parent[propertyName];
}
return undefined
}
`.trim()},"lookupPropertyFunctionVarDeclaration"),blockValue:s(function(e){var r=this.aliasable("container.hooks.blockHelperMissing"),n=[this.contextName(0)];this.setupHelperArgs(e,0,n);var o=this.popStack();n.splice(1,0,o),this.push(this.source.functionCall(r,"call",n))},"blockValue"),ambiguousBlockValue:s(function(){var e=this.aliasable("container.hooks.blockHelperMissing"),r=[this.contextName(0)];this.setupHelperArgs("",0,r,!0),this.flushInline();var n=this.topStack();r.splice(1,0,n),this.pushSource(["if (!",this.lastHelper,") { ",n," = ",this.source.functionCall(e,"call",r),"}"])},"ambiguousBlockValue"),appendContent:s(function(e){this.pendingContent?e=this.pendingContent+e:this.pendingLocation=this.source.currentLocation,this.pendingContent=e},"appendContent"),append:s(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:s(function(){this.pushSource(this.appendToBuffer([this.aliasable("container.escapeExpression"),"(",this.popStack(),")"]))},"appendEscaped"),getContext:s(function(e){this.lastContext=e},"getContext"),pushContext:s(function(){this.pushStackLiteral(this.contextName(this.lastContext))},"pushContext"),lookupOnContext:s(function(e,r,n,o){var i=0;!o&&this.options.compat&&!this.lastContext?this.push(this.depthedLookup(e[i++])):this.pushContext(),this.resolvePath("context",e,i,r,n)},"lookupOnContext"),lookupBlockParam:s(function(e,r){this.useBlockParams=!0,this.push(["blockParams[",e[0],"][",e[1],"]"]),this.resolvePath("context",r,1)},"lookupBlockParam"),lookupData:s(function(e,r,n){e?this.pushStackLiteral("container.data(data, "+e+")"):this.pushStackLiteral("data"),this.resolvePath("data",r,0,!0,n)},"lookupData"),resolvePath:s(function(e,r,n,o,i){var a=this;if(this.options.strict||this.options.assumeObjects){this.push(qs0(this.options.strict&&i,this,r,n,e));return}for(var c=r.length,u=s(function(A){a.replaceStack(function(l){var b=a.nameLookup(l,r[A],e);return o?[" && ",b]:[" != null ? ",b," : ",l]})},"_loop"),p=n;p<c;p++)u(p)},"resolvePath"),resolvePossibleLambda:s(function(){this.push([this.aliasable("container.lambda"),"(",this.popStack(),", ",this.contextName(0),")"])},"resolvePossibleLambda"),pushStringParam:s(function(e,r){this.pushContext(),this.pushString(r),r!=="SubExpression"&&(typeof e=="string"?this.pushString(e):this.pushStackLiteral(e))},"pushStringParam"),emptyHash:s(function(e){this.trackIds&&this.push("{}"),this.stringParams&&(this.push("{}"),this.push("{}")),this.pushStackLiteral(e?"undefined":"{}")},"emptyHash"),pushHash:s(function(){this.hash&&this.hashes.push(this.hash),this.hash={values:{},types:[],contexts:[],ids:[]}},"pushHash"),popHash:s(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:s(function(e){this.pushStackLiteral(this.quotedString(e))},"pushString"),pushLiteral:s(function(e){this.pushStackLiteral(e)},"pushLiteral"),pushProgram:s(function(e){e!=null?this.pushStackLiteral(this.programExpression(e)):this.pushStackLiteral(null)},"pushProgram"),registerDecorator:s(function(e,r){var n=this.nameLookup("decorators",r,"decorator"),o=this.setupHelperArgs(r,e);this.decorators.push(["var decorator = ",n,";"]),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",o])," || fn;"])},"registerDecorator"),invokeHelper:s(function(e,r,n){var o=this.popStack(),i=this.setupHelper(e,r),a=[];n&&a.push(i.name),a.push(o),this.options.strict||a.push(this.aliasable("container.hooks.helperMissing"));var c=["(",this.itemsSeparatedBy(a,"||"),")"],u=this.source.functionCall(c,"call",i.callParams);this.push(u)},"invokeHelper"),itemsSeparatedBy:s(function(e,r){var n=[];n.push(e[0]);for(var o=1;o<e.length;o++)n.push(r,e[o]);return n},"itemsSeparatedBy"),invokeKnownHelper:s(function(e,r){var n=this.setupHelper(e,r);this.push(this.source.functionCall(n.name,"call",n.callParams))},"invokeKnownHelper"),invokeAmbiguous:s(function(e,r){this.useRegister("helper");var n=this.popStack();this.emptyHash();var o=this.setupHelper(0,e,r),i=this.lastHelper=this.nameLookup("helpers",e,"helper"),a=["(","(helper = ",i," || ",n,")"];this.options.strict||(a[0]="(helper = ",a.push(" != null ? helper : ",this.aliasable("container.hooks.helperMissing"))),this.push(["(",a,o.paramsInit?["),(",o.paramsInit]:[],"),","(typeof helper === ",this.aliasable('"function"')," ? ",this.source.functionCall("h Line truncated
`,e};d1.prototype.Program=function(t){var e="",r=t.body,n=void 0,o=void 0;if(t.blockParams){var i="BLOCK PARAMS: [";for(n=0,o=t.blockParams.length;n<o;n++)i+=" "+t.blockParams[n];i+=" ]",e+=this.pad(i)}for(n=0,o=r.length;n<o;n++)e+=this.accept(r[n]);return this.padding--,e};d1.prototype.MustacheStatement=function(t){return this.pad("{{ "+this.SubExpression(t)+" }}")};d1.prototype.Decorator=function(t){return this.pad("{{ DIRECTIVE "+this.SubExpression(t)+" }}")};d1.prototype.BlockStatement=d1.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};d1.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+" }}")};d1.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+" }}")};d1.prototype.ContentStatement=function(t){return this.pad("CONTENT[ '"+t.value+"' ]")};d1.prototype.CommentStatement=function(t){return this.pad("{{! '"+t.value+"' }}")};d1.prototype.SubExpression=function(t){for(var e=t.params,r=[],n=void 0,o=0,i=e.length;o<i;o++)r.push(this.accept(e[o]));return e="["+r.join(", ")+"]",n=t.hash?" "+this.accept(t.hash):"",this.accept(t.path)+" "+e+n};d1.prototype.PathExpression=function(t){var e=t.parts.join("/");return(t.data?"@":"")+"PATH:"+e};d1.prototype.StringLiteral=function(t){return'"'+t.value+'"'};d1.prototype.NumberLiteral=function(t){return"NUMBER{"+t.value+"}"};d1.prototype.BooleanLiteral=function(t){return"BOOLEAN{"+t.value+"}"};d1.prototype.UndefinedLiteral=function(){return"UNDEFINED"};d1.prototype.NullLiteral=function(){return"NULL"};d1.prototype.Hash=function(t){for(var e=t.pairs,r=[],n=0,o=e.length;n<o;n++)r.push(this.accept(e[n]));return"HASH{"+r.join(", ")+"}"};d1.prototype.HashPair=function(t){return t.key+"="+this.accept(t.value)}});var X_=m((Zt1,ule)=>{var x4=ile().default,cle=sle();x4.PrintVisitor=cle.PrintVisitor;x4.print=cle.print;ule.exports=x4;function ale(t,e){var r=require("fs"),n=r.readFileSync(e,"utf8");t.exports=x4.compile(n)}s(ale,"extension");typeof require<"u"&&require.extensions&&(require.extensions[".handlebars"]=ale,require.extensions[".hbs"]=ale)});var P4=m(qc=>{"use strict";Object.defineProperty(qc,"__esModule",{value:!0});qc.Signature=qc.Envelope=void 0;qc.Envelope={fromJSON(t){return{payload:Q4(t.payload)?Buffer.from(zle(t.payload)):Buffer.alloc(0),payloadType:Q4(t.payloadType)?globalThis.String(t.payloadType):"",signatures:globalThis.Array.isArray(t?.signatures)?t.signatures.map(e=>qc.Signature.fromJSON(e)):[]}},toJSON(t){let e={};return t.payload.length!==0&&(e.payload=gle(t.payload)),t.payloadType!==""&&(e.payloadType=t.payloadType),t.signatures?.length&&(e.signatures=t.signatures.map(r=>qc.Signature.toJSON(r))),e}};qc.Signature={fromJSON(t){return{sig:Q4(t.sig)?Buffer.from(zle(t.sig)):Buffer.alloc(0),keyid:Q4(t.keyid)?globalThis.String(t.keyid):""}},toJSON(t){let e={};return t.sig.length!==0&&(e.sig=gle(t.sig)),t.keyid!==""&&(e.keyid=t.keyid),e}};function zle(t){return Uint8Array.from(globalThis.Buffer.from(t,"base64"))}s(zle,"bytesFromBase64");function gle(t){return globalThis.Buffer.from(t).toString("base64")}s(gle,"base64FromBytes");function Q4(t){return t!=null}s(Q4,"isSet")});var Ele=m(k4=>{"use strict";Object.defineProperty(k4,"__esModule",{value:!0});k4.Timestamp=void 0;k4.Timestamp={fromJSON(t){return{seconds:Ole(t.seconds)?globalThis.String(t.seconds):"0",nanos:Ole(t.nanos)?globalThis.Number(t.nanos):0}},toJSON(t){let e={};return t.seconds!=="0"&&(e.seconds=t.seconds),t.nanos!==0&&(e.nanos=Math.round(t.nanos)),e}};function Ole(t){return t!=null}s(Ole,"isSet")});var Aa=m(qe=>{"use strict";Object.defineProperty(qe,"__esModule",{value:!0});qe.TimeRange=qe.X509CertificateChain=qe.SubjectAlternativeName=qe.X509Certificate=qe.DistinguishedName=qe.ObjectIdentifierValuePair=qe.ObjectIdentifier=qe.PublicKeyIdentifier=qe.PublicKey=qe.RFC3161SignedTimestamp=qe.LogId=qe.MessageSignature=qe.HashOutput=qe.SubjectAlternativeNameType=qe.PublicKeyDetails=qe.HashAlgorithm=void 0;qe.hashAlgorithmFromJSON=yle;qe.hashAlgorithmToJSON=Ble;qe.publicKeyDetailsFromJSON=qle;qe.publicKeyDetailsToJSON=Dle;qe.subjectAlternativeNameTypeFromJSON=Ile;qe.subjectAlternativeNameTypeToJSON=Rle;var Hs0=Ele(),Or;(function(t){t[t.HASH_ALGORITHM_UNSPECIFIED=0]="HASH_ALGORITHM_UNSPECIFIED",t[t.SHA2_256=1]="SHA2_256",t[t.SHA2_384=2]="SHA2_384",t[t.SHA2_512=3]="SHA2_512",t[t.SHA3_256=4]="SH Line truncated
`).join(`
`+i),t.push(o+"m+"+DB.exports.humanize(this.diff)+"\x1B[0m")}else t[0]=hp0()+e+" "+t[0]}s(mp0,"formatArgs");function hp0(){return ot.inspectOpts.hideDate?"":new Date().toISOString()+" "}s(hp0,"getDate");function zp0(...t){return process.stderr.write(qB.formatWithOptions(ot.inspectOpts,...t)+`
`)}s(zp0,"log");function gp0(t){t?process.env.DEBUG=t:delete process.env.DEBUG}s(gp0,"save");function Op0(){return process.env.DEBUG}s(Op0,"load");function Ep0(t){t.inspectOpts={};let e=Object.keys(ot.inspectOpts);for(let r=0;r<e.length;r++)t.inspectOpts[e[r]]=ot.inspectOpts[e[r]]}s(Ep0,"init");DB.exports=$Q()(ot);var{formatters:Y2e}=DB.exports;Y2e.o=function(t){return this.inspectOpts.colors=this.useColors,qB.inspect(t,this.inspectOpts).split(`
`).map(e=>e.trim()).join(" ")};Y2e.O=function(t){return this.inspectOpts.colors=this.useColors,qB.inspect(t,this.inspectOpts)}});var KQ=m((ti1,jQ)=>{typeof process>"u"||process.type==="renderer"||process.browser===!0||process.__nwjs?jQ.exports=J2e():jQ.exports=$2e()});var RB=m(b1=>{"use strict";Object.defineProperty(b1,"__esModule",{value:!0});b1.DownloadHTTPError=b1.DownloadLengthMismatchError=b1.DownloadError=b1.ExpiredMetadataError=b1.EqualVersionError=b1.BadVersionError=b1.RepositoryError=b1.PersistError=b1.RuntimeError=b1.ValueError=void 0;var ZQ=class extends Error{static{s(this,"ValueError")}};b1.ValueError=ZQ;var e8=class extends Error{static{s(this,"RuntimeError")}};b1.RuntimeError=e8;var t8=class extends Error{static{s(this,"PersistError")}};b1.PersistError=t8;var Tm=class extends Error{static{s(this,"RepositoryError")}};b1.RepositoryError=Tm;var IB=class extends Tm{static{s(this,"BadVersionError")}};b1.BadVersionError=IB;var r8=class extends IB{static{s(this,"EqualVersionError")}};b1.EqualVersionError=r8;var n8=class extends Tm{static{s(this,"ExpiredMetadataError")}};b1.ExpiredMetadataError=n8;var vm=class extends Error{static{s(this,"DownloadError")}};b1.DownloadError=vm;var o8=class extends vm{static{s(this,"DownloadLengthMismatchError")}};b1.DownloadLengthMismatchError=o8;var i8=class extends vm{static{s(this,"DownloadHTTPError")}statusCode;constructor(e,r){super(e),this.statusCode=r}};b1.DownloadHTTPError=i8});var K2e=m(ed=>{"use strict";var a8=ed&&ed.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(ed,"__esModule",{value:!0});ed.withTempFile=void 0;var s8=a8(require("fs/promises")),Cp0=a8(require("os")),j2e=a8(require("path")),yp0=s(async t=>Bp0(async e=>t(j2e.default.join(e,"tempfile"))),"withTempFile");ed.withTempFile=yp0;var Bp0=s(async t=>{let e=await s8.default.realpath(Cp0.default.tmpdir()),r=await s8.default.mkdtemp(e+j2e.default.sep);try{return await t(r)}finally{await s8.default.rm(r,{force:!0,recursive:!0,maxRetries:3})}},"withTempDir")});var ede=m((si1,Z2e)=>{var c8=class{static{s(this,"RetryOperation")}#e=1;#t=null;#n=[];#r=null;#o;#i=null;#a;#s;#u=null;#c;constructor(e,r={}){this.#a=[...e],this.#s=[...e],this.#c=r.unref,this.#o=r.maxRetryTime||1/0,r.forever&&(this.#t=[...this.#s])}get timeouts(){return[...this.#s]}get errors(){return[...this.#n]}get attempts(){return this.#e}get mainError(){let e=null;if(this.#n.length){let r=0,n={};for(let o=0;o<this.#n.length;o++){let i=this.#n[o],{message:a}=i;n[a]||(n[a]=0),n[a]++,n[a]>=r&&(e=i,r=n[a])}}return e}reset(){this.#e=1,this.#s=[...this.#a]}stop(){this.#u&&clearTimeout(this.#u),this.#s=[],this.#t=null}retry(e){if(this.#n.push(e),new Date().getTime()-this.#i>=this.#o)return this.#n.unshift(new Error("RetryOperation timeout occurred")),!1;let r=this.#s.shift();if(r===void 0)if(this.#t)this.#n.pop(),r=this.#t.at(-1);else return!1;return this.#u=setTimeout(()=>{this.#e++,this.#r(this.#e)},r),this.#c&&this.#u.unref(),!0}attempt(e){this.#r=e,this.#i=new Date().getTime(),this.#r(this.#e)}};Z2e.exports={RetryOperation:c8}});var nde=m((ci1,rde)=>{var{RetryOperation:qp0}=ede(),tde=s((t,e)=>Math.min(Math.round((1+(e.randomize?Math.random():0))*Math.max(e.minTimeout,1)*Math.pow(e.factor,t)),e.maxTimeout),"createTimeout"),Dp0=s(t=>t?.code==="EPROMISERETRY"&&Object.hasOwn(t,"retried"),"isRetryError"),Ip0=s(async(t,e={})=>{let r=[];if(e instanceof Array)r=[...e];else{e.retries===1/0&&(e.forever=!0,delete e.retries);let o={retries:10,factor:2,minTimeout:1*1e3,maxTimeout:1/0,randomize:!1,...e};if(o.minTimeout>o.maxTimeout)throw new Error("minTimeout is greater than maxTimeout");if(o.retries){for(let i=0;i<o.retries;i++)r.push(tde(i,o));r.sort((i,a)=>i-a)}else e.forever&&r.push(tde(0,o))}let n=new qp0(r,{forever:e.forever,unref:e.unref,maxRetryTime:e.maxRetryTime});return new Promise(function(o,i){n.attempt(async a=>{try{let c=await t(u=>{throw Object.assign(new Error("Retrying"),{code:"EPROMISERETRY",retried:u})},a,n);return o(c)}catch(c){if(!Dp0(c))return i(c);if(!n.retry(c.retried||new Error))return i(c.retried)}})})},"promiseRetry");rde.exports={promiseRetry:Ip0}});var A8=m(Fc=>{"use strict";var p8=Fc&&Fc.__importDefault||function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(Fc,"__esModule",{value:!0});Fc.DefaultFetcher=Fc.BaseFetcher=void 0;var Rp0=p8(KQ()),ode=p8(require("fs")),Np0=p8(require("util")),ide=RB(),wp0=K2e(),Sp0=nde(),Fp0=(0,Rp0.default)("tuf:fetch"),Wp0="User-Agent",NB=class{static{s(this,"BaseFetcher")}async downloadFile(e,r,n){return(0,wp0.withTempFile)(async o=>{let i=await this.fetch(e),a=0,c=ode.default.createWriteStream(o),u=i.getReader();try{for(;;){let{done:p,value:A}=await u.read();if(p)break;if(a+=A.length,a>r)throw new ide.DownloadLengthMismatchError("Max length reached");await xp0(c,Buffer.from(A))}}finally{u.releaseLock(),await Np0.default.promisify(c.close).bind(c)()}return n(o)})}async downloadBytes(e,r){return this.downloadFile(e,r,async n=>{let o=ode.defau Line truncated
`).forEach(r=>{r.match(QA0)||r.match(PA0)||(e+=r)}),Buffer.from(e,"base64")}s(kA0,"toDER");function UA0(t,e="CERTIFICATE"){let n=t.toString("base64").match(/.{1,64}/g)||"";return[`-----BEGIN ${e}-----`,...n,`-----END ${e}-----`].join(`
`).concat(`
`)}s(UA0,"fromDER")});var XB=m(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.SHA2_HASH_ALGOS=Lc.RSA_SIGNATURE_ALGOS=Lc.ECDSA_SIGNATURE_ALGOS=void 0;Lc.ECDSA_SIGNATURE_ALGOS={"1.2.840.10045.4.3.1":"sha224","1.2.840.10045.4.3.2":"sha256","1.2.840.10045.4.3.3":"sha384","1.2.840.10045.4.3.4":"sha512"};Lc.RSA_SIGNATURE_ALGOS={"1.2.840.113549.1.1.14":"sha224","1.2.840.113549.1.1.11":"sha256","1.2.840.113549.1.1.12":"sha384","1.2.840.113549.1.1.13":"sha512"};Lc.SHA2_HASH_ALGOS={"2.16.840.1.101.3.4.2.1":"sha256","2.16.840.1.101.3.4.2.2":"sha384","2.16.840.1.101.3.4.2.3":"sha512"}});var x8=m(VB=>{"use strict";Object.defineProperty(VB,"__esModule",{value:!0});VB.RFC3161TimestampVerificationError=void 0;var W8=class extends Error{static{s(this,"RFC3161TimestampVerificationError")}};VB.RFC3161TimestampVerificationError=W8});var xde=m(Yi=>{"use strict";var GA0=Yi&&Yi.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),HA0=Yi&&Yi.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),XA0=Yi&&Yi.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[n.length]=o);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),o=0;o<n.length;o++)n[o]!=="default"&&GA0(r,e,n[o]);return HA0(r,e),r}})();Object.defineProperty(Yi,"__esModule",{value:!0});Yi.TSTInfo=void 0;var Wde=XA0(sd()),VA0=XB(),JA0=x8(),T8=class{static{s(this,"TSTInfo")}root;constructor(e){this.root=e}get version(){return this.root.subs[0].toInteger()}get genTime(){return this.root.subs[4].toDate()}get messageImprintHashAlgorithm(){let e=this.messageImprintObj.subs[0].subs[0].toOID();return VA0.SHA2_HASH_ALGOS[e]}get messageImprintHashedMessage(){return this.messageImprintObj.subs[1].value}get raw(){return this.root.toDER()}verify(e){let r=Wde.digest(this.messageImprintHashAlgorithm,e);if(!Wde.bufferEqual(r,this.messageImprintHashedMessage))throw new JA0.RFC3161TimestampVerificationError("message imprint does not match artifact")}get messageImprintObj(){return this.root.subs[2]}};Yi.TSTInfo=T8});var vde=m($i=>{"use strict";var YA0=$i&&$i.__createBinding||(Object.create?(function(t,e,r,n){n===void 0&&(n=r);var o=Object.getOwnPropertyDescriptor(e,r);(!o||("get"in o?!e.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:s(function(){return e[r]},"get")}),Object.defineProperty(t,n,o)}):(function(t,e,r,n){n===void 0&&(n=r),t[n]=e[r]})),$A0=$i&&$i.__setModuleDefault||(Object.create?(function(t,e){Object.defineProperty(t,"default",{enumerable:!0,value:e})}):function(t,e){t.default=e}),jA0=$i&&$i.__importStar||(function(){var t=s(function(e){return t=Object.getOwnPropertyNames||function(r){var n=[];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(n[n.length]=o);return n},t(e)},"ownKeys");return function(e){if(e&&e.__esModule)return e;var r={};if(e!=null)for(var n=t(e),o=0;o<n.length;o++)n[o]!=="default"&&YA0(r,e,n[o]);return $A0(r,e),r}})();Object.defineProperty($i,"__esModule",{value:!0});$i.RFC3161Timestamp=void 0;var KA0=UB(),v8=jA0(sd()),Tde=XB(),Um=x8(),ZA0=xde(),el0="1.2.840.113549.1.7.2",tl0="1.2.840.113549.1.9.16.1.4",rl0="1.2.840.113549.1.9.4",L8=class t{static{s(this,"RFC3161Timestamp")}root;constructor(e){this.root=e}static parse(e){let r=KA0.ASN1Obj.parseBuffer(e);return new t(r)}get status(){return this.pkiStatusInfoObj.subs[0].toInteger()}get contentType(){return this.contentTypeObj.toOID()}get eContentType(){return this.eContentTypeObj.toOID()}get signingTime(){return this.tstInfo.genTime}get signerIssuer(){return this.signerSidObj.subs[0].value}get signerSerialNumber(){return this.signerSidObj.subs[1].value}get signerDigestAlgorithm(){let e=this.signerDigestAlgorithmObj.subs[0].toOID();return Tde.SHA2_HASH_ALGOS[e]}get signatureAlgorithm(){let e=this.signatureAlgorithmObj.subs[0].toOID();return Tde.ECDSA_SIGNATURE_ALGOS[e]}get signatureValue(){return this.signatureValueObj.value}get tstInfo(){return new ZA0.TSTInfo(this.eContentObj.subs[0].subs[0])}verify(e,r){if(!this.timeStampTokenObj)throw new Um.RFC3161TimestampVerificationError("timeStampToken is missing");if(this.contentType!==el0)throw new Um.RFC3161TimestampVerificationError(`incorrect content type: ${this.contentType}`);if(this.eContentType!==tl0)throw new Um.RFC3161TimestampVerificationError(`incorrect encapsulated content type: ${this.eContentType}`);this.tstInfo.verify(e),this.verifyMessageDigest(),this.verifySignature(r)}verifyMessageDigest(){let e=v8.digest(this.signerDigestAlgorithm,this.tstInfo.raw),r=this.messageDigestAttributeObj.subs[1].subs[0].valu Line truncated
`,E20=/\u2014 (\S+) (\S+)\n/g;function C20(t,e){let r=t.inclusionProof,n=bP.fromString(r.checkpoint.envelope),o=dq.fromString(n.note);if(!y20(n,e))throw new Jm.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid checkpoint signature"});return o}s(C20,"verifyCheckpoint");function y20(t,e){let r=Buffer.from(t.note,"utf-8");return t.signatures.some(n=>{let o=e.find(i=>mbe.crypto.bufferEqual(i.logID.subarray(0,4),n.keyHint)&&i.baseURL.match(n.name));return o?mbe.crypto.verify(r,o.publicKey,n.signature):!1})}s(y20,"verifySignedNote");var bP=class t{static{s(this,"SignedNote")}note;signatures;constructor(e,r){this.note=e,this.signatures=r}static fromString(e){if(!e.includes(dP))throw new Jm.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"missing checkpoint separator"});let r=e.indexOf(dP),n=e.slice(0,r+1),i=e.slice(r+dP.length).matchAll(E20),a=Array.from(i,c=>{let[,u,p]=c,A=Buffer.from(p,"base64");if(A.length<5)throw new Jm.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"malformed checkpoint signature"});return{name:u,keyHint:A.subarray(0,4),signature:A.subarray(4)}});if(a.length===0)throw new Jm.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"no signatures found in checkpoint"});return new t(n,a)}},dq=class t{static{s(this,"LogCheckpoint")}origin;logSize;logHash;rest;constructor(e,r,n,o){this.origin=e,this.logSize=r,this.logHash=n,this.rest=o}static fromString(e){let r=e.trimEnd().split(`
`);if(r.length<3)throw new Jm.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"too few lines in checkpoint header"});let n=r[0],o=BigInt(r[1]),i=Buffer.from(r[2],"base64"),a=r.slice(3);return new t(n,o,i,a)}};Ym.LogCheckpoint=dq});var zbe=m(hP=>{"use strict";Object.defineProperty(hP,"__esModule",{value:!0});hP.verifyMerkleInclusion=D20;var mP=wo(),fP=It(),B20=Buffer.from([0]),q20=Buffer.from([1]);function D20(t,e){let r=t.inclusionProof,n=BigInt(r.logIndex),o=BigInt(e.logSize);if(n<0n||n>=o)throw new fP.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:`invalid index: ${n}`});let{inner:i,border:a}=I20(n,o);if(r.hashes.length!==i+a)throw new fP.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"invalid hash count"});let c=r.hashes.slice(0,i),u=r.hashes.slice(i),p=W20(t.canonicalizedBody),A=N20(R20(p,c,n),u);if(!mP.crypto.bufferEqual(A,e.logHash))throw new fP.VerificationError({code:"TLOG_INCLUSION_PROOF_ERROR",message:"calculated root hash does not match inclusion proof"})}s(D20,"verifyMerkleInclusion");function I20(t,e){let r=w20(t,e),n=S20(t>>BigInt(r));return{inner:r,border:n}}s(I20,"decompInclProof");function R20(t,e,r){return e.reduce((n,o,i)=>r>>BigInt(i)&BigInt(1)?MP(o,n):MP(n,o),t)}s(R20,"chainInner");function N20(t,e){return e.reduce((r,n)=>MP(n,r),t)}s(N20,"chainBorderRight");function w20(t,e){return F20(t^e-BigInt(1))}s(w20,"innerProofSize");function S20(t){return t.toString(2).split("1").length-1}s(S20,"onesCount");function F20(t){return t===0n?0:t.toString(2).length}s(F20,"bitLength");function MP(t,e){return mP.crypto.digest("sha256",q20,t,e)}s(MP,"hashChildren");function W20(t){return mP.crypto.digest("sha256",B20,t)}s(W20,"hashLeaf")});var Obe=m(zP=>{"use strict";Object.defineProperty(zP,"__esModule",{value:!0});zP.verifyTLogSET=v20;var gbe=wo(),x20=It(),T20=ud();function v20(t,e){if(!(0,T20.filterTLogAuthorities)(e,{logID:t.logId.keyId,targetDate:new Date(Number(t.integratedTime)*1e3)}).some(o=>{let i=L20(t),a=Buffer.from(gbe.json.canonicalize(i),"utf8"),c=t.inclusionPromise.signedEntryTimestamp;return gbe.crypto.verify(a,o.publicKey,c)}))throw new x20.VerificationError({code:"TLOG_INCLUSION_PROMISE_ERROR",message:"inclusion promise could not be verified"})}s(v20,"verifyTLogSET");function L20(t){let{integratedTime:e,logIndex:r,logId:n,canonicalizedBody:o}=t;return{body:o.toString("base64"),integratedTime:Number(e),logIndex:Number(r),logID:n.keyId.toString("hex")}}s(L20,"toVerificationPayload")});var Cbe=m(bq=>{"use strict";Object.defineProperty(bq,"__esModule",{value:!0});bq.verifyTLogBody=U20;bq.verifyTLogInclusion=G20;var Ebe=dbe(),EP=It(),gP=bbe(),OP=fbe(),_20=Mbe(),Q20=hbe(),P20=zbe(),k20=Obe();function U20(t,e){let{kind:r,version:n}=t.kindVersion,o=JSON.parse(t.canonicalizedBody.toString("utf8"));if(r!==o.kind||n!==o.apiVersion)throw new EP.VerificationError({code:"TLOG_BODY_ERROR",message:`kind/version mismatch - expected: ${r}/${n}, received: ${o.kind}/${o.apiVersion}`});switch(r){case"dsse":if(n==gP.DSSE_API_VERSION_V1)return(0,gP.verifyDSSETLogBody)(o,e);{let i=Ebe.Entry.fromJSON(o);return(0,gP.verifyDSSETLogBodyV2)(i,e)}case"intoto":return(0,_20.verifyIntotoTLogBody)(o,e);case"hashedrekord":if(n==OP.HASHEDREKORD_API_VERSION_V1)return(0,OP.verifyHashedRekordTLogBody)(o,e);{let i=Ebe.Entry.fromJSON(o);return(0,OP.verifyHashedRekordTLogBodyV2)(i,e)}default:throw new EP.VerificationError({code:"TLOG_BODY_ERROR",message:`unsupported kind: ${r}`})}}s(U20,"verifyTLogBody");function G20(t,e){let r=!1;if(H20(t)&&((0,k20.verifyTLogSET)(t,e),r=!0),X20(t)){let n=(0,Q20.verifyCheckpoint)(t,e);(0,P20.verifyMerkleInclusion)(t,n),r=!0}if(!r)throw new EP.VerificationError({code:"TLOG_MISSING_INCLUSION_ERROR",message:"inclusion could not be verified"})}s(G20,"verifyTLogInclusion");function H20(t){return t.inclusionPromise!==void 0}s(H20,"isTLogEntryWithInclusionPromise");function X20(t){return t.inclusionProof!==void 0}s(X20,"isTLogEntryWithInclusionProof")});var Ibe=m(fq=>{"use strict";Object.defineProperty(fq,"__esModule",{value:!0});fq.Verifier=void 0;var V20=require("util"),dd=It(),ybe=tbe(),CP=rbe(),Bbe=ibe(),qbe=Cbe(),yP=class{static{s(this,"Verifier")}trustMaterial;options;constructor(e,r={}){this.trustMaterial=e,this.options={ctlogThreshold:r.ctlogThreshold??1,tlogThreshold:r.tlogThreshold??1,timestampThreshold:r.timestampThreshold??r.tsaThreshold??1,tsaThreshold:0}}verify(e,r){let n=this.verifyTimestamps(e),o=this.verifySigningKey(e,n);return this.verifyTLogs(e),this.verifySignature(e,o),r&&this.verifyPolicy(r,o.identity||{}),o}verifyTimestamps(e){let r=[];for(let n of e.timestamps)switch(n.$case){case"timestamp-authority":r.push((0,Bbe.getTSATimestamp)(n.timestamp,e.signature.signature,this.trustMaterial.timestampAuthorities));break;case"transparency-log":{let o=(0,Bbe.getTLogTimestamp)(n.tlogEntry);o&&r.push(o);break}}if(Dbe(r))throw new dd.VerificationError({code:"TIMESTAMP_ERROR",message:"duplicate timestamp"});if(r.length<this.options.timestampThresho Line truncated
[`+I+"] ";for(W in arguments[0])i(arguments[0],W)&&(C+=W+": "+arguments[0][W]+", ");C=C.slice(0,-2)}else C=arguments[I];g.push(C)}_(d+`
Arguments: `+Array.prototype.slice.call(g).join("")+`
`+new Error().stack),h=!1}return f.apply(this,arguments)},f)}s(ce,"deprecate");var ye={};function Ne(d,f){e.deprecationHandler!=null&&e.deprecationHandler(d,f),ye[d]||(_(f),ye[d]=!0)}s(Ne,"deprecateSimple"),e.suppressDeprecationWarnings=!1,e.deprecationHandler=null;function De(d){return typeof Function<"u"&&d instanceof Function||Object.prototype.toString.call(d)==="[object Function]"}s(De,"isFunction");function ge(d){var f,h;for(h in d)i(d,h)&&(f=d[h],De(f)?this[h]=f:this["_"+h]=f);this._config=d,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}s(ge,"set");function Fe(d,f){var h=l({},d),g;for(g in f)i(f,g)&&(o(d[g])&&o(f[g])?(h[g]={},l(h[g],d[g]),l(h[g],f[g])):f[g]!=null?h[g]=f[g]:delete h[g]);for(g in d)i(d,g)&&!i(f,g)&&o(d[g])&&(h[g]=l({},h[g]));return h}s(Fe,"mergeConfigs");function k(d){d!=null&&this.set(d)}s(k,"Locale");var Te;Object.keys?Te=Object.keys:Te=s(function(d){var f,h=[];for(f in d)i(d,f)&&h.push(f);return h},"keys");var T={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function j(d,f,h){var g=this._calendar[d]||this._calendar.sameElse;return De(g)?g.call(f,h):g}s(j,"calendar");function $e(d,f,h){var g=""+Math.abs(d),C=f-g.length,I=d>=0;return(I?h?"+":"":"-")+Math.pow(10,Math.max(0,C)).toString().substr(1)+g}s($e,"zeroFill");var m1=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,ze=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,D0={},je={};function X(d,f,h,g){var C=g;typeof g=="string"&&(C=s(function(){return this[g]()},"func")),d&&(je[d]=C),f&&(je[f[0]]=function(){return $e(C.apply(this,arguments),f[1],f[2])}),h&&(je[h]=function(){return this.localeData().ordinal(C.apply(this,arguments),d)})}s(X,"addFormatToken");function Rt(d){return d.match(/\[[\s\S]/)?d.replace(/^\[|\]$/g,""):d.replace(/\\/g,"")}s(Rt,"removeFormattingTokens");function Nt(d){var f=d.match(m1),h,g;for(h=0,g=f.length;h<g;h++)je[f[h]]?f[h]=je[f[h]]:f[h]=Rt(f[h]);return function(C){var I="",W;for(W=0;W<g;W++)I+=De(f[W])?f[W].call(C,d):f[W];return I}}s(Nt,"makeFormatFunction");function m0(d,f){return d.isValid()?(f=er(f,d.localeData()),D0[f]=D0[f]||Nt(f),D0[f](d)):d.localeData().invalidDate()}s(m0,"formatMoment");function er(d,f){var h=5;function g(C){return f.longDateFormat(C)||C}for(s(g,"replaceLongDateFormatTokens"),ze.lastIndex=0;h>=0&&ze.test(d);)d=d.replace(ze,g),ze.lastIndex=0,h-=1;return d}s(er,"expandFormat");var Jh={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Yh(d){var f=this._longDateFormat[d],h=this._longDateFormat[d.toUpperCase()];return f||!h?f:(this._longDateFormat[d]=h.match(m1).map(function(g){return g==="MMMM"||g==="MM"||g==="DD"||g==="dddd"?g.slice(1):g}).join(""),this._longDateFormat[d])}s(Yh,"longDateFormat");var RD="Invalid date";function Yc(){return this._invalidDate}s(Yc,"invalidDate");var R="%d",v=/\d{1,2}/;function L(d){return this._ordinal.replace("%d",d)}s(L,"ordinal");var G={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function we(d,f,h,g){var C=this._relativeTime[h];return De(C)?C(d,f,h,g):C.replace(/%d/i,d)}s(we,"relativeTime");function o0(d,f){var h=this._relativeTime[d>0?"future":"past"];return De(h)?h(f):h.replace(/%s/i,f)}s(o0,"pastFuture");var e1={D:"date",dates:"date",date:"date",d:"day",days:"day",day:"day",e:"weekday",weekdays:"weekday",weekday:"weekday",E:"isoWeekday",isoweekdays:"isoWeekday",isoweekday:"isoWeekday",DDD:"dayOfYear",dayofyears:"dayOfYear",dayofyear:"dayOfYear",h:"hour",hours:"hour",hour:"hour",ms:"millisecond",milliseconds:"millisecond",millisecond:"millisecond",m:"minute",minutes:"minute",minute:"minute",M:"month",months:"month",month:"month",Q:"quarter",quarters:"quarter",quarter:"quarter",s:"second",seconds:"second",second:"second",gg:"weekYear",weekyears:"weekYear",weekyear:"weekYear",GG:"isoWeekYear",isoweekyears:"isoWeekYear",isoweekyear:"isoWeekYear",w:"week",weeks:"week",week:"week",W:"isoWeek",isoweeks:"isoWeek",isoweek:"isoWeek",y:"year",years:"year",year:"year"};function ke(d){return typeof d=="string"?e1[d]||e1[d.toLowerCase()]:void 0}s(ke,"normalizeUnits");function I0(d){var f={},h,g;for(g in d)i(d,g)&&(h=ke(g),h&&(f[h]=d[g]));return f}s(I0,"normalizeObjectUnits");var r9={date:9,day:11,weekday:11,isoWeekday:11,dayOfYear:4,hour:13,millisecond:16,minute:14,month:8,quarter:7,second:15,weekYear:1,isoWeekYear:1,week:5,isoWeek:5,year:1};function Q4e(d){var f=[],h;for(h in d)i(d,h)&&f.push({unit:h,priority:r9[h]});return f.sort(function(g,C){return g.priority-C.priority}),f}s(Q4e Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}s(U30,"_nonIterableRest");Dh.exports=U30,Dh.exports.__esModule=!0,Dh.exports.default=Dh.exports});var H3e=m((Db1,Ih)=>{var G30=ROe(),H30=g3e(),X30=U3e(),V30=G3e();function J30(t,e){return G30(t)||H30(t,e)||X30(t,e)||V30()}s(J30,"_slicedToArray");Ih.exports=J30,Ih.exports.__esModule=!0,Ih.exports.default=Ih.exports});var V3e=m((Rb1,X3e)=>{"use strict";var Y30=AD().forEach,$30=Eh(),j30=$30("forEach");X3e.exports=j30?[].forEach:s(function(e){return Y30(this,e,arguments.length>1?arguments[1]:void 0)},"forEach")});var Y3e=m(()=>{"use strict";var K30=F0(),J3e=V3e();K30({target:"Array",proto:!0,forced:[].forEach!==J3e},{forEach:J3e})});var j3e=m((Fb1,$3e)=>{"use strict";Y3e();var Z30=Lo();$3e.exports=Z30("Array","forEach")});var Z3e=m((Wb1,K3e)=>{"use strict";var eE0=j3e();K3e.exports=eE0});var eEe=m(()=>{});var rEe=m((vb1,tEe)=>{"use strict";var tE0=wd(),rE0=Kt(),nE0=Dr(),oE0=Z3e();eEe();var O7=Array.prototype,iE0={DOMTokenList:!0,NodeList:!0};tEe.exports=function(t){var e=t.forEach;return t===O7||nE0(O7,t)&&e===O7.forEach||rE0(iE0,tE0(t))?oE0:e}});var E7=m((Lb1,nEe)=>{nEe.exports=rEe()});var oEe=m(()=>{"use strict";var sE0=F0(),aE0=Jq().includes,cE0=f1(),uE0=rk(),pE0=cE0(function(){return!Array(1).includes()});sE0({target:"Array",proto:!0,forced:pE0},{includes:s(function(e){return aE0(this,e,arguments.length>1?arguments[1]:void 0)},"includes")});uE0("includes")});var sEe=m((kb1,iEe)=>{"use strict";oEe();var AE0=Lo();iEe.exports=AE0("Array","includes")});var cEe=m((Ub1,aEe)=>{"use strict";var lE0=un(),dE0=ga(),bE0=N1(),fE0=bE0("match");aEe.exports=function(t){var e;return lE0(t)&&((e=t[fE0])!==void 0?!!e:dE0(t)==="RegExp")}});var pEe=m((Gb1,uEe)=>{"use strict";var ME0=cEe(),mE0=TypeError;uEe.exports=function(t){if(ME0(t))throw new mE0("The method doesn't accept regular expressions");return t}});var lEe=m((Hb1,AEe)=>{"use strict";var hE0=N1(),zE0=hE0("match");AEe.exports=function(t){var e=/./;try{"/./"[t](e)}catch{try{return e[zE0]=!1,"/./"[t](e)}catch{}}return!1}});var bEe=m(()=>{"use strict";var gE0=F0(),OE0=n1(),EE0=pEe(),CE0=Up(),dEe=us(),yE0=lEe(),BE0=OE0("".indexOf);gE0({target:"String",proto:!0,forced:!yE0("includes")},{includes:s(function(e){return!!~BE0(dEe(CE0(this)),dEe(EE0(e)),arguments.length>1?arguments[1]:void 0)},"includes")})});var MEe=m((Yb1,fEe)=>{"use strict";bEe();var qE0=Lo();fEe.exports=qE0("String","includes")});var zEe=m(($b1,hEe)=>{"use strict";var mEe=Dr(),DE0=sEe(),IE0=MEe(),C7=Array.prototype,y7=String.prototype;hEe.exports=function(t){var e=t.includes;return t===C7||mEe(C7,t)&&e===C7.includes?DE0:typeof t=="string"||t===y7||mEe(y7,t)&&e===y7.includes?IE0:e}});var OEe=m((jb1,gEe)=>{"use strict";var RE0=zEe();gEe.exports=RE0});var Rh=m((Kb1,EEe)=>{EEe.exports=OEe()});var B7=m((Zb1,CEe)=>{"use strict";CEe.exports=`
\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var qEe=m((ef1,BEe)=>{"use strict";var NE0=n1(),wE0=Up(),SE0=us(),D7=B7(),yEe=NE0("".replace),FE0=RegExp("^["+D7+"]+"),WE0=RegExp("(^|[^"+D7+"])["+D7+"]+$"),q7=s(function(t){return function(e){var r=SE0(wE0(e));return t&1&&(r=yEe(r,FE0,"")),t&2&&(r=yEe(r,WE0,"$1")),r}},"createMethod");BEe.exports={start:q7(1),end:q7(2),trim:q7(3)}});var FEe=m((rf1,SEe)=>{"use strict";var NEe=J1(),xE0=f1(),TE0=n1(),vE0=us(),LE0=qEe().trim,DEe=B7(),Nh=NEe.parseInt,IEe=NEe.Symbol,REe=IEe&&IEe.iterator,wEe=/^[+-]?0x/i,_E0=TE0(wEe.exec),QE0=Nh(DEe+"08")!==8||Nh(DEe+"0x16")!==22||REe&&!xE0(function(){Nh(Object(REe))});SEe.exports=QE0?s(function(e,r){var n=LE0(vE0(e));return Nh(n,r>>>0||(_E0(wEe,n)?16:10))},"parseInt"):Nh});var xEe=m(()=>{"use strict";var PE0=F0(),WEe=FEe();PE0({global:!0,forced:parseInt!==WEe},{parseInt:WEe})});var vEe=m((sf1,TEe)=>{"use strict";xEe();var kE0=Wo();TEe.exports=kE0.parseInt});var _Ee=m((af1,LEe)=>{"use strict";var UE0=vEe();LEe.exports=UE0});var PEe=m((cf1,QEe)=>{QEe.exports=_Ee()});var gD=m((uf1,kEe)=>{kEe.exports=g7()});var HEe=m((pf1,GEe)=>{"use strict";var UEe=nh(),GE0=TypeError;GEe.exports=function(t,e){if(!delete t[e])throw new GE0("Cannot delete property "+UEe(e)+" of "+UEe(t))}});var JEe=m((Af1,VEe)=>{"use strict";var XEe=fh(),HE0=Math.floor,I7=s(function(t,e){var r=t.length;if(r<8)for(var n=1,o,i;n<r;){for(i=n,o=t[n];i&&e(t[i-1],o)>0;)t[i]=t[--i];i!==n++&&(t[i]=o)}else for(var a=HE0(r/2),c=I7(XEe(t,0,a),e),u=I7(XEe(t,a),e),p=c.length,A=u.length,l=0,b=0;l<p||b<A;)t[l+b]=l<p&&b<A?e(c[l],u[b])<=0?c[l++]:u[b++]:l<p?c[l++]:u[b++];return t},"sort");VEe.exports=I7});var jEe=m((df1,$Ee)=>{"use strict";var XE0=Cd(),YEe=XE0.match(/firefox\/(\d+)/i);$Ee.exports=!!YEe&&+YEe[1]});var ZEe=m((bf1,KEe)=>{"use strict";var VE0=Cd();KEe.exports=/MSIE|Trident/.test(VE0)});var rCe=m((ff1,tCe)=>{"use strict";var JE0=Cd(),eCe=JE0.match(/AppleWebKit\/(\d+)\./);tCe.exports=!!eCe&&+eCe[1]});var ACe=m(()=>{"use strict";var YE0=F0(),uCe=n1(),$E0=Hp(),jE0=as(),nCe=Ca(),KE0=HEe(),oCe=us(),R7=f1(),ZE0=JEe(),eC0=Eh(),iCe=jEe(),tC0=ZEe(),sCe=yd(),aCe=rCe(),Hc=[],cCe=uCe(Hc.sort),rC0=uCe(Hc.push),nC0=R7(function(){Hc.sort(void 0)}),oC0=R7(function(){Hc.sort(null)}),iC0=eC0("sort"),pCe=!R7(function(){if(sCe)return sCe<70;if(!(iCe&&iCe>3)){if(tC0)return!0;if(aCe)return aCe<603;var t="",e,r,n,o;for(e=65;e<76;e++){switch(r=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(o=0;o<47;o++)Hc.push({k:r+o,v:n})}for(Hc.sort(function(i,a){return a.v-i.v}),o=0;o<Hc.length;o++)r=Hc[o].k.charAt(0),t.charAt(t.length-1)!==r&&(t+=r);return t!=="DGBEFHACIJK"}}),sC0=nC0||!oC0||!iC0||!pCe,aC0=s(function(t){return function(e,r){return r===void 0?-1:e===void 0?1:t!==void 0?+t(e,r)||0:oCe(e)>oCe(r)?1:-1}},"getSortCompare");YE0({target:"Array",proto:!0,forced:sC0},{sort:s(function(e){e!==void 0&&$E0(e);var r=jE0(this);if(pCe)return e===void 0?cCe(r):cCe(r,e);var n=[],o=nCe(r),i,a;for(a=0;a<o;a++)a in r&&rC0(n,r[a]);for(ZE0(n,aC0(e)),i=nCe(n),a=0;a<i;)r[a]=n[a++];for(;a<o;)KE0(r,a++);return r},"sort")})});var dCe=m((zf1,lCe)=>{"use strict";ACe();var cC0=Lo();lCe.exports=cC0("Array","sort")});var fCe=m((gf1,bCe)=>{"use strict";var uC0=Dr(),pC0=dCe(),N7=Array.prototype;bCe.exports=function(t){var e=t.sort;return t===N7||uC0(N7,t)&&e===N7.sort?pC0:e}});var mCe=m((Of1,MCe)=>{"use strict";var AC0=fCe();MCe.exports=AC0});var zCe=m((Ef1,hCe)=>{hCe.exports=mCe()});var gCe=m(()=>{});var CCe=m((Bf1,ECe)=>{"use strict";var lC0=J1(),dC0=f1(),OCe=lC0.RegExp,bC0=!dC0(function(){var t=!0;try{OCe(".","d")}catch{t=!1}var e={},r="",n=t?"dgimsy":"gimsy",o=s(function(u,p){Object.defineProperty(e,u,{get:s(function(){return r+=p,!0},"get")})},"addGetter"),i={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};t&&(i.hasIndices="d");for(var a in i)o(a,i[a]);var c=Object.getOwnPropertyDescriptor(OCe.prototype,"flags").get.call(e);return c!==n||r!==n});ECe.exports={correct:bC0}});var BCe=m((Df1,yCe)=>{"use strict";var fC0=Ea();yCe.exports=function(){var t=fC0(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}});var ICe=m((If1,DCe)=>{"use strict";var MC0=eo(),mC0=Kt(),hC0=Dr(),qCe=CCe(),zC0=BCe(),gC0=RegExp.prototype;DCe.exports=qCe.correct?function(t){return t.flags}:function(t){return!qCe.correct&&hC0(gC0,t)&&!mC0(t,"flags")?MC0(zC0,t):t.flags}});var NCe=m((Rf1,RCe)=>{"use strict";gCe();var OC0=ICe();RCe.exports=OC0});var FCe=m((Nf1,SCe)=>{"use strict";var EC0=Dr(),CC0=NCe(),wCe=RegExp.prototype;SCe.exports=function(t){return t===wCe||EC0(wCe,t)?CC0(t):t.flags}});var xCe=m((wf1,WCe)=>{"use strict";var yC0=FCe();WCe.exports=yC0});var vCe=m((Sf1,TCe)=>{TCe.exports=xCe()});var rye=m((xh,tye)=>{"use strict";var Zt=is(),BC0=cs();BC0(xh,"__esModule",{ Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,c;return{s:s(function(){r=(0,qC0.default)(t)},"s"),n:s(function(){var p=r.next();return i=p.done,p},"n"),e:s(function(p){a=!0,c=p},"e"),f:s(function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw c}},"f")}}s(Fh,"_createForOfIteratorHelper");function WC0(t,e){var r;if(t){if(typeof t=="string")return LCe(t,e);var n=(0,ro.default)(r=Object.prototype.toString.call(t)).call(r,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return(0,NC0.default)(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return LCe(t,e)}}s(WC0,"_unsupportedIterableToArray");function LCe(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}s(LCe,"_arrayLikeToArray");var k0="xregexp",eA={astral:!1,namespacing:!1},M1={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split},ps={},wh={},xd={},w7=[],Td="default",_Ce="class",xC0={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/},TC0=/\$(?:{([\w$]+)}|<([\w$]+)>|(\d\d?|[\s\S]))/g,vC0=M1.exec.call(/()??/,"")[1]===void 0,LC0=(0,Zp.default)(/x/)!==void 0,_C0={},GCe=_C0.toString;function F7(t){var e=!0;try{if(new RegExp("",t),t==="y"){var r=(function(){return"gy"})(),n=".a".replace(new RegExp("a",r),".")==="..";n&&(e=!1)}}catch{e=!1}return e}s(F7,"hasNativeFlag");var HCe=F7("u"),W7=F7("y"),XCe={g:!0,i:!0,m:!0,u:HCe,y:W7};function VCe(t,e,r,n,o){var i;if(t[k0]={captureNames:e},o)return t;if(t.__proto__)t.__proto__=K.prototype;else for(var a in K.prototype)t[a]=K.prototype[a];return t[k0].source=r,t[k0].flags=n&&(0,FC0.default)(i=n.split("")).call(i).join(""),t}s(VCe,"augment");function Sh(t){return M1.replace.call(t,/([\s\S])(?=[\s\S]*\1)/g,"")}s(Sh,"clipDuplicates");function rA(t,e){var r;if(!K.isRegExp(t))throw new TypeError("Type RegExp expected");var n=t[k0]||{},o=QC0(t),i="",a="",c=null,u=null;return e=e||{},e.removeG&&(a+="g"),e.removeY&&(a+="y"),a&&(o=M1.replace.call(o,new RegExp("[".concat(a,"]+"),"g"),"")),e.addG&&(i+="g"),e.addY&&(i+="y"),i&&(o=Sh(o+i)),e.isInternalOnly||(n.source!==void 0&&(c=n.source),(0,Zp.default)(n)!=null&&(u=i?Sh((0,Zp.default)(n)+i):(0,Zp.default)(n))),t=VCe(new RegExp(e.source||t.source,o),PC0(t)?(0,ro.default)(r=n.captureNames).call(r,0):null,c,u,e.isInternalOnly),t}s(rA,"copyRegex");function JCe(t){return(0,UCe.default)(t,16)}s(JCe,"dec");function YCe(t,e,r){return t.input[t.index-1]==="("||t.input[t.index+t[0].length]===")"||t.input[t.index-1]==="|"||t.input[t.index+t[0].length]==="|"||t.index<1||t.index+t[0].length>=t.input.length||M1.test.call(/^\(\?[:=!]/,t.input.substr(t.index-3,3))||kC0(t.input,t.index+t[0].length,r)?"":"(?:)"}s(YCe,"getContextualTokenSeparator");function QC0(t){return LC0?(0,Zp.default)(t):M1.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(t))[1]}s(QC0,"getNativeFlags");function PC0(t){return!!(t[k0]&&t[k0].captureNames)}s(PC0,"hasNamedCapture");function $Ce(t){return(0,UCe.default)(t,10).toString(16)}s($Ce,"hex");function kC0(t,e,r){var n="\\(\\?#[^)]*\\)",o="#[^#\\n]*",i="[?*+]|{\\d+(?:,\\d*)?}";return M1.test.call((0,tA.default)(r).call(r,"x")?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,(0,ro.default)(t).call(t,e))}s(kC0,"isQuantifierNext");function x7(t,e){return GCe.call(t)==="[object ".concat(e,"]")}s(x7,"isType");function jCe(t){for(;t.length<4;)t="0".concat(t);return t}s(jCe,"pad4");function UC0(t,e){if(Sh(e)!==e)throw new SyntaxError("Invalid duplicate regex flag ".concat(e));t=M1.replace.call(t,/^\(\?([\w$]+)\)/,function(i,a){if(M1.test.call(/[gy]/,a))throw new SyntaxError("Cannot use flag g or y in mode modifier ".concat(i));return e=Sh(e+a),""});var r=Fh(e),n;try{for(r.s();!(n=r.n()).done;){var o=n.value;if(!XCe[o])throw new SyntaxError("Unknown regex flag ".concat(o))}}catch(i){r.e(i)}finally{r.f()}return{pattern:t,flags:e}}s(UC0,"prepareFlags");function KCe(t){var e={};return x7(t,"String")?((0,S7.default)(K).call(K,t,/[^\s,]+/,function(r){e[r]=!0}),e):t}s(KCe,"prepareOptions");function QCe(t){if(!/^[\w$]$/.test(t))throw new Error("Flag must be a single character A-Za-z0-9_$");XCe[t]=!0}s(QCe,"registerFlag");function GC0(t,e,r,n,o){for(var i=w7.length,a=t[r],c=null,u,p;i--;)if(p=w7[i],!(p.leadChar&&p.leadChar!==a||p.scope!==n&&p.scope!=="all"||p.flag&&!(0,tA.default)(e).call(e,p.flag))&&(u=K.exec(t,p.regex,r,"sticky"),u)){c={matchLength:u[0].length,output:p.handler.call(o,u,n,e),reparse:p.reparse};break}return c}s(GC0,"runTokens");function ZCe(t){eA.astral=t}s(ZCe,"setAstral");function eye(t){eA.namespacing=t}s(eye,"setNamespacing");f Line truncated
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,a=!1,c;return{s:s(function(){r=(0,By0.default)(t)},"s"),n:s(function(){var p=r.next();return i=p.done,p},"n"),e:s(function(p){a=!0,c=p},"e"),f:s(function(){try{!i&&r.return!=null&&r.return()}finally{if(a)throw c}},"f")}}s(Fy0,"_createForOfIteratorHelper");function Wy0(t,e){var r;if(t){if(typeof t=="string")return Lye(t,e);var n=(0,Ny0.default)(r=Object.prototype.toString.call(t)).call(r,8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return(0,Ry0.default)(t);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Lye(t,e)}}s(Wy0,"_unsupportedIterableToArray");function Lye(t,e){(e==null||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}s(Lye,"_arrayLikeToArray");var xy0=s(function(e){var r={},n=e._dec,o=e._hex,i=e._pad4;function a(b){return b.replace(/[- _]+/g,"").toLowerCase()}s(a,"normalize");function c(b){var M=/^\\[xu](.+)/.exec(b);return M?n(M[1]):b.charCodeAt(b[0]==="\\"?1:0)}s(c,"charCode");function u(b){var M="",z=-1;return(0,Sy0.default)(e).call(e,b,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,function(O){var y=c(O[1]);y>z+1&&(M+="\\u".concat(i(o(z+1))),y>z+2&&(M+="-\\u".concat(i(o(y-1))))),z=c(O[2]||O[1])}),z<65535&&(M+="\\u".concat(i(o(z+1))),z<65534&&(M+="-\\uFFFF")),M}s(u,"invertBmp");function p(b){var M="b!";return r[b][M]||(r[b][M]=u(r[b].bmp))}s(p,"cacheInvertedBmp");function A(b,M){var z=r[b],O="";if(z.bmp&&!z.isBmpLast){var y;O=(0,_7.default)(y="[".concat(z.bmp,"]")).call(y,z.astral?"|":"")}if(z.astral&&(O+=z.astral),z.isBmpLast&&z.bmp){var E;O+=(0,_7.default)(E="".concat(z.astral?"|":"","[")).call(E,z.bmp,"]")}return M?"(?:(?!".concat(O,")(?:[\uD800-\uDBFF][\uDC00-\uDFFF]|[\0-\uFFFF]))"):"(?:".concat(O,")")}s(A,"buildAstral");function l(b,M){var z=M?"a!":"a=";return r[b][z]||(r[b][z]=A(b,M))}s(l,"cacheAstral"),e.addToken(/\\([pP])(?:{(\^?)([^}]*)}|([A-Za-z]))/,function(b,M,z){var O="Invalid double negation ",y="Unknown Unicode token ",E="Unicode token missing data ",B="Astral mode required for Unicode token ",q="Astral mode does not support Unicode tokens within character classes",D=b[1]==="P"||!!b[2],F=(0,wy0.default)(z).call(z,"A"),x=a(b[4]||b[3]),_=r[x];if(b[1]==="P"&&b[2])throw new SyntaxError(O+b[0]);if(!r.hasOwnProperty(x))throw new SyntaxError(y+b[0]);if(_.inverseOf){if(x=a(_.inverseOf),!r.hasOwnProperty(x)){var ce;throw new ReferenceError((0,_7.default)(ce="".concat(E+b[0]," -> ")).call(ce,_.inverseOf))}_=r[x],D=!D}if(!(_.bmp||F))throw new SyntaxError(B+b[0]);if(F){if(M==="class")throw new SyntaxError(q);return l(x,D)}return M==="class"?D?p(x):_.bmp:"".concat((D?"[^":"[")+_.bmp,"]")},{scope:"all",optionalFlags:"A",leadChar:"\\"}),e.addUnicodeData=function(b){var M="Unicode token requires name",z="Unicode token has no character data ",O=Fy0(b),y;try{for(O.s();!(y=O.n()).done;){var E=y.value;if(!E.name)throw new Error(M);if(!(E.inverseOf||E.bmp||E.astral))throw new Error(z+E.name);r[a(E.name)]=E,E.alias&&(r[a(E.alias)]=E)}}catch(B){O.e(B)}finally{O.f()}e.cache.flush("patterns")},e._getUnicodeProperty=function(b){var M=a(b);return r[M]}},"_default");_h.default=xy0;_ye.exports=_h.default});var kye=m((rM1,Pye)=>{Pye.exports=[{name:"InAdlam",astral:"\uD83A[\uDD00-\uDD5F]"},{name:"InAegean_Numbers",astral:"\uD800[\uDD00-\uDD3F]"},{name:"InAhom",astral:"\uD805[\uDF00-\uDF3F]"},{name:"InAlchemical_Symbols",astral:"\uD83D[\uDF00-\uDF7F]"},{name:"InAlphabetic_Presentation_Forms",bmp:"\uFB00-\uFB4F"},{name:"InAnatolian_Hieroglyphs",astral:"\uD811[\uDC00-\uDE7F]"},{name:"InAncient_Greek_Musical_Notation",astral:"\uD834[\uDE00-\uDE4F]"},{name:"InAncient_Greek_Numbers",astral:"\uD800[\uDD40-\uDD8F]"},{name:"InAncient_Symbols",astral:"\uD800[\uDD90-\uDDCF]"},{name:"InArabic",bmp:"\u0600-\u06FF"},{name:"InArabic_Extended_A",bmp:"\u08A0-\u08FF"},{name:"InArabic_Mathematical_Alphabetic_Symbols",astral:"\uD83B[\uDE00-\uDEFF]"},{name:"InArabic_Presentation_Forms_A",bmp:"\uFB50-\uFDFF"},{name:"InArabic_Presentation_Forms_B",bmp:"\uFE70-\uFEFF"},{name:"InArabic_Supplement",bmp:"\u0750-\u077F"},{name:"InArmenian",bmp:"\u0530-\u058F"},{name:"InArrows",bmp:"\u2190-\u21FF"},{name:"InAvestan",astral:"\uD802[\uDF00-\uDF3F]"},{name:"InBalinese",bmp:"\u1B00-\u1B7F"},{name:"InBamum",bmp:"\uA6A0-\uA6FF"},{name:"InBamum_Supplement",astral:"\uD81A[\uDC00-\uDE3F]"},{name:"InBasic_Latin",bmp:"\0-\x7F"},{name:"InBassa_Vah",astral:"\uD81A[\uDED0-\uDEFF]"},{name:"InBatak",bmp:"\u1BC0-\u1BFF"},{name:"InBengali",bmp:"\u0980-\u09FF"},{name:"InBhaiksuki",astral:"\uD807[\uDC00-\uDC6F]"},{name:"InBlock_Elements",bmp:"\u2580-\u259F"},{name:"InBopomofo",bmp:"\u3100-\u312F"},{name:"InBopomofo_Extended",bmp:"\u31A0-\u31BF"},{name:"InBox_Drawing",bmp:"\u2500-\u257F"},{name:"InBrahmi",astral:"\uD804[\uDC00-\uDC7F]"},{name:"InBraille_Patterns",bmp:"\u2800-\u28FF"},{name:"InBuginese",bmp:"\u1A00-\u1A1F"},{name:"InBuhid",bmp:"\u1740-\u175F"},{ Line truncated
Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}s(Yj,"getBooleanInput");function GN(t,e){if(process.env.GITHUB_OUTPUT||"")return $d("OUTPUT",mz(t,e));process.stdout.write(UN.EOL),Po("set-output",{name:t},Qo(e))}s(GN,"setOutput");function $j(t){process.exitCode=kN.Failure,ll(t)}s($j,"setFailed");function vs(){return process.env.RUNNER_DEBUG==="1"}s(vs,"isDebug");function N(t){Po("debug",{},t)}s(N,"debug");function ll(t,e={}){Po("error",KD(e),t instanceof Error?t.toString():t)}s(ll,"error");function r0(t,e={}){Po("warning",KD(e),t instanceof Error?t.toString():t)}s(r0,"warning");function S(t){process.stdout.write(t+UN.EOL)}s(S,"info");function Iu(t){eI("group",t)}s(Iu,"startGroup");function Ru(){eI("endgroup")}s(Ru,"endGroup");function ct(t,e){return cQe(this,void 0,void 0,function*(){Iu(t);let r;try{r=yield e()}finally{Ru()}return r})}s(ct,"group");function hO(t,e){if(process.env.GITHUB_STATE||"")return $d("STATE",mz(t,e));Po("save-state",{name:t},Qo(e))}s(hO,"saveState");function jj(t){return process.env[`STATE_${t}`]||""}s(jj,"getState");var Ey=w(require("fs"),1),rL=w(require("os"),1),nL=w(require("path"),1);var Zj=w(require("os"),1);function sf(t){return t==null?"":typeof t=="string"||t instanceof String?t:JSON.stringify(t)}s(sf,"toCommandValue");function eK(t,e,r){let n=new HN(t,e,r);process.stdout.write(n.toString()+Zj.EOL)}s(eK,"issueCommand");var Kj="::",HN=class{static{s(this,"Command")}constructor(e,r,n){e||(e="missing.command"),this.command=e,this.properties=r,this.message=n}toString(){let e=Kj+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(let n in this.properties)if(this.properties.hasOwnProperty(n)){let o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${pQe(o)}`)}}return e+=`${Kj}${uQe(this.message)}`,e}};function uQe(t){return sf(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}s(uQe,"escapeData");function pQe(t){return sf(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}s(pQe,"escapeProperty");var oK=w(require("os"),1);var rK=require("os"),af=require("fs");var XN=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})},{access:AQe,appendFile:lQe,writeFile:dQe}=af.promises,tK="GITHUB_STEP_SUMMARY";var VN=class{static{s(this,"Summary")}constructor(){this._buffer=""}filePath(){return XN(this,void 0,void 0,function*(){if(this._filePath)return this._filePath;let e=process.env[tK];if(!e)throw new Error(`Unable to find environment variable for $${tK}. Check if your runtime environment supports job summaries.`);try{yield AQe(e,af.constants.R_OK|af.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,n={}){let o=Object.entries(n).map(([i,a])=>` ${i}="${a}"`).join("");return r?`<${e}${o}>${r}</${e}>`:`<${e}${o}>`}write(e){return XN(this,void 0,void 0,function*(){let r=!!e?.overwrite,n=yield this.filePath();return yield(r?dQe:lQe)(n,this._buffer,{encoding:"utf8"}),this.emptyBuffer()})}clear(){return XN(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(rK.EOL)}addCodeBlock(e,r){let n=Object.assign({},r&&{lang:r}),o=this.wrap("pre",this.wrap("code",e),n);return this.addRaw(o).addEOL()}addList(e,r=!1){let n=r?"ol":"ul",o=e.map(a=>this.wrap("li",a)).join(""),i=this.wrap(n,o);return this.addRaw(i).addEOL()}addTable(e){let r=e.map(o=>{let i=o.map(a=>{if(typeof a=="string")return this.wrap("td",a);let{header:c,data:u,colspan:p,rowspan:A}=a,l=c?"th":"td",b=Object.assign(Object.assign({},p&&{colspan:p}),A&&{rowspan:A});return this.wrap(l,u,b)}).join("");return this.wrap("tr",i)}).join(""),n=this.wrap("table",r);return this.addRaw(n).addEOL()}addDetails(e,r){let n=this.wrap("details",this.wrap("summary",e)+r);return this.addRaw(n).addEOL()}addImage(e,r,n){let{width:o,height:i}=n||{},a=Object.assign(Object.assign({},o&&{width:o}),i&&{height:i}),c=this.wrap("img",null,Object.assign({src:e,alt:r},a));return this.addRaw(c).addEOL()}addHeading(e,r){let n=`h${r}`,o=["h1","h2","h3","h4","h5","h6"].includes(n)?n:"h1",i=this.wrap(o,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 n=Object.assign({},r&&{cite:r}),o=this.wrap("blockquote",e,n);return this.addRaw(o).addEOL()}addLinLine truncated
`),e=e.replace(/\r/g,`
`));let o=e.split(`
`).map(i=>i.trim());for(let i of o)!i||i.startsWith("#")||n.patterns.push(new gf(i));return n.searchPaths.push(...Iw(n.patterns)),n})}static stat(e,r,n){return Ww(this,void 0,void 0,function*(){let o;if(r.followSymbolicLinks)try{o=yield zl.promises.stat(e.path)}catch(i){if(i.code==="ENOENT"){if(r.omitBrokenSymbolicLinks){Cn(`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 o=yield zl.promises.lstat(e.path);if(o.isDirectory()&&r.followSymbolicLinks){let i=yield zl.promises.realpath(e.path);for(;n.length>=e.level;)n.pop();if(n.some(a=>a===i)){Cn(`Symlink cycle detected for path '${e.path}' and realpath '${i}'`);return}n.push(i)}return o})}};var e7e=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})};function Tee(t,e){return e7e(this,void 0,void 0,function*(){return yield LO.create(t,e)})}s(Tee,"create");var e3=w(require("crypto"),1),Cl=w(require("fs"),1),Fu=w(require("path"),1),R1e=w(D1e(),1),N1e=w(require("util"),1);var Df;(function(t){t.Gzip="cache.tgz",t.Zstd="cache.tzst"})(Df||(Df={}));var Qt;(function(t){t.Gzip="gzip",t.ZstdWithoutLong="zstd-without-long",t.Zstd="zstd"})(Qt||(Qt={}));var Gr;(function(t){t.GNU="gnu",t.BSD="bsd"})(Gr||(Gr={}));var KO=2,ZO=5e3,t6=5e3,r6=`${process.env.PROGRAMFILES}\\Git\\usr\\bin\\tar.exe`,I1e=`${process.env.SYSTEMDRIVE}\\Windows\\System32\\tar.exe`,If="cache.tar",n6="manifest.txt",PS0=10*Math.pow(1024,3);var El=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})},aGe=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={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(i){r[i]=t[i]&&function(a){return new Promise(function(c,u){a=t[i](a),o(c,u,a.done,a.value)})}}function o(i,a,c,u){Promise.resolve(u).then(function(p){i({value:p,done:c})},a)}},cGe="1.0";function Rf(){return El(this,void 0,void 0,function*(){let t=process.platform==="win32",e=process.env.RUNNER_TEMP||"";if(!e){let n;t?n=process.env.USERPROFILE||"C:\\":process.platform==="darwin"?n="/Users":n="/home",e=Fu.join(n,"actions","temp")}let r=Fu.join(e,e3.randomUUID());return yield Ts(r),r})}s(Rf,"createTempDirectory");function oi(t){return Cl.statSync(t).size}s(oi,"getArchiveFileSizeInBytes");function o6(t){return El(this,void 0,void 0,function*(){var e,r,n,o,i;let a=[],c=(i=process.env.GITHUB_WORKSPACE)!==null&&i!==void 0?i:process.cwd(),u=yield Tee(t.join(`
`),{implicitDescendants:!1});try{for(var p=!0,A=aGe(u.globGenerator()),l;l=yield A.next(),e=l.done,!e;p=!0){o=l.value,p=!1;let M=Fu.relative(c,o).replace(new RegExp(`\\${Fu.sep}`,"g"),"/");N(`Matched: ${M}`),M===""?a.push("."):a.push(`${M}`)}}catch(b){r={error:b}}finally{try{!p&&!e&&(n=A.return)&&(yield n.call(A))}finally{if(r)throw r.error}}return a})}s(o6,"resolvePaths");function Nf(t){return El(this,void 0,void 0,function*(){return N1e.promisify(Cl.unlink)(t)})}s(Nf,"unlinkFile");function w1e(t){return El(this,arguments,void 0,function*(e,r=[]){let n="";r.push("--version"),N(`Checking ${e} ${r.join(" ")}`);try{yield Pr(`${e}`,r,{ignoreReturnCode:!0,silent:!0,listeners:{stdout:s(o=>n+=o.toString(),"stdout"),stderr:s(o=>n+=o.toString(),"stderr")}})}catch(o){N(o.message)}return n=n.trim(),N(n),n})}s(w1e,"getVersion");function wf(){return El(this,void 0,void 0,function*(){let t=yield w1e("zstd",["--quiet"]),e=R1e.clean(t);return N(`zstd version: ${e}`),t===""?Qt.Gzip:Qt.ZstdWithoutLong})}s(wf,"getCompressionMethod");function nc(t){return t===Qt.Gzip?Df.Gzip:Df.Zstd}s(nc,"getCacheFileName");function S1e(){return El(this,void 0,void 0,function*(){return Cl.existsSync(r6)?r6:(yield w1e("tar")).toLowerCase().includes("gnu tar")?at("tar"):""})}s(S1e,"getGnuTarPathOnWindows");function i6(t,e){if(e===void 0)throw Error(`Expected ${t} but value was undefiend`);return e}s(i6,"assertDefined");function yl(t,e,r=!1){let n=t.slice();return e&&n.push(e),process.platform==="win32"&&!r&&n.push("windows-only"),n.push(cGe),e3.createHash("sha256").update(n.join("|")).digest("hex")}s(yl,"getCacheVersion");function F1e(){let t=process.env.ACTIONS_RUNTIME_TOKEN;if(!t)throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable");return t}s(F1e,"getRuntimeToken");var Ff=w(require("http"),1),c6=w(require("https"),1);function s6(t){let e=t.protocol==="https:";if(uGe(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 r3(r)}catch{if(!r.startsWith("http://")&&!r.startsWith("https://"))return new r3(`http://${r}`)}else return}s(s6,"getProxyUrl");function uGe(t){if(!t.hostname)return!1;let e=t.hostname;if(pGe(e))return!0;let r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;let n;t.port?n=Number(t.port):t.protocol==="http:"?n=80:t.protocol==="https:"&&(n=443);let o=[t.hostname.toUpperCase()];typeof n=="number"&&o.push(`${o[0]}:${n}`);for(let i of r.split(",").map(a=>a.trim().toUpperCase()).filter(a=>a))if(i==="*"||o.some(a=>a===i||a.endsWith(`.${i}`)||i.startsWith(".")&&a.endsWith(`${i}`)))return!0;return!1}s(uGe,"checkBypass");function pGe(t){let e=t.toLowerCase();return e==="localhost"||e.startsWith("127.")||e.startsWith("[::1]")||e.startsWith("[0:0:0:0:0:0:0:1]")}s(pGe,"isLoopbackAddress");var r3=class extends URL{static{s(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 oc=w(jd(),1),W1e=w(ul(),1);var E1=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})},i1;(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"})(i1||(i1={}));var Pt;(function(t){t.Accept="accept",t.ContentType="content-type"})(Pt||(Pt={}));var Ps;(function(t){t.ApplicationJson="application/json"})(Ps||(Ps={}));var lGe=[i1.MovedPermanently,i1.ResourceMoved,i1.SeeOther,i1.TemporaryRedirect,i1.PermanentRedirect],dGe=[i1.BadGateway,i1.ServiceUnavailable,i1.GatewayTimeout],bGe=["OPTIONS","GET","DELETE","HEAD"],fGe=10,MGe=5,ii=class t extends Error{static{s(this,"HttpClientError")}const Line truncated
${BGe.sanitize({...this,request:{...this.request,agent:n},response:this.response})}`,"value"),enumerable:!1}),Object.setPrototypeOf(this,t.prototype)}};function c3(t){return t instanceof kt?!0:xu(t)&&t.name==="RestError"}s(c3,"isRestError");function ar(t,e){return Buffer.from(t,e)}s(ar,"stringToUint8Array");var u3=w(require("node:http"),1),p3=w(require("node:https"),1),h6=w(require("node:zlib"),1),K1e=require("node:stream");var qn=Wf("ts-http-runtime");var qGe={};function xf(t){return t&&typeof t.pipe=="function"}s(xf,"isReadableStream");function j1e(t){return t.readable===!1?Promise.resolve():new Promise(e=>{let r=s(()=>{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)})}s(j1e,"isStreamComplete");function Z1e(t){return t&&typeof t.byteLength=="number"}s(Z1e,"isArrayBuffer");var A3=class extends K1e.Transform{static{s(this,"ReportTransform")}loadedBytes=0;progressCallback;_transform(e,r,n){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),n()}catch(o){n(o)}}constructor(e){super(),this.progressCallback=e}},z6=class{static{s(this,"NodeHttpClient")}cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let r=new AbortController,n;if(e.abortSignal){if(e.abortSignal.aborted)throw new si("The operation was aborted. Request has already been canceled.");n=s(p=>{p.type==="abort"&&r.abort()},"abortListener"),e.abortSignal.addEventListener("abort",n)}let o;e.timeout>0&&(o=setTimeout(()=>{let p=new zo;qn.info(`request to '${p.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 p=NGe(c);p!==null&&e.headers.set("Content-Length",p)}let u;try{if(c&&e.onUploadProgress){let z=e.onUploadProgress,O=new A3(z);O.on("error",y=>{qn.error("Error in upload progress",y)}),xf(c)?c.pipe(O):O.end(c),c=O}let p=await this.makeRequest(e,r,c);o!==void 0&&clearTimeout(o);let A=DGe(p),b={status:p.statusCode??0,headers:A,request:e};if(e.method==="HEAD")return p.resume(),b;u=a?IGe(p,A):p;let M=e.onDownloadProgress;if(M){let z=new A3(M);z.on("error",O=>{qn.error("Error in download progress",O)}),u.pipe(z),u=z}return e.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||e.streamResponseStatusCodes?.has(b.status)?b.readableStreamBody=u:b.bodyAsText=await RGe(u),b}finally{if(e.abortSignal&&n){let p=Promise.resolve();xf(c)&&(p=j1e(c));let A=Promise.resolve();xf(u)&&(A=j1e(u)),Promise.all([p,A]).then(()=>{n&&e.abortSignal?.removeEventListener("abort",n)}).catch(l=>{qn.warning("Error when cleaning up abortListener on httpRequest",l)})}}}makeRequest(e,r,n){let o=new URL(e.url),i=o.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:o.hostname,path:`${o.pathname}${o.search}`,port:o.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((u,p)=>{let A=i?u3.default.request(c,u):p3.default.request(c,u);A.once("error",l=>{p(new kt(l.message,{code:l.code??kt.REQUEST_SEND_ERROR,request:e}))}),r.signal.addEventListener("abort",()=>{let l=new si("The operation was aborted. Rejecting from abort signal callback while making request.");A.destroy(l),p(l)}),n&&xf(n)?n.pipe(A):n?typeof n=="string"||Buffer.isBuffer(n)?A.end(n):Z1e(n)?A.end(ArrayBuffer.isView(n)?Buffer.from(n.buffer):Buffer.from(n)):(qn.error("Unrecognized body type",n),p(new kt("Unrecognized body type"))):A.end()})}getOrCreateAgent(e,r){let n=e.disableKeepAlive;if(r)return n?u3.default.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new u3.default.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(n&&!e.tlsSettings)return p3.default.globalAgent;let o=e.tlsSettings??qGe,i=this.cachedHttpsAgents.get(o);return i&&i.options.keepAlive===!n||(qn.info("No cached TLS Agent exist, creating a new Agent"),i=new p3.default.Agent({keepAlive:!n,...o}),this.cachedHttpsAgents.set(o,i)),i}}};function DGe(t){let e=Hr();for(let r of Object.keys(t.headers)){let n=t.headers[r];Array.isArray(n)?n.length>0&&e.set(r,n[0]):n&&e.set(r,n)}return e}s(DGe,"getResponseHeaders");function IGe(t,e){let r=e.get("Content-Encoding");if(r==="gzip"){let n=h6.default.createGunzip();return t.pipe(n),n}else if(r==="deflate"){let n=h6.default.createInflate();return t.pipe(n),n}return t}s(IGe,"getDecodedResponseStream");function RGe(t){return new Promise((e,r)=>{let n=[];t.on("data",o=>{Buffer.isBuffer(o)?n.push(o):n.push(Buffer.from(o))}),t.on("end",()=>{e(Buffer.concat(n).toString("utf8"))}),t.on("error",o=>{o&&o?.name==="AbortError"?r(o):r(new kt(`Error reading response as text: ${o.message}`,{code:kt.PARSE_ERROR}))})})}s(RGe,"streamToText");function NGe(t){return t?Buffer.isBuffer(t)?t.length: Line truncated
`;return e}s(aXe,"encodeHeaders");function cXe(t){return t instanceof Uint8Array?t.byteLength:x3(t)?t.size===-1?void 0:t.size:void 0}s(cXe,"getLength");function uXe(t){let e=0;for(let r of t){let n=cXe(r);if(n===void 0)return;e+=n}return e}s(uXe,"getTotalLength");async function pXe(t,e,r){let n=[ar(`--${r}`,"utf-8"),...e.flatMap(i=>[ar(`\r
`,"utf-8"),ar(aXe(i.headers),"utf-8"),ar(`\r
`,"utf-8"),i.body,ar(`\r
--${r}`,"utf-8")]),ar(`--\r
\r
`,"utf-8")],o=uXe(n);o&&t.headers.set("Content-Length",o),t.body=await nre(n)}s(pXe,"buildRequestBody");var Lf="multipartPolicy",AXe=70,lXe=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?");function dXe(t){if(t.length>AXe)throw new Error(`Multipart boundary "${t}" exceeds maximum length of 70 characters`);if(Array.from(t).some(e=>!lXe.has(e)))throw new Error(`Multipart boundary "${t}" contains invalid characters`)}s(dXe,"assertValidBoundary");function v3(){return{name:Lf,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,n=t.headers.get("Content-Type")??"multipart/mixed",o=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!o)throw new Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,i,a]=o;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?dXe(r):r=sXe(),t.headers.set("Content-Type",`${i}; boundary=${r}`),await pXe(t,t.multipartBody.parts,r),t.multipartBody=void 0,e(t)}}}s(v3,"multipartPolicy");function L3(){return a3()}s(L3,"createEmptyPipeline");var ore=o3({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"}),_v0=ore.logger;function ui(t){return ore.createClientLogger(t)}s(ui,"createClientLogger");var pi=ui("core-rest-pipeline");function L6(t={}){return d3({logger:pi.info,...t})}s(L6,"logPolicy");var _6=b3;function Q6(t={}){return f3(t)}s(Q6,"redirectPolicy");var _3=w(require("node:os"),1),Q3=w(require("node:process"),1);function ire(){return"User-Agent"}s(ire,"getHeaderName");async function sre(t){if(Q3.default&&Q3.default.versions){let e=`${_3.default.type()} ${_3.default.release()}; ${_3.default.arch()}`,r=Q3.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})`)}}s(sre,"setPlatformSpecificData");var P3="1.22.2";function OXe(t){let e=[];for(let[r,n]of t){let o=n?`${r}/${n}`:r;e.push(o)}return e.join(" ")}s(OXe,"getUserAgentString");function are(){return ire()}s(are,"getUserAgentHeaderName");async function k3(t){let e=new Map;e.set("core-rest-pipeline",P3),await sre(e);let r=OXe(e);return t?`${t} ${r}`:r}s(k3,"getUserAgentValue");var cre=are(),ure="userAgentPolicy";function P6(t={}){let e=k3(t.userAgentPrefix);return{name:ure,async sendRequest(r,n){return r.headers.has(cre)||r.headers.set(cre,await e),n(r)}}}s(P6,"userAgentPolicy");var Yr=class extends Error{static{s(this,"AbortError")}constructor(e){super(e),this.name="AbortError"}};function k6(t,e){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:o}=e??{};return new Promise((i,a)=>{function c(){a(new Yr(o??"The operation was aborted."))}s(c,"rejectOnAbort");function u(){n?.removeEventListener("abort",p)}s(u,"removeListeners");function p(){r?.(),u(),c()}if(s(p,"onAbort"),n?.aborted)return c();try{t(A=>{u(),i(A)},A=>{u(),a(A)})}catch(A){a(A)}n?.addEventListener("abort",p)})}s(k6,"createAbortablePromise");var qXe="The delay was aborted.";function _f(t,e){let r,{abortSignal:n,abortErrorMsg:o}=e??{};return k6(i=>{r=setTimeout(i,t)},{cleanupBeforeAbort:s(()=>clearTimeout(r),"cleanupBeforeAbort"),abortSignal:n,abortErrorMsg:o??qXe})}s(_f,"delay");function sc(t){if(xu(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}`}}s(sc,"getErrorMessage");function pre(t){return xu(t)}s(pre,"isError");function Fl(){return Wu()}s(Fl,"randomUUID");var f0=Lu;var Are=Symbol("rawContent");function G6(t){return typeof t[Are]=="function"}s(G6,"hasRawContent");function lre(t){return G6(t)?t[Are]():t}s(lre,"getRawContent");var U3=Lf;function H6(){let t=v3();return{name:U3,sendRequest:s(async(e,r)=>{if(e.multipartBody)for(let n of e.multipartBody.parts)G6(n.body)&&(n.body=lre(n.body));return t.sendRequest(e,r)},"sendRequest")}}s(H6,"multipartPolicy");var X6=M3;function V6(){return m3()}s(V6,"decompressResponsePolicy");function J6(t={}){return g3(t)}s(J6,"defaultRetryPolicy");function Y6(){return O3()}s(Y6,"formDataPolicy");function ac(t){return F6(t)}s(ac,"getDefaultProxySettings");function $6(t,e){return S3(t,e)}s($6,"proxyPolicy");var dre="setClientRequestIdPolicy";function j6(t="x-ms-client-request-id"){return{name:dre,async sendRequest(e,r){return e.headers.has(t)||e.headers.set(t,e.requestId),r(e)}}}s(j6,"setClientRequestIdPolicy");function K6(t){return F3(t)}s(K6,"agentPolicy");function Z6(t){return W3(t)}s(Z6,"tlsPolicy");var Wl={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function bre(t={}){let e=new eS(t.parentContext);return t.span&&(e=e.setValue(Wl.span,t.span)),t.namespace&&(e=e.setValue(Wl.namespace,t.namespace)),e}s(bre,"createTracingContext");var eS=class t{static{s(this,"TracingContextImpl")}_contextMap;constructor(e){this._contextMap=e i Line truncated
`&&t[i]!=="\r";i++)u+=t[i];if(u=u.trim(),u[u.length-1]==="/"&&(u=u.substring(0,u.length-1),i--),!$Ve(u)){let l;return u.trim().length===0?l="Invalid space after '<'.":l="Tag '"+u+"' is an invalid name.",C1("InvalidTag",l,Ut(t,i))}let p=HVe(t,i);if(p===!1)return C1("InvalidAttr","Attributes for '"+u+"' have open quote.",Ut(t,i));let A=p.value;if(i=p.index,A[A.length-1]==="/"){let l=i-A.length;A=A.substring(0,A.length-1);let b=jre(A,e);if(b===!0)n=!0;else return C1(b.err.code,b.err.msg,Ut(t,l+b.err.line))}else if(c)if(p.tagClosed){if(A.trim().length>0)return C1("InvalidTag","Closing tag '"+u+"' can't have attributes or invalid starting.",Ut(t,a));if(r.length===0)return C1("InvalidTag","Closing tag '"+u+"' has not been opened.",Ut(t,a));{let l=r.pop();if(u!==l.tagName){let b=Ut(t,l.tagStartPos);return C1("InvalidTag","Expected closing tag '"+l.tagName+"' (opened in line "+b.line+", col "+b.col+") instead of closing tag '"+u+"'.",Ut(t,a))}r.length==0&&(o=!0)}}else return C1("InvalidTag","Closing tag '"+u+"' doesn't have proper closing.",Ut(t,i));else{let l=jre(A,e);if(l!==!0)return C1(l.err.code,l.err.msg,Ut(t,i-A.length+l.err.line));if(o===!0)return C1("InvalidXml","Multiple possible root nodes found.",Ut(t,i));e.unpairedTags.indexOf(u)!==-1||r.push({tagName:u,tagStartPos:a}),n=!0}for(i++;i<t.length;i++)if(t[i]==="<")if(t[i+1]==="!"){i++,i=$re(t,i);continue}else if(t[i+1]==="?"){if(i=Yre(t,++i),i.err)return i}else break;else if(t[i]==="&"){let l=JVe(t,i);if(l==-1)return C1("InvalidChar","char '&' is not expected.",Ut(t,i));i=l}else if(o===!0&&!Jre(t[i]))return C1("InvalidXml","Extra text at the end",Ut(t,i));t[i]==="<"&&i--}}else{if(Jre(t[i]))continue;return C1("InvalidChar","char '"+t[i]+"' is not expected.",Ut(t,i))}if(n){if(r.length==1)return C1("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",Ut(t,r[0].tagStartPos));if(r.length>0)return C1("InvalidXml","Invalid '"+JSON.stringify(r.map(i=>i.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return C1("InvalidXml","Start tag expected.",1);return!0}s(rE,"validate");function Jre(t){return t===" "||t===" "||t===`
`||t==="\r"}s(Jre,"isWhiteSpace");function Yre(t,e){let r=e;for(;e<t.length;e++)if(t[e]=="?"||t[e]==" "){let n=t.substr(r,e-r);if(e>5&&n==="xml")return C1("InvalidXml","XML declaration allowed only at the start of the document.",Ut(t,e));if(t[e]=="?"&&t[e+1]==">"){e++;break}else continue}return e}s(Yre,"readPI");function $re(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}s($re,"readCommentAndCDATA");var UVe='"',GVe="'";function HVe(t,e){let r="",n="",o=!1;for(;e<t.length;e++){if(t[e]===UVe||t[e]===GVe)n===""?n=t[e]:n!==t[e]||(n="");else if(t[e]===">"&&n===""){o=!0;break}r+=t[e]}return n!==""?!1:{value:r,index:e,tagClosed:o}}s(HVe,"readAttributeStr");var XVe=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function jre(t,e){let r=eE(t,XVe),n={};for(let o=0;o<r.length;o++){if(r[o][1].length===0)return C1("InvalidAttr","Attribute '"+r[o][2]+"' has no space in starting.",jf(r[o]));if(r[o][3]!==void 0&&r[o][4]===void 0)return C1("InvalidAttr","Attribute '"+r[o][2]+"' is without value.",jf(r[o]));if(r[o][3]===void 0&&!e.allowBooleanAttributes)return C1("InvalidAttr","boolean attribute '"+r[o][2]+"' is not allowed.",jf(r[o]));let i=r[o][2];if(!YVe(i))return C1("InvalidAttr","Attribute '"+i+"' is an invalid name.",jf(r[o]));if(!Object.prototype.hasOwnProperty.call(n,i))n[i]=1;else return C1("InvalidAttr","Attribute '"+i+"' is repeated.",jf(r[o]))}return!0}s(jre,"validateAttributeString");function VVe(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}s(VVe,"validateNumberAmpersand");function JVe(t,e){if(e++,t[e]===";")return-1;if(t[e]==="#")return e++,VVe(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}s(JVe,"validateAmpersand");function C1(t,e,r){return{err:{code:t,msg:e,line:r.line||r,col:r.col}}}s(C1,"getErrorObject");function YVe(t){return hS(t)}s(YVe,"validateAttrName");function $Ve(t){return hS(t)}s($Ve,"validateTagName");function Ut(t,e){let r=t.substring(0,e).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}s(Ut,"getLineNumberForPosition");function jf(t){return t.startIndex+t[1].length}s(jf,"getPositionFromMatch");var Kre={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"},Zre={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"},ene={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:"\Line truncated
`);let e=new Ar("!xml"),r=e,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0;let o=this.options,i=new eM(o.processEntities),a=t.length;for(let c=0;c<a;c++)if(t[c]==="<"){let p=t.charCodeAt(c+1);if(p===47){let A=_l(t,">",c,"Closing Tag is not closed."),l=t.substring(c+2,A).trim();if(o.removeNSPrefix){let M=l.indexOf(":");M!==-1&&(l=l.substr(M+1))}l=qS(o.transformTagName,l,"",o).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let b=this.matcher.getCurrentTag();if(l&&o.unpairedTagsSet.has(l))throw new Error(`Unpaired tag can not be used as closing tag: </${l}>`);b&&o.unpairedTagsSet.has(b)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",c=A}else if(p===63){let A=DS(t,c,!1,"?>");if(!A)throw new Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let l=this.buildAttributesMap(A.tagExp,this.matcher,A.tagName,!0);if(l){let b=l[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(b)||1),i.setXmlVersion(Number(b)||1)}if(!(o.ignoreDeclaration&&A.tagName==="?xml"||o.ignorePiTags)){let b=new Ar(A.tagName);b.add(o.textNodeName,""),A.tagName!==A.tagExp&&A.attrExpPresent&&o.ignoreAttributes!==!0&&(b[":@"]=l),this.addChild(r,b,this.readonlyMatcher,c)}c=A.closeIndex+1}else if(p===33&&t.charCodeAt(c+2)===45&&t.charCodeAt(c+3)===45){let A=_l(t,"-->",c+4,"Comment is not closed.");if(o.commentPropName){let l=t.substring(c+4,A-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(o.commentPropName,[{[o.textNodeName]:l}])}c=A}else if(p===33&&t.charCodeAt(c+2)===68){let A=i.readDocType(t,c);this.entityDecoder.addInputEntities(A.entities),c=A.i}else if(p===33&&t.charCodeAt(c+2)===91){let A=_l(t,"]]>",c,"CDATA is not closed.")-2,l=t.substring(c+9,A);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let b=this.parseTextData(l,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);b==null&&(b=""),o.cdataPropName?r.add(o.cdataPropName,[{[o.textNodeName]:l}]):r.add(o.textNodeName,b),c=A+2}else{let A=DS(t,c,o.removeNSPrefix);if(!A){let x=t.substring(Math.max(0,c-50),Math.min(a,c+50));throw new Error(`readTagExp returned undefined at position ${c}. Context: "${x}"`)}let l=A.tagName,b=A.rawTagName,M=A.tagExp,z=A.attrExpPresent,O=A.closeIndex;if({tagName:l,tagExp:M}=qS(o.transformTagName,l,M,o),o.strictReservedNames&&(l===o.commentPropName||l===o.cdataPropName||l===o.textNodeName||l===o.attributesGroupName))throw new Error(`Invalid tag name: ${l}`);r&&n&&r.tagname!=="!xml"&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let y=r;y&&o.unpairedTagsSet.has(y.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let E=!1;M.length>0&&M.lastIndexOf("/")===M.length-1&&(E=!0,l[l.length-1]==="/"?(l=l.substr(0,l.length-1),M=l):M=M.substr(0,M.length-1),z=l!==M);let B=null,q={},D;D=zJe(b),l!==e.tagname&&this.matcher.push(l,{},D),l!==M&&z&&(B=this.buildAttributesMap(M,this.matcher,l),B&&(q=hJe(B,o))),l!==e.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let F=c;if(this.isCurrentNodeStopNode){let x="";if(E)c=A.closeIndex;else if(o.unpairedTagsSet.has(l))c=A.closeIndex;else{let ce=this.readStopNodeData(t,b,O+1);if(!ce)throw new Error(`Unexpected end of ${b}`);c=ce.i,x=ce.tagContent}let _=new Ar(l);B&&(_[":@"]=B),_.add(o.textNodeName,x),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,_,this.readonlyMatcher,F)}else{if(E){({tagName:l,tagExp:M}=qS(o.transformTagName,l,M,o));let x=new Ar(l);B&&(x[":@"]=B),this.addChild(r,x,this.readonlyMatcher,F),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(o.unpairedTagsSet.has(l)){let x=new Ar(l);B&&(x[":@"]=B),this.addChild(r,x,this.readonlyMatcher,F),this.matcher.pop(),this.isCurrentNodeStopNode=!1,c=A.closeIndex;continue}else{let x=new Ar(l);if(this.tagsNodeStack.length>o.maxNestedTags)throw new Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),B&&(x[":@"]=B),this.addChild(r,x,this.readonlyMatcher,F),r=x}n="",c=O}}}else n+=t[c];return e.child},"parseXml");function BJe(t,e,r,n){this.options.captureMetaData||(n=void 0);let o=this.options.jPath?r.toString():r,i=this.options.updateTag(e.tagname,o,e[":@"]);i===!1||(typeof i=="string"&&(e.tagname=i),t.addChild(e,n))}s(BJe,"addChild");function qJe(t,e,r){let n=this.options.processEntities;if(!n||!n.enabled)return t;if(n.allowedTags){let o=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(e):n.allowedTags(e,o)))return t}if(n.tagFilter){let o=this.options.jPath?r.toString():r;if(!n.tagFilter(e,o))return t}return this.entityDecoder.decode(t)}s(qJe,"replaceEntitiesValue");function DJe(t,e,r,n){return t&&(n===void 0&&(n=e.child.length===0),t=this.parseTextData(t,e.tagname,r,!1,e[":@"]?Object.keys(e[":@"]).length!==0:!1,n),t!==void 0&&t!==""&&e.add(this.options.textNodeName,t),t=""),t}s(DJe,"saveTextToParentTag");function IJe(){return this.stopNodeExpressionsLine truncated
`;function vJe(t,e){if(!Array.isArray(t)||t.length===0)return"1.0";let r=t[0];if(FS(r)==="?xml"){let o=r[":@"];if(o){let i=e.attributeNamePrefix+"version";if(o[i])return o[i]}}return"1.0"}s(vJe,"detectXmlVersionFromArray");function gne(t,e,r,n,o){return!r.sanitizeName||Uu(t,{xmlVersion:o})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}s(gne,"resolveTagName");function SS(t,e){let r="";e.format&&(r=TJe);let n=[];if(e.stopNodes&&Array.isArray(e.stopNodes))for(let a=0;a<e.stopNodes.length;a++){let c=e.stopNodes[a];typeof c=="string"?n.push(new Kr(c)):c instanceof Kr&&n.push(c)}let o=vJe(t,e),i=new di;return One(t,e,r,i,n,o)}s(SS,"toXml");function One(t,e,r,n,o,i){let a="",c=!1;if(e.maxNestedTags&&n.getDepth()>e.maxNestedTags)throw new Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(t!=null){let u=t.toString();return u=wS(u,e),u}return""}for(let u=0;u<t.length;u++){let p=t[u],A=FS(p);if(A===void 0)continue;let b=A===e.textNodeName||A===e.cdataPropName||A===e.commentPropName||A[0]==="?"?A:gne(A,!1,e,n,i),M=LJe(p[":@"],e);n.push(b,M);let z=QJe(n,o);if(b===e.textNodeName){let q=p[A];z||(q=e.tagValueProcessor(b,q),q=wS(q,e)),c&&(a+=r),a+=q,c=!1,n.pop();continue}else if(b===e.cdataPropName){c&&(a+=r);let q=p[A][0][e.textNodeName],D=aE(q);a+=`<![CDATA[${D}]]>`,c=!1,n.pop();continue}else if(b===e.commentPropName){let q=p[A][0][e.textNodeName],D=sE(q);a+=r+`<!--${D}-->`,c=!0,n.pop();continue}else if(b[0]==="?"){let q=zne(p[":@"],e,z,n,i);a+=(b==="?xml"?"":r)+`<${b}${q}?>`,c=!0,n.pop();continue}let O=r;O!==""&&(O+=e.indentBy);let y=zne(p[":@"],e,z,n,i),E=r+`<${b}${y}`,B;z?B=Ene(p[A],e):B=One(p[A],e,O,n,o,i),e.unpairedTags.indexOf(b)!==-1?e.suppressUnpairedNode?a+=E+">":a+=E+"/>":(!B||B.length===0)&&e.suppressEmptyNode?a+=E+"/>":B&&B.endsWith(">")?a+=E+`>${B}${r}</${b}>`:(a+=E+">",B&&r!==""&&(B.includes("/>")||B.includes("</"))?a+=r+e.indentBy+B+r:a+=B,a+=`</${b}>`),c=!0,n.pop()}return a}s(One,"arrToStr");function LJe(t,e){if(!t||e.ignoreAttributes)return null;let r={},n=!1;for(let o in t){if(!Object.prototype.hasOwnProperty.call(t,o))continue;let i=o.startsWith(e.attributeNamePrefix)?o.substr(e.attributeNamePrefix.length):o;r[i]=pc(t[o]),n=!0}return n?r:null}s(LJe,"extractAttributeValues");function Ene(t,e){if(!Array.isArray(t))return t!=null?t.toString():"";let r="";for(let n=0;n<t.length;n++){let o=t[n],i=FS(o);if(i===e.textNodeName)r+=o[i];else if(i===e.cdataPropName)r+=o[i][0][e.textNodeName];else if(i===e.commentPropName)r+=o[i][0][e.textNodeName];else{if(i&&i[0]==="?")continue;if(i){let a=_Je(o[":@"],e),c=Ene(o[i],e);!c||c.length===0?r+=`<${i}${a}/>`:r+=`<${i}${a}>${c}</${i}>`}}}return r}s(Ene,"getRawContent");function _Je(t,e){let r="";if(t&&!e.ignoreAttributes)for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let o=t[n];o===!0&&e.suppressBooleanAttributes?r+=` ${n.substr(e.attributeNamePrefix.length)}`:r+=` ${n.substr(e.attributeNamePrefix.length)}="${pc(o)}"`}return r}s(_Je,"attr_to_str_raw");function FS(t){let e=Object.keys(t);for(let r=0;r<e.length;r++){let n=e[r];if(Object.prototype.hasOwnProperty.call(t,n)&&n!==":@")return n}}s(FS,"propName");function zne(t,e,r,n,o){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),u=r?c:gne(c,!0,e,n,o),p;r?p=t[a]:(p=e.attributeValueProcessor(a,t[a]),p=wS(p,e)),p===!0&&e.suppressBooleanAttributes?i+=` ${u}`:i+=` ${u}="${pc(p)}"`}return i}s(zne,"attr_to_str");function QJe(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}s(QJe,"checkStopNode");function wS(t,e){if(t&&t.length>0&&e.processEntities)for(let r=0;r<e.entities.length;r++){let n=e.entities[r];t=t.replace(n.regex,n.val)}return t}s(wS,"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}s(WS,"getIgnoreAttributesFn");var PJe={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:s(function(t,e){return e},"tagValueProcessor"),attributeValueProcessor:s(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 dr(t){if(this.options=Object.assign({},PJe,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&&ArraLine truncated
`,this.newLine=`
`):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}s(dr,"Builder");function kJe(t,e){let r=t["?xml"];if(r&&typeof r=="object"){if(e.attributesGroupName&&r[e.attributesGroupName]){let o=r[e.attributesGroupName][e.attributeNamePrefix+"version"];if(o)return o}let n=r[e.attributeNamePrefix+"version"];if(n)return n}return"1.0"}s(kJe,"detectXmlVersionFromObj");function xS(t,e,r,n,o){return!r.sanitizeName||Uu(t,{xmlVersion:o})?t:r.sanitizeName(t,{isAttribute:e,matcher:n.readOnly()})}s(xS,"resolveTagName");dr.prototype.build=function(t){if(this.options.preserveOrder)return SS(t,this.options);{Array.isArray(t)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(t={[this.options.arrayNodeName]:t});let e=new di,r=kJe(t,this.options);return this.j2x(t,0,e,r).val}};dr.prototype.j2x=function(t,e,r,n){let o="",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 u in t){if(!Object.prototype.hasOwnProperty.call(t,u))continue;let A=u===this.options.textNodeName||u===this.options.cdataPropName||u===this.options.commentPropName||this.options.attributesGroupName&&u===this.options.attributesGroupName||this.isAttribute(u)||u[0]==="?"?u:xS(u,!1,this.options,r,n);if(typeof t[u]>"u")this.isAttribute(u)&&(i+="");else if(t[u]===null)this.isAttribute(u)||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[u]instanceof Date)i+=this.buildTextValNode(t[u],A,"",e,r);else if(typeof t[u]!="object"){let l=this.isAttribute(u);if(l&&!this.ignoreAttributesFn(l,a)){let b=xS(l,!0,this.options,r,n);o+=this.buildAttrPairStr(b,""+t[u],c)}else if(!l)if(u===this.options.textNodeName){let b=this.options.tagValueProcessor(u,""+t[u]);i+=this.replaceEntitiesValue(b)}else{r.push(A);let b=this.checkStopNode(r);if(r.pop(),b){let M=""+t[u];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[u],A,"",e,r)}}else if(Array.isArray(t[u])){let l=t[u].length,b="",M="";for(let z=0;z<l;z++){let O=t[u][z];if(!(typeof O>"u"))if(O===null)A[0]==="?"?i+=this.indentate(e)+"<"+A+"?"+this.tagEndChar:i+=this.indentate(e)+"<"+A+"/"+this.tagEndChar;else if(typeof O=="object")if(this.options.oneListGroup){r.push(A);let y=this.j2x(O,e+1,r,n);r.pop(),b+=y.val,this.options.attributesGroupName&&O.hasOwnProperty(this.options.attributesGroupName)&&(M+=y.attrStr)}else b+=this.processTextOrObjNode(O,A,e,r,n);else if(this.options.oneListGroup){let y=this.options.tagValueProcessor(A,O);y=this.replaceEntitiesValue(y),b+=y}else{r.push(A);let y=this.checkStopNode(r);if(r.pop(),y){let E=""+O;E===""?b+=this.indentate(e)+"<"+A+this.closeTag(A)+this.tagEndChar:b+=this.indentate(e)+"<"+A+">"+E+"</"+A+this.tagEndChar}else b+=this.buildTextValNode(O,A,"",e,r)}}this.options.oneListGroup&&(b=this.buildObjectNode(b,A,M,e)),i+=b}else if(this.options.attributesGroupName&&u===this.options.attributesGroupName){let l=Object.keys(t[u]),b=l.length;for(let M=0;M<b;M++){let z=xS(l[M],!0,this.options,r,n);o+=this.buildAttrPairStr(z,""+t[u][l[M]],c)}}else i+=this.processTextOrObjNode(t[u],A,e,r,n)}return{attrStr:o,val:i}};dr.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+'="'+pc(e)+'"'};function UJe(t,e,r,n,o){let i=this.extractAttributes(t);if(n.push(e,i),this.checkStopNode(n)){let u=this.buildRawContent(t),p=this.buildAttributesForStopNode(t);return n.pop(),this.buildObjectNode(u,e,p,r)}let c=this.j2x(t,r+1,n,o);return n.pop(),e[0]==="?"?this.buildTextValNode("",e,c.attrStr,r,n):t[this.options.textNodeName]!==void 0&&Object.keys(t).length===1?this.buildTextValNode(t[this.options.textNodeName],e,c.attrStr,r,n):this.buildObjectNode(c.val,e,c.attrStr,r)}s(UJe,"processTextOrObjNode");dr.prototype.extractAttributes=function(t){if(!t||typeof t!="object")return null;let e={},r=!1;if(this.options.attributesGroupName&&t[this.options.attributesGroupName]){let n=t[this.options.attributesGroupName];for(let o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;let i=o.startsWith(this.options.attributeNamePrefix)?o.substring(this.options.attributeNamePrefix.length):o;e[i]=pc(n[o]),r=!0}}else for(let n in t){if(!Object.prototype.hasOwnProperty.call(t,n))continue;let o=this.isAttribute(n);o&&(e[o]=pc(t[n]),r=!0)}return r?e:null};dr.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),n=this.factory.computeHMACSHA256(r);return e.headers.set(Re.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${n}`),e}getHeaderValueToSign(e,r){let n=e.headers.get(r);return!n||r===Re.CONTENT_LENGTH&&n==="0"?"":n}getCanonicalizedHeadersString(e){let r=e.headers.headersArray().filter(o=>o.name.toLowerCase().startsWith(Re.PREFIX_FOR_STORAGE));r.sort((o,i)=>hE(o.name.toLowerCase(),i.name.toLowerCase())),r=r.filter((o,i,a)=>!(i>0&&o.name.toLowerCase()===a[i-1].name.toLowerCase()));let n="";return r.forEach(o=>{n+=`${o.name.toLowerCase().trimRight()}:${o.value.trimLeft()}
`}),n}getCanonicalizedResourceString(e){let r=fE(e.url)||"/",n="";n+=`/${this.factory.accountName}${r}`;let o=ME(e.url),i={};if(o){let a=[];for(let c in o)if(Object.prototype.hasOwnProperty.call(o,c)){let u=c.toLowerCase();i[u]=o[c],a.push(u)}a.sort();for(let c of a)n+=`
${c}:${decodeURIComponent(i[c])}`}return n}};var s1=class extends Xu{static{s(this,"StorageSharedKeyCredential")}accountName;accountKey;constructor(e,r){super(),this.accountName=e,this.accountKey=Buffer.from(r,"base64")}create(e,r){return new iM(e,r,this)}computeHMACSHA256(e){return(0,Nne.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}};var P1=ui("storage-common");var Nn;(function(t){t[t.EXPONENTIAL=0]="EXPONENTIAL",t[t.FIXED=1]="FIXED"})(Nn||(Nn={}));var lc={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Nn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},KJe=new Yr("The operation was aborted."),sM=class extends bi{static{s(this,"StorageRetryPolicy")}retryOptions;constructor(e,r,n=lc){super(e,r),this.retryOptions={retryPolicyType:n.retryPolicyType?n.retryPolicyType:lc.retryPolicyType,maxTries:n.maxTries&&n.maxTries>=1?Math.floor(n.maxTries):lc.maxTries,tryTimeoutInMs:n.tryTimeoutInMs&&n.tryTimeoutInMs>=0?n.tryTimeoutInMs:lc.tryTimeoutInMs,retryDelayInMs:n.retryDelayInMs&&n.retryDelayInMs>=0?Math.min(n.retryDelayInMs,n.maxRetryDelayInMs?n.maxRetryDelayInMs:lc.maxRetryDelayInMs):lc.retryDelayInMs,maxRetryDelayInMs:n.maxRetryDelayInMs&&n.maxRetryDelayInMs>=0?n.maxRetryDelayInMs:lc.maxRetryDelayInMs,secondaryHost:n.secondaryHost?n.secondaryHost:lc.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,r,n){let o=e.clone(),i=r||!this.retryOptions.secondaryHost||!(e.method==="GET"||e.method==="HEAD"||e.method==="OPTIONS")||n%2===1;i||(o.url=bE(o.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(o.url=Ac(o.url,Xs.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));let a;try{if(P1.info(`RetryPolicy: =====> Try=${n} ${i?"Primary":"Secondary"}`),a=await this._nextPolicy.sendRequest(o),!this.shouldRetry(i,n,a))return a;r=r||!i&&a.status===404}catch(c){if(P1.error(`RetryPolicy: Caught error, message: ${c.message}, code: ${c.code}`),!this.shouldRetry(i,n,a,c))throw c}return await this.delay(i,n,e.abortSignal),this.attemptSendRequest(e,r,++n)}shouldRetry(e,r,n,o){if(r>=this.retryOptions.maxTries)return P1.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(o){for(let a of i)if(o.name.toUpperCase().includes(a)||o.message.toUpperCase().includes(a)||o.code&&o.code.toString().toUpperCase()===a)return P1.info(`RetryPolicy: Network error ${a} found, will retry.`),!0}if(n||o){let a=n?n.status:o?o.statusCode:0;if(!e&&a===404)return P1.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(a===503||a===500)return P1.info(`RetryPolicy: Will retry for status code ${a}.`),!0}if(n&&n?.status>=400){let a=n.headers.get(Re.X_MS_CopySourceErrorCode);if(a!==void 0)switch(a){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return o?.code==="PARSE_ERROR"&&o?.message.startsWith('Error "Error: Unclosed root tag')?(P1.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0):!1}async delay(e,r,n){let o=0;if(e)switch(this.retryOptions.retryPolicyType){case Nn.EXPONENTIAL:o=Math.min((Math.pow(2,r-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case Nn.FIXED:o=this.retryOptions.retryDelayInMs;break}else o=Math.random()*1e3;return P1.info(`RetryPolicy: Delay for ${o}ms`),mE(o,n,KJe)}};var aM=class{static{s(this,"StorageRetryPolicyFactory")}retryOptions;constructor(e){this.retryOptions=e}create(e,r){return new sM(e,r,this.retryOptions)}};var ZJe="storageBrowserPolicy";function wne(){return{name:ZJe,async sendRequest(t,e){return f0||((t.method==="GET"||t.method==="HEAD")&&(t.url=Ac(t.url,Xs.Parameters.FORCE_BROWSER_NO_CACHE,new Date().getTime().toString())),t.headers.delete(Re.COOKIE),t.headers.delete(Re.CONTENT_LENGTH)),e(t)}}}s(wne,"storageBrowserPolicy");var eYe="StorageCorrectContentLengthPolicy";function Sne(){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 s(t,"correctContentLength"),{name:eYe,async sendRequest(e,r){return t(e),r(e)}}}s(Sne,"storageCorrectContentLengthPolicy");var tYe="storageRetryPolicy",Pl={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:Nn.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},rYe=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],nYe=new Yr("The operation was aborted.");function Fne(t={}){let e=t.retryPolicyType??Pl.retryPolicyType,r=t.maxTries??Pl.maxTries,n=t.retryDelayInMs??Pl.retryDelayInMs,o=t.maxRetryDelayInMs??Pl.maxRetryDelayInMs,i=t.secondaryHost??Pl.secondaryHost,a=t.tryTimeoutInMs??Pl.tryTimeoutInMs;function c({isPrimaryRetry:p,attempt:A,response:l,error:b}){if(A>=r)return Line truncated
`)+`
`+n(i)+o(i),c=(0,Wne.createHmac)("sha256",t.accountKey).update(a,"utf8").digest("base64");i.headers.set(Re.AUTHORIZATION,`SharedKey ${t.accountName}:${c}`)}s(e,"signRequest");function r(i,a){let c=i.headers.get(a);return!c||a===Re.CONTENT_LENGTH&&c==="0"?"":c}s(r,"getHeaderValueToSign");function n(i){let a=[];for(let[u,p]of i.headers)u.toLowerCase().startsWith(Re.PREFIX_FOR_STORAGE)&&a.push({name:u,value:p});a.sort((u,p)=>hE(u.name.toLowerCase(),p.name.toLowerCase())),a=a.filter((u,p,A)=>!(p>0&&u.name.toLowerCase()===A[p-1].name.toLowerCase()));let c="";return a.forEach(u=>{c+=`${u.name.toLowerCase().trimRight()}:${u.value.trimLeft()}
`}),c}s(n,"getCanonicalizedHeadersString");function o(i){let a=fE(i.url)||"/",c="";c+=`/${t.accountName}${a}`;let u=ME(i.url),p={};if(u){let A=[];for(let l in u)if(Object.prototype.hasOwnProperty.call(u,l)){let b=l.toLowerCase();p[b]=u[l],A.push(b)}A.sort();for(let l of A)c+=`
${l}:${decodeURIComponent(p[l])}`}return c}return s(o,"getCanonicalizedResourceString"),{name:oYe,async sendRequest(i,a){return e(i),a(i)}}}s(QS,"storageSharedKeyCredentialPolicy");var iYe="storageRequestFailureDetailsParserPolicy";function xne(){return{name:iYe,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}}}}s(xne,"storageRequestFailureDetailsParserPolicy");var Tne=require("node:crypto");var zE=class{static{s(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,Tne.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}};var gE="12.31.0",OE="2026-02-06";var EE="https://storage.azure.com/.default",Vs={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};var go="",PS="*",sYe=1*1024*1024;var aYe=4*sYe;var vne="AES256",Lne="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;",_ne=["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"],Qne=["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"],Pne="BlobUsesCustomerSpecifiedEncryption",kne="BlobDoesNotUseCustomerSpecifiedEncryption",Une=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function Js(t){if(!t||typeof t!="object")return!1;let e=t;return Array.isArray(e.factories)&&typeof e.options=="object"&&typeof e.toServiceClientOptions=="function"}s(Js,"isPipelineLike");var cM=class{static{s(this,"Pipeline")}factories;options;constructor(e,r={}){this.factories=e,this.options=r}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}};function y1(t,e={}){t||(t=new V0);let r=new cM([],e);return r._credential=t,r}s(y1,"newPipeline");function cYe(t){let e=[uYe,Gne,pYe,AYe,lYe,dYe,fYe];if(t.factories.length){let r=t.factories.filter(n=>!e.some(o=>o(n)));if(r.length){let n=r.some(o=>bYe(o));return{wrappedPolicies:MS(r),afterRetry:n}}}}s(cYe,"processDownlevelPipeline");function kS(t){let{httpClient:e,...r}=t.options,n=t._coreHttpClient;n||(n=e?mS(e):_S(),t._coreHttpClient=n);let o=t._corePipeline;if(!o){let i=`azsdk-js-azure-storage-blob/${gE}`,a=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${i}`:`${i}`;o=Gf({...r,loggingOptions:{additionalAllowedHeaderNames:_ne,additionalAllowedQueryParameters:Qne,logger:uE.info},userAgentOptions:{userAgentPrefix:a},serializationOptions:{stringifyXML:cE,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:vS,serializerOptions:{xml:{xmlCharKey:"#"}}}}),o.removePolicy({phase:"Retry"}),o.removePolicy({name:X6}),o.addPolicy(Sne()),o.addPolicy(Fne(r.retryOptions),{phase:"R Line truncated
`),i=e.computeHMACSHA256(o);return{sasQueryParameters:new Bo(t.version,i,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:o}}s(cje,"generateBlobSASQueryParameters20150405");function uje(t,e){if(t=tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let o;t.permissions&&(t.blobName?o=wi.parse(t.permissions.toString()).toString():o=Si.parse(t.permissions.toString()).toString());let i=[o||"",t.startsOn?M0(t.startsOn,!1):"",t.expiresOn?M0(t.expiresOn,!1):"",ep(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?yo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,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 Bo(t.version,a,o,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}}s(uje,"generateBlobSASQueryParameters20181109");function pje(t,e){if(t=tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let o;t.permissions&&(t.blobName?o=wi.parse(t.permissions.toString()).toString():o=Si.parse(t.permissions.toString()).toString());let i=[o||"",t.startsOn?M0(t.startsOn,!1):"",t.expiresOn?M0(t.expiresOn,!1):"",ep(e.accountName,t.containerName,t.blobName),t.identifier,t.ipRange?yo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,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 Bo(t.version,a,o,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}}s(pje,"generateBlobSASQueryParameters20201206");function Aje(t,e){if(t=tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let o;t.permissions&&(t.blobName?o=wi.parse(t.permissions.toString()).toString():o=Si.parse(t.permissions.toString()).toString());let i=[o||"",t.startsOn?M0(t.startsOn,!1):"",t.expiresOn?M0(t.expiresOn,!1):"",ep(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?M0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?M0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.ipRange?yo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Bo(t.version,a,o,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}}s(Aje,"generateBlobSASQueryParametersUDK20181109");function lje(t,e){if(t=tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let o;t.permissions&&(t.blobName?o=wi.parse(t.permissions.toString()).toString():o=Si.parse(t.permissions.toString()).toString());let i=[o||"",t.startsOn?M0(t.startsOn,!1):"",t.expiresOn?M0(t.expiresOn,!1):"",ep(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?M0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?M0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?yo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Bo(t.version,a,o,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}}s(lje,"generateBlobSASQueryParametersUDK20200210");function dje(t,e){if(t=tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let o;t.permissions&&(t.blobName?o=wi.parse(t.permissions.toString()).toString():o=Si.parse(t.permissions.toString()).toString());let i=[o||"",t.startsOn?M0(t.startsOn,!1):"",t.expiresOn?M0(t.expiresOn,!1):"",ep(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?M0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?M0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,t.ipRange?yo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Bo(t.version,a,o,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}}s(dje,"generateBlobSASQueryParametersUDK20201206");function bje(t,e){if(t=tp(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",n=t.snapshotTime;t.blobName&&(r="b",t.snapshotTime?r="bs":t.versionId&&(r="bv",n=t.versionId));let o;t.permissions&&(t.blobName?o=wi.parse(t.permissions.toString()).toString():o=Si.parse(t.permissions.toString()).toString());let i=[o||"",t.startsOn?M0(t.startsOn,!1):"",t.expiresOn?M0(t.expiresOn,!1):"",ep(e.accountName,t.containerName,t.blobName),e.userDelegationKey.signedObjectId,e.userDelegationKey.signedTenantId,e.userDelegationKey.signedStartsOn?M0(e.userDelegationKey.signedStartsOn,!1):"",e.userDelegationKey.signedExpiresOn?M0(e.userDelegationKey.signedExpiresOn,!1):"",e.userDelegationKey.signedService,e.userDelegationKey.signedVersion,t.preauthorizedAgentObjectId,void 0,t.correlationId,void 0,t.delegatedUserObjectId,t.ipRange?yo(t.ipRange):"",t.protocol?t.protocol:"",t.version,r,n,t.encryptionScope,t.cacheControl,t.contentDisposition,t.contentEncoding,t.contentLanguage,t.contentType].join(`
`),a=e.computeHMACSHA256(i);return{sasQueryParameters:new Bo(t.version,a,o,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}}s(bje,"generateBlobSASQueryParametersUDK20250705");function ep(t,e,r){let n=[`/blob/${t}/${e}`];return r&&n.push(`/${r}`),n.join("")}s(ep,"getCanonicalName");function tp(t){let e=t.version?t.version:OE;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}s(tp,"SASSignatureValuesSanityCheckAndAutofill");var gM=class{static{s(this,"BlobLeaseClient")}_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,r){let n=e.storageClientContext;this._url=e.url,e.name===void 0?(this._isContainer=!0,this._containerOrBlobOperation=n.container):(this._isContainer=!1,this._containerOrBlobOperation=n.blob),r||(r=Fl()),this._leaseId=r}async acquireLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==go||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==go||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 Ae.withSpan("BlobLeaseClient-acquireLease",r,async n=>be(await this._containerOrBlobOperation.acquireLease({abortSignal:r.abortSignal,duration:e,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:n.tracingOptions})))}async changeLease(e,r={}){if(this._isContainer&&(r.conditions?.ifMatch&&r.conditions?.ifMatch!==go||r.conditions?.ifNoneMatch&&r.conditions?.ifNoneMatch!==go||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 Ae.withSpan("BlobLeaseClient-changeLease",r,async n=>{let o=be(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:r.abortSignal,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions}));return this._leaseId=e,o})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==go||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==go||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 Ae.withSpan("BlobLeaseClient-releaseLease",e,async r=>be(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!==go||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==go||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 val 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"}};Zl.isNetworkErrorCode=t=>t?["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(t):!1;var ip=class extends Error{static{s(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"}};ip.isUsageErrorMessage=t=>t?t.includes("insufficient usage"):!1;var NM=class extends Error{static{s(this,"RateLimitError")}constructor(e){super(e),this.name="RateLimitError"}};var yKe=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})},ST=class{static{s(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),n=Date.now()-this.startTime,o=(e/(1024*1024)/(n/1e3)).toFixed(1);S(`Sent ${e} of ${this.contentLength} (${r}%), ${o} MBs/sec`),this.isDone()&&(this.displayedComplete=!0)}onProgress(){return e=>{this.setSentBytes(e.loadedBytes)}}startDisplayTimer(e=1e3){let r=s(()=>{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 Vie(t,e,r){return yKe(this,void 0,void 0,function*(){var n;let o=new ta(t),i=o.getBlockBlobClient(),a=new ST((n=r?.archiveSizeBytes)!==null&&n!==void 0?n:0),c={blockSize:r?.uploadChunkSize,concurrency:r?.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:a.onProgress()};try{a.startDisplayTimer(),N(`BlobClient: ${o.name}:${o.accountName}:${o.containerName}`);let u=yield i.uploadFile(e,c);if(u._response.status>=400)throw new qC(`uploadCacheArchiveSDK: upload failed with status code ${u._response.status}`);return u}catch(u){throw r0(`uploadCacheArchiveSDK: internal error uploading cache archive: ${u.message}`),u}finally{a.stopDisplayTimer()}})}s(Vie,"uploadCacheArchiveSDK");var Yie=w(require("buffer"),1),Fi=w(require("fs"),1),$ie=w(require("stream"),1),jie=w(require("util"),1);var DC=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})};function IC(t){return t?t>=200&&t<300:!1}s(IC,"isSuccessStatusCode");function BKe(t){return t?t>=500:!0}s(BKe,"isServerErrorStatusCode");function qKe(t){return t?[i1.BadGateway,i1.ServiceUnavailable,i1.GatewayTimeout].includes(t):!1}s(qKe,"isRetryableStatusCode");function DKe(t){return DC(this,void 0,void 0,function*(){return new Promise(e=>setTimeout(e,t))})}s(DKe,"sleep");function Jie(t,e,r){return DC(this,arguments,void 0,function*(n,o,i,a=KO,c=ZO,u=void 0){let p="",A=1;for(;A<=a;){let l,b,M=!1;try{l=yield o()}catch(z){u&&(l=u(z)),M=!0,p=z.message}if(l&&(b=i(l),!BKe(b)))return l;if(b&&(M=qKe(b),p=`Cache service responded with ${b}`),N(`${n} - Attempt ${A} of ${a} failed with error: ${p}`),!M){N(`${n} - Error is not retryable`);break}yield DKe(c),A++}throw Error(`${n} failed: ${p}`)})}s(Jie,"retry");function wM(t,e){return DC(this,arguments,void 0,function*(r,n,o=KO,i=ZO){return yield Jie(r,n,a=>a.statusCode,o,i,a=>{if(a instanceof ii)return{statusCode:a.statusCode,result:null,headers:{},error:a}})})}s(wM,"retryTypedResponse");function e2(t,e){return DC(this,arguments,void 0,function*(r,n,o=KO,i=ZO){return yield Jie(r,n,a=>a.message.statusCode,o,i)})}s(e2,"retryHttpClientResponse");var xn=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})};function IKe(t,e){return xn(this,void 0,void 0,function*(){yield jie.promisify($ie.pipeline)(t.message,e)})}s(IKe,"pipeResponseToStream");var RC=class{static{s(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,N(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`)}setReceivedBytes(e){th Line truncated
Other caches with similar key:`);for(let c of i?.artifactCaches||[])N(`Cache Key: ${c?.cacheKey}, Cache Version: ${c?.cacheVersion}, Cache Scope: ${c?.scope}, Cache Created: ${c?.creationTime}`)}}})}s(xKe,"printCachesListForDiagnostics");function TT(t,e,r){return fr(this,void 0,void 0,function*(){let n=new ase.URL(t),o=tse(r);n.hostname.endsWith(".blob.core.windows.net")?o.useAzureSdk?yield Zie(t,e,o):o.concurrentBlobDownloads?yield Kie(t,e,o):yield NC(t,e):yield NC(t,e)})}s(TT,"downloadCache");function use(t,e,r){return fr(this,void 0,void 0,function*(){let n=xT(),o=yl(e,r?.compressionMethod,r?.enableCrossOsArchive),i={key:t,version:o,cacheSize:r?.cacheSize};return yield wM("reserveCache",()=>fr(this,void 0,void 0,function*(){return n.postJson(FM("caches"),i)}))})}s(use,"reserveCache");function sse(t,e){return`bytes ${t}-${e}/*`}s(sse,"getContentRange");function TKe(t,e,r,n,o){return fr(this,void 0,void 0,function*(){N(`Uploading chunk of size ${o-n+1} bytes at offset ${n} with content range: ${sse(n,o)}`);let i={"Content-Type":"application/octet-stream","Content-Range":sse(n,o)},a=yield e2(`uploadChunk (start: ${n}, end: ${o})`,()=>fr(this,void 0,void 0,function*(){return t.sendStream("PATCH",e,r(),i)}));if(!IC(a.message.statusCode))throw new Error(`Cache service responded with ${a.message.statusCode} during upload chunk.`)})}s(TKe,"uploadChunk");function vKe(t,e,r,n){return fr(this,void 0,void 0,function*(){let o=oi(r),i=FM(`caches/${e.toString()}`),a=t2.openSync(r,"r"),c=FT(n),u=i6("uploadConcurrency",c.uploadConcurrency),p=i6("uploadChunkSize",c.uploadChunkSize),A=[...new Array(u).keys()];N("Awaiting all uploads");let l=0;try{yield Promise.all(A.map(()=>fr(this,void 0,void 0,function*(){for(;l<o;){let b=Math.min(o-l,p),M=l,z=l+b-1;l+=p,yield TKe(t,i,()=>t2.createReadStream(r,{fd:a,start:M,end:z,autoClose:!1}).on("error",O=>{throw new Error(`Cache upload failed because file read failed with ${O.message}`)}),M,z)}})))}finally{t2.closeSync(a)}})}s(vKe,"uploadFile");function LKe(t,e,r){return fr(this,void 0,void 0,function*(){let n={size:r};return yield wM("commitCache",()=>fr(this,void 0,void 0,function*(){return t.postJson(FM(`caches/${e.toString()}`),n)}))})}s(LKe,"commitCache");function vT(t,e,r,n){return fr(this,void 0,void 0,function*(){if(FT(n).useAzureSdk){if(!r)throw new Error("Azure Storage SDK can only be used when a signed URL is provided.");yield Vie(r,e,n)}else{let i=xT();N("Upload cache"),yield vKe(i,t,e,n),N("Commiting cache");let a=oi(e);S(`Cache Size: ~${Math.round(a/(1024*1024))} MB (${a} B)`);let c=yield LKe(i,t,a);if(!IC(c.statusCode))throw new Error(`Cache service responded with ${c.statusCode} during commit cache.`);S("Cache saved successfully")}})}s(vT,"saveCache");var nae=w($se(),1),D1=w(q1(),1),tn=w(q1(),1),pp=w(q1(),1),Ap=w(q1(),1),lp=w(q1(),1);var wv=w(q1(),1),Sv=w(q1(),1),eae=w(q1(),1),tae=w(q1(),1),rae=w(q1(),1);var Iv=w(q1(),1),Rv=w(q1(),1),jse=w(q1(),1),Kse=w(q1(),1),Zse=w(q1(),1);var Nv=class extends Zse.MessageType{static{s(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,Kse.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,jse.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,o){let i=o??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,u]=e.tag();switch(c){case 1:i.scope=e.string();break;case 2:i.permission=e.int64().toString();break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${u}) for ${this.typeName}`);let A=e.skip(u);p!==!1&&(p===!0?Rv.UnknownFieldHandler.onRead:p)(this.typeName,i,c,u,A)}}return i}internalBinaryWrite(e,r,n){e.scope!==""&&r.tag(1,Iv.WireType.LengthDelimited).string(e.scope),e.permission!=="0"&&r.tag(2,Iv.WireType.Varint).int64(e.permission);let o=n.writeUnknownFields;return o!==!1&&(o==!0?Rv.UnknownFieldHandler.onWrite:o)(this.typeName,e,r),r}},my=new Nv;var Fv=class extends rae.MessageType{static{s(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:s(()=>my,"T")}])}create(e){let r={repositoryId:"0",scope:[]};return globalThis.Object.defineProperty(r,tae.MESSAGE_TYPE,{enumerable:!1,value:this}),e!==void 0&&(0,eae.reflectionMergePartial)(this,r,e),r}internalBinaryRead(e,r,n,o){let i=o??this.create(),a=e.pos+r;for(;e.pos<a;){let[c,u]=e.tag();switch(c){case 1:i.repositoryId=e.int64().toString();break;case 2:i.scope.push(my.internalBinaryRead(e,e.uint32(),n));break;default:let p=n.readUnknownField;if(p==="throw")throw new globalThis.Error(`Unknown field ${c} (wire type ${u}) for ${this.typeName}`);let A=e.skip(u);p!==!1&&(p===!0?Sv.UnknownFieldHandler.onRead:p)(this.typeName,i,c,u,A)}}return i}internalBinaryWrite(e,r,n){e.repositoryId!== Line truncated
`));let n=yield Jv(r,"create");yield Yv(n,t)})}s(jv,"createTar");var h2=function(t,e,r,n){function o(i){return i instanceof r?i:new r(function(a){a(i)})}return s(o,"adopt"),new(r||(r=Promise))(function(i,a){function c(A){try{p(n.next(A))}catch(l){a(l)}}s(c,"fulfilled");function u(A){try{p(n.throw(A))}catch(l){a(l)}}s(u,"rejected");function p(A){A.done?i(A.value):o(A.value).then(c,u)}s(p,"step"),p((n=n.apply(t,e||[])).next())})},Io=class t extends Error{static{s(this,"ValidationError")}constructor(e){super(e),this.name="ValidationError",Object.setPrototypeOf(this,t.prototype)}},dp=class t extends Error{static{s(this,"ReserveCacheError")}constructor(e){super(e),this.name="ReserveCacheError",Object.setPrototypeOf(this,t.prototype)}},Kv="cache write denied:",m2=class t extends dp{static{s(this,"CacheWriteDeniedError")}constructor(e){super(e),this.name="CacheWriteDeniedError",Object.setPrototypeOf(this,t.prototype)}},Oy=class t extends Error{static{s(this,"FinalizeCacheError")}constructor(e){super(e),this.name="FinalizeCacheError",Object.setPrototypeOf(this,t.prototype)}};function aae(t){if(!t||t.length===0)throw new Io("Path Validation Error: At least one directory or file path is required")}s(aae,"checkPaths");function Zv(t){if(t.length>512)throw new Io(`Key Validation Error: ${t} cannot be larger than 512 characters.`);if(!/^[^,]*$/.test(t))throw new Io(`Key Validation Error: ${t} cannot contain commas.`)}s(Zv,"checkKey");function eL(){return SM()==="v2"?!!process.env.ACTIONS_RESULTS_URL:!!process.env.ACTIONS_CACHE_URL}s(eL,"isFeatureAvailable");function cae(t,e,r,n){return h2(this,arguments,void 0,function*(o,i,a,c,u=!1){let p=SM();return N(`Cache service version: ${p}`),aae(o),p==="v2"?yield Ze0(o,i,a,c,u):yield Ke0(o,i,a,c,u)})}s(cae,"restoreCache");function Ke0(t,e,r,n){return h2(this,arguments,void 0,function*(o,i,a,c,u=!1){a=a||[];let p=[i,...a];if(N("Resolved Keys:"),N(JSON.stringify(p)),p.length>10)throw new Io("Key Validation Error: Keys are limited to a maximum of 10.");for(let b of p)Zv(b);let A=yield wf(),l="";try{let b=yield cse(p,o,{compressionMethod:A,enableCrossOsArchive:u});if(!b?.archiveLocation)return;if(c?.lookupOnly)return S("Lookup only - skipping download"),b.cacheKey;l=YM.join(yield Rf(),nc(A)),N(`Archive Path: ${l}`),yield TT(b.archiveLocation,l,c),vs()&&(yield JM(l,A));let M=oi(l);return S(`Cache Size: ~${Math.round(M/(1024*1024))} MB (${M} B)`),yield $v(l,A),S("Cache restored successfully"),b.cacheKey}catch(b){let M=b;if(M.name===Io.name)throw b;M instanceof ii&&typeof M.statusCode=="number"&&M.statusCode>=500?ll(`Failed to restore: ${b.message}`):r0(`Failed to restore: ${b.message}`)}finally{try{yield Nf(l)}catch(b){N(`Failed to delete archive: ${b}`)}}})}s(Ke0,"restoreCacheV1");function Ze0(t,e,r,n){return h2(this,arguments,void 0,function*(o,i,a,c,u=!1){c=Object.assign(Object.assign({},c),{useAzureSdk:!0}),a=a||[];let p=[i,...a];if(N("Resolved Keys:"),N(JSON.stringify(p)),p.length>10)throw new Io("Key Validation Error: Keys are limited to a maximum of 10.");for(let l of p)Zv(l);let A="";try{let l=Vv(),b=yield wf(),M={key:i,restoreKeys:a,version:yl(o,b,u)},z=yield l.GetCacheEntryDownloadURL(M);if(!z.ok){N(`Cache not found for version ${M.version} of keys: ${p.join(", ")}`);return}if(M.key!==z.matchedKey?S(`Cache hit for restore-key: ${z.matchedKey}`):S(`Cache hit for: ${z.matchedKey}`),c?.lookupOnly)return S("Lookup only - skipping download"),z.matchedKey;A=YM.join(yield Rf(),nc(b)),N(`Archive path: ${A}`),N(`Starting download of archive to: ${A}`),yield TT(z.signedDownloadUrl,A,c);let y=oi(A);return S(`Cache Size: ~${Math.round(y/(1024*1024))} MB (${y} B)`),vs()&&(yield JM(A,b)),yield $v(A,b),S("Cache restored successfully"),z.matchedKey}catch(l){let b=l;if(b.name===Io.name)throw l;b instanceof ii&&typeof b.statusCode=="number"&&b.statusCode>=500?ll(`Failed to restore: ${l.message}`):r0(`Failed to restore: ${l.message}`)}finally{try{A&&(yield Nf(A))}catch(l){N(`Failed to delete archive: ${l}`)}}})}s(Ze0,"restoreCacheV2");function tL(t,e,r){return h2(this,arguments,void 0,function*(n,o,i,a=!1){let c=SM();return N(`Cache service version: ${c}`),aae(n),Zv(o),c==="v2"?yield t00(n,o,i,a):yield e00(n,o,i,a)})}s(tL,"saveCache");function e00(t,e,r){return h2(this,arguments,void 0,function*(n,o,i,a=!1){var c,u,p,A,l,b;let M=yield wf(),z=-1,O=yield o6(n);if(N("Cache Paths:"),N(`${JSON.stringify(O)}`),O.length===0)throw new Error("Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.");let y=yield Rf(),E=YM.join(y,nc(M));N(`Archive Path: ${E}`);try{yield jv(y,O,M),vs()&&(yield JM(E,M));let B=10*1024*1024*1024,q=oi(E);if(N(`File Size: ${q}`),q>B&&!WT())throw new Error(`Cache size of ~${Math.round(q/(1024*1024))} MB (${q} B) is over the 10GB limit, not saving cache.`);N("Reserving Cache");let D=yield use(o,n,{compressionMethod:M,enableCrossOsArchive:a,cacheSize:q});if(!((c=D?.result)===null||c===void 0)&&c.cacheId)z=(u=D?.result)= Line truncated
`+t.errors.map(e=>` - ${e.message}`).join(`
`)}s(Y00,"_buildMessageForResponseErrors");var $00=class extends Error{static{s(this,"GraphqlResponseError")}constructor(t,e,r){super(Y00(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},j00=["method","baseUrl","url","headers","request","query","mediaType","operationName"],K00=["query","method","url"],Yae=/\/api\/v3\/?$/;function Z00(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(K00.includes(a))return Promise.reject(new Error(`[@octokit/graphql] "${a}" cannot be used as variable name`))}let n=typeof e=="string"?Object.assign({query:e},r):e,o=Object.keys(n).reduce((a,c)=>j00.includes(c)?(a[c]=n[c],a):(a.variables||(a.variables={}),a.variables[c]=n[c],a),{}),i=n.baseUrl||t.endpoint.DEFAULTS.baseUrl;return Yae.test(i)&&(o.url=i.replace(Yae,"/api/graphql")),t(o).then(a=>{if(a.data.errors){let c={};for(let u of Object.keys(a.headers))c[u]=a.headers[u];throw new $00(o,c,a.data)}return a.data.data})}s(Z00,"graphql");function bL(t,e){let r=t.defaults(e);return Object.assign(s((o,i)=>Z00(r,o,i),"newApi"),{defaults:bL.bind(null,r),endpoint:r.endpoint})}s(bL,"withDefaults");var me1=bL(ZM,{headers:{"user-agent":`octokit-graphql.js/${J00} ${Oc()}`},method:"POST",url:"/graphql"});function $ae(t){return bL(t,{method:"POST",url:"/graphql"})}s($ae,"withCustomRequest");var fL="(?:[a-zA-Z0-9_-]+)",jae="\\.",Kae=new RegExp(`^${fL}${jae}${fL}${jae}${fL}$`),e10=Kae.test.bind(Kae);async function t10(t){let e=e10(t),r=t.startsWith("v1.")||t.startsWith("ghs_"),n=t.startsWith("ghu_");return{type:"token",token:t,tokenType:e?"app":r?"installation":n?"user-to-server":"oauth"}}s(t10,"auth");function r10(t){return t.split(/\./).length===3?`bearer ${t}`:`token ${t}`}s(r10,"withAuthorizationPrefix");async function n10(t,e,r,n){let o=e.endpoint.merge(r,n);return o.headers.authorization=r10(t),e(o)}s(n10,"hook");var Zae=s(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(t10.bind(null,e),{hook:n10.bind(null,e)})},"createTokenAuth2");var ML="7.0.6";var ece=s(()=>{},"noop"),o10=console.warn.bind(console),i10=console.error.bind(console);function s10(t={}){return typeof t.debug!="function"&&(t.debug=ece),typeof t.info!="function"&&(t.info=ece),typeof t.warn!="function"&&(t.warn=o10),typeof t.error!="function"&&(t.error=i10),t}s(s10,"createLogger");var tce=`octokit-core.js/${ML} ${Oc()}`,Wy=class{static{s(this,"Octokit")}static VERSION=ML;static defaults(e){return class extends this{static{s(this,"OctokitWithDefaults")}constructor(...n){let o=n[0]||{};if(typeof e=="function"){super(e(o));return}super(Object.assign({},e,o,o.userAgent&&e.userAgent?{userAgent:`${o.userAgent} ${e.userAgent}`}:null))}}}static plugins=[];static plugin(...e){let r=this.plugins;return class extends this{static{s(this,"NewOctokit")}static plugins=r.concat(e.filter(o=>!r.includes(o)))}}constructor(e={}){let r=new Iae.Collection,n={baseUrl:ZM.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},e.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};if(n.headers["user-agent"]=e.userAgent?`${e.userAgent} ${tce}`:tce,e.baseUrl&&(n.baseUrl=e.baseUrl),e.previews&&(n.mediaType.previews=e.previews),e.timeZone&&(n.headers["time-zone"]=e.timeZone),this.request=ZM.defaults(n),this.graphql=$ae(this.request).defaults(n),this.log=s10(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=Zae(e.auth);r.wrap("request",i.hook),this.auth=i}let o=this.constructor;for(let i=0;i<o.plugins.length;++i)Object.assign(this,o.plugins[i](this,e))}request;graphql;log;hook;auth};var mL="17.0.0";var a10={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" Line truncated
`,a).length:l,p?(c===null?0:c.length)+u.length:0,p?u.length+l:0);return b<M},"__needMoreData"),parse:s(function(n,o,i,a){let{bom:c,comment_no_infix:u,delimiter_auto:p,encoding:A,from_line:l,ltrim:b,max_record_size:M,raw:z,relax_quotes:O,rtrim:y,skip_empty_lines:E,to:B,to_line:q}=this.options,{comment:D,escape:F,quote:x,record_delimiter:_}=this.options,{bomSkipped:ce,delimiterDiscovered:ye,delimiterBufPrevious:Ne,rawBuffer:De,escapeIsQuote:ge}=this.state;if(!ye&&p){let j;if(Ne===void 0?j=n:Ne!==void 0&&n===void 0?j=Ne:j=Buffer.concat([Ne,n]),n=void 0,o||j.length>p.size)this.options.delimiter=[Buffer.from(lle(j,this.options.delimiter_auto))],this.state.previousBuf=j,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=j;return}}let{previousBuf:Fe}=this.state,k;if(Fe===void 0)if(n===void 0){a();return}else k=n;else Fe!==void 0&&n===void 0?k=Fe:k=Buffer.concat([Fe,n]);if(ce===!1)if(c===!1)this.state.bomSkipped=!0;else if(k.length<3){if(o===!1){this.state.previousBuf=k;return}}else{for(let j in v2)if(v2[j].compare(k,0,v2[j].length)===0){let $e=v2[j].length;this.state.bufBytesStart+=$e,k=k.slice($e);let m1=T2({...this.original_options,encoding:j});for(let ze in m1)this.options[ze]=m1[ze];({comment:D,escape:F,quote:x}=this.options);break}this.state.bomSkipped=!0}let Te=k.length,T;for(T=0;T<Te&&!this.__needMoreData(T,Te,o);T++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),q!==-1&&this.info.lines>q){this.state.stop=!0,a();return}this.state.quoting===!1&&_.length===0&&this.__autoDiscoverRecordDelimiter(k,T)&&(_=this.options.record_delimiter);let j=k[T];if(z===!0&&De.append(j),(j===Us0||j===Gs0)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(F!==null&&this.state.quoting===!0&&this.__isEscape(k,T,j)&&T+F.length<Te)if(ge){if(this.__isQuote(k,T+F.length)){this.state.escaping=!0,T+=F.length-1;continue}}else{this.state.escaping=!0,T+=F.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(k,T))if(this.state.quoting===!0){let ze=k[T+x.length],D0=y&&this.__isCharTrimable(k,T+x.length),je=D!==null&&this.__compareBytes(D,k,T+x.length,ze),X=this.__isDelimiter(k,T+x.length,ze),Rt=_.length===0?this.__autoDiscoverRecordDelimiter(k,T+x.length):this.__isRecordDelimiter(ze,k,T+x.length);if(F!==null&&this.__isEscape(k,T,j)&&this.__isQuote(k,T+F.length))T+=F.length-1;else if(!ze||X||Rt||je||D0){this.state.quoting=!1,this.state.wasQuoting=!0,T+=x.length-1;continue}else if(O===!1){let Nt=this.__error(new Je("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(ze)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Nt!==void 0)return Nt}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(x),T+=x.length-1}else if(this.state.field.length!==0){if(O===!1){let ze=this.__infoField(),D0=Object.keys(v2).map(X=>v2[X].equals(this.state.field.toString())?X:!1).filter(Boolean)[0],je=this.__error(new Je("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(ze.column)} at line ${ze.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,D0?`(${D0} bom)`:void 0],this.options,ze,{field:this.state.field}));if(je!==void 0)return je}}else{this.state.quoting=!0,T+=x.length-1;continue}if(this.state.quoting===!1){let ze=this.__isRecordDelimiter(j,k,T);if(ze!==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)>=l){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),T+=ze-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,T+=ze-1;continue}this.info.bytes=this.state.bufBytesStart+T;let X=this.__onField();if(X!==void 0)return X;this.info.bytes=this.state.bufBytesStart+T+ze;let Rt=this.__onRecord(i);if(Rt!==void 0)return Rt;if(B!==-1&&this.info.records>=B){this.state.stop=!0,a();return}}this.state.commenting=!1,T+=ze-1;continue}if(this.state.commenting)continue;if(D!==null&&(u===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(D,k,T,j)!==0){this.state.commenting=!0;continue}let D0=this.__isDelimiter(k,T,j);if(D0!==0){this.info.bytes=this.state.bufBytesStart+T;let je=this.__onField();if(je!==void 0)return je;T+=D0-1;continue}}}if(this.state.commenting===!1&&M!==0&&this.state.record_length+this.state.field.length>M)return this.__error(new Je("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 $e=b===!1||this.state.quoting===!0||this.state.field.length!==0||!thi Line truncated
`,i),Buffer.from(`
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let u=a[c].length;for(let p=0;p<u;p++)if(a[c][p]!==n[o+p])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:s(function(n){let{encoding:o,raw:i,skip_records_with_error:a}=this.options,c=typeof n=="string"?new Error(n):n;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(o):void 0)}catch(u){return u}return}else return c},"__error"),__infoDataSet:s(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:s(function(){let{columns:n,raw:o,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:n===!0,index:this.state.record.length,raw:o?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:s(function(){let{columns:n}=this.options,o=Array.isArray(n),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:o===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var an=s(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=v4(e),o=s(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=s(()=>{},"close"),a=n.parse(t,!0,o,i);if(a!==void 0)throw a;return r},"parse");var l0=class t{static{s(this,"Util")}static getInputList(e,r){return this.getList(kr(e,{trimWhitespace:r?.trimWhitespace!==!1}),r)}static getList(e,r){let n=[];if(e=="")return n;let o=an(e,{columns:!1,relaxQuotes:!0,comment:r?.comment,comment_no_infix:r?.commentNoInfix,relaxColumnCount:!0,skipEmptyLines:!0,quote:r?.quote});for(let i of o)i.length==1?r?.ignoreComma?n.push(i[0]):n.push(...i[0].split(",")):r?.ignoreComma?n.push(i.join(",")):n.push(...i);return n.filter(i=>i).map(i=>r?.trimWhitespace===!1?i:i.trim())}static getInputNumber(e){let r=kr(e);if(r)return parseInt(r)}static async asyncForEach(e,r){for(let n=0;n<e.length;n++)await r(e[n],n,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 n=await at("powershell",!0),o=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=[];if(r)for(let a in r)i.push(`-${a} '${r[a].replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`);return{command:`"${n}"`,args:["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${o}' ${i.join(" ")}`]}}static isDirectory(e){try{return ble.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 n=e.lastIndexOf(r);return n===-1||n+r.length!==e.length?e:e.substring(0,n)}static sleep(e){return new Promise(r=>setTimeout(r,e*1e3))}static hash(e){return Y_.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,n=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],o=Math.floor(Math.log(e)/Math.log(r));return parseFloat((e/Math.pow(r,o)).toFixed(2))+" "+n[o]}static generateRandomString(e=10){return Y_.default.randomBytes(Math.ceil(e/2)).toString("hex").slice(0,e)}static compileHandlebars(e,r,n){return fle.default.compile(e,r)(n)}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 n=Em.default.resolve(e);return Em.default.resolve(r).startsWith(n.endsWith(Em.default.sep)?n:`${n}${Em.default.sep}`)}static formatDuration(e){if(e===0)return"0s";let r=Math.floor(e/1e9),n=Math.floor(r/3600),o=Math.floor(r%3600/60),i=r%60,a=[];return n&&a.push(`${n}h`),o&&a.push(`${o}m`),(i||a.length===0)&&a.push(`${i}s`),a.join("")}};var Bt=class t{static{s(this,"Docker")}static get configDir(){return process.env.DOCKER_CONFIG||Cm.default.join(Mle.default.homedir(),".docker")}static configFile(){let e=Cm.default.join(t.configDir,"config.json");if($_.default.existsSync(e))return JSON.parse($_.default.readFileSync(e,{encoding:"utf-8"}))}static async isAvailable(){return await at("docker",!0).then(e=>(N(`Docker.isAvailable ok: ${e}`),!0)).catch(e=>(N(`Docker.isAvailable error: ${e}`),!1))}static async isDaemonRunning(){try{return await t.getExecOutput(["version"],{silent:!0}),!0}ca Line truncated
More info: ${u.url}`);let M=u.range&&u.range.length>0?u.range[0]?.start.line:void 0,z=!1;for(let O of a)if(O.remote||O.path.endsWith(p)&&O.content===A){c.push({title:l,message:b,file:O.path,startLine:M}),z=!0;break}z||N(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${p}: ${l}`)}return c}};var yp=w(require("fs"),1),j_=w(require("path"),1);var L4=class t{static{s(this,"Build")}buildx;iidFilename;metadataFilename;constructor(e){this.buildx=e?.buildx||new S0,this.iidFilename=`build-iidfile-${l0.generateRandomString()}.txt`,this.metadataFilename=`build-metadata-${l0.generateRandomString()}.json`}async gitContext(e){let r=new Set(["ref","checksum","subdir"]),n=e?.attrs||{},o=Object.entries(n).filter(([M])=>!r.has(M)),i=l0.parseBoolOrDefault(n["fetch-by-commit"]),a=e?.ref||n.ref||Vt.ref;a.startsWith("refs/")?a.startsWith("refs/pull/")&&l0.parseBoolOrDefault(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF)&&(a=a.replace(/\/merge$/g,"/head")):a=`refs/heads/${a}`;let c=`${A0.serverURL}/${Vt.repo.owner}/${Vt.repo.repo}.git`,u=e?.checksum||n.checksum,p=e?.subdir||n.subdir,A=e?.format;if(!A){if(A="fragment",o.length>0)A="query";else if(l0.parseBoolOrDefault(process.env.BUILDX_SEND_GIT_QUERY_AS_INPUT))try{await this.buildx.versionSatisfies(">=0.29.0")&&(A="query")}catch{}}let l=Vt.sha||a;a.startsWith("refs/pull/")&&a.endsWith("/head")&&(l=typeof Vt.payload.pull_request?.head?.sha=="string"?Vt.payload.pull_request.head.sha:a);let b=u||l;if(A==="query"){let M=[`ref=${i||u?a:b}`],z=i?b:u;z&&M.push(`checksum=${z}`),p&&p!=="."&&M.push(`subdir=${p}`);for(let[O,y]of o)M.push(`${O}=${y}`);return`${c}?${M.join("&")}`}return`${c}#${b}${p&&p!=="."?`:${p}`:""}`}getImageIDFilePath(){return j_.default.join(u0.tmpDir(),this.iidFilename)}resolveImageID(){let e=this.getImageIDFilePath();if(yp.default.existsSync(e))return yp.default.readFileSync(e,{encoding:"utf-8"}).trim()}getMetadataFilePath(){return j_.default.join(u0.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!yp.default.existsSync(e))return;let r=yp.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRef(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.ref"in e)return e["buildx.build.ref"]}resolveProvenance(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.provenance"in e)return e["buildx.build.provenance"]}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}resolveDigest(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"containerimage.digest"in e)return e["containerimage.digest"]}static resolveSecretString(e){let[r,n]=t.resolveSecret(e,{redact:!0});return`id=${r},src=${n}`}static resolveSecretFile(e){let[r,n]=t.resolveSecret(e,{asFile:!0});return`id=${r},src=${n}`}static resolveSecretEnv(e){let[r,n]=t.parseSecretKvp(e);return`id=${r},env=${n}`}static resolveSecret(e,r){let[n,o]=t.parseSecretKvp(e,r?.redact);if(r?.asFile){if(!yp.default.existsSync(o))throw new Error(`secret file ${o} not found`);return[n,o]}let i=u0.tmpName({tmpdir:u0.tmpDir()});return yp.default.writeFileSync(i,o),[n,i]}static getProvenanceInput(e){let r=kr(e);if(!r)return r;try{return Yj(e)?`builder-id=${A0.workflowRunURL(!0)}`:"false"}catch{return t.resolveProvenanceAttrs(r)}}static resolveProvenanceAttrs(e){if(!e)return`builder-id=${A0.workflowRunURL(!0)}`;let r=an(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let n of r)if(n.toString().split(/(?<=^[^=]+?)=/).map(i=>i.trim())[0]=="builder-id")return e;return`${e},builder-id=${A0.workflowRunURL(!0)}`}static resolveCacheToAttrs(e,r){if(!e)return e;let n="registry",o="",i="",a=an(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let c of a){let u=c.toString().split(/(?<=^[^=]+?)=/).map(p=>p.trim());u[0]==="type"?n=u[1]:u[0]==="repository"?o=u[1]:u[0]==="ghtoken"&&(i=u[1])}return n==="gha"&&(o||(e=`${e},repository=${A0.repository}`),!i&&r&&(e=`${e},ghtoken=${r}`)),e}static hasLocalExporter(e){return t.hasExporterType("local",e)}static hasTarExporter(e){return t.hasExporterType("tar",e)}static hasDockerExporter(e,r){return r||t.hasExporterType("docker",e)}static hasExporterType(e,r){let n=an(r.join(`
`),{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let o of n){if(o.length==1&&!o[0].startsWith("type="))return e=="local";for(let[i,a]of o.map(c=>c.split("=").map(u=>u.trim())))if(i=="type"&&a==e)return!0}return!1}static hasAttestationType(e,r){let n=an(r,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0});for(let o of n)for(let[i,a]of o.map(c=>c.split("=").map(u=>u.trim())))if(i=="type"&&a==e)return!0;return!1}static resolveAttestationAttrs(e){let r=an(e,{delimiter:",",trim:!0,columns:!1,relaxColumnCount:!0}),n=[];for(let o of r)for(let i of o)try{let a=l0.parseBool(i);n.push(`disabled=${!a}`)}catch{n.push(i)}return n.join(",")}static hasGitAuthTokenSecret(e,r){for(let n of e){if(r&&n.startsWith(`GIT_AUTH_TOKEN.${r}=`))return!0;if(n.startsWith("GIT_AUTH_TOKEN="))return!0}return!1}static parseSecretKvp(e,r){let n=e.indexOf("="),o=e.substring(0,n),i=e.substring(n+1);if(o.length==0||i.length==0)throw new Error(`${e} is not a valid secret`);return r&&Ko(i),[o,i]}};var K_=w(require("fs"),1),hle=w(require("path"),1);var _4=class t{static{s(this,"Bake")}buildx;metadataFilename;constructor(e){this.buildx=e?.buildx||new S0,this.metadataFilename=`bake-metadata-${l0.generateRandomString()}.json`}getMetadataFilePath(){return hle.default.join(u0.tmpDir(),this.metadataFilename)}resolveMetadata(){let e=this.getMetadataFilePath();if(!K_.default.existsSync(e))return;let r=K_.default.readFileSync(e,{encoding:"utf-8"}).trim();if(r!=="null")return JSON.parse(r)}resolveRefs(e){if(!e&&(e=this.resolveMetadata(),!e))return;let r=new Array;for(let n in e)"buildx.build.ref"in e[n]&&r.push(e[n]["buildx.build.ref"]);return r.length>0?r:void 0}resolveWarnings(e){if(!(!e&&(e=this.resolveMetadata(),!e))&&"buildx.build.warnings"in e)return e["buildx.build.warnings"]}async getDefinition(e,r){r=r||{ignoreReturnCode:!0},r.ignoreReturnCode=!0,r.env=Object.assign({},process.env,r.env||{},e.githubToken?{BUILDX_BAKE_GIT_AUTH_TOKEN:e.githubToken}:{});let n=["bake"],o,i=[],a=[...e.files||[],e.source];if(a){for(let u of a.map(p=>p?p.trim():""))if(u.length!=0){if(!l0.isValidRef(u)){i.push(u);continue}if(o)throw new Error("Only one remote bake definition can be defined");o=u}}o&&n.push(o);for(let u of i)n.push("--file",u);if(e.overrides)for(let u of e.overrides)n.push("--set",u);if(e.vars)for(let u of e.vars)n.push("--var",u);if(e.allow)for(let u of e.allow)n.push("--allow",u);e.call&&n.push("--call",e.call),e.load&&n.push("--load"),e.noCache&&n.push("--no-cache"),e.provenance&&n.push("--provenance",e.provenance),e.push&&n.push("--push"),e.sbom&&n.push("--sbom",e.sbom);let c=await this.buildx.getCommand([...n,"--print",...e.targets||[]]);return await Ce.getExecOutput(c.command,c.args,r).then(u=>{if(u.stderr.length>0&&u.exitCode!=0)throw new Error(`cannot parse bake definitions: ${u.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return t.parseDefinition(u.stdout.trim())})}static parseDefinition(e){let r=JSON.parse(e);for(let n in r.target){let o=r.target[n];o.attest&&Array.isArray(o.attest)&&(o.attest=o.attest.map(i=>t.parseAttestEntry(i))),o["cache-from"]&&Array.isArray(o["cache-from"])&&(o["cache-from"]=o["cache-from"].map(i=>t.parseCacheEntry(i))),o["cache-to"]&&Array.isArray(o["cache-to"])&&(o["cache-to"]=o["cache-to"].map(i=>t.parseCacheEntry(i))),o.output&&Array.isArray(o.output)&&(o.output=o.output.map(i=>t.parseExportEntry(i))),o.secret&&Array.isArray(o.secret)&&(o.secret=o.secret.map(i=>t.parseSecretEntry(i))),o.ssh&&Array.isArray(o.ssh)&&(o.ssh=o.ssh.map(i=>t.parseSSHEntry(i)))}return r}static parseAttestEntry(e){if(typeof e!="string")return e;let r={type:""},n=an(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let o of n){let[i,a]=o.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());switch(i){case"type":r.type=a;break;case"disabled":r.disabled=l0.parseBool(a);break;default:r[i]=a}}return r}static parseCacheEntry(e){if(typeof e!="string")return e;let r={type:""},n=an(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&!n[0].includes("="))return r.type="registry",r.ref=n[0],r;for(let o of n){let[i,a]=o.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());i==="type"?r.type=a:r[i]=a}return r}static parseExportEntry(e){if(typeof e!="string")return e;let r={type:""},n=an(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0];if(n.length===1&&n[0]===e&&!e.startsWith("type="))return e!=="-"?(r.type="local",r.dest=e,r):(r.type="tar",r.dest=e,r);for(let o of n){let[i,a]=o.toString().split(/(?<=^[^=]+?)=/).map(c=>c.trim());i==="type"?r.type=a:r[i]=a}return r}static parseSecretEntry(e){if(typeof e!="string")return e;let r={},n=an(e,{relaxColumnCount:!0,skipEmptyLines:!0})[0],o="";for(let i of n){let[a,c]=i.toString().split(/(?<=^[^=]+?)=/).map(u=>u.trim());switch(a){case"type":o=c;break;case"id":r.id=c;break;case"source":case"src":r.src=c;break;case"env":r.env=c;break}}return o==="env"&&!r.env&&(r.env=r.src,r.src=void 0),r}static parseSSHEntry(e){if(typeof e!="string")return e;let r={},[n,o]=e.split("=",2);return r.id=n, Line truncated
`)[0])}static async isHeadDetached(){return await t.exec(["branch","--show-current"]).then(e=>e.length==0)}static async getDetachedRef(){let e=await t.exec(["show","-s","--pretty=%D"]);N(`detached HEAD ref: ${e}`);let r=e.replace(/^grafted, /,"").trim();if(r==="HEAD")return await t.inferRefFromHead();let n=r.match(/^HEAD, (.*)$/);if(!n||!n[1])throw new Error(`Cannot find detached HEAD ref in "${e}"`);let o=n[1].trim();if(o.startsWith("tag: "))return await t.findDetachedTagRef(o,e);if(o.match(/^pull\/\d+\/(head|merge)$/))return`refs/${o}`;let a=o.match(/^[^/]+\/[^/]+, (.+)$/);if(a)return`refs/heads/${a[1].trim()}`;let c=o.match(/^[^/]+\/(.+)$/);if(c)return`refs/heads/${c[1].trim()}`;throw new Error(`Unsupported detached HEAD ref in "${e}"`)}static async exec(e=[]){return await Ce.getExecOutput("git",e,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr);return r.stdout.trim()})}static async inferRefFromHead(){let e=await t.findContainingRef("refs/heads/");if(e)return e;let r=await t.findContainingRef("refs/remotes/");if(r){let i=r.match(/^refs\/remotes\/[^/]+\/(.+)$/);return i?`refs/heads/${i[1]}`:r}let n=await t.exec(["tag","--contains","HEAD"]),[o]=n.split(`
`).map(i=>i.trim()).filter(i=>i.length>0);if(o)return`refs/tags/${o}`;throw new Error("Cannot infer ref from detached HEAD")}static async findDetachedTagRef(e,r){let o=(await t.exec(["for-each-ref","--format=%(refname)","--points-at","HEAD","refs/tags/"])).split(`
`).map(i=>i.trim()).filter(i=>i.length>0).sort((i,a)=>a.length-i.length);for(let i of o){let a=`tag: ${i.slice(10)}`;if(e===a||e.startsWith(`${a}, `))return i}if(o.length===1)return o[0];throw new Error(`Cannot find detached tag ref in "${r}"`)}static async findContainingRef(e){let r=await t.exec(["for-each-ref","--format=%(refname)","--contains","HEAD","--sort=-committerdate",e]),[n]=r.split(`
`).map(o=>o.trim()).filter(o=>o.length>0);return n}static async commitDate(e){return new Date(await t.exec(["show","-s",'--format="%ci"',e]))}};var Wbe=require("crypto"),ts=w(require("fs"),1),rs=w(require("path"),1);var bd=w(sQ(),1),xbe=w(O8(),1),fd=w(Nbe(),1);var BP=w(sQ(),1);var Sbe=w(kn(),1);var wbe="application/vnd.oci.empty.v1+json";var es=class{static{s(this,"Cosign")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"cosign",this._version="",this._versionOnce=!1}async isAvailable(){let e=await Ce.getExecOutput(this.binPath,[],{ignoreReturnCode:!0,silent:!0}).then(r=>r.stderr.length>0&&r.exitCode!=0?(N(`Cosign.isAvailable cmd err: ${r.stderr.trim()}`),!1):r.exitCode==0).catch(r=>(N(`Cosign.isAvailable error: ${r}`),!1));return N(`Cosign.isAvailable: ${e}`),e}async version(){return this._versionOnce?this._version:(this._versionOnce=!0,this._version=await Ce.getExecOutput(this.binPath,["version","--json"],{ignoreReturnCode:!0,silent:!0}).then(e=>{if(e.stderr.length>0&&e.exitCode!=0)throw new Error(e.stderr.trim());return JSON.parse(e.stdout.trim()).gitVersion}),this._version)}async printVersion(){await Ce.exec(this.binPath,["version","--json"],{failOnStdErr:!1})}async versionSatisfies(e,r){let n=r??await this.version();if(!n)return N("Cosign.versionSatisfies false: undefined version"),!1;let o=Sbe.satisfies(n,e)||/^[0-9a-f]{7}$/.exec(n)!==null;return N(`Cosign.versionSatisfies ${n} statisfies ${e}: ${o}`),o}static parseCommandOutput(e){let r,n,o,i;for(let a of e.split(/\r?\n/)){let c=a.trim();if(!c.startsWith("{")||!c.endsWith("}"))continue;let u;try{u=JSON.parse(c)}catch{continue}if(u&&Array.isArray(u.errors)&&u.errors.length>0&&(i=u.errors),!r&&u&&Array.isArray(u.manifests)&&u.manifests.length>0){let p=u.manifests[0];p?.artifactType===BP.BUNDLE_V03_MEDIA_TYPE&&typeof p.digest=="string"?r=p.digest:p?.artifactType===wbe&&typeof p.digest=="string"&&(n=p.digest)}if(!o&&u&&u.mediaType===BP.BUNDLE_V03_MEDIA_TYPE&&(o=u),o&&(r||n)){i=void 0;break}}return{bundle:o,signatureManifestDigest:r||n,errors:i}}};var qP=w(require("fs"),1);var Mq=class t{static{s(this,"ImageTools")}buildx;constructor(e){this.buildx=e?.buildx||new S0}async getCommand(e){return await this.buildx.getCommand(["imagetools",...e])}async getInspectCommand(e){return await this.getCommand(["inspect",...e])}async getCreateCommand(e){return await this.getCommand(["create",...e])}async inspectImage(e){return await this.inspect(e,"{{json .Image}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"config"),r;throw new Error("Unexpected output format")})}async inspectManifest(e){return await this.inspect(e,"{{json .Manifest}}",r=>{if(typeof r=="object"&&!Array.isArray(r)&&r!==null)return Object.prototype.hasOwnProperty.call(r,"manifests"),r;throw new Error("Unexpected output format")})}async attestationDescriptors(e){let r=await this.inspectManifest(e);if(typeof r!="object"||r===null||!("manifests"in r)||!Array.isArray(r.manifests))throw new Error(`No descriptor found for ${e.name}`);let n=r.manifests.filter(a=>a.annotations?.["vnd.docker.reference.type"]==="attestation-manifest");if(!e.platform)return n;let o=e.platform,i=new Map;for(let a of r.manifests)a.digest&&i.set(a.digest,a);return n.filter(a=>{let c=a.annotations?.["vnd.docker.reference.digest"];if(!c)return!1;let u=i.get(c);return u?u.platform?.os===o.os&&u.platform?.architecture===o.architecture&&(u.platform?.variant??"")===(o.variant??""):!1})}async attestationDigests(e){return(await this.attestationDescriptors(e)).map(r=>r.digest)}async create(e){let r=[],n=u0.tmpName({tmpdir:u0.tmpDir(),template:"imagetools-metadata-XXXXXX"}),o=[],i=[];for(let c of e.sources){if(c.startsWith("cwd://")){let u=c.substring(6);u.length>0&&o.push(u);continue}i.push(c)}if(e.tags)for(let c of e.tags)r.push("--tag",c);if(e.platforms)for(let c of e.platforms)r.push("--platform",c);if(e.annotations)for(let c of e.annotations)r.push("--annotation",c);e.dryRun?r.push("--dry-run"):r.push("--metadata-file",n);for(let c of o)r.push("--file",c);for(let c of i)r.push(c);let a=await this.getCreateCommand(r);if(e.skipExec){S(`[command]${a.command} ${a.args.join(" ")}`),S("Skipped create command");return}return await Ce.getExecOutput(a.command,a.args,{ignoreReturnCode:!0,silent:e.silent}).then(c=>{if(c.stderr.length>0&&c.exitCode!=0)throw new Error(c.stderr.trim());if(!e.dryRun){if(!qP.default.existsSync(n))return;let u=qP.default.readFileSync(n,{encoding:"utf-8"}).trim();if(u===""||u==="null")return;let p=JSON.parse(u),A=p["containerimage.descriptor"];return A?{digest:p["containerimage.digest"]||A.digest,descriptor:A,imageNames:p["image.name"]?p["image.name"].split(",").map(l=>l.trim()):[]}:void 0}})}async inspect(e,r,n){let o=await this.getInspectCommand([e.name,"--format",r]);if(!e.retryOnManifestUnknown)return await this.execInspect(o.command,o.args,n);let i=e.retryLimit??15,a;for(let c=0;c<i;c++)try{return await this.execInspect(o.command,o.args,n Line truncated
${a.message}`),await new Promise(p=>setTimeout(p,Math.pow(2,c)*100))}throw a??new Error(`ImageTools inspect command failed for ${e.name}`)}async execInspect(e,r,n){return await Ce.getExecOutput(e,r,{ignoreReturnCode:!0,silent:!0}).then(o=>{if(o.stderr.length>0&&o.exitCode!=0)throw new Error(o.stderr.trim());return n(JSON.parse(o.stdout))})}static isManifestUnknownError(e){return/(MANIFEST_UNKNOWN|manifest unknown)/i.test(e)||/:\s*not found$/i.test(e)}};var kp="https://search.sigstore.dev";var Fbe="slsaprovenance1",Pc=class t{static{s(this,"Sigstore")}cosign;imageTools;constructor(e){this.cosign=e?.cosign||new es,this.imageTools=e?.imageTools||new Mq}async signAttestationManifests(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign attestation manifests");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n=await this.cosignSigningConfigArgs(e.noTransparencyLog);for(let o of e.imageNames){let i=await this.imageTools.attestationDigests({name:`${o}@${e.imageDigest}`,retryOnManifestUnknown:e.retryOnManifestUnknown,retryLimit:e.retryLimit});for(let a of i){let c=`${o}@${a}`;await ct(`Signing attestation manifest ${c}`,async()=>{let u=["sign","--yes","--oidc-provider","github-actions","--registry-referrers-mode","oci-1-1","--new-bundle-format",...n];S(`[command]${this.cosign.binPath} ${[...u,c].join(" ")}`);let p=await Ce.getExecOutput(this.cosign.binPath,["--verbose",...u,c],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),A=es.parseCommandOutput(p.stderr.trim());if(p.exitCode!=0)if(A.errors&&A.errors.length>0){let b=A.errors.map(M=>`- [${M.code}] ${M.message} : ${M.detail}`).join(`
`);throw new Error(`Cosign sign command failed with errors:
${b}`)}else throw new Error(`Cosign sign command failed with: ${p.stderr.trim().split(/\r?\n/).filter(b=>b.length>0).pop()??"unknown error"}`);let l=t.parseBundle((0,bd.bundleFromJSON)(A.bundle));l.tlogID&&S(`Uploaded to Rekor transparency log: ${kp}?logIndex=${l.tlogID}`),S(`Signature manifest pushed: https://oci.dag.dev/?referrers=${c}`),r[c]={...l,imageName:o}})}}}catch(n){throw new Error(`Signing BuildKit attestation manifests failed: ${n.message}`)}return r}async verifySignedManifests(e,r){let n={};for(let[o,i]of Object.entries(e))await ct(`Verifying signature of ${o}`,async()=>{let a=await this.verifyImageAttestation(o,{certificateIdentityRegexp:r.certificateIdentityRegexp,noTransparencyLog:r.noTransparencyLog||!i.tlogID,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});S(`Signature manifest verified: https://oci.dag.dev/?image=${i.imageName}@${a.signatureManifestDigest}`),n[o]=a});return n}async verifyImageAttestations(e,r){let n={},o=await this.imageTools.attestationDigests({name:e,platform:r.platform,retryOnManifestUnknown:r.retryOnManifestUnknown,retryLimit:r.retryLimit});if(o.length===0)throw new Error(`No attestation manifests found for ${e}`);let i=e.split(":",1)[0];for(let a of o){let c=`${i}@${a}`,u=await this.verifyImageAttestation(c,r);S(`Signature manifest verified: https://oci.dag.dev/?image=${i}@${u.signatureManifestDigest}`),n[c]=u}return n}async verifyImageAttestation(e,r){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed manifests");let n=["verify","--experimental-oci11","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp];if(r.noTransparencyLog&&n.push("--use-signed-timestamps","--insecure-ignore-tlog"),!r.retryOnManifestUnknown){S(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);let a=await Ce.getExecOutput(this.cosign.binPath,["--verbose",...n,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})});if(a.exitCode!==0)throw new Error(`Cosign verify command failed with: ${a.stderr.trim().split(/\r?\n/).filter(u=>u.length>0).pop()??"unknown error"}`);let c=es.parseCommandOutput(a.stderr.trim());return{cosignArgs:n,signatureManifestDigest:c.signatureManifestDigest}}let o=r.retryLimit??15,i;S(`[command]${this.cosign.binPath} ${[...n,e].join(" ")}`);for(let a=0;a<o;a++){let c=await Ce.getExecOutput(this.cosign.binPath,["--verbose",...n,e],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),u=es.parseCommandOutput(c.stderr.trim());if(c.exitCode===0)return{cosignArgs:n,signatureManifestDigest:u.signatureManifestDigest};if(u.errors&&u.errors.length>0){let p=u.errors.map(A=>`- [${A.code}] ${A.message} : ${A.detail}`).join(`
`);if(i=new Error(`Cosign verify command failed with errors:
${p}`),u.errors.some(A=>A.code==="MANIFEST_UNKNOWN"))S(`Cosign verify command failed with MANIFEST_UNKNOWN, retrying attempt ${a+1}/${o}...
${p}`),await new Promise(A=>setTimeout(A,Math.pow(2,a)*100));else throw i}else throw new Error(`Cosign verify command failed with: ${c.stderr.trim().split(/\r?\n/).filter(p=>p.length>0).pop()??"unknown error"}`)}throw i}async signProvenanceBlobs(e){if(!await this.cosign.isAvailable())throw new Error("Cosign is required to sign provenance blobs");let r={};try{if(!process.env.ACTIONS_ID_TOKEN_REQUEST_URL)throw new Error('missing "id-token" permission. Please add "permissions: id-token: write" to your workflow.');let n=await this.cosignSigningConfigArgs(e.noTransparencyLog),o=t.getProvenanceBlobs(e);for(let i of Object.keys(o))await ct(`Signing ${i}`,async()=>{let a=o[i],c=rs.default.join(rs.default.dirname(i),`${e.name??"provenance"}.sigstore.json`),u=t.getProvenanceSubjects(a);if(u.length===0){r0(`No subjects found in provenance ${i}, skip signing.`);return}let p=rs.default.join(rs.default.dirname(i),u[0].name),A=["attest-blob","--yes","--oidc-provider","github-actions","--new-bundle-format","--statement",i,"--type",Fbe,"--bundle",c,...n];S(`[command]${this.cosign.binPath} ${[...A,p].join(" ")}`);let l=await Ce.getExecOutput(this.cosign.binPath,["--verbose",...A,p],{ignoreReturnCode:!0,silent:!0,env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),b=es.parseCommandOutput(l.stderr.trim());if(l.exitCode!=0)if(b.errors&&b.errors.length>0){let z=b.errors.map(O=>`- [${O.code}] ${O.message} : ${O.detail}`).join(`
`);throw new Error(`Cosign attest-blob command failed with errors:
${z}`)}else throw new Error(`Cosign attest-blob command failed with: ${l.stderr.trim().split(/\r?\n/).filter(z=>z.length>0).pop()??"unknown error"}`);let M=t.parseBundle((0,bd.bundleFromJSON)(JSON.parse(ts.default.readFileSync(c,{encoding:"utf-8"}))));S("Provenance blob signed for:");for(let z of u){let[O,y]=Object.entries(z.digest)[0]||[];S(` - ${z.name} (${O}:${y})`)}M.tlogID&&S(`Attestation signature uploaded to Rekor transparency log: ${kp}?logIndex=${M.tlogID}`),S(`Sigstore bundle written to: ${c}`),r[i]={...M,bundlePath:c,subjects:u}})}catch(n){throw new Error(`Signing BuildKit provenance blobs failed: ${n.message}`)}return r}async verifySignedArtifacts(e,r){let n={};if(!await this.cosign.isAvailable())throw new Error("Cosign is required to verify signed artifacts");for(let[o,i]of Object.entries(e)){let a=rs.default.dirname(o);await ct(`Verifying signature bundle ${i.bundlePath}`,async()=>{for(let c of i.subjects){let u=rs.default.join(a,c.name);S(`Verifying signed artifact ${u}`);let p=["verify-blob-attestation","--new-bundle-format","--certificate-oidc-issuer","https://token.actions.githubusercontent.com","--certificate-identity-regexp",r.certificateIdentityRegexp,"--type",r.predicateType??Fbe];(r.noTransparencyLog||!i.tlogID)&&p.push("--use-signed-timestamps","--insecure-ignore-tlog");let A=await Ce.getExecOutput(this.cosign.binPath,[...p,"--bundle",i.bundlePath,u],{ignoreReturnCode:!0});if(A.stderr.length>0&&A.exitCode!=0)throw new Error(A.stderr);n[u]={bundlePath:i.bundlePath,cosignArgs:p}}})}return n}async verifyArtifact(e,r,n){S("Verifying keyless verification bundle signature");let o=JSON.parse(ts.default.readFileSync(r,"utf-8")),i=(0,bd.bundleFromJSON)(o);S("Fetching Sigstore TUF trusted root metadata");let a=await xbe.getTrustedRoot(),c=(0,fd.toTrustMaterial)(a);try{S("Verifying artifact signature");let u=(0,fd.toSignedEntity)(i,ts.default.readFileSync(e)),p=t.parseCertificate(i),A=i.verificationMaterial.tlogEntries,l=A.length>0?A[0].logIndex:void 0;if(n?.subjectAlternativeName&&n?.subjectAlternativeName instanceof RegExp){let z=p.subjectAltName?.replace(/^uri:/i,"");if(z){if(!z.match(n.subjectAlternativeName))throw new Error(`Signing certificate subjectAlternativeName "${z}" does not match expected pattern`)}else throw new Error("Signing certificate does not contain subjectAltName")}let M=new fd.Verifier(c).verify(u,{subjectAlternativeName:n?.subjectAlternativeName&&typeof n.subjectAlternativeName=="string"?n.subjectAlternativeName:void 0,extensions:n?.issuer?{issuer:n.issuer}:void 0});return N(`Sigstore.verifyArtifact signer: ${JSON.stringify(M)}`),{payload:o,certificate:p.toString(),tlogID:l}}catch(u){throw new Error(`Failed to verify artifact signature: ${u}`)}}static noTransparencyLog(e){return e??A0.context.payload.repository?.private??!1}async cosignSigningConfigArgs(e){let r=[],n=t.noTransparencyLog(e);return S(`Upload to transparency log: ${n?"disabled":"enabled"}`),await this.cosign.versionSatisfies(">=3.0.4")?await ct("Creating Sigstore protobuf signing config",async()=>{let o=u0.tmpName({template:"signing-config-XXXXXX.json",tmpdir:u0.tmpDir()}),i=["signing-config","create","--with-default-services=true",`--out=${o}`];n&&i.push("--no-default-rekor=true"),await Ce.exec(this.cosign.binPath,i,{env:Object.assign({},process.env,{COSIGN_EXPERIMENTAL:"1"})}),S(JSON.stringify(JSON.parse(ts.default.readFileSync(o,{encoding:"utf-8"})),null,2)),r.push(`--signing-config=${o}`)}):(r.push("--use-signing-config"),n&&r.push("--tlog-upload=false")),r}static getProvenanceBlobs(e){let r=rs.default.join(e.localExportDir,"provenance.json");if(ts.default.existsSync(r))return{[r]:ts.default.readFileSync(r)};let n=ts.default.readdirSync(e.localExportDir,{withFileTypes:!0}),o=n.filter(i=>i.isDirectory());if(o.length>0&&o.length===n.length&&o.every(i=>ts.default.existsSync(rs.default.join(e.localExportDir,i.name,"provenance.json")))){let i={};for(let a of o){let c=rs.default.join(e.localExportDir,a.name,"provenance.json");i[c]=ts.default.readFileSync(c)}return i}throw new Error(`No valid provenance.json found in ${e.localExportDir}`)}static getProvenanceSubjects(e){return JSON.parse(e.toString()).subject.map(n=>({name:n.name,digest:n.digest}))}static parseBundle(e){let r=t.parseCertificate(e),n=e.verificationMaterial.tlogEntries,o=n.length>0?n[0].logIndex:void 0;return{payload:(0,bd.bundleToJSON)(e),certificate:r.toString(),tlogID:o}}static parseCertificate(e){let r;switch(e.verificationMaterial.content.$case){case"x509CertificateChain":r=e.verificationMaterial.content.x509CertificateChain.certificates[0].rawBytes;break;case"certificate":r=e.verificationMaterial.content.certificate.rawBytes;break;default:throw new Error("Bundle must contain an x509 certificate")}return new Wbe.X509Certificate(r)}};var mq=class t{static{s(this,"Install")}standalone;githubToken;sigstore;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.sigstore=e?.sigstore||new Pc} Line truncated
`)){let[p,...A]=u.split(":"),l=p.toLowerCase(),b=A.map(M=>M.trim()).join(":");if(p.length!=0)switch(!0){case l=="name":n=void 0,r.name==null?r.name=b:(i&&o.gcPolicy&&(o.gcPolicy.push(i),i=void 0),o.name&&r.nodes.push(o),o={name:b});break;case l=="driver":n=void 0,r.driver=b;break;case l=="last activity":n=void 0,r.lastActivity=new Date(b);break;case l=="endpoint":n=void 0,o.endpoint=b;break;case l=="driver options":n=void 0,o["driver-opts"]=(b.match(/([a-zA-Z0-9_.]+)="([^"]*)"/g)||[]).map(M=>M.replace(/^(.*)="(.*)"$/g,"$1=$2"));break;case l=="status":n=void 0,o.status=b;break;case l=="buildkit daemon flags":case l=="flags":n=void 0,o["buildkitd-flags"]=b;break;case l=="buildkit version":case l=="buildkit":n=void 0,o.buildkit=b;break;case l=="platforms":{if(n=void 0,!b)break;let M=[];if(b.includes("*"))for(let z of b.split(", "))z.includes("*")&&M.push(z.replace(/\*/g,""));else M=b.split(", ");o.platforms=M.join(",");break}case l=="features":n="features",o.features={};break;case l=="labels":n="label",o.labels={};break;case l=="devices":n="devices",o.devices=o.devices||[];break;case l.startsWith("gc policy rule#"):n="gcpolicy",o.gcPolicy&&i&&(o.gcPolicy.push(i),i=void 0);break;case l.startsWith("file#"):n="file",c=p.split("#")[1],o.files=o.files||{},o.files[c]="";break;default:switch(n&&n!=="devices"&&o.devices&&a&&(o.devices.push(a),a=void 0),n||""){case"features":{o.features=o.features||{},o.features[p.trim()]=!!b;break}case"label":{o.labels=o.labels||{},o.labels[p.trim()]=b;break}case"devices":{switch(l.trim()){case"name":{o.devices&&a&&o.devices.push(a),a={},a.name=b;break}case"on-demand":{a&&b&&(a.onDemand=b=="true");break}case"automatically allowed":{a&&b&&(a.autoAllow=b=="true");break}case"annotations":{a&&(a.annotations=a.annotations||{});break}default:a&&a.annotations&&(a.annotations[p.trim()]=b)}break}case"gcpolicy":{switch(o.gcPolicy=o.gcPolicy||[],i=i||{},l.trim()){case"all":{i.all=b=="true";break}case"filters":{b&&(i.filter=b.split(","));break}case"keep duration":{i.keepDuration=b;break}case"keep bytes":{i.keepBytes=b;break}case"reserved space":{i.reservedSpace=b;break}case"max used space":{i.maxUsedSpace=b;break}case"min free space":{i.minFreeSpace=b;break}}break}case"file":{c&&o.files&&(o.files[c].length>0&&(o.files[c]+=`
`),o.files[c]+=u.replace(/^\s>\s?/,""));break}}}}return a&&o.devices&&o.devices.push(a),i&&o.gcPolicy&&o.gcPolicy.push(i),o.name&&r.nodes.push(o),r}};var Tbe=w(kn(),1);var hq=w(require("fs"),1);var zq=class{static{s(this,"Config")}resolveFromString(e){return this.resolve(e,!1)}resolveFromFile(e){return this.resolve(e,!0)}resolve(e,r){if(r){if(!hq.default.existsSync(e))throw new Error(`config file ${e} not found`);e=hq.default.readFileSync(e,{encoding:"utf-8"})}let n=u0.tmpName({tmpdir:u0.tmpDir()});return hq.default.writeFileSync(n,e),n}};var gq=class{static{s(this,"BuildKit")}buildx;config;constructor(e){this.config=new zq,this.buildx=e?.buildx||new S0}async getVersion(e){if(!e.buildkit&&e.name)try{return await this.getVersionWithinImage(e.name)}catch(r){r0(r)}return e.buildkit}async getVersionWithinImage(e){return N(`BuildKit.getVersionWithinImage nodeName: ${e}`),Bt.getExecOutput(["inspect","--format","{{.Config.Image}}",`${S0.containerNamePrefix}${e}`],{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.exitCode==0&&r.stdout.length>0)return N(`BuildKit.getVersionWithinImage image: ${r.stdout.trim()}`),Bt.getExecOutput(["run","--rm",r.stdout.trim(),"--version"],{ignoreReturnCode:!0,silent:!0}).then(n=>{if(n.exitCode==0&&n.stdout.length>0)return`${r.stdout.trim()} => ${n.stdout.trim()}`;if(n.stderr.length>0)throw new Error(r.stderr.trim());return n.stdout.trim()});if(r.stderr.length>0)throw new Error(r.stderr.trim());return r.stdout.trim()})}async versionSatisfies(e,r,n){n||(n=await new md({buildx:this.buildx}).inspect(e));for(let o of n.nodes){let i=o.buildkit;if(N(`BuildKit.versionSatisfies ${i}: ${r}`),!i)try{i=await this.getVersionWithinImage(o.name||"")}catch{return N(`BuildKit.versionSatisfies ${o.name}: can't get version`),!1}if(N(`BuildKit.versionSatisfies ${o.name}: version ${i}`),n.driver=="docker"&&!i.endsWith("-moby")||!Tbe.satisfies(i.replace(/-moby$/,""),r))return!1}return!0}};var Oq=class t{static{s(this,"Compose")}_version;_versionOnce;_standalone;constructor(e){this._standalone=e?.standalone,this._version="",this._versionOnce=!1}async isStandalone(){let e=this._standalone??!await Bt.isAvailable();return N(`Compose.isStandalone: ${e}`),e}async getCommand(e){let r=await this.isStandalone();return{command:r?"compose":"docker",args:r?e:["compose",...e]}}async isAvailable(){let e=await this.getCommand([]),r=await Ce.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(n=>n.stderr.length>0&&n.exitCode!=0?(N(`Compose.isAvailable cmd err: ${n.stderr.trim()}`),!1):n.exitCode==0).catch(n=>(N(`Compose.isAvailable error: ${n}`),!1));return N(`Compose.isAvailable: ${r}`),r}async version(){if(this._versionOnce)return this._version;this._versionOnce=!0;let e=await this.getCommand(["version"]);return this._version=await Ce.getExecOutput(e.command,e.args,{ignoreReturnCode:!0,silent:!0}).then(r=>{if(r.stderr.length>0&&r.exitCode!=0)throw new Error(r.stderr.trim());return t.parseVersion(r.stdout.trim())}),this._version}async printVersion(){let e=await this.getCommand(["version"]);await Ce.exec(e.command,e.args,{failOnStdErr:!1})}static parseVersion(e){let r=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(e);if(!r)throw new Error("Cannot parse compose version");return r[1]}};var ha=w(require("fs"),1),os=w(require("os"),1),hd=w(require("path"),1);var Cq=w(kn(),1),IP=w(require("util"),1);var Eq=class t{static{s(this,"Install")}standalone;githubToken;constructor(e){this.standalone=e?.standalone,this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN}async download(e,r){let n=await t.getDownloadVersion(e);N(`Install.download version: ${n.version}`);let o=await t.getRelease(n,this.githubToken);N(`Install.download release tag name: ${o.tag_name}`);let i=await this.vspec(o.tag_name);N(`Install.download vspec: ${i}`);let a=Cq.clean(i)||"";if(!Cq.valid(a))throw new Error(`Invalid Compose version "${i}".`);let c=new nt({htcName:n.key!="official"?`compose-dl-bin-${n.key}`:"compose-dl-bin",htcVersion:i,baseCacheDir:hd.default.join(os.default.homedir(),".bin","docker-compose"),cacheFile:os.default.platform()=="win32"?"docker-compose.exe":"docker-compose",ghaNoCache:r}),u=await c.find();if(u)return S(`Compose binary found in ${u}`),u;let p=IP.format(n.downloadURL,i,this.filename());S(`Downloading ${p}`);let A=await En(p,void 0,this.githubToken);N(`Install.download htcDownloadPath: ${A}`);let l=await c.save(A);return S(`Cached to ${l}`),l}async installStandalone(e,r){S("Standalone mode"),r=r||u0.tmpDir();let n=hd.default.join(r,"compose-bin-standalone");ha.default.existsSync(n)||ha.default.mkdirSync(n,{recursive:!0});let o=os.default.platform()=="win32"?"compose.exe":"compose",i=hd.default.join(n,o);return ha.default.copyFileSync(e,i),S("Fixing perms"),ha.default.chmodSync(i,"0755"),ei(n),S("Added Compose to PATH"),S(`Binary path: ${i}`),i}async installPlugin(e,r){S("Docker plugin mode"),r=r||Bt.configDir;let n=hd.default.join(r,"cli-plugins");ha.default.existsSync(n)||ha.default.mkdirSync(n,{recursive:!0});let o=os.default Line truncated
# syntax=docker/dockerfile:1
ARG GO_VERSION="1.24"
ARG ALPINE_VERSION="3.22"
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.7.0 AS xx
FROM --platform=$BUILDPLATFORM golang:\${GO_VERSION}-alpine\${ALPINE_VERSION} AS builder-base
COPY --from=xx / /
RUN apk add --no-cache git
ENV GOTOOLCHAIN=auto
ENV CGO_ENABLED=0
WORKDIR /src
RUN --mount=type=cache,target=/go/pkg/mod \\
--mount=type=bind,source=go.mod,target=go.mod \\
--mount=type=bind,source=go.sum,target=go.sum \\
go mod download
FROM builder-base AS version
RUN --mount=type=bind,target=. <<'EOT'
git rev-parse HEAD 2>/dev/null || {
echo >&2 "Failed to get git revision, make sure --build-arg BUILDKIT_CONTEXT_KEEP_GIT_DIR=1 is set when building from Git directly"
exit 1
}
set -ex
export PKG=sigs.k8s.io BUILDDATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") TREESTATE=$(if ! git diff --no-ext-diff --quiet --exit-code; then echo dirty; else echo clean; fi) VERSION=$(git describe --match 'v[0-9]*' --dirty='.m' --always --tags) COMMIT=$(git rev-parse HEAD)$(if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi);
echo "-X \${PKG}/release-utils/version.gitVersion=\${VERSION} -X \${PKG}/release-utils/version.gitCommit=\${COMMIT} -X \${PKG}/release-utils/version.gitTreeState=\${TREESTATE} -X \${PKG}/release-utils/version.buildDate=\${BUILDDATE}" > /tmp/.ldflags;
echo -n "\${VERSION}" > /tmp/.version;
EOT
FROM builder-base AS builder
ARG TARGETPLATFORM
RUN --mount=type=bind,target=. \\
--mount=type=cache,target=/root/.cache,id=cosign-$TARGETPLATFORM \\
--mount=source=/tmp/.ldflags,target=/tmp/.ldflags,from=version \\
--mount=type=cache,target=/go/pkg/mod <<EOT
set -ex
xx-go build -trimpath -ldflags "-s -w $(cat /tmp/.ldflags)" -o /out/cosign ./cmd/cosign
xx-verify --static /out/cosign
EOT
FROM scratch
COPY --from=builder /out /
`;var yq=class t{static{s(this,"Install")}githubToken;buildx;sigstore;constructor(e){this.githubToken=e?.githubToken||process.env.GITHUB_TOKEN,this.buildx=e?.buildx||new S0,this.sigstore=e?.sigstore||new Pc}async download(e){let r=await t.getDownloadVersion(e.version);N(`Install.download version: ${r.version}`);let n=await t.getRelease(r,this.githubToken);N(`Install.download release tag name: ${n.tag_name}`);let o=await this.vspec(n.tag_name);N(`Install.download vspec: ${o}`);let i=gd.clean(o)||"";if(!gd.valid(i))throw new Error(`Invalid Cosign version "${o}".`);let a=new nt({htcName:"cosign-dl-bin",htcVersion:o,baseCacheDir:zd.default.join(So.default.homedir(),".bin"),cacheFile:So.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:e.ghaNoCache}),c=await a.find();if(c)return S(`Cosign binary found in ${c}`),c;let u=RP.format(r.downloadURL,o,this.filename());S(`Downloading ${u}`);let p=await En(u,void 0,this.githubToken);N(`Install.download htcDownloadPath: ${p}`),e.verifySignature&&gd.satisfies(o,">=3.0.1")&&await this.verifySignature(p,u);let A=await a.save(p,e.skipState);return S(`Cached to ${A}`),A}async build(e,r,n){let o=await this.vspec(e);N(`Install.build vspec: ${o}`);let i=new nt({htcName:"cosign-build-bin",htcVersion:o,baseCacheDir:zd.default.join(So.default.homedir(),".bin"),cacheFile:So.default.platform()=="win32"?"cosign.exe":"cosign",ghaNoCache:r}),a=await i.find();if(a)return S(`Cosign binary found in ${a}`),a;let c=zd.default.join(u0.tmpDir(),"cosign-build-cache"),u=await this.buildCommand(e,c),p=await Ce.getExecOutput(u.command,u.args,{ignoreReturnCode:!0,input:Buffer.from(vbe)}).then(l=>{if(l.stderr.length>0&&l.exitCode!=0)throw new Error(`build failed with: ${l.stderr.match(/(.*)\s*$/)?.[0]?.trim()??"unknown error"}`);return`${c}/cosign`}),A=await i.save(p,n);return S(`Cached to ${A}`),A}async install(e,r){r=r||u0.tmpDir();let n=zd.default.join(r,"cosign-bin");$m.default.existsSync(n)||$m.default.mkdirSync(n,{recursive:!0});let o=So.default.platform()=="win32"?"cosign.exe":"cosign",i=zd.default.join(n,o);return $m.default.copyFileSync(e,i),S("Fixing perms"),$m.default.chmodSync(i,"0755"),ei(n),S("Added Cosign to PATH"),S(`Binary path: ${i}`),i}async buildCommand(e,r){let n=await new S0({standalone:!0}).isAvailable(),o=await new S0({standalone:!1}).isAvailable(),i=!1;if(await this.buildx.isStandalone()&&n)N("Install.buildCommand: Buildx standalone found, build with it"),i=!0;else if(!await this.buildx.isStandalone()&&o)N("Install.buildCommand: Buildx plugin found, build with it"),i=!1;else if(n)N("Install.buildCommand: Buildx plugin not found, but standalone found so trying to build with it"),i=!0;else if(o)N("Install.buildCommand: Buildx standalone not found, but plugin found so trying to build with it"),i=!1;else throw new Error(`Neither buildx standalone or plugin have been found to build from ref ${e}`);let a=["build","--platform","local","--build-arg","BUILDKIT_CONTEXT_KEEP_GIT_DIR=1","--output",`type=local,dest=${r}`];return process.env.GIT_AUTH_TOKEN&&a.push("--secret","id=GIT_AUTH_TOKEN"),a.push("-f-",e),await new S0({standalone:i}).getCommand(a)}async verifySignature(e,r){let n=`${r}.sigstore.json`;S(`Downloading keyless verification bundle at ${n}`);let o=await En(n,void 0,this.githubToken);N(`Install.verifySignature bundlePath: ${o}`);let i=await this.sigstore.verifyArtifact(e,o,{subjectAlternativeName:"keyless@projectsigstore.iam.gserviceaccount.com",issuer:"https://accounts.google.com"});S(`Cosign binary signature verified! ${i.tlogID?`${kp}?logIndex=${i.tlogID}`:""}`)}filename(){let e;switch(So.default.arch()){case"x64":{e="amd64";break}case"ppc64":{e="ppc64le";break}default:{e=So.default.arch();break}}let r=So.default.platform()=="win32"?"windows":So.default.platform(),n=So.default.platform()=="win32"?".exe":"";return RP.format("cosign-%s-%s%s",r,e,n)}async vspec(e){if(!l0.isValidRef(e)){let p=e.replace(/^v+|v+$/g,"");return S(`Use ${p} version spec cache key for ${e}`),p}let[r,n]=e.split("#");n.length==0&&(n="master");let o;n.match(/^[0-9a-fA-F]{40}$/)?o=n:o=await pa.remoteSha(r,n,process.env.GIT_AUTH_TOKEN);let[i,a]=r.substring(19).split("/"),c=`${i}/${l0.trimSuffix(a,".git")}/${o}`,u=l0.hash(c);return S(`Use ${u} version spec cache key for ${c}`),u}static async getDownloadVersion(e){return{version:e,downloadURL:"https://github.com/sigstore/cosign/releases/download/v%s/%s",contentOpts:{owner:"docker",repo:"actions-toolkit",ref:"main",path:".github/cosign-releases.json"}}}static async getRelease(e,r){let o=await new A0({token:r}).releases("Cosign",e.contentOpts);if(!o[e.version])throw new Error(`Cannot find Cosign release ${e.version} in releases JSON`);return o[e.version]}};var Lbe=w(kn(),1);var Bq=class{static{s(this,"Regctl")}binPath;_version;_versionOnce;constructor(e){this.binPath=e?.binPath||"regctl",this._version="",this._versionOnce=!1}async blobGet(e){return await Ce.getExecOutput(this.binPath,["blob","get",e.repository,e.digest],{ignoreReturnCode:!0,sil Line truncated
`,sepLabels:kr("sep-labels",{trimWhitespace:!1})||`
`,sepAnnotations:kr("sep-annotations",{trimWhitespace:!1})||`
`,bakeTarget:kr("bake-target")||"docker-metadata-action",githubToken:kr("github-token")}}s(Qbe,"getInputs");async function Pbe(t,e){switch(t){case"workflow":return await j20(e);case"git":return await K20();default:throw new Error(`Invalid context source: ${t}`)}}s(Pbe,"getContext");async function j20(t){let e=A0.context;return/pull_request_target/.test(e.eventName)&&(e.ref=`refs/pull/${e.payload.number}/merge`),/true/i.test(process.env.DOCKER_METADATA_PR_HEAD_SHA||"")&&(/pull_request/.test(e.eventName)||/pull_request_target/.test(e.eventName))&&e.payload?.pull_request?.head?.sha!=null&&(e.sha=e.payload.pull_request.head.sha),{commitDate:await Z20(e.sha,t),...e}}s(j20,"getContextFromWorkflow");async function K20(){let t=await pa.context();return{commitDate:await pa.commitDate(t.sha),...t}}s(K20,"getContextFromGit");async function Z20(t,e){let r=A0.context.payload;if(r.commits){let n=r.commits.find(o=>o.id===t)?.timestamp;if(n)return new Date(n)}if(r.head_commit&&r.head_commit.id===t)return new Date(r.head_commit.timestamp);try{let n=await e.github.octokit.rest.repos.getCommit({owner:A0.context.repo.owner,repo:A0.context.repo.repo,ref:t});if(n.data.commit.committer?.date)return new Date(n.data.commit.committer.date);throw new Error("Committer date not found")}catch(n){return N(`Failed to get commit date from GitHub API: ${n.message}`),new Date}}s(Z20,"getCommitDateFromWorkflow");var Da=w(X_(),1),v4e=w(require("fs"),1),L4e=w(require("path"),1),Vh=w(Vbe(),1),pn=w(I4e(),1),Qd=w(kn(),1);var Ye=class t extends Error{static{s(this,"CsvError")}constructor(e,r,n,...o){Array.isArray(r)&&(r=r.join(" ").trim()),super(r),Error.captureStackTrace!==void 0&&Error.captureStackTrace(this,t),this.code=e;for(let i of o)for(let a in i){let c=i[a];this[a]=Buffer.isBuffer(c)?c.toString(n.encoding):c==null?c:JSON.parse(JSON.stringify(c))}}};var Xh=s(function(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)},"is_object");var yD=s(function(t){let e=[];for(let r=0,n=t.length;r<n;r++){let o=t[r];if(o==null||o===!1)e[r]={disabled:!0};else if(typeof o=="string"||typeof o=="number")e[r]={name:`${o}`};else if(Xh(o)){if(typeof o.name!="string")throw new Ye("CSV_OPTION_COLUMNS_MISSING_NAME",["Option columns missing name:",`property "name" is required at position ${r}`,"when column is an object literal"]);e[r]=o}else throw new Ye("CSV_INVALID_COLUMN_DEFINITION",["Invalid column definition:","expect a string or a literal object,",`got ${JSON.stringify(o)} at position ${r}`])}return e},"normalize_columns_array");var K7=class{static{s(this,"ResizeableBuffer")}constructor(e=100){this.size=e,this.length=0,this.buf=Buffer.allocUnsafe(e)}prepend(e){if(Buffer.isBuffer(e)){let r=this.length+e.length;if(r>=this.size&&(this.resize(),r>=this.size))throw Error("INVALID_BUFFER_STATE");let n=this.buf;this.buf=Buffer.allocUnsafe(this.size),e.copy(this.buf,0),n.copy(this.buf,e.length),this.length+=e.length}else{let r=this.length++;r===this.size&&this.resize();let n=this.clone();this.buf[0]=e,n.copy(this.buf,1,0,r)}}append(e){let r=this.length++;r===this.size&&this.resize(),this.buf[r]=e}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){let e=this.length;this.size=this.size*2;let r=Buffer.allocUnsafe(this.size);this.buf.copy(r,0,0,e),this.buf=r}toString(e){return e?this.buf.toString(e,0,this.length):Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}toJSON(){return this.toString("utf8")}reset(){this.length=0}},Z7=K7;var R4e=s(function(t){let e=[32,9,10,13,12,11,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288,65279].reduce((n,o)=>{let i=Buffer.from(String.fromCharCode(o),t.encoding);return o!==63&&i.length===1&&i[0]===63||n.push(i),n},[]),r=new Uint8Array(256);for(let n of e)r[n[0]]=1;return{bomSkipped:!1,bufBytesStart:0,castField:t.cast_function,commenting:!1,delimiterBufPrevious:void 0,delimiterDiscovered:!1,error:void 0,enabled:t.from_line===1,escaping:!1,escapeIsQuote:Buffer.isBuffer(t.escape)&&Buffer.isBuffer(t.quote)&&Buffer.compare(t.escape,t.quote)===0,expectedRecordLength:Array.isArray(t.columns)?t.columns.length:void 0,field:new Z7(20),firstLineToHeaders:t.cast_first_line_to_header,needMoreDataSize:Math.max(t.comment!==null?t.comment.length:0,...t.delimiter?t.delimiter.map(n=>n.length):[],t.delimiter_auto?1:0,t.quote!==null?t.quote.length:0,...e.map(n=>n.length)),previousBuf:void 0,quoting:!1,stop:!1,rawBuffer:new Z7(100),record:[],recordHasError:!1,record_length:0,recordDelimiterMaxLength:t.record_delimiter.length===0?0:Math.max(...t.record_delimiter.map(n=>n.length)),trimChars:[Buffer.from(" ",t.encoding)[0],Buffer.from(" ",t.encoding)[0]],wasQuoting:!1,wasRowDelimiter:!1,timchars:e,timcharFirstBytes:r}},"init_state");var N4e=s(function(t){return t.replace(/([A-Z])/g,function(e,r){return"_"+r.toLowerCase()})},"underscore");var Ld=s(function(t){let e={};for(let n in t)e[N4e(n)]=t[n];if(e.encoding===void 0||e.encoding===!0)e.encoding="utf8";else if(e.encoding===null||e.en Line truncated
`,a).length:l,p?(c===null?0:c.length)+u.length:0,p?u.length+l:0);return b<M},"__needMoreData"),parse:s(function(n,o,i,a){let{bom:c,comment_no_infix:u,delimiter_auto:p,encoding:A,from_line:l,ltrim:b,max_record_size:M,raw:z,relax_quotes:O,rtrim:y,skip_empty_lines:E,to:B,to_line:q}=this.options,{comment:D,escape:F,quote:x,record_delimiter:_}=this.options,{bomSkipped:ce,delimiterDiscovered:ye,delimiterBufPrevious:Ne,rawBuffer:De,escapeIsQuote:ge}=this.state;if(!ye&&p){let j;if(Ne===void 0?j=n:Ne!==void 0&&n===void 0?j=Ne:j=Buffer.concat([Ne,n]),n=void 0,o||j.length>p.size)this.options.delimiter=[Buffer.from(w4e(j,this.options.delimiter_auto))],this.state.previousBuf=j,this.state.delimiterBufPrevious=void 0,this.state.delimiterDiscovered=!0;else{this.state.delimiterBufPrevious=j;return}}let{previousBuf:Fe}=this.state,k;if(Fe===void 0)if(n===void 0){a();return}else k=n;else Fe!==void 0&&n===void 0?k=Fe:k=Buffer.concat([Fe,n]);if(ce===!1)if(c===!1)this.state.bomSkipped=!0;else if(k.length<3){if(o===!1){this.state.previousBuf=k;return}}else{for(let j in _d)if(_d[j].compare(k,0,_d[j].length)===0){let $e=_d[j].length;this.state.bufBytesStart+=$e,k=k.slice($e);let m1=Ld({...this.original_options,encoding:j});for(let ze in m1)this.options[ze]=m1[ze];({comment:D,escape:F,quote:x}=this.options);break}this.state.bomSkipped=!0}let Te=k.length,T;for(T=0;T<Te&&!this.__needMoreData(T,Te,o);T++){if(this.state.wasRowDelimiter===!0&&(this.info.lines++,this.state.wasRowDelimiter=!1),q!==-1&&this.info.lines>q){this.state.stop=!0,a();return}this.state.quoting===!1&&_.length===0&&this.__autoDiscoverRecordDelimiter(k,T)&&(_=this.options.record_delimiter);let j=k[T];if(z===!0&&De.append(j),(j===U40||j===G40)&&this.state.wasRowDelimiter===!1&&(this.state.wasRowDelimiter=!0),this.state.escaping===!0)this.state.escaping=!1;else{if(F!==null&&this.state.quoting===!0&&this.__isEscape(k,T,j)&&T+F.length<Te)if(ge){if(this.__isQuote(k,T+F.length)){this.state.escaping=!0,T+=F.length-1;continue}}else{this.state.escaping=!0,T+=F.length-1;continue}if(this.state.commenting===!1&&this.__isQuote(k,T))if(this.state.quoting===!0){let ze=k[T+x.length],D0=y&&this.__isCharTrimable(k,T+x.length),je=D!==null&&this.__compareBytes(D,k,T+x.length,ze),X=this.__isDelimiter(k,T+x.length,ze),Rt=_.length===0?this.__autoDiscoverRecordDelimiter(k,T+x.length):this.__isRecordDelimiter(ze,k,T+x.length);if(F!==null&&this.__isEscape(k,T,j)&&this.__isQuote(k,T+F.length))T+=F.length-1;else if(!ze||X||Rt||je||D0){this.state.quoting=!1,this.state.wasQuoting=!0,T+=x.length-1;continue}else if(O===!1){let Nt=this.__error(new Ye("CSV_INVALID_CLOSING_QUOTE",["Invalid Closing Quote:",`got "${String.fromCharCode(ze)}"`,`at line ${this.info.lines}`,"instead of delimiter, record delimiter, trimable character","(if activated) or comment"],this.options,this.__infoField()));if(Nt!==void 0)return Nt}else this.state.quoting=!1,this.state.wasQuoting=!0,this.state.field.prepend(x),T+=x.length-1}else if(this.state.field.length!==0){if(O===!1){let ze=this.__infoField(),D0=Object.keys(_d).map(X=>_d[X].equals(this.state.field.toString())?X:!1).filter(Boolean)[0],je=this.__error(new Ye("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(ze.column)} at line ${ze.lines}, value is ${JSON.stringify(this.state.field.toString(A))}`,D0?`(${D0} bom)`:void 0],this.options,ze,{field:this.state.field}));if(je!==void 0)return je}}else{this.state.quoting=!0,T+=x.length-1;continue}if(this.state.quoting===!1){let ze=this.__isRecordDelimiter(j,k,T);if(ze!==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)>=l){this.state.enabled=!0,this.__resetField(),this.__resetRecord(),T+=ze-1;continue}if(E===!0&&this.state.wasQuoting===!1&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++,T+=ze-1;continue}this.info.bytes=this.state.bufBytesStart+T;let X=this.__onField();if(X!==void 0)return X;this.info.bytes=this.state.bufBytesStart+T+ze;let Rt=this.__onRecord(i);if(Rt!==void 0)return Rt;if(B!==-1&&this.info.records>=B){this.state.stop=!0,a();return}}this.state.commenting=!1,T+=ze-1;continue}if(this.state.commenting)continue;if(D!==null&&(u===!1||this.state.record.length===0&&this.state.field.length===0)&&this.__compareBytes(D,k,T,j)!==0){this.state.commenting=!0;continue}let D0=this.__isDelimiter(k,T,j);if(D0!==0){this.info.bytes=this.state.bufBytesStart+T;let je=this.__onField();if(je!==void 0)return je;T+=D0-1;continue}}}if(this.state.commenting===!1&&M!==0&&this.state.record_length+this.state.field.length>M)return this.__error(new Ye("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 $e=b===!1||this.state.quoting===!0||this.state.field.length!==0||!thi Line truncated
`,i),Buffer.from(`
`,i),Buffer.from("\r",i)];e:for(let c=0;c<a.length;c++){let u=a[c].length;for(let p=0;p<u;p++)if(a[c][p]!==n[o+p])continue e;return this.options.record_delimiter.push(a[c]),this.state.recordDelimiterMaxLength=a[c].length,a[c].length}return 0},"__autoDiscoverRecordDelimiter"),__error:s(function(n){let{encoding:o,raw:i,skip_records_with_error:a}=this.options,c=typeof n=="string"?new Error(n):n;if(a){if(this.state.recordHasError=!0,this.options.on_skip!==void 0)try{this.options.on_skip(c,i?this.state.rawBuffer.toString(o):void 0)}catch(u){return u}return}else return c},"__error"),__infoDataSet:s(function(){return{...this.info,columns:this.options.columns}},"__infoDataSet"),__infoRecord:s(function(){let{columns:n,raw:o,encoding:i}=this.options;return{...this.__infoDataSet(),bytes_records:this.info.bytes,error:this.state.error,header:n===!0,index:this.state.record.length,raw:o?this.state.rawBuffer.toString(i):void 0}},"__infoRecord"),__infoField:s(function(){let{columns:n}=this.options,o=Array.isArray(n),i=this.info.bytes_records;return{...this.__infoRecord(),bytes_records:i,column:o===!0?n.length>this.state.record.length?n[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}},"__infoField")}},"transform");var nA=s(function(t,e={}){typeof t=="string"&&(t=Buffer.from(t));let r=e&&e.objname?Object.create(null):[],n=BD(e),o=s(c=>{n.options.objname===void 0?r.push(c):r[c[0]]=c[1]},"push"),i=s(()=>{},"close"),a=n.parse(t,!0,o,i);if(a!==void 0)throw a;return r},"parse");function W4e(t){let e=[];if(t.length==1){let r=!1,n=nA(t[0],{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let o of n){let i=o.toString().split("=").map(a=>a.trim());if(i.length==1)e.push({name:i[0],enable:!0});else{r=!0;break}}if(!r)return F4e(e)}e=[];for(let r of t){let n={name:"",enable:!0},o=nA(r,{relaxColumnCount:!0,skipEmptyLines:!0})[0];for(let i of o){let a=i.toString().split("=").map(c=>c.trim());if(a.length==1)n.name=a[0];else{let c=a[0].toLowerCase(),u=a[1];switch(c){case"name":{n.name=u;break}case"enable":{if(!["true","false"].includes(u))throw new Error(`Invalid enable attribute value: ${r}`);n.enable=/true/i.test(u);break}default:throw new Error(`Unknown image attribute: ${r}`)}}}if(n.name.length==0)throw new Error(`Image name attribute empty: ${r}`);e.push(n)}return F4e(e)}s(W4e,"Transform");function F4e(t){Iu("Processing images input");for(let e of t)S(`name=${e.name},enable=${e.enable}`);return Ru(),t}s(F4e,"output");var t9=(u=>(u.Schedule="schedule",u.Semver="semver",u.Pep440="pep440",u.Match="match",u.Edge="edge",u.Ref="ref",u.Raw="raw",u.Sha="sha",u))(t9||{}),qD=(n=>(n.Branch="branch",n.Tag="tag",n.PR="pr",n))(qD||{}),DD=(r=>(r.Short="short",r.Long="long",r))(DD||{}),e9=class{static{s(this,"Tag")}type;attrs;constructor(){this.attrs={}}toString(){let e=[`type=${this.type}`];for(let r in this.attrs)e.push(`${r}=${this.attrs[r]}`);return e.join(",")}},X40={schedule:"1000",semver:"900",pep440:"900",match:"800",edge:"700",ref:"600",raw:"200",sha:"100"};function x4e(t){let e=[];t.length==0&&(t=["type=schedule","type=ref,event=branch","type=ref,event=tag","type=ref,event=pr"]);for(let n of t)e.push(V40(n));let r=e.sort((n,o)=>Number(n.attrs.priority)<Number(o.attrs.priority)?1:Number(n.attrs.priority)>Number(o.attrs.priority)?-1:0);Iu("Processing tags input");for(let n of r)S(n.toString());return Ru(),r}s(x4e,"Transform");function V40(t){let e=nA(t,{relaxColumnCount:!0,skipEmptyLines:!0})[0],r=new e9;for(let n of e){let o=n.toString().split(/(?<=^[^=]+?)=/).map(i=>i.trim());if(o.length==1)r.attrs.value=o[0];else{let i=o[0].toLowerCase(),a=o[1];switch(i){case"type":{if(!Object.values(t9).includes(a))throw new Error(`Unknown tag type attribute: ${a}`);r.type=a;break}default:{r.attrs[i]=a;break}}}}switch(r.type==null&&(r.type="raw"),r.type){case"schedule":{Object.prototype.hasOwnProperty.call(r.attrs,"pattern")||(r.attrs.pattern="nightly");break}case"semver":case"pep440":{if(!Object.prototype.hasOwnProperty.call(r.attrs,"pattern"))throw new Error(`Missing pattern attribute for ${t}`);Object.prototype.hasOwnProperty.call(r.attrs,"value")||(r.attrs.value=""),Object.prototype.hasOwnProperty.call(r.attrs,"match")||(r.attrs.match="");break}case"match":{if(!Object.prototype.hasOwnProperty.call(r.attrs,"pattern"))throw new Error(`Missing pattern attribute for ${t}`);if(Object.prototype.hasOwnProperty.call(r.attrs,"group")||(r.attrs.group="0"),isNaN(+r.attrs.group))throw new Error(`Invalid match group for ${t}`);Object.prototype.hasOwnProperty.call(r.attrs,"value")||(r.attrs.value="");break}case"edge":{Object.prototype.hasOwnProperty.call(r.attrs,"branch")||(r.attrs.branch="");break}case"ref":{if(!Object.prototype.hasOwnProperty.call(r.attrs,"event"))throw new Error(`Missing event attribute for ${t}`);if(!Object.keys(qD).map(n=>qD[n]).includes(r.attrs.event))throw new Error(`Invalid event for ${t}`);r.attrs.event=="pr"&&!Object.prototype.hasOwnProperty.call(r.attrs,"prefix")&&(r.attrs.prefix="pr-");break}case" Line truncated
/*! Bundled license information:
undici/lib/web/fetch/body.js:
(*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> *)
undici/lib/web/websocket/frame.js:
(*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> *)
tmp/lib/tmp.js:
(*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*)
moment/moment.js:
(*! moment.js *)
(*! version : 2.30.1 *)
(*! authors : Tim Wood, Iskren Chernev, Moment.js contributors *)
(*! license : MIT *)
(*! momentjs.com *)
moment-timezone/moment-timezone.js:
(*! moment-timezone.js *)
(*! version : 0.6.3 *)
(*! Copyright (c) JS Foundation and other contributors *)
(*! license : MIT *)
(*! github.com/moment/moment-timezone *)
xregexp/lib/xregexp.js:
(*!
* XRegExp 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2007-present MIT License
*)
xregexp/lib/addons/build.js:
(*!
* XRegExp.build 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2012-present MIT License
*)
xregexp/lib/addons/matchrecursive.js:
(*!
* XRegExp.matchRecursive 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2009-present MIT License
*)
xregexp/lib/addons/unicode-base.js:
(*!
* XRegExp Unicode Base 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2008-present MIT License
*)
xregexp/lib/addons/unicode-blocks.js:
(*!
* XRegExp Unicode Blocks 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
xregexp/lib/addons/unicode-categories.js:
(*!
* XRegExp Unicode Categories 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
xregexp/lib/addons/unicode-properties.js:
(*!
* XRegExp Unicode Properties 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2012-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
xregexp/lib/addons/unicode-scripts.js:
(*!
* XRegExp Unicode Scripts 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*)
@octokit/request-error/dist-src/index.js:
(* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist *)
@octokit/request/dist-bundle/index.js:
(* v8 ignore next -- @preserve *)
(* v8 ignore else -- @preserve *)
*/
//# sourceMappingURL=index.cjs.map
Generated Vendored
+7
View File
@@ -0,0 +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": "ipBAAA,IAAAA,GAAAC,EAAAC,IAAA,cAEA,IAAIC,IAAM,QAAQ,KAAK,EACnBC,IAAM,QAAQ,KAAK,EACnBC,GAAO,QAAQ,MAAM,EACrBC,GAAQ,QAAQ,OAAO,EACvBC,IAAS,QAAQ,QAAQ,EACzBC,IAAS,QAAQ,QAAQ,EACzBC,IAAO,QAAQ,MAAM,EAGzBP,GAAQ,aAAeQ,IACvBR,GAAQ,cAAgBS,IACxBT,GAAQ,cAAgBU,IACxBV,GAAQ,eAAiBW,IAGzB,SAASH,IAAaI,EAAS,CAC7B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACdU,CACT,CAJSE,EAAAP,IAAA,gBAMT,SAASC,IAAcG,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUV,GAAK,QACrBU,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAN,IAAA,iBAQT,SAASC,IAAcE,EAAS,CAC9B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACfS,CACT,CAJSE,EAAAL,IAAA,iBAMT,SAASC,IAAeC,EAAS,CAC/B,IAAIC,EAAQ,IAAIC,GAAeF,CAAO,EACtC,OAAAC,EAAM,QAAUT,GAAM,QACtBS,EAAM,aAAeG,GACrBH,EAAM,YAAc,IACbA,CACT,CANSE,EAAAJ,IAAA,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,IAAK,SAASO,GAAgBT,IAAO,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,IAAI,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
-107
View File
@@ -1,107 +0,0 @@
import './sourcemap-register.cjs';import{createRequire as t}from"module";var r={23311:function(t,r){var o=this&&this.__awaiter||function(t,r,o,i){function adopt(t){return t instanceof o?t:new o((function(r){r(t)}))}return new(o||(o=Promise))((function(o,a){function fulfilled(t){try{step(i.next(t))}catch(t){a(t)}}function rejected(t){try{step(i["throw"](t))}catch(t){a(t)}}function step(t){t.done?o(t.value):adopt(t.value).then(fulfilled,rejected)}step((i=i.apply(t,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(t,r,o,i,a,c,p){this.method=t;this.requestHeaders=r;this.requests=o;this.headers=i;this.response=a;this.status=c;this.trailers=p}then(t,r){return this.promiseFinished().then((r=>t?Promise.resolve(t(r)):r),(t=>r?Promise.resolve(r(t)):Promise.reject(t)))}promiseFinished(){return o(this,void 0,void 0,(function*(){let[t,r,o,i]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:t,response:r,status:o,trailers:i}}))}}r.ClientStreamingCall=ClientStreamingCall},69499:(t,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.Deferred=r.DeferredState=void 0;var o;(function(t){t[t["PENDING"]=0]="PENDING";t[t["REJECTED"]=1]="REJECTED";t[t["RESOLVED"]=2]="RESOLVED"})(o=r.DeferredState||(r.DeferredState={}));class Deferred{constructor(t=true){this._state=o.PENDING;this._promise=new Promise(((t,r)=>{this._resolve=t;this._reject=r}));if(t){this._promise.catch((t=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(t){if(this.state!==o.PENDING)throw new Error(`cannot resolve ${o[this.state].toLowerCase()}`);this._resolve(t);this._state=o.RESOLVED}reject(t){if(this.state!==o.PENDING)throw new Error(`cannot reject ${o[this.state].toLowerCase()}`);this._reject(t);this._state=o.REJECTED}resolvePending(t){if(this._state===o.PENDING)this.resolve(t)}rejectPending(t){if(this._state===o.PENDING)this.reject(t)}}r.Deferred=Deferred},40800:function(t,r){var o=this&&this.__awaiter||function(t,r,o,i){function adopt(t){return t instanceof o?t:new o((function(r){r(t)}))}return new(o||(o=Promise))((function(o,a){function fulfilled(t){try{step(i.next(t))}catch(t){a(t)}}function rejected(t){try{step(i["throw"](t))}catch(t){a(t)}}function step(t){t.done?o(t.value):adopt(t.value).then(fulfilled,rejected)}step((i=i.apply(t,r||[])).next())}))};Object.defineProperty(r,"__esModule",{value:true});r.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(t,r,o,i,a,c,p){this.method=t;this.requestHeaders=r;this.requests=o;this.headers=i;this.responses=a;this.status=c;this.trailers=p}then(t,r){return this.promiseFinished().then((r=>t?Promise.resolve(t(r)):r),(t=>r?Promise.resolve(r(t)):Promise.reject(t)))}promiseFinished(){return o(this,void 0,void 0,(function*(){let[t,r,o]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:t,status:r,trailers:o}}))}}r.DuplexStreamingCall=DuplexStreamingCall},76762:(t,r,o)=>{var i;i={value:true};var a=o(42554);Object.defineProperty(r,"C0",{enumerable:true,get:function(){return a.ServiceType}});var c=o(83402);i={enumerable:true,get:function(){return c.readMethodOptions}};i={enumerable:true,get:function(){return c.readMethodOption}};i={enumerable:true,get:function(){return c.readServiceOption}};var p=o(50422);i={enumerable:true,get:function(){return p.RpcError}};var u=o(63474);i={enumerable:true,get:function(){return u.mergeRpcOptions}};var l=o(58788);i={enumerable:true,get:function(){return l.RpcOutputStreamController}};var d=o(37816);i={enumerable:true,get:function(){return d.TestTransport}};var A=o(69499);i={enumerable:true,get:function(){return A.Deferred}};i={enumerable:true,get:function(){return A.DeferredState}};var b=o(40800);i={enumerable:true,get:function(){return b.DuplexStreamingCall}};var h=o(23311);i={enumerable:true,get:function(){return h.ClientStreamingCall}};var M=o(22715);i={enumerable:true,get:function(){return M.ServerStreamingCall}};var g=o(80738);i={enumerable:true,get:function(){return g.UnaryCall}};var z=o(84359);i={enumerable:true,get:function(){return z.stackIntercept}};i={enumerable:true,get:function(){return z.stackDuplexStreamingInterceptors}};i={enumerable:true,get:function(){return z.stackClientStreamingInterceptors}};i={enumerable:true,get:function(){return z.stackServerStreamingInterceptors}};i={enumerable:true,get:function(){return z.stackUnaryInterceptors}};var O=o(44626);i={enumerable:true,get:function(){return O.ServerCallContextController}}},83402:(t,r,o)=>{Object.defineProperty(r,"__esModule",{value:true});r.readServiceOption=r.readMethodOption=r.readMethodOptions=r.normalizeMethodInfo=void 0;const i=o(88372);function normalizeMethodInfo(t,r){var o,a,c;let p=t;p.service=r;p.localName=(o=p.localName)!==null&&o!==void 0?o:i.lowerCamelCase(p.name);p.serverStreaming=!!p.serverStreaming;p.Line truncated
/**
* @preserve
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
*
* @author <a href="mailto:jensyt@gmail.com">Jens Taylor</a>
* @see http://github.com/homebrewing/brauhaus-diff
* @author <a href="mailto:gary.court@gmail.com">Gary Court</a>
* @see http://github.com/garycourt/murmurhash-js
* @author <a href="mailto:aappleby@gmail.com">Austin Appleby</a>
* @see http://sites.google.com/site/murmurhash/
*/
(function(){var r;function MurmurHash3(t,o){var i=this instanceof MurmurHash3?this:r;i.reset(o);if(typeof t==="string"&&t.length>0){i.hash(t)}if(i!==this){return i}}MurmurHash3.prototype.hash=function(t){var r,o,i,a,c;c=t.length;this.len+=c;o=this.k1;i=0;switch(this.rem){case 0:o^=c>i?t.charCodeAt(i++)&65535:0;case 1:o^=c>i?(t.charCodeAt(i++)&65535)<<8:0;case 2:o^=c>i?(t.charCodeAt(i++)&65535)<<16:0;case 3:o^=c>i?(t.charCodeAt(i)&255)<<24:0;o^=c>i?(t.charCodeAt(i++)&65280)>>8:0}this.rem=c+this.rem&3;c-=this.rem;if(c>0){r=this.h1;while(1){o=o*11601+(o&65535)*3432906752&4294967295;o=o<<15|o>>>17;o=o*13715+(o&65535)*461832192&4294967295;r^=o;r=r<<13|r>>>19;r=r*5+3864292196&4294967295;if(i>=c){break}o=t.charCodeAt(i++)&65535^(t.charCodeAt(i++)&65535)<<8^(t.charCodeAt(i++)&65535)<<16;a=t.charCodeAt(i++);o^=(a&255)<<24^(a&65280)>>8}o=0;switch(this.rem){case 3:o^=(t.charCodeAt(i+2)&65535)<<16;case 2:o^=(t.charCodeAt(i+1)&65535)<<8;case 1:o^=t.charCodeAt(i)&65535}this.h1=r}this.k1=o;return this};MurmurHash3.prototype.result=function(){var t,r;t=this.k1;r=this.h1;if(t>0){t=t*11601+(t&65535)*3432906752&4294967295;t=t<<15|t>>>17;t=t*13715+(t&65535)*461832192&4294967295;r^=t}r^=this.len;r^=r>>>16;r=r*51819+(r&65535)*2246770688&4294967295;r^=r>>>13;r=r*44597+(r&65535)*3266445312&4294967295;r^=r>>>16;return r>>>0};MurmurHash3.prototype.reset=function(t){this.h1=typeof t==="number"?t:0;this.rem=this.k1=this.len=0;return this};r=new MurmurHash3;if(true){t.exports=MurmurHash3}else{}})()},68850:(t,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.AddressError=void 0;class AddressError extends Error{constructor(t,r){super(t);this.name="AddressError";if(r!==null){this.parseMessage=r}}}r.AddressError=AddressError},45864:(t,r)=>{Object.defineProperty(r,"__esModule",{value:true});r.isCorrect=r.isInSubnet=void 0;function isInSubnet(t){if(this.subnetMask<t.subnetMask){return false}if(this.mask(t.subnetMask)===t.mask()){return true}return false}r.isInSubnet=isInSubnet;function isCorrect(t){return function(){if(this.addressMinusSuffix!==this.correctForm()){return false}if(this.subnetMask===t&&!this.parsedSubnet){return true}return this.parsedSubnet===String(this.subnetMask)}}r.isCorrect=isCorrect},79253:function(t,r,o){var i=this&&this.__createBinding||(Object.create?function(t,r,o,i){if(i===undefined)i=o;var a=Object.getOwnPropertyDescriptor(r,o);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[o]}}}Object.defineProperty(t,i,a)}:function(t,r,o,i){if(i===undefined)i=o;t[i]=r[o]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var c=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o))i(r,t,o);a(r,t);return r};Object.defineProperty(r,"__esModule",{value:true});r.v6=r.AddressError=r.Address6=r.Address4=void 0;const p=o(17946);Object.defineProperty(r,"Address4",{enumerable:true,get:function(){return p.Address4}});const u=o(38096);Object.defineProperty(r,"Address6",{enumerable:true,get:function(){return u.Address6}});const l=o(68850);Object.defineProperty(r,"AddressError",{enumerable:true,get:function(){return l.AddressError}});const d=c(o(20339));r.v6={helpers:d}},17946:function(t,r,o){var i=this&&this.__createBinding||(Object.create?function(t,r,o,i){if(i===undefined)i=o;var a=Object.getOwnPropertyDescriptor(r,o);if(!a||("get"in a?!r.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return r[o]}}}Object.defineProperty(t,i,a)}:function(t,r,o,i){if(i===undefined)i=o;t[i]=r[o]});var a=this&&this.__setModuleDefault||(Object.create?function(t,r){Object.defineProperty(t,"default",{enumerable:true,value:r})}:function(t,r){t["default"]=r});var c=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(t!=null)for(var o in t)if(o!=="default"&&Object.prototype.hasOwnProperty.call(t,o))i(r,t,o);a(r,t);return r};Object.defineProperty(r,"__esModule",{value:true});r.Address4=void 0;const p=c(o(45864));const u=c(o(66437));const l=o(68850);const d=o(95947);const A=o(19973);class Address4{constructor(t){this.groups=u.GROUPS;this.parsedAddress=[];this.parsedSubnet="";this.subnet="/32";this.subnetMask=32;this.v4=true;this.isCorrect=p.isCorrect(u.BITS);this.isInSubnet=p.isInSubnet;this.address=t;const r=u.RE_SUBNET_STRING.exec(t);if(r){this.parsedSubnet=r[0].replace("/","");this.subnetMask=parseInt(this.parsedSubnet,10);this.subnet=`/${this.subnetMask}`;if(this.subnetMask<0||this.subnetMask>u.BITS){throw new l.AddressError("Invalid subnet mask.")}t=t.replace(u.RE_SUBNET_STRING,"")}this.addressMinusSuffix=t;this.parsedAddress=this.parse(t)}static isValid(t){try{new Address4(t);return true}catch(t){return false}}parse(t){const r=t.split(".");if(!t.match(u.RE_ADDRESS)){throw new l.AddressError("Invalid IPv4 address.")}return r}correctForLine truncated
/**
* @license
* Copyright (c) 2010-2012 Mikeal Rogers
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an "AS
* IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/if(new p.URL(t.url).hostname!==u.hostname){t.headers.delete("authorization");t.headers.delete("cookie")}if(r.status===303||t.method==="POST"&&[301,302].includes(r.status)){i.method="GET";i.body=null;t.headers.delete("content-length")}i.headers={};t.headers.forEach(((t,r)=>{i.headers[r]=t}));i.counter=++t.counter;const l=new a(p.format(u),i);return{request:l,options:i}};const fetch=async(t,r)=>{const o=u.storable(t,r)?await l(t,r):await d(t,r);if(!["GET","HEAD"].includes(t.method)&&o.status>=200&&o.status<=399){await l.invalidate(t,r)}if(!canFollowRedirect(t,o,r)){return o}const i=getRedirect(t,o,r);return fetch(i.request,i.options)};t.exports=fetch},39310:(t,r,o)=>{const{FetchError:i,Headers:a,Request:c,Response:p}=o(88483);const u=o(99824);const l=o(67242);const makeFetchHappen=(t,r)=>{const o=u(r);const i=new c(t,o);return l(i,o)};makeFetchHappen.defaults=(t,r={},o=makeFetchHappen)=>{if(typeof t==="object"){r=t;t=null}const defaultedFetch=(i,a={})=>{const c=i||t;const p={...r,...a,headers:{...r.headers,...a.headers}};return o(c,p)};defaultedFetch.defaults=(t,r={})=>makeFetchHappen.defaults(t,r,defaultedFetch);return defaultedFetch};t.exports=makeFetchHappen;t.exports.FetchError=i;t.exports.Headers=a;t.exports.Request=c;t.exports.Response=p},99824:(t,r,o)=>{const i=o(72250);const a=["if-modified-since","if-none-match","if-unmodified-since","if-match","if-range"];const configureOptions=t=>{const{strictSSL:r,...o}={...t};o.method=o.method?o.method.toUpperCase():"GET";if(r===undefined||r===null){o.rejectUnauthorized=process.env.NODE_TLS_REJECT_UNAUTHORIZED!=="0"}else{o.rejectUnauthorized=r!==false}if(!o.retry){o.retry={retries:0}}else if(typeof o.retry==="string"){const t=parseInt(o.retry,10);if(isFinite(t)){o.retry={retries:t}}else{o.retry={retries:0}}}else if(typeof o.retry==="number"){o.retry={retries:o.retry}}else{o.retry={retries:0,...o.retry}}o.dns={ttl:5*60*1e3,lookup:i.lookup,...o.dns};o.cache=o.cache||"default";if(o.cache==="default"){const t=Object.keys(o.headers||{}).some((t=>a.includes(t.toLowerCase())));if(t){o.cache="no-store"}}o.cacheAdditionalHeaders=o.cacheAdditionalHeaders||[];if(o.cacheManager&&!o.cachePath){o.cachePath=o.cacheManager}return o};t.exports=configureOptions},22314:(t,r,o)=>{const i=o(52899);class CachingMinipassPipeline extends i{#d=[];#A=new Map;constructor(t,...r){super();this.#d=t.events;if(r.length){this.push(...r)}}on(t,r){if(this.#d.includes(t)&&this.#A.has(t)){return r(...this.#A.get(t))}return super.on(t,r)}emit(t,...r){if(this.#d.includes(t)){this.#A.set(t,r)}return super.emit(t,...r)}}t.exports=CachingMinipassPipeline},20766:(t,r,o)=>{const{Minipass:i}=o(78275);const a=o(88483);const{promiseRetry:c}=o(49498);const p=o(45457);const{log:u}=o(26687);const l=o(22314);const{getAgent:d}=o(57995);const A=o(96734);const b=`${A.name}/${A.version} (+https://npm.im/${A.name})`;const h=["ECONNRESET","ECONNREFUSED","EADDRINUSE","ETIMEDOUT","ECONNECTIONTIMEOUT","EIDLETIMEOUT","ERESPONSETIMEOUT","ETRANSFERTIMEOUT"];const M=["request-timeout"];const remoteFetch=(t,r)=>{const o=d(t.url,{...r,signal:undefined});if(!t.headers.has("connection")){t.headers.set("connection",o?"keep-alive":"close")}if(!t.headers.has("user-agent")){t.headers.set("user-agent",b)}const A={...r,agent:o,redirect:"manual"};return c((async(o,c)=>{const d=new a.Request(t,A);try{let t=await a(d,A);if(A.integrity&&t.status===200){const r=p.integrityStream({algorithms:A.algorithms,integrity:A.integrity,size:A.size});const o=new l({events:["integrity","size"]},t.body,r);r.on("integrity",(t=>o.emit("integrity",t)));r.on("size",(t=>o.emit("size",t)));t=new a.Response(o,t);t.body.hasIntegrityEmitter=true}t.headers.set("x-fetch-attempts",c);const b=i.isStream(d.body);const h=d.method!=="POST"&&!b&&([408,420,429].includes(t.status)||t.status>=500);if(h){if(typeof r.onRetry==="function"){r.onRetry(t)}u.http("fetch",`${d.method} ${d.url} attempt ${c} failed with ${t.status}`);return o(t)}return t}catch(t){const i=t.code==="EPROMISERETRY"?t.retried.code:t.code;const p=t.retried instanceof a.Response||h.includes(i)&&M.includes(t.type);if(d.method==="POST"||p){throw t}if(typeof r.onRetry==="function"){r.onRetry(t)}u.http("fetch",`${d.method} ${d.url} attempt ${c} failed with ${t.code}`);return o(t)}}),r.retry).catch((t=>{if(t.status>=400&&t.type!=="system"){return t}throw t}))};t.exports=remoteFetch},45457:(t,r,o)=>{const i=o(76982);const{Minipass:a}=o(78275);const c=["sha512","sha384","sha256"];const p=["sha512"];const u=i.getHashes();const l=/^[a-z0-9+/]+(?:=?=?)$/i;const d=/^([a-z0-9]+)-([^?]+)(\?[?\S*]*)?$/;const A=/^([a-z0-9]+)-([A-Za-z0-9+/=]{44,88})(\?[\x21-\x7E]*)?$/;const b=/^[\x21-\x7E]+$/;const h=["md5","whirlpool","sha1","sha224","sha256","sha384","sha512","sha3","sha3-256","sha3-384","sha3-512","sha3_256","sha3_384","sha3_512"].filter((t=>u.includes(t)));const getOptString=t=>t?.length?`?${t.join("?")}`:"";class IntegrityStream extends a{#a;#c;#p;constructor(t){super();this.size=0;this.opts=t;this.#u();if(t?. Line truncated
//! moment-timezone.js
//! version : 0.6.0
//! Copyright (c) JS Foundation and other contributors
//! license : MIT
//! github.com/moment/moment-timezone
(function(r,i){"use strict";if(true&&t.exports){t.exports=i(o(93350))}else if(typeof define==="function"&&define.amd){define(["moment"],i)}else{i(r.moment)}})(this,(function(t){"use strict";if(t.version===undefined&&t.default){t=t.default}var r="0.6.0",o={},i={},a={},c={},p={},u;if(!t||typeof t.version!=="string"){logError("Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/")}var l=t.version.split("."),d=+l[0],A=+l[1];if(d<2||d===2&&A<6){logError("Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js "+t.version+". See momentjs.com")}function charCodeToInt(t){if(t>96){return t-87}else if(t>64){return t-29}return t-48}function unpackBase60(t){var r=0,o=t.split("."),i=o[0],a=o[1]||"",c=1,p,u=0,l=1;if(t.charCodeAt(0)===45){r=1;l=-1}for(r;r<i.length;r++){p=charCodeToInt(i.charCodeAt(r));u=60*u+p}for(r=0;r<a.length;r++){c=c/60;p=charCodeToInt(a.charCodeAt(r));u+=p*c}return u*l}function arrayToInt(t){for(var r=0;r<t.length;r++){t[r]=unpackBase60(t[r])}}function intToUntil(t,r){for(var o=0;o<r;o++){t[o]=Math.round((t[o-1]||0)+t[o]*6e4)}t[r-1]=Infinity}function mapIndices(t,r){var o=[],i;for(i=0;i<r.length;i++){o[i]=t[r[i]]}return o}function unpack(t){var r=t.split("|"),o=r[2].split(" "),i=r[3].split(""),a=r[4].split(" ");arrayToInt(o);arrayToInt(i);arrayToInt(a);intToUntil(a,i.length);return{name:r[0],abbrs:mapIndices(r[1].split(" "),i),offsets:mapIndices(o,i),untils:a,population:r[5]|0}}function Zone(t){if(t){this._set(unpack(t))}}function closest(t,r){var o=r.length;if(t<r[0]){return 0}else if(o>1&&r[o-1]===Infinity&&t>=r[o-2]){return o-1}else if(t>=r[o-1]){return-1}var i;var a=0;var c=o-1;while(c-a>1){i=Math.floor((a+c)/2);if(r[i]<=t){a=i}else{c=i}}return c}Zone.prototype={_set:function(t){this.name=t.name;this.abbrs=t.abbrs;this.untils=t.untils;this.offsets=t.offsets;this.population=t.population},_index:function(t){var r=+t,o=this.untils,i;i=closest(r,o);if(i>=0){return i}},countries:function(){var t=this.name;return Object.keys(a).filter((function(r){return a[r].zones.indexOf(t)!==-1}))},parse:function(t){var r=+t,o=this.offsets,i=this.untils,a=i.length-1,c,p,u,l;for(l=0;l<a;l++){c=o[l];p=o[l+1];u=o[l?l-1:l];if(c<p&&tz.moveAmbiguousForward){c=p}else if(c>u&&tz.moveInvalidForward){c=u}if(r<i[l]-c*6e4){return o[l]}}return o[a]},abbr:function(t){return this.abbrs[this._index(t)]},offset:function(t){logError("zone.offset has been deprecated in favor of zone.utcOffset");return this.offsets[this._index(t)]},utcOffset:function(t){return this.offsets[this._index(t)]}};function Country(t,r){this.name=t;this.zones=r}function OffsetAt(t){var r=t.toTimeString();var o=r.match(/\([a-z ]+\)/i);if(o&&o[0]){o=o[0].match(/[A-Z]/g);o=o?o.join(""):undefined}else{o=r.match(/[A-Z]{3,5}/g);o=o?o[0]:undefined}if(o==="GMT"){o=undefined}this.at=+t;this.abbr=o;this.offset=t.getTimezoneOffset()}function ZoneScore(t){this.zone=t;this.offsetScore=0;this.abbrScore=0}ZoneScore.prototype.scoreOffsetAt=function(t){this.offsetScore+=Math.abs(this.zone.utcOffset(t.at)-t.offset);if(this.zone.abbr(t.at).replace(/[^A-Z]/g,"")!==t.abbr){this.abbrScore++}};function findChange(t,r){var o,i;while(i=((r.at-t.at)/12e4|0)*6e4){o=new OffsetAt(new Date(t.at+i));if(o.offset===t.offset){t=o}else{r=o}}return t}function userOffsets(){var t=(new Date).getFullYear()-2,r=new OffsetAt(new Date(t,0,1)),o=r.offset,i=[r],a,c,p,u;for(u=1;u<48;u++){p=new Date(t,u,1).getTimezoneOffset();if(p!==o){c=new OffsetAt(new Date(t,u,1));a=findChange(r,c);i.push(a);i.push(new OffsetAt(new Date(a.at+6e4)));r=c;o=p}}for(u=0;u<4;u++){i.push(new OffsetAt(new Date(t+u,0,1)));i.push(new OffsetAt(new Date(t+u,6,1)))}return i}function sortZoneScores(t,r){if(t.offsetScore!==r.offsetScore){return t.offsetScore-r.offsetScore}if(t.abbrScore!==r.abbrScore){return t.abbrScore-r.abbrScore}if(t.zone.population!==r.zone.population){return r.zone.population-t.zone.population}return r.zone.name.localeCompare(t.zone.name)}function addToGuesses(t,r){var o,i;arrayToInt(r);for(o=0;o<r.length;o++){i=r[o];p[i]=p[i]||{};p[i][t]=true}}function guessesForUserOffsets(t){var r=t.length,o={},i=[],a={},u,l,d,A;for(u=0;u<r;u++){d=t[u].offset;if(a.hasOwnProperty(d)){continue}A=p[d]||{};for(l in A){if(A.hasOwnProperty(l)){o[l]=true}}a[d]=true}for(u in o){if(o.hasOwnProperty(u)){i.push(c[u])}}return i}function rebuildGuess(){try{var t=Intl.DateTimeFormat().resolvedOptions().timeZone;if(t&&t.length>3){var r=c[normalizeName(t)];if(r){return r}logError("Moment Timezone found "+t+" from the Intl api, but did not have that data loaded.")}}catch(t){}var o=userOffsets(),i=o.length,a=guessesForUserOffsets(o),p=[],u,l,d;for(l=0;l<a.length;l++){u=new ZoneScore(getZone(a[l]),i);for(d=0;d<i;d++){u.scoreOffsetAt(o[d])}p.push(u)}p.sort(sortZoneScores);return p.length>0?p[0].zone.name:undefined}function guess(t){if(!u||t){u=rebuildGuess()}return u}function normalizeName(t){return(t||"").toLowerCase().replace(/\//g,"_")}function addZone(t){var r,i,a,p;if(typeof t==="string"Line truncated
//! moment.js
//! version : 2.30.1
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
//! license : MIT
//! momentjs.com
(function(t,o){true?r.exports=o():0})(this,(function(){"use strict";var o;function hooks(){return o.apply(null,arguments)}function setHookCallback(t){o=t}function isArray(t){return t instanceof Array||Object.prototype.toString.call(t)==="[object Array]"}function isObject(t){return t!=null&&Object.prototype.toString.call(t)==="[object Object]"}function hasOwnProp(t,r){return Object.prototype.hasOwnProperty.call(t,r)}function isObjectEmpty(t){if(Object.getOwnPropertyNames){return Object.getOwnPropertyNames(t).length===0}else{var r;for(r in t){if(hasOwnProp(t,r)){return false}}return true}}function isUndefined(t){return t===void 0}function isNumber(t){return typeof t==="number"||Object.prototype.toString.call(t)==="[object Number]"}function isDate(t){return t instanceof Date||Object.prototype.toString.call(t)==="[object Date]"}function map(t,r){var o=[],i,a=t.length;for(i=0;i<a;++i){o.push(r(t[i],i))}return o}function extend(t,r){for(var o in r){if(hasOwnProp(r,o)){t[o]=r[o]}}if(hasOwnProp(r,"toString")){t.toString=r.toString}if(hasOwnProp(r,"valueOf")){t.valueOf=r.valueOf}return t}function createUTC(t,r,o,i){return createLocalOrUTC(t,r,o,i,true).utc()}function defaultParsingFlags(){return{empty:false,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:false,invalidEra:null,invalidMonth:null,invalidFormat:false,userInvalidated:false,iso:false,parsedDateParts:[],era:null,meridiem:null,rfc2822:false,weekdayMismatch:false}}function getParsingFlags(t){if(t._pf==null){t._pf=defaultParsingFlags()}return t._pf}var i;if(Array.prototype.some){i=Array.prototype.some}else{i=function(t){var r=Object(this),o=r.length>>>0,i;for(i=0;i<o;i++){if(i in r&&t.call(this,r[i],i,r)){return true}}return false}}function isValid(t){var r=null,o=false,a=t._d&&!isNaN(t._d.getTime());if(a){r=getParsingFlags(t);o=i.call(r.parsedDateParts,(function(t){return t!=null}));a=r.overflow<0&&!r.empty&&!r.invalidEra&&!r.invalidMonth&&!r.invalidWeekday&&!r.weekdayMismatch&&!r.nullInput&&!r.invalidFormat&&!r.userInvalidated&&(!r.meridiem||r.meridiem&&o);if(t._strict){a=a&&r.charsLeftOver===0&&r.unusedTokens.length===0&&r.bigHour===undefined}}if(Object.isFrozen==null||!Object.isFrozen(t)){t._isValid=a}else{return a}return t._isValid}function createInvalid(t){var r=createUTC(NaN);if(t!=null){extend(getParsingFlags(r),t)}else{getParsingFlags(r).userInvalidated=true}return r}var a=hooks.momentProperties=[],c=false;function copyConfig(t,r){var o,i,c,p=a.length;if(!isUndefined(r._isAMomentObject)){t._isAMomentObject=r._isAMomentObject}if(!isUndefined(r._i)){t._i=r._i}if(!isUndefined(r._f)){t._f=r._f}if(!isUndefined(r._l)){t._l=r._l}if(!isUndefined(r._strict)){t._strict=r._strict}if(!isUndefined(r._tzm)){t._tzm=r._tzm}if(!isUndefined(r._isUTC)){t._isUTC=r._isUTC}if(!isUndefined(r._offset)){t._offset=r._offset}if(!isUndefined(r._pf)){t._pf=getParsingFlags(r)}if(!isUndefined(r._locale)){t._locale=r._locale}if(p>0){for(o=0;o<p;o++){i=a[o];c=r[i];if(!isUndefined(c)){t[i]=c}}}return t}function Moment(t){copyConfig(this,t);this._d=new Date(t._d!=null?t._d.getTime():NaN);if(!this.isValid()){this._d=new Date(NaN)}if(c===false){c=true;hooks.updateOffset(this);c=false}}function isMoment(t){return t instanceof Moment||t!=null&&t._isAMomentObject!=null}function warn(t){if(hooks.suppressDeprecationWarnings===false&&typeof console!=="undefined"&&console.warn){console.warn("Deprecation warning: "+t)}}function deprecate(t,r){var o=true;return extend((function(){if(hooks.deprecationHandler!=null){hooks.deprecationHandler(null,t)}if(o){var i=[],a,c,p,u=arguments.length;for(c=0;c<u;c++){a="";if(typeof arguments[c]==="object"){a+="\n["+c+"] ";for(p in arguments[0]){if(hasOwnProp(arguments[0],p)){a+=p+": "+arguments[0][p]+", "}}a=a.slice(0,-2)}else{a=arguments[c]}i.push(a)}warn(t+"\nArguments: "+Array.prototype.slice.call(i).join("")+"\n"+(new Error).stack);o=false}return r.apply(this,arguments)}),r)}var p={};function deprecateSimple(t,r){if(hooks.deprecationHandler!=null){hooks.deprecationHandler(t,r)}if(!p[t]){warn(r);p[t]=true}}hooks.suppressDeprecationWarnings=false;hooks.deprecationHandler=null;function isFunction(t){return typeof Function!=="undefined"&&t instanceof Function||Object.prototype.toString.call(t)==="[object Function]"}function set(t){var r,o;for(o in t){if(hasOwnProp(t,o)){r=t[o];if(isFunction(r)){this[o]=r}else{this["_"+o]=r}}}this._config=t;this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function mergeConfigs(t,r){var o=extend({},t),i;for(i in r){if(hasOwnProp(r,i)){if(isObject(t[i])&&isObject(r[i])){o[i]={};extend(o[i],t[i]);extend(o[i],r[i])}else if(r[i]!=null){o[i]=r[i]}else{delete o[i]}}}for(i in t){if(hasOwnProp(t,i)&&!hasOwnProp(r,i)&&isObject(t[i])){o[i]=extend({},o[i])}}return o}function Locale(t){if(t!=null){this.set(t)}}var u;if(Object.keys){u=Object.keys}else{u=function(t){var r,o=[];for(r in t){if(hasOwnProp(t,r)){o.push(r)}}return o}}var l={sLine truncated
//! moment.js
hooks.version="2.30.1";setHookCallback(createLocal);hooks.fn=Ke;hooks.min=min;hooks.max=max;hooks.now=now;hooks.utc=createUTC;hooks.unix=createUnix;hooks.months=listMonths;hooks.isDate=isDate;hooks.locale=getSetGlobalLocale;hooks.invalid=createInvalid;hooks.duration=createDuration;hooks.isMoment=isMoment;hooks.weekdays=listWeekdays;hooks.parseZone=createInZone;hooks.localeData=getLocale;hooks.isDuration=isDuration;hooks.monthsShort=listMonthsShort;hooks.weekdaysMin=listWeekdaysMin;hooks.defineLocale=defineLocale;hooks.updateLocale=updateLocale;hooks.locales=listLocales;hooks.weekdaysShort=listWeekdaysShort;hooks.normalizeUnits=normalizeUnits;hooks.relativeTimeRounding=getSetRelativeTimeRounding;hooks.relativeTimeThreshold=getSetRelativeTimeThreshold;hooks.calendarFormat=getCalendarFormat;hooks.prototype=Ke;hooks.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};return hooks}))},70744:t=>{var r=1e3;var o=r*60;var i=o*60;var a=i*24;var c=a*7;var p=a*365.25;t.exports=function(t,r){r=r||{};var o=typeof t;if(o==="string"&&t.length>0){return parse(t)}else if(o==="number"&&isFinite(t)){return r.long?fmtLong(t):fmtShort(t)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(t))};function parse(t){t=String(t);if(t.length>100){return}var u=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(t);if(!u){return}var l=parseFloat(u[1]);var d=(u[2]||"ms").toLowerCase();switch(d){case"years":case"year":case"yrs":case"yr":case"y":return l*p;case"weeks":case"week":case"w":return l*c;case"days":case"day":case"d":return l*a;case"hours":case"hour":case"hrs":case"hr":case"h":return l*i;case"minutes":case"minute":case"mins":case"min":case"m":return l*o;case"seconds":case"second":case"secs":case"sec":case"s":return l*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return l;default:return undefined}}function fmtShort(t){var c=Math.abs(t);if(c>=a){return Math.round(t/a)+"d"}if(c>=i){return Math.round(t/i)+"h"}if(c>=o){return Math.round(t/o)+"m"}if(c>=r){return Math.round(t/r)+"s"}return t+"ms"}function fmtLong(t){var c=Math.abs(t);if(c>=a){return plural(t,c,a,"day")}if(c>=i){return plural(t,c,i,"hour")}if(c>=o){return plural(t,c,o,"minute")}if(c>=r){return plural(t,c,r,"second")}return t+" ms"}function plural(t,r,o,i){var a=r>=o*1.5;return Math.round(t/o)+" "+i+(a?"s":"")}},60668:(t,r,o)=>{
/*!
* negotiator
* Copyright(c) 2012 Federico Romero
* Copyright(c) 2012-2014 Isaac Z. Schlueter
* Copyright(c) 2015 Douglas Christopher Wilson
* MIT Licensed
*/
var i=o(79168);var a=o(25111);var c=o(56008);var p=o(53672);t.exports=Negotiator;t.exports.Negotiator=Negotiator;function Negotiator(t){if(!(this instanceof Negotiator)){return new Negotiator(t)}this.request=t}Negotiator.prototype.charset=function charset(t){var r=this.charsets(t);return r&&r[0]};Negotiator.prototype.charsets=function charsets(t){return i(this.request.headers["accept-charset"],t)};Negotiator.prototype.encoding=function encoding(t,r){var o=this.encodings(t,r);return o&&o[0]};Negotiator.prototype.encodings=function encodings(t,r){var o=r||{};return a(this.request.headers["accept-encoding"],t,o.preferred)};Negotiator.prototype.language=function language(t){var r=this.languages(t);return r&&r[0]};Negotiator.prototype.languages=function languages(t){return c(this.request.headers["accept-language"],t)};Negotiator.prototype.mediaType=function mediaType(t){var r=this.mediaTypes(t);return r&&r[0]};Negotiator.prototype.mediaTypes=function mediaTypes(t){return p(this.request.headers.accept,t)};Negotiator.prototype.preferredCharset=Negotiator.prototype.charset;Negotiator.prototype.preferredCharsets=Negotiator.prototype.charsets;Negotiator.prototype.preferredEncoding=Negotiator.prototype.encoding;Negotiator.prototype.preferredEncodings=Negotiator.prototype.encodings;Negotiator.prototype.preferredLanguage=Negotiator.prototype.language;Negotiator.prototype.preferredLanguages=Negotiator.prototype.languages;Negotiator.prototype.preferredMediaType=Negotiator.prototype.mediaType;Negotiator.prototype.preferredMediaTypes=Negotiator.prototype.mediaTypes},79168:t=>{t.exports=preferredCharsets;t.exports.preferredCharsets=preferredCharsets;var r=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function parseAcceptCharset(t){var r=t.split(",");for(var o=0,i=0;o<r.length;o++){var a=parseCharset(r[o].trim(),o);if(a){r[i++]=a}}r.length=i;return r}function parseCharset(t,o){var i=r.exec(t);if(!i)return null;var a=i[1];var c=1;if(i[2]){var p=i[2].split(";");for(var u=0;u<p.length;u++){var l=p[u].trim().split("=");if(l[0]==="q"){c=parseFloat(l[1]);break}}}return{charset:a,q:c,i:o}}function getCharsetPriority(t,r,o){var i={o:-1,q:0,s:0};for(var a=0;a<r.length;a++){var c=specify(t,r[a],o);if(c&&(i.s-c.s||i.q-c.q||i.o-c.o)<0){i=c}}return i}function specify(t,r,o){var i=0;if(r.charset.toLowerCase()===t.toLowerCase()){i|=1}else if(r.charset!=="*"){return null}return{i:o,o:r.i,q:r.q,s:i}}function preferredCharsets(t,r){var o=parseAcceptCharset(t===undefined?"*":t||"");if(!r){return o.filter(isQuality).sort(compareSpecs).map(getFullCharset)}var i=r.map((function getPriority(t,r){return getCharsetPriority(t,o,r)}));return i.filter(isQuality).sort(compareSpecs).map((function getCharset(t){return r[i.indexOf(t)]}))}function compareSpecs(t,r){return r.q-t.q||r.s-t.s||t.o-r.o||t.i-r.i||0}function getFullCharset(t){return t.charset}function isQuality(t){return t.q>0}},25111:t=>{t.exports=preferredEncodings;t.exports.preferredEncodings=preferredEncodings;var r=/^\s*([^\s;]+)\s*(?:;(.*))?$/;function parseAcceptEncoding(t){var r=t.split(",");var o=false;var i=1;for(var a=0,c=0;a<r.length;a++){var p=parseEncoding(r[a].trim(),a);if(p){r[c++]=p;o=o||specify("identity",p);i=Math.min(i,p.q||1)}}if(!o){r[c++]={encoding:"identity",q:i,i:a}}r.length=c;return r}function parseEncoding(t,o){var i=r.exec(t);if(!i)return null;var a=i[1];var c=1;if(i[2]){var p=i[2].split(";");for(var u=0;u<p.length;u++){var l=p[u].trim().split("=");if(l[0]==="q"){c=parseFloat(l[1]);break}}}return{encoding:a,q:c,i:o}}function getEncodingPriority(t,r,o){var i={encoding:t,o:-1,q:0,s:0};for(var a=0;a<r.length;a++){var c=specify(t,r[a],o);if(c&&(i.s-c.s||i.q-c.q||i.o-c.o)<0){i=c}}return i}function specify(t,r,o){var i=0;if(r.encoding.toLowerCase()===t.toLowerCase()){i|=1}else if(r.encoding!=="*"){return null}return{encoding:t,i:o,o:r.i,q:r.q,s:i}}function preferredEncodings(t,r,o){var i=parseAcceptEncoding(t||"");var a=o?function comparator(t,r){if(t.q!==r.q){return r.q-t.q}var i=o.indexOf(t.encoding);var a=o.indexOf(r.encoding);if(i===-1&&a===-1){return r.s-t.s||t.o-r.o||t.i-r.i}if(i!==-1&&a!==-1){return i-a}return i===-1?1:-1}:compareSpecs;if(!r){return i.filter(isQuality).sort(a).map(getFullEncoding)}var c=r.map((function getPriority(t,r){return getEncodingPriority(t,i,r)}));return c.filter(isQuality).sort(a).map((function getEncoding(t){return r[c.indexOf(t)]}))}function compareSpecs(t,r){return r.q-t.q||r.s-t.s||t.o-r.o||t.i-r.i}function getFullEncoding(t){return t.encoding}function isQuality(t){return t.q>0}},56008:t=>{t.exports=preferredLanguages;t.exports.preferredLanguages=preferredLanguages;var r=/^\s*([^\s\-;]+)(?:-([^\s;]+))?\s*(?:;(.*))?$/;function parseAcceptLanguage(t){var r=t.split(",");for(var o=0,i=0;o<r.length;o++){var a=parseLanguage(r[o].trim(),o);if(a){r[i++]=a}}r.length=i;return r}function parseLanguage(t,o){var i=r.exec(t);if(!i)return null;var a=i[1];var c=i[2];var p=a;if(c)p+="-"+c;var u=1;if(i[3]){var l=i[3].split(";");for(var d=0;d<l.length;d++){var A=l[d].split(Line truncated
/*!
* Tmp
*
* Copyright (c) 2011-2017 KARASZI Istvan <github@spam.raszi.hu>
*
* MIT Licensed
*/const a=o(79896);const c=o(70857);const p=o(16928);const u=o(76982);const l={fs:a.constants,os:c.constants};const d="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",A=/XXXXXX/,b=3,h=(l.O_CREAT||l.fs.O_CREAT)|(l.O_EXCL||l.fs.O_EXCL)|(l.O_RDWR||l.fs.O_RDWR),M=c.platform()==="win32",g=l.EBADF||l.os.errno.EBADF,z=l.ENOENT||l.os.errno.ENOENT,O=448,y=384,C="exit",B=[],I=a.rmdirSync.bind(a);let R=false;function rimraf(t,r){return a.rm(t,{recursive:true},r)}function FN_RIMRAF_SYNC(t){return a.rmSync(t,{recursive:true})}function tmpName(t,r){const o=_parseArguments(t,r),i=o[0],c=o[1];_assertAndSanitizeOptions(i,(function(t,r){if(t)return c(t);let o=r.tries;(function _getUniqueName(){try{const t=_generateTmpName(r);a.stat(t,(function(r){if(!r){if(o-- >0)return _getUniqueName();return c(new Error("Could not get a unique tmp filename, max tries reached "+t))}c(null,t)}))}catch(t){c(t)}})()}))}function tmpNameSync(t){const r=_parseArguments(t),o=r[0];const i=_assertAndSanitizeOptionsSync(o);let c=i.tries;do{const t=_generateTmpName(i);try{a.statSync(t)}catch(r){return t}}while(c-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(t,r){const o=_parseArguments(t,r),i=o[0],c=o[1];tmpName(i,(function _tmpNameCreated(t,r){if(t)return c(t);a.open(r,h,i.mode||y,(function _fileCreated(t,o){if(t)return c(t);if(i.discardDescriptor){return a.close(o,(function _discardCallback(t){return c(t,r,undefined,_prepareTmpFileRemoveCallback(r,-1,i,false))}))}else{const t=i.discardDescriptor||i.detachDescriptor;c(null,r,o,_prepareTmpFileRemoveCallback(r,t?-1:o,i,false))}}))}))}function fileSync(t){const r=_parseArguments(t),o=r[0];const i=o.discardDescriptor||o.detachDescriptor;const c=tmpNameSync(o);let p=a.openSync(c,h,o.mode||y);if(o.discardDescriptor){a.closeSync(p);p=undefined}return{name:c,fd:p,removeCallback:_prepareTmpFileRemoveCallback(c,i?-1:p,o,true)}}function dir(t,r){const o=_parseArguments(t,r),i=o[0],c=o[1];tmpName(i,(function _tmpNameCreated(t,r){if(t)return c(t);a.mkdir(r,i.mode||O,(function _dirCreated(t){if(t)return c(t);c(null,r,_prepareTmpDirRemoveCallback(r,i,false))}))}))}function dirSync(t){const r=_parseArguments(t),o=r[0];const i=tmpNameSync(o);a.mkdirSync(i,o.mode||O);return{name:i,removeCallback:_prepareTmpDirRemoveCallback(i,o,true)}}function _removeFileAsync(t,r){const _handler=function(t){if(t&&!_isENOENT(t)){return r(t)}r()};if(0<=t[0])a.close(t[0],(function(){a.unlink(t[1],_handler)}));else a.unlink(t[1],_handler)}function _removeFileSync(t){let r=null;try{if(0<=t[0])a.closeSync(t[0])}catch(t){if(!_isEBADF(t)&&!_isENOENT(t))throw t}finally{try{a.unlinkSync(t[1])}catch(t){if(!_isENOENT(t))r=t}}if(r!==null){throw r}}function _prepareTmpFileRemoveCallback(t,r,o,i){const a=_prepareRemoveCallback(_removeFileSync,[r,t],i);const c=_prepareRemoveCallback(_removeFileAsync,[r,t],i,a);if(!o.keep)B.unshift(a);return i?a:c}function _prepareTmpDirRemoveCallback(t,r,o){const i=r.unsafeCleanup?rimraf:a.rmdir.bind(a);const c=r.unsafeCleanup?FN_RIMRAF_SYNC:I;const p=_prepareRemoveCallback(c,t,o);const u=_prepareRemoveCallback(i,t,o,p);if(!r.keep)B.unshift(p);return o?p:u}function _prepareRemoveCallback(t,r,o,i){let a=false;return function _cleanupCallback(c){if(!a){const p=i||_cleanupCallback;const u=B.indexOf(p);if(u>=0)B.splice(u,1);a=true;if(o||t===I||t===FN_RIMRAF_SYNC){return t(r)}else{return t(r,c||function(){})}}}}function _garbageCollector(){if(!R)return;while(B.length){try{B[0]()}catch(t){}}}function _randomChars(t){let r=[],o=null;try{o=u.randomBytes(t)}catch(r){o=u.pseudoRandomBytes(t)}for(let i=0;i<t;i++){r.push(d[o[i]%d.length])}return r.join("")}function _isUndefined(t){return typeof t==="undefined"}function _parseArguments(t,r){if(typeof t==="function"){return[{},t]}if(_isUndefined(t)){return[{},r]}const o={};for(const r of Object.getOwnPropertyNames(t)){o[r]=t[r]}return[o,r]}function _resolvePath(t,r,o){const i=p.isAbsolute(t)?t:p.join(r,t);a.stat(i,(function(t){if(t){a.realpath(p.dirname(i),(function(t,r){if(t)return o(t);o(null,p.join(r,p.basename(i)))}))}else{a.realpath(i,o)}}))}function _resolvePathSync(t,r){const o=p.isAbsolute(t)?t:p.join(r,t);try{a.statSync(o);return a.realpathSync(o)}catch(t){const r=a.realpathSync(p.dirname(o));return p.join(r,p.basename(o))}}function _generateTmpName(t){const r=t.tmpdir;if(!_isUndefined(t.name)){return p.join(r,t.dir,t.name)}if(!_isUndefined(t.template)){return p.join(r,t.dir,t.template).replace(A,_randomChars(6))}const o=[t.prefix?t.prefix:"tmp","-",process.pid,"-",_randomChars(12),t.postfix?"-"+t.postfix:""].join("");return p.join(r,t.dir,o)}function _assertOptionsBase(t){if(!_isUndefined(t.name)){const r=t.name;if(p.isAbsolute(r))throw new Error(`name option must not contain an absolute path, found "${r}".`);const o=p.basename(r);if(o===".."||o==="."||o!==r)throw new Error(`name option must not contain a path, found "${r}".`)}if(!_isUndefined(t.template)&&!t.template.match(A)){throw new Error(`Invalid teLine truncated
/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */;const escape=t=>t.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=t=>t.replace(/\r?\n|\r/g,"\r\n");const i=[];const a=new Uint8Array([13,10]);A=0;let c=false;for(const[r,p]of t){if(typeof p==="string"){const t=q.encode(o+`; name="${escape(normalizeLinefeeds(r))}"`+`\r\n\r\n${normalizeLinefeeds(p)}\r\n`);i.push(t);A+=t.byteLength}else{const t=q.encode(`${o}; name="${escape(normalizeLinefeeds(r))}"`+(p.name?`; filename="${escape(p.name)}"`:"")+"\r\n"+`Content-Type: ${p.type||"application/octet-stream"}\r\n\r\n`);i.push(t,p,a);if(typeof p.size==="number"){A+=t.byteLength+p.size+a.byteLength}else{c=true}}}const p=q.encode(`--${r}--\r\n`);i.push(p);A+=p.byteLength;if(c){A=null}d=t;l=async function*(){for(const t of i){if(t.stream){yield*t.stream()}else{yield t}}};b=`multipart/form-data; boundary=${r}`}else if(c(t)){d=t;A=t.size;if(t.type){b=t.type}}else if(typeof t[Symbol.asyncIterator]==="function"){if(r){throw new TypeError("keepalive")}if(i.isDisturbed(t)||t.locked){throw new TypeError("Response body object should not be disturbed or locked")}o=t instanceof ReadableStream?t:a(t)}if(typeof d==="string"||i.isBuffer(d)){A=Buffer.byteLength(d)}if(l!=null){let r;o=new ReadableStream({async start(){r=l(t)[Symbol.asyncIterator]()},async pull(t){const{value:i,done:a}=await r.next();if(a){queueMicrotask((()=>{t.close();t.byobRequest?.respond(0)}))}else{if(!y(o)){const r=new Uint8Array(i);if(r.byteLength){t.enqueue(r)}}}return t.desiredSize>0},async cancel(t){await r.return()},type:"bytes"})}const h={stream:o,source:d,length:A};return[h,b]}function safelyExtractBody(t,r=false){if(t instanceof ReadableStream){O(!i.isDisturbed(t),"The body has already been consumed.");O(!t.locked,"The stream is locked.")}return extractBody(t,r)}function cloneBody(t,r){const[o,i]=r.stream.tee();r.stream=o;return{stream:i,length:r.length,source:r.source}}function throwIfAborted(t){if(t.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(t){const r={blob(){return consumeBody(this,(t=>{let r=bodyMimeType(this);if(r===null){r=""}else if(r){r=I(r)}return new z([t],{type:r})}),t)},arrayBuffer(){return consumeBody(this,(t=>new Uint8Array(t).buffer),t)},text(){return consumeBody(this,b,t)},json(){return consumeBody(this,parseJSONFromBytes,t)},formData(){return consumeBody(this,(t=>{const r=bodyMimeType(this);if(r!==null){switch(r.essence){case"multipart/form-data":{const o=R(t,r);if(o==="failure"){throw new TypeError("Failed to parse body as FormData.")}const i=new h;i[M]=o;return i}case"application/x-www-form-urlencoded":{const r=new URLSearchParams(t.toString());const o=new h;for(const[t,i]of r){o.append(t,i)}return o}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),t)},bytes(){return consumeBody(this,(t=>new Uint8Array(t)),t)}};return r}function mixinBody(t){Object.assign(t.prototype,bodyMixinMethods(t))}async function consumeBody(t,r,o){g.brandCheck(t,o);if(bodyUnusable(t)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(t[M]);const i=l();const errorSteps=t=>i.reject(t);const successSteps=t=>{try{i.resolve(r(t))}catch(t){errorSteps(t)}};if(t[M].body==null){successSteps(Buffer.allocUnsafe(0));return i.promise}await d(t[M].body,successSteps,errorSteps);return i.promise}function bodyUnusable(t){const r=t[M].body;return r!=null&&(r.stream.locked||i.isDisturbed(r.stream))}function parseJSONFromBytes(t){return JSON.parse(b(t))}function bodyMimeType(t){const r=t[M].headersList;const o=A(r);if(o==="failure"){return null}return o}t.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:N,hasFinalizationRegistry:w,bodyUnusable:bodyUnusable}},4495:t=>{const r=["GET","HEAD","POST"];const o=new Set(r);const i=[101,204,205,304];const a=[301,302,303,307,308];const c=new Set(a);const p=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const u=new Set(p);const l=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const d=new Set(l);const A=["follow","manual","error"];const b=["GET","HEAD","OPTIONS","TRACE"];const h=new Set(b);const M=["navigate","same-origin","no-cors","cors"];const g=["omit","same-origin","include"];const z=["default","no-store","reload","no-cache","force-cLine truncated
/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */u[p-4]=o[0];u[p-3]=o[1];u[p-2]=o[2];u[p-1]=o[3];u[1]=c;if(c===126){u.writeUInt16BE(a,2)}else if(c===127){u[2]=u[3]=0;u.writeUIntBE(a,4,6)}u[1]|=128;for(let t=0;t<a;++t){u[p+t]=r[t]^o[t&3]}return u}}t.exports={WebsocketFrameSend:WebsocketFrameSend}},19469:(t,r,o)=>{const{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:a}=o(38522);const{isValidClientWindowBits:c}=o(98625);const p=Buffer.from([0,0,255,255]);const u=Symbol("kBuffer");const l=Symbol("kLength");class PerMessageDeflate{#ce;#e={};constructor(t){this.#e.serverNoContextTakeover=t.has("server_no_context_takeover");this.#e.serverMaxWindowBits=t.get("server_max_window_bits")}decompress(t,r,o){if(!this.#ce){let t=a;if(this.#e.serverMaxWindowBits){if(!c(this.#e.serverMaxWindowBits)){o(new Error("Invalid server_max_window_bits"));return}t=Number.parseInt(this.#e.serverMaxWindowBits)}this.#ce=i({windowBits:t});this.#ce[u]=[];this.#ce[l]=0;this.#ce.on("data",(t=>{this.#ce[u].push(t);this.#ce[l]+=t.length}));this.#ce.on("error",(t=>{this.#ce=null;o(t)}))}this.#ce.write(t);if(r){this.#ce.write(p)}this.#ce.flush((()=>{const t=Buffer.concat(this.#ce[u],this.#ce[l]);this.#ce[u].length=0;this.#ce[l]=0;o(null,t)}))}}t.exports={PerMessageDeflate:PerMessageDeflate}},81652:(t,r,o)=>{const{Writable:i}=o(57075);const a=o(34589);const{parserStates:c,opcodes:p,states:u,emptyBuffer:l,sentCloseFrameState:d}=o(20736);const{kReadyState:A,kSentClose:b,kResponse:h,kReceivedClose:M}=o(61216);const{channels:g}=o(42414);const{isValidStatusCode:z,isValidOpcode:O,failWebsocketConnection:y,websocketMessageReceived:C,utf8Decode:B,isControlFrame:I,isTextBinaryFrame:R,isContinuationFrame:S}=o(98625);const{WebsocketFrameSend:q}=o(3264);const{closeWebSocketConnection:w}=o(86897);const{PerMessageDeflate:N}=o(19469);class ByteParser extends i{#pe=[];#ue=0;#le=false;#T=c.INFO;#de={};#Ae=[];#fe;constructor(t,r){super();this.ws=t;this.#fe=r==null?new Map:r;if(this.#fe.has("permessage-deflate")){this.#fe.set("permessage-deflate",new N(r))}}_write(t,r,o){this.#pe.push(t);this.#ue+=t.length;this.#le=true;this.run(o)}run(t){while(this.#le){if(this.#T===c.INFO){if(this.#ue<2){return t()}const r=this.consume(2);const o=(r[0]&128)!==0;const i=r[0]&15;const a=(r[1]&128)===128;const u=!o&&i!==p.CONTINUATION;const l=r[1]&127;const d=r[0]&64;const A=r[0]&32;const b=r[0]&16;if(!O(i)){y(this.ws,"Invalid opcode received");return t()}if(a){y(this.ws,"Frame cannot be masked");return t()}if(d!==0&&!this.#fe.has("permessage-deflate")){y(this.ws,"Expected RSV1 to be clear.");return}if(A!==0||b!==0){y(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(u&&!R(i)){y(this.ws,"Invalid frame type was fragmented.");return}if(R(i)&&this.#Ae.length>0){y(this.ws,"Expected continuation frame");return}if(this.#de.fragmented&&u){y(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((l>125||u)&&I(i)){y(this.ws,"Control frame either too large or fragmented");return}if(S(i)&&this.#Ae.length===0&&!this.#de.compressed){y(this.ws,"Unexpected continuation frame");return}if(l<=125){this.#de.payloadLength=l;this.#T=c.READ_DATA}else if(l===126){this.#T=c.PAYLOADLENGTH_16}else if(l===127){this.#T=c.PAYLOADLENGTH_64}if(R(i)){this.#de.binaryType=i;this.#de.compressed=d!==0}this.#de.opcode=i;this.#de.masked=a;this.#de.fin=o;this.#de.fragmented=u}else if(this.#T===c.PAYLOADLENGTH_16){if(this.#ue<2){return t()}const r=this.consume(2);this.#de.payloadLength=r.readUInt16BE(0);this.#T=c.READ_DATA}else if(this.#T===c.PAYLOADLENGTH_64){if(this.#ue<8){return t()}const r=this.consume(8);const o=r.readUInt32BE(0);if(o>2**31-1){y(this.ws,"Received payload length > 2^31 bytes.");return}const i=r.readUInt32BE(4);this.#de.payloadLength=(o<<8)+i;this.#T=c.READ_DATA}else if(this.#T===c.READ_DATA){if(this.#ue<this.#de.payloadLength){return t()}const r=this.consume(this.#de.payloadLength);if(I(this.#de.opcode)){this.#le=this.parseControlFrame(r);this.#T=c.INFO}else{if(!this.#de.compressed){this.#Ae.push(r);if(!this.#de.fragmented&&this.#de.fin){const t=Buffer.concat(this.#Ae);C(this.ws,this.#de.binaryType,t);this.#Ae.length=0}this.#T=c.INFO}else{this.#fe.get("permessage-deflate").decompress(r,this.#de.fin,((r,o)=>{if(r){w(this.ws,1007,r.message,r.message.length);return}this.#Ae.push(o);if(!this.#de.fin){this.#T=c.INFO;this.#le=true;this.run(t);return}C(this.ws,this.#de.binaryType,Buffer.concat(this.#Ae));this.#le=true;this.#T=c.INFO;this.#Ae.length=0;this.run(t)}));this.#le=false;break}}}}}consume(t){if(t>this.#ue){throw new Error("Called consume() before buffers satiated.")}else if(t===0){return l}if(this.#pe[0].length===t){this.#ue-=this.#pe[0].length;return this.#pe.shift()}const r=Buffer.allocUnsafe(t);let o=0;while(o!==t){const i=this.#pe[0];const{length:a}=i;if(a+o===t){r.set(this.#pe.shift(),o);break}else if(a+o>t){r.set(i.subarray(0,t-o),o);this.#pe[0]=i.subarray(t-o);break}else{r.set(this.#pe.shift(),o);o+=i.length}}this.#ue-=t;return r}parseCloseBody(t){a(t.length!==1);let r;if(t.lengtLine truncated
/*!
* XRegExp.build 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2012-present MIT License
*/var d=function _default(t){var r="xregexp";var o=/(\()(?!\?)|\\([1-9]\d*)|\\[\s\S]|\[(?:[^\\\]]|\\[\s\S])*\]/g;var i=t.union([/\({{([\w$]+)}}\)|{{([\w$]+)}}/,o],"g",{conjunction:"or"});function deanchor(t){var r=/^(?:\(\?:\))*\^/;var o=/\$(?:\(\?:\))*$/;if(r.test(t)&&o.test(t)&&o.test(t.replace(/\\[\s\S]/g,""))){return t.replace(r,"").replace(o,"")}return t}function asXRegExp(o,i){var a=i?"x":"";return t.isRegExp(o)?o[r]&&o[r].captureNames?o:t(o.source,a):t(o,a)}function interpolate(r){return r instanceof RegExp?r:t.escape(r)}function reduceToSubpatternsObject(t,r,o){t["subpattern".concat(o)]=r;return t}function embedSubpatternAfter(t,r,o){var i=r<o.length-1;return t+(i?"{{subpattern".concat(r,"}}"):"")}t.tag=function(r){return function(o){var i,a;for(var c=arguments.length,p=new Array(c>1?c-1:0),d=1;d<c;d++){p[d-1]=arguments[d]}var A=(0,l["default"])(i=(0,u["default"])(p).call(p,interpolate)).call(i,reduceToSubpatternsObject,{});var b=(0,u["default"])(a=o.raw).call(a,embedSubpatternAfter).join("");return t.build(b,A,r)}};t.build=function(a,u,l){l=l||"";var d=(0,p["default"])(l).call(l,"x");var A=/^\(\?([\w$]+)\)/.exec(a);if(A){l=t._clipDuplicates(l+A[1])}var b={};for(var h in u){if(u.hasOwnProperty(h)){var M=asXRegExp(u[h],d);b[h]={pattern:deanchor(M.source),names:M[r].captureNames||[]}}}var g=asXRegExp(a,d);var z=0;var O;var y=0;var C=[0];var B=g[r].captureNames||[];var I=g.source.replace(i,(function(t,r,i,a,p){var u=r||i;var l;var d;var A;if(u){var h;if(!b.hasOwnProperty(u)){throw new ReferenceError("Undefined property ".concat(t))}if(r){l=B[y];C[++y]=++z;d="(?<".concat(l||u,">")}else{d="(?:"}O=z;var M=b[u].pattern.replace(o,(function(t,r,o){if(r){l=b[u].names[z-O];++z;if(l){return"(?<".concat(l,">")}}else if(o){A=+o-1;return b[u].names[A]?"\\k<".concat(b[u].names[A],">"):"\\".concat(+o+O)}return t}));return(0,c["default"])(h="".concat(d)).call(h,M,")")}if(a){l=B[y];C[++y]=++z;if(l){return"(?<".concat(l,">")}}else if(p){A=+p-1;return B[A]?"\\k<".concat(B[A],">"):"\\".concat(C[+p])}return t}));return t(I,l)}};r["default"]=d;t.exports=r.default},53938:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(17012));var p=i(o(45492));var u=i(o(73157));
/*!
* XRegExp.matchRecursive 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2009-present MIT License
*/var l=function _default(t){function row(t,r,o,i){return{name:t,value:r,start:o,end:i}}t.matchRecursive=function(r,o,i,a,l){a=a||"";l=l||{};var d=(0,u["default"])(a).call(a,"g");var A=(0,u["default"])(a).call(a,"y");var b=a.replace(/y/g,"");var h=l,M=h.escapeChar;var g=l.valueNames;var z=[];var O=0;var y=0;var C=0;var B=0;var I;var R;var S;var q;var w;o=t(o,b);i=t(i,b);if(M){var N,v;if(M.length>1){throw new Error("Cannot use more than one escape character")}M=t.escape(M);w=new RegExp((0,p["default"])(N=(0,p["default"])(v="(?:".concat(M,"[\\S\\s]|(?:(?!")).call(v,t.union([o,i],"",{conjunction:"or"}).source,")[^")).call(N,M,"])+)+"),a.replace(/[^imu]+/g,""))}while(true){if(M){C+=(t.exec(r,w,C,"sticky")||[""])[0].length}S=t.exec(r,o,C);q=t.exec(r,i,C);if(S&&q){if(S.index<=q.index){q=null}else{S=null}}if(S||q){y=(S||q).index;C=y+(S||q)[0].length}else if(!O){break}if(A&&!O&&y>B){break}if(S){if(!O){I=y;R=C}++O}else if(q&&O){if(! --O){if(g){if(g[0]&&I>B){z.push(row(g[0],(0,c["default"])(r).call(r,B,I),B,I))}if(g[1]){z.push(row(g[1],(0,c["default"])(r).call(r,I,R),I,R))}if(g[2]){z.push(row(g[2],(0,c["default"])(r).call(r,R,y),R,y))}if(g[3]){z.push(row(g[3],(0,c["default"])(r).call(r,y,C),y,C))}}else{z.push((0,c["default"])(r).call(r,R,y))}B=C;if(!d){break}}}else{throw new Error("Unbalanced delimiter found in string")}if(y===C){++C}}if(d&&!A&&g&&g[0]&&r.length>B){z.push(row(g[0],(0,c["default"])(r).call(r,B),B,r.length))}return z}};r["default"]=l;t.exports=r.default},24594:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(28187));var p=i(o(28708));var u=i(o(79285));var l=i(o(81098));var d=i(o(66300));var A=i(o(17012));var b=i(o(73157));var h=i(o(45492));var M=i(o(60167));function _createForOfIteratorHelper(t,r){var o;if(typeof l["default"]==="undefined"||(0,u["default"])(t)==null){if((0,p["default"])(t)||(o=_unsupportedIterableToArray(t))||r&&t&&typeof t.length==="number"){if(o)t=o;var i=0;var a=function F(){};return{s:a,n:function n(){if(i>=t.length)return{done:true};return{done:false,value:t[i++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d=true,A=false,b;return{s:function s(){o=(0,c["default"])(t)},n:function n(){var t=o.next();d=t.done;return t},e:function e(t){A=true;b=t},f:function f(){try{if(!d&&o["return"]!=null)o["return"]()}finally{if(A)throw b}}}}function _unsupportedIterableToArray(t,r){var o;if(!t)return;if(typeof t==="string")return _arrayLikeToArray(t,r);var i=(0,A["default"])(o=Object.prototype.toString.call(t)).call(o,8,-1);if(i==="Object"&&t.constructor)i=t.constructor.name;if(i==="Map"||i==="Set")return(0,d["default"])(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}function _arrayLikeToArray(t,r){if(r==null||r>t.length)r=t.length;for(var o=0,i=new Array(r);o<r;o++){i[o]=t[o]}return i}
/*!
* XRegExp Unicode Base 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2008-present MIT License
*/var g=function _default(t){var r={};var o=t._dec;var i=t._hex;var a=t._pad4;function normalize(t){return t.replace(/[- _]+/g,"").toLowerCase()}function charCode(t){var r=/^\\[xu](.+)/.exec(t);return r?o(r[1]):t.charCodeAt(t[0]==="\\"?1:0)}function invertBmp(r){var o="";var c=-1;(0,M["default"])(t).call(t,r,/(\\x..|\\u....|\\?[\s\S])(?:-(\\x..|\\u....|\\?[\s\S]))?/,(function(t){var r=charCode(t[1]);if(r>c+1){o+="\\u".concat(a(i(c+1)));if(r>c+2){o+="-\\u".concat(a(i(r-1)))}}c=charCode(t[2]||t[1])}));if(c<65535){o+="\\u".concat(a(i(c+1)));if(c<65534){o+="-\\uFFFF"}}return o}function cacheInvertedBmp(t){var o="b!";return r[t][o]||(r[t][o]=invertBmp(r[t].bmp))}function buildAstral(t,o){var i=r[t];var a="";if(i.bmp&&!i.isBmpLast){var c;a=(0,h["default"])(c="[".concat(i.bmp,"]")).call(c,i.astral?"|":"")}if(i.astral){a+=i.astral}if(i.isBmpLast&&i.bmp){var p;a+=(0,h["default"])(p="".concat(i.astral?"|":"","[")).call(p,i.bmp,"]")}return o?"(?:(?!".concat(a,")(?:[\ud800-\udbff][\udc00-\udfff]|[\0-￿]))"):"(?:".concat(a,")")}function cacheAstral(t,o){var i=o?"a!":"a=";return r[t][i]||(r[t][i]=buildAstral(t,o))}t.addToken(/\\([pP])(?:{(\^?)([^}]*)}|([A-Za-z]))/,(function(t,o,i){var a="Invalid double negation ";var c="Unknown Unicode token ";var p="Unicode token missing data ";var u="Astral mode required for Unicode token ";var l="Astral mode does not support Unicode tokens within character classes";var d=t[1]==="P"||!!t[2];var A=(0,b["default"])(i).call(i,"A");var M=normalize(t[4]||t[3]);var g=r[M];if(t[1]==="P"&&t[2]){throw new SyntaxError(a+t[0])}if(!r.hasOwnProperty(M)){throw new SyntaxError(c+t[0])}if(g.inverseOf){M=normalize(g.inverseOf);if(!r.hasOwnProperty(M)){var z;throw new ReferenceError((0,h["default"])(z="".concat(p+t[0]," -> ")).call(z,g.inverseOf))}g=r[M];d=!d}if(!(g.bmp||A)){throw new SyntaxError(u+t[0])}if(A){if(o==="class"){throw new SyntaxError(l)}return cacheAstral(M,d)}return o==="class"?d?cacheInvertedBmp(M):g.bmp:"".concat((d?"[^":"[")+g.bmp,"]")}),{scope:"all",optionalFlags:"A",leadChar:"\\"});t.addUnicodeData=function(o){var i="Unicode token requires name";var a="Unicode token has no character data ";var c=_createForOfIteratorHelper(o),p;try{for(c.s();!(p=c.n()).done;){var u=p.value;if(!u.name){throw new Error(i)}if(!(u.inverseOf||u.bmp||u.astral)){throw new Error(a+u.name)}r[normalize(u.name)]=u;if(u.alias){r[normalize(u.alias)]=u}}}catch(t){c.e(t)}finally{c.f()}t.cache.flush("patterns")};t._getUnicodeProperty=function(t){var o=normalize(t);return r[o]}};r["default"]=g;t.exports=r.default},65853:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(38657));
/*!
* XRegExp Unicode Blocks 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/var p=function _default(t){if(!t.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Blocks")}t.addUnicodeData(c["default"])};r["default"]=p;t.exports=r.default},87167:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(4219));
/*!
* XRegExp Unicode Categories 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/var p=function _default(t){if(!t.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Categories")}t.addUnicodeData(c["default"])};r["default"]=p;t.exports=r.default},53682:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(73862));
/*!
* XRegExp Unicode Properties 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2012-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/var p=function _default(t){if(!t.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Properties")}var r=c["default"];r.push({name:"Assigned",inverseOf:"Cn"});t.addUnicodeData(r)};r["default"]=p;t.exports=r.default},57387:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(77103));
/*!
* XRegExp Unicode Scripts 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2010-present MIT License
* Unicode data by Mathias Bynens <mathiasbynens.be>
*/var p=function _default(t){if(!t.addUnicodeData){throw new ReferenceError("Unicode Base must be loaded before Unicode Scripts")}t.addUnicodeData(c["default"])};r["default"]=p;t.exports=r.default},63897:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(1240));var p=i(o(11577));var u=i(o(53938));var l=i(o(24594));var d=i(o(65853));var A=i(o(87167));var b=i(o(53682));var h=i(o(57387));(0,p["default"])(c["default"]);(0,u["default"])(c["default"]);(0,l["default"])(c["default"]);(0,d["default"])(c["default"]);(0,A["default"])(c["default"]);(0,b["default"])(c["default"]);(0,h["default"])(c["default"]);var M=c["default"];r["default"]=M;t.exports=r.default},1240:(t,r,o)=>{var i=o(91901);var a=o(96141);a(r,"__esModule",{value:true});r["default"]=void 0;var c=i(o(28187));var p=i(o(28708));var u=i(o(79285));var l=i(o(81098));var d=i(o(66300));var A=i(o(45492));var b=i(o(70738));var h=i(o(89756));var M=i(o(77768));var g=i(o(60167));var z=i(o(73157));var O=i(o(76115));var y=i(o(17012));var C=i(o(77764));var B=i(o(89505));function _createForOfIteratorHelper(t,r){var o;if(typeof l["default"]==="undefined"||(0,u["default"])(t)==null){if((0,p["default"])(t)||(o=_unsupportedIterableToArray(t))||r&&t&&typeof t.length==="number"){if(o)t=o;var i=0;var a=function F(){};return{s:a,n:function n(){if(i>=t.length)return{done:true};return{done:false,value:t[i++]}},e:function e(t){throw t},f:a}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var d=true,A=false,b;return{s:function s(){o=(0,c["default"])(t)},n:function n(){var t=o.next();d=t.done;return t},e:function e(t){A=true;b=t},f:function f(){try{if(!d&&o["return"]!=null)o["return"]()}finally{if(A)throw b}}}}function _unsupportedIterableToArray(t,r){var o;if(!t)return;if(typeof t==="string")return _arrayLikeToArray(t,r);var i=(0,y["default"])(o=Object.prototype.toString.call(t)).call(o,8,-1);if(i==="Object"&&t.constructor)i=t.constructor.name;if(i==="Map"||i==="Set")return(0,d["default"])(t);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return _arrayLikeToArray(t,r)}function _arrayLikeToArray(t,r){if(r==null||r>t.length)r=t.length;for(var o=0,i=new Array(r);o<r;o++){i[o]=t[o]}return i}
/*!
* XRegExp 4.4.1
* <xregexp.com>
* Steven Levithan (c) 2007-present MIT License
*/var I="xregexp";var R={astral:false,namespacing:false};var S={exec:RegExp.prototype.exec,test:RegExp.prototype.test,match:String.prototype.match,replace:String.prototype.replace,split:String.prototype.split};var q={};var w={};var N={};var v=[];var T="default";var W="class";var L={default:/\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|\(\?(?:[:=!]|<[=!])|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/,class:/\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u(?:[\dA-Fa-f]{4}|{[\dA-Fa-f]+})|c[A-Za-z]|[\s\S])|[\s\S]/};var _=/\$(?:{([\w$]+)}|<([\w$]+)>|(\d\d?|[\s\S]))/g;var x=S.exec.call(/()??/,"")[1]===undefined;var k=(0,B["default"])(/x/)!==undefined;var Q={},D=Q.toString;function hasNativeFlag(t){var r=true;try{new RegExp("",t);if(t==="y"){var o=function(){return"gy"}();var i=".a".replace(new RegExp("a",o),".")==="..";if(i){r=false}}}catch(t){r=false}return r}var P=hasNativeFlag("u");var U=hasNativeFlag("y");var H={g:true,i:true,m:true,u:P,y:U};function augment(t,r,o,i,a){var c;t[I]={captureNames:r};if(a){return t}if(t.__proto__){t.__proto__=XRegExp.prototype}else{for(var p in XRegExp.prototype){t[p]=XRegExp.prototype[p]}}t[I].source=o;t[I].flags=i?(0,C["default"])(c=i.split("")).call(c).join(""):i;return t}function clipDuplicates(t){return S.replace.call(t,/([\s\S])(?=[\s\S]*\1)/g,"")}function copyRegex(t,r){var o;if(!XRegExp.isRegExp(t)){throw new TypeError("Type RegExp expected")}var i=t[I]||{};var a=getNativeFlags(t);var c="";var p="";var u=null;var l=null;r=r||{};if(r.removeG){p+="g"}if(r.removeY){p+="y"}if(p){a=S.replace.call(a,new RegExp("[".concat(p,"]+"),"g"),"")}if(r.addG){c+="g"}if(r.addY){c+="y"}if(c){a=clipDuplicates(a+c)}if(!r.isInternalOnly){if(i.source!==undefined){u=i.source}if((0,B["default"])(i)!=null){l=c?clipDuplicates((0,B["default"])(i)+c):(0,B["default"])(i)}}t=augment(new RegExp(r.source||t.source,a),hasNamedCapture(t)?(0,y["default"])(o=i.captureNames).call(o,0):null,u,l,r.isInternalOnly);return t}function dec(t){return(0,O["default"])(t,16)}function getContextualTokenSeparator(t,r,o){if(t.input[t.index-1]==="("||t.input[t.index+t[0].length]===")"||t.input[t.index-1]==="|"||t.input[t.index+t[0].length]==="|"||t.index<1||t.index+t[0].length>=t.input.length||S.test.call(/^\(\?[:=!]/,t.input.substr(t.index-3,3))||isQuantifierNext(t.input,t.index+t[0].length,o)){return""}return"(?:)"}function getNativeFlags(t){return k?(0,B["default"])(t):S.exec.call(/\/([a-z]*)$/i,RegExp.prototype.toString.call(t))[1]}function hasNamedCapture(t){return!!(t[I]&&t[I].captureNames)}function hex(t){return(0,O["default"])(t,10).toString(16)}function isQuantifierNext(t,r,o){var i="\\(\\?#[^)]*\\)";var a="#[^#\\n]*";var c="[?*+]|{\\d+(?:,\\d*)?}";return S.test.call((0,z["default"])(o).call(o,"x")?/^(?:\s|#[^#\n]*|\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/:/^(?:\(\?#[^)]*\))*(?:[?*+]|{\d+(?:,\d*)?})/,(0,y["default"])(t).call(t,r))}function isType(t,r){return D.call(t)==="[object ".concat(r,"]")}function pad4(t){while(t.length<4){t="0".concat(t)}return t}function prepareFlags(t,r){if(clipDuplicates(r)!==r){throw new SyntaxError("Invalid duplicate regex flag ".concat(r))}t=S.replace.call(t,/^\(\?([\w$]+)\)/,(function(t,o){if(S.test.call(/[gy]/,o)){throw new SyntaxError("Cannot use flag g or y in mode modifier ".concat(t))}r=clipDuplicates(r+o);return""}));var o=_createForOfIteratorHelper(r),i;try{for(o.s();!(i=o.n()).done;){var a=i.value;if(!H[a]){throw new SyntaxError("Unknown regex flag ".concat(a))}}}catch(t){o.e(t)}finally{o.f()}return{pattern:t,flags:r}}function prepareOptions(t){var r={};if(isType(t,"String")){(0,g["default"])(XRegExp).call(XRegExp,t,/[^\s,]+/,(function(t){r[t]=true}));return r}return t}function registerFlag(t){if(!/^[\w$]$/.test(t)){throw new Error("Flag must be a single character A-Za-z0-9_$")}H[t]=true}function runTokens(t,r,o,i,a){var c=v.length;var p=t[o];var u=null;var l;var d;while(c--){d=v[c];if(d.leadChar&&d.leadChar!==p||d.scope!==i&&d.scope!=="all"||d.flag&&!(0,z["default"])(r).call(r,d.flag)){continue}l=XRegExp.exec(t,d.regex,o,"sticky");if(l){u={matchLength:l[0].length,output:d.handler.call(a,l,i,r),reparse:d.reparse};break}}return u}function setAstral(t){R.astral=t}function setNamespacing(t){R.namespacing=t}function toObject(t){if(t==null){throw new TypeError("Cannot convert null or undefined to object")}return t}function XRegExp(t,r){if(XRegExp.isRegExp(t)){if(r!==undefined){throw new TypeError("Cannot supply flags when copying a RegExp")}return copyRegex(t)}t=t===undefined?"":String(t);r=r===undefined?"":String(r);if(XRegExp.isInstalled("astral")&&!(0,z["default"])(r).call(r,"A")){r+="A"}if(!N[t]){N[t]={}}if(!N[t][r]){var o={hasNamedCapture:false,captureNames:[]};var i=T;var a="";var c=0;var p;var u=prepareFlags(t,r);var l=u.pattern;var d=(0,B["default"])(u);while(c<l.length){do{p=runTokens(l,d,c,i,o);if(p&&p.reparse){l=(0,y["default"])(l).call(l,0,c)+p.output+(0,y["default"])(l).call(l,c+p.matchLength)}}while(p&&p.reparsLine truncated
/* v8 ignore else -- @preserve -- Bug with vitest coverage where it sees an else branch that doesn't exist */if("response"in o){this.response=o.response}const i=Object.assign({},o.request);if(o.request.headers.authorization){i.headers=Object.assign({},o.request.headers,{authorization:o.request.headers.authorization.replace(/(?<! ) .*$/," [REDACTED]")})}i.url=i.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=i}}var bf="10.0.8";var hf={headers:{"user-agent":`octokit-request.js/${bf} ${getUserAgent()}`}};function dist_bundle_isPlainObject(t){if(typeof t!=="object"||t===null)return false;if(Object.prototype.toString.call(t)!=="[object Object]")return false;const r=Object.getPrototypeOf(t);if(r===null)return true;const o=Object.prototype.hasOwnProperty.call(r,"constructor")&&r.constructor;return typeof o==="function"&&o instanceof o&&Function.prototype.call(o)===Function.prototype.call(t)}var noop=()=>"";async function fetchWrapper(t){const r=t.request?.fetch||globalThis.fetch;if(!r){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}const o=t.request?.log||console;const i=t.request?.parseSuccessResponseBody!==false;const a=dist_bundle_isPlainObject(t.body)||Array.isArray(t.body)?JSONStringify(t.body):t.body;const c=Object.fromEntries(Object.entries(t.headers).map((([t,r])=>[t,String(r)])));let p;try{p=await r(t.url,{method:t.method,body:a,redirect:t.request?.redirect,headers:c,signal:t.request?.signal,...t.body&&{duplex:"half"}})}catch(r){let o="Unknown Error";if(r instanceof Error){if(r.name==="AbortError"){r.status=500;throw r}o=r.message;if(r.name==="TypeError"&&"cause"in r){if(r.cause instanceof Error){o=r.cause.message}else if(typeof r.cause==="string"){o=r.cause}}}const i=new RequestError(o,500,{request:t});i.cause=r;throw i}const u=p.status;const l=p.url;const d={};for(const[t,r]of p.headers){d[t]=r}const A={url:l,status:u,headers:d,data:""};if("deprecation"in d){const r=d.link&&d.link.match(/<([^<>]+)>; rel="deprecation"/);const i=r&&r.pop();o.warn(`[@octokit/request] "${t.method} ${t.url}" is deprecated. It is scheduled to be removed on ${d.sunset}${i?`. See ${i}`:""}`)}if(u===204||u===205){return A}if(t.method==="HEAD"){if(u<400){return A}throw new RequestError(p.statusText,u,{response:A,request:t})}if(u===304){A.data=await getResponseData(p);throw new RequestError("Not modified",u,{response:A,request:t})}if(u>=400){A.data=await getResponseData(p);throw new RequestError(toErrorMessage(A.data),u,{response:A,request:t})}A.data=i?await getResponseData(p):p.body;return A}async function getResponseData(t){const r=t.headers.get("content-type");if(!r){return t.text().catch(noop)}const o=(0,rf.xL)(r);if(isJSONResponse(o)){let r="";try{r=await t.text();return JSONParse(r)}catch(t){return r}}else if(o.type.startsWith("text/")||o.parameters.charset?.toLowerCase()==="utf-8"){return t.text().catch(noop)}else{return t.arrayBuffer().catch((
/* v8 ignore next -- @preserve */
()=>new ArrayBuffer(0)))}}function isJSONResponse(t){return t.type==="application/json"||t.type==="application/scim+json"}function toErrorMessage(t){if(typeof t==="string"){return t}if(t instanceof ArrayBuffer){return"Unknown error"}if("message"in t){const r="documentation_url"in t?` - ${t.documentation_url}`:"";return Array.isArray(t.errors)?`${t.message}: ${t.errors.map((t=>JSON.stringify(t))).join(", ")}${r}`:`${t.message}${r}`}return`Unknown error: ${JSON.stringify(t)}`}function dist_bundle_withDefaults(t,r){const o=t.defaults(r);const newApi=function(t,r){const i=o.merge(t,r);if(!i.request||!i.request.hook){return fetchWrapper(o.parse(i))}const request2=(t,r)=>fetchWrapper(o.parse(o.merge(t,r)));Object.assign(request2,{endpoint:o,defaults:dist_bundle_withDefaults.bind(null,o)});return i.request.hook(request2,i)};return Object.assign(newApi,{endpoint:o,defaults:dist_bundle_withDefaults.bind(null,o)})}var Mf=dist_bundle_withDefaults(tf,hf);
/* v8 ignore next -- @preserve */
/* v8 ignore else -- @preserve */var mf="0.0.0-development";function _buildMessageForResponseErrors(t){return`Request failed due to following response errors:\n`+t.errors.map((t=>` - ${t.message}`)).join("\n")}var gf=class extends Error{constructor(t,r,o){super(_buildMessageForResponseErrors(o));this.request=t;this.headers=r;this.response=o;this.errors=o.errors;this.data=o.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}name="GraphqlResponseError";errors;data};var zf=["method","baseUrl","url","headers","request","query","mediaType","operationName"];var Of=["query","method","url"];var yf=/\/api\/v3\/?$/;function graphql(t,r,o){if(o){if(typeof r==="string"&&"query"in o){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const t in o){if(!Of.includes(t))continue;return Promise.reject(new Error(`[@octokit/graphql] "${t}" cannot be used as variable name`))}}const i=typeof r==="string"?Object.assign({query:r},o):r;const a=Object.keys(i).reduce(((t,r)=>{if(zf.includes(r)){t[r]=i[r];return t}if(!t.variables){t.variables={}}t.variables[r]=i[r];return t}),{});const c=i.baseUrl||t.endpoint.DEFAULTS.baseUrl;if(yf.test(c)){a.url=c.replace(yf,"/api/graphql")}return t(a).then((t=>{if(t.data.errors){const r={};for(const o of Object.keys(t.headers)){r[o]=t.headers[o]}throw new gf(a,r,t.data)}return t.data.data}))}function graphql_dist_bundle_withDefaults(t,r){const o=t.defaults(r);const newApi=(t,r)=>graphql(o,t,r);return Object.assign(newApi,{defaults:graphql_dist_bundle_withDefaults.bind(null,o),endpoint:o.endpoint})}var Ef=graphql_dist_bundle_withDefaults(Mf,{headers:{"user-agent":`octokit-graphql.js/${mf} ${getUserAgent()}`},method:"POST",url:"/graphql"});function withCustomRequest(t){return graphql_dist_bundle_withDefaults(t,{method:"POST",url:"/graphql"})}var Cf="(?:[a-zA-Z0-9_-]+)";var Bf="\\.";var If=new RegExp(`^${Cf}${Bf}${Cf}${Bf}${Cf}$`);var Rf=If.test.bind(If);async function auth(t){const r=Rf(t);const o=t.startsWith("v1.")||t.startsWith("ghs_");const i=t.startsWith("ghu_");const a=r?"app":o?"installation":i?"user-to-server":"oauth";return{type:"token",token:t,tokenType:a}}function withAuthorizationPrefix(t){if(t.split(/\./).length===3){return`bearer ${t}`}return`token ${t}`}async function hook(t,r,o,i){const a=r.endpoint.merge(o,i);a.headers.authorization=withAuthorizationPrefix(t);return r(a)}var Sf=function createTokenAuth2(t){if(!t){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof t!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}t=t.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,t),{hook:hook.bind(null,t)})};const qf="7.0.6";const dist_src_noop=()=>{};const wf=console.warn.bind(console);const Nf=console.error.bind(console);function createLogger(t={}){if(typeof t.debug!=="function"){t.debug=dist_src_noop}if(typeof t.info!=="function"){t.info=dist_src_noop}if(typeof t.warn!=="function"){t.warn=wf}if(typeof t.error!=="function"){t.error=Nf}return t}const vf=`octokit-core.js/${qf} ${getUserAgent()}`;class Octokit{static VERSION=qf;static defaults(t){const r=class extends(this){constructor(...r){const o=r[0]||{};if(typeof t==="function"){super(t(o));return}super(Object.assign({},t,o,o.userAgent&&t.userAgent?{userAgent:`${o.userAgent} ${t.userAgent}`}:null))}};return r}static plugins=[];static plugin(...t){const r=this.plugins;const o=class extends(this){static plugins=r.concat(t.filter((t=>!r.includes(t))))};return o}constructor(t={}){const r=new JA.Collection;const o={baseUrl:Mf.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},t.request,{hook:r.bind(null,"request")}),mediaType:{previews:[],format:""}};o.headers["user-agent"]=t.userAgent?`${t.userAgent} ${vf}`:vf;if(t.baseUrl){o.baseUrl=t.baseUrl}if(t.previews){o.mediaType.previews=t.previews}if(t.timeZone){o.headers["time-zone"]=t.timeZone}this.request=Mf.defaults(o);this.graphql=withCustomRequest(this.request).defaults(o);this.log=createLogger(t.log);this.hook=r;if(!t.authStrategy){if(!t.auth){this.auth=async()=>({type:"unauthenticated"})}else{const o=Sf(t.auth);r.wrap("request",o.hook);this.auth=o}}else{const{authStrategy:o,...i}=t;const a=o(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:i},t.auth));r.wrap("request",a.hook);this.auth=a}const i=this.constructor;for(let r=0;r<i.plugins.length;++r){Object.assign(this,i.plugins[r](this,t))}}request;graphql;log;hook;auth}const Tf="17.0.0";const Wf={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/{repositoLine truncated
//# sourceMappingURL=index.js.map
Generated Vendored
-1
View File
@@ -1 +0,0 @@
{"version":3,"file":"index.js","names":["__awaiter","this","thisArg","_arguments","P","generator","adopt","value","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","then","apply","Object","defineProperty","exports","ClientStreamingCall","constructor","method","requestHeaders","request","headers","response","status","trailers","requests","onfulfilled","onrejected","promiseFinished","reason","all","Deferred","DeferredState","preventUnhandledRejectionWarning","_state","PENDING","_promise","_resolve","_reject","catch","_","state","promise","Error","toLowerCase","RESOLVED","REJECTED","resolvePending","val","rejectPending","DuplexStreamingCall","responses","__webpack_unused_export__","service_type_1","__webpack_require__","enumerable","get","ServiceType","reflection_info_1","readMethodOptions","readMethodOption","readServiceOption","rpc_error_1","RpcError","rpc_options_1","mergeRpcOptions","rpc_output_stream_1","RpcOutputStreamController","test_transport_1","TestTransport","deferred_1","duplex_streaming_call_1","client_streaming_call_1","server_streaming_call_1","ServerStreamingCall","unary_call_1","UnaryCall","rpc_interceptor_1","stackIntercept","stackDuplexStreamingInterceptors","stackClientStreamingInterceptors","stackServerStreamingInterceptors","stackUnaryInterceptors","server_call_context_1","ServerCallContextController","normalizeMethodInfo","runtime_1","service","_a","_b","_c","m","localName","lowerCamelCase","name","serverStreaming","clientStreaming","options","idempotency","undefined","methodName","extensionName","extensionType","methods","find","i","fromJson","optionVal","message","code","meta","super","setPrototypeOf","prototype","toString","l","push","serviceName","entries","length","k","v","join","kind","transport","input","_d","tail","mtd","inp","opt","unary","curr","interceptors","filter","interceptUnary","reverse","interceptServerStreaming","interceptClientStreaming","duplex","interceptDuplex","assertNever","defaults","o","copy","key","keys","jsonOptions","mergeJsonOptions","binaryOptions","mergeBinaryOptions","concat","a","into","c","Date","getTime","Array","isArray","_lis","nxt","msg","err","cmp","_closed","_itState","q","onNext","callback","addLis","onMessage","onError","onComplete","list","indexOf","splice","clearLis","values","closed","notifyNext","error","complete","assert","notifyMessage","notifyError","notifyComplete","pushIt","forEach","Symbol","asyncIterator","p","first","shift","deadline","sendResponseHeadersFn","defaultStatus","detail","_cancelled","_listeners","_sendRH","notifyCancelled","sendResponseHeaders","data","cancelled","onCancel","typeName","map","suppressUncaughtRejections","headerDelay","responseDelay","betweenResponseDelay","afterResponseDelay","sentMessages","lastInput","TestInputStream","sent","single","sendComplete","completed","promiseHeaders","defaultHeaders","promiseSingleResponse","r","O","create","is","streamResponses","stream","abort","messages","delay","promiseStatus","promiseTrailers","defaultTrailers","maybeSuppressUncaught","mergeOptions","headersPromise","responsePromise","statusPromise","trailersPromise","outputStream","responseStreamClosedPromise","responseHeader","responseTrailer","ms","aborted","id","setTimeout","addEventListener","ev","clearTimeout","_completed","_sent","send","inputMessage","delayMs","inputComplete","assertFloat32","assertUInt32","assertInt32","condition","FLOAT32_MAX","FLOAT32_MIN","UINT32_MAX","INT32_MAX","INT32_MIN","arg","Number","isInteger","isFinite","base64encode","base64decode","encTable","split","decTable","charCodeAt","base64Str","es","bytes","Uint8Array","bytePos","groupPos","b","subarray","base64","WireType","UnknownFieldHandler","symbol","for","onRead","fieldNo","wireType","container","no","onWrite","writer","tag","raw","uf","last","slice","assign","BinaryReader","binaryReadOptions","binary_format_contract_1","pb_long_1","goog_varint_1","defaultsRead","readUnknownField","readerFactory","buf","textDecoder","varint64","varint64read","uint32","varint32read","len","pos","view","DataView","buffer","byteOffset","byteLength","TextDecoder","fatal","ignoreBOM","skip","start","Varint","Bit64","Bit32","LengthDelimited","StartGroup","t","EndGroup","assertBounds","RangeError","int32","sint32","zze","int64","PbLong","uint64","PbULong","sint64","lo","hi","s","bool","fixed32","getUint32","sfixed32","getInt32","fixed64","sfixed64","float","getFloat32","double","getFloat64","string","decode","BinaryWriter","binaryWriteOptions","assert_1","defaultsWrite","writeUnknownFields","writerFactory","textEncoder","stack","TextEncoder","chunks","finish","offset","set","fork","chunk","prev","pop","type","varint32write","encode","setFloat32","setFloat64","setUint32","setInt32","long","from","varint64write","sign","listEnumNumbers","listEnumNames","listEnumValues","isEnumObject","hasOwnProperty","num","parseInt","isNaN","nam","enumObject","number","index","arr","int64toString","int64fromString","lowBits","highBits","mLine truncated
Generated Vendored
+5249 -1
View File
File diff suppressed because it is too large. Load diff
Generated Vendored
-3
View File
@@ -1,3 +0,0 @@
{
"type": "module"
}
-1
View File
@@ -1 +0,0 @@
(()=>{var e={296:e=>{var r=Object.prototype.toString;var n=typeof Buffer!=="undefined"&&typeof Buffer.alloc==="function"&&typeof Buffer.allocUnsafe==="function"&&typeof Buffer.from==="function";function isArrayBuffer(e){return r.call(e).slice(8,-1)==="ArrayBuffer"}function fromArrayBuffer(e,r,t){r>>>=0;var o=e.byteLength-r;if(o<0){throw new RangeError("'offset' is out of bounds")}if(t===undefined){t=o}else{t>>>=0;if(t>o){throw new RangeError("'length' is out of bounds")}}return n?Buffer.from(e.slice(r,r+t)):new Buffer(new Uint8Array(e.slice(r,r+t)))}function fromString(e,r){if(typeof r!=="string"||r===""){r="utf8"}if(!Buffer.isEncoding(r)){throw new TypeError('"encoding" must be a valid string encoding')}return n?Buffer.from(e,r):new Buffer(e,r)}function bufferFrom(e,r,t){if(typeof e==="number"){throw new TypeError('"value" argument must not be a number')}if(isArrayBuffer(e)){return fromArrayBuffer(e,r,t)}if(typeof e==="string"){return fromString(e,r)}return n?Buffer.from(e):new Buffer(e)}e.exports=bufferFrom},599:(e,r,n)=>{e=n.nmd(e);var t=n(927).SourceMapConsumer;var o=n(928);var i;try{i=n(896);if(!i.existsSync||!i.readFileSync){i=null}}catch(e){}var a=n(296);function dynamicRequire(e,r){return e.require(r)}var u=false;var s=false;var l=false;var c="auto";var p={};var f={};var g=/^data:application\/json[^,]+base64,/;var d=[];var h=[];function isInBrowser(){if(c==="browser")return true;if(c==="node")return false;return typeof window!=="undefined"&&typeof XMLHttpRequest==="function"&&!(window.require&&window.module&&window.process&&window.process.type==="renderer")}function hasGlobalProcessEventEmitter(){return typeof process==="object"&&process!==null&&typeof process.on==="function"}function globalProcessVersion(){if(typeof process==="object"&&process!==null){return process.version}else{return""}}function globalProcessStderr(){if(typeof process==="object"&&process!==null){return process.stderr}}function globalProcessExit(e){if(typeof process==="object"&&process!==null&&typeof process.exit==="function"){return process.exit(e)}}function handlerExec(e){return function(r){for(var n=0;n<e.length;n++){var t=e[n](r);if(t){return t}}return null}}var m=handlerExec(d);d.push((function(e){e=e.trim();if(/^file:/.test(e)){e=e.replace(/file:\/\/\/(\w:)?/,(function(e,r){return r?"":"/"}))}if(e in p){return p[e]}var r="";try{if(!i){var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);if(n.readyState===4&&n.status===200){r=n.responseText}}else if(i.existsSync(e)){r=i.readFileSync(e,"utf8")}}catch(e){}return p[e]=r}));function supportRelativeURL(e,r){if(!e)return r;var n=o.dirname(e);var t=/^\w+:\/\/[^\/]*/.exec(n);var i=t?t[0]:"";var a=n.slice(i.length);if(i&&/^\/\w\:/.test(a)){i+="/";return i+o.resolve(n.slice(i.length),r).replace(/\\/g,"/")}return i+o.resolve(n.slice(i.length),r)}function retrieveSourceMapURL(e){var r;if(isInBrowser()){try{var n=new XMLHttpRequest;n.open("GET",e,false);n.send(null);r=n.readyState===4?n.responseText:null;var t=n.getResponseHeader("SourceMap")||n.getResponseHeader("X-SourceMap");if(t){return t}}catch(e){}}r=m(e);var o=/(?:\/\/[@#][\s]*sourceMappingURL=([^\s'"]+)[\s]*$)|(?:\/\*[@#][\s]*sourceMappingURL=([^\s*'"]+)[\s]*(?:\*\/)[\s]*$)/gm;var i,a;while(a=o.exec(r))i=a;if(!i)return null;return i[1]}var v=handlerExec(h);h.push((function(e){var r=retrieveSourceMapURL(e);if(!r)return null;var n;if(g.test(r)){var t=r.slice(r.indexOf(",")+1);n=a(t,"base64").toString();r=e}else{r=supportRelativeURL(e,r);n=m(r)}if(!n){return null}return{url:r,map:n}}));function mapSourcePosition(e){var r=f[e.source];if(!r){var n=v(e.source);if(n){r=f[e.source]={url:n.url,map:new t(n.map)};if(r.map.sourcesContent){r.map.sources.forEach((function(e,n){var t=r.map.sourcesContent[n];if(t){var o=supportRelativeURL(r.url,e);p[o]=t}}))}}else{r=f[e.source]={url:null,map:null}}}if(r&&r.map&&typeof r.map.originalPositionFor==="function"){var o=r.map.originalPositionFor(e);if(o.source!==null){o.source=supportRelativeURL(r.url,o.source);return o}}return e}function mapEvalOrigin(e){var r=/^eval at ([^(]+) \((.+):(\d+):(\d+)\)$/.exec(e);if(r){var n=mapSourcePosition({source:r[2],line:+r[3],column:r[4]-1});return"eval at "+r[1]+" ("+n.source+":"+n.line+":"+(n.column+1)+")"}r=/^eval at ([^(]+) \((.+)\)$/.exec(e);if(r){return"eval at "+r[1]+" ("+mapEvalOrigin(r[2])+")"}return e}function CallSiteToString(){var e;var r="";if(this.isNative()){r="native"}else{e=this.getScriptNameOrSourceURL();if(!e&&this.isEval()){r=this.getEvalOrigin();r+=", "}if(e){r+=e}else{r+="<anonymous>"}var n=this.getLineNumber();if(n!=null){r+=":"+n;var t=this.getColumnNumber();if(t){r+=":"+t}}}var o="";var i=this.getFunctionName();var a=true;var u=this.isConstructor();var s=!(this.isToplevel()||u);if(s){var l=this.getTypeName();if(l==="[object Object]"){l="null"}var c=this.getMethodName();if(i){if(l&&i.indexOf(l)!=0){o+=l+"."}o+=i;if(c&&i.indexOf("."+c)!=i.length-c.length-1){o+=" [as "+c+"]"}}else{o+=l+"."+(c||"<anonymous>")}}else if(u){o+="new "+(i||"<aLine truncated
+13 -11
View File
@@ -4,10 +4,11 @@
"type": "module",
"main": "src/main.ts",
"scripts": {
"build": "ncc build --source-map --minify --license licenses.txt",
"build": "esbuild src/main.ts --bundle --platform=node --target=node24 --format=cjs --outfile=dist/index.cjs --sourcemap --minify --keep-names && yarn run license",
"lint": "eslint --max-warnings=0 .",
"format": "eslint --fix .",
"test": "vitest run"
"test": "vitest run",
"license": "generate-license-file --input package.json --output dist/licenses.txt --overwrite --ci --no-spinner --eol lf"
},
"repository": {
"type": "git",
@@ -22,17 +23,17 @@
],
"author": "Docker Inc.",
"license": "Apache-2.0",
"packageManager": "yarn@4.9.2",
"packageManager": "yarn@4.15.0",
"dependencies": {
"@actions/core": "^3.0.0",
"@actions/github": "^9.0.0",
"@docker/actions-toolkit": "^0.79.0",
"@actions/core": "^3.0.1",
"@actions/github": "^9.1.1",
"@docker/actions-toolkit": "^0.92.0",
"@renovate/pep440": "^1.0.0",
"csv-parse": "^6.1.0",
"handlebars": "^4.7.8",
"csv-parse": "^7.0.2",
"handlebars": "^4.7.9",
"moment": "^2.30.1",
"moment-timezone": "^0.6.0",
"semver": "^7.7.4"
"moment-timezone": "^0.6.3",
"semver": "^7.8.5"
},
"devDependencies": {
"@eslint/js": "^9.39.3",
@@ -40,13 +41,14 @@
"@types/semver": "^7.7.1",
"@typescript-eslint/eslint-plugin": "^8.56.1",
"@typescript-eslint/parser": "^8.56.1",
"@vercel/ncc": "^0.38.4",
"@vitest/coverage-v8": "^4.0.18",
"@vitest/eslint-plugin": "^1.6.9",
"dotenv": "^17.3.1",
"esbuild": "^0.28.0",
"eslint": "^9.39.3",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.5",
"generate-license-file": "^4.1.1",
"globals": "^17.3.0",
"prettier": "^3.8.1",
"typescript": "^5.9.3",
+1893 -321
View File
File diff suppressed because it is too large. Load diff