diff --git a/.gitignore b/.gitignore index d19f6ce3..d83b4300 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ temp-* # Build directories ./dist/ -!./dist/main.js -!./dist/main.js.map +!./dist/setup_cpp.js +!./dist/setup_cpp.js.map .parcel-cache exe \ No newline at end of file diff --git a/building/pack-exe.js b/building/pack-exe.js index f755717d..340b7d8c 100644 --- a/building/pack-exe.js +++ b/building/pack-exe.js @@ -27,7 +27,7 @@ function main() { return Promise.all( exes.map((exe) => exec( - `./node_modules/.bin/caxa --input ./dist --output ./exe/setup_cpp_${getPlatformName()}${exe} -- "{{caxa}}/node_modules/.bin/node${exe}" "{{caxa}}/main.js"` + `./node_modules/.bin/caxa --input ./dist --output ./exe/setup_cpp_${getPlatformName()}${exe} -- "{{caxa}}/node_modules/.bin/node${exe}" "{{caxa}}/setup_cpp.js"` ) ) ) diff --git a/dist/main.js.map b/dist/main.js.map deleted file mode 100644 index 40290a6b..00000000 --- a/dist/main.js.map +++ /dev/null @@ -1 +0,0 @@ -{"mappings":"qJAWSA,EAAOC,EAAMC,EAASC,GAM7B,GALkB,mBAAPD,IACTC,EAAKD,EACLA,EAAO,KAGJC,EAAI,CACP,GAAkB,mBAAPC,QACT,MAAM,IAAIC,UAAS,gCAGd,IAAID,SAAO,CAAWE,EAASC,KACpCP,EAAMC,EAAMC,GAAO,KAAkBM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,SAMhBC,GAAKT,EAAMC,GAAO,KAAkBM,EAAIC,KAElCD,IACS,WAAPA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,eClCKI,EAAUC,EAAkBC,EAAsBC,GAChE,IAAE,mBAAuBC,SAASC,QAAQC,UAAQ,OAGlD,GAAiB,iBAANC,GAAmB,MAAA,QACnBA,IAGX,MAAMC,EAAcC,EAAAC,IAAMC,KAAI,OAAO,CAAIC,SAAS,IAClD,OAAoB,OAAhBJ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,oBACVrN,GAAAqN,MAAWA,GACX1Q,QAAQuc,SAAW","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/exec.ts","src/utils/setup/sudo.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/setupBin.ts","src/cmake/cmake.ts","src/python/setup-python/src/utils.ts","src/python/setup-python/src/find-python.ts","src/python/setup-python/src/install-pypy.ts","src/python/python.ts","src/python/setup-python/src/find-pypy.ts","src/python/setup-python/src/install-python.ts","src/utils/http/validate_url.ts","src/utils/setup/setupPipPack.ts","src/utils/setup/version.ts","src/utils/setup/extract.ts","src/llvm/llvm.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/default_versions.ts","src/gcc/gcc.ts","src/main.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.5/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/subset.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/hasha@5.2.2/node_modules/hasha/index.js","src/msvc/msvc-dev-cmd/index.js","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/doxygen/doxygen.ts","src/cppcheck/cppcheck.ts"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","import { execFileSync } from \"child_process\"\nimport { dirname } from \"path\"\nimport which from \"which\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupBrew(_version: string, _setupCppDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n execFileSync(`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`, {\n stdio: \"inherit\",\n })\n binDir = \"/usr/local/bin/\"\n\n return { binDir }\n}\n",null,"let _issudo: boolean | undefined = undefined\n\nexport function isRoot(): boolean {\n if (_issudo !== undefined) {\n return _issudo\n }\n // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions, @typescript-eslint/no-unnecessary-condition\n _issudo = Boolean(process.env.CI) || process.getuid?.() === 0\n return _issudo\n}\n\nexport function mightSudo(command: string) {\n if (isRoot()) {\n return `sudo ${command}`\n }\n return command\n}\n","/* eslint-disable require-atomic-updates */\nimport { exec } from \"@actions/exec\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { mightSudo } from \"./sudo\"\n\nlet didUpdate: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repository: boolean | string = true\n): Promise {\n const apt = mightSudo(\"apt-get\")\n\n let exit = 0\n\n if (typeof repository === \"string\") {\n exit = await exec(mightSudo(\"add-apt-repository\"), [\"--update\", repository])\n }\n\n if (!didUpdate || repository === true) {\n await exec(apt, [\"update\"])\n didUpdate = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n exit = await exec(apt, [\"install\", `${name}=${version}`])\n } catch {\n exit = await exec(apt, [\"install\", `${name}-${version}`])\n }\n } else {\n exit = await exec(apt, [\"install\", name])\n }\n\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { execFileSync } from \"child_process\"\nimport which from \"which\"\nimport { setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport function setupBrewPack(name: string, version?: string): InstallationInfo {\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n // brew is not thread-safe\n execFileSync(\"brew\", [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name], {\n stdio: \"inherit\",\n })\n\n return { binDir: \"/usr/local/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { exec } from \"@actions/exec\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n const exit = await exec(\n `@\"%SystemRoot%\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\" && SET \"PATH=%PATH%;%ALLUSERSPROFILE%\\\\chocolatey\\\\bin\"`\n )\n\n if (exit !== 0) {\n throw new Error(`Failed to install chocolatey`)\n }\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n\n if (existsSync(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"@actions/core\"\nimport { exec } from \"@actions/exec\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n let exit\n if (version !== undefined && version !== \"\") {\n exit = await exec(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args])\n } else {\n exit = await exec(\"choco\", [\"install\", \"-y\", name, ...args])\n }\n\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n const binDir = \"C:/ProgramData/Chocolatey/bin/\"\n addPath(binDir)\n return { binDir }\n}\n",null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath, info } from \"@actions/core\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport * as hasha from \"hasha\"\nimport { tmpdir } from \"os\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise | Promise\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n}\n\n/**\n * A function that:\n *\n * - Downlodas and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the dowloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform) => PackageInfo | Promise,\n setupCppDir: string\n): Promise {\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n\n const { url, binRelativeDir, extractedFolderName, extractFunction } = await getPackageInfo(version, process.platform)\n\n // Restore from cache (if found).\n const dir = find(name, version)\n if (dir) {\n info(`${name} ${version} was found in the cache.`)\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n addPath(binDir)\n return { installDir, binDir }\n }\n\n // Get an unique output directory name from the URL.\n const key: string = await hasha.async(url)\n const rootDir = join(setupCppDir, key)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(rootDir)) {\n info(`Download and extract ${name} ${version}`)\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, rootDir)\n }\n\n const installDir = join(rootDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(rootDir, name, version)\n }\n\n return { installDir, binDir }\n}\n/** Add bin extension to a binary. This will be `.exe` on Windows. */\nexport function addBinExtension(name: string) {\n if (process.platform === \"win32\") {\n return `${name}.exe`\n }\n return name\n}\n","import { extractZip, extractTar } from \"@actions/tool-cache\"\nimport { getInput } from \"@actions/core\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform?: NodeJS.Platform): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n const platformStr = platform ?? process.platform\n const arch = getInput(\"architecture\") || process.arch\n switch (platformStr) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platformStr}'`)\n }\n}\n\n/** Setup cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCmake(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupCppDir)\n}\n","import fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n let fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a seperate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\n// Note on the tool cache layout for PyPy:\n// PyPy has its own versioning scheme that doesn't follow the Python versioning scheme.\n// A particular version of PyPy may contain one or more versions of the Python interpreter.\n// For example, PyPy 7.0 contains Python 2.7, 3.5, and 3.6-alpha.\n// We only care about the Python version, so we don't use the PyPy version for the tool cache.\nfunction usePyPy(\n majorVersion: '2' | '3.6',\n architecture: string\n): InstalledVersion {\n const findPyPy = tc.find.bind(undefined, 'PyPy', majorVersion);\n let installDir: string | null = findPyPy(architecture);\n\n if (!installDir && IS_WINDOWS) {\n // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.\n // On our Windows virtual environments, we only install an x86 version.\n // Fall back to x86.\n installDir = findPyPy('x86');\n }\n\n if (!installDir) {\n // PyPy not installed in $(Agent.ToolsDirectory)\n throw new Error(`PyPy ${majorVersion} not found`);\n }\n\n // For PyPy, Windows uses 'bin', not 'Scripts'.\n const _binDir = path.join(installDir, 'bin');\n\n // On Linux and macOS, the Python interpreter is in 'bin'.\n // On Windows, it is in the installation root.\n const pythonLocation = IS_WINDOWS ? installDir : _binDir;\n core.exportVariable('pythonLocation', pythonLocation);\n\n core.addPath(installDir);\n core.addPath(_binDir);\n // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be \"Scripts\" on Windows.\n if (IS_WINDOWS) {\n core.addPath(path.join(installDir, 'Scripts'));\n }\n\n const impl = 'pypy' + majorVersion.toString();\n core.setOutput('python-version', impl);\n\n return {impl: impl, version: versionFromPath(installDir)};\n}\n\nasync function useCpythonVersion(\n version: string,\n architecture: string\n): Promise {\n const desugaredVersionSpec = desugarDevVersion(version);\n const semanticVersionSpec = pythonVersionToSemantic(desugaredVersionSpec);\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n throw new Error(\n [\n `Version ${version} with arch ${architecture} not found`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n core.exportVariable('pythonLocation', installDir);\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n\n core.addPath(installDir);\n core.addPath(binDir(installDir));\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `>= 3.8.0-a0`. */\nfunction desugarDevVersion(versionSpec: string) {\n if (versionSpec.endsWith('-dev')) {\n const versionRoot = versionSpec.slice(0, -'-dev'.length);\n return `>= ${versionRoot}.0-a0`;\n } else {\n return versionSpec;\n }\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n */\nexport function pythonVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2');\n}\n\nexport async function findPythonVersion(\n version: string,\n architecture: string\n): Promise {\n switch (version.toUpperCase()) {\n case 'PYPY2':\n return usePyPy('2', architecture);\n case 'PYPY3':\n // keep pypy3 pointing to 3.6 for backward compatibility\n return usePyPy('3.6', architecture);\n default:\n return await useCpythonVersion(version, architecture);\n }\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string\n) {\n let downloadDir;\n\n const releases = await getAvailablePyPyVersions();\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n const releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture\n );\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n let downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nasync function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n let binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(pypyVersionToSemantic(item.pypy_version), pypyVersion);\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any) {\n return item.files.some(\n (file: any) =>\n WINDOWS_ARCHS.includes(file.arch) &&\n WINDOWS_PLATFORMS.includes(file.platform)\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any) {\n return releases.files.find(\n (item: any) =>\n WINDOWS_ARCHS.includes(item.arch) &&\n WINDOWS_PLATFORMS.includes(item.platform)\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n","import * as core from \"@actions/core\"\nimport * as finder from \"./setup-python/src/find-python\"\nimport * as finderPyPy from \"./setup-python/src/find-pypy\"\nimport * as path from \"path\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy-\")\n}\n\nexport async function setupPython(version: string, _setupCppDir: string, arch: string) {\n try {\n if (isPyPyVersion(version)) {\n const installed = await finderPyPy.findPyPyVersion(version, arch)\n core.info(\n `Successfully setup PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`\n )\n } else {\n const installed = await finder.findPythonVersion(version, arch)\n core.info(`Successfully setup ${installed.impl} (${installed.version})`)\n }\n const matchersPath = path.join(__dirname, \"..\", \".github\")\n core.info(`##[add-matcher]${path.join(matchersPath, \"python.json\")}`)\n } catch (err) {\n core.setFailed((err as Error).message)\n }\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({\n installDir,\n resolvedPythonVersion,\n resolvedPyPyVersion\n } = await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n core.exportVariable('pythonLocation', pythonLocation);\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN || isGhes() ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string\n): Promise {\n const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n return await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n const pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n}\n\nfunction isGhes(): boolean {\n const ghUrl = new URL(\n process.env['GITHUB_SERVER_URL'] || 'https://github.com'\n );\n return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';\n}\n","import * as https from \"https\"\n\nexport function isValidUrl(url: string) {\n return new Promise((resolve) => {\n https.get(url, (res) => {\n if (res.statusCode !== undefined && res.statusCode >= 200 && res.statusCode <= 399) {\n resolve(true)\n } else {\n resolve(false)\n }\n })\n })\n}\n","/* eslint-disable require-atomic-updates */\nimport { exec, getExecOutput } from \"@actions/exec\"\nimport which from \"which\"\nimport { addPath, info } from \"@actions/core\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\n\nlet pip: string | undefined\n\nlet binDir: string | undefined\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string) {\n // setup python and pip if needed\n if (pip === undefined) {\n if (which.sync(\"pip3\", { nothrow: true }) !== null) {\n pip = \"pip3\"\n } else if (which.sync(\"pip\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n pip = \"pip\"\n } else {\n await setupPython(\"3.x\", \"\", process.arch)\n pip = \"pip3\"\n }\n }\n\n const exit = await exec(pip, [\"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name])\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n if (binDir === undefined) {\n if (process.platform === \"linux\") {\n binDir = \"/home/runner/.local/bin/\"\n } else if (process.platform === \"darwin\") {\n binDir = \"/usr/local/bin/\"\n } else {\n try {\n binDir = join(\n (await getExecOutput('python3 -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n } catch {\n binDir = join(\n (await getExecOutput('python -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n }\n }\n info(`${binDir} to PATH`)\n addPath(binDir)\n }\n\n return { binDir }\n}\n","import { isValidUrl } from \"../http/validate_url\"\nimport semverCompare from \"semver/functions/compare\"\nimport { getExecOutput } from \"@actions/exec\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort()\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise\n): Promise<[string, string]> {\n if (!versions.has(version)) {\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n }\n\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isValidUrl(url))) {\n return [specificVersion, url]\n }\n }\n\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const { stderr, stdout } = await getExecOutput(file, [\"--version\"])\n const version = stdout.match(versionRegex)?.[1] ?? stderr.match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n","import { exec } from \"@actions/exec\"\nimport { mkdirP } from \"@actions/io\"\nexport { extractTar, extractXar, extract7z, extractZip } from \"@actions/tool-cache\"\n\nexport async function extractExe(file: string, dest: string) {\n const exit = await exec(\"7z\", [\"x\", file, `-o${dest}`])\n if (exit !== 0) {\n throw new Error(`Failed to extract ${file} to ${dest} with 7z`)\n }\n return dest\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=1\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n const exit = await exec(\"tar\", [\"xf\", file, \"-C\", dest, ...flags])\n if (exit !== 0) {\n throw new Error(`Failed to extract ${file} to ${dest} with tar`)\n }\n return dest\n}\n","import * as core from \"@actions/core\"\nimport * as path from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isValidUrl } from \"../utils/http/validate_url\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport { getSpecificVersionAndUrl, getVersions } from \"../utils/setup/version\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { existsSync } from \"fs\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n])\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING: Set = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n])\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map([[\"12.0.1\", \"12.0.1-rc4\"]])\n\n/** The (latest) Ubuntu versions for each LLVM version. */\nconst UBUNTU: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1-rc4\": \"-ubuntu-21.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"12.0.1-rc4\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nfunction getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let ubuntu: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n ubuntu = version\n } else if (version !== \"\" && version in UBUNTU) {\n ubuntu = UBUNTU[version]\n } else {\n // default to the maximum vresion\n ubuntu = UBUNTU[MAX_UBUNTU]\n }\n\n const prefix = \"clang+llvm-\"\n const suffix = version === \"5.0.0\" ? `-linux-x86_64${ubuntu}.tar.xz` : `-x86_64-linux-gnu${ubuntu}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\"])\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isValidUrl(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\n//================================================\n// Action\n//================================================\n\nconst DEFAULT_NIX_DIRECTORY = \"./llvm\"\nconst DEFAULT_WIN32_DIRECTORY = \"C:/Program Files/LLVM\"\n\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n core.setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n extractFunction: platform === \"win32\" ? extractExe : extractTarByExe,\n }\n}\n\nexport async function setupLLVM(\n version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string | undefined,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n let directory = _setupCppDir\n if (directory === \"\" || directory === undefined) {\n directory = process.platform === \"win32\" ? DEFAULT_WIN32_DIRECTORY : DEFAULT_NIX_DIRECTORY\n }\n\n directory = path.resolve(directory)\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, directory)\n\n // Adding environment variables\n const lib = path.join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n core.exportVariable(\"LLVM_PATH\", directory) // the output of this action\n\n const llvmMajor = semverMajor(version)\n\n // Setup LLVM as the compiler\n core.exportVariable(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`)\n core.exportVariable(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`)\n\n core.exportVariable(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`)\n\n core.exportVariable(\"LDFLAGS\", `-L${directory}/lib`)\n core.exportVariable(\"CPPFLAGS\", `-I${directory}/include`)\n\n core.exportVariable(\"CC\", `${directory}/bin/clang`)\n core.exportVariable(\"CXX\", `${directory}/bin/clang++`)\n\n core.exportVariable(\"LIBRARY_PATH\", `${directory}/lib`)\n\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (existsSync(sdkroot)) {\n core.exportVariable(\"SDKROOT\", sdkroot)\n }\n } catch (e) {\n core.error(e as Error | string)\n }\n }\n\n return installationInfo\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { error, exportVariable } from \"@actions/core\"\nimport { existsSync } from \"fs\"\n\ntype MSVCVersion = \"2015\" | \"2017\" | \"2019\" | string\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupMSVC(\n version: MSVCVersion,\n _setupCppDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n): Promise {\n if (process.platform !== \"win32\") {\n return\n }\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n try {\n if (version === \"2015\") {\n toolset = \"14.0.25420.1\"\n await setupChocoPack(\"visualcpp-build-tools\", toolset, [\n \"--ignore-dependencies\",\n \"--params\",\n \"'/IncludeRequired'\",\n ])\n\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n if (existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n } else if (version === \"2017\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.38.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"2019\") {\n toolset = \"14.29.30133\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.2.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n }\n } catch (e) {\n error(e as string | Error)\n }\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n\n // lazy load the action so it is not executed\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const { setupMSVCDevCmd } = require(\"./msvc-dev-cmd/index\")\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre)\n}\n","import { extractZip } from \"@actions/tool-cache\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupNinja(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupCppDir)\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","const DefaultVersions: Record = {\n msvc: \"2019\",\n llvm: \"11\",\n ninja: \"1.10.2\",\n cmake: \"3.20.2\",\n gcovr: \"5.0\",\n conan: \"1.40.1\",\n meson: \"0.59.1\",\n python: \"3.x\",\n gcc: process.platform === \"win32\" ? \"10.2.0\" : \"11\",\n}\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined) {\n if (version === \"true\" || (version === undefined && name in DefaultVersions)) {\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n","import { addPath, exportVariable, info } from \"@actions/core\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, _setupCppDir: string, arch: string) {\n let binDir: string | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n await setupChocoPack(\"mingw\", version)\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n addPath(binDir)\n } else if (existsSync(\"C:/ProgramData/Chocolatey/bin/g++.exe\")) {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n break\n }\n case \"darwin\": {\n binDir = setupBrewPack(\"gcc\", version).binDir\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n binDir = (await setupAptPack(\"g++\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n binDir = (await setupAptPack(\"g++-multilib\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n }\n break\n }\n // TODO support bare-metal\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, \"ppa:ubuntu-toolchain-r/test\")\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (binDir !== undefined) {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n // // Setup gcc as the compiler\n // exportVariable(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`)\n // exportVariable(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`)\n\n // exportVariable(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`)\n\n // exportVariable(\"LDFLAGS\", `-L${installDir}/lib`)\n // exportVariable(\"CPPFLAGS\", `-I${installDir}/include`)\n\n if (process.platform === \"win32\") {\n exportVariable(\"CC\", `${binDir}/gcc`)\n exportVariable(\"CXX\", `${binDir}/g++`)\n } else {\n exportVariable(\"CC\", `${binDir}/gcc-${majorVersion}`)\n exportVariable(\"CXX\", `${binDir}/g++-${majorVersion}`)\n }\n return { binDir }\n }\n return undefined\n}\n","import * as core from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPython } from \"./python/python\"\nimport mri from \"mri\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\n\n/** The setup functions */\nconst setups = {\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n ccache: setupCcache,\n doxygen: setupDoxygen,\n cppcheck: setupCppcheck,\n msvc: setupMSVC,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"cmake\",\n \"ninja\",\n \"python\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"llvm\",\n \"gcc\",\n \"choco\",\n \"brew\",\n \"ccache\",\n \"doxygen\",\n \"cppcheck\",\n \"msvc\",\n]\n\n/** The possible inputs to the program */\ntype Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n\n// an array of possible inputs\nconst inputs: Array = [\"compiler\", \"architecture\", ...tools]\n\n/** The main entry function */\nexport async function main(args: string[]): Promise {\n // parse options using mri or github actions\n const opts = mri & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? \"~/setup_cpp\"\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n try {\n if (maybeCompiler !== undefined) {\n // detecting the compiler version. Devide the given string by `-` and use the second element as the version\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n let version: string | undefined\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n version = maybeVersion\n } else {\n core.error(`Invalid version ${maybeVersion} used for the compiler. Using the default version...`)\n }\n }\n\n // install the compiler. We allow some aliases for the compiler name\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n await setupLLVM(getVersion(\"llvm\", version) as string, setupCppDir, arch)\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n await setupGcc(getVersion(\"gcc\", version) as string, setupCppDir, arch)\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n await setupMSVC(getVersion(\"msvc\", version) as string, setupCppDir, arch)\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n }\n } catch (e) {\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n }\n\n // installing the specified tools\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const value = opts[tool]\n\n // skip if undefined\n if (value !== undefined) {\n // get the setup function\n const setupFunction = setups[tool]\n\n // runnig the setup function for this tool\n try {\n // eslint-disable-next-line no-await-in-loop\n const installationInfo = await setupFunction(getVersion(tool, value), setupCppDir, arch)\n\n // preparing a report string\n if (installationInfo !== undefined) {\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } else {\n successMessages.push(`${tool} was successfully installed`)\n }\n } catch (e) {\n // push error message to the logger\n errorMessages.push(`${tool} failed to install`)\n }\n }\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => core.info(tool))\n errorMessages.forEach((tool) => core.error(tool))\n\n core.info(\"setup-cpp finished\")\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((error) => {\n core.error(\"main() panicked!\")\n core.error(error as string | Error)\n process.exitCode = 1\n })\n\nfunction printHelp() {\n core.info(`\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --conan \"1.40.1\"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-11'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = core.getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\n\nfunction getSuccessMessage(tool: string, installationInfo: InstallationInfo) {\n let success = `${tool} was successfully installed`\n if (\"installDir\" in installationInfo) {\n success += `\\nThe installation direcotry is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n success += `\\nThe binary direcotry is ${installationInfo.binDir}`\n }\n return success\n}\n",null,null,null,null,"const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n",null,null,null,null,"// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nmodule.exports = {\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,\n SemVer: require('./classes/semver'),\n compareIdentifiers: require('./internal/identifiers').compareIdentifiers,\n rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,\n parse: require('./functions/parse'),\n valid: require('./functions/valid'),\n clean: require('./functions/clean'),\n inc: require('./functions/inc'),\n diff: require('./functions/diff'),\n major: require('./functions/major'),\n minor: require('./functions/minor'),\n patch: require('./functions/patch'),\n prerelease: require('./functions/prerelease'),\n compare: require('./functions/compare'),\n rcompare: require('./functions/rcompare'),\n compareLoose: require('./functions/compare-loose'),\n compareBuild: require('./functions/compare-build'),\n sort: require('./functions/sort'),\n rsort: require('./functions/rsort'),\n gt: require('./functions/gt'),\n lt: require('./functions/lt'),\n eq: require('./functions/eq'),\n neq: require('./functions/neq'),\n gte: require('./functions/gte'),\n lte: require('./functions/lte'),\n cmp: require('./functions/cmp'),\n coerce: require('./functions/coerce'),\n Comparator: require('./classes/comparator'),\n Range: require('./classes/range'),\n satisfies: require('./functions/satisfies'),\n toComparators: require('./ranges/to-comparators'),\n maxSatisfying: require('./ranges/max-satisfying'),\n minSatisfying: require('./ranges/min-satisfying'),\n minVersion: require('./ranges/min-version'),\n validRange: require('./ranges/valid'),\n outside: require('./ranges/outside'),\n gtr: require('./ranges/gtr'),\n ltr: require('./ranges/ltr'),\n intersects: require('./ranges/intersects'),\n simplifyRange: require('./ranges/simplify'),\n subset: require('./ranges/subset'),\n}\n","const { MAX_SAFE_COMPONENT_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst createToken = (name, value, isGlobal) => {\n const index = R++\n debug(index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*')\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\.0\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\.0\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\nmodule.exports = {\n SEMVER_SPEC_VERSION,\n MAX_LENGTH,\n MAX_SAFE_INTEGER,\n MAX_SAFE_COMPONENT_LENGTH\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.format()\n this.raw = this.version\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about so we always get a consistent\n// obj with keys in a consistent order.\nconst opts = ['includePrerelease', 'loose', 'rtl']\nconst parseOptions = options =>\n !options ? {}\n : typeof options !== 'object' ? { loose: true }\n : opts.filter(k => options[k]).reduce((options, k) => {\n options[k] = true\n return options\n }, {})\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers\n}\n","const {MAX_LENGTH} = require('../internal/constants')\nconst { re, t } = require('../internal/re')\nconst SemVer = require('../classes/semver')\n\nconst parseOptions = require('../internal/parse-options')\nconst parse = (version, options) => {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n const r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier) => {\n if (typeof (options) === 'string') {\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(version, options).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse')\nconst eq = require('./eq')\n\nconst diff = (version1, version2) => {\n if (eq(version1, version2)) {\n return null\n } else {\n const v1 = parse(version1)\n const v2 = parse(version2)\n const hasPre = v1.prerelease.length || v2.prerelease.length\n const prefix = hasPre ? 'pre' : ''\n const defaultResult = hasPre ? 'prerelease' : ''\n for (const key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst {re, t} = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null)\n return null\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n const sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n const sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n const sameSemVer = this.semver.version === comp.semver.version\n const differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n const oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<')\n const oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>')\n\n return (\n sameDirectionIncreasing ||\n sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan ||\n oppositeDirectionsGreaterThan\n )\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst {re, t} = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range\n .split(/\\s*\\|\\|\\s*/)\n // map the range to a 2d array of comparators\n .map(range => this.parseRange(range.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${range}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0)\n this.set = [first]\n else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => {\n return comps.join(' ').trim()\n })\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n range = range.trim()\n\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = Object.keys(this.options).join(',')\n const memoKey = `parseRange:${memoOpts}:${range}`\n const cached = cache.get(memoKey)\n if (cached)\n return cached\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, re[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n // in loose mode, throw out any that are not valid comparators\n .filter(this.options.loose ? comp => !!comp.match(compRe) : () => true)\n .map(comp => new Comparator(comp, this.options))\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const l = rangeList.length\n const rangeMap = new Map()\n for (const comp of rangeList) {\n if (isNullSet(comp))\n return [comp]\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has(''))\n rangeMap.delete('')\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace\n} = require('../internal/re')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\nconst replaceTildes = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceTilde(comp, options)\n }).join(' ')\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\nconst replaceCarets = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceCaret(comp, options)\n }).join(' ')\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map((comp) => {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<')\n pr = '-0'\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp.trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return (`${from} ${to}`).trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin)))\n minver = setMin\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst {ANY} = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let min = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!min)\n min = version\n } else {\n if (prev) {\n set.push([min, prev])\n }\n prev = null\n min = null\n }\n }\n if (min)\n set.push([min, null])\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max)\n ranges.push(min)\n else if (!max && min === v[0])\n ranges.push('*')\n else if (!max)\n ranges.push(`>=${min}`)\n else if (min === v[0])\n ranges.push(`<=${max}`)\n else\n ranges.push(`${min} - ${max}`)\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom)\n return true\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub)\n continue OUTER\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull)\n return false\n }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom)\n return true\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY)\n return true\n else if (options.includePrerelease)\n sub = [ new Comparator('>=0.0.0-0') ]\n else\n sub = [ new Comparator('>=0.0.0') ]\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease)\n return true\n else\n dom = [ new Comparator('>=0.0.0') ]\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=')\n gt = higherGT(gt, c, options)\n else if (c.operator === '<' || c.operator === '<=')\n lt = lowerLT(lt, c, options)\n else\n eqSet.add(c.semver)\n }\n\n if (eqSet.size > 1)\n return null\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0)\n return null\n else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<='))\n return null\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options))\n return null\n\n if (lt && !satisfies(eq, String(lt), options))\n return null\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options))\n return false\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt)\n return false\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options))\n return false\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt)\n return false\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options))\n return false\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0)\n return false\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0)\n return false\n\n if (lt && hasDomGT && !gt && gtltComp !== 0)\n return false\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre)\n return false\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n","module.exports = require('./lib/tunnel');\n","'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('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,"'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","'use strict';\nconst fs = require('fs');\nconst path = require('path');\nconst crypto = require('crypto');\nconst isStream = require('is-stream');\n\nconst {Worker} = (() => {\n\ttry {\n\t\treturn require('worker_threads');\n\t} catch (_) {\n\t\treturn {};\n\t}\n})();\n\nlet worker; // Lazy\nlet taskIdCounter = 0;\nconst tasks = new Map();\n\nconst recreateWorkerError = sourceError => {\n\tconst error = new Error(sourceError.message);\n\n\tfor (const [key, value] of Object.entries(sourceError)) {\n\t\tif (key !== 'message') {\n\t\t\terror[key] = value;\n\t\t}\n\t}\n\n\treturn error;\n};\n\nconst createWorker = () => {\n\tworker = new Worker(path.join(__dirname, 'thread.js'));\n\n\tworker.on('message', message => {\n\t\tconst task = tasks.get(message.id);\n\t\ttasks.delete(message.id);\n\n\t\tif (tasks.size === 0) {\n\t\t\tworker.unref();\n\t\t}\n\n\t\tif (message.error === undefined) {\n\t\t\ttask.resolve(message.value);\n\t\t} else {\n\t\t\ttask.reject(recreateWorkerError(message.error));\n\t\t}\n\t});\n\n\tworker.on('error', error => {\n\t\t// Any error here is effectively an equivalent of segfault, and have no scope, so we just throw it on callback level\n\t\tthrow error;\n\t});\n};\n\nconst taskWorker = (method, args, transferList) => new Promise((resolve, reject) => {\n\tconst id = taskIdCounter++;\n\ttasks.set(id, {resolve, reject});\n\n\tif (worker === undefined) {\n\t\tcreateWorker();\n\t}\n\n\tworker.ref();\n\tworker.postMessage({id, method, args}, transferList);\n});\n\nconst hasha = (input, options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst hash = crypto.createHash(options.algorithm || 'sha512');\n\n\tconst update = buffer => {\n\t\tconst inputEncoding = typeof buffer === 'string' ? 'utf8' : undefined;\n\t\thash.update(buffer, inputEncoding);\n\t};\n\n\tif (Array.isArray(input)) {\n\t\tinput.forEach(update);\n\t} else {\n\t\tupdate(input);\n\t}\n\n\treturn hash.digest(outputEncoding);\n};\n\nhasha.stream = (options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst stream = crypto.createHash(options.algorithm || 'sha512');\n\tstream.setEncoding(outputEncoding);\n\treturn stream;\n};\n\nhasha.fromStream = async (stream, options = {}) => {\n\tif (!isStream(stream)) {\n\t\tthrow new TypeError('Expected a stream');\n\t}\n\n\treturn new Promise((resolve, reject) => {\n\t\t// TODO: Use `stream.pipeline` and `stream.finished` when targeting Node.js 10\n\t\tstream\n\t\t\t.on('error', reject)\n\t\t\t.pipe(hasha.stream(options))\n\t\t\t.on('error', reject)\n\t\t\t.on('finish', function () {\n\t\t\t\tresolve(this.read());\n\t\t\t});\n\t});\n};\n\nif (Worker === undefined) {\n\thasha.fromFile = async (filePath, options) => hasha.fromStream(fs.createReadStream(filePath), options);\n\thasha.async = async (input, options) => hasha(input, options);\n} else {\n\thasha.fromFile = async (filePath, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tconst hash = await taskWorker('hashFile', [algorithm, filePath]);\n\n\t\tif (encoding === 'buffer') {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n\n\thasha.async = async (input, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tif (encoding === 'buffer') {\n\t\t\tencoding = undefined;\n\t\t}\n\n\t\tconst hash = await taskWorker('hash', [algorithm, input]);\n\n\t\tif (encoding === undefined) {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n}\n\nhasha.fromFileSync = (filePath, options) => hasha(fs.readFileSync(filePath), options);\n\nmodule.exports = hasha;\n","const core = require('@actions/core')\r\nconst child_process = require('child_process')\r\nconst fs = require('fs')\r\nconst path = require('path')\r\nconst process = require('process')\r\n\r\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\r\n\r\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\r\nconst VERSIONS = ['2019', '2017']\r\n\r\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\r\n\r\nfunction findWithVswhere(pattern) {\r\n try {\r\n let installationPath = child_process.execSync(`vswhere -products * -latest -prerelease -property installationPath`).toString().trim()\r\n return installationPath + '\\\\' + pattern\r\n } catch (e) {\r\n core.warning(`vswhere failed: ${e}`)\r\n }\r\n return null\r\n}\r\n\r\nfunction findVcvarsall() {\r\n // If vswhere is available, ask it about the location of the latest Visual Studio.\r\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat')\r\n if (path && fs.existsSync(path)) {\r\n core.info(`Found with vswhere: ${path}`)\r\n return path\r\n }\r\n core.info(\"Not found with vswhere\")\r\n\r\n // If that does not work, try the standard installation locations,\r\n // starting with the latest and moving to the oldest.\r\n for (const ver of VERSIONS) {\r\n for (const ed of EDITIONS) {\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\r\n core.info(`Trying standard location: ${path}`)\r\n if (fs.existsSync(path)) {\r\n core.info(`Found standard location: ${path}`)\r\n return path\r\n }\r\n }\r\n }\r\n core.info(\"Not found in standard locations\")\r\n\r\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\r\n if (fs.existsSync(path)) {\r\n core.info(`Found VS 2015: ${path}`)\r\n return path\r\n }\r\n core.info(`Not found in VS 2015 location: ${path}`)\r\n\r\n throw new Error('Microsoft Visual Studio not found')\r\n}\r\n\r\nfunction isPathVariable(name) {\r\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\r\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\r\n}\r\n\r\nfunction filterPathValue(path) {\r\n let paths = path.split(';')\r\n // Remove duplicates by keeping the first occurance and preserving order.\r\n // This keeps path shadowing working as intended.\r\n function unique(value, index, self) {\r\n return self.indexOf(value) === index\r\n }\r\n return paths.filter(unique).join(';')\r\n}\r\n\r\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\r\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre) {\r\n if (process.platform != 'win32') {\r\n core.info('This is not a Windows virtual environment, bye!')\r\n return\r\n }\r\n\r\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\r\n process.env.PATH += path.delimiter + VSWHERE_PATH\r\n\r\n // There are all sorts of way the architectures are called. In addition to\r\n // values supported by Microsoft Visual C++, recognize some common aliases.\r\n let arch_aliases = {\r\n \"win32\": \"x86\",\r\n \"win64\": \"x64\",\r\n \"x86_64\": \"x64\",\r\n \"x86-64\": \"x64\",\r\n }\r\n // Ignore case when matching as that's what humans expect.\r\n if (arch.toLowerCase() in arch_aliases) {\r\n arch = arch_aliases[arch.toLowerCase()]\r\n }\r\n\r\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\r\n // Call the configuration batch file and then output *all* the environment variables.\r\n\r\n var args = [arch]\r\n if (uwp == 'true') {\r\n args.push('uwp')\r\n }\r\n if (sdk) {\r\n args.push(sdk)\r\n }\r\n if (toolset) {\r\n args.push(`-vcvars_ver=${toolset}`)\r\n }\r\n if (spectre == 'true') {\r\n args.push('-vcvars_spectre_libs=spectre')\r\n }\r\n\r\n const vcvars = `\"${findVcvarsall()}\" ${args.join(' ')}`\r\n core.debug(`vcvars command-line: ${vcvars}`)\r\n\r\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\r\n const cmd_output_parts = cmd_output_string.split('\\f')\r\n\r\n const old_environment = cmd_output_parts[0].split('\\r\\n')\r\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\r\n const new_environment = cmd_output_parts[2].split('\\r\\n')\r\n\r\n // If vsvars.bat is given an incorrect command line, it will print out\r\n // an error and *still* exit successfully. Parse out errors from output\r\n // which don't look like environment variables, and fail if appropriate.\r\n const error_messages = vcvars_output.filter((line) => {\r\n if (line.match(/^\\[ERROR.*\\]/)) {\r\n // Don't print this particular line which will be confusing in output.\r\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\r\n return true\r\n }\r\n }\r\n return false\r\n })\r\n if (error_messages.length > 0) {\r\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\r\n }\r\n\r\n // Convert old environment lines into a dictionary for easier lookup.\r\n let old_env_vars = {}\r\n for (let string of old_environment) {\r\n const [name, value] = string.split('=')\r\n old_env_vars[name] = value\r\n }\r\n\r\n // Now look at the new environment and export everything that changed.\r\n // These are the variables set by vsvars.bat. Also export everything\r\n // that was not there during the first sweep: those are new variables.\r\n core.startGroup('Environment variables')\r\n for (let string of new_environment) {\r\n // vsvars.bat likes to print some fluff at the beginning.\r\n // Skip lines that don't look like environment variables.\r\n if (!string.includes('=')) {\r\n continue;\r\n }\r\n let [name, new_value] = string.split('=')\r\n let old_value = old_env_vars[name]\r\n // For new variables \"old_value === undefined\".\r\n if (new_value !== old_value) {\r\n core.info(`Setting ${name}`)\r\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\r\n // just prepends its stuff without checking if its already there.\r\n // This makes repeated invocations of this action fail after some\r\n // point, when the environment variable overflows. Avoid that.\r\n if (isPathVariable(name)) {\r\n new_value = filterPathValue(new_value)\r\n }\r\n core.exportVariable(name, new_value)\r\n }\r\n }\r\n core.endGroup()\r\n\r\n core.info(`Configured Developer Command Prompt`)\r\n}\r\nexports.setupMSVCDevCmd = setupMSVCDevCmd\r\n\r\nfunction main() {\r\n var arch = core.getInput('arch')\r\n const sdk = core.getInput('sdk')\r\n const toolset = core.getInput('toolset')\r\n const uwp = core.getInput('uwp')\r\n const spectre = core.getInput('spectre')\r\n\r\n setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre)\r\n}\r\n\r\ntry {\r\n main()\r\n}\r\ncatch (e) {\r\n core.setFailed('Could not setup Developer Command Prompt: ' + e.message)\r\n}\r\n",null,null,null,null,"import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"@actions/core\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupCppDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n addPath(binDir)\n return { binDir }\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n return setupAptPack(\"ccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"@actions/core\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupDoxygen(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n await setupChocoPack(\"graphviz\", version)\n addPath(\"C:/Program Files/Graphviz/bin\")\n const binDir = \"C:/Program Files/doxygen/bin\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n setupBrewPack(\"doxygen\", version)\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n await setupAptPack(\"doxygen\", version)\n return setupAptPack(\"graphviz\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"@actions/core\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = \"C:/Program Files/Cppcheck\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n return setupAptPack(\"cppcheck\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$f8af4289d8ca9e73$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$f8af4289d8ca9e73$var$core","code","ignoreErrors","$ee44094b0ce40db3$export$80e483d773064391","_version","_setupCppDir","_arch","includes","process","platform","$ee44094b0ce40db3$var$binDir","maybeBinDir","$parcel$interopDefault","$36da3a1038e77300$exports","sync","nothrow","$3U0nv$path","dirname","$3U0nv$child_process","execFileSync","stdio","$8d6c57753101e07a$var$exec","commandLine","args","commandArgs","$8d6c57753101e07a$var$tr","argStringToArray","length","Error","toolPath","slice","concat","ToolRunner","exec","$64b16b96675e553b$export$64c4c4e8a66ded49","command","undefined","$64b16b96675e553b$var$_issudo","env","CI","ref","getuid","call","$13dd793dec60e501$export$3facfc9dd87fb850","name","version","repository","apt","exit","$8d6c57753101e07a$exports","$13dd793dec60e501$var$didUpdate","binDir","$1c9ab043a2b6cc59$export$698568e794d5249f","$1c9ab043a2b6cc59$var$hasBrew","$a9f3b01a430d25e5$export$1e92c536ef588459","$a9f3b01a430d25e5$var$binDir","maybeChoco","$3U0nv$fs","existsSync","$6b27956e33e7a968$export$50c32c11cefe4e9f","$6b27956e33e7a968$var$hasChoco","$6FGZZ","addPath","$fbdecc6eadfe47c2$var$findAllVersions","toolName","arch","versions","$fbdecc6eadfe47c2$var$os","$fbdecc6eadfe47c2$var$path","join","$fbdecc6eadfe47c2$var$_getCacheDirectory","$fbdecc6eadfe47c2$var$fs","children","readdirSync","child","$fbdecc6eadfe47c2$var$isExplicitVersion","fullPath","push","$fbdecc6eadfe47c2$var$_createExtractFolder","dest","$fbdecc6eadfe47c2$var$_getTempDirectory","$fbdecc6eadfe47c2$var$v4_1","default","$fbdecc6eadfe47c2$var$io","mkdirP","$fbdecc6eadfe47c2$var$_createToolPath","tool","folderPath","$fbdecc6eadfe47c2$var$semver","clean","$fbdecc6eadfe47c2$var$core","debug","markerPath","rmRF","$fbdecc6eadfe47c2$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$fbdecc6eadfe47c2$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$3U0nv$assert","ok","tempDirectory","$fbdecc6eadfe47c2$var$_getGlobal","key","defaultValue","value","$parcel$global","$f5c161df7ab7d525$export$97748eae293469f0","getPackageInfo","setupCppDir","_RUNNER_TEMP","RUNNER_TEMP","$3U0nv$os","tmpdir","url","binRelativeDir","extractedFolderName","extractFunction","dir","$fbdecc6eadfe47c2$exports","find","info","installDir","$e68279e3338bc371$exports","async","rootDir","downloaded","downloadTool","RUNNER_TOOL_CACHE","cacheDir","$d40f2b84e4520e56$var$getCmakePackageInfo","semVersion","$5M2Mq","platformStr","getInput","isOld","$ju11K","osArchStr","folderName","extractZip","extractTar","$20ba577a744e9e96$export$ceb9c2d7a4f63acc","sourceName","targetName","setExecutable","sourcePath","targetPath","symlinkSync","$20ba577a744e9e96$export$b6afdf548cce3a42","chmodSync","$20ba577a744e9e96$export$9bc8f45691b95052","$20ba577a744e9e96$export$a8cf3209e098ef45","$hBwzM","validRange","pypyVersion","$f022661c7ba1f0db$var$usePyPy","majorVersion","architecture","findPyPy","bind","_binDir","exportVariable","impl","setOutput","$f022661c7ba1f0db$var$versionFromPath","parts","split","sep","idx","findIndex","part","$36577581e049d94c$export$8c67d7fc35de7958","$36577581e049d94c$export$acc94c5223ff25f0","replace","$36577581e049d94c$export$c6639e8493cb127","releases","files","item","$20ba577a744e9e96$export$9cadc82215ebe904","$20ba577a744e9e96$export$64a6690eaf7c329","$36577581e049d94c$export$d85e7c823fa73d0d","$ca400c34eccdb57a$export$44f2938a3d4c6806","startsWith","installed","resolvedPyPyVersion","resolvedPythonVersion","pypyVersionSpec","filter","pythonVersion","test","$588899e011391f63$export$2b5406d6a9a13bbc","forEach","$588899e011391f63$export$2da61456f93be513","basename","$20ba577a744e9e96$export$4b4f4b982a2ffe07","fileVersion","readFileSync","$20ba577a744e9e96$export$6f314ebc3b60c941","$588899e011391f63$export$34f0d1e2635db91b","downloadDir","http","$9AGbw","HttpClient","response","getJson","result","$36577581e049d94c$var$getAvailablePyPyVersions","releaseData","filterReleases","isPythonVersionSatisfied","coerce","python_version","isPyPyVersionSatisfied","pypy_version","isArchPresent","some","file","$36577581e049d94c$export$b4c35c3de1bb74e3","$36577581e049d94c$export$c8431f03a51e60bd","foundRelease","previous","current","compare","$36577581e049d94c$export$596d3412b21fc15f","foundAsset","downloadUrl","download_url","pypyPath","archiveName","toolDir","pypyFilePath","$20ba577a744e9e96$export$52096b3724e0cb70","binaryPath","pypyBinaryPath","pythonBinaryPostfix","major","pypyBinaryPostfix","binaryExtension","$36577581e049d94c$var$createPyPySymlink","pythonLocation","pythonBinary","$36577581e049d94c$var$installPip","$36577581e049d94c$export$14ff1a21eed93571","$588899e011391f63$export$cba4b335bf603792","toUpperCase","semanticVersionSpec","endsWith","manifest","getManifestFromRepo","$655628f797e4869d$var$AUTH","findFromManifest","$655628f797e4869d$export$138d6544552d0d44","release","pythonPath","pythonExtractedFolder","workingDirectory","cwd","$20ba577a744e9e96$export$ce1daefa7994a9d0","LD_LIBRARY_PATH","silent","listeners","stdout","data","trim","stderr","error","$655628f797e4869d$var$installPython","$655628f797e4869d$export$2705050b37fec3c","$655628f797e4869d$export$4f76c28790455076","EOL","libPath","pyLibPath","$f022661c7ba1f0db$var$binDir","version1","minor","userScriptsDir","$f022661c7ba1f0db$var$useCpythonVersion","$f022661c7ba1f0db$export$1cecbd6a84583d9c","matchersPath","__dirname","err","setFailed","message","$09efbe6c03c5e8c7$export$7a973c5043caaa2","$3U0nv$https","get","res","statusCode","$cc05105aff3c1e34$export$e258427b01a4f9","$cc05105aff3c1e34$var$pip","givenFile","targetVersion","versionRegex","givenVersion","ref1","getExecOutput","ref2","match","e","console","$1bd49ae4b85c403c$export$afe0511abe6ee3d2","$1wyqe","$1bd49ae4b85c403c$export$8c44dcfae252b9ed","$cc05105aff3c1e34$var$binDir","$a016715d3f18f117$export$8d5b126e4b80c6cb","$a016715d3f18f117$export$a18ed1c85be027cc","flags","$q05Mr","$ecc64fd197c4357d$var$getGitHubUrl","prefix","suffix","$ecc64fd197c4357d$var$getReleaseUrl","$ecc64fd197c4357d$export$18a6cfbf25963f89","$ecc64fd197c4357d$var$DARWIN_MISSING","has","$ecc64fd197c4357d$var$getDarwinUrl","versionGiven","rc","$ecc64fd197c4357d$var$UBUNTU_RC","ubuntu","$ecc64fd197c4357d$var$UBUNTU","$ecc64fd197c4357d$var$getLinuxUrl","$ecc64fd197c4357d$var$WIN32_MISSING","olderThan9_1","fallback","$ecc64fd197c4357d$var$getWin32Url","$ecc64fd197c4357d$var$getLLVMPackageInfo","specificVersion","getUrl","semversion","Array","from","v","reverse","$1bd49ae4b85c403c$export$e931c90ac13970ac","$1bd49ae4b85c403c$export$fa70b3b14f4c526f","$ecc64fd197c4357d$export$af592c7790e0a325","$ecc64fd197c4357d$export$3a1c6393858a80d7","directory","installationInfo","lib","_LD_LIBRARY_PATH","ld","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$k3zcS","delimiter","xcrun","sdkroot","$4181a77ac5f8ec9b$export$966b4aa3adf6692d","sdk","uwp","spectre","toolset","VCTargetsPath","setupMSVCDevCmd","parcelRequire","$4181a77ac5f8ec9b$var$getArch","$427622416622ca4f$var$getNinjaPackageInfo","ninjaPlatform","$427622416622ca4f$var$getNinjaPlatform","$57aef85c779683b0$var$toArr","any","isArray","$57aef85c779683b0$var$toVal","out","val","opts","x","old","nxt","string","indexOf","String","boolean","_","$f66466a1fc9f3b2a$export$2763ddd825e0c80d","$f66466a1fc9f3b2a$var$DefaultVersions","$cc0d561bc6dacbdc$export$ee0e00e9eebd0473","$6e0c5961feb4ff1d$export$cc99187a73fc5866","k","arr","arg","j","len","alibi","alias","strict","unknown","defaults","splice","keys","Object","charCodeAt","substring","repeat","shift","$57aef85c779683b0$export$9099ad97b570f7c","$6e0c5961feb4ff1d$var$inputs","fromEntries","map","inp","$6e0c5961feb4ff1d$var$maybeGetInput","h","_architecture","help","_SETUP_CPP_DIR","SETUP_CPP_DIR","successMessages","errorMessages","maybeCompiler","compiler","compilerAndMaybeVersion","maybeVersion","$1JJDJ","$6e0c5961feb4ff1d$var$tools","setupFunction","$6e0c5961feb4ff1d$var$setups","$6e0c5961feb4ff1d$var$getSuccessMessage","tool1","toLowerCase","success","$4db7ed1a4fdd712a$var$getInput","required","trimWhitespace","$4db7ed1a4fdd712a$var$error","properties","$eOxkI","issueCommand","$lK3O3","toCommandProperties","$4db7ed1a4fdd712a$var$startGroup","issue","$4db7ed1a4fdd712a$var$endGroup","$4db7ed1a4fdd712a$var$os","$4db7ed1a4fdd712a$var$__importStar","$4db7ed1a4fdd712a$var$path","$4db7ed1a4fdd712a$var$ExitCode","ExitCode","module","exports","convertedVal","toCommandValue","$85a1M","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","write","setCommandEcho","enabled","exitCode","Failure","isDebug","warning","notice","startGroup","endGroup","group","fn","saveState","getState","$ac8f977adbabca24$var$issueCommand","cmd","$ac8f977adbabca24$var$Command","$ac8f977adbabca24$var$os","$ac8f977adbabca24$var$__importStar","toString","cmdStr","this","first","hasOwnProperty","s","$ac8f977adbabca24$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$5e2691ad996aa9ad$var$fs","$5e2691ad996aa9ad$var$__importStar","$5e2691ad996aa9ad$var$os","filePath","appendFileSync","encoding","$36da3a1038e77300$var$isWindows","OSTYPE","$36da3a1038e77300$var$COLON","$402f7bbe371b7b24$var$checkStat","stat","isSymbolicLink","isFile","pathext","pathExt","PATHEXT","p","substr","$402f7bbe371b7b24$var$checkPathExt","$402f7bbe371b7b24$var$isexe","statSync","$eae5e8c11b388e10$var$isexe","$eae5e8c11b388e10$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","parseInt","g","ug","$eae5e8c11b388e10$var$checkMode","TESTING_WINDOWS","$f8af4289d8ca9e73$exports","$36da3a1038e77300$var$getNotFoundError","assign","$36da3a1038e77300$var$getPathInfo","opt","colon","pathEnv","PATH","pathExtExe","unshift","$36da3a1038e77300$var$which","found","step","all","ppRaw","pathPart","pCmd","subStep","ii","ext","then","cur","ex","$b27a19eb94ad77fe$var$os","$b27a19eb94ad77fe$var$__importStar","$b27a19eb94ad77fe$var$events","$3U0nv$events","$b27a19eb94ad77fe$var$child","$b27a19eb94ad77fe$var$path","$b27a19eb94ad77fe$var$io","$b27a19eb94ad77fe$var$ioUtil","$b27a19eb94ad77fe$var$IS_WINDOWS","EventEmitter","toolPath1","options1","super","_debug","_getCommandString","noPrefix","_getSpawnFileName","args1","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","n","argline","_endsWith","str","end","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","isRooted","which","$b27a19eb94ad77fe$var$__awaiter","optionsNonNull","state","$b27a19eb94ad77fe$var$ExecState","on","exists","fileName","cp","spawn","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","emit","removeAllListeners","stdin","argString","append","escaped","inQuotes","charAt","options2","toolPath2","done","timeout","_setResult","$3U0nv$timers","setTimeout","HandleTimeout","clearTimeout","$04e280234287a6fa$var$rmRF","$04e280234287a6fa$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$04e280234287a6fa$var$exec","unlink","isDir","$04e280234287a6fa$var$execFile","$04e280234287a6fa$var$mkdirP","fsPath","mkdir","recursive","$04e280234287a6fa$var$findInPath","extensions","extension","$04e280234287a6fa$var$path","tryGetExecutablePath","directories","matches","$04e280234287a6fa$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","readdir","srcFile","destFile","lstat","$04e280234287a6fa$var$copyFile","chmod","symlinkFull","readlink","symlink","copyFile","$04e280234287a6fa$var$childProcess","$04e280234287a6fa$var$__importStar","$3U0nv$util","promisify","execFile","source","copySourceDirectory","$04e280234287a6fa$var$readCopyOptions","destStat","newDest","relative","mv","destExists","rename","$04e280234287a6fa$var$which","check","findInPath","$b527c73d129cd9df$var$isUnixExecutable","stats","$b527c73d129cd9df$var$fs","$b527c73d129cd9df$var$__importStar","$b527c73d129cd9df$var$path","$b527c73d129cd9df$var$_a","promises","rmdir","useStat","$b527c73d129cd9df$var$normalizeSeparators","log","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a","$8d6c57753101e07a$var$__importStar","stdoutDecoder","$3U0nv$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","originalStdErrListener","_b","$fbdecc6eadfe47c2$var$__importStar","$13c43de102a3b6d8$var$semver","$13c43de102a3b6d8$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","osVersion","_getOsVersion","plat","execSync","lsbContents","_readLinuxVersionFile","lines","lsbReleaseFile","osReleaseFile","contents","re","$j1nFx","src","tokens","t","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","parse","inc","diff","patch","prerelease","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$8eni4","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$dd9078767aae0d77$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$5fe1b2857782793b$var$debug","NODE_DEBUG","$9PnyI","MAX_LENGTH","$de2b687c79c82d4f$var$SemVer","$26eGk","loose","includePrerelease","$de2b687c79c82d4f$require$MAX_LENGTH","m","$de2b687c79c82d4f$require$re","$de2b687c79c82d4f$require$t","LOOSE","FULL","raw","$de2b687c79c82d4f$require$MAX_SAFE_INTEGER","id","num","build","format","other","compareMain","comparePre","$de2b687c79c82d4f$require$compareIdentifiers","identifier","isNaN","$187787c55101df84$var$opts","reduce","$6ecf2feb48e2d485$var$numeric","$6ecf2feb48e2d485$var$compareIdentifiers","anum","bnum","$j4Bpm","$021b1d9719c3eaaf$require$MAX_LENGTH","$021b1d9719c3eaaf$require$re","$021b1d9719c3eaaf$require$t","$bd0kF","version2","$4eeum","v1","v2","hasPre","defaultResult","parsed","versionA","versionB","list","$7REgF","op","$a0PPD","$6bYo1","$kRrXd","$98Pyg","rtl","next","$434397839421ea8b$require$re","$434397839421ea8b$require$t","COERCERTL","lastIndex","$cd741182808e7a1f$var$ANY","Symbol","$cd741182808e7a1f$var$Comparator","ANY","comp1","semver","operator","comp","$cd741182808e7a1f$require$re","$cd741182808e7a1f$require$t","COMPARATORLOOSE","COMPARATOR","$cITzi","$8YuUE","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$688be7ed17017f41$var$Range","range1","$hDCF3","set","parseRange","$688be7ed17017f41$var$isNullSet","$688be7ed17017f41$var$isAny","range","comps","memoKey","cached","$688be7ed17017f41$var$cache","$688be7ed17017f41$require$re","$688be7ed17017f41$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$688be7ed17017f41$var$hyphenReplace","COMPARATORTRIM","$688be7ed17017f41$require$comparatorTrimReplace","TILDETRIM","$688be7ed17017f41$require$tildeTrimReplace","CARETTRIM","$688be7ed17017f41$require$caretTrimReplace","compRe","rangeList","$688be7ed17017f41$var$parseComparator","$688be7ed17017f41$var$replaceGTE0","rangeMap","Map","size","delete","values","thisComparators","$688be7ed17017f41$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$688be7ed17017f41$var$testSet","max","comparators","remainingComparators","testComparator","pop","otherComparator","$688be7ed17017f41$var$replaceCarets","$688be7ed17017f41$var$replaceTildes","$688be7ed17017f41$var$replaceXRanges","$688be7ed17017f41$var$replaceStars","$688be7ed17017f41$var$isX","$688be7ed17017f41$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$688be7ed17017f41$var$replaceCaret","z","CARETLOOSE","CARET","$688be7ed17017f41$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","i1","allowed","$cb0ed5fe82fb4516$var$MAX","$cb0ed5fe82fb4516$var$LENGTH","$cb0ed5fe82fb4516$var$LENGTH_CALCULATOR","$cb0ed5fe82fb4516$var$ALLOW_STALE","$cb0ed5fe82fb4516$var$MAX_AGE","$cb0ed5fe82fb4516$var$DISPOSE","$cb0ed5fe82fb4516$var$NO_DISPOSE_ON_SET","$cb0ed5fe82fb4516$var$LRU_LIST","$cb0ed5fe82fb4516$var$CACHE","$cb0ed5fe82fb4516$var$UPDATE_AGE_ON_GET","$cb0ed5fe82fb4516$var$naiveLength","$cb0ed5fe82fb4516$var$get","self","doUse","node","hit","$cb0ed5fe82fb4516$var$isStale","$cb0ed5fe82fb4516$var$del","now","Date","unshiftNode","maxAge","$cb0ed5fe82fb4516$var$trim","walker","tail","prev","removeNode","$cb0ed5fe82fb4516$var$Entry","$cb0ed5fe82fb4516$var$forEachStep","thisp","Infinity","lc","stale","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","allowStale","mA","lengthCalculator","lC","itemCount","rforEach","head","toArray","$9ShIP","dump","dumpLru","peek","del","load","l","expiresAt","prune","$7306e76b158eea44$var$Yallist","arguments","$7306e76b158eea44$var$insert","inserted","$7306e76b158eea44$var$Node","$7306e76b158eea44$var$push","$7306e76b158eea44$var$unshift","Node","create","prototype","pushNode","forEachReverse","getReverse","mapReverse","initial","acc","reduceReverse","toArrayReverse","sliceReverse","start","deleteCount","nodes","Yallist","iterator","maxSV","rangeObj","min","minSV","minver","setMin","comparator","compver","$20794eeb9cc8f6af$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$6rO9c","high","low","$2MRaB","r1","r2","ranges","min1","simplified","$2281fb43d3df183f$var$ANY","$2281fb43d3df183f$var$simpleSubset","sub","dom","eqSet","Set","gtltComp","higher","lower","hasDomLT","hasDomGT","$2281fb43d3df183f$var$higherGT","$2281fb43d3df183f$var$lowerLT","add","c1","needDomLTPre","needDomGTPre","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$fbdecc6eadfe47c2$var$mm","defineProperty","$6fb832e0570ffd7b$var$tunnel","$6fb832e0570ffd7b$var$HttpCodes","HttpCodes","$6fb832e0570ffd7b$var$Headers","Headers1","$6fb832e0570ffd7b$var$MediaTypes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","$cEfL5","URL","href","$6fb832e0570ffd7b$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$6fb832e0570ffd7b$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$6fb832e0570ffd7b$var$RetryableHttpVerbs","$6fb832e0570ffd7b$var$HttpClientError","setPrototypeOf","HttpClientError","$6fb832e0570ffd7b$var$HttpClientResponse","message1","readBody","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","protocol","$6fb832e0570ffd7b$var$HttpClient","userAgent","handlers","requestOptions","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","keepAlive","allowRetries","maxRetries","additionalHeaders","request","post","put","sendStream","verb","stream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","obj","ContentType","headers","parsedUrl","_prepareRequest","maxTries","numTries","requestRaw","Unauthorized","authenticationHandler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","_agent","destroy","requestRawWithCallback","onResult","socket","byteLength","callbackCalled","handleResult","req","httpModule","msg","sock","pipe","getAgent","_getAgent","method","usingSsl","$3U0nv$http","defaultPort","host","port","pathname","search","_mergeHeaders","agent","handler","prepareRequest","lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","valueOf","statusCode1","NotFound","deserializeDates","dateTimeDeserializer","$935571c89a77cf35$var$checkBypass","reqUrl","reqPort","noProxy","upperReqHosts","upperNoProxyItem","proxyVar","checkBypass","$5ede95876def1093$var$TunnelingAgent","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$5ede95876def1093$var$toOptions","pending","onSocket","removeSocket","$5ede95876def1093$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$5ede95876def1093$var$mergeOptions","servername","secureSocket","$3U0nv$tls","connect","target","overrides","keyLen","$5ede95876def1093$export$cfea88b79fd3041","$5ede95876def1093$export$5b6f1b09aafac70","$5ede95876def1093$export$f44e217dbcda9c5a","$5ede95876def1093$export$25126787084ac1d3","$5ede95876def1093$export$228ecc9aa21a9741","$5ede95876def1093$var$debug","inherits","addRequest","onFree","onCloseOrRemove","removeListener","onConnect","connectReq","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","pos","socket1","apply","$fbdecc6eadfe47c2$var$httpm","$fbdecc6eadfe47c2$var$stream","$3U0nv$stream","$fbdecc6eadfe47c2$var$util","buf","offset","rnds","random","rng","$diWfV","$8n3PT","$3U0nv$crypto","randomBytes","$618372782be4d813$var$byteToHex","$618372782be4d813$var$i","$fbdecc6eadfe47c2$var$__importDefault","$e9cce2f397d0b5d7$var$core","$e9cce2f397d0b5d7$var$__importStar","$e9cce2f397d0b5d7$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","floor","execute","action","isRetryable","attempt","seconds","getSleepAmount","sleep","$fbdecc6eadfe47c2$var$HTTPError","httpStatusCode","HTTPError","$fbdecc6eadfe47c2$var$IS_WINDOWS","$fbdecc6eadfe47c2$var$IS_MAC","auth","retryHelper","$fbdecc6eadfe47c2$var$__awaiter","authorization","statusMessage","pipeline","readStream","responseMessageFactory","succeeded","createWriteStream","$fbdecc6eadfe47c2$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","chdir","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","escapedFile","escapedDest","pwshPath","$fbdecc6eadfe47c2$var$extractZipWin","unzipPath","$fbdecc6eadfe47c2$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","owner","repo","branch","treeUrl","manifestUrl","tree","versionsRaw","isExplicitVersion","evaluateVersions","$04f38251090bf040$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$04f38251090bf040$exports","Worker","$e68279e3338bc371$var$Worker","$e68279e3338bc371$import$ad18b0afc1a10da7","$e68279e3338bc371$var$worker","$e68279e3338bc371$var$taskIdCounter","$e68279e3338bc371$var$tasks","$e68279e3338bc371$var$taskWorker","transferList","task","unref","sourceError","entries","$e68279e3338bc371$var$recreateWorkerError","postMessage","$e68279e3338bc371$var$hasha","outputEncoding","hash","createHash","algorithm","update","buffer","digest","setEncoding","fromStream","read","fromFile","createReadStream","fromFileSync","$655628f797e4869d$var$TOKEN","specific","$1bd49ae4b85c403c$export$b00950e3fcb58399","$e5ecfb1ae2cd12fa$var$isPathVariable","$e5ecfb1ae2cd12fa$var$setupMSVCDevCmd","$3U0nv$process","$k2PtG","$e5ecfb1ae2cd12fa$var$VSWHERE_PATH","arch_aliases","vcvars","pattern","installationPath","$e5ecfb1ae2cd12fa$var$findWithVswhere","ver","$e5ecfb1ae2cd12fa$var$VERSIONS","ed","$e5ecfb1ae2cd12fa$var$EDITIONS","$e5ecfb1ae2cd12fa$var$PROGRAM_FILES_X86","$e5ecfb1ae2cd12fa$var$findVcvarsall","cmd_output_parts","shell","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","$e5ecfb1ae2cd12fa$export$1770a487615d61df","$e97becf723056cb8$var$error","$e97becf723056cb8$var$os","$e97becf723056cb8$var$__importStar","$e97becf723056cb8$var$path","$e97becf723056cb8$var$ExitCode","$3tRAC","$48DC3","$lTVmt","$ff1b3ad0e311f75c$var$issueCommand","$ff1b3ad0e311f75c$var$Command","$ff1b3ad0e311f75c$var$os","$ff1b3ad0e311f75c$var$__importStar","$ff1b3ad0e311f75c$var$escapeData","$3036a3108408bd21$var$fs","$3036a3108408bd21$var$__importStar","$3036a3108408bd21$var$os","msvc","llvm","ninja","cmake","gcovr","conan","meson","python","gcc","opencppcoverage","choco","brew","ccache","doxygen","cppcheck","argv","catch"],"version":3,"file":"main.js.map","sourceRoot":"../"} \ No newline at end of file diff --git a/dist/main.js b/dist/setup_cpp.js similarity index 97% rename from dist/main.js rename to dist/setup_cpp.js index 8c0a5312..3db58763 100644 --- a/dist/main.js +++ b/dist/setup_cpp.js @@ -1,2 +1,2 @@ -function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,o){Object.defineProperty(e,t,{get:r,set:o,enumerable:!0,configurable:!0})}function r(e,t,o){if("function"==typeof t&&(o=t,t={}),!o){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((o,s)=>{r(e,t||{},((e,t)=>{e?s(e):o(t)}))}))}ye(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),o(e,r)}))}function o(t,r,o){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof Pe)return{binDir:Pe};const s=e(fe).sync("brew",{nothrow:!0});return null!==s?(Pe=W.dirname(s),{binDir:Pe}):(K.execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),Pe="/usr/local/bin/",{binDir:Pe})}function s(e,t,r){return Re(this,void 0,void 0,(function*(){const o=Ce.argStringToArray(e);if(0===o.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const s=o[0];return t=o.slice(1).concat(t||[]),new Ce.ToolRunner(s,t,r).exec()}))}function n(e){return void 0!==Ae||(Ae=!!process.env.CI||0===(null===(t=process.getuid)||void 0===t?void 0:t.call(process))),Ae?"sudo "+e:e;var t}async function i(e,t,r=!0){const o=n("apt-get");let s=0;if("string"==typeof r&&(s=await Oe.exec(n("add-apt-repository"),["--update",r])),Te&&!0!==r||(await Oe.exec(o,["update"]),Te=!0),void 0!==t&&""!==t)try{s=await Oe.exec(o,["install",`${e}=${t}`])}catch{s=await Oe.exec(o,["install",`${e}-${t}`])}else s=await Oe.exec(o,["install",e]);if(0!==s)throw Error(`Failed to install ${e} ${t}`);return{binDir:"/usr/bin/"}}function a(t,r){return Ie&&null!==e(fe).sync("brew",{nothrow:!0})||(o(0,0,process),Ie=!0),K.execFileSync("brew",["install",void 0!==r&&""!==r?`${t}@${r}`:t],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function l(t,r,o){if("win32"!==process.platform)return;if("string"==typeof Ne)return{binDir:Ne};const s=e(fe).sync("choco",{nothrow:!0});if(null!==s)return Ne=W.dirname(s),{binDir:Ne};if(0!==await Oe.exec('@"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString(\'https://community.chocolatey.org/install.ps1\'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin"'))throw Error("Failed to install chocolatey");const n=e(fe).sync("choco",{nothrow:!0});return Ne=null!==n?W.dirname(n):"C:/ProgramData/Chocolatey/bin/",J.existsSync(Ne)?{binDir:Ne}:void 0}async function c(t,r,o=[]){let s;if(De&&null!==e(fe).sync("choco",{nothrow:!0})||(await l(0,0,process),De=!0),s=void 0!==r&&""!==r?await Oe.exec("choco",["install","-y",t,"--version="+r,...o]):await Oe.exec("choco",["install","-y",t,...o]),0!==s)throw Error(`Failed to install ${t} ${r}`);const n="C:/ProgramData/Chocolatey/bin/";return me.addPath(n),{binDir:n}}function u(e,t){const r=[];t=t||He.arch();const o=Xe.join(v(),e);if(Ge.existsSync(o)){const e=Ge.readdirSync(o);for(const s of e)if(f(s)){const e=Xe.join(o,s,t||"");Ge.existsSync(e)&&Ge.existsSync(e+".complete")&&r.push(s)}}return r}function p(e){return Me(this,void 0,void 0,(function*(){return e||(e=Xe.join(g(),Je.default())),yield qe.mkdirP(e),e}))}function h(e,t,r){return Me(this,void 0,void 0,(function*(){const o=Xe.join(v(),e,Ze.clean(t)||t,r||"");Ve.debug("destination "+o);const s=o+".complete";return yield qe.rmRF(o),yield qe.rmRF(s),yield qe.mkdirP(o),o}))}function d(e,t,r){const o=Xe.join(v(),e,Ze.clean(t)||t,r||"");Ge.writeFileSync(o+".complete",""),Ve.debug("finished caching tool")}function f(e){const t=Ze.clean(e)||"";Ve.debug("isExplicit: "+t);const r=null!=Ze.valid(t);return Ve.debug("explicit? "+r),r}function m(e,t){let r="";Ve.debug(`evaluating ${e.length} versions`);for(let o=(e=e.sort(((e,t)=>Ze.gt(e,t)?1:-1))).length-1;o>=0;o--){const s=e[o];if(Ze.satisfies(s,t)){r=s;break}}return Ve.debug(r?"matched: "+r:"match not found"),r}function v(){const e=process.env.RUNNER_TOOL_CACHE||"";return re.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function g(){const e=process.env.RUNNER_TEMP||"";return re.ok(e,"Expected RUNNER_TEMP to be defined"),e}function y(e,t){const r=ue[e];return void 0!==r?r:t}async function x(e,t,r,o){var s;process.env.RUNNER_TEMP=null!==(s=process.env.RUNNER_TEMP)&&void 0!==s?s:z.tmpdir();const{url:n,binRelativeDir:i,extractedFolderName:a,extractFunction:l}=await r(t,process.platform),c=Le.find(e,t);if(c){me.info(`${e} ${t} was found in the cache.`);const r=W.join(c,a),o=W.join(r,i);return me.addPath(o),{installDir:r,binDir:o}}const u=await ct.async(n),p=W.join(o,u);if(!J.existsSync(p)){me.info(`Download and extract ${e} ${t}`);const r=await Le.downloadTool(n);await(null==l?void 0:l(r,p))}const h=W.join(p,a),d=W.join(h,i);return me.info(`Add ${d} to PATH`),me.addPath(d),"string"==typeof process.env.RUNNER_TOOL_CACHE&&await Le.cacheDir(p,e,t),{installDir:h,binDir:d}}function w(t,r){var o;const s=null!==(o=e(lt)(t))&&void 0!==o?o:t,n=null!=r?r:process.platform,i=me.getInput("architecture")||process.arch;switch(n){case"win32":{const r=e(at)(s,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(i)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const n=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:n,extractFunction:Le.extractZip,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${n}.zip`}}case"darwin":{const r=`cmake-${t}-${e(at)(s,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",extractedFolderName:r,extractFunction:Le.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${r}.tar.gz`}}case"linux":{const r=e(at)(s,"v3.19.8");let o;o=["aarch64"].includes(i)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const n=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:n,extractFunction:Le.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${n}.tar.gz`}}default:throw Error(`Unsupported platform '${n}'`)}}function E(t,r,o,s=!1){const n=W.join(t,r),i=W.join(t,o);e(J).existsSync(i)||(e(J).symlinkSync(n,i),!xt&&s&&e(J).chmodSync(i,"755"))}function b(e){return P(e)||!!yt.validRange(e)}function P(e){return"nightly"===e}function O(e,t){const r=Le.find.bind(void 0,"PyPy",e);let o=r(t);if(!o&&xt&&(o=r("x86")),!o)throw Error(`PyPy ${e} not found`);const s=W.join(o,"bin");me.exportVariable("pythonLocation",xt?o:s),me.addPath(o),me.addPath(s),xt&&me.addPath(W.join(o,"Scripts"));const n="pypy"+e;return me.setOutput("python-version",n),{impl:n,version:S(o)}}function S(e){const t=e.split(W.sep),r=t.findIndex((e=>"PyPy"===e||"Python"===e));return t[r+1]||""}function _(e){const t=W.join(e,"bin");return xt?e:t}function $(e){return e.replace(/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g,"$1-$2.$3")}function R(e){return e.files.find((e=>Et.includes(e.arch)&&bt.includes(e.platform)))}function C(e,t,r){return e.files.find((e=>e.arch===t&&e.platform===r))}async function A(t,r,o){try{if(t.startsWith("pypy-")){const r=await async function(t,r){let o,s="",n="";const i=(e=>{const t=e.split("-").filter((e=>!!e));if(2>t.length||"pypy"!=t[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.");const r=t[1];let o;if(o=t.length>2?$(t[2]):"x",!b(r)||!b(o))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!/^\d+\.\d+$/.test(r))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:o,pythonVersion:r}})(t);({installDir:o,resolvedPythonVersion:n,resolvedPyPyVersion:s}=((t,r,o)=>{let s="",n="",i=xt?(e=>{let t="";return Et.forEach((r=>t=t||Le.find("PyPy",e,r))),t})(t):Le.find("PyPy",t,o);return i&&(n=(e=>W.basename(W.dirname(e)))(i),s=(t=>{let r="",o=W.join(t,"PYPY_VERSION");return e(J).existsSync(o)&&(r=""+e(J).readFileSync(o)),r})(i),yt.satisfies(s,r)||(i=null,s="",n="")),i||me.info(`PyPy version ${t} (${r}) was not found in the local cache`),{installDir:i,resolvedPythonVersion:n,resolvedPyPyVersion:s}})(i.pythonVersion,i.pypyVersion,r)),o||({installDir:o,resolvedPythonVersion:n,resolvedPyPyVersion:s}=await(async(t,r,o)=>{let s;const n=await(async()=>{const e="https://downloads.python.org/pypy/versions.json",t=new _t.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result})();if(!n||0===n.length)throw Error("No release was found in PyPy version.json");const i=((e,t,r,o)=>{const s=e.filter((e=>{const s=yt.satisfies(yt.coerce(e.python_version),t),n=P(r)&&P(e.pypy_version)||yt.satisfies($(e.pypy_version),r),i=e.files&&(xt?(e=>e.files.some((e=>Et.includes(e.arch)&&bt.includes(e.platform))))(e):((e,t,r)=>e.files.some((e=>e.arch===t&&e.platform===r)))(e,o,process.platform));return s&&n&&i}));if(0===s.length)return null;const n=s.sort(((e,t)=>yt.compare(yt.coerce($(t.pypy_version)),yt.coerce($(e.pypy_version)))||yt.compare(yt.coerce(t.python_version),yt.coerce(e.python_version))))[0];return{foundAsset:xt?R(n):C(n,o,process.platform),resolvedPythonVersion:n.python_version,resolvedPyPyVersion:n.pypy_version}})(n,r,t,o);if(!i||!i.foundAsset)throw Error(`PyPy version ${r} (${t}) with arch ${o} not found`);const{foundAsset:a,resolvedPythonVersion:l,resolvedPyPyVersion:c}=i;let u=""+a.download_url;me.info(`Downloading PyPy from "${u}" ...`);const p=await Le.downloadTool(u);me.info("Extracting downloaded archive..."),s=xt?await Le.extractZip(p):await Le.extractTar(p,void 0,"x");const h=e(J).readdirSync(s)[0],d=W.join(s,h);let f=d;P(c)||(f=await Le.cacheDir(d,"PyPy",l,o)),((t,r)=>{const o=W.join(t,"PYPY_VERSION");e(J).writeFileSync(o,r)})(f,c);const m=_(f);return await(async(e,t)=>{const r=yt.coerce(t),o=yt.major(r),s=2===o?"":"3";let n=xt?".exe":"";me.info("Creating symlinks..."),E(e,`pypy${s}${n}`,`python${o}${n}`,!0),E(e,`pypy${s}${n}`,"python"+n,!0)})(m,l),await(async e=>{me.info("Installing and updating pip");const t=W.join(e,"python");await Oe.exec(t+" -m ensurepip"),await Oe.exec(e+"/python -m pip install --ignore-installed pip")})(m),{installDir:f,resolvedPythonVersion:l,resolvedPyPyVersion:c}})(i.pypyVersion,i.pythonVersion,r));const a=W.join(o,xt?"Scripts":"bin"),l=_(o);return me.exportVariable("pythonLocation",l),me.addPath(l),me.addPath(a),{resolvedPyPyVersion:s,resolvedPythonVersion:n}}(t,o);me.info(`Successfully setup PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`)}else{const e=await(async(e,t)=>{switch(e.toUpperCase()){case"PYPY2":return O("2",t);case"PYPY3":return O("3.6",t);default:return await async function(e,t){const r=((o=e).endsWith("-dev")?`>= ${o.slice(0,-4)}.0-a0`:o).replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2");var o;me.debug(`Semantic version spec of ${e} is ${r}`);let s=Le.find("Python",r,t);if(!s){me.info(`Version ${r} was not found in the local cache`);const e=await(async(e,t)=>{const r=await Le.getManifestFromRepo("actions","python-versions",Ot,"main");return await Le.findFromManifest(e,!1,r,t)})(r,t);e&&e.files&&e.files.length>0&&(me.info(`Version ${r} is available for downloading`),await(async e=>{const t=e.files[0].download_url;me.info(`Download from "${t}"`);const r=await Le.downloadTool(t,void 0,Ot);let o;me.info("Extract downloaded archive"),o=xt?await Le.extractZip(r):await Le.extractTar(r),me.info("Execute installation script"),await(async e=>{const t={cwd:e,env:{...process.env,...wt&&{LD_LIBRARY_PATH:W.join(e,"lib")}},silent:!0,listeners:{stdout(e){me.info((""+e).trim())},stderr(e){me.error((""+e).trim())}}};xt?await Oe.exec("powershell",["./setup.ps1"],t):await Oe.exec("bash",["./setup.sh"],t)})(o)})(e),s=Le.find("Python",r,t))}if(!s)throw Error([`Version ${e} with arch ${t} not found`,"The list of all available versions can be found here: "+St].join(z.EOL));if(me.exportVariable("pythonLocation",s),wt){const e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=W.join(s,"lib");e.split(":").includes(t)||me.exportVariable("LD_LIBRARY_PATH",t+e)}if(me.addPath(s),me.addPath((e=>W.join(e,xt?"Scripts":"bin"))(s)),xt){const e=W.basename(W.dirname(s)),t=yt.major(e),r=yt.minor(e),o=W.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");me.addPath(o)}const n=S(s);return me.setOutput("python-version",n),{impl:"CPython",version:n}}(e,t)}})(t,o);me.info(`Successfully setup ${e.impl} (${e.version})`)}const r=W.join(__dirname,"..",".github");me.info("##[add-matcher]"+W.join(r,"python.json"))}catch(e){me.setFailed(e.message)}}function T(e){return new Promise((t=>{ie.get(e,(e=>{t(void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)}))}))}async function I(t,r){if(void 0===Rt&&(null!==e(fe).sync("pip3",{nothrow:!0})?Rt="pip3":null!==e(fe).sync("pip",{nothrow:!0})&&await(async(t,r,o=/v?(\d\S*)/)=>{const s=await(async(e,t=/v?(\d\S*)/)=>{try{var r,o;const{stderr:n,stdout:i}=await Oe.getExecOutput(e,["--version"]);var s;return null!==(s=null===(r=i.match(t))||void 0===r?void 0:r[1])&&void 0!==s?s:null===(o=n.match(t))||void 0===o?void 0:o[1]}catch(e){return void console.error(e)}})(t,o);return"string"==typeof s&&"string"==typeof r&&""!==s&&""!==r&&-1!==e($t)(s,r)})("python","3.0.0")?Rt="pip":(await A("3.x",0,process.arch),Rt="pip3")),0!==await Oe.exec(Rt,["install",void 0!==r&&""!==r?`${t}==${r}`:t]))throw Error(`Failed to install ${t} ${r}`);if(void 0===Ct){if("linux"===process.platform)Ct="/home/runner/.local/bin/";else if("darwin"===process.platform)Ct="/usr/local/bin/";else try{Ct=W.join((await Oe.getExecOutput('python3 -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{Ct=W.join((await Oe.getExecOutput('python -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}me.info(Ct+" to PATH"),me.addPath(Ct)}return{binDir:Ct}}async function N(e,t){if(0!==await Oe.exec("7z",["x",e,"-o"+t]))throw Error(`Failed to extract ${e} to ${t} with 7z`);return t}async function D(e,t,r=["--strip-components=1"]){try{await Tt.mkdirP(t)}catch{}if(0!==await Oe.exec("tar",["xf",e,"-C",t,...r]))throw Error(`Failed to extract ${e} to ${t} with tar`);return t}function L(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function j(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function k(t,r){switch(t){case"darwin":return(t=>{if(Nt.has(t))return null;const r="clang+llvm-",o=`-x86_64${"9.0.0"===t?"-darwin-apple":"-apple-darwin"}.tar.xz`;return e(at)(t,"9.0.1")?j(t,r,o):L(t,r,o)})(r);case"linux":return(t=>{let r=t;const o=Dt.get(r);let s;void 0!==o&&(r=o),s=r.includes("ubuntu")?r:""!==r&&r in Lt?Lt[r]:Lt["12.0.1-rc4"];const n="clang+llvm-",i="5.0.0"===r?`-linux-x86_64${s}.tar.xz`:`-x86_64-linux-gnu${s}.tar.xz`;return e(at)(r,"9.0.1")?j(r,n,i):L(r,n,i)})(r);case"win32":return(async t=>{if(jt.has(t))return null;const r="LLVM-",o=e(at)(t,"3.7.0")?"-win32.exe":"-win64.exe",s=e(at)(t,"9.0.1");let n,i=!1;return s&&(n=j(t,r,o),await T(n)||(i=!0)),!i&&s||(n=L(t,r,o)),n})(r);default:return null}}async function F(e,t){const[r,o]=await(async(e,t,r,o)=>{if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const s of((e,t)=>Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse())(e,r)){const e=await o(t,s);if(null!==e&&await T(e))return[s,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(It,t,e,k);return me.setOutput("version",r),{url:o,extractedFolderName:"",binRelativeDir:"bin",extractFunction:"win32"===t?N:D}}async function M(t,r,o){let s=r;""!==s&&void 0!==s||(s="win32"===process.platform?"C:/Program Files/LLVM":"./llvm"),s=W.resolve(s);const n=await x("llvm",t,F,s),i=W.join(s,"lib");var a;const l=null!==(a=process.env.LD_LIBRARY_PATH)&&void 0!==a?a:"";var c;const u=null!==(c=process.env.DYLD_LIBRARY_PATH)&&void 0!==c?c:"";me.exportVariable("LLVM_PATH",s);const p=e(At)(t);if(me.exportVariable("LD_LIBRARY_PATH",`${i}${W.delimiter}${l}`),me.exportVariable("DYLD_LIBRARY_PATH",`${i}${W.delimiter}${u}`),me.exportVariable("CPATH",`${s}/lib/clang/${p}/include`),me.exportVariable("LDFLAGS",`-L${s}/lib`),me.exportVariable("CPPFLAGS",`-I${s}/include`),me.exportVariable("CC",s+"/bin/clang"),me.exportVariable("CXX",s+"/bin/clang++"),me.exportVariable("LIBRARY_PATH",s+"/lib"),"darwin"===process.platform)try{const e=await Oe.getExecOutput("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;J.existsSync(t)&&me.exportVariable("SDKROOT",t)}catch(e){me.error(e)}return n}async function U(e,t,r,o,s,n){if("win32"!==process.platform)return;let i,a;try{"2015"===e?(i="14.0.25420.1",await c("visualcpp-build-tools",i,["--ignore-dependencies","--params","'/IncludeRequired'"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140",J.existsSync(a)&&me.exportVariable("VCTargetsPath",a)):"2017"===e?(i="14.16",await c("visualstudio2017buildtools","15.9.38.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"2019"===e&&(i="14.29.30133",await c("visualstudio2019buildtools","16.11.2.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133")}catch(e){me.error(e)}void 0!==a&&J.existsSync(a)&&me.exportVariable("VCTargetsPath",a);const{setupMSVCDevCmd:l}=de("jJT7R");l((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,i,s,n)}function V(e,t){const r=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",extractedFolderName:"",extractFunction:Le.extractZip,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${r}.zip`}}function q(e){return null==e?[]:Array.isArray(e)?e:[e]}function G(e,t,r,o){var s,n=e[t],i=~o.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~o.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(s=+r)==0?s:r),!!r)):0*(s=+r)==0?s:r;e[t]=null==n?i:Array.isArray(n)?n.concat(i):[n,i]}function B(e,t){return"true"===t||void 0===t&&e in Ft?Ft[e]:null!=t?t:""}async function H(t,r,o){let s;switch(process.platform){case"win32":"arm"!==o&&"arm64"!==o||await c("gcc-arm-embedded",t),await c("mingw",t),"x64"===o&&J.existsSync("C:/tools/mingw64/bin")?(s="C:/tools/mingw64/bin",me.addPath(s)):"ia32"===o&&J.existsSync("C:/tools/mingw32/bin")?(s="C:/tools/mingw32/bin",me.addPath(s)):J.existsSync("C:/ProgramData/Chocolatey/bin/g++.exe")&&(s="C:/ProgramData/Chocolatey/bin/");break;case"darwin":s=a("gcc",t).binDir;break;case"linux":"x64"===o?s=(await i("g++",t,"ppa:ubuntu-toolchain-r/test")).binDir:(me.info(`Install g++-multilib because gcc for ${o} was requested`),s=(await i("g++-multilib",t,"ppa:ubuntu-toolchain-r/test")).binDir);break;default:throw Error("Unsupported platform for "+o)}if(void 0!==s){var n;const r=e(At)(null!==(n=e(lt)(t))&&void 0!==n?n:t);return"win32"===process.platform?(me.exportVariable("CC",s+"/gcc"),me.exportVariable("CXX",s+"/g++")):(me.exportVariable("CC",`${s}/gcc-${r}`),me.exportVariable("CXX",`${s}/g++-${r}`)),{binDir:s}}}async function X(t){const r=((e,t)=>{var r,o,s,n,i,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;const h=void 0!==(t=t||{}).alias,d=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=q(t.string),t.boolean=q(t.boolean),h)for(r in t.alias)for(o=t.alias[r]=q(t.alias[r]),l=0;o.length>l;l++)(t.alias[o[l]]=o.concat(r)).splice(l,1);for(l=t.boolean.length;l-- >0;)for(c=(o=t.alias[t.boolean[l]]||[]).length;c-- >0;)t.boolean.push(o[c]);for(l=t.string.length;l-- >0;)for(c=(o=t.alias[t.string[l]]||[]).length;c-- >0;)t.string.push(o[c]);if(f)for(r in t.default)if(n=typeof t.default[r],o=t.alias[r]=t.alias[r]||[],void 0!==t[n])for(t[n].push(r),l=0;o.length>l;l++)t[n].push(o[l]);const m=d?Object.keys(t.alias):[];for(l=0;p>l;l++){if("--"===(s=e[l])){a._=a._.concat(e.slice(++l));break}for(c=0;s.length>c&&45===s.charCodeAt(c);c++);if(0===c)a._.push(s);else if("no-"===s.substring(c,c+3)){if(n=s.substring(c+3),d&&!~m.indexOf(n))return t.unknown(s);a[n]=!1}else{for(u=c+1;s.length>u&&61!==s.charCodeAt(u);u++);for(n=s.substring(c,u),i=s.substring(++u)||l+1===p||45===(""+e[l+1]).charCodeAt(0)||e[++l],o=2===c?[n]:n,u=0;o.length>u;u++){if(n=o[u],d&&!~m.indexOf(n))return t.unknown("-".repeat(c)+n);G(a,n,o.length>u+1||i,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(h)for(r in a)for(o=t.alias[r]||[];o.length>0;)a[o.shift()]=a[r];return a})(t,{string:Vt,default:Object.fromEntries(Vt.map((e=>[e,Y(e)]))),alias:{h:"help"},boolean:"help"});var o;r.help&&me.info('\nsetup-cpp [options]\nsetup-cpp --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\t the to install.\n \t You can specify the version instead of specifying just the name e.g: --compiler \'llvm-11\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n ');const s=null!==(o=r.architecture)&&void 0!==o?o:process.arch;var n;const i=null!==(n=process.env.SETUP_CPP_DIR)&&void 0!==n?n:"~/setup_cpp",a=[],l=[],c=r.compiler;try{if(void 0!==c){const t=c.split("-"),r=t[0];let o;if(1 in t){const r=t[1];null!==e(kt)(r)?o=r:me.error(`Invalid version ${r} used for the compiler. Using the default version...`)}switch(r){case"llvm":case"clang":case"clang++":await M(B("llvm",o),i);break;case"gcc":case"mingw":case"cygwin":case"msys":await H(B("gcc",o),0,s);break;case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":await U(B("msvc",o),0,s);break;default:l.push("Unsupported compiler "+r)}}}catch(e){l.push("Failed to install the "+c)}for(const e of Ut){const t=r[e];if(void 0!==t){const r=Mt[e];try{const o=await r(B(e,t),i,s);a.push(void 0!==o?Z(e,o):e+" was successfully installed")}catch(t){l.push(e+" failed to install")}}}return a.forEach((e=>me.info(e))),l.forEach((e=>me.error(e))),me.info("setup-cpp finished"),0===l.length?0:1}function Y(e){const t=me.getInput(e.toLowerCase());if("false"!==t&&""!==t)return t}function Z(e,t){let r=e+" was successfully installed";return"installDir"in t&&(r+="\nThe installation direcotry is "+t.installDir),""!==t.binDir&&(r+="\nThe binary direcotry is "+t.binDir),r}var z=require("os"),W=require("path"),J=require("fs"),K=require("child_process"),Q=require("string_decoder"),ee=require("events"),te=require("timers"),re=require("assert"),oe=require("util"),se=require("stream"),ne=require("http"),ie=require("https");require("net");var ae=require("tls"),le=require("crypto"),ce=require("process"),ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},pe={},he={},de=ue.parcelRequire810d;null==de&&((de=e=>{if(e in pe)return pe[e].exports;if(e in he){var t=he[e];delete he[e];var r={id:e,exports:{}};return pe[e]=r,t.call(r.exports,r,r.exports),r.exports}var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}).register=(e,t)=>{he[e]=t},ue.parcelRequire810d=de),t(module.exports,"main",(()=>X)),de.register("6FGZZ",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function o(e,t={}){u.issueCommand("error",h.toCommandProperties(t),e instanceof Error?""+e:e)}function s(e){u.issue("group",e)}function n(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),l=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t}),c=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=de("eOxkI"),p=de("85a1M"),h=de("lK3O3");const d=l(z),f=l(W);var m,v;(v=m=e.exports.ExitCode||(e.exports.ExitCode={}))[v.Success=0]="Success",v[v.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=h.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";p.issueCommand("ENV",`${e}<<${t}${d.EOL}${r}${d.EOL}${t}`)}else u.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{u.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?p.issueCommand("PATH",e):u.issueCommand("add-path",{},e),process.env.PATH=`${e}${f.delimiter}${process.env.PATH}`},e.exports.getInput=r,e.exports.getMultilineInput=(e,t)=>r(e,t).split("\n").filter((e=>""!==e)),e.exports.getBooleanInput=(e,t)=>{const o=r(e,t);if(["true","True","TRUE"].includes(o))return!0;if(["false","False","FALSE"].includes(o))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(d.EOL),u.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{u.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=m.Failure,o(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=o,e.exports.warning=(e,t={})=>{u.issueCommand("warning",h.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",h.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+d.EOL)},e.exports.startGroup=s,e.exports.endGroup=n,e.exports.group=function(e,t){return c(this,void 0,void 0,(function*(){let r;s(e);try{r=yield t()}finally{n()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),de.register("eOxkI",(function(e,t){"use strict";function r(e,t,r){const o=new l(e,t,r);process.stdout.write(""+o+i.EOL)}var o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),s=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),n=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=n(z);var a=de("lK3O3");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const o in this.properties)if(this.properties.hasOwnProperty(o)){const s=this.properties[o];s&&(r?r=!1:e+=",",e+=`${o}=${t=s,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>a.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),de.register("lK3O3",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),de.register("85a1M",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const n=s(J),i=s(z);var a=de("lK3O3");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!n.existsSync(r))throw Error("Missing file at path: "+r);n.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}}));var fe,me=de("6FGZZ");const ve="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,ge=ve?";":":";var ye,xe={};de.register("5vEMD",((e,t)=>{function r(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&((e,t)=>{var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var o=0;r.length>o;o++){var s=r[o].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s)return!0}return!1})(t,r)}function o(e,t,o){J.stat(e,((s,n)=>{o(s,!s&&r(n,e,t))}))}e.exports=o,o.sync=(e,t)=>r(J.statSync(e),e,t)})),de.register("kam8f",((e,t)=>{function r(e,t,r){J.stat(e,((e,s)=>{r(e,!e&&o(s,t))}))}function o(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,o=e.uid,s=e.gid,n=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),i=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),l=parseInt("010",8),c=a|l;return r&parseInt("001",8)||r&l&&s===i||r&a&&o===n||r&c&&0===n})(e,t)}e.exports=r,r.sync=(e,t)=>o(J.statSync(e),t)})),ye="win32"===process.platform||ue.TESTING_WINDOWS?de("5vEMD"):de("kam8f"),xe=r,r.sync=(e,t)=>{try{return ye.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const we=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),Ee=(e,t)=>{const r=t.colon||ge,o=e.match(/\//)||ve&&e.match(/\\/)?[""]:[...ve?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],s=ve?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",n=ve?s.split(r):[""];return ve&&-1!==e.indexOf(".")&&""!==n[0]&&n.unshift(""),{pathEnv:o,pathExt:n,pathExtExe:s}},be=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:o,pathExt:s,pathExtExe:n}=Ee(e,t),i=[],a=r=>new Promise(((s,n)=>{if(r===o.length)return t.all&&i.length?s(i):n(we(e));const a=o[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=W.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;s(l(p,r,0))})),l=(e,r,o)=>new Promise(((c,u)=>{if(o===s.length)return c(a(r+1));const p=s[o];xe(e+p,{pathExt:n},((s,n)=>{if(!s&&n){if(!t.all)return c(e+p);i.push(e+p)}return c(l(e,r,o+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let Pe;fe=be,be.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:o,pathExtExe:s}=Ee(e,t),n=[];for(let i=0;r.length>i;i++){const a=r[i],l=/^".*"$/.test(a)?a.slice(1,-1):a,c=W.join(l,e),u=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c;for(let e=0;o.length>e;e++){const r=u+o[e];try{if(xe.sync(r,{pathExt:s})){if(!t.all)return r;n.push(r)}}catch(e){}}}if(t.all&&n.length)return n;if(t.nothrow)return null;throw we(e)};var Oe={},Se=Oe&&Oe.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),_e=Oe&&Oe.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),$e=Oe&&Oe.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Se(t,e,r);return _e(t,e),t}),Re=Oe&&Oe.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.getExecOutput=Oe.exec=void 0,de.register("fk1Ma",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return o(t,e),t}),n=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const i=s(z),a=s(ee),l=s(K),c=s(W),u=s(de("q05Mr")),p=s(de("fyhIP")),h="win32"===process.platform;e.exports.ToolRunner=class extends a.EventEmitter{constructor(e,t,r){if(super(),!e)throw Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){const r=this._getSpawnFileName(),o=this._getSpawnArgs(e);let s=t?"":"[command]";if(h)if(this._isCmdFile()){s+=r;for(const e of o)s+=" "+e}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of o)s+=" "+e}else{s+=this._windowsQuoteCmdArg(r);for(const e of o)s+=" "+this._windowsQuoteCmdArg(e)}else{s+=r;for(const e of o)s+=" "+e}return s}_processLineBuffer(e,t,r){try{let o=t+""+e,s=o.indexOf(i.EOL);for(;s>-1;)r(o.substring(0,s)),o=o.substring(s+i.EOL.length),s=o.indexOf(i.EOL);return o}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return h&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(h&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(const r of this.args)t+=" ",t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return t+='"',[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=!1;for(const o of e)if(t.some((e=>e===o))){r=!0;break}if(!r)return e;let o='"',s=!0;for(let t=e.length;t>0;t--)o+=e[t-1],s&&"\\"===e[t-1]?o+="\\":'"'===e[t-1]?(s=!0,o+='"'):s=!1;return o+='"',o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let o=e.length;o>0;o--)t+=e[o-1],r&&"\\"===e[o-1]?t+="\\":'"'===e[o-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){const r={};return r.cwd=(e=e||{}).cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return n(this,void 0,void 0,(function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||h&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise(((e,t)=>n(this,void 0,void 0,(function*(){this._debug("exec tool: "+this.toolPath),this._debug("arguments:");for(const e of this.args)this._debug(" "+e);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+i.EOL);const o=new d(r,this.toolPath);if(o.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const s=this._getSpawnFileName(),n=l.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let a="";n.stdout&&n.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let c="";if(n.stderr&&n.stderr.on("data",(e=>{o.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),n.on("error",(e=>{o.processError=e.message,o.processExited=!0,o.processClosed=!0,o.CheckComplete()})),n.on("exit",(e=>{o.processExitCode=e,o.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),o.CheckComplete()})),n.on("close",(e=>{o.processExitCode=e,o.processExited=!0,o.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),o.CheckComplete()})),o.on("done",((r,o)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),n.removeAllListeners(),r?t(r):e(o)})),this.options.input){if(!n.stdin)throw Error("child process missing stdin");n.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){s&&'"'!==e&&(n+="\\"),n+=e,s=!1}const r=[];let o=!1,s=!1,n="";for(let i=0;e.length>i;i++){const a=e.charAt(i);'"'!==a?"\\"===a&&s?t(a):"\\"===a&&o?s=!0:" "!==a||o?t(a):n.length>0&&(r.push(n),n=""):s?t(a):o=!o}return n.length>0&&r.push(n.trim()),r};class d extends a.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=te.setTimeout(d.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):0===this.processExitCode||this.options.ignoreReturnCode?this.processStderr&&this.options.failOnStdErr&&(e=Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)):e=Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){e.done||(!e.processClosed&&e.processExited&&e._debug(`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`),e._setResult())}}})),de.register("q05Mr",(function(e,t){"use strict";function r(e){return u(this,void 0,void 0,(function*(){if(d.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=d.getCmdPath();(yield d.isDirectory(e,!0))?yield f(t+' /s /c "rd /s /q "%inputPath%""',{env:{inputPath:e}}):yield f(t+' /s /c "del /f /a "%inputPath%""',{env:{inputPath:e}})}catch(e){if("ENOENT"!==e.code)throw e}try{yield d.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield d.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield d.unlink(e)}}))}function o(e){return u(this,void 0,void 0,(function*(){re.ok(e,"a path argument must be provided"),yield d.mkdir(e,{recursive:!0})}))}function s(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(d.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(h.delimiter))e&&t.push(e);if(d.isRooted(e)){const r=yield d.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(h.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(h.delimiter))e&&r.push(e);const o=[];for(const s of r){const r=yield d.tryGetExecutablePath(h.join(s,e),t);r&&o.push(r)}return o}))}function n(e,t,r,s){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield o(t);const a=yield d.readdir(e);for(const o of a){const a=`${e}/${o}`,l=`${t}/${o}`;(yield d.lstat(a)).isDirectory()?yield n(a,l,r,s):yield i(a,l,s)}yield d.chmod(t,(yield d.stat(e)).mode)}))}function i(e,t,r){return u(this,void 0,void 0,(function*(){if((yield d.lstat(e)).isSymbolicLink()){try{yield d.lstat(t),yield d.unlink(t)}catch(e){"EPERM"===e.code&&(yield d.chmod(t,"0666"),yield d.unlink(t))}const r=yield d.readlink(e);yield d.symlink(r,t,d.IS_WINDOWS?"junction":null)}else(yield d.exists(t))&&!r||(yield d.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),l=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),c=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&a(t,e,r);return l(t,e),t}),u=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;const p=c(K),h=c(W),d=c(de("fyhIP")),f=oe.promisify(p.exec),m=oe.promisify(p.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:o,recursive:s,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),l=(yield d.exists(t))?yield d.stat(t):null;if(l&&l.isFile()&&!o)return;const c=l&&l.isDirectory()&&a?h.join(t,h.basename(e)):t;if(!(yield d.exists(e)))throw Error("no such file or directory: "+e);if((yield d.stat(e)).isDirectory()){if(!s)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield n(e,c,0,o)}else{if(""===h.relative(e,c))throw Error(`'${c}' and '${e}' are the same file`);yield i(e,c,o)}}))},e.exports.mv=function(e,t,s={}){return u(this,void 0,void 0,(function*(){if(yield d.exists(t)){let o=!0;if((yield d.isDirectory(t))&&(t=h.join(t,h.basename(e)),o=yield d.exists(t)),o){if(null!=s.force&&!s.force)throw Error("Destination already exists");yield r(t)}}yield o(h.dirname(t)),yield d.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=o,e.exports.which=function e(t,r){return u(this,void 0,void 0,(function*(){if(!t)throw Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw Error(d.IS_WINDOWS?`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`:`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return r}const o=yield s(t);return o&&o.length>0?o[0]:""}))},e.exports.findInPath=s})),de.register("fyhIP",(function(e,t){"use strict";function r(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}var o,s=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&s(t,e,r);return n(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;const l=i(J),c=i(W);e.exports.chmod=(o=l.promises).chmod,e.exports.copyFile=o.copyFile,e.exports.lstat=o.lstat,e.exports.mkdir=o.mkdir,e.exports.readdir=o.readdir,e.exports.readlink=o.readlink,e.exports.rename=o.rename,e.exports.rmdir=o.rmdir,e.exports.stat=o.stat,e.exports.symlink=o.symlink,e.exports.unlink=o.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.exists=function(t){return a(this,void 0,void 0,(function*(){try{yield e.exports.stat(t)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},e.exports.isDirectory=function(t,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory()}))},e.exports.isRooted=t=>{if(!(t=(t=>(t=t||"",e.exports.IS_WINDOWS?(t=t.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):t.replace(/\/\/+/g,"/")))(t)))throw Error('isRooted() parameter "p" cannot be empty');return e.exports.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")},e.exports.tryGetExecutablePath=function(t,o){return a(this,void 0,void 0,(function*(){let s;try{s=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(s&&s.isFile())if(e.exports.IS_WINDOWS){const e=c.extname(t).toUpperCase();if(o.some((t=>t.toUpperCase()===e)))return t}else if(r(s))return t;const n=t;for(const i of o){t=n+i,s=void 0;try{s=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(s&&s.isFile()){if(e.exports.IS_WINDOWS){try{const r=c.dirname(t),o=c.basename(t).toUpperCase();for(const s of yield e.exports.readdir(r))if(o===s.toUpperCase()){t=c.join(r,s);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(s))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}}));const Ce=$e(de("fk1Ma"));let Ae;Oe.exec=s,Oe.getExecOutput=function(e,t,r){var o,n;return Re(this,void 0,void 0,(function*(){let i="",a="";const l=new Q.StringDecoder("utf8"),c=new Q.StringDecoder("utf8"),u=null===(o=null==r?void 0:r.listeners)||void 0===o?void 0:o.stdout,p=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stderr,h=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){i+=l.write(e),u&&u(e)},stderr(e){a+=c.write(e),p&&p(e)}}),d=yield s(e,t,Object.assign(Object.assign({},r),{listeners:h}));return i+=l.end(),a+=c.end(),{exitCode:d,stdout:i,stderr:a}}))};let Te=!1,Ie=!1;me=de("6FGZZ");let Ne,De=!1;var Le={},je=Le&&Le.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),ke=Le&&Le.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Fe=Le&&Le.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&je(t,e,r);return ke(t,e),t}),Me=Le&&Le.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())}))),Ue=Le&&Le.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Le,"__esModule",{value:!0}),Le.evaluateVersions=Le.isExplicitVersion=Le.findFromManifest=Le.getManifestFromRepo=Le.findAllVersions=Le.find=Le.cacheFile=Le.cacheDir=Le.extractZip=Le.extractXar=Le.extractTar=Le.extract7z=Le.downloadTool=Le.HTTPError=void 0;const Ve=Fe(de("6FGZZ")),qe=Fe(de("q05Mr")),Ge=Fe(J);de.register("1Hds5",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return o(t,e),t}),n=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const i=s(de("hBwzM"));var a=de("6FGZZ");e.exports._findMatch=function(t,r,o,s){return n(this,void 0,void 0,(function*(){const n=z.platform();let l,c,u;for(const l of o){const o=l.version;if(a.debug(`check ${o} satisfies ${t}`),i.satisfies(o,t)&&(!r||l.stable===r)&&(u=l.files.find((t=>{a.debug(`${t.arch}===${s} && ${t.platform}===${n}`);let r=t.arch===s&&t.platform===n;if(r&&t.platform_version){const o=e.exports._getOsVersion();r=o===t.platform_version||i.satisfies(o,t.platform_version)}return r})),u)){a.debug("matched "+l.version),c=l;break}}return c&&u&&(l=Object.assign({},c),l.files=[u]),l}))},e.exports._getOsVersion=()=>{const t=z.platform();let r="";if("darwin"===t)r=""+K.execSync("sw_vers -productVersion");else if("linux"===t){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(2===e.length&&("VERSION_ID"===e[0].trim()||"DISTRIB_RELEASE"===e[0].trim())){r=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return r},e.exports._readLinuxVersionFile=()=>{const e="/etc/lsb-release",t="/etc/os-release";let r="";return J.existsSync(e)?r=""+J.readFileSync(e):J.existsSync(t)&&(r=""+J.readFileSync(t)),r}})),de.register("hBwzM",((e,t)=>{var r=de("j1nFx");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:de("9PnyI").SEMVER_SPEC_VERSION,SemVer:de("j4Bpm"),compareIdentifiers:de("9vPNp").compareIdentifiers,rcompareIdentifiers:de("9vPNp").rcompareIdentifiers,parse:de("bd0kF"),valid:de("1JJDJ"),clean:de("6mLCu"),inc:de("1Orzu"),diff:de("kGDR5"),major:de("k3zcS"),minor:de("e8NKK"),patch:de("3Fhst"),prerelease:de("6elLy"),compare:de("1wyqe"),rcompare:de("las47"),compareLoose:de("dQlWE"),compareBuild:de("7REgF"),sort:de("3U0ar"),rsort:de("98o3F"),gt:de("6bYo1"),lt:de("98Pyg"),eq:de("4eeum"),neq:de("a0PPD"),gte:de("kRrXd"),lte:de("ju11K"),cmp:de("cITzi"),coerce:de("5M2Mq"),Comparator:de("hDCF3"),Range:de("8YuUE"),satisfies:de("6rO9c"),toComparators:de("fx4Sd"),maxSatisfying:de("bMVW7"),minSatisfying:de("g5aoW"),minVersion:de("hO4RL"),validRange:de("hXGf0"),outside:de("2MRaB"),gtr:de("bqGrY"),ltr:de("3AeSM"),intersects:de("2Lyoi"),simplifyRange:de("5pzc6"),subset:de("2XGoS")}})),de.register("j1nFx",((e,t)=>{var r=de("9PnyI").MAX_SAFE_COMPONENT_LENGTH,o=de("8eni4");const s=(t=e.exports={}).re=[],n=t.src=[],i=t.t={};let a=0;const l=(e,t,r)=>{const l=a++;o(l,t),i[e]=l,n[l]=t,s[l]=RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${n[i.NUMERICIDENTIFIER]})\\.(${n[i.NUMERICIDENTIFIER]})\\.(${n[i.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${n[i.NUMERICIDENTIFIERLOOSE]})\\.(${n[i.NUMERICIDENTIFIERLOOSE]})\\.(${n[i.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${n[i.NUMERICIDENTIFIER]}|${n[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${n[i.NUMERICIDENTIFIERLOOSE]}|${n[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${n[i.PRERELEASEIDENTIFIER]}(?:\\.${n[i.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${n[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[i.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${n[i.BUILDIDENTIFIER]}(?:\\.${n[i.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${n[i.MAINVERSION]}${n[i.PRERELEASE]}?${n[i.BUILD]}?`),l("FULL",`^${n[i.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${n[i.MAINVERSIONLOOSE]}${n[i.PRERELEASELOOSE]}?${n[i.BUILD]}?`),l("LOOSE",`^${n[i.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",n[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),l("XRANGEIDENTIFIER",n[i.NUMERICIDENTIFIER]+"|x|X|\\*"),l("XRANGEPLAIN",`[v=\\s]*(${n[i.XRANGEIDENTIFIER]})(?:\\.(${n[i.XRANGEIDENTIFIER]})(?:\\.(${n[i.XRANGEIDENTIFIER]})(?:${n[i.PRERELEASE]})?${n[i.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${n[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[i.XRANGEIDENTIFIERLOOSE]})(?:${n[i.PRERELEASELOOSE]})?${n[i.BUILD]}?)?)?`),l("XRANGE",`^${n[i.GTLT]}\\s*${n[i.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${n[i.GTLT]}\\s*${n[i.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",n[i.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${n[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${n[i.LONETILDE]}${n[i.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${n[i.LONETILDE]}${n[i.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${n[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${n[i.LONECARET]}${n[i.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${n[i.LONECARET]}${n[i.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${n[i.GTLT]}\\s*(${n[i.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${n[i.GTLT]}\\s*(${n[i.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${n[i.GTLT]}\\s*(${n[i.LOOSEPLAIN]}|${n[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${n[i.XRANGEPLAIN]})\\s+-\\s+(${n[i.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${n[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[i.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),de.register("9PnyI",((e,t)=>{e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}})),de.register("8eni4",((e,t)=>{const r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r})),de.register("j4Bpm",(function(e,t){var r=de("8eni4"),o=de("9PnyI"),s=o.MAX_LENGTH,n=o.MAX_SAFE_INTEGER,i=de("j1nFx"),a=i.re,l=i.t,c=de("26eGk"),u=de("9vPNp").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>s)throw new TypeError(`version is longer than ${s} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const o=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>n||0>this.major)throw new TypeError("Invalid major version");if(this.minor>n||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>n||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=o[4]?o[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&n>t)return t}return e})):[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof p)){if("string"==typeof e&&e===this.version)return 0;e=new p(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof p||(e=new p(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof p||(e=new p(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const o=this.prerelease[t],s=e.prerelease[t];if(r("prerelease compare",t,o,s),void 0===o&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===o)return-1;if(o!==s)return u(o,s)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const o=this.build[t],s=e.build[t];if(r("prerelease compare",t,o,s),void 0===o&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===o)return-1;if(o!==s)return u(o,s)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=p})),de.register("26eGk",((e,t)=>{const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}})),de.register("9vPNp",((e,t)=>{const r=/^[0-9]+$/,o=(e,t)=>{const o=r.test(e),s=r.test(t);return o&&s&&(e=+e,t=+t),e===t?0:o&&!s?-1:s&&!o?1:t>e?-1:1};e.exports={compareIdentifiers:o,rcompareIdentifiers(e,t){return o(t,e)}}})),de.register("bd0kF",((e,t)=>{var r=de("9PnyI").MAX_LENGTH,o=de("j1nFx"),s=o.t,n=o.re,i=de("j4Bpm"),a=de("26eGk");e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?n[s.LOOSE]:n[s.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}})),de.register("1JJDJ",((e,t)=>{var r=de("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o?o.version:null}})),de.register("6mLCu",((e,t)=>{var r=de("bd0kF");e.exports=(e,t)=>{const o=r(e.trim().replace(/^[=v]+/,""),t);return o?o.version:null}})),de.register("1Orzu",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t,o,s)=>{"string"==typeof o&&(s=o,o=void 0);try{return new r(e,o).inc(t,s).version}catch(e){return null}}})),de.register("kGDR5",((e,t)=>{var r=de("bd0kF"),o=de("4eeum");e.exports=(e,t)=>{if(o(e,t))return null;{const o=r(e),s=r(t),n=o.prerelease.length||s.prerelease.length,i=n?"pre":"",a=n?"prerelease":"";for(const e in o)if(("major"===e||"minor"===e||"patch"===e)&&o[e]!==s[e])return i+e;return a}}})),de.register("4eeum",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0===r(e,t,o)})),de.register("1wyqe",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t,o)=>new r(e,o).compare(new r(t,o))})),de.register("k3zcS",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t)=>new r(e,t).major})),de.register("e8NKK",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t)=>new r(e,t).minor})),de.register("3Fhst",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t)=>new r(e,t).patch})),de.register("6elLy",((e,t)=>{var r=de("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o&&o.prerelease.length?o.prerelease:null}})),de.register("las47",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>r(t,e,o)})),de.register("dQlWE",((e,t)=>{var r=de("1wyqe");e.exports=(e,t)=>r(e,t,!0)})),de.register("7REgF",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t,o)=>{const s=new r(e,o),n=new r(t,o);return s.compare(n)||s.compareBuild(n)}})),de.register("3U0ar",((e,t)=>{var r=de("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(e,o,t)))})),de.register("98o3F",((e,t)=>{var r=de("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(o,e,t)))})),de.register("6bYo1",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>0})),de.register("98Pyg",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0>r(e,t,o)})),de.register("a0PPD",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0!==r(e,t,o)})),de.register("kRrXd",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>=0})),de.register("ju11K",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0>=r(e,t,o)})),de.register("cITzi",((e,t)=>{var r=de("4eeum"),o=de("a0PPD"),s=de("6bYo1"),n=de("kRrXd"),i=de("98Pyg"),a=de("ju11K");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return o(e,l,c);case">":return s(e,l,c);case">=":return n(e,l,c);case"<":return i(e,l,c);case"<=":return a(e,l,c);default:throw new TypeError("Invalid operator: "+t)}}})),de.register("5M2Mq",((e,t)=>{var r=de("j4Bpm"),o=de("bd0kF"),s=de("j1nFx"),n=s.t,i=s.re;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let s=null;if((t=t||{}).rtl){let t;for(;(t=i[n.COERCERTL].exec(e))&&(!s||s.index+s[0].length!==e.length);)s&&t.index+t[0].length===s.index+s[0].length||(s=t),i[n.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[n.COERCERTL].lastIndex=-1}else s=e.match(i[n.COERCE]);return null===s?null:o(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,t)}})),de.register("hDCF3",(function(e,t){const r=Symbol();class o{static get ANY(){return r}constructor(e,t){if(t=s(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===r?"":this.operator+this.semver.version,c("comp",this)}parse(e){const t=e.match(this.options.loose?i[a.COMPARATORLOOSE]:i[a.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new u(t[2],this.options.loose):r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),s=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),n=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||s||n&&i||a||c}}e.exports=o;var s=de("26eGk"),n=de("j1nFx"),i=n.re,a=n.t,l=de("cITzi"),c=de("8eni4"),u=de("j4Bpm"),p=de("8YuUE")})),de.register("8YuUE",(function(e,t){class r{constructor(e,t){if(t=s(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof n)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const s=this.options.loose;e=e.replace(s?u[c.HYPHENRANGELOOSE]:u[c.HYPHENRANGE],$(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(u[c.COMPARATORTRIM],p),i("comparator trim",e,u[c.COMPARATORTRIM]),e=(e=(e=e.replace(u[c.TILDETRIM],h)).replace(u[c.CARETTRIM],d)).split(/\s+/).join(" ");const a=s?u[c.COMPARATORLOOSE]:u[c.COMPARATOR],l=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options))).filter(this.options.loose?e=>!!e.match(a):()=>!0).map((e=>new n(e,this.options))),m=new Map;for(const e of l){if(f(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const v=[...m.values()];return o.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(e){return!1}for(let t=0;this.set.length>t;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(de("hqS6J"))({max:1e3});var s=de("26eGk"),n=de("hDCF3"),i=de("8eni4"),a=de("j4Bpm"),l=de("j1nFx"),c=l.t,u=l.re,p=l.comparatorTrimReplace,h=l.tildeTrimReplace,d=l.caretTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,v=(e,t)=>{let r=!0;const o=e.slice();let s=o.pop();for(;r&&o.length;)r=o.every((e=>s.intersects(e,t))),s=o.pop();return r},g=(e,t)=>(i("comp",e,t),e=E(e,t),i("caret",e),e=x(e,t),i("tildes",e),e=P(e,t),i("xrange",e),e=S(e,t),i("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>e.replace(t.loose?u[c.TILDELOOSE]:u[c.TILDE],((t,r,o,s,n)=>{let a;return i("tilde",e,t,r,o,s,n),y(r)?a="":y(o)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(s)?a=`>=${r}.${o}.0 <${r}.${+o+1}.0-0`:n?(i("replaceTilde pr",n),a=`>=${r}.${o}.${s}-${n} <${r}.${+o+1}.0-0`):a=`>=${r}.${o}.${s} <${r}.${+o+1}.0-0`,i("tilde return",a),a})),E=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{i("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?u[c.CARETLOOSE]:u[c.CARET],((t,o,s,n,a)=>{let l;return i("caret",e,t,o,s,n,a),y(o)?l="":y(s)?l=`>=${o}.0.0${r} <${+o+1}.0.0-0`:y(n)?l="0"===o?`>=${o}.${s}.0${r} <${o}.${+s+1}.0-0`:`>=${o}.${s}.0${r} <${+o+1}.0.0-0`:a?(i("replaceCaret pr",a),l="0"===o?"0"===s?`>=${o}.${s}.${n}-${a} <${o}.${s}.${+n+1}-0`:`>=${o}.${s}.${n}-${a} <${o}.${+s+1}.0-0`:`>=${o}.${s}.${n}-${a} <${+o+1}.0.0-0`):(i("no pr"),l="0"===o?"0"===s?`>=${o}.${s}.${n}${r} <${o}.${s}.${+n+1}-0`:`>=${o}.${s}.${n}${r} <${o}.${+s+1}.0-0`:`>=${o}.${s}.${n} <${+o+1}.0.0-0`),i("caret return",l),l}))},P=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>(e=e.trim()).replace(t.loose?u[c.XRANGELOOSE]:u[c.XRANGE],((r,o,s,n,a,l)=>{i("xRange",e,r,o,s,n,a,l);const c=y(s),u=c||y(n),p=u||y(a);return"="===o&&p&&(o=""),l=t.includePrerelease?"-0":"",c?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(n=0),a=0,">"===o?(o=">=",u?(s=+s+1,n=0,a=0):(n=+n+1,a=0)):"<="===o&&(o="<",u?s=+s+1:n=+n+1),"<"===o&&(l="-0"),r=`${o+s}.${n}.${a}${l}`):u?r=`>=${s}.0.0${l} <${+s+1}.0.0-0`:p&&(r=`>=${s}.${n}.0${l} <${s}.${+n+1}.0-0`),i("xRange return",r),r})),S=(e,t)=>(i("replaceStars",e,t),e.trim().replace(u[c.STAR],"")),_=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(u[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),$=e=>(t,r,o,s,n,i,a,l,c,u,p,h,d)=>`${r=y(o)?"":y(s)?`>=${o}.0.0${e?"-0":""}`:y(n)?`>=${o}.${s}.0${e?"-0":""}`:i?">="+r:`>=${r}${e?"-0":""}`} ${l=y(c)?"":y(u)?`<${+c+1}.0.0-0`:y(p)?`<${c}.${+u+1}.0-0`:h?`<=${c}.${u}.${p}-${h}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l}`.trim(),R=(e,t,r)=>{for(let r=0;e.length>r;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;e.length>r;r++)if(i(e[r].semver),e[r].semver!==n.ANY&&e[r].semver.prerelease.length>0){const o=e[r].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}})),de.register("hqS6J",(function(e,t){"use strict";var r=de("9ShIP");const o=Symbol(),s=Symbol(),n=Symbol(),i=Symbol(),a=Symbol(),l=Symbol(),c=Symbol(),u=Symbol(),p=Symbol(),h=Symbol(),d=()=>1,f=(e,t,r)=>{const o=e[p].get(t);if(o){const t=o.value;if(m(e,t)){if(g(e,o),!e[i])return}else r&&(e[h]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]},v=e=>{if(e[s]>e[o])for(let t=e[u].tail;e[s]>e[o]&&null!==t;){const r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){const r=t.value;e[l]&&e[l](r.key,r.value),e[s]-=r.length,e[p].delete(r.key),e[u].removeNode(t)}};class y{constructor(e,t,r,o,s){this.key=e,this.value=t,this.length=r,this.now=o,this.maxAge=s||0}}const x=(e,t,r,o)=>{let s=r.value;m(e,s)&&(g(e,r),e[i]||(s=void 0)),s&&t.call(o,s.value,s.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||0>e.max))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||d;if(this[n]="function"!=typeof t?d:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||0>e)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,v(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[a]=e,v(this)}get maxAge(){return this[a]}set lengthCalculator(e){"function"!=typeof e&&(e=d),e!==this[n]&&(this[n]=e,this[s]=0,this[u].forEach((e=>{e.length=this[n](e.value,e.key),this[s]+=e.length}))),v(this)}get lengthCalculator(){return this[n]}get length(){return this[s]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){const o=r.prev;x(this,e,r,t),r=o}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){const o=r.next;x(this,e,r,t),r=o}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[l]&&this[u]&&this[u].length&&this[u].forEach((e=>this[l](e.key,e.value))),this[p]=new Map,this[u]=new r,this[s]=0}dump(){return this[u].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const i=r?Date.now():0,h=this[n](t,e);if(this[p].has(e)){if(h>this[o])return g(this,this[p].get(e)),!1;const n=this[p].get(e).value;return this[l]&&(this[c]||this[l](e,n.value)),n.now=i,n.maxAge=r,n.value=t,this[s]+=h-n.length,n.length=h,this.get(e),v(this),!0}const d=new y(e,t,h,i,r);return d.length>this[o]?(this[l]&&this[l](e,t),!1):(this[s]+=d.length,this[u].unshift(d),this[p].set(e,this[u].head),v(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[u].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const o=e[r],s=o.e||0;if(0===s)this.set(o.k,o.v);else{const e=s-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[p].forEach(((e,t)=>f(this,t,!1)))}}})),de.register("9ShIP",(function(e,t){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((e=>{t.push(e)}));else if(arguments.length>0)for(var o=0,s=arguments.length;s>o;o++)t.push(arguments[o]);return t}function o(e,t,r){var o=t===e.head?new i(r,null,t,e):new i(r,t,t.next,e);return null===o.next&&(e.tail=o),null===o.prev&&(e.head=o),e.length++,o}function s(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function n(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,r,o){if(!(this instanceof i))return new i(e,t,r,o);this.list=o,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=r,r.Node=i,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)s(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;t>e;e++)n(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,o=0;null!==r;o++)e.call(t,r.value,o,this),r=r.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,o=this.length-1;null!==r;o--)e.call(t,r.value,o,this),r=r.prev},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value},r.prototype.map=function(e,t){t=t||this;for(var o=new r,s=this.head;null!==s;)o.push(e.call(t,s.value,this)),s=s.next;return o},r.prototype.mapReverse=function(e,t){t=t||this;for(var o=new r,s=this.tail;null!==s;)o.push(e.call(t,s.value,this)),s=s.prev;return o},r.prototype.reduce=function(e,t){var r,o=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,r=this.head.value}for(var s=0;null!==o;s++)r=e(r,o.value,s),o=o.next;return r},r.prototype.reduceReverse=function(e,t){var r,o=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,r=this.tail.value}for(var s=this.length-1;null!==o;s--)r=e(r,o.value,s),o=o.prev;return r},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},r.prototype.slice=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var s=0,n=this.head;null!==n&&e>s;s++)n=n.next;for(;null!==n&&t>s;s++,n=n.next)o.push(n.value);return o},r.prototype.sliceReverse=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,n=this.tail;null!==n&&s>t;s--)n=n.prev;for(;null!==n&&s>e;s--,n=n.prev)o.push(n.value);return o},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),0>e&&(e=this.length+e);for(var s=0,n=this.head;null!==n&&e>s;s++)n=n.next;var i=[];for(s=0;n&&t>s;s++)i.push(n.value),n=this.removeNode(n);for(null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev),s=0;r.length>s;s++)n=o(this,n,r[s]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var o=r.prev;r.prev=r.next,r.next=o}return this.head=t,this.tail=e,this};try{de("bdwRA")(r)}catch(e){}})),de.register("bdwRA",(function(e,t){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}})),de.register("6rO9c",((e,t)=>{var r=de("8YuUE");e.exports=(e,t,o)=>{try{t=new r(t,o)}catch(e){return!1}return t.test(e)}})),de.register("fx4Sd",((e,t)=>{var r=de("8YuUE");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),de.register("bMVW7",((e,t)=>{var r=de("j4Bpm"),o=de("8YuUE");e.exports=(e,t,s)=>{let n=null,i=null,a=null;try{a=new o(t,s)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(n&&-1!==i.compare(e)||(n=e,i=new r(n,s)))})),n}})),de.register("g5aoW",((e,t)=>{var r=de("j4Bpm"),o=de("8YuUE");e.exports=(e,t,s)=>{let n=null,i=null,a=null;try{a=new o(t,s)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(n&&1!==i.compare(e)||(n=e,i=new r(n,s)))})),n}})),de.register("hO4RL",((e,t)=>{var r=de("j4Bpm"),o=de("8YuUE"),s=de("6bYo1");e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;e.set.length>t;++t){let o=null;e.set[t].forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!s(t,o)||(o=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!o||n&&!s(n,o)||(n=o)}return n&&e.test(n)?n:null}})),de.register("hXGf0",((e,t)=>{var r=de("8YuUE");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),de.register("2MRaB",((e,t)=>{var r=de("j4Bpm"),o=de("hDCF3");const{ANY:s}=o;var n=de("8YuUE"),i=de("6rO9c"),a=de("6bYo1"),l=de("98Pyg"),c=de("ju11K"),u=de("kRrXd");e.exports=(e,t,p,h)=>{let d,f,m,v,g;switch(e=new r(e,h),t=new n(t,h),p){case">":d=a,f=c,m=l,v=">",g=">=";break;case"<":d=l,f=u,m=a,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,h))return!1;for(let r=0;t.set.length>r;++r){let n=null,i=null;if(t.set[r].forEach((e=>{e.semver===s&&(e=new o(">=0.0.0")),n=n||e,i=i||e,d(e.semver,n.semver,h)?n=e:m(e.semver,i.semver,h)&&(i=e)})),n.operator===v||n.operator===g)return!1;if((!i.operator||i.operator===v)&&f(e,i.semver))return!1;if(i.operator===g&&m(e,i.semver))return!1}return!0}})),de.register("bqGrY",((e,t)=>{var r=de("2MRaB");e.exports=(e,t,o)=>r(e,t,">",o)})),de.register("3AeSM",((e,t)=>{var r=de("2MRaB");e.exports=(e,t,o)=>r(e,t,"<",o)})),de.register("2Lyoi",((e,t)=>{var r=de("8YuUE");e.exports=(e,t,o)=>(e=new r(e,o),t=new r(t,o),e.intersects(t))})),de.register("5pzc6",((e,t)=>{var r=de("6rO9c"),o=de("1wyqe");e.exports=(e,t,s)=>{const n=[];let i=null,a=null;const l=e.sort(((e,t)=>o(e,t,s)));for(const e of l)r(e,t,s)?(a=e,i||(i=e)):(a&&n.push([i,a]),a=null,i=null);i&&n.push([i,null]);const c=[];for(const[e,t]of n)c.push(e===t?e:t||e!==l[0]?t?e===l[0]?"<="+t:`${e} - ${t}`:">="+e:"*");const u=c.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>u.length?u:t}})),de.register("2XGoS",((e,t)=>{var r=de("8YuUE"),o=de("hDCF3");const{ANY:s}=o;var n=de("6rO9c"),i=de("1wyqe");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===s){if(1===t.length&&t[0].semver===s)return!0;e=r.includePrerelease?[new o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===s){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const a=new Set;let u,p,h,d,f,m,v;for(const t of e)">"===t.operator||">="===t.operator?u=l(u,t,r):"<"===t.operator||"<="===t.operator?p=c(p,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&p){if(h=i(u.semver,p.semver,r),h>0)return null;if(0===h&&(">="!==u.operator||"<="!==p.operator))return null}for(const e of a){if(u&&!n(e,u+"",r))return null;if(p&&!n(e,p+"",r))return null;for(const o of t)if(!n(e,o+"",r))return!1;return!0}let g=!(!p||r.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;g&&1===g.prerelease.length&&"<"===p.operator&&0===g.prerelease[0]&&(g=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,u)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(d=l(u,e,r),d===e&&d!==u)return!1}else if(">="===u.operator&&!n(u.semver,e+"",r))return!1;if(p)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if(f=c(p,e,r),f===e&&f!==p)return!1}else if("<="===p.operator&&!n(p.semver,e+"",r))return!1;if(!e.operator&&(p||u)&&0!==h)return!1}return!(u&&m&&!p&&0!==h||p&&v&&!u&&0!==h||y||g)},l=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return o>0?e:0>o||">"===t.operator&&">="===e.operator?t:e},c=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return 0>o?e:o>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,o={})=>{if(e===t)return!0;e=new r(e,o),t=new r(t,o);let s=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,o);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}}));const Be=Fe(de("1Hds5")),He=Fe(z),Xe=Fe(W);de.register("9AGbw",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=de("cEfL5");let o;var s,n,i,a,l;(n=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[n.OK=200]="OK",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.ResourceMoved=302]="ResourceMoved",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.SwitchProxy=306]="SwitchProxy",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.TooManyRequests=429]="TooManyRequests",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",(a=i=e.exports.Headers||(e.exports.Headers={})).Accept="accept",a.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{let t=r.getProxyUrl(new URL(e));return t?t.href:""};const c=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],u=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],p=["OPTIONS","GET","DELETE","HEAD"];class h extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,h.prototype)}}e.exports.HttpClientError=h;class d{constructor(e){this.message=e}readBody(){return new Promise((async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",(e=>{r=Buffer.concat([r,e])})),this.message.on("end",(()=>{e(""+r)}))}))}}e.exports.HttpClientResponse=d,e.exports.isHttps=e=>"https:"===new URL(e).protocol;class f{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,r){return this.request("POST",e,t,r||{})}patch(e,t,r){return this.request("PATCH",e,t,r||{})}put(e,t,r){return this.request("PUT",e,t,r||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,r,o){return this.request(e,t,r,o)}async getJson(e,t={}){t[i.Accept]=this._getExistingOrDefaultHeader(t,i.Accept,l.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,l.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,l.ApplicationJson);let s=await this.post(e,o,r);return this._processResponse(s,this.requestOptions)}async putJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,l.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,l.ApplicationJson);let s=await this.put(e,o,r);return this._processResponse(s,this.requestOptions)}async patchJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,l.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,l.ApplicationJson);let s=await this.patch(e,o,r);return this._processResponse(s,this.requestOptions)}async request(e,t,r,o){if(this._disposed)throw Error("Client has already been disposed.");let n,i=new URL(t),a=this._prepareRequest(e,i,o),l=this._allowRetries&&-1!=p.indexOf(e)?this._maxRetries+1:1,h=0;for(;l>h;){if(n=await this.requestRaw(a,r),n&&n.message&&n.message.statusCode===s.Unauthorized){let e;for(let t=0;this.handlers.length>t;t++)if(this.handlers[t].canHandleAuthentication(n)){e=this.handlers[t];break}return e?e.handleAuthentication(this,a,r):n}let t=this._maxRedirects;for(;-1!=c.indexOf(n.message.statusCode)&&this._allowRedirects&&t>0;){const s=n.message.headers.location;if(!s)break;let l=new URL(s);if("https:"==i.protocol&&i.protocol!=l.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(await n.readBody(),l.hostname!==i.hostname)for(let e in o)"authorization"===e.toLowerCase()&&delete o[e];a=this._prepareRequest(e,l,o),n=await this.requestRaw(a,r),t--}if(-1==u.indexOf(n.message.statusCode))return n;h+=1,l>h&&(await n.readBody(),await this._performExponentialBackoff(h))}return n}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return new Promise(((r,o)=>{this.requestRawWithCallback(e,t,((e,t)=>{e&&o(e),r(t)}))}))}requestRawWithCallback(e,t,r){let o;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t))},i=e.httpModule.request(e.options,(e=>{let t=new d(e);n(null,t)}));i.on("socket",(e=>{o=e})),i.setTimeout(this._socketTimeout||18e4,(()=>{o&&o.end(),n(Error("Request timeout: "+e.options.path),null)})),i.on("error",(e=>{n(e,null)})),t&&"string"==typeof t&&i.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{i.end()})),t.pipe(i)):i.end()}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const o={};o.parsedUrl=t;const s="https:"===o.parsedUrl.protocol;o.httpModule=s?ie:ne;const n=s?443:80;return o.options={},o.options.host=o.parsedUrl.hostname,o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):n,o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||""),o.options.method=e,o.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(o.options.headers["user-agent"]=this.userAgent),o.options.agent=this._getAgent(o.parsedUrl),this.handlers&&this.handlers.forEach((e=>{e.prepareRequest(o.options)})),o}_mergeHeaders(e){const t=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});return this.requestOptions&&this.requestOptions.headers?Object.assign({},t(this.requestOptions.headers),t(e)):t(e||{})}_getExistingOrDefaultHeader(e,t,r){let o;var s;return this.requestOptions&&this.requestOptions.headers&&(o=(s=this.requestOptions.headers,Object.keys(s).reduce(((e,t)=>(e[t.toLowerCase()]=s[t],e)),{}))[t]),e[t]||o||r}_getAgent(e){let t,s=r.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const i="https:"===e.protocol;let a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||ne.globalAgent.maxSockets),n){o||(o=de("hEhmi"));const e={maxSockets:a,keepAlive:this._keepAlive,proxy:{...(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`},host:s.hostname,port:s.port}};let r;const n="https:"===s.protocol;r=i?n?o.httpsOverHttps:o.httpsOverHttp:n?o.httpOverHttps:o.httpOverHttp,t=r(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:a};t=i?new ie.Agent(e):new ne.Agent(e),this._agent=t}return t||(t=i?ie.globalAgent:ne.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}static dateTimeDeserializer(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e}return t}async _processResponse(e,t){return new Promise((async(r,o)=>{const n=e.message.statusCode,i={statusCode:n,result:null,headers:{}};let a,l;n==s.NotFound&&r(i);try{l=await e.readBody(),l&&l.length>0&&(a=t&&t.deserializeDates?JSON.parse(l,f.dateTimeDeserializer):JSON.parse(l),i.result=a),i.headers=e.message.headers}catch(e){}if(n>299){let e;e=a&&a.message?a.message:l&&l.length>0?l:"Failed request: ("+n+")";let t=new h(e,n);t.result=i.result,o(t)}else r(i)}))}}e.exports.HttpClient=f})),de.register("cEfL5",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;let t,r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let o=[e.hostname.toUpperCase()];"number"==typeof t&&o.push(`${o[0]}:${t}`);for(let e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(o.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=e=>{let t,o,s="https:"===e.protocol;return r(e)||(o=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY,o&&(t=new URL(o))),t},e.exports.checkBypass=r})),de.register("hEhmi",((e,t)=>{e.exports=de("88ZfI")})),de.register("88ZfI",(function(e,r){function o(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||ne.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,o,s)=>{for(var i=n(r,o,s),a=0,l=t.requests.length;l>a;++a){var c=t.requests[a];if(c.host===i.host&&c.port===i.port)return t.requests.splice(a,1),void c.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function s(e,t){var r=this;o.prototype.createSocket.call(r,e,(o=>{var s=e.request.getHeader("host"),n=i({},r.options,{socket:o,servername:s?s.replace(/:.*$/,""):e.host}),a=ae.connect(0,n);r.sockets[r.sockets.indexOf(o)]=a,t(a)}))}function n(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function i(e){for(var t=1,r=arguments.length;r>t;++t){var o=arguments[t];if("object"==typeof o)for(var s=Object.keys(o),n=0,i=s.length;i>n;++n){var a=s[n];void 0!==o[a]&&(e[a]=o[a])}}return e}var a,l,c,u,p,h;t(e.exports,"httpOverHttp",(()=>c),(e=>c=e)),t(e.exports,"httpsOverHttps",(()=>p),(e=>p=e)),t(e.exports,"httpOverHttps",(()=>u),(e=>u=e)),t(e.exports,"httpsOverHttp",(()=>a),(e=>a=e)),t(e.exports,"debug",(()=>l),(e=>l=e)),c=e=>{var t=new o(e);return t.request=ne.request,t},a=e=>{var t=new o(e);return t.request=ne.request,t.createSocket=s,t.defaultPort=443,t},u=e=>{var t=new o(e);return t.request=ie.request,t},p=e=>{var t=new o(e);return t.request=ie.request,t.createSocket=s,t.defaultPort=443,t},oe.inherits(o,ee.EventEmitter),o.prototype.addRequest=function(e,t,r,o){var s=this,a=i({request:e},s.options,n(t,r,o));this.maxSockets>s.sockets.length?s.createSocket(a,(t=>{function r(){s.emit("free",t,a)}function o(e){s.removeSocket(t),t.removeListener("free",r),t.removeListener("close",o),t.removeListener("agentRemove",o)}t.on("free",r),t.on("close",o),t.on("agentRemove",o),e.onSocket(t)})):s.requests.push(a)},o.prototype.createSocket=function(e,t){function r(r,n,i){var l;return a.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode?(h("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy(),(l=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",l),void o.removeSocket(s)):i.length>0?(h("got illegal response body from proxy"),n.destroy(),(l=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",l),void o.removeSocket(s)):(h("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n))}var o=this,s={};o.sockets.push(s);var n=i({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),h("making CONNECT request");var a=o.request(n);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,o)=>{process.nextTick((()=>{r(e,t,o)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),h("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),o.removeSocket(s)})),a.end()},o.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(e=>{r.request.onSocket(e)}))}},h=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=[].slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:()=>{},l=h}));const Ye=Fe(de("9AGbw")),Ze=Fe(de("hBwzM")),ze=Fe(se),We=Fe(oe);de.register("kceBH",((e,t)=>{var r=de("diWfV"),o=de("8n3PT");e.exports=(e,t,s)=>{var n=t&&s||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;16>a;++a)t[n+a]=i[a];return t||o(i)}})),de.register("diWfV",((e,t)=>{e.exports=()=>le.randomBytes(16)})),de.register("8n3PT",((e,t)=>{for(var r=[],o=0;256>o;++o)r[o]=(o+256).toString(16).substr(1);e.exports=(e,t)=>{var o=t||0;return""+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]}}));const Je=Ue(de("kceBH"));var Ke={},Qe=Ke&&Ke.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),et=Ke&&Ke.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),tt=Ke&&Ke.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Qe(t,e,r);return et(t,e),t}),rt=Ke&&Ke.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.RetryHelper=void 0;const ot=tt(de("6FGZZ"));Ke.RetryHelper=class{constructor(e,t,r){if(1>e)throw Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds")}execute(e,t){return rt(this,void 0,void 0,(function*(){let r=1;for(;this.maxAttempts>r;){try{return yield e()}catch(e){if(t&&!t(e))throw e;ot.info(e.message)}const o=this.getSleepAmount();ot.info(`Waiting ${o} seconds before trying again`),yield this.sleep(o),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return rt(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class st extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Le.HTTPError=st;const nt="win32"===process.platform,it="darwin"===process.platform;Le.downloadTool=function(e,t,r,o){return Me(this,void 0,void 0,(function*(){t=t||Xe.join(g(),Je.default()),yield qe.mkdirP(Xe.dirname(t)),Ve.debug("Downloading "+e),Ve.debug("Destination "+t);const s=y("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),n=y("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),i=new Ke.RetryHelper(3,s,n);return yield i.execute((()=>Me(this,void 0,void 0,(function*(){return yield function(e,t,r,o){return Me(this,void 0,void 0,(function*(){if(Ge.existsSync(t))throw Error(`Destination file path ${t} already exists`);const s=new Ye.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Ve.debug("set auth"),void 0===o&&(o={}),o.authorization=r);const n=yield s.get(e,o);if(200!==n.message.statusCode){const t=new st(n.message.statusCode);throw Ve.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t}const i=We.promisify(ze.pipeline),a=y("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>n.message))();let l=!1;try{return yield i(a,Ge.createWriteStream(t)),Ve.debug("download complete"),l=!0,t}finally{if(!l){Ve.debug("download failed");try{yield qe.rmRF(t)}catch(e){Ve.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,o)}))),(e=>!(e instanceof st&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Le.extract7z=function(e,t,r){return Me(this,void 0,void 0,(function*(){re.ok(nt,"extract7z() not supported on current OS"),re.ok(e,'parameter "file" is required'),t=yield p(t);const o=process.cwd();if(process.chdir(t),r)try{const t=["x",Ve.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],s={silent:!0};yield Oe.exec(`"${r}"`,t,s)}finally{process.chdir(o)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Xe.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],s={silent:!0};try{const e=yield qe.which("powershell",!0);yield Oe.exec(`"${e}"`,r,s)}finally{process.chdir(o)}}return t}))},Le.extractTar=function(e,t,r="xz"){return Me(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield p(t),Ve.debug("Checking tar --version");let o="";yield Oe.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return o+=""+e},stderr(e){return o+=""+e}}}),Ve.debug(o.trim());const s=o.toUpperCase().includes("GNU TAR");let n;n=r instanceof Array?r:[r],Ve.isDebug()&&!r.includes("v")&&n.push("-v");let i=t,a=e;return nt&&s&&(n.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",i,"-f",a),yield Oe.exec("tar",n),t}))},Le.extractXar=function(e,t,r=[]){return Me(this,void 0,void 0,(function*(){let o;re.ok(it,"extractXar() not supported on current OS"),re.ok(e,'parameter "file" is required'),t=yield p(t),o=r instanceof Array?r:[r],o.push("-x","-C",t,"-f",e),Ve.isDebug()&&o.push("-v");const s=yield qe.which("xar",!0);var n;return yield Oe.exec(`"${s}"`,(n=o,Array.from(new Set(n)))),t}))},Le.extractZip=function(e,t){return Me(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield p(t),nt?yield function(e,t){return Me(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield qe.which("pwsh",!1);if(s){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${o}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${o}' -Force } else { throw $_ } } ;`].join(" ")];Ve.debug("Using pwsh at path: "+s),yield Oe.exec(`"${s}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${o}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${o}', $true) }`].join(" ")],t=yield qe.which("powershell",!0);Ve.debug("Using powershell at path: "+t),yield Oe.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Me(this,void 0,void 0,(function*(){const r=yield qe.which("unzip",!0),o=[e];Ve.isDebug()||o.unshift("-q"),o.unshift("-o"),yield Oe.exec(`"${r}"`,o,{cwd:t})}))}(e,t),t}))},Le.cacheDir=function(e,t,r,o){return Me(this,void 0,void 0,(function*(){if(r=Ze.clean(r)||r,o=o||He.arch(),Ve.debug(`Caching tool ${t} ${r} ${o}`),Ve.debug("source dir: "+e),!Ge.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const s=yield h(t,r,o);for(const t of Ge.readdirSync(e)){const r=Xe.join(e,t);yield qe.cp(r,s,{recursive:!0})}return d(t,r,o),s}))},Le.cacheFile=function(e,t,r,o,s){return Me(this,void 0,void 0,(function*(){if(o=Ze.clean(o)||o,s=s||He.arch(),Ve.debug(`Caching tool ${r} ${o} ${s}`),Ve.debug("source file: "+e),!Ge.statSync(e).isFile())throw Error("sourceFile is not a file");const n=yield h(r,o,s),i=Xe.join(n,t);return Ve.debug("destination file "+i),yield qe.cp(e,i),d(r,o,s),n}))},Le.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||He.arch(),f(t)||(t=m(u(e,r),t));let o="";if(t){t=Ze.clean(t)||"";const s=Xe.join(v(),e,t,r);Ve.debug("checking cache: "+s),Ge.existsSync(s)&&Ge.existsSync(s+".complete")?(Ve.debug(`Found tool in cache ${e} ${t} ${r}`),o=s):Ve.debug("not found")}return o},Le.findAllVersions=u,Le.getManifestFromRepo=function(e,t,r,o="master"){return Me(this,void 0,void 0,(function*(){let s=[];const n=`https://api.github.com/repos/${e}/${t}/git/trees/${o}`,i=new Ye.HttpClient("tool-cache"),a={};r&&(Ve.debug("set auth"),a.authorization=r);const l=yield i.getJson(n,a);if(!l.result)return s;let c="";for(const e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield i.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{s=JSON.parse(u)}catch(e){Ve.debug("Invalid json")}}return s}))},Le.findFromManifest=function(e,t,r,o=He.arch()){return Me(this,void 0,void 0,(function*(){return yield Be._findMatch(e,t,r,o)}))},Le.isExplicitVersion=f,Le.evaluateVersions=m,me=de("6FGZZ");var at=de("ju11K"),lt=de("5M2Mq"),ct=(me=de("6FGZZ"),{}),ut={};const pt=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;pt.writable=e=>pt(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,pt.readable=e=>pt(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,pt.duplex=e=>pt.writable(e)&&pt.readable(e),pt.transform=e=>pt.duplex(e)&&"function"==typeof e._transform,ut=pt;const{Worker:ht}=(()=>{try{return $e68279e3338bc371$import$ad18b0afc1a10da7}catch(e){return{}}})();let dt,ft=0;const mt=new Map,vt=(e,t,r)=>new Promise(((o,s)=>{const n=ft++;mt.set(n,{resolve:o,reject:s}),void 0===dt&&(dt=new ht(W.join(__dirname,"thread.js")),dt.on("message",(e=>{const t=mt.get(e.id);mt.delete(e.id),0===mt.size&&dt.unref(),void 0===e.error?t.resolve(e.value):t.reject((e=>{const t=Error(e.message);for(const[r,o]of Object.entries(e))"message"!==r&&(t[r]=o);return t})(e.error))})),dt.on("error",(e=>{throw e}))),dt.ref(),dt.postMessage({id:n,method:e,args:t},r)})),gt=(e,t={})=>{let r=t.encoding||"hex";"buffer"===r&&(r=void 0);const o=le.createHash(t.algorithm||"sha512"),s=e=>{o.update(e,"string"==typeof e?"utf8":void 0)};return Array.isArray(e)?e.forEach(s):s(e),o.digest(r)};gt.stream=(e={})=>{let t=e.encoding||"hex";"buffer"===t&&(t=void 0);const r=le.createHash(e.algorithm||"sha512");return r.setEncoding(t),r},gt.fromStream=async(e,t={})=>{if(!ut(e))throw new TypeError("Expected a stream");return new Promise(((r,o)=>{e.on("error",o).pipe(gt.stream(t)).on("error",o).on("finish",(function(){r(this.read())}))}))},void 0===ht?(gt.fromFile=async(e,t)=>gt.fromStream(J.createReadStream(e),t),gt.async=async(e,t)=>gt(e,t)):(gt.fromFile=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{const o=await vt("hashFile",[t,e]);return"buffer"===r?Buffer.from(o):Buffer.from(o).toString(r)},gt.async=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{"buffer"===r&&(r=void 0);const o=await vt("hash",[t,e]);return void 0===r?Buffer.from(o):Buffer.from(o).toString(r)}),gt.fromFileSync=(e,t)=>gt(J.readFileSync(e),t),ct=gt,me=de("6FGZZ"),me=de("6FGZZ");var yt=de("hBwzM");const xt="win32"===process.platform,wt="linux"===process.platform,Et=["x86","x64"],bt=["win32","win64"];yt=de("hBwzM");const Pt=(me=de("6FGZZ")).getInput("token"),Ot=Pt&&"GITHUB.COM"===new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.toUpperCase()?"token "+Pt:void 0,St="https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json";me=de("6FGZZ"),me=de("6FGZZ"),yt=de("hBwzM");var _t=de("9AGbw"),$t=(yt=de("hBwzM"),me=de("6FGZZ"),de("1wyqe"));let Rt,Ct;me=de("6FGZZ"),me=de("6FGZZ"),me=de("6FGZZ"),at=de("ju11K");var At=de("k3zcS"),Tt=de("q05Mr");const It=(e=>{const t=new Set(e);for(const r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t})(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1"]),Nt=new Set(["3.5.1","3.6.1","3.6.2","3.7.1","3.8.1","3.9.1","6.0.1","7.0.1","7.1.0","8.0.1","11.0.1","11.1.0","12.0.1"]),Dt=new Map([["12.0.1","12.0.1-rc4"]]),Lt={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1-rc4":"-ubuntu-21.04"},jt=new Set(["10.0.1"]);me=de("6FGZZ"),de.register("jJT7R",((e,r)=>{function o(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}function s(e,t,r,s,n){if("win32"!=ce.platform)return void i.info("This is not a Windows virtual environment, bye!");ce.env.PATH+=W.delimiter+u;let p={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in p&&(e=p[e.toLowerCase()]);var h=[e];"true"==s&&h.push("uwp"),t&&h.push(t),r&&h.push("-vcvars_ver="+r),"true"==n&&h.push("-vcvars_spectre_libs=spectre");const d=`"${(()=>{let e=(e=>{try{return(""+K.execSync("vswhere -products * -latest -prerelease -property installationPath")).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){i.warning("vswhere failed: "+e)}return null})();if(e&&J.existsSync(e))return i.info("Found with vswhere: "+e),e;i.info("Not found with vswhere");for(const t of c)for(const r of l)if(e=`${a}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,i.info("Trying standard location: "+e),J.existsSync(e))return i.info("Found standard location: "+e),e;if(i.info("Not found in standard locations"),e=a+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",J.existsSync(e))return i.info("Found VS 2015: "+e),e;throw i.info("Not found in VS 2015 location: "+e),Error("Microsoft Visual Studio not found")})()}" ${h.join(" ")}`;i.debug("vcvars command-line: "+d);const f=(""+K.execSync(`set && cls && ${d} && cls && set`,{shell:"cmd"})).split("\f"),m=f[0].split("\r\n"),v=f[1].split("\r\n"),g=f[2].split("\r\n"),y=v.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(y.length>0)throw Error("invalid parameters\r\n"+y.join("\r\n"));let x={};for(let e of m){const[t,r]=e.split("=");x[t]=r}i.startGroup("Environment variables");for(let e of g){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==x[t]&&(i.info("Setting "+t),o(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),i.exportVariable(t,r))}i.endGroup(),i.info("Configured Developer Command Prompt")}var n;t(e.exports,"setupMSVCDevCmd",(()=>n),(e=>n=e));var i=de("k2PtG");const a=ce.env["ProgramFiles(x86)"],l=["Enterprise","Professional","Community"],c=["2019","2017"],u=a+"\\Microsoft Visual Studio\\Installer";n=s;try{s(i.getInput("arch"),i.getInput("sdk"),i.getInput("toolset"),i.getInput("uwp"),i.getInput("spectre"))}catch(e){i.setFailed("Could not setup Developer Command Prompt: "+e.message)}})),de.register("k2PtG",(function(e,t){"use strict";function r(e){a.issue("error",e instanceof Error?""+e:e)}function o(e){a.issue("group",e)}function s(){a.issue("endgroup")}var n=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())}))),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});var a=de("lTVmt"),l=de("48DC3"),c=de("3tRAC");const u=i(z),p=i(W);var h,d;(d=h=e.exports.ExitCode||(e.exports.ExitCode={}))[d.Success=0]="Success",d[d.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=c.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";l.issueCommand("ENV",`${e}<<${t}${u.EOL}${r}${u.EOL}${t}`)}else a.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{a.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?l.issueCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${p.delimiter}${process.env.PATH}`},e.exports.getInput=(e,t)=>{const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return r.trim()},e.exports.setOutput=(e,t)=>{a.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{a.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=h.Failure,r(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{a.issueCommand("debug",{},e)},e.exports.error=r,e.exports.warning=e=>{a.issue("warning",e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+u.EOL)},e.exports.startGroup=o,e.exports.endGroup=s,e.exports.group=function(e,t){return n(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{a.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),de.register("lTVmt",(function(e,t){"use strict";function r(e,t,r){const o=new i(e,t,r);process.stdout.write(""+o+s.EOL)}var o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const s=o(z);var n=de("3tRAC");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class i{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const o in this.properties)if(this.properties.hasOwnProperty(o)){const s=this.properties[o];s&&(r?r=!1:e+=",",e+=`${o}=${t=s,n.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>n.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),de.register("3tRAC",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)})),de.register("48DC3",((e,t)=>{"use strict";var r=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const o=r(J),s=r(z);var n=de("3tRAC");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!o.existsSync(r))throw Error("Missing file at path: "+r);o.appendFileSync(r,`${n.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}})),me=de("6FGZZ");var kt=de("1JJDJ");const Ft={msvc:"2019",llvm:"11",ninja:"1.10.2",cmake:"3.20.2",gcovr:"5.0",conan:"1.40.1",meson:"0.59.1",python:"3.x",gcc:"win32"===process.platform?"10.2.0":"11"};me=de("6FGZZ"),At=de("k3zcS"),lt=de("5M2Mq");const Mt={cmake(e,t,r){return x("cmake",e,w,t)},ninja(e,t,r){return x("ninja",e,V,t)},python:A,conan(e,t,r){return I("conan",e)},meson(e,t,r){return I("meson",e)},gcovr(e,t,r){return I("gcovr",e)},async opencppcoverage(e,t,r){if("win32"!==process.platform)return;await c("opencppcoverage",e);const o="C:/Program Files/OpenCppCoverage";return me.addPath(o),{binDir:o}},llvm:M,gcc:H,choco:l,brew:o,ccache(e,t,r){switch(process.platform){case"win32":return c("ccache",e);case"darwin":return a("ccache",e);case"linux":return i("ccache",e);default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await c("doxygen.install",e),await c("graphviz",e),me.addPath("C:/Program Files/Graphviz/bin");const t="C:/Program Files/doxygen/bin";return me.addPath(t),{binDir:t}}case"darwin":return a("doxygen",e),a("graphviz",e);case"linux":return await i("doxygen",e),i("graphviz",e);default:throw Error("Unsupported platform")}},async cppcheck(e,t,r){switch(process.platform){case"win32":{await c("cppcheck",e);const t="C:/Program Files/Cppcheck";return me.addPath(t),{binDir:t}}case"darwin":return a("cppcheck",e);case"linux":return i("cppcheck",e);default:throw Error("Unsupported platform")}},msvc:U},Ut=["cmake","ninja","python","conan","meson","gcovr","opencppcoverage","llvm","gcc","choco","brew","ccache","doxygen","cppcheck","msvc"],Vt=["compiler","architecture",...Ut];X(process.argv).then((e=>{process.exitCode=e})).catch((e=>{me.error("main() panicked!"),me.error(e),process.exitCode=1})); -//# sourceMappingURL=main.js.map +function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,o){Object.defineProperty(e,t,{get:r,set:o,enumerable:!0,configurable:!0})}function r(e,t,o){if("function"==typeof t&&(o=t,t={}),!o){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((o,s)=>{r(e,t||{},((e,t)=>{e?s(e):o(t)}))}))}ye(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),o(e,r)}))}function o(t,r,o){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof Pe)return{binDir:Pe};const s=e(fe).sync("brew",{nothrow:!0});return null!==s?(Pe=W.dirname(s),{binDir:Pe}):(K.execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),Pe="/usr/local/bin/",{binDir:Pe})}function s(e,t,r){return Re(this,void 0,void 0,(function*(){const o=Ce.argStringToArray(e);if(0===o.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const s=o[0];return t=o.slice(1).concat(t||[]),new Ce.ToolRunner(s,t,r).exec()}))}function n(e){return void 0!==Ae||(Ae=!!process.env.CI||0===(null===(t=process.getuid)||void 0===t?void 0:t.call(process))),Ae?"sudo "+e:e;var t}async function i(e,t,r=!0){const o=n("apt-get");let s=0;if("string"==typeof r&&(s=await Oe.exec(n("add-apt-repository"),["--update",r])),Te&&!0!==r||(await Oe.exec(o,["update"]),Te=!0),void 0!==t&&""!==t)try{s=await Oe.exec(o,["install",`${e}=${t}`])}catch{s=await Oe.exec(o,["install",`${e}-${t}`])}else s=await Oe.exec(o,["install",e]);if(0!==s)throw Error(`Failed to install ${e} ${t}`);return{binDir:"/usr/bin/"}}function a(t,r){return Ie&&null!==e(fe).sync("brew",{nothrow:!0})||(o(0,0,process),Ie=!0),K.execFileSync("brew",["install",void 0!==r&&""!==r?`${t}@${r}`:t],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function l(t,r,o){if("win32"!==process.platform)return;if("string"==typeof Ne)return{binDir:Ne};const s=e(fe).sync("choco",{nothrow:!0});if(null!==s)return Ne=W.dirname(s),{binDir:Ne};if(0!==await Oe.exec('@"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString(\'https://community.chocolatey.org/install.ps1\'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin"'))throw Error("Failed to install chocolatey");const n=e(fe).sync("choco",{nothrow:!0});return Ne=null!==n?W.dirname(n):"C:/ProgramData/Chocolatey/bin/",J.existsSync(Ne)?{binDir:Ne}:void 0}async function c(t,r,o=[]){let s;if(De&&null!==e(fe).sync("choco",{nothrow:!0})||(await l(0,0,process),De=!0),s=void 0!==r&&""!==r?await Oe.exec("choco",["install","-y",t,"--version="+r,...o]):await Oe.exec("choco",["install","-y",t,...o]),0!==s)throw Error(`Failed to install ${t} ${r}`);const n="C:/ProgramData/Chocolatey/bin/";return me.addPath(n),{binDir:n}}function u(e,t){const r=[];t=t||He.arch();const o=Xe.join(v(),e);if(Ge.existsSync(o)){const e=Ge.readdirSync(o);for(const s of e)if(f(s)){const e=Xe.join(o,s,t||"");Ge.existsSync(e)&&Ge.existsSync(e+".complete")&&r.push(s)}}return r}function p(e){return Me(this,void 0,void 0,(function*(){return e||(e=Xe.join(g(),Je.default())),yield qe.mkdirP(e),e}))}function h(e,t,r){return Me(this,void 0,void 0,(function*(){const o=Xe.join(v(),e,Ze.clean(t)||t,r||"");Ve.debug("destination "+o);const s=o+".complete";return yield qe.rmRF(o),yield qe.rmRF(s),yield qe.mkdirP(o),o}))}function d(e,t,r){const o=Xe.join(v(),e,Ze.clean(t)||t,r||"");Ge.writeFileSync(o+".complete",""),Ve.debug("finished caching tool")}function f(e){const t=Ze.clean(e)||"";Ve.debug("isExplicit: "+t);const r=null!=Ze.valid(t);return Ve.debug("explicit? "+r),r}function m(e,t){let r="";Ve.debug(`evaluating ${e.length} versions`);for(let o=(e=e.sort(((e,t)=>Ze.gt(e,t)?1:-1))).length-1;o>=0;o--){const s=e[o];if(Ze.satisfies(s,t)){r=s;break}}return Ve.debug(r?"matched: "+r:"match not found"),r}function v(){const e=process.env.RUNNER_TOOL_CACHE||"";return re.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function g(){const e=process.env.RUNNER_TEMP||"";return re.ok(e,"Expected RUNNER_TEMP to be defined"),e}function y(e,t){const r=ue[e];return void 0!==r?r:t}async function x(e,t,r,o){var s;process.env.RUNNER_TEMP=null!==(s=process.env.RUNNER_TEMP)&&void 0!==s?s:z.tmpdir();const{url:n,binRelativeDir:i,extractedFolderName:a,extractFunction:l}=await r(t,process.platform),c=Le.find(e,t);if(c){me.info(`${e} ${t} was found in the cache.`);const r=W.join(c,a),o=W.join(r,i);return me.addPath(o),{installDir:r,binDir:o}}const u=await ct.async(n),p=W.join(o,u);if(!J.existsSync(p)){me.info(`Download and extract ${e} ${t}`);const r=await Le.downloadTool(n);await(null==l?void 0:l(r,p))}const h=W.join(p,a),d=W.join(h,i);return me.info(`Add ${d} to PATH`),me.addPath(d),"string"==typeof process.env.RUNNER_TOOL_CACHE&&await Le.cacheDir(p,e,t),{installDir:h,binDir:d}}function w(t,r){var o;const s=null!==(o=e(lt)(t))&&void 0!==o?o:t,n=null!=r?r:process.platform,i=me.getInput("architecture")||process.arch;switch(n){case"win32":{const r=e(at)(s,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(i)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const n=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:n,extractFunction:Le.extractZip,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${n}.zip`}}case"darwin":{const r=`cmake-${t}-${e(at)(s,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",extractedFolderName:r,extractFunction:Le.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${r}.tar.gz`}}case"linux":{const r=e(at)(s,"v3.19.8");let o;o=["aarch64"].includes(i)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const n=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:n,extractFunction:Le.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${n}.tar.gz`}}default:throw Error(`Unsupported platform '${n}'`)}}function E(t,r,o,s=!1){const n=W.join(t,r),i=W.join(t,o);e(J).existsSync(i)||(e(J).symlinkSync(n,i),!xt&&s&&e(J).chmodSync(i,"755"))}function b(e){return P(e)||!!yt.validRange(e)}function P(e){return"nightly"===e}function O(e,t){const r=Le.find.bind(void 0,"PyPy",e);let o=r(t);if(!o&&xt&&(o=r("x86")),!o)throw Error(`PyPy ${e} not found`);const s=W.join(o,"bin");me.exportVariable("pythonLocation",xt?o:s),me.addPath(o),me.addPath(s),xt&&me.addPath(W.join(o,"Scripts"));const n="pypy"+e;return me.setOutput("python-version",n),{impl:n,version:S(o)}}function S(e){const t=e.split(W.sep),r=t.findIndex((e=>"PyPy"===e||"Python"===e));return t[r+1]||""}function _(e){const t=W.join(e,"bin");return xt?e:t}function $(e){return e.replace(/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g,"$1-$2.$3")}function R(e){return e.files.find((e=>Et.includes(e.arch)&&bt.includes(e.platform)))}function C(e,t,r){return e.files.find((e=>e.arch===t&&e.platform===r))}async function A(t,r,o){try{if(t.startsWith("pypy-")){const r=await async function(t,r){let o,s="",n="";const i=(e=>{const t=e.split("-").filter((e=>!!e));if(2>t.length||"pypy"!=t[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.");const r=t[1];let o;if(o=t.length>2?$(t[2]):"x",!b(r)||!b(o))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!/^\d+\.\d+$/.test(r))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:o,pythonVersion:r}})(t);({installDir:o,resolvedPythonVersion:n,resolvedPyPyVersion:s}=((t,r,o)=>{let s="",n="",i=xt?(e=>{let t="";return Et.forEach((r=>t=t||Le.find("PyPy",e,r))),t})(t):Le.find("PyPy",t,o);return i&&(n=(e=>W.basename(W.dirname(e)))(i),s=(t=>{let r="",o=W.join(t,"PYPY_VERSION");return e(J).existsSync(o)&&(r=""+e(J).readFileSync(o)),r})(i),yt.satisfies(s,r)||(i=null,s="",n="")),i||me.info(`PyPy version ${t} (${r}) was not found in the local cache`),{installDir:i,resolvedPythonVersion:n,resolvedPyPyVersion:s}})(i.pythonVersion,i.pypyVersion,r)),o||({installDir:o,resolvedPythonVersion:n,resolvedPyPyVersion:s}=await(async(t,r,o)=>{let s;const n=await(async()=>{const e="https://downloads.python.org/pypy/versions.json",t=new _t.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result})();if(!n||0===n.length)throw Error("No release was found in PyPy version.json");const i=((e,t,r,o)=>{const s=e.filter((e=>{const s=yt.satisfies(yt.coerce(e.python_version),t),n=P(r)&&P(e.pypy_version)||yt.satisfies($(e.pypy_version),r),i=e.files&&(xt?(e=>e.files.some((e=>Et.includes(e.arch)&&bt.includes(e.platform))))(e):((e,t,r)=>e.files.some((e=>e.arch===t&&e.platform===r)))(e,o,process.platform));return s&&n&&i}));if(0===s.length)return null;const n=s.sort(((e,t)=>yt.compare(yt.coerce($(t.pypy_version)),yt.coerce($(e.pypy_version)))||yt.compare(yt.coerce(t.python_version),yt.coerce(e.python_version))))[0];return{foundAsset:xt?R(n):C(n,o,process.platform),resolvedPythonVersion:n.python_version,resolvedPyPyVersion:n.pypy_version}})(n,r,t,o);if(!i||!i.foundAsset)throw Error(`PyPy version ${r} (${t}) with arch ${o} not found`);const{foundAsset:a,resolvedPythonVersion:l,resolvedPyPyVersion:c}=i;let u=""+a.download_url;me.info(`Downloading PyPy from "${u}" ...`);const p=await Le.downloadTool(u);me.info("Extracting downloaded archive..."),s=xt?await Le.extractZip(p):await Le.extractTar(p,void 0,"x");const h=e(J).readdirSync(s)[0],d=W.join(s,h);let f=d;P(c)||(f=await Le.cacheDir(d,"PyPy",l,o)),((t,r)=>{const o=W.join(t,"PYPY_VERSION");e(J).writeFileSync(o,r)})(f,c);const m=_(f);return await(async(e,t)=>{const r=yt.coerce(t),o=yt.major(r),s=2===o?"":"3";let n=xt?".exe":"";me.info("Creating symlinks..."),E(e,`pypy${s}${n}`,`python${o}${n}`,!0),E(e,`pypy${s}${n}`,"python"+n,!0)})(m,l),await(async e=>{me.info("Installing and updating pip");const t=W.join(e,"python");await Oe.exec(t+" -m ensurepip"),await Oe.exec(e+"/python -m pip install --ignore-installed pip")})(m),{installDir:f,resolvedPythonVersion:l,resolvedPyPyVersion:c}})(i.pypyVersion,i.pythonVersion,r));const a=W.join(o,xt?"Scripts":"bin"),l=_(o);return me.exportVariable("pythonLocation",l),me.addPath(l),me.addPath(a),{resolvedPyPyVersion:s,resolvedPythonVersion:n}}(t,o);me.info(`Successfully setup PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`)}else{const e=await(async(e,t)=>{switch(e.toUpperCase()){case"PYPY2":return O("2",t);case"PYPY3":return O("3.6",t);default:return await async function(e,t){const r=((o=e).endsWith("-dev")?`>= ${o.slice(0,-4)}.0-a0`:o).replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2");var o;me.debug(`Semantic version spec of ${e} is ${r}`);let s=Le.find("Python",r,t);if(!s){me.info(`Version ${r} was not found in the local cache`);const e=await(async(e,t)=>{const r=await Le.getManifestFromRepo("actions","python-versions",Ot,"main");return await Le.findFromManifest(e,!1,r,t)})(r,t);e&&e.files&&e.files.length>0&&(me.info(`Version ${r} is available for downloading`),await(async e=>{const t=e.files[0].download_url;me.info(`Download from "${t}"`);const r=await Le.downloadTool(t,void 0,Ot);let o;me.info("Extract downloaded archive"),o=xt?await Le.extractZip(r):await Le.extractTar(r),me.info("Execute installation script"),await(async e=>{const t={cwd:e,env:{...process.env,...wt&&{LD_LIBRARY_PATH:W.join(e,"lib")}},silent:!0,listeners:{stdout(e){me.info((""+e).trim())},stderr(e){me.error((""+e).trim())}}};xt?await Oe.exec("powershell",["./setup.ps1"],t):await Oe.exec("bash",["./setup.sh"],t)})(o)})(e),s=Le.find("Python",r,t))}if(!s)throw Error([`Version ${e} with arch ${t} not found`,"The list of all available versions can be found here: "+St].join(z.EOL));if(me.exportVariable("pythonLocation",s),wt){const e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=W.join(s,"lib");e.split(":").includes(t)||me.exportVariable("LD_LIBRARY_PATH",t+e)}if(me.addPath(s),me.addPath((e=>W.join(e,xt?"Scripts":"bin"))(s)),xt){const e=W.basename(W.dirname(s)),t=yt.major(e),r=yt.minor(e),o=W.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");me.addPath(o)}const n=S(s);return me.setOutput("python-version",n),{impl:"CPython",version:n}}(e,t)}})(t,o);me.info(`Successfully setup ${e.impl} (${e.version})`)}const r=W.join(__dirname,"..",".github");me.info("##[add-matcher]"+W.join(r,"python.json"))}catch(e){me.setFailed(e.message)}}function T(e){return new Promise((t=>{ie.get(e,(e=>{t(void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)}))}))}async function I(t,r){if(void 0===Rt&&(null!==e(fe).sync("pip3",{nothrow:!0})?Rt="pip3":null!==e(fe).sync("pip",{nothrow:!0})&&await(async(t,r,o=/v?(\d\S*)/)=>{const s=await(async(e,t=/v?(\d\S*)/)=>{try{var r,o;const{stderr:n,stdout:i}=await Oe.getExecOutput(e,["--version"]);var s;return null!==(s=null===(r=i.match(t))||void 0===r?void 0:r[1])&&void 0!==s?s:null===(o=n.match(t))||void 0===o?void 0:o[1]}catch(e){return void console.error(e)}})(t,o);return"string"==typeof s&&"string"==typeof r&&""!==s&&""!==r&&-1!==e($t)(s,r)})("python","3.0.0")?Rt="pip":(await A("3.x",0,process.arch),Rt="pip3")),0!==await Oe.exec(Rt,["install",void 0!==r&&""!==r?`${t}==${r}`:t]))throw Error(`Failed to install ${t} ${r}`);if(void 0===Ct){if("linux"===process.platform)Ct="/home/runner/.local/bin/";else if("darwin"===process.platform)Ct="/usr/local/bin/";else try{Ct=W.join((await Oe.getExecOutput('python3 -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{Ct=W.join((await Oe.getExecOutput('python -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}me.info(Ct+" to PATH"),me.addPath(Ct)}return{binDir:Ct}}async function N(e,t){if(0!==await Oe.exec("7z",["x",e,"-o"+t]))throw Error(`Failed to extract ${e} to ${t} with 7z`);return t}async function D(e,t,r=["--strip-components=1"]){try{await Tt.mkdirP(t)}catch{}if(0!==await Oe.exec("tar",["xf",e,"-C",t,...r]))throw Error(`Failed to extract ${e} to ${t} with tar`);return t}function L(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function j(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function k(t,r){switch(t){case"darwin":return(t=>{if(Nt.has(t))return null;const r="clang+llvm-",o=`-x86_64${"9.0.0"===t?"-darwin-apple":"-apple-darwin"}.tar.xz`;return e(at)(t,"9.0.1")?j(t,r,o):L(t,r,o)})(r);case"linux":return(t=>{let r=t;const o=Dt.get(r);let s;void 0!==o&&(r=o),s=r.includes("ubuntu")?r:""!==r&&r in Lt?Lt[r]:Lt["12.0.1-rc4"];const n="clang+llvm-",i="5.0.0"===r?`-linux-x86_64${s}.tar.xz`:`-x86_64-linux-gnu${s}.tar.xz`;return e(at)(r,"9.0.1")?j(r,n,i):L(r,n,i)})(r);case"win32":return(async t=>{if(jt.has(t))return null;const r="LLVM-",o=e(at)(t,"3.7.0")?"-win32.exe":"-win64.exe",s=e(at)(t,"9.0.1");let n,i=!1;return s&&(n=j(t,r,o),await T(n)||(i=!0)),!i&&s||(n=L(t,r,o)),n})(r);default:return null}}async function F(e,t){const[r,o]=await(async(e,t,r,o)=>{if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const s of((e,t)=>Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse())(e,r)){const e=await o(t,s);if(null!==e&&await T(e))return[s,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(It,t,e,k);return me.setOutput("version",r),{url:o,extractedFolderName:"",binRelativeDir:"bin",extractFunction:"win32"===t?N:D}}async function M(t,r,o){let s=r;""!==s&&void 0!==s||(s="win32"===process.platform?"C:/Program Files/LLVM":"./llvm"),s=W.resolve(s);const n=await x("llvm",t,F,s),i=W.join(s,"lib");var a;const l=null!==(a=process.env.LD_LIBRARY_PATH)&&void 0!==a?a:"";var c;const u=null!==(c=process.env.DYLD_LIBRARY_PATH)&&void 0!==c?c:"";me.exportVariable("LLVM_PATH",s);const p=e(At)(t);if(me.exportVariable("LD_LIBRARY_PATH",`${i}${W.delimiter}${l}`),me.exportVariable("DYLD_LIBRARY_PATH",`${i}${W.delimiter}${u}`),me.exportVariable("CPATH",`${s}/lib/clang/${p}/include`),me.exportVariable("LDFLAGS",`-L${s}/lib`),me.exportVariable("CPPFLAGS",`-I${s}/include`),me.exportVariable("CC",s+"/bin/clang"),me.exportVariable("CXX",s+"/bin/clang++"),me.exportVariable("LIBRARY_PATH",s+"/lib"),"darwin"===process.platform)try{const e=await Oe.getExecOutput("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;J.existsSync(t)&&me.exportVariable("SDKROOT",t)}catch(e){me.error(e)}return n}async function U(e,t,r,o,s,n){if("win32"!==process.platform)return;let i,a;try{"2015"===e?(i="14.0.25420.1",await c("visualcpp-build-tools",i,["--ignore-dependencies","--params","'/IncludeRequired'"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140",J.existsSync(a)&&me.exportVariable("VCTargetsPath",a)):"2017"===e?(i="14.16",await c("visualstudio2017buildtools","15.9.38.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"2019"===e&&(i="14.29.30133",await c("visualstudio2019buildtools","16.11.2.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133")}catch(e){me.error(e)}void 0!==a&&J.existsSync(a)&&me.exportVariable("VCTargetsPath",a);const{setupMSVCDevCmd:l}=de("jJT7R");l((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,i,s,n)}function V(e,t){const r=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",extractedFolderName:"",extractFunction:Le.extractZip,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${r}.zip`}}function q(e){return null==e?[]:Array.isArray(e)?e:[e]}function G(e,t,r,o){var s,n=e[t],i=~o.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~o.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(s=+r)==0?s:r),!!r)):0*(s=+r)==0?s:r;e[t]=null==n?i:Array.isArray(n)?n.concat(i):[n,i]}function B(e,t){return"true"===t||void 0===t&&e in Ft?Ft[e]:null!=t?t:""}async function H(t,r,o){let s;switch(process.platform){case"win32":"arm"!==o&&"arm64"!==o||await c("gcc-arm-embedded",t),await c("mingw",t),"x64"===o&&J.existsSync("C:/tools/mingw64/bin")?(s="C:/tools/mingw64/bin",me.addPath(s)):"ia32"===o&&J.existsSync("C:/tools/mingw32/bin")?(s="C:/tools/mingw32/bin",me.addPath(s)):J.existsSync("C:/ProgramData/Chocolatey/bin/g++.exe")&&(s="C:/ProgramData/Chocolatey/bin/");break;case"darwin":s=a("gcc",t).binDir;break;case"linux":"x64"===o?s=(await i("g++",t,"ppa:ubuntu-toolchain-r/test")).binDir:(me.info(`Install g++-multilib because gcc for ${o} was requested`),s=(await i("g++-multilib",t,"ppa:ubuntu-toolchain-r/test")).binDir);break;default:throw Error("Unsupported platform for "+o)}if(void 0!==s){var n;const r=e(At)(null!==(n=e(lt)(t))&&void 0!==n?n:t);return"win32"===process.platform?(me.exportVariable("CC",s+"/gcc"),me.exportVariable("CXX",s+"/g++")):(me.exportVariable("CC",`${s}/gcc-${r}`),me.exportVariable("CXX",`${s}/g++-${r}`)),{binDir:s}}}async function X(t){const r=((e,t)=>{var r,o,s,n,i,a={_:[]},l=0,c=0,u=0,p=(e=e||[]).length;const h=void 0!==(t=t||{}).alias,d=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=q(t.string),t.boolean=q(t.boolean),h)for(r in t.alias)for(o=t.alias[r]=q(t.alias[r]),l=0;o.length>l;l++)(t.alias[o[l]]=o.concat(r)).splice(l,1);for(l=t.boolean.length;l-- >0;)for(c=(o=t.alias[t.boolean[l]]||[]).length;c-- >0;)t.boolean.push(o[c]);for(l=t.string.length;l-- >0;)for(c=(o=t.alias[t.string[l]]||[]).length;c-- >0;)t.string.push(o[c]);if(f)for(r in t.default)if(n=typeof t.default[r],o=t.alias[r]=t.alias[r]||[],void 0!==t[n])for(t[n].push(r),l=0;o.length>l;l++)t[n].push(o[l]);const m=d?Object.keys(t.alias):[];for(l=0;p>l;l++){if("--"===(s=e[l])){a._=a._.concat(e.slice(++l));break}for(c=0;s.length>c&&45===s.charCodeAt(c);c++);if(0===c)a._.push(s);else if("no-"===s.substring(c,c+3)){if(n=s.substring(c+3),d&&!~m.indexOf(n))return t.unknown(s);a[n]=!1}else{for(u=c+1;s.length>u&&61!==s.charCodeAt(u);u++);for(n=s.substring(c,u),i=s.substring(++u)||l+1===p||45===(""+e[l+1]).charCodeAt(0)||e[++l],o=2===c?[n]:n,u=0;o.length>u;u++){if(n=o[u],d&&!~m.indexOf(n))return t.unknown("-".repeat(c)+n);G(a,n,o.length>u+1||i,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(h)for(r in a)for(o=t.alias[r]||[];o.length>0;)a[o.shift()]=a[r];return a})(t,{string:Vt,default:Object.fromEntries(Vt.map((e=>[e,Y(e)]))),alias:{h:"help"},boolean:"help"});var o;r.help&&me.info('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\t the to install.\n \t You can specify the version instead of specifying just the name e.g: --compiler \'llvm-11\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n ');const s=null!==(o=r.architecture)&&void 0!==o?o:process.arch;var n;const i=null!==(n=process.env.SETUP_CPP_DIR)&&void 0!==n?n:"~/setup_cpp",a=[],l=[],c=r.compiler;try{if(void 0!==c){const t=c.split("-"),r=t[0];let o;if(1 in t){const r=t[1];null!==e(kt)(r)?o=r:me.error(`Invalid version ${r} used for the compiler. Using the default version...`)}switch(r){case"llvm":case"clang":case"clang++":await M(B("llvm",o),i);break;case"gcc":case"mingw":case"cygwin":case"msys":await H(B("gcc",o),0,s);break;case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":await U(B("msvc",o),0,s);break;default:l.push("Unsupported compiler "+r)}}}catch(e){l.push("Failed to install the "+c)}for(const e of Ut){const t=r[e];if(void 0!==t){const r=Mt[e];try{const o=await r(B(e,t),i,s);a.push(void 0!==o?Z(e,o):e+" was successfully installed")}catch(t){l.push(e+" failed to install")}}}return a.forEach((e=>me.info(e))),l.forEach((e=>me.error(e))),me.info("setup_cpp finished"),0===l.length?0:1}function Y(e){const t=me.getInput(e.toLowerCase());if("false"!==t&&""!==t)return t}function Z(e,t){let r=e+" was successfully installed";return"installDir"in t&&(r+="\nThe installation direcotry is "+t.installDir),""!==t.binDir&&(r+="\nThe binary direcotry is "+t.binDir),r}var z=require("os"),W=require("path"),J=require("fs"),K=require("child_process"),Q=require("string_decoder"),ee=require("events"),te=require("timers"),re=require("assert"),oe=require("util"),se=require("stream"),ne=require("http"),ie=require("https");require("net");var ae=require("tls"),le=require("crypto"),ce=require("process"),ue="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},pe={},he={},de=ue.parcelRequire810d;null==de&&((de=e=>{if(e in pe)return pe[e].exports;if(e in he){var t=he[e];delete he[e];var r={id:e,exports:{}};return pe[e]=r,t.call(r.exports,r,r.exports),r.exports}var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}).register=(e,t)=>{he[e]=t},ue.parcelRequire810d=de),t(module.exports,"main",(()=>X)),de.register("6FGZZ",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function o(e,t={}){u.issueCommand("error",h.toCommandProperties(t),e instanceof Error?""+e:e)}function s(e){u.issue("group",e)}function n(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),l=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return a(t,e),t}),c=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=de("eOxkI"),p=de("85a1M"),h=de("lK3O3");const d=l(z),f=l(W);var m,v;(v=m=e.exports.ExitCode||(e.exports.ExitCode={}))[v.Success=0]="Success",v[v.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=h.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";p.issueCommand("ENV",`${e}<<${t}${d.EOL}${r}${d.EOL}${t}`)}else u.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{u.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?p.issueCommand("PATH",e):u.issueCommand("add-path",{},e),process.env.PATH=`${e}${f.delimiter}${process.env.PATH}`},e.exports.getInput=r,e.exports.getMultilineInput=(e,t)=>r(e,t).split("\n").filter((e=>""!==e)),e.exports.getBooleanInput=(e,t)=>{const o=r(e,t);if(["true","True","TRUE"].includes(o))return!0;if(["false","False","FALSE"].includes(o))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(d.EOL),u.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{u.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=m.Failure,o(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=o,e.exports.warning=(e,t={})=>{u.issueCommand("warning",h.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",h.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+d.EOL)},e.exports.startGroup=s,e.exports.endGroup=n,e.exports.group=function(e,t){return c(this,void 0,void 0,(function*(){let r;s(e);try{r=yield t()}finally{n()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),de.register("eOxkI",(function(e,t){"use strict";function r(e,t,r){const o=new l(e,t,r);process.stdout.write(""+o+i.EOL)}var o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),s=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),n=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&o(t,e,r);return s(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=n(z);var a=de("lK3O3");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class l{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const o in this.properties)if(this.properties.hasOwnProperty(o)){const s=this.properties[o];s&&(r?r=!1:e+=",",e+=`${o}=${t=s,a.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>a.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),de.register("lK3O3",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),de.register("85a1M",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const n=s(J),i=s(z);var a=de("lK3O3");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!n.existsSync(r))throw Error("Missing file at path: "+r);n.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}}));var fe,me=de("6FGZZ");const ve="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,ge=ve?";":":";var ye,xe={};de.register("5vEMD",((e,t)=>{function r(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&((e,t)=>{var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var o=0;r.length>o;o++){var s=r[o].toLowerCase();if(s&&e.substr(-s.length).toLowerCase()===s)return!0}return!1})(t,r)}function o(e,t,o){J.stat(e,((s,n)=>{o(s,!s&&r(n,e,t))}))}e.exports=o,o.sync=(e,t)=>r(J.statSync(e),e,t)})),de.register("kam8f",((e,t)=>{function r(e,t,r){J.stat(e,((e,s)=>{r(e,!e&&o(s,t))}))}function o(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,o=e.uid,s=e.gid,n=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),i=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),l=parseInt("010",8),c=a|l;return r&parseInt("001",8)||r&l&&s===i||r&a&&o===n||r&c&&0===n})(e,t)}e.exports=r,r.sync=(e,t)=>o(J.statSync(e),t)})),ye="win32"===process.platform||ue.TESTING_WINDOWS?de("5vEMD"):de("kam8f"),xe=r,r.sync=(e,t)=>{try{return ye.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const we=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),Ee=(e,t)=>{const r=t.colon||ge,o=e.match(/\//)||ve&&e.match(/\\/)?[""]:[...ve?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],s=ve?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",n=ve?s.split(r):[""];return ve&&-1!==e.indexOf(".")&&""!==n[0]&&n.unshift(""),{pathEnv:o,pathExt:n,pathExtExe:s}},be=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:o,pathExt:s,pathExtExe:n}=Ee(e,t),i=[],a=r=>new Promise(((s,n)=>{if(r===o.length)return t.all&&i.length?s(i):n(we(e));const a=o[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=W.join(c,e),p=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;s(l(p,r,0))})),l=(e,r,o)=>new Promise(((c,u)=>{if(o===s.length)return c(a(r+1));const p=s[o];xe(e+p,{pathExt:n},((s,n)=>{if(!s&&n){if(!t.all)return c(e+p);i.push(e+p)}return c(l(e,r,o+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let Pe;fe=be,be.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:o,pathExtExe:s}=Ee(e,t),n=[];for(let i=0;r.length>i;i++){const a=r[i],l=/^".*"$/.test(a)?a.slice(1,-1):a,c=W.join(l,e),u=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c;for(let e=0;o.length>e;e++){const r=u+o[e];try{if(xe.sync(r,{pathExt:s})){if(!t.all)return r;n.push(r)}}catch(e){}}}if(t.all&&n.length)return n;if(t.nothrow)return null;throw we(e)};var Oe={},Se=Oe&&Oe.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),_e=Oe&&Oe.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),$e=Oe&&Oe.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Se(t,e,r);return _e(t,e),t}),Re=Oe&&Oe.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(Oe,"__esModule",{value:!0}),Oe.getExecOutput=Oe.exec=void 0,de.register("fk1Ma",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return o(t,e),t}),n=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const i=s(z),a=s(ee),l=s(K),c=s(W),u=s(de("q05Mr")),p=s(de("fyhIP")),h="win32"===process.platform;e.exports.ToolRunner=class extends a.EventEmitter{constructor(e,t,r){if(super(),!e)throw Error("Parameter 'toolPath' cannot be null or empty.");this.toolPath=e,this.args=t||[],this.options=r||{}}_debug(e){this.options.listeners&&this.options.listeners.debug&&this.options.listeners.debug(e)}_getCommandString(e,t){const r=this._getSpawnFileName(),o=this._getSpawnArgs(e);let s=t?"":"[command]";if(h)if(this._isCmdFile()){s+=r;for(const e of o)s+=" "+e}else if(e.windowsVerbatimArguments){s+=`"${r}"`;for(const e of o)s+=" "+e}else{s+=this._windowsQuoteCmdArg(r);for(const e of o)s+=" "+this._windowsQuoteCmdArg(e)}else{s+=r;for(const e of o)s+=" "+e}return s}_processLineBuffer(e,t,r){try{let o=t+""+e,s=o.indexOf(i.EOL);for(;s>-1;)r(o.substring(0,s)),o=o.substring(s+i.EOL.length),s=o.indexOf(i.EOL);return o}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return h&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(h&&this._isCmdFile()){let t='/D /S /C "'+this._windowsQuoteCmdArg(this.toolPath);for(const r of this.args)t+=" ",t+=e.windowsVerbatimArguments?r:this._windowsQuoteCmdArg(r);return t+='"',[t]}return this.args}_endsWith(e,t){return e.endsWith(t)}_isCmdFile(){const e=this.toolPath.toUpperCase();return this._endsWith(e,".CMD")||this._endsWith(e,".BAT")}_windowsQuoteCmdArg(e){if(!this._isCmdFile())return this._uvQuoteCmdArg(e);if(!e)return'""';const t=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let r=!1;for(const o of e)if(t.some((e=>e===o))){r=!0;break}if(!r)return e;let o='"',s=!0;for(let t=e.length;t>0;t--)o+=e[t-1],s&&"\\"===e[t-1]?o+="\\":'"'===e[t-1]?(s=!0,o+='"'):s=!1;return o+='"',o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let o=e.length;o>0;o--)t+=e[o-1],r&&"\\"===e[o-1]?t+="\\":'"'===e[o-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){const r={};return r.cwd=(e=e||{}).cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return n(this,void 0,void 0,(function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||h&&this.toolPath.includes("\\"))&&(this.toolPath=c.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise(((e,t)=>n(this,void 0,void 0,(function*(){this._debug("exec tool: "+this.toolPath),this._debug("arguments:");for(const e of this.args)this._debug(" "+e);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+i.EOL);const o=new d(r,this.toolPath);if(o.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const s=this._getSpawnFileName(),n=l.spawn(s,this._getSpawnArgs(r),this._getSpawnOptions(this.options,s));let a="";n.stdout&&n.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let c="";if(n.stderr&&n.stderr.on("data",(e=>{o.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),n.on("error",(e=>{o.processError=e.message,o.processExited=!0,o.processClosed=!0,o.CheckComplete()})),n.on("exit",(e=>{o.processExitCode=e,o.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),o.CheckComplete()})),n.on("close",(e=>{o.processExitCode=e,o.processExited=!0,o.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),o.CheckComplete()})),o.on("done",((r,o)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),n.removeAllListeners(),r?t(r):e(o)})),this.options.input){if(!n.stdin)throw Error("child process missing stdin");n.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){s&&'"'!==e&&(n+="\\"),n+=e,s=!1}const r=[];let o=!1,s=!1,n="";for(let i=0;e.length>i;i++){const a=e.charAt(i);'"'!==a?"\\"===a&&s?t(a):"\\"===a&&o?s=!0:" "!==a||o?t(a):n.length>0&&(r.push(n),n=""):s?t(a):o=!o}return n.length>0&&r.push(n.trim()),r};class d extends a.EventEmitter{constructor(e,t){if(super(),this.processClosed=!1,this.processError="",this.processExitCode=0,this.processExited=!1,this.processStderr=!1,this.delay=1e4,this.done=!1,this.timeout=null,!t)throw Error("toolPath must not be empty");this.options=e,this.toolPath=t,e.delay&&(this.delay=e.delay)}CheckComplete(){this.done||(this.processClosed?this._setResult():this.processExited&&(this.timeout=te.setTimeout(d.HandleTimeout,this.delay,this)))}_debug(e){this.emit("debug",e)}_setResult(){let e;this.processExited&&(this.processError?e=Error(`There was an error when attempting to execute the process '${this.toolPath}'. This may indicate the process failed to start. Error: ${this.processError}`):0===this.processExitCode||this.options.ignoreReturnCode?this.processStderr&&this.options.failOnStdErr&&(e=Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`)):e=Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)),this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.done=!0,this.emit("done",e,this.processExitCode)}static HandleTimeout(e){e.done||(!e.processClosed&&e.processExited&&e._debug(`The STDIO streams did not close within ${e.delay/1e3} seconds of the exit event from process '${e.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`),e._setResult())}}})),de.register("q05Mr",(function(e,t){"use strict";function r(e){return u(this,void 0,void 0,(function*(){if(d.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=d.getCmdPath();(yield d.isDirectory(e,!0))?yield f(t+' /s /c "rd /s /q "%inputPath%""',{env:{inputPath:e}}):yield f(t+' /s /c "del /f /a "%inputPath%""',{env:{inputPath:e}})}catch(e){if("ENOENT"!==e.code)throw e}try{yield d.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield d.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield d.unlink(e)}}))}function o(e){return u(this,void 0,void 0,(function*(){re.ok(e,"a path argument must be provided"),yield d.mkdir(e,{recursive:!0})}))}function s(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(d.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(h.delimiter))e&&t.push(e);if(d.isRooted(e)){const r=yield d.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(h.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(h.delimiter))e&&r.push(e);const o=[];for(const s of r){const r=yield d.tryGetExecutablePath(h.join(s,e),t);r&&o.push(r)}return o}))}function n(e,t,r,s){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield o(t);const a=yield d.readdir(e);for(const o of a){const a=`${e}/${o}`,l=`${t}/${o}`;(yield d.lstat(a)).isDirectory()?yield n(a,l,r,s):yield i(a,l,s)}yield d.chmod(t,(yield d.stat(e)).mode)}))}function i(e,t,r){return u(this,void 0,void 0,(function*(){if((yield d.lstat(e)).isSymbolicLink()){try{yield d.lstat(t),yield d.unlink(t)}catch(e){"EPERM"===e.code&&(yield d.chmod(t,"0666"),yield d.unlink(t))}const r=yield d.readlink(e);yield d.symlink(r,t,d.IS_WINDOWS?"junction":null)}else(yield d.exists(t))&&!r||(yield d.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),l=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),c=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&a(t,e,r);return l(t,e),t}),u=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;const p=c(K),h=c(W),d=c(de("fyhIP")),f=oe.promisify(p.exec),m=oe.promisify(p.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:o,recursive:s,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),l=(yield d.exists(t))?yield d.stat(t):null;if(l&&l.isFile()&&!o)return;const c=l&&l.isDirectory()&&a?h.join(t,h.basename(e)):t;if(!(yield d.exists(e)))throw Error("no such file or directory: "+e);if((yield d.stat(e)).isDirectory()){if(!s)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield n(e,c,0,o)}else{if(""===h.relative(e,c))throw Error(`'${c}' and '${e}' are the same file`);yield i(e,c,o)}}))},e.exports.mv=function(e,t,s={}){return u(this,void 0,void 0,(function*(){if(yield d.exists(t)){let o=!0;if((yield d.isDirectory(t))&&(t=h.join(t,h.basename(e)),o=yield d.exists(t)),o){if(null!=s.force&&!s.force)throw Error("Destination already exists");yield r(t)}}yield o(h.dirname(t)),yield d.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=o,e.exports.which=function e(t,r){return u(this,void 0,void 0,(function*(){if(!t)throw Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw Error(d.IS_WINDOWS?`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file.`:`Unable to locate executable file: ${t}. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also check the file mode to verify the file is executable.`);return r}const o=yield s(t);return o&&o.length>0?o[0]:""}))},e.exports.findInPath=s})),de.register("fyhIP",(function(e,t){"use strict";function r(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}var o,s=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),n=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&s(t,e,r);return n(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;const l=i(J),c=i(W);e.exports.chmod=(o=l.promises).chmod,e.exports.copyFile=o.copyFile,e.exports.lstat=o.lstat,e.exports.mkdir=o.mkdir,e.exports.readdir=o.readdir,e.exports.readlink=o.readlink,e.exports.rename=o.rename,e.exports.rmdir=o.rmdir,e.exports.stat=o.stat,e.exports.symlink=o.symlink,e.exports.unlink=o.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.exists=function(t){return a(this,void 0,void 0,(function*(){try{yield e.exports.stat(t)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},e.exports.isDirectory=function(t,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory()}))},e.exports.isRooted=t=>{if(!(t=(t=>(t=t||"",e.exports.IS_WINDOWS?(t=t.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):t.replace(/\/\/+/g,"/")))(t)))throw Error('isRooted() parameter "p" cannot be empty');return e.exports.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")},e.exports.tryGetExecutablePath=function(t,o){return a(this,void 0,void 0,(function*(){let s;try{s=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(s&&s.isFile())if(e.exports.IS_WINDOWS){const e=c.extname(t).toUpperCase();if(o.some((t=>t.toUpperCase()===e)))return t}else if(r(s))return t;const n=t;for(const i of o){t=n+i,s=void 0;try{s=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(s&&s.isFile()){if(e.exports.IS_WINDOWS){try{const r=c.dirname(t),o=c.basename(t).toUpperCase();for(const s of yield e.exports.readdir(r))if(o===s.toUpperCase()){t=c.join(r,s);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(s))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}}));const Ce=$e(de("fk1Ma"));let Ae;Oe.exec=s,Oe.getExecOutput=function(e,t,r){var o,n;return Re(this,void 0,void 0,(function*(){let i="",a="";const l=new Q.StringDecoder("utf8"),c=new Q.StringDecoder("utf8"),u=null===(o=null==r?void 0:r.listeners)||void 0===o?void 0:o.stdout,p=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stderr,h=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){i+=l.write(e),u&&u(e)},stderr(e){a+=c.write(e),p&&p(e)}}),d=yield s(e,t,Object.assign(Object.assign({},r),{listeners:h}));return i+=l.end(),a+=c.end(),{exitCode:d,stdout:i,stderr:a}}))};let Te=!1,Ie=!1;me=de("6FGZZ");let Ne,De=!1;var Le={},je=Le&&Le.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),ke=Le&&Le.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Fe=Le&&Le.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&je(t,e,r);return ke(t,e),t}),Me=Le&&Le.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())}))),Ue=Le&&Le.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Le,"__esModule",{value:!0}),Le.evaluateVersions=Le.isExplicitVersion=Le.findFromManifest=Le.getManifestFromRepo=Le.findAllVersions=Le.find=Le.cacheFile=Le.cacheDir=Le.extractZip=Le.extractXar=Le.extractTar=Le.extract7z=Le.downloadTool=Le.HTTPError=void 0;const Ve=Fe(de("6FGZZ")),qe=Fe(de("q05Mr")),Ge=Fe(J);de.register("1Hds5",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),s=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var s in e)"default"!==s&&Object.hasOwnProperty.call(e,s)&&r(t,e,s);return o(t,e),t}),n=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const i=s(de("hBwzM"));var a=de("6FGZZ");e.exports._findMatch=function(t,r,o,s){return n(this,void 0,void 0,(function*(){const n=z.platform();let l,c,u;for(const l of o){const o=l.version;if(a.debug(`check ${o} satisfies ${t}`),i.satisfies(o,t)&&(!r||l.stable===r)&&(u=l.files.find((t=>{a.debug(`${t.arch}===${s} && ${t.platform}===${n}`);let r=t.arch===s&&t.platform===n;if(r&&t.platform_version){const o=e.exports._getOsVersion();r=o===t.platform_version||i.satisfies(o,t.platform_version)}return r})),u)){a.debug("matched "+l.version),c=l;break}}return c&&u&&(l=Object.assign({},c),l.files=[u]),l}))},e.exports._getOsVersion=()=>{const t=z.platform();let r="";if("darwin"===t)r=""+K.execSync("sw_vers -productVersion");else if("linux"===t){const t=e.exports._readLinuxVersionFile();if(t){const e=t.split("\n");for(const t of e){const e=t.split("=");if(2===e.length&&("VERSION_ID"===e[0].trim()||"DISTRIB_RELEASE"===e[0].trim())){r=e[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return r},e.exports._readLinuxVersionFile=()=>{const e="/etc/lsb-release",t="/etc/os-release";let r="";return J.existsSync(e)?r=""+J.readFileSync(e):J.existsSync(t)&&(r=""+J.readFileSync(t)),r}})),de.register("hBwzM",((e,t)=>{var r=de("j1nFx");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:de("9PnyI").SEMVER_SPEC_VERSION,SemVer:de("j4Bpm"),compareIdentifiers:de("9vPNp").compareIdentifiers,rcompareIdentifiers:de("9vPNp").rcompareIdentifiers,parse:de("bd0kF"),valid:de("1JJDJ"),clean:de("6mLCu"),inc:de("1Orzu"),diff:de("kGDR5"),major:de("k3zcS"),minor:de("e8NKK"),patch:de("3Fhst"),prerelease:de("6elLy"),compare:de("1wyqe"),rcompare:de("las47"),compareLoose:de("dQlWE"),compareBuild:de("7REgF"),sort:de("3U0ar"),rsort:de("98o3F"),gt:de("6bYo1"),lt:de("98Pyg"),eq:de("4eeum"),neq:de("a0PPD"),gte:de("kRrXd"),lte:de("ju11K"),cmp:de("cITzi"),coerce:de("5M2Mq"),Comparator:de("hDCF3"),Range:de("8YuUE"),satisfies:de("6rO9c"),toComparators:de("fx4Sd"),maxSatisfying:de("bMVW7"),minSatisfying:de("g5aoW"),minVersion:de("hO4RL"),validRange:de("hXGf0"),outside:de("2MRaB"),gtr:de("bqGrY"),ltr:de("3AeSM"),intersects:de("2Lyoi"),simplifyRange:de("5pzc6"),subset:de("2XGoS")}})),de.register("j1nFx",((e,t)=>{var r=de("9PnyI").MAX_SAFE_COMPONENT_LENGTH,o=de("8eni4");const s=(t=e.exports={}).re=[],n=t.src=[],i=t.t={};let a=0;const l=(e,t,r)=>{const l=a++;o(l,t),i[e]=l,n[l]=t,s[l]=RegExp(t,r?"g":void 0)};l("NUMERICIDENTIFIER","0|[1-9]\\d*"),l("NUMERICIDENTIFIERLOOSE","[0-9]+"),l("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),l("MAINVERSION",`(${n[i.NUMERICIDENTIFIER]})\\.(${n[i.NUMERICIDENTIFIER]})\\.(${n[i.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${n[i.NUMERICIDENTIFIERLOOSE]})\\.(${n[i.NUMERICIDENTIFIERLOOSE]})\\.(${n[i.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${n[i.NUMERICIDENTIFIER]}|${n[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${n[i.NUMERICIDENTIFIERLOOSE]}|${n[i.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${n[i.PRERELEASEIDENTIFIER]}(?:\\.${n[i.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${n[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${n[i.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${n[i.BUILDIDENTIFIER]}(?:\\.${n[i.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${n[i.MAINVERSION]}${n[i.PRERELEASE]}?${n[i.BUILD]}?`),l("FULL",`^${n[i.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${n[i.MAINVERSIONLOOSE]}${n[i.PRERELEASELOOSE]}?${n[i.BUILD]}?`),l("LOOSE",`^${n[i.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",n[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),l("XRANGEIDENTIFIER",n[i.NUMERICIDENTIFIER]+"|x|X|\\*"),l("XRANGEPLAIN",`[v=\\s]*(${n[i.XRANGEIDENTIFIER]})(?:\\.(${n[i.XRANGEIDENTIFIER]})(?:\\.(${n[i.XRANGEIDENTIFIER]})(?:${n[i.PRERELEASE]})?${n[i.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${n[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${n[i.XRANGEIDENTIFIERLOOSE]})(?:${n[i.PRERELEASELOOSE]})?${n[i.BUILD]}?)?)?`),l("XRANGE",`^${n[i.GTLT]}\\s*${n[i.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${n[i.GTLT]}\\s*${n[i.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",n[i.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${n[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${n[i.LONETILDE]}${n[i.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${n[i.LONETILDE]}${n[i.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${n[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${n[i.LONECARET]}${n[i.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${n[i.LONECARET]}${n[i.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${n[i.GTLT]}\\s*(${n[i.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${n[i.GTLT]}\\s*(${n[i.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${n[i.GTLT]}\\s*(${n[i.LOOSEPLAIN]}|${n[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${n[i.XRANGEPLAIN]})\\s+-\\s+(${n[i.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${n[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${n[i.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0.0.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),de.register("9PnyI",((e,t)=>{e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}})),de.register("8eni4",((e,t)=>{const r="object"==typeof process&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=r})),de.register("j4Bpm",(function(e,t){var r=de("8eni4"),o=de("9PnyI"),s=o.MAX_SAFE_INTEGER,n=o.MAX_LENGTH,i=de("j1nFx"),a=i.re,l=i.t,c=de("26eGk"),u=de("9vPNp").compareIdentifiers;class p{constructor(e,t){if(t=c(t),e instanceof p){if(e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>n)throw new TypeError(`version is longer than ${n} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const o=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>s||0>this.major)throw new TypeError("Invalid major version");if(this.minor>s||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>s||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=o[4]?o[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&s>t)return t}return e})):[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof p)){if("string"==typeof e&&e===this.version)return 0;e=new p(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof p||(e=new p(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof p||(e=new p(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const o=this.prerelease[t],s=e.prerelease[t];if(r("prerelease compare",t,o,s),void 0===o&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===o)return-1;if(o!==s)return u(o,s)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const o=this.build[t],s=e.build[t];if(r("prerelease compare",t,o,s),void 0===o&&void 0===s)return 0;if(void 0===s)return 1;if(void 0===o)return-1;if(o!==s)return u(o,s)}while(++t)}inc(e,t){switch(e){case"premajor":this.prerelease.length=0,this.patch=0,this.minor=0,this.major++,this.inc("pre",t);break;case"preminor":this.prerelease.length=0,this.patch=0,this.minor++,this.inc("pre",t);break;case"prepatch":this.prerelease.length=0,this.inc("patch",t),this.inc("pre",t);break;case"prerelease":0===this.prerelease.length&&this.inc("patch",t),this.inc("pre",t);break;case"major":0===this.minor&&0===this.patch&&0!==this.prerelease.length||this.major++,this.minor=0,this.patch=0,this.prerelease=[];break;case"minor":0===this.patch&&0!==this.prerelease.length||this.minor++,this.patch=0,this.prerelease=[];break;case"patch":0===this.prerelease.length&&this.patch++,this.prerelease=[];break;case"pre":if(0===this.prerelease.length)this.prerelease=[0];else{let e=this.prerelease.length;for(;--e>=0;)"number"==typeof this.prerelease[e]&&(this.prerelease[e]++,e=-2);-1===e&&this.prerelease.push(0)}t&&(this.prerelease[0]===t?isNaN(this.prerelease[1])&&(this.prerelease=[t,0]):this.prerelease=[t,0]);break;default:throw Error("invalid increment argument: "+e)}return this.format(),this.raw=this.version,this}}e.exports=p})),de.register("26eGk",((e,t)=>{const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}})),de.register("9vPNp",((e,t)=>{const r=/^[0-9]+$/,o=(e,t)=>{const o=r.test(e),s=r.test(t);return o&&s&&(e=+e,t=+t),e===t?0:o&&!s?-1:s&&!o?1:t>e?-1:1};e.exports={compareIdentifiers:o,rcompareIdentifiers(e,t){return o(t,e)}}})),de.register("bd0kF",((e,t)=>{var r=de("9PnyI").MAX_LENGTH,o=de("j1nFx"),s=o.re,n=o.t,i=de("j4Bpm"),a=de("26eGk");e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?s[n.LOOSE]:s[n.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}})),de.register("1JJDJ",((e,t)=>{var r=de("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o?o.version:null}})),de.register("6mLCu",((e,t)=>{var r=de("bd0kF");e.exports=(e,t)=>{const o=r(e.trim().replace(/^[=v]+/,""),t);return o?o.version:null}})),de.register("1Orzu",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t,o,s)=>{"string"==typeof o&&(s=o,o=void 0);try{return new r(e,o).inc(t,s).version}catch(e){return null}}})),de.register("kGDR5",((e,t)=>{var r=de("bd0kF"),o=de("4eeum");e.exports=(e,t)=>{if(o(e,t))return null;{const o=r(e),s=r(t),n=o.prerelease.length||s.prerelease.length,i=n?"pre":"",a=n?"prerelease":"";for(const e in o)if(("major"===e||"minor"===e||"patch"===e)&&o[e]!==s[e])return i+e;return a}}})),de.register("4eeum",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0===r(e,t,o)})),de.register("1wyqe",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t,o)=>new r(e,o).compare(new r(t,o))})),de.register("k3zcS",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t)=>new r(e,t).major})),de.register("e8NKK",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t)=>new r(e,t).minor})),de.register("3Fhst",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t)=>new r(e,t).patch})),de.register("6elLy",((e,t)=>{var r=de("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o&&o.prerelease.length?o.prerelease:null}})),de.register("las47",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>r(t,e,o)})),de.register("dQlWE",((e,t)=>{var r=de("1wyqe");e.exports=(e,t)=>r(e,t,!0)})),de.register("7REgF",((e,t)=>{var r=de("j4Bpm");e.exports=(e,t,o)=>{const s=new r(e,o),n=new r(t,o);return s.compare(n)||s.compareBuild(n)}})),de.register("3U0ar",((e,t)=>{var r=de("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(e,o,t)))})),de.register("98o3F",((e,t)=>{var r=de("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(o,e,t)))})),de.register("6bYo1",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>0})),de.register("98Pyg",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0>r(e,t,o)})),de.register("a0PPD",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0!==r(e,t,o)})),de.register("kRrXd",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>=0})),de.register("ju11K",((e,t)=>{var r=de("1wyqe");e.exports=(e,t,o)=>0>=r(e,t,o)})),de.register("cITzi",((e,t)=>{var r=de("4eeum"),o=de("a0PPD"),s=de("6bYo1"),n=de("kRrXd"),i=de("98Pyg"),a=de("ju11K");e.exports=(e,t,l,c)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e===l;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof l&&(l=l.version),e!==l;case"":case"=":case"==":return r(e,l,c);case"!=":return o(e,l,c);case">":return s(e,l,c);case">=":return n(e,l,c);case"<":return i(e,l,c);case"<=":return a(e,l,c);default:throw new TypeError("Invalid operator: "+t)}}})),de.register("5M2Mq",((e,t)=>{var r=de("j4Bpm"),o=de("bd0kF"),s=de("j1nFx"),n=s.re,i=s.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let s=null;if((t=t||{}).rtl){let t;for(;(t=n[i.COERCERTL].exec(e))&&(!s||s.index+s[0].length!==e.length);)s&&t.index+t[0].length===s.index+s[0].length||(s=t),n[i.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;n[i.COERCERTL].lastIndex=-1}else s=e.match(n[i.COERCE]);return null===s?null:o(`${s[2]}.${s[3]||"0"}.${s[4]||"0"}`,t)}})),de.register("hDCF3",(function(e,t){const r=Symbol();class o{static get ANY(){return r}constructor(e,t){if(t=s(t),e instanceof o){if(e.loose===!!t.loose)return e;e=e.value}c("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===r?"":this.operator+this.semver.version,c("comp",this)}parse(e){const t=e.match(this.options.loose?a[i.COMPARATORLOOSE]:a[i.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new u(t[2],this.options.loose):r}toString(){return this.value}test(e){if(c("Comparator.test",e,this.options.loose),this.semver===r||e===r)return!0;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),s=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),n=this.semver.version===e.semver.version,i=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=l(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),c=l(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||s||n&&i||a||c}}e.exports=o;var s=de("26eGk"),n=de("j1nFx"),i=n.t,a=n.re,l=de("cITzi"),c=de("8eni4"),u=de("j4Bpm"),p=de("8YuUE")})),de.register("8YuUE",(function(e,t){class r{constructor(e,t){if(t=s(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof n)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const s=this.options.loose;e=e.replace(s?d[c.HYPHENRANGELOOSE]:d[c.HYPHENRANGE],$(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(d[c.COMPARATORTRIM],u),i("comparator trim",e,d[c.COMPARATORTRIM]),e=(e=(e=e.replace(d[c.TILDETRIM],p)).replace(d[c.CARETTRIM],h)).split(/\s+/).join(" ");const a=s?d[c.COMPARATORLOOSE]:d[c.COMPARATOR],l=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options))).filter(this.options.loose?e=>!!e.match(a):()=>!0).map((e=>new n(e,this.options))),m=new Map;for(const e of l){if(f(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const v=[...m.values()];return o.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(e){return!1}for(let t=0;this.set.length>t;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(de("hqS6J"))({max:1e3});var s=de("26eGk"),n=de("hDCF3"),i=de("8eni4"),a=de("j4Bpm"),l=de("j1nFx"),c=l.t,u=l.comparatorTrimReplace,p=l.tildeTrimReplace,h=l.caretTrimReplace,d=l.re;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,v=(e,t)=>{let r=!0;const o=e.slice();let s=o.pop();for(;r&&o.length;)r=o.every((e=>s.intersects(e,t))),s=o.pop();return r},g=(e,t)=>(i("comp",e,t),e=E(e,t),i("caret",e),e=x(e,t),i("tildes",e),e=P(e,t),i("xrange",e),e=S(e,t),i("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>e.replace(t.loose?d[c.TILDELOOSE]:d[c.TILDE],((t,r,o,s,n)=>{let a;return i("tilde",e,t,r,o,s,n),y(r)?a="":y(o)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(s)?a=`>=${r}.${o}.0 <${r}.${+o+1}.0-0`:n?(i("replaceTilde pr",n),a=`>=${r}.${o}.${s}-${n} <${r}.${+o+1}.0-0`):a=`>=${r}.${o}.${s} <${r}.${+o+1}.0-0`,i("tilde return",a),a})),E=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{i("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?d[c.CARETLOOSE]:d[c.CARET],((t,o,s,n,a)=>{let l;return i("caret",e,t,o,s,n,a),y(o)?l="":y(s)?l=`>=${o}.0.0${r} <${+o+1}.0.0-0`:y(n)?l="0"===o?`>=${o}.${s}.0${r} <${o}.${+s+1}.0-0`:`>=${o}.${s}.0${r} <${+o+1}.0.0-0`:a?(i("replaceCaret pr",a),l="0"===o?"0"===s?`>=${o}.${s}.${n}-${a} <${o}.${s}.${+n+1}-0`:`>=${o}.${s}.${n}-${a} <${o}.${+s+1}.0-0`:`>=${o}.${s}.${n}-${a} <${+o+1}.0.0-0`):(i("no pr"),l="0"===o?"0"===s?`>=${o}.${s}.${n}${r} <${o}.${s}.${+n+1}-0`:`>=${o}.${s}.${n}${r} <${o}.${+s+1}.0-0`:`>=${o}.${s}.${n} <${+o+1}.0.0-0`),i("caret return",l),l}))},P=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>O(e,t))).join(" ")),O=(e,t)=>(e=e.trim()).replace(t.loose?d[c.XRANGELOOSE]:d[c.XRANGE],((r,o,s,n,a,l)=>{i("xRange",e,r,o,s,n,a,l);const c=y(s),u=c||y(n),p=u||y(a);return"="===o&&p&&(o=""),l=t.includePrerelease?"-0":"",c?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(n=0),a=0,">"===o?(o=">=",u?(s=+s+1,n=0,a=0):(n=+n+1,a=0)):"<="===o&&(o="<",u?s=+s+1:n=+n+1),"<"===o&&(l="-0"),r=`${o+s}.${n}.${a}${l}`):u?r=`>=${s}.0.0${l} <${+s+1}.0.0-0`:p&&(r=`>=${s}.${n}.0${l} <${s}.${+n+1}.0-0`),i("xRange return",r),r})),S=(e,t)=>(i("replaceStars",e,t),e.trim().replace(d[c.STAR],"")),_=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(d[t.includePrerelease?c.GTE0PRE:c.GTE0],"")),$=e=>(t,r,o,s,n,i,a,l,c,u,p,h,d)=>`${r=y(o)?"":y(s)?`>=${o}.0.0${e?"-0":""}`:y(n)?`>=${o}.${s}.0${e?"-0":""}`:i?">="+r:`>=${r}${e?"-0":""}`} ${l=y(c)?"":y(u)?`<${+c+1}.0.0-0`:y(p)?`<${c}.${+u+1}.0-0`:h?`<=${c}.${u}.${p}-${h}`:e?`<${c}.${u}.${+p+1}-0`:"<="+l}`.trim(),R=(e,t,r)=>{for(let r=0;e.length>r;r++)if(!e[r].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(let r=0;e.length>r;r++)if(i(e[r].semver),e[r].semver!==n.ANY&&e[r].semver.prerelease.length>0){const o=e[r].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}})),de.register("hqS6J",(function(e,t){"use strict";var r=de("9ShIP");const o=Symbol(),s=Symbol(),n=Symbol(),i=Symbol(),a=Symbol(),l=Symbol(),c=Symbol(),u=Symbol(),p=Symbol(),h=Symbol(),d=()=>1,f=(e,t,r)=>{const o=e[p].get(t);if(o){const t=o.value;if(m(e,t)){if(g(e,o),!e[i])return}else r&&(e[h]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]},v=e=>{if(e[s]>e[o])for(let t=e[u].tail;e[s]>e[o]&&null!==t;){const r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){const r=t.value;e[l]&&e[l](r.key,r.value),e[s]-=r.length,e[p].delete(r.key),e[u].removeNode(t)}};class y{constructor(e,t,r,o,s){this.key=e,this.value=t,this.length=r,this.now=o,this.maxAge=s||0}}const x=(e,t,r,o)=>{let s=r.value;m(e,s)&&(g(e,r),e[i]||(s=void 0)),s&&t.call(o,s.value,s.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||0>e.max))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||d;if(this[n]="function"!=typeof t?d:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[l]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[h]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||0>e)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,v(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[a]=e,v(this)}get maxAge(){return this[a]}set lengthCalculator(e){"function"!=typeof e&&(e=d),e!==this[n]&&(this[n]=e,this[s]=0,this[u].forEach((e=>{e.length=this[n](e.value,e.key),this[s]+=e.length}))),v(this)}get lengthCalculator(){return this[n]}get length(){return this[s]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){const o=r.prev;x(this,e,r,t),r=o}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){const o=r.next;x(this,e,r,t),r=o}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[l]&&this[u]&&this[u].length&&this[u].forEach((e=>this[l](e.key,e.value))),this[p]=new Map,this[u]=new r,this[s]=0}dump(){return this[u].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const i=r?Date.now():0,h=this[n](t,e);if(this[p].has(e)){if(h>this[o])return g(this,this[p].get(e)),!1;const n=this[p].get(e).value;return this[l]&&(this[c]||this[l](e,n.value)),n.now=i,n.maxAge=r,n.value=t,this[s]+=h-n.length,n.length=h,this.get(e),v(this),!0}const d=new y(e,t,h,i,r);return d.length>this[o]?(this[l]&&this[l](e,t),!1):(this[s]+=d.length,this[u].unshift(d),this[p].set(e,this[u].head),v(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[u].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const o=e[r],s=o.e||0;if(0===s)this.set(o.k,o.v);else{const e=s-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[p].forEach(((e,t)=>f(this,t,!1)))}}})),de.register("9ShIP",(function(e,t){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((e=>{t.push(e)}));else if(arguments.length>0)for(var o=0,s=arguments.length;s>o;o++)t.push(arguments[o]);return t}function o(e,t,r){var o=t===e.head?new i(r,null,t,e):new i(r,t,t.next,e);return null===o.next&&(e.tail=o),null===o.prev&&(e.head=o),e.length++,o}function s(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function n(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,r,o){if(!(this instanceof i))return new i(e,t,r,o);this.list=o,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=r,r.Node=i,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)s(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;t>e;e++)n(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,o=0;null!==r;o++)e.call(t,r.value,o,this),r=r.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,o=this.length-1;null!==r;o--)e.call(t,r.value,o,this),r=r.prev},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value},r.prototype.map=function(e,t){t=t||this;for(var o=new r,s=this.head;null!==s;)o.push(e.call(t,s.value,this)),s=s.next;return o},r.prototype.mapReverse=function(e,t){t=t||this;for(var o=new r,s=this.tail;null!==s;)o.push(e.call(t,s.value,this)),s=s.prev;return o},r.prototype.reduce=function(e,t){var r,o=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,r=this.head.value}for(var s=0;null!==o;s++)r=e(r,o.value,s),o=o.next;return r},r.prototype.reduceReverse=function(e,t){var r,o=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,r=this.tail.value}for(var s=this.length-1;null!==o;s--)r=e(r,o.value,s),o=o.prev;return r},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},r.prototype.slice=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var s=0,n=this.head;null!==n&&e>s;s++)n=n.next;for(;null!==n&&t>s;s++,n=n.next)o.push(n.value);return o},r.prototype.sliceReverse=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var s=this.length,n=this.tail;null!==n&&s>t;s--)n=n.prev;for(;null!==n&&s>e;s--,n=n.prev)o.push(n.value);return o},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),0>e&&(e=this.length+e);for(var s=0,n=this.head;null!==n&&e>s;s++)n=n.next;var i=[];for(s=0;n&&t>s;s++)i.push(n.value),n=this.removeNode(n);for(null===n&&(n=this.tail),n!==this.head&&n!==this.tail&&(n=n.prev),s=0;r.length>s;s++)n=o(this,n,r[s]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var o=r.prev;r.prev=r.next,r.next=o}return this.head=t,this.tail=e,this};try{de("bdwRA")(r)}catch(e){}})),de.register("bdwRA",(function(e,t){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}})),de.register("6rO9c",((e,t)=>{var r=de("8YuUE");e.exports=(e,t,o)=>{try{t=new r(t,o)}catch(e){return!1}return t.test(e)}})),de.register("fx4Sd",((e,t)=>{var r=de("8YuUE");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),de.register("bMVW7",((e,t)=>{var r=de("j4Bpm"),o=de("8YuUE");e.exports=(e,t,s)=>{let n=null,i=null,a=null;try{a=new o(t,s)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(n&&-1!==i.compare(e)||(n=e,i=new r(n,s)))})),n}})),de.register("g5aoW",((e,t)=>{var r=de("j4Bpm"),o=de("8YuUE");e.exports=(e,t,s)=>{let n=null,i=null,a=null;try{a=new o(t,s)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(n&&1!==i.compare(e)||(n=e,i=new r(n,s)))})),n}})),de.register("hO4RL",((e,t)=>{var r=de("j4Bpm"),o=de("8YuUE"),s=de("6bYo1");e.exports=(e,t)=>{e=new o(e,t);let n=new r("0.0.0");if(e.test(n))return n;if(n=new r("0.0.0-0"),e.test(n))return n;n=null;for(let t=0;e.set.length>t;++t){let o=null;e.set[t].forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!s(t,o)||(o=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!o||n&&!s(n,o)||(n=o)}return n&&e.test(n)?n:null}})),de.register("hXGf0",((e,t)=>{var r=de("8YuUE");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),de.register("2MRaB",((e,t)=>{var r=de("j4Bpm"),o=de("hDCF3");const{ANY:s}=o;var n=de("8YuUE"),i=de("6rO9c"),a=de("6bYo1"),l=de("98Pyg"),c=de("ju11K"),u=de("kRrXd");e.exports=(e,t,p,h)=>{let d,f,m,v,g;switch(e=new r(e,h),t=new n(t,h),p){case">":d=a,f=c,m=l,v=">",g=">=";break;case"<":d=l,f=u,m=a,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(i(e,t,h))return!1;for(let r=0;t.set.length>r;++r){let n=null,i=null;if(t.set[r].forEach((e=>{e.semver===s&&(e=new o(">=0.0.0")),n=n||e,i=i||e,d(e.semver,n.semver,h)?n=e:m(e.semver,i.semver,h)&&(i=e)})),n.operator===v||n.operator===g)return!1;if((!i.operator||i.operator===v)&&f(e,i.semver))return!1;if(i.operator===g&&m(e,i.semver))return!1}return!0}})),de.register("bqGrY",((e,t)=>{var r=de("2MRaB");e.exports=(e,t,o)=>r(e,t,">",o)})),de.register("3AeSM",((e,t)=>{var r=de("2MRaB");e.exports=(e,t,o)=>r(e,t,"<",o)})),de.register("2Lyoi",((e,t)=>{var r=de("8YuUE");e.exports=(e,t,o)=>(e=new r(e,o),t=new r(t,o),e.intersects(t))})),de.register("5pzc6",((e,t)=>{var r=de("6rO9c"),o=de("1wyqe");e.exports=(e,t,s)=>{const n=[];let i=null,a=null;const l=e.sort(((e,t)=>o(e,t,s)));for(const e of l)r(e,t,s)?(a=e,i||(i=e)):(a&&n.push([i,a]),a=null,i=null);i&&n.push([i,null]);const c=[];for(const[e,t]of n)c.push(e===t?e:t||e!==l[0]?t?e===l[0]?"<="+t:`${e} - ${t}`:">="+e:"*");const u=c.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>u.length?u:t}})),de.register("2XGoS",((e,t)=>{var r=de("8YuUE"),o=de("hDCF3");const{ANY:s}=o;var n=de("6rO9c"),i=de("1wyqe");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===s){if(1===t.length&&t[0].semver===s)return!0;e=r.includePrerelease?[new o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===s){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const a=new Set;let u,p,h,d,f,m,v;for(const t of e)">"===t.operator||">="===t.operator?u=l(u,t,r):"<"===t.operator||"<="===t.operator?p=c(p,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&p){if(h=i(u.semver,p.semver,r),h>0)return null;if(0===h&&(">="!==u.operator||"<="!==p.operator))return null}for(const e of a){if(u&&!n(e,u+"",r))return null;if(p&&!n(e,p+"",r))return null;for(const o of t)if(!n(e,o+"",r))return!1;return!0}let g=!(!p||r.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;g&&1===g.prerelease.length&&"<"===p.operator&&0===g.prerelease[0]&&(g=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,u)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(d=l(u,e,r),d===e&&d!==u)return!1}else if(">="===u.operator&&!n(u.semver,e+"",r))return!1;if(p)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if(f=c(p,e,r),f===e&&f!==p)return!1}else if("<="===p.operator&&!n(p.semver,e+"",r))return!1;if(!e.operator&&(p||u)&&0!==h)return!1}return!(u&&m&&!p&&0!==h||p&&v&&!u&&0!==h||y||g)},l=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return o>0?e:0>o||">"===t.operator&&">="===e.operator?t:e},c=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return 0>o?e:o>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,o={})=>{if(e===t)return!0;e=new r(e,o),t=new r(t,o);let s=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,o);if(s=s||null!==t,t)continue e}if(s)return!1}return!0}}));const Be=Fe(de("1Hds5")),He=Fe(z),Xe=Fe(W);de.register("9AGbw",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=de("cEfL5");let o;var s,n,i,a,l;(n=s=e.exports.HttpCodes||(e.exports.HttpCodes={}))[n.OK=200]="OK",n[n.MultipleChoices=300]="MultipleChoices",n[n.MovedPermanently=301]="MovedPermanently",n[n.ResourceMoved=302]="ResourceMoved",n[n.SeeOther=303]="SeeOther",n[n.NotModified=304]="NotModified",n[n.UseProxy=305]="UseProxy",n[n.SwitchProxy=306]="SwitchProxy",n[n.TemporaryRedirect=307]="TemporaryRedirect",n[n.PermanentRedirect=308]="PermanentRedirect",n[n.BadRequest=400]="BadRequest",n[n.Unauthorized=401]="Unauthorized",n[n.PaymentRequired=402]="PaymentRequired",n[n.Forbidden=403]="Forbidden",n[n.NotFound=404]="NotFound",n[n.MethodNotAllowed=405]="MethodNotAllowed",n[n.NotAcceptable=406]="NotAcceptable",n[n.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",n[n.RequestTimeout=408]="RequestTimeout",n[n.Conflict=409]="Conflict",n[n.Gone=410]="Gone",n[n.TooManyRequests=429]="TooManyRequests",n[n.InternalServerError=500]="InternalServerError",n[n.NotImplemented=501]="NotImplemented",n[n.BadGateway=502]="BadGateway",n[n.ServiceUnavailable=503]="ServiceUnavailable",n[n.GatewayTimeout=504]="GatewayTimeout",(a=i=e.exports.Headers||(e.exports.Headers={})).Accept="accept",a.ContentType="content-type",(l=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{let t=r.getProxyUrl(new URL(e));return t?t.href:""};const c=[s.MovedPermanently,s.ResourceMoved,s.SeeOther,s.TemporaryRedirect,s.PermanentRedirect],u=[s.BadGateway,s.ServiceUnavailable,s.GatewayTimeout],p=["OPTIONS","GET","DELETE","HEAD"];class h extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,h.prototype)}}e.exports.HttpClientError=h;class d{constructor(e){this.message=e}readBody(){return new Promise((async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",(e=>{r=Buffer.concat([r,e])})),this.message.on("end",(()=>{e(""+r)}))}))}}e.exports.HttpClientResponse=d,e.exports.isHttps=e=>"https:"===new URL(e).protocol;class f{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,r){return this.request("POST",e,t,r||{})}patch(e,t,r){return this.request("PATCH",e,t,r||{})}put(e,t,r){return this.request("PUT",e,t,r||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,r,o){return this.request(e,t,r,o)}async getJson(e,t={}){t[i.Accept]=this._getExistingOrDefaultHeader(t,i.Accept,l.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,l.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,l.ApplicationJson);let s=await this.post(e,o,r);return this._processResponse(s,this.requestOptions)}async putJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,l.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,l.ApplicationJson);let s=await this.put(e,o,r);return this._processResponse(s,this.requestOptions)}async patchJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,l.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,l.ApplicationJson);let s=await this.patch(e,o,r);return this._processResponse(s,this.requestOptions)}async request(e,t,r,o){if(this._disposed)throw Error("Client has already been disposed.");let n,i=new URL(t),a=this._prepareRequest(e,i,o),l=this._allowRetries&&-1!=p.indexOf(e)?this._maxRetries+1:1,h=0;for(;l>h;){if(n=await this.requestRaw(a,r),n&&n.message&&n.message.statusCode===s.Unauthorized){let e;for(let t=0;this.handlers.length>t;t++)if(this.handlers[t].canHandleAuthentication(n)){e=this.handlers[t];break}return e?e.handleAuthentication(this,a,r):n}let t=this._maxRedirects;for(;-1!=c.indexOf(n.message.statusCode)&&this._allowRedirects&&t>0;){const s=n.message.headers.location;if(!s)break;let l=new URL(s);if("https:"==i.protocol&&i.protocol!=l.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(await n.readBody(),l.hostname!==i.hostname)for(let e in o)"authorization"===e.toLowerCase()&&delete o[e];a=this._prepareRequest(e,l,o),n=await this.requestRaw(a,r),t--}if(-1==u.indexOf(n.message.statusCode))return n;h+=1,l>h&&(await n.readBody(),await this._performExponentialBackoff(h))}return n}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return new Promise(((r,o)=>{this.requestRawWithCallback(e,t,((e,t)=>{e&&o(e),r(t)}))}))}requestRawWithCallback(e,t,r){let o;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let s=!1,n=(e,t)=>{s||(s=!0,r(e,t))},i=e.httpModule.request(e.options,(e=>{let t=new d(e);n(null,t)}));i.on("socket",(e=>{o=e})),i.setTimeout(this._socketTimeout||18e4,(()=>{o&&o.end(),n(Error("Request timeout: "+e.options.path),null)})),i.on("error",(e=>{n(e,null)})),t&&"string"==typeof t&&i.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{i.end()})),t.pipe(i)):i.end()}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const o={};o.parsedUrl=t;const s="https:"===o.parsedUrl.protocol;o.httpModule=s?ie:ne;const n=s?443:80;return o.options={},o.options.host=o.parsedUrl.hostname,o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):n,o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||""),o.options.method=e,o.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(o.options.headers["user-agent"]=this.userAgent),o.options.agent=this._getAgent(o.parsedUrl),this.handlers&&this.handlers.forEach((e=>{e.prepareRequest(o.options)})),o}_mergeHeaders(e){const t=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});return this.requestOptions&&this.requestOptions.headers?Object.assign({},t(this.requestOptions.headers),t(e)):t(e||{})}_getExistingOrDefaultHeader(e,t,r){let o;var s;return this.requestOptions&&this.requestOptions.headers&&(o=(s=this.requestOptions.headers,Object.keys(s).reduce(((e,t)=>(e[t.toLowerCase()]=s[t],e)),{}))[t]),e[t]||o||r}_getAgent(e){let t,s=r.getProxyUrl(e),n=s&&s.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const i="https:"===e.protocol;let a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||ne.globalAgent.maxSockets),n){o||(o=de("hEhmi"));const e={maxSockets:a,keepAlive:this._keepAlive,proxy:{...(s.username||s.password)&&{proxyAuth:`${s.username}:${s.password}`},host:s.hostname,port:s.port}};let r;const n="https:"===s.protocol;r=i?n?o.httpsOverHttps:o.httpsOverHttp:n?o.httpOverHttps:o.httpOverHttp,t=r(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:a};t=i?new ie.Agent(e):new ne.Agent(e),this._agent=t}return t||(t=i?ie.globalAgent:ne.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}static dateTimeDeserializer(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e}return t}async _processResponse(e,t){return new Promise((async(r,o)=>{const n=e.message.statusCode,i={statusCode:n,result:null,headers:{}};let a,l;n==s.NotFound&&r(i);try{l=await e.readBody(),l&&l.length>0&&(a=t&&t.deserializeDates?JSON.parse(l,f.dateTimeDeserializer):JSON.parse(l),i.result=a),i.headers=e.message.headers}catch(e){}if(n>299){let e;e=a&&a.message?a.message:l&&l.length>0?l:"Failed request: ("+n+")";let t=new h(e,n);t.result=i.result,o(t)}else r(i)}))}}e.exports.HttpClient=f})),de.register("cEfL5",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;let t,r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let o=[e.hostname.toUpperCase()];"number"==typeof t&&o.push(`${o[0]}:${t}`);for(let e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(o.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=e=>{let t,o,s="https:"===e.protocol;return r(e)||(o=s?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY,o&&(t=new URL(o))),t},e.exports.checkBypass=r})),de.register("hEhmi",((e,t)=>{e.exports=de("88ZfI")})),de.register("88ZfI",(function(e,r){function o(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||ne.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,o,s)=>{for(var i=n(r,o,s),a=0,l=t.requests.length;l>a;++a){var c=t.requests[a];if(c.host===i.host&&c.port===i.port)return t.requests.splice(a,1),void c.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function s(e,t){var r=this;o.prototype.createSocket.call(r,e,(o=>{var s=e.request.getHeader("host"),n=i({},r.options,{socket:o,servername:s?s.replace(/:.*$/,""):e.host}),a=ae.connect(0,n);r.sockets[r.sockets.indexOf(o)]=a,t(a)}))}function n(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function i(e){for(var t=1,r=arguments.length;r>t;++t){var o=arguments[t];if("object"==typeof o)for(var s=Object.keys(o),n=0,i=s.length;i>n;++n){var a=s[n];void 0!==o[a]&&(e[a]=o[a])}}return e}var a,l,c,u,p,h;t(e.exports,"httpsOverHttp",(()=>p),(e=>p=e)),t(e.exports,"httpOverHttps",(()=>u),(e=>u=e)),t(e.exports,"debug",(()=>a),(e=>a=e)),t(e.exports,"httpOverHttp",(()=>l),(e=>l=e)),t(e.exports,"httpsOverHttps",(()=>c),(e=>c=e)),l=e=>{var t=new o(e);return t.request=ne.request,t},p=e=>{var t=new o(e);return t.request=ne.request,t.createSocket=s,t.defaultPort=443,t},u=e=>{var t=new o(e);return t.request=ie.request,t},c=e=>{var t=new o(e);return t.request=ie.request,t.createSocket=s,t.defaultPort=443,t},oe.inherits(o,ee.EventEmitter),o.prototype.addRequest=function(e,t,r,o){var s=this,a=i({request:e},s.options,n(t,r,o));this.maxSockets>s.sockets.length?s.createSocket(a,(t=>{function r(){s.emit("free",t,a)}function o(e){s.removeSocket(t),t.removeListener("free",r),t.removeListener("close",o),t.removeListener("agentRemove",o)}t.on("free",r),t.on("close",o),t.on("agentRemove",o),e.onSocket(t)})):s.requests.push(a)},o.prototype.createSocket=function(e,t){function r(r,n,i){var l;return a.removeAllListeners(),n.removeAllListeners(),200!==r.statusCode?(h("tunneling socket could not be established, statusCode=%d",r.statusCode),n.destroy(),(l=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",l),void o.removeSocket(s)):i.length>0?(h("got illegal response body from proxy"),n.destroy(),(l=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",l),void o.removeSocket(s)):(h("tunneling connection has established"),o.sockets[o.sockets.indexOf(s)]=n,t(n))}var o=this,s={};o.sockets.push(s);var n=i({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(n.localAddress=e.localAddress),n.proxyAuth&&(n.headers=n.headers||{},n.headers["Proxy-Authorization"]="Basic "+new Buffer(n.proxyAuth).toString("base64")),h("making CONNECT request");var a=o.request(n);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,o)=>{process.nextTick((()=>{r(e,t,o)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),h("tunneling socket could not be established, cause=%s\n",t.message,t.stack);var r=Error("tunneling socket could not be established, cause="+t.message);r.code="ECONNRESET",e.request.emit("error",r),o.removeSocket(s)})),a.end()},o.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(e=>{r.request.onSocket(e)}))}},h=process.env.NODE_DEBUG&&/\btunnel\b/.test(process.env.NODE_DEBUG)?function(){var e=[].slice.call(arguments);"string"==typeof e[0]?e[0]="TUNNEL: "+e[0]:e.unshift("TUNNEL:"),console.error.apply(console,e)}:()=>{},a=h}));const Ye=Fe(de("9AGbw")),Ze=Fe(de("hBwzM")),ze=Fe(se),We=Fe(oe);de.register("kceBH",((e,t)=>{var r=de("diWfV"),o=de("8n3PT");e.exports=(e,t,s)=>{var n=t&&s||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;16>a;++a)t[n+a]=i[a];return t||o(i)}})),de.register("diWfV",((e,t)=>{e.exports=()=>le.randomBytes(16)})),de.register("8n3PT",((e,t)=>{for(var r=[],o=0;256>o;++o)r[o]=(o+256).toString(16).substr(1);e.exports=(e,t)=>{var o=t||0;return""+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]}}));const Je=Ue(de("kceBH"));var Ke={},Qe=Ke&&Ke.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),et=Ke&&Ke.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),tt=Ke&&Ke.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&Qe(t,e,r);return et(t,e),t}),rt=Ke&&Ke.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())})));Object.defineProperty(Ke,"__esModule",{value:!0}),Ke.RetryHelper=void 0;const ot=tt(de("6FGZZ"));Ke.RetryHelper=class{constructor(e,t,r){if(1>e)throw Error("max attempts should be greater than or equal to 1");if(this.maxAttempts=e,this.minSeconds=Math.floor(t),this.maxSeconds=Math.floor(r),this.minSeconds>this.maxSeconds)throw Error("min seconds should be less than or equal to max seconds")}execute(e,t){return rt(this,void 0,void 0,(function*(){let r=1;for(;this.maxAttempts>r;){try{return yield e()}catch(e){if(t&&!t(e))throw e;ot.info(e.message)}const o=this.getSleepAmount();ot.info(`Waiting ${o} seconds before trying again`),yield this.sleep(o),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return rt(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class st extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Le.HTTPError=st;const nt="win32"===process.platform,it="darwin"===process.platform;Le.downloadTool=function(e,t,r,o){return Me(this,void 0,void 0,(function*(){t=t||Xe.join(g(),Je.default()),yield qe.mkdirP(Xe.dirname(t)),Ve.debug("Downloading "+e),Ve.debug("Destination "+t);const s=y("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),n=y("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),i=new Ke.RetryHelper(3,s,n);return yield i.execute((()=>Me(this,void 0,void 0,(function*(){return yield function(e,t,r,o){return Me(this,void 0,void 0,(function*(){if(Ge.existsSync(t))throw Error(`Destination file path ${t} already exists`);const s=new Ye.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Ve.debug("set auth"),void 0===o&&(o={}),o.authorization=r);const n=yield s.get(e,o);if(200!==n.message.statusCode){const t=new st(n.message.statusCode);throw Ve.debug(`Failed to download from "${e}". Code(${n.message.statusCode}) Message(${n.message.statusMessage})`),t}const i=We.promisify(ze.pipeline),a=y("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>n.message))();let l=!1;try{return yield i(a,Ge.createWriteStream(t)),Ve.debug("download complete"),l=!0,t}finally{if(!l){Ve.debug("download failed");try{yield qe.rmRF(t)}catch(e){Ve.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,o)}))),(e=>!(e instanceof st&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Le.extract7z=function(e,t,r){return Me(this,void 0,void 0,(function*(){re.ok(nt,"extract7z() not supported on current OS"),re.ok(e,'parameter "file" is required'),t=yield p(t);const o=process.cwd();if(process.chdir(t),r)try{const t=["x",Ve.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],s={silent:!0};yield Oe.exec(`"${r}"`,t,s)}finally{process.chdir(o)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Xe.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],s={silent:!0};try{const e=yield qe.which("powershell",!0);yield Oe.exec(`"${e}"`,r,s)}finally{process.chdir(o)}}return t}))},Le.extractTar=function(e,t,r="xz"){return Me(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield p(t),Ve.debug("Checking tar --version");let o="";yield Oe.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return o+=""+e},stderr(e){return o+=""+e}}}),Ve.debug(o.trim());const s=o.toUpperCase().includes("GNU TAR");let n;n=r instanceof Array?r:[r],Ve.isDebug()&&!r.includes("v")&&n.push("-v");let i=t,a=e;return nt&&s&&(n.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),s&&(n.push("--warning=no-unknown-keyword"),n.push("--overwrite")),n.push("-C",i,"-f",a),yield Oe.exec("tar",n),t}))},Le.extractXar=function(e,t,r=[]){return Me(this,void 0,void 0,(function*(){let o;re.ok(it,"extractXar() not supported on current OS"),re.ok(e,'parameter "file" is required'),t=yield p(t),o=r instanceof Array?r:[r],o.push("-x","-C",t,"-f",e),Ve.isDebug()&&o.push("-v");const s=yield qe.which("xar",!0);var n;return yield Oe.exec(`"${s}"`,(n=o,Array.from(new Set(n)))),t}))},Le.extractZip=function(e,t){return Me(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield p(t),nt?yield function(e,t){return Me(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),s=yield qe.which("pwsh",!1);if(s){const e=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;",`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${o}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${o}' -Force } else { throw $_ } } ;`].join(" ")];Ve.debug("Using pwsh at path: "+s),yield Oe.exec(`"${s}"`,e)}else{const e=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",["$ErrorActionPreference = 'Stop' ; try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;",`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${r}' -DestinationPath '${o}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${o}', $true) }`].join(" ")],t=yield qe.which("powershell",!0);Ve.debug("Using powershell at path: "+t),yield Oe.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Me(this,void 0,void 0,(function*(){const r=yield qe.which("unzip",!0),o=[e];Ve.isDebug()||o.unshift("-q"),o.unshift("-o"),yield Oe.exec(`"${r}"`,o,{cwd:t})}))}(e,t),t}))},Le.cacheDir=function(e,t,r,o){return Me(this,void 0,void 0,(function*(){if(r=Ze.clean(r)||r,o=o||He.arch(),Ve.debug(`Caching tool ${t} ${r} ${o}`),Ve.debug("source dir: "+e),!Ge.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const s=yield h(t,r,o);for(const t of Ge.readdirSync(e)){const r=Xe.join(e,t);yield qe.cp(r,s,{recursive:!0})}return d(t,r,o),s}))},Le.cacheFile=function(e,t,r,o,s){return Me(this,void 0,void 0,(function*(){if(o=Ze.clean(o)||o,s=s||He.arch(),Ve.debug(`Caching tool ${r} ${o} ${s}`),Ve.debug("source file: "+e),!Ge.statSync(e).isFile())throw Error("sourceFile is not a file");const n=yield h(r,o,s),i=Xe.join(n,t);return Ve.debug("destination file "+i),yield qe.cp(e,i),d(r,o,s),n}))},Le.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||He.arch(),f(t)||(t=m(u(e,r),t));let o="";if(t){t=Ze.clean(t)||"";const s=Xe.join(v(),e,t,r);Ve.debug("checking cache: "+s),Ge.existsSync(s)&&Ge.existsSync(s+".complete")?(Ve.debug(`Found tool in cache ${e} ${t} ${r}`),o=s):Ve.debug("not found")}return o},Le.findAllVersions=u,Le.getManifestFromRepo=function(e,t,r,o="master"){return Me(this,void 0,void 0,(function*(){let s=[];const n=`https://api.github.com/repos/${e}/${t}/git/trees/${o}`,i=new Ye.HttpClient("tool-cache"),a={};r&&(Ve.debug("set auth"),a.authorization=r);const l=yield i.getJson(n,a);if(!l.result)return s;let c="";for(const e of l.result.tree)if("versions-manifest.json"===e.path){c=e.url;break}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield i.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{s=JSON.parse(u)}catch(e){Ve.debug("Invalid json")}}return s}))},Le.findFromManifest=function(e,t,r,o=He.arch()){return Me(this,void 0,void 0,(function*(){return yield Be._findMatch(e,t,r,o)}))},Le.isExplicitVersion=f,Le.evaluateVersions=m,me=de("6FGZZ");var at=de("ju11K"),lt=de("5M2Mq"),ct=(me=de("6FGZZ"),{}),ut={};const pt=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;pt.writable=e=>pt(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,pt.readable=e=>pt(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,pt.duplex=e=>pt.writable(e)&&pt.readable(e),pt.transform=e=>pt.duplex(e)&&"function"==typeof e._transform,ut=pt;const{Worker:ht}=(()=>{try{return $e68279e3338bc371$import$ad18b0afc1a10da7}catch(e){return{}}})();let dt,ft=0;const mt=new Map,vt=(e,t,r)=>new Promise(((o,s)=>{const n=ft++;mt.set(n,{resolve:o,reject:s}),void 0===dt&&(dt=new ht(W.join(__dirname,"thread.js")),dt.on("message",(e=>{const t=mt.get(e.id);mt.delete(e.id),0===mt.size&&dt.unref(),void 0===e.error?t.resolve(e.value):t.reject((e=>{const t=Error(e.message);for(const[r,o]of Object.entries(e))"message"!==r&&(t[r]=o);return t})(e.error))})),dt.on("error",(e=>{throw e}))),dt.ref(),dt.postMessage({id:n,method:e,args:t},r)})),gt=(e,t={})=>{let r=t.encoding||"hex";"buffer"===r&&(r=void 0);const o=le.createHash(t.algorithm||"sha512"),s=e=>{o.update(e,"string"==typeof e?"utf8":void 0)};return Array.isArray(e)?e.forEach(s):s(e),o.digest(r)};gt.stream=(e={})=>{let t=e.encoding||"hex";"buffer"===t&&(t=void 0);const r=le.createHash(e.algorithm||"sha512");return r.setEncoding(t),r},gt.fromStream=async(e,t={})=>{if(!ut(e))throw new TypeError("Expected a stream");return new Promise(((r,o)=>{e.on("error",o).pipe(gt.stream(t)).on("error",o).on("finish",(function(){r(this.read())}))}))},void 0===ht?(gt.fromFile=async(e,t)=>gt.fromStream(J.createReadStream(e),t),gt.async=async(e,t)=>gt(e,t)):(gt.fromFile=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{const o=await vt("hashFile",[t,e]);return"buffer"===r?Buffer.from(o):Buffer.from(o).toString(r)},gt.async=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{"buffer"===r&&(r=void 0);const o=await vt("hash",[t,e]);return void 0===r?Buffer.from(o):Buffer.from(o).toString(r)}),gt.fromFileSync=(e,t)=>gt(J.readFileSync(e),t),ct=gt,me=de("6FGZZ"),me=de("6FGZZ");var yt=de("hBwzM");const xt="win32"===process.platform,wt="linux"===process.platform,Et=["x86","x64"],bt=["win32","win64"];yt=de("hBwzM");const Pt=(me=de("6FGZZ")).getInput("token"),Ot=Pt&&"GITHUB.COM"===new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.toUpperCase()?"token "+Pt:void 0,St="https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json";me=de("6FGZZ"),me=de("6FGZZ"),yt=de("hBwzM");var _t=de("9AGbw"),$t=(yt=de("hBwzM"),me=de("6FGZZ"),de("1wyqe"));let Rt,Ct;me=de("6FGZZ"),me=de("6FGZZ"),me=de("6FGZZ"),at=de("ju11K");var At=de("k3zcS"),Tt=de("q05Mr");const It=(e=>{const t=new Set(e);for(const r of e)t.add(/^\d+/.exec(r)[0]),t.add(/^\d+\.\d+/.exec(r)[0]);return t})(["3.5.0","3.5.1","3.5.2","3.6.0","3.6.1","3.6.2","3.7.0","3.7.1","3.8.0","3.8.1","3.9.0","3.9.1","4.0.0","4.0.1","5.0.0","5.0.1","5.0.2","6.0.0","6.0.1","7.0.0","7.0.1","7.1.0","8.0.0","8.0.1","9.0.0","9.0.1","10.0.0","10.0.1","11.0.0","11.0.1","11.1.0","12.0.0","12.0.1"]),Nt=new Set(["3.5.1","3.6.1","3.6.2","3.7.1","3.8.1","3.9.1","6.0.1","7.0.1","7.1.0","8.0.1","11.0.1","11.1.0","12.0.1"]),Dt=new Map([["12.0.1","12.0.1-rc4"]]),Lt={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1-rc4":"-ubuntu-21.04"},jt=new Set(["10.0.1"]);me=de("6FGZZ"),de.register("jJT7R",((e,r)=>{function o(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}function s(e,t,r,s,n){if("win32"!=ce.platform)return void i.info("This is not a Windows virtual environment, bye!");ce.env.PATH+=W.delimiter+u;let p={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in p&&(e=p[e.toLowerCase()]);var h=[e];"true"==s&&h.push("uwp"),t&&h.push(t),r&&h.push("-vcvars_ver="+r),"true"==n&&h.push("-vcvars_spectre_libs=spectre");const d=`"${(()=>{let e=(e=>{try{return(""+K.execSync("vswhere -products * -latest -prerelease -property installationPath")).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){i.warning("vswhere failed: "+e)}return null})();if(e&&J.existsSync(e))return i.info("Found with vswhere: "+e),e;i.info("Not found with vswhere");for(const t of c)for(const r of l)if(e=`${a}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,i.info("Trying standard location: "+e),J.existsSync(e))return i.info("Found standard location: "+e),e;if(i.info("Not found in standard locations"),e=a+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",J.existsSync(e))return i.info("Found VS 2015: "+e),e;throw i.info("Not found in VS 2015 location: "+e),Error("Microsoft Visual Studio not found")})()}" ${h.join(" ")}`;i.debug("vcvars command-line: "+d);const f=(""+K.execSync(`set && cls && ${d} && cls && set`,{shell:"cmd"})).split("\f"),m=f[0].split("\r\n"),v=f[1].split("\r\n"),g=f[2].split("\r\n"),y=v.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(y.length>0)throw Error("invalid parameters\r\n"+y.join("\r\n"));let x={};for(let e of m){const[t,r]=e.split("=");x[t]=r}i.startGroup("Environment variables");for(let e of g){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==x[t]&&(i.info("Setting "+t),o(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),i.exportVariable(t,r))}i.endGroup(),i.info("Configured Developer Command Prompt")}var n;t(e.exports,"setupMSVCDevCmd",(()=>n),(e=>n=e));var i=de("k2PtG");const a=ce.env["ProgramFiles(x86)"],l=["Enterprise","Professional","Community"],c=["2019","2017"],u=a+"\\Microsoft Visual Studio\\Installer";n=s;try{s(i.getInput("arch"),i.getInput("sdk"),i.getInput("toolset"),i.getInput("uwp"),i.getInput("spectre"))}catch(e){i.setFailed("Could not setup Developer Command Prompt: "+e.message)}})),de.register("k2PtG",(function(e,t){"use strict";function r(e){a.issue("error",e instanceof Error?""+e:e)}function o(e){a.issue("group",e)}function s(){a.issue("endgroup")}var n=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((s,n)=>{function i(e){try{l(o.next(e))}catch(e){n(e)}}function a(e){try{l(o.throw(e))}catch(e){n(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}l((o=o.apply(e,t||[])).next())}))),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});var a=de("lTVmt"),l=de("48DC3"),c=de("3tRAC");const u=i(z),p=i(W);var h,d;(d=h=e.exports.ExitCode||(e.exports.ExitCode={}))[d.Success=0]="Success",d[d.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=c.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";l.issueCommand("ENV",`${e}<<${t}${u.EOL}${r}${u.EOL}${t}`)}else a.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{a.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?l.issueCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${p.delimiter}${process.env.PATH}`},e.exports.getInput=(e,t)=>{const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return r.trim()},e.exports.setOutput=(e,t)=>{a.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{a.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=h.Failure,r(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{a.issueCommand("debug",{},e)},e.exports.error=r,e.exports.warning=e=>{a.issue("warning",e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+u.EOL)},e.exports.startGroup=o,e.exports.endGroup=s,e.exports.group=function(e,t){return n(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{a.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),de.register("lTVmt",(function(e,t){"use strict";function r(e,t,r){const o=new i(e,t,r);process.stdout.write(""+o+s.EOL)}var o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const s=o(z);var n=de("3tRAC");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class i{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const o in this.properties)if(this.properties.hasOwnProperty(o)){const s=this.properties[o];s&&(r?r=!1:e+=",",e+=`${o}=${t=s,n.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>n.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),de.register("3tRAC",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)})),de.register("48DC3",((e,t)=>{"use strict";var r=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const o=r(J),s=r(z);var n=de("3tRAC");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!o.existsSync(r))throw Error("Missing file at path: "+r);o.appendFileSync(r,`${n.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}})),me=de("6FGZZ");var kt=de("1JJDJ");const Ft={msvc:"2019",llvm:"11",ninja:"1.10.2",cmake:"3.20.2",gcovr:"5.0",conan:"1.40.1",meson:"0.59.1",python:"3.x",gcc:"win32"===process.platform?"10.2.0":"11"};me=de("6FGZZ"),At=de("k3zcS"),lt=de("5M2Mq");const Mt={cmake(e,t,r){return x("cmake",e,w,t)},ninja(e,t,r){return x("ninja",e,V,t)},python:A,conan(e,t,r){return I("conan",e)},meson(e,t,r){return I("meson",e)},gcovr(e,t,r){return I("gcovr",e)},async opencppcoverage(e,t,r){if("win32"!==process.platform)return;await c("opencppcoverage",e);const o="C:/Program Files/OpenCppCoverage";return me.addPath(o),{binDir:o}},llvm:M,gcc:H,choco:l,brew:o,ccache(e,t,r){switch(process.platform){case"win32":return c("ccache",e);case"darwin":return a("ccache",e);case"linux":return i("ccache",e);default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await c("doxygen.install",e),await c("graphviz",e),me.addPath("C:/Program Files/Graphviz/bin");const t="C:/Program Files/doxygen/bin";return me.addPath(t),{binDir:t}}case"darwin":return a("doxygen",e),a("graphviz",e);case"linux":return await i("doxygen",e),i("graphviz",e);default:throw Error("Unsupported platform")}},async cppcheck(e,t,r){switch(process.platform){case"win32":{await c("cppcheck",e);const t="C:/Program Files/Cppcheck";return me.addPath(t),{binDir:t}}case"darwin":return a("cppcheck",e);case"linux":return i("cppcheck",e);default:throw Error("Unsupported platform")}},msvc:U},Ut=["cmake","ninja","python","conan","meson","gcovr","opencppcoverage","llvm","gcc","choco","brew","ccache","doxygen","cppcheck","msvc"],Vt=["compiler","architecture",...Ut];X(process.argv).then((e=>{process.exitCode=e})).catch((e=>{me.error("main() panicked!"),me.error(e),process.exitCode=1})); +//# sourceMappingURL=setup_cpp.js.map diff --git a/dist/setup_cpp.js.map b/dist/setup_cpp.js.map new file mode 100644 index 00000000..07f06c70 --- /dev/null +++ b/dist/setup_cpp.js.map @@ -0,0 +1 @@ +{"mappings":"qJAWSA,EAAOC,EAAMC,EAASC,GAM7B,GALkB,mBAAPD,IACTC,EAAKD,EACLA,EAAO,KAGJC,EAAI,CACP,GAAkB,mBAAPC,QACT,MAAM,IAAIC,UAAS,gCAGd,IAAID,SAAO,CAAWE,EAASC,KACpCP,EAAMC,EAAMC,GAAO,KAAkBM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,SAMhBC,GAAKT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AsBC,UAC7EE,QAAQC,sBACA,OACNkD,EAAc,WAAad,GACjC,MAAMM,EAAM,mCACZU,GAAAC,QAAQX,WACCA,uBAGFC,EAAa,WAAaP,sBAG1BF,EAAY,WAAaE,WAGhC,MAAUjB,MAAK,0BhFiBnB25C,KAAM/kC,GAIFkE,GAAK,sIAsBLjB,GAAM,8BAAkDiB,IAoH9DpC,EAAK9X,QAAQ87C,MACV75B,MAAMqY,IACLt6B,QAAQuc,SAAW+d,KAEpByhB,OAAOrrC,IACNrN,GAAAqN,MAAU,oBACVrN,GAAAqN,MAAWA,GACX1Q,QAAQuc,SAAW","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/exec.ts","src/utils/setup/sudo.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/setupBin.ts","src/cmake/cmake.ts","src/python/setup-python/src/utils.ts","src/python/setup-python/src/find-python.ts","src/python/setup-python/src/install-pypy.ts","src/python/python.ts","src/python/setup-python/src/find-pypy.ts","src/python/setup-python/src/install-python.ts","src/utils/http/validate_url.ts","src/utils/setup/setupPipPack.ts","src/utils/setup/version.ts","src/utils/setup/extract.ts","src/llvm/llvm.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/default_versions.ts","src/gcc/gcc.ts","src/main.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.5/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/subset.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/hasha@5.2.2/node_modules/hasha/index.js","src/msvc/msvc-dev-cmd/index.js","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/doxygen/doxygen.ts","src/cppcheck/cppcheck.ts"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","import { execFileSync } from \"child_process\"\nimport { dirname } from \"path\"\nimport which from \"which\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupBrew(_version: string, _setupCppDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n execFileSync(`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`, {\n stdio: \"inherit\",\n })\n binDir = \"/usr/local/bin/\"\n\n return { binDir }\n}\n",null,"let _issudo: boolean | undefined = undefined\n\nexport function isRoot(): boolean {\n if (_issudo !== undefined) {\n return _issudo\n }\n // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions, @typescript-eslint/no-unnecessary-condition\n _issudo = Boolean(process.env.CI) || process.getuid?.() === 0\n return _issudo\n}\n\nexport function mightSudo(command: string) {\n if (isRoot()) {\n return `sudo ${command}`\n }\n return command\n}\n","/* eslint-disable require-atomic-updates */\nimport { exec } from \"@actions/exec\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { mightSudo } from \"./sudo\"\n\nlet didUpdate: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repository: boolean | string = true\n): Promise {\n const apt = mightSudo(\"apt-get\")\n\n let exit = 0\n\n if (typeof repository === \"string\") {\n exit = await exec(mightSudo(\"add-apt-repository\"), [\"--update\", repository])\n }\n\n if (!didUpdate || repository === true) {\n await exec(apt, [\"update\"])\n didUpdate = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n exit = await exec(apt, [\"install\", `${name}=${version}`])\n } catch {\n exit = await exec(apt, [\"install\", `${name}-${version}`])\n }\n } else {\n exit = await exec(apt, [\"install\", name])\n }\n\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { execFileSync } from \"child_process\"\nimport which from \"which\"\nimport { setupBrew } from \"../../brew/brew\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasBrew = false\n\n/** A function that installs a package using brew */\nexport function setupBrewPack(name: string, version?: string): InstallationInfo {\n if (!hasBrew || which.sync(\"brew\", { nothrow: true }) === null) {\n setupBrew(\"\", \"\", process.arch)\n hasBrew = true\n }\n\n // brew is not thread-safe\n execFileSync(\"brew\", [\"install\", version !== undefined && version !== \"\" ? `${name}@${version}` : name], {\n stdio: \"inherit\",\n })\n\n return { binDir: \"/usr/local/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { exec } from \"@actions/exec\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport async function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n const exit = await exec(\n `@\"%SystemRoot%\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\" && SET \"PATH=%PATH%;%ALLUSERSPROFILE%\\\\chocolatey\\\\bin\"`\n )\n\n if (exit !== 0) {\n throw new Error(`Failed to install chocolatey`)\n }\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n\n if (existsSync(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"@actions/core\"\nimport { exec } from \"@actions/exec\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n let exit\n if (version !== undefined && version !== \"\") {\n exit = await exec(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args])\n } else {\n exit = await exec(\"choco\", [\"install\", \"-y\", name, ...args])\n }\n\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n const binDir = \"C:/ProgramData/Chocolatey/bin/\"\n addPath(binDir)\n return { binDir }\n}\n",null,"import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { addPath, info } from \"@actions/core\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport * as hasha from \"hasha\"\nimport { tmpdir } from \"os\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise | Promise\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n}\n\n/**\n * A function that:\n *\n * - Downlodas and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the dowloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform) => PackageInfo | Promise,\n setupCppDir: string\n): Promise {\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n\n const { url, binRelativeDir, extractedFolderName, extractFunction } = await getPackageInfo(version, process.platform)\n\n // Restore from cache (if found).\n const dir = find(name, version)\n if (dir) {\n info(`${name} ${version} was found in the cache.`)\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n addPath(binDir)\n return { installDir, binDir }\n }\n\n // Get an unique output directory name from the URL.\n const key: string = await hasha.async(url)\n const rootDir = join(setupCppDir, key)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(rootDir)) {\n info(`Download and extract ${name} ${version}`)\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, rootDir)\n }\n\n const installDir = join(rootDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(rootDir, name, version)\n }\n\n return { installDir, binDir }\n}\n/** Add bin extension to a binary. This will be `.exe` on Windows. */\nexport function addBinExtension(name: string) {\n if (process.platform === \"win32\") {\n return `${name}.exe`\n }\n return name\n}\n","import { extractZip, extractTar } from \"@actions/tool-cache\"\nimport { getInput } from \"@actions/core\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform?: NodeJS.Platform): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n const platformStr = platform ?? process.platform\n const arch = getInput(\"architecture\") || process.arch\n switch (platformStr) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platformStr}'`)\n }\n}\n\n/** Setup cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCmake(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupCppDir)\n}\n","import fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n let fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a seperate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\n// Note on the tool cache layout for PyPy:\n// PyPy has its own versioning scheme that doesn't follow the Python versioning scheme.\n// A particular version of PyPy may contain one or more versions of the Python interpreter.\n// For example, PyPy 7.0 contains Python 2.7, 3.5, and 3.6-alpha.\n// We only care about the Python version, so we don't use the PyPy version for the tool cache.\nfunction usePyPy(\n majorVersion: '2' | '3.6',\n architecture: string\n): InstalledVersion {\n const findPyPy = tc.find.bind(undefined, 'PyPy', majorVersion);\n let installDir: string | null = findPyPy(architecture);\n\n if (!installDir && IS_WINDOWS) {\n // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.\n // On our Windows virtual environments, we only install an x86 version.\n // Fall back to x86.\n installDir = findPyPy('x86');\n }\n\n if (!installDir) {\n // PyPy not installed in $(Agent.ToolsDirectory)\n throw new Error(`PyPy ${majorVersion} not found`);\n }\n\n // For PyPy, Windows uses 'bin', not 'Scripts'.\n const _binDir = path.join(installDir, 'bin');\n\n // On Linux and macOS, the Python interpreter is in 'bin'.\n // On Windows, it is in the installation root.\n const pythonLocation = IS_WINDOWS ? installDir : _binDir;\n core.exportVariable('pythonLocation', pythonLocation);\n\n core.addPath(installDir);\n core.addPath(_binDir);\n // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be \"Scripts\" on Windows.\n if (IS_WINDOWS) {\n core.addPath(path.join(installDir, 'Scripts'));\n }\n\n const impl = 'pypy' + majorVersion.toString();\n core.setOutput('python-version', impl);\n\n return {impl: impl, version: versionFromPath(installDir)};\n}\n\nasync function useCpythonVersion(\n version: string,\n architecture: string\n): Promise {\n const desugaredVersionSpec = desugarDevVersion(version);\n const semanticVersionSpec = pythonVersionToSemantic(desugaredVersionSpec);\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n throw new Error(\n [\n `Version ${version} with arch ${architecture} not found`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n core.exportVariable('pythonLocation', installDir);\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n\n core.addPath(installDir);\n core.addPath(binDir(installDir));\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `>= 3.8.0-a0`. */\nfunction desugarDevVersion(versionSpec: string) {\n if (versionSpec.endsWith('-dev')) {\n const versionRoot = versionSpec.slice(0, -'-dev'.length);\n return `>= ${versionRoot}.0-a0`;\n } else {\n return versionSpec;\n }\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n */\nexport function pythonVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2');\n}\n\nexport async function findPythonVersion(\n version: string,\n architecture: string\n): Promise {\n switch (version.toUpperCase()) {\n case 'PYPY2':\n return usePyPy('2', architecture);\n case 'PYPY3':\n // keep pypy3 pointing to 3.6 for backward compatibility\n return usePyPy('3.6', architecture);\n default:\n return await useCpythonVersion(version, architecture);\n }\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string\n) {\n let downloadDir;\n\n const releases = await getAvailablePyPyVersions();\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n const releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture\n );\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n let downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nasync function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n let binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(pypyVersionToSemantic(item.pypy_version), pypyVersion);\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any) {\n return item.files.some(\n (file: any) =>\n WINDOWS_ARCHS.includes(file.arch) &&\n WINDOWS_PLATFORMS.includes(file.platform)\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any) {\n return releases.files.find(\n (item: any) =>\n WINDOWS_ARCHS.includes(item.arch) &&\n WINDOWS_PLATFORMS.includes(item.platform)\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n","import * as core from \"@actions/core\"\nimport * as finder from \"./setup-python/src/find-python\"\nimport * as finderPyPy from \"./setup-python/src/find-pypy\"\nimport * as path from \"path\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy-\")\n}\n\nexport async function setupPython(version: string, _setupCppDir: string, arch: string) {\n try {\n if (isPyPyVersion(version)) {\n const installed = await finderPyPy.findPyPyVersion(version, arch)\n core.info(\n `Successfully setup PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`\n )\n } else {\n const installed = await finder.findPythonVersion(version, arch)\n core.info(`Successfully setup ${installed.impl} (${installed.version})`)\n }\n const matchersPath = path.join(__dirname, \"..\", \".github\")\n core.info(`##[add-matcher]${path.join(matchersPath, \"python.json\")}`)\n } catch (err) {\n core.setFailed((err as Error).message)\n }\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({\n installDir,\n resolvedPythonVersion,\n resolvedPyPyVersion\n } = await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n core.exportVariable('pythonLocation', pythonLocation);\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN || isGhes() ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string\n): Promise {\n const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n return await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n const pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n}\n\nfunction isGhes(): boolean {\n const ghUrl = new URL(\n process.env['GITHUB_SERVER_URL'] || 'https://github.com'\n );\n return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';\n}\n","import * as https from \"https\"\n\nexport function isValidUrl(url: string) {\n return new Promise((resolve) => {\n https.get(url, (res) => {\n if (res.statusCode !== undefined && res.statusCode >= 200 && res.statusCode <= 399) {\n resolve(true)\n } else {\n resolve(false)\n }\n })\n })\n}\n","/* eslint-disable require-atomic-updates */\nimport { exec, getExecOutput } from \"@actions/exec\"\nimport which from \"which\"\nimport { addPath, info } from \"@actions/core\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\n\nlet pip: string | undefined\n\nlet binDir: string | undefined\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string) {\n // setup python and pip if needed\n if (pip === undefined) {\n if (which.sync(\"pip3\", { nothrow: true }) !== null) {\n pip = \"pip3\"\n } else if (which.sync(\"pip\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n pip = \"pip\"\n } else {\n await setupPython(\"3.x\", \"\", process.arch)\n pip = \"pip3\"\n }\n }\n\n const exit = await exec(pip, [\"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name])\n if (exit !== 0) {\n throw new Error(`Failed to install ${name} ${version}`)\n }\n\n if (binDir === undefined) {\n if (process.platform === \"linux\") {\n binDir = \"/home/runner/.local/bin/\"\n } else if (process.platform === \"darwin\") {\n binDir = \"/usr/local/bin/\"\n } else {\n try {\n binDir = join(\n (await getExecOutput('python3 -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n } catch {\n binDir = join(\n (await getExecOutput('python -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n }\n }\n info(`${binDir} to PATH`)\n addPath(binDir)\n }\n\n return { binDir }\n}\n","import { isValidUrl } from \"../http/validate_url\"\nimport semverCompare from \"semver/functions/compare\"\nimport { getExecOutput } from \"@actions/exec\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort()\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise\n): Promise<[string, string]> {\n if (!versions.has(version)) {\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n }\n\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isValidUrl(url))) {\n return [specificVersion, url]\n }\n }\n\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const { stderr, stdout } = await getExecOutput(file, [\"--version\"])\n const version = stdout.match(versionRegex)?.[1] ?? stderr.match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n","import { exec } from \"@actions/exec\"\nimport { mkdirP } from \"@actions/io\"\nexport { extractTar, extractXar, extract7z, extractZip } from \"@actions/tool-cache\"\n\nexport async function extractExe(file: string, dest: string) {\n const exit = await exec(\"7z\", [\"x\", file, `-o${dest}`])\n if (exit !== 0) {\n throw new Error(`Failed to extract ${file} to ${dest} with 7z`)\n }\n return dest\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=1\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n const exit = await exec(\"tar\", [\"xf\", file, \"-C\", dest, ...flags])\n if (exit !== 0) {\n throw new Error(`Failed to extract ${file} to ${dest} with tar`)\n }\n return dest\n}\n","import * as core from \"@actions/core\"\nimport * as path from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isValidUrl } from \"../utils/http/validate_url\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport { getSpecificVersionAndUrl, getVersions } from \"../utils/setup/version\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { existsSync } from \"fs\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n])\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING: Set = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n])\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map([[\"12.0.1\", \"12.0.1-rc4\"]])\n\n/** The (latest) Ubuntu versions for each LLVM version. */\nconst UBUNTU: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1-rc4\": \"-ubuntu-21.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"12.0.1-rc4\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nfunction getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let ubuntu: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n ubuntu = version\n } else if (version !== \"\" && version in UBUNTU) {\n ubuntu = UBUNTU[version]\n } else {\n // default to the maximum vresion\n ubuntu = UBUNTU[MAX_UBUNTU]\n }\n\n const prefix = \"clang+llvm-\"\n const suffix = version === \"5.0.0\" ? `-linux-x86_64${ubuntu}.tar.xz` : `-x86_64-linux-gnu${ubuntu}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\"])\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isValidUrl(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\n//================================================\n// Action\n//================================================\n\nconst DEFAULT_NIX_DIRECTORY = \"./llvm\"\nconst DEFAULT_WIN32_DIRECTORY = \"C:/Program Files/LLVM\"\n\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n core.setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n extractFunction: platform === \"win32\" ? extractExe : extractTarByExe,\n }\n}\n\nexport async function setupLLVM(\n version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string | undefined,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n let directory = _setupCppDir\n if (directory === \"\" || directory === undefined) {\n directory = process.platform === \"win32\" ? DEFAULT_WIN32_DIRECTORY : DEFAULT_NIX_DIRECTORY\n }\n\n directory = path.resolve(directory)\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, directory)\n\n // Adding environment variables\n const lib = path.join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n core.exportVariable(\"LLVM_PATH\", directory) // the output of this action\n\n const llvmMajor = semverMajor(version)\n\n // Setup LLVM as the compiler\n core.exportVariable(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`)\n core.exportVariable(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`)\n\n core.exportVariable(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`)\n\n core.exportVariable(\"LDFLAGS\", `-L${directory}/lib`)\n core.exportVariable(\"CPPFLAGS\", `-I${directory}/include`)\n\n core.exportVariable(\"CC\", `${directory}/bin/clang`)\n core.exportVariable(\"CXX\", `${directory}/bin/clang++`)\n\n core.exportVariable(\"LIBRARY_PATH\", `${directory}/lib`)\n\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (existsSync(sdkroot)) {\n core.exportVariable(\"SDKROOT\", sdkroot)\n }\n } catch (e) {\n core.error(e as Error | string)\n }\n }\n\n return installationInfo\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { error, exportVariable } from \"@actions/core\"\nimport { existsSync } from \"fs\"\n\ntype MSVCVersion = \"2015\" | \"2017\" | \"2019\" | string\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupMSVC(\n version: MSVCVersion,\n _setupCppDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n): Promise {\n if (process.platform !== \"win32\") {\n return\n }\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n try {\n if (version === \"2015\") {\n toolset = \"14.0.25420.1\"\n await setupChocoPack(\"visualcpp-build-tools\", toolset, [\n \"--ignore-dependencies\",\n \"--params\",\n \"'/IncludeRequired'\",\n ])\n\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n if (existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n } else if (version === \"2017\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.38.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"2019\") {\n toolset = \"14.29.30133\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.2.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n }\n } catch (e) {\n error(e as string | Error)\n }\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n\n // lazy load the action so it is not executed\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const { setupMSVCDevCmd } = require(\"./msvc-dev-cmd/index\")\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre)\n}\n","import { extractZip } from \"@actions/tool-cache\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupNinja(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupCppDir)\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","const DefaultVersions: Record = {\n msvc: \"2019\",\n llvm: \"11\",\n ninja: \"1.10.2\",\n cmake: \"3.20.2\",\n gcovr: \"5.0\",\n conan: \"1.40.1\",\n meson: \"0.59.1\",\n python: \"3.x\",\n gcc: process.platform === \"win32\" ? \"10.2.0\" : \"11\",\n}\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined) {\n if (version === \"true\" || (version === undefined && name in DefaultVersions)) {\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n","import { addPath, exportVariable, info } from \"@actions/core\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, _setupCppDir: string, arch: string) {\n let binDir: string | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n await setupChocoPack(\"mingw\", version)\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n addPath(binDir)\n } else if (existsSync(\"C:/ProgramData/Chocolatey/bin/g++.exe\")) {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n break\n }\n case \"darwin\": {\n binDir = setupBrewPack(\"gcc\", version).binDir\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n binDir = (await setupAptPack(\"g++\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n binDir = (await setupAptPack(\"g++-multilib\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n }\n break\n }\n // TODO support bare-metal\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, \"ppa:ubuntu-toolchain-r/test\")\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (binDir !== undefined) {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n // // Setup gcc as the compiler\n // exportVariable(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`)\n // exportVariable(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`)\n\n // exportVariable(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`)\n\n // exportVariable(\"LDFLAGS\", `-L${installDir}/lib`)\n // exportVariable(\"CPPFLAGS\", `-I${installDir}/include`)\n\n if (process.platform === \"win32\") {\n exportVariable(\"CC\", `${binDir}/gcc`)\n exportVariable(\"CXX\", `${binDir}/g++`)\n } else {\n exportVariable(\"CC\", `${binDir}/gcc-${majorVersion}`)\n exportVariable(\"CXX\", `${binDir}/g++-${majorVersion}`)\n }\n return { binDir }\n }\n return undefined\n}\n","import * as core from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPython } from \"./python/python\"\nimport mri from \"mri\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\n\n/** The setup functions */\nconst setups = {\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n ccache: setupCcache,\n doxygen: setupDoxygen,\n cppcheck: setupCppcheck,\n msvc: setupMSVC,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"cmake\",\n \"ninja\",\n \"python\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"llvm\",\n \"gcc\",\n \"choco\",\n \"brew\",\n \"ccache\",\n \"doxygen\",\n \"cppcheck\",\n \"msvc\",\n]\n\n/** The possible inputs to the program */\ntype Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n\n// an array of possible inputs\nconst inputs: Array = [\"compiler\", \"architecture\", ...tools]\n\n/** The main entry function */\nexport async function main(args: string[]): Promise {\n // parse options using mri or github actions\n const opts = mri & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? \"~/setup_cpp\"\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n try {\n if (maybeCompiler !== undefined) {\n // detecting the compiler version. Devide the given string by `-` and use the second element as the version\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n let version: string | undefined\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n version = maybeVersion\n } else {\n core.error(`Invalid version ${maybeVersion} used for the compiler. Using the default version...`)\n }\n }\n\n // install the compiler. We allow some aliases for the compiler name\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n await setupLLVM(getVersion(\"llvm\", version) as string, setupCppDir, arch)\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n await setupGcc(getVersion(\"gcc\", version) as string, setupCppDir, arch)\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n await setupMSVC(getVersion(\"msvc\", version) as string, setupCppDir, arch)\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n }\n } catch (e) {\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n }\n\n // installing the specified tools\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const value = opts[tool]\n\n // skip if undefined\n if (value !== undefined) {\n // get the setup function\n const setupFunction = setups[tool]\n\n // runnig the setup function for this tool\n try {\n // eslint-disable-next-line no-await-in-loop\n const installationInfo = await setupFunction(getVersion(tool, value), setupCppDir, arch)\n\n // preparing a report string\n if (installationInfo !== undefined) {\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } else {\n successMessages.push(`${tool} was successfully installed`)\n }\n } catch (e) {\n // push error message to the logger\n errorMessages.push(`${tool} failed to install`)\n }\n }\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => core.info(tool))\n errorMessages.forEach((tool) => core.error(tool))\n\n core.info(\"setup_cpp finished\")\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((error) => {\n core.error(\"main() panicked!\")\n core.error(error as string | Error)\n process.exitCode = 1\n })\n\nfunction printHelp() {\n core.info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan \"1.40.1\"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-11'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = core.getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\n\nfunction getSuccessMessage(tool: string, installationInfo: InstallationInfo) {\n let success = `${tool} was successfully installed`\n if (\"installDir\" in installationInfo) {\n success += `\\nThe installation direcotry is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n success += `\\nThe binary direcotry is ${installationInfo.binDir}`\n }\n return success\n}\n",null,null,null,null,"const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n",null,null,null,null,"// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nmodule.exports = {\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,\n SemVer: require('./classes/semver'),\n compareIdentifiers: require('./internal/identifiers').compareIdentifiers,\n rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,\n parse: require('./functions/parse'),\n valid: require('./functions/valid'),\n clean: require('./functions/clean'),\n inc: require('./functions/inc'),\n diff: require('./functions/diff'),\n major: require('./functions/major'),\n minor: require('./functions/minor'),\n patch: require('./functions/patch'),\n prerelease: require('./functions/prerelease'),\n compare: require('./functions/compare'),\n rcompare: require('./functions/rcompare'),\n compareLoose: require('./functions/compare-loose'),\n compareBuild: require('./functions/compare-build'),\n sort: require('./functions/sort'),\n rsort: require('./functions/rsort'),\n gt: require('./functions/gt'),\n lt: require('./functions/lt'),\n eq: require('./functions/eq'),\n neq: require('./functions/neq'),\n gte: require('./functions/gte'),\n lte: require('./functions/lte'),\n cmp: require('./functions/cmp'),\n coerce: require('./functions/coerce'),\n Comparator: require('./classes/comparator'),\n Range: require('./classes/range'),\n satisfies: require('./functions/satisfies'),\n toComparators: require('./ranges/to-comparators'),\n maxSatisfying: require('./ranges/max-satisfying'),\n minSatisfying: require('./ranges/min-satisfying'),\n minVersion: require('./ranges/min-version'),\n validRange: require('./ranges/valid'),\n outside: require('./ranges/outside'),\n gtr: require('./ranges/gtr'),\n ltr: require('./ranges/ltr'),\n intersects: require('./ranges/intersects'),\n simplifyRange: require('./ranges/simplify'),\n subset: require('./ranges/subset'),\n}\n","const { MAX_SAFE_COMPONENT_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst createToken = (name, value, isGlobal) => {\n const index = R++\n debug(index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*')\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\.0\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\.0\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\nmodule.exports = {\n SEMVER_SPEC_VERSION,\n MAX_LENGTH,\n MAX_SAFE_INTEGER,\n MAX_SAFE_COMPONENT_LENGTH\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.format()\n this.raw = this.version\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about so we always get a consistent\n// obj with keys in a consistent order.\nconst opts = ['includePrerelease', 'loose', 'rtl']\nconst parseOptions = options =>\n !options ? {}\n : typeof options !== 'object' ? { loose: true }\n : opts.filter(k => options[k]).reduce((options, k) => {\n options[k] = true\n return options\n }, {})\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers\n}\n","const {MAX_LENGTH} = require('../internal/constants')\nconst { re, t } = require('../internal/re')\nconst SemVer = require('../classes/semver')\n\nconst parseOptions = require('../internal/parse-options')\nconst parse = (version, options) => {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n const r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier) => {\n if (typeof (options) === 'string') {\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(version, options).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse')\nconst eq = require('./eq')\n\nconst diff = (version1, version2) => {\n if (eq(version1, version2)) {\n return null\n } else {\n const v1 = parse(version1)\n const v2 = parse(version2)\n const hasPre = v1.prerelease.length || v2.prerelease.length\n const prefix = hasPre ? 'pre' : ''\n const defaultResult = hasPre ? 'prerelease' : ''\n for (const key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst {re, t} = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null)\n return null\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n const sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n const sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n const sameSemVer = this.semver.version === comp.semver.version\n const differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n const oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<')\n const oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>')\n\n return (\n sameDirectionIncreasing ||\n sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan ||\n oppositeDirectionsGreaterThan\n )\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst {re, t} = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range\n .split(/\\s*\\|\\|\\s*/)\n // map the range to a 2d array of comparators\n .map(range => this.parseRange(range.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${range}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0)\n this.set = [first]\n else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => {\n return comps.join(' ').trim()\n })\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n range = range.trim()\n\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = Object.keys(this.options).join(',')\n const memoKey = `parseRange:${memoOpts}:${range}`\n const cached = cache.get(memoKey)\n if (cached)\n return cached\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, re[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n // in loose mode, throw out any that are not valid comparators\n .filter(this.options.loose ? comp => !!comp.match(compRe) : () => true)\n .map(comp => new Comparator(comp, this.options))\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const l = rangeList.length\n const rangeMap = new Map()\n for (const comp of rangeList) {\n if (isNullSet(comp))\n return [comp]\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has(''))\n rangeMap.delete('')\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace\n} = require('../internal/re')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\nconst replaceTildes = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceTilde(comp, options)\n }).join(' ')\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\nconst replaceCarets = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceCaret(comp, options)\n }).join(' ')\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map((comp) => {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<')\n pr = '-0'\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp.trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return (`${from} ${to}`).trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin)))\n minver = setMin\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst {ANY} = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let min = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!min)\n min = version\n } else {\n if (prev) {\n set.push([min, prev])\n }\n prev = null\n min = null\n }\n }\n if (min)\n set.push([min, null])\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max)\n ranges.push(min)\n else if (!max && min === v[0])\n ranges.push('*')\n else if (!max)\n ranges.push(`>=${min}`)\n else if (min === v[0])\n ranges.push(`<=${max}`)\n else\n ranges.push(`${min} - ${max}`)\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom)\n return true\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub)\n continue OUTER\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull)\n return false\n }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom)\n return true\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY)\n return true\n else if (options.includePrerelease)\n sub = [ new Comparator('>=0.0.0-0') ]\n else\n sub = [ new Comparator('>=0.0.0') ]\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease)\n return true\n else\n dom = [ new Comparator('>=0.0.0') ]\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=')\n gt = higherGT(gt, c, options)\n else if (c.operator === '<' || c.operator === '<=')\n lt = lowerLT(lt, c, options)\n else\n eqSet.add(c.semver)\n }\n\n if (eqSet.size > 1)\n return null\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0)\n return null\n else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<='))\n return null\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options))\n return null\n\n if (lt && !satisfies(eq, String(lt), options))\n return null\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options))\n return false\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt)\n return false\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options))\n return false\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt)\n return false\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options))\n return false\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0)\n return false\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0)\n return false\n\n if (lt && hasDomGT && !gt && gtltComp !== 0)\n return false\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre)\n return false\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n","module.exports = require('./lib/tunnel');\n","'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('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,"'use strict';\n\nconst isStream = stream =>\n\tstream !== null &&\n\ttypeof stream === 'object' &&\n\ttypeof stream.pipe === 'function';\n\nisStream.writable = stream =>\n\tisStream(stream) &&\n\tstream.writable !== false &&\n\ttypeof stream._write === 'function' &&\n\ttypeof stream._writableState === 'object';\n\nisStream.readable = stream =>\n\tisStream(stream) &&\n\tstream.readable !== false &&\n\ttypeof stream._read === 'function' &&\n\ttypeof stream._readableState === 'object';\n\nisStream.duplex = stream =>\n\tisStream.writable(stream) &&\n\tisStream.readable(stream);\n\nisStream.transform = stream =>\n\tisStream.duplex(stream) &&\n\ttypeof stream._transform === 'function';\n\nmodule.exports = isStream;\n","'use strict';\nconst fs = require('fs');\nconst path = require('path');\nconst crypto = require('crypto');\nconst isStream = require('is-stream');\n\nconst {Worker} = (() => {\n\ttry {\n\t\treturn require('worker_threads');\n\t} catch (_) {\n\t\treturn {};\n\t}\n})();\n\nlet worker; // Lazy\nlet taskIdCounter = 0;\nconst tasks = new Map();\n\nconst recreateWorkerError = sourceError => {\n\tconst error = new Error(sourceError.message);\n\n\tfor (const [key, value] of Object.entries(sourceError)) {\n\t\tif (key !== 'message') {\n\t\t\terror[key] = value;\n\t\t}\n\t}\n\n\treturn error;\n};\n\nconst createWorker = () => {\n\tworker = new Worker(path.join(__dirname, 'thread.js'));\n\n\tworker.on('message', message => {\n\t\tconst task = tasks.get(message.id);\n\t\ttasks.delete(message.id);\n\n\t\tif (tasks.size === 0) {\n\t\t\tworker.unref();\n\t\t}\n\n\t\tif (message.error === undefined) {\n\t\t\ttask.resolve(message.value);\n\t\t} else {\n\t\t\ttask.reject(recreateWorkerError(message.error));\n\t\t}\n\t});\n\n\tworker.on('error', error => {\n\t\t// Any error here is effectively an equivalent of segfault, and have no scope, so we just throw it on callback level\n\t\tthrow error;\n\t});\n};\n\nconst taskWorker = (method, args, transferList) => new Promise((resolve, reject) => {\n\tconst id = taskIdCounter++;\n\ttasks.set(id, {resolve, reject});\n\n\tif (worker === undefined) {\n\t\tcreateWorker();\n\t}\n\n\tworker.ref();\n\tworker.postMessage({id, method, args}, transferList);\n});\n\nconst hasha = (input, options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst hash = crypto.createHash(options.algorithm || 'sha512');\n\n\tconst update = buffer => {\n\t\tconst inputEncoding = typeof buffer === 'string' ? 'utf8' : undefined;\n\t\thash.update(buffer, inputEncoding);\n\t};\n\n\tif (Array.isArray(input)) {\n\t\tinput.forEach(update);\n\t} else {\n\t\tupdate(input);\n\t}\n\n\treturn hash.digest(outputEncoding);\n};\n\nhasha.stream = (options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst stream = crypto.createHash(options.algorithm || 'sha512');\n\tstream.setEncoding(outputEncoding);\n\treturn stream;\n};\n\nhasha.fromStream = async (stream, options = {}) => {\n\tif (!isStream(stream)) {\n\t\tthrow new TypeError('Expected a stream');\n\t}\n\n\treturn new Promise((resolve, reject) => {\n\t\t// TODO: Use `stream.pipeline` and `stream.finished` when targeting Node.js 10\n\t\tstream\n\t\t\t.on('error', reject)\n\t\t\t.pipe(hasha.stream(options))\n\t\t\t.on('error', reject)\n\t\t\t.on('finish', function () {\n\t\t\t\tresolve(this.read());\n\t\t\t});\n\t});\n};\n\nif (Worker === undefined) {\n\thasha.fromFile = async (filePath, options) => hasha.fromStream(fs.createReadStream(filePath), options);\n\thasha.async = async (input, options) => hasha(input, options);\n} else {\n\thasha.fromFile = async (filePath, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tconst hash = await taskWorker('hashFile', [algorithm, filePath]);\n\n\t\tif (encoding === 'buffer') {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n\n\thasha.async = async (input, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tif (encoding === 'buffer') {\n\t\t\tencoding = undefined;\n\t\t}\n\n\t\tconst hash = await taskWorker('hash', [algorithm, input]);\n\n\t\tif (encoding === undefined) {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n}\n\nhasha.fromFileSync = (filePath, options) => hasha(fs.readFileSync(filePath), options);\n\nmodule.exports = hasha;\n","const core = require('@actions/core')\r\nconst child_process = require('child_process')\r\nconst fs = require('fs')\r\nconst path = require('path')\r\nconst process = require('process')\r\n\r\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\r\n\r\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\r\nconst VERSIONS = ['2019', '2017']\r\n\r\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\r\n\r\nfunction findWithVswhere(pattern) {\r\n try {\r\n let installationPath = child_process.execSync(`vswhere -products * -latest -prerelease -property installationPath`).toString().trim()\r\n return installationPath + '\\\\' + pattern\r\n } catch (e) {\r\n core.warning(`vswhere failed: ${e}`)\r\n }\r\n return null\r\n}\r\n\r\nfunction findVcvarsall() {\r\n // If vswhere is available, ask it about the location of the latest Visual Studio.\r\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat')\r\n if (path && fs.existsSync(path)) {\r\n core.info(`Found with vswhere: ${path}`)\r\n return path\r\n }\r\n core.info(\"Not found with vswhere\")\r\n\r\n // If that does not work, try the standard installation locations,\r\n // starting with the latest and moving to the oldest.\r\n for (const ver of VERSIONS) {\r\n for (const ed of EDITIONS) {\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\r\n core.info(`Trying standard location: ${path}`)\r\n if (fs.existsSync(path)) {\r\n core.info(`Found standard location: ${path}`)\r\n return path\r\n }\r\n }\r\n }\r\n core.info(\"Not found in standard locations\")\r\n\r\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\r\n if (fs.existsSync(path)) {\r\n core.info(`Found VS 2015: ${path}`)\r\n return path\r\n }\r\n core.info(`Not found in VS 2015 location: ${path}`)\r\n\r\n throw new Error('Microsoft Visual Studio not found')\r\n}\r\n\r\nfunction isPathVariable(name) {\r\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\r\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\r\n}\r\n\r\nfunction filterPathValue(path) {\r\n let paths = path.split(';')\r\n // Remove duplicates by keeping the first occurance and preserving order.\r\n // This keeps path shadowing working as intended.\r\n function unique(value, index, self) {\r\n return self.indexOf(value) === index\r\n }\r\n return paths.filter(unique).join(';')\r\n}\r\n\r\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\r\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre) {\r\n if (process.platform != 'win32') {\r\n core.info('This is not a Windows virtual environment, bye!')\r\n return\r\n }\r\n\r\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\r\n process.env.PATH += path.delimiter + VSWHERE_PATH\r\n\r\n // There are all sorts of way the architectures are called. In addition to\r\n // values supported by Microsoft Visual C++, recognize some common aliases.\r\n let arch_aliases = {\r\n \"win32\": \"x86\",\r\n \"win64\": \"x64\",\r\n \"x86_64\": \"x64\",\r\n \"x86-64\": \"x64\",\r\n }\r\n // Ignore case when matching as that's what humans expect.\r\n if (arch.toLowerCase() in arch_aliases) {\r\n arch = arch_aliases[arch.toLowerCase()]\r\n }\r\n\r\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\r\n // Call the configuration batch file and then output *all* the environment variables.\r\n\r\n var args = [arch]\r\n if (uwp == 'true') {\r\n args.push('uwp')\r\n }\r\n if (sdk) {\r\n args.push(sdk)\r\n }\r\n if (toolset) {\r\n args.push(`-vcvars_ver=${toolset}`)\r\n }\r\n if (spectre == 'true') {\r\n args.push('-vcvars_spectre_libs=spectre')\r\n }\r\n\r\n const vcvars = `\"${findVcvarsall()}\" ${args.join(' ')}`\r\n core.debug(`vcvars command-line: ${vcvars}`)\r\n\r\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\r\n const cmd_output_parts = cmd_output_string.split('\\f')\r\n\r\n const old_environment = cmd_output_parts[0].split('\\r\\n')\r\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\r\n const new_environment = cmd_output_parts[2].split('\\r\\n')\r\n\r\n // If vsvars.bat is given an incorrect command line, it will print out\r\n // an error and *still* exit successfully. Parse out errors from output\r\n // which don't look like environment variables, and fail if appropriate.\r\n const error_messages = vcvars_output.filter((line) => {\r\n if (line.match(/^\\[ERROR.*\\]/)) {\r\n // Don't print this particular line which will be confusing in output.\r\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\r\n return true\r\n }\r\n }\r\n return false\r\n })\r\n if (error_messages.length > 0) {\r\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\r\n }\r\n\r\n // Convert old environment lines into a dictionary for easier lookup.\r\n let old_env_vars = {}\r\n for (let string of old_environment) {\r\n const [name, value] = string.split('=')\r\n old_env_vars[name] = value\r\n }\r\n\r\n // Now look at the new environment and export everything that changed.\r\n // These are the variables set by vsvars.bat. Also export everything\r\n // that was not there during the first sweep: those are new variables.\r\n core.startGroup('Environment variables')\r\n for (let string of new_environment) {\r\n // vsvars.bat likes to print some fluff at the beginning.\r\n // Skip lines that don't look like environment variables.\r\n if (!string.includes('=')) {\r\n continue;\r\n }\r\n let [name, new_value] = string.split('=')\r\n let old_value = old_env_vars[name]\r\n // For new variables \"old_value === undefined\".\r\n if (new_value !== old_value) {\r\n core.info(`Setting ${name}`)\r\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\r\n // just prepends its stuff without checking if its already there.\r\n // This makes repeated invocations of this action fail after some\r\n // point, when the environment variable overflows. Avoid that.\r\n if (isPathVariable(name)) {\r\n new_value = filterPathValue(new_value)\r\n }\r\n core.exportVariable(name, new_value)\r\n }\r\n }\r\n core.endGroup()\r\n\r\n core.info(`Configured Developer Command Prompt`)\r\n}\r\nexports.setupMSVCDevCmd = setupMSVCDevCmd\r\n\r\nfunction main() {\r\n var arch = core.getInput('arch')\r\n const sdk = core.getInput('sdk')\r\n const toolset = core.getInput('toolset')\r\n const uwp = core.getInput('uwp')\r\n const spectre = core.getInput('spectre')\r\n\r\n setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre)\r\n}\r\n\r\ntry {\r\n main()\r\n}\r\ncatch (e) {\r\n core.setFailed('Could not setup Developer Command Prompt: ' + e.message)\r\n}\r\n",null,null,null,null,"import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"@actions/core\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupCppDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n addPath(binDir)\n return { binDir }\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n return setupAptPack(\"ccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"@actions/core\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupDoxygen(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n await setupChocoPack(\"graphviz\", version)\n addPath(\"C:/Program Files/Graphviz/bin\")\n const binDir = \"C:/Program Files/doxygen/bin\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n setupBrewPack(\"doxygen\", version)\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n await setupAptPack(\"doxygen\", version)\n return setupAptPack(\"graphviz\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"@actions/core\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = \"C:/Program Files/Cppcheck\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n return setupAptPack(\"cppcheck\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$f8af4289d8ca9e73$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$f8af4289d8ca9e73$var$core","code","ignoreErrors","$ee44094b0ce40db3$export$80e483d773064391","_version","_setupCppDir","_arch","includes","process","platform","$ee44094b0ce40db3$var$binDir","maybeBinDir","$parcel$interopDefault","$36da3a1038e77300$exports","sync","nothrow","$3U0nv$path","dirname","$3U0nv$child_process","execFileSync","stdio","$8d6c57753101e07a$var$exec","commandLine","args","commandArgs","$8d6c57753101e07a$var$tr","argStringToArray","length","Error","toolPath","slice","concat","ToolRunner","exec","$64b16b96675e553b$export$64c4c4e8a66ded49","command","undefined","$64b16b96675e553b$var$_issudo","env","CI","ref","getuid","call","$13dd793dec60e501$export$3facfc9dd87fb850","name","version","repository","apt","exit","$8d6c57753101e07a$exports","$13dd793dec60e501$var$didUpdate","binDir","$1c9ab043a2b6cc59$export$698568e794d5249f","$1c9ab043a2b6cc59$var$hasBrew","$a9f3b01a430d25e5$export$1e92c536ef588459","$a9f3b01a430d25e5$var$binDir","maybeChoco","$3U0nv$fs","existsSync","$6b27956e33e7a968$export$50c32c11cefe4e9f","$6b27956e33e7a968$var$hasChoco","$6FGZZ","addPath","$fbdecc6eadfe47c2$var$findAllVersions","toolName","arch","versions","$fbdecc6eadfe47c2$var$os","$fbdecc6eadfe47c2$var$path","join","$fbdecc6eadfe47c2$var$_getCacheDirectory","$fbdecc6eadfe47c2$var$fs","children","readdirSync","child","$fbdecc6eadfe47c2$var$isExplicitVersion","fullPath","push","$fbdecc6eadfe47c2$var$_createExtractFolder","dest","$fbdecc6eadfe47c2$var$_getTempDirectory","$fbdecc6eadfe47c2$var$v4_1","default","$fbdecc6eadfe47c2$var$io","mkdirP","$fbdecc6eadfe47c2$var$_createToolPath","tool","folderPath","$fbdecc6eadfe47c2$var$semver","clean","$fbdecc6eadfe47c2$var$core","debug","markerPath","rmRF","$fbdecc6eadfe47c2$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$fbdecc6eadfe47c2$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$3U0nv$assert","ok","tempDirectory","$fbdecc6eadfe47c2$var$_getGlobal","key","defaultValue","value","$parcel$global","$f5c161df7ab7d525$export$97748eae293469f0","getPackageInfo","setupCppDir","_RUNNER_TEMP","RUNNER_TEMP","$3U0nv$os","tmpdir","url","binRelativeDir","extractedFolderName","extractFunction","dir","$fbdecc6eadfe47c2$exports","find","info","installDir","$e68279e3338bc371$exports","async","rootDir","downloaded","downloadTool","RUNNER_TOOL_CACHE","cacheDir","$d40f2b84e4520e56$var$getCmakePackageInfo","semVersion","$5M2Mq","platformStr","getInput","isOld","$ju11K","osArchStr","folderName","extractZip","extractTar","$20ba577a744e9e96$export$ceb9c2d7a4f63acc","sourceName","targetName","setExecutable","sourcePath","targetPath","symlinkSync","$20ba577a744e9e96$export$b6afdf548cce3a42","chmodSync","$20ba577a744e9e96$export$9bc8f45691b95052","$20ba577a744e9e96$export$a8cf3209e098ef45","$hBwzM","validRange","pypyVersion","$f022661c7ba1f0db$var$usePyPy","majorVersion","architecture","findPyPy","bind","_binDir","exportVariable","impl","setOutput","$f022661c7ba1f0db$var$versionFromPath","parts","split","sep","idx","findIndex","part","$36577581e049d94c$export$8c67d7fc35de7958","$36577581e049d94c$export$acc94c5223ff25f0","replace","$36577581e049d94c$export$c6639e8493cb127","releases","files","item","$20ba577a744e9e96$export$9cadc82215ebe904","$20ba577a744e9e96$export$64a6690eaf7c329","$36577581e049d94c$export$d85e7c823fa73d0d","$ca400c34eccdb57a$export$44f2938a3d4c6806","startsWith","installed","resolvedPyPyVersion","resolvedPythonVersion","pypyVersionSpec","filter","pythonVersion","test","$588899e011391f63$export$2b5406d6a9a13bbc","forEach","$588899e011391f63$export$2da61456f93be513","basename","$20ba577a744e9e96$export$4b4f4b982a2ffe07","fileVersion","readFileSync","$20ba577a744e9e96$export$6f314ebc3b60c941","$588899e011391f63$export$34f0d1e2635db91b","downloadDir","http","$9AGbw","HttpClient","response","getJson","result","$36577581e049d94c$var$getAvailablePyPyVersions","releaseData","filterReleases","isPythonVersionSatisfied","coerce","python_version","isPyPyVersionSatisfied","pypy_version","isArchPresent","some","file","$36577581e049d94c$export$b4c35c3de1bb74e3","$36577581e049d94c$export$c8431f03a51e60bd","foundRelease","previous","current","compare","$36577581e049d94c$export$596d3412b21fc15f","foundAsset","downloadUrl","download_url","pypyPath","archiveName","toolDir","pypyFilePath","$20ba577a744e9e96$export$52096b3724e0cb70","binaryPath","pypyBinaryPath","pythonBinaryPostfix","major","pypyBinaryPostfix","binaryExtension","$36577581e049d94c$var$createPyPySymlink","pythonLocation","pythonBinary","$36577581e049d94c$var$installPip","$36577581e049d94c$export$14ff1a21eed93571","$588899e011391f63$export$cba4b335bf603792","toUpperCase","semanticVersionSpec","endsWith","manifest","getManifestFromRepo","$655628f797e4869d$var$AUTH","findFromManifest","$655628f797e4869d$export$138d6544552d0d44","release","pythonPath","pythonExtractedFolder","workingDirectory","cwd","$20ba577a744e9e96$export$ce1daefa7994a9d0","LD_LIBRARY_PATH","silent","listeners","stdout","data","trim","stderr","error","$655628f797e4869d$var$installPython","$655628f797e4869d$export$2705050b37fec3c","$655628f797e4869d$export$4f76c28790455076","EOL","libPath","pyLibPath","$f022661c7ba1f0db$var$binDir","version1","minor","userScriptsDir","$f022661c7ba1f0db$var$useCpythonVersion","$f022661c7ba1f0db$export$1cecbd6a84583d9c","matchersPath","__dirname","err","setFailed","message","$09efbe6c03c5e8c7$export$7a973c5043caaa2","$3U0nv$https","get","res","statusCode","$cc05105aff3c1e34$export$e258427b01a4f9","$cc05105aff3c1e34$var$pip","givenFile","targetVersion","versionRegex","givenVersion","ref1","getExecOutput","ref2","match","e","console","$1bd49ae4b85c403c$export$afe0511abe6ee3d2","$1wyqe","$1bd49ae4b85c403c$export$8c44dcfae252b9ed","$cc05105aff3c1e34$var$binDir","$a016715d3f18f117$export$8d5b126e4b80c6cb","$a016715d3f18f117$export$a18ed1c85be027cc","flags","$q05Mr","$ecc64fd197c4357d$var$getGitHubUrl","prefix","suffix","$ecc64fd197c4357d$var$getReleaseUrl","$ecc64fd197c4357d$export$18a6cfbf25963f89","$ecc64fd197c4357d$var$DARWIN_MISSING","has","$ecc64fd197c4357d$var$getDarwinUrl","versionGiven","rc","$ecc64fd197c4357d$var$UBUNTU_RC","ubuntu","$ecc64fd197c4357d$var$UBUNTU","$ecc64fd197c4357d$var$getLinuxUrl","$ecc64fd197c4357d$var$WIN32_MISSING","olderThan9_1","fallback","$ecc64fd197c4357d$var$getWin32Url","$ecc64fd197c4357d$var$getLLVMPackageInfo","specificVersion","getUrl","semversion","Array","from","v","reverse","$1bd49ae4b85c403c$export$e931c90ac13970ac","$1bd49ae4b85c403c$export$fa70b3b14f4c526f","$ecc64fd197c4357d$export$af592c7790e0a325","$ecc64fd197c4357d$export$3a1c6393858a80d7","directory","installationInfo","lib","_LD_LIBRARY_PATH","ld","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$k3zcS","delimiter","xcrun","sdkroot","$4181a77ac5f8ec9b$export$966b4aa3adf6692d","sdk","uwp","spectre","toolset","VCTargetsPath","setupMSVCDevCmd","parcelRequire","$4181a77ac5f8ec9b$var$getArch","$427622416622ca4f$var$getNinjaPackageInfo","ninjaPlatform","$427622416622ca4f$var$getNinjaPlatform","$57aef85c779683b0$var$toArr","any","isArray","$57aef85c779683b0$var$toVal","out","val","opts","x","old","nxt","string","indexOf","String","boolean","_","$f66466a1fc9f3b2a$export$2763ddd825e0c80d","$f66466a1fc9f3b2a$var$DefaultVersions","$cc0d561bc6dacbdc$export$ee0e00e9eebd0473","$6e0c5961feb4ff1d$export$cc99187a73fc5866","k","arr","arg","j","len","alibi","alias","strict","unknown","defaults","splice","keys","Object","charCodeAt","substring","repeat","shift","$57aef85c779683b0$export$9099ad97b570f7c","$6e0c5961feb4ff1d$var$inputs","fromEntries","map","inp","$6e0c5961feb4ff1d$var$maybeGetInput","h","_architecture","help","_SETUP_CPP_DIR","SETUP_CPP_DIR","successMessages","errorMessages","maybeCompiler","compiler","compilerAndMaybeVersion","maybeVersion","$1JJDJ","$6e0c5961feb4ff1d$var$tools","setupFunction","$6e0c5961feb4ff1d$var$setups","$6e0c5961feb4ff1d$var$getSuccessMessage","tool1","toLowerCase","success","$4db7ed1a4fdd712a$var$getInput","required","trimWhitespace","$4db7ed1a4fdd712a$var$error","properties","$eOxkI","issueCommand","$lK3O3","toCommandProperties","$4db7ed1a4fdd712a$var$startGroup","issue","$4db7ed1a4fdd712a$var$endGroup","$4db7ed1a4fdd712a$var$os","$4db7ed1a4fdd712a$var$__importStar","$4db7ed1a4fdd712a$var$path","$4db7ed1a4fdd712a$var$ExitCode","ExitCode","module","exports","convertedVal","toCommandValue","$85a1M","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","write","setCommandEcho","enabled","exitCode","Failure","isDebug","warning","notice","startGroup","endGroup","group","fn","saveState","getState","$ac8f977adbabca24$var$issueCommand","cmd","$ac8f977adbabca24$var$Command","$ac8f977adbabca24$var$os","$ac8f977adbabca24$var$__importStar","toString","cmdStr","this","first","hasOwnProperty","s","$ac8f977adbabca24$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$5e2691ad996aa9ad$var$fs","$5e2691ad996aa9ad$var$__importStar","$5e2691ad996aa9ad$var$os","filePath","appendFileSync","encoding","$36da3a1038e77300$var$isWindows","OSTYPE","$36da3a1038e77300$var$COLON","$402f7bbe371b7b24$var$checkStat","stat","isSymbolicLink","isFile","pathext","pathExt","PATHEXT","p","substr","$402f7bbe371b7b24$var$checkPathExt","$402f7bbe371b7b24$var$isexe","statSync","$eae5e8c11b388e10$var$isexe","$eae5e8c11b388e10$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","parseInt","g","ug","$eae5e8c11b388e10$var$checkMode","TESTING_WINDOWS","$f8af4289d8ca9e73$exports","$36da3a1038e77300$var$getNotFoundError","assign","$36da3a1038e77300$var$getPathInfo","opt","colon","pathEnv","PATH","pathExtExe","unshift","$36da3a1038e77300$var$which","found","step","all","ppRaw","pathPart","pCmd","subStep","ii","ext","then","cur","ex","$b27a19eb94ad77fe$var$os","$b27a19eb94ad77fe$var$__importStar","$b27a19eb94ad77fe$var$events","$3U0nv$events","$b27a19eb94ad77fe$var$child","$b27a19eb94ad77fe$var$path","$b27a19eb94ad77fe$var$io","$b27a19eb94ad77fe$var$ioUtil","$b27a19eb94ad77fe$var$IS_WINDOWS","EventEmitter","toolPath1","options1","super","_debug","_getCommandString","noPrefix","_getSpawnFileName","args1","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","n","argline","_endsWith","str","end","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","isRooted","which","$b27a19eb94ad77fe$var$__awaiter","optionsNonNull","state","$b27a19eb94ad77fe$var$ExecState","on","exists","fileName","cp","spawn","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","emit","removeAllListeners","stdin","argString","append","escaped","inQuotes","charAt","options2","toolPath2","done","timeout","_setResult","$3U0nv$timers","setTimeout","HandleTimeout","clearTimeout","$04e280234287a6fa$var$rmRF","$04e280234287a6fa$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$04e280234287a6fa$var$exec","unlink","isDir","$04e280234287a6fa$var$execFile","$04e280234287a6fa$var$mkdirP","fsPath","mkdir","recursive","$04e280234287a6fa$var$findInPath","extensions","extension","$04e280234287a6fa$var$path","tryGetExecutablePath","directories","matches","$04e280234287a6fa$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","readdir","srcFile","destFile","lstat","$04e280234287a6fa$var$copyFile","chmod","symlinkFull","readlink","symlink","copyFile","$04e280234287a6fa$var$childProcess","$04e280234287a6fa$var$__importStar","$3U0nv$util","promisify","execFile","source","copySourceDirectory","$04e280234287a6fa$var$readCopyOptions","destStat","newDest","relative","mv","destExists","rename","$04e280234287a6fa$var$which","check","findInPath","$b527c73d129cd9df$var$isUnixExecutable","stats","$b527c73d129cd9df$var$fs","$b527c73d129cd9df$var$__importStar","$b527c73d129cd9df$var$path","$b527c73d129cd9df$var$_a","promises","rmdir","useStat","$b527c73d129cd9df$var$normalizeSeparators","log","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a","$8d6c57753101e07a$var$__importStar","stdoutDecoder","$3U0nv$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","originalStdErrListener","_b","$fbdecc6eadfe47c2$var$__importStar","$13c43de102a3b6d8$var$semver","$13c43de102a3b6d8$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","osVersion","_getOsVersion","plat","execSync","lsbContents","_readLinuxVersionFile","lines","lsbReleaseFile","osReleaseFile","contents","re","$j1nFx","src","tokens","t","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","parse","inc","diff","patch","prerelease","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$8eni4","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$dd9078767aae0d77$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$5fe1b2857782793b$var$debug","NODE_DEBUG","$9PnyI","MAX_LENGTH","$de2b687c79c82d4f$var$SemVer","$26eGk","loose","includePrerelease","$de2b687c79c82d4f$require$MAX_LENGTH","m","$de2b687c79c82d4f$require$re","$de2b687c79c82d4f$require$t","LOOSE","FULL","raw","$de2b687c79c82d4f$require$MAX_SAFE_INTEGER","id","num","build","format","other","compareMain","comparePre","$de2b687c79c82d4f$require$compareIdentifiers","identifier","isNaN","$187787c55101df84$var$opts","reduce","$6ecf2feb48e2d485$var$numeric","$6ecf2feb48e2d485$var$compareIdentifiers","anum","bnum","$j4Bpm","$021b1d9719c3eaaf$require$MAX_LENGTH","$021b1d9719c3eaaf$require$re","$021b1d9719c3eaaf$require$t","$bd0kF","version2","$4eeum","v1","v2","hasPre","defaultResult","parsed","versionA","versionB","list","$7REgF","op","$a0PPD","$6bYo1","$kRrXd","$98Pyg","rtl","next","$434397839421ea8b$require$re","$434397839421ea8b$require$t","COERCERTL","lastIndex","$cd741182808e7a1f$var$ANY","Symbol","$cd741182808e7a1f$var$Comparator","ANY","comp1","semver","operator","comp","$cd741182808e7a1f$require$re","$cd741182808e7a1f$require$t","COMPARATORLOOSE","COMPARATOR","$cITzi","$8YuUE","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$688be7ed17017f41$var$Range","range1","$hDCF3","set","parseRange","$688be7ed17017f41$var$isNullSet","$688be7ed17017f41$var$isAny","range","comps","memoKey","cached","$688be7ed17017f41$var$cache","$688be7ed17017f41$require$re","$688be7ed17017f41$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$688be7ed17017f41$var$hyphenReplace","COMPARATORTRIM","$688be7ed17017f41$require$comparatorTrimReplace","TILDETRIM","$688be7ed17017f41$require$tildeTrimReplace","CARETTRIM","$688be7ed17017f41$require$caretTrimReplace","compRe","rangeList","$688be7ed17017f41$var$parseComparator","$688be7ed17017f41$var$replaceGTE0","rangeMap","Map","size","delete","values","thisComparators","$688be7ed17017f41$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$688be7ed17017f41$var$testSet","max","comparators","remainingComparators","testComparator","pop","otherComparator","$688be7ed17017f41$var$replaceCarets","$688be7ed17017f41$var$replaceTildes","$688be7ed17017f41$var$replaceXRanges","$688be7ed17017f41$var$replaceStars","$688be7ed17017f41$var$isX","$688be7ed17017f41$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$688be7ed17017f41$var$replaceCaret","z","CARETLOOSE","CARET","$688be7ed17017f41$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","i1","allowed","$cb0ed5fe82fb4516$var$MAX","$cb0ed5fe82fb4516$var$LENGTH","$cb0ed5fe82fb4516$var$LENGTH_CALCULATOR","$cb0ed5fe82fb4516$var$ALLOW_STALE","$cb0ed5fe82fb4516$var$MAX_AGE","$cb0ed5fe82fb4516$var$DISPOSE","$cb0ed5fe82fb4516$var$NO_DISPOSE_ON_SET","$cb0ed5fe82fb4516$var$LRU_LIST","$cb0ed5fe82fb4516$var$CACHE","$cb0ed5fe82fb4516$var$UPDATE_AGE_ON_GET","$cb0ed5fe82fb4516$var$naiveLength","$cb0ed5fe82fb4516$var$get","self","doUse","node","hit","$cb0ed5fe82fb4516$var$isStale","$cb0ed5fe82fb4516$var$del","now","Date","unshiftNode","maxAge","$cb0ed5fe82fb4516$var$trim","walker","tail","prev","removeNode","$cb0ed5fe82fb4516$var$Entry","$cb0ed5fe82fb4516$var$forEachStep","thisp","Infinity","lc","stale","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","allowStale","mA","lengthCalculator","lC","itemCount","rforEach","head","toArray","$9ShIP","dump","dumpLru","peek","del","load","l","expiresAt","prune","$7306e76b158eea44$var$Yallist","arguments","$7306e76b158eea44$var$insert","inserted","$7306e76b158eea44$var$Node","$7306e76b158eea44$var$push","$7306e76b158eea44$var$unshift","Node","create","prototype","pushNode","forEachReverse","getReverse","mapReverse","initial","acc","reduceReverse","toArrayReverse","sliceReverse","start","deleteCount","nodes","Yallist","iterator","maxSV","rangeObj","min","minSV","minver","setMin","comparator","compver","$20794eeb9cc8f6af$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$6rO9c","high","low","$2MRaB","r1","r2","ranges","min1","simplified","$2281fb43d3df183f$var$ANY","$2281fb43d3df183f$var$simpleSubset","sub","dom","eqSet","Set","gtltComp","higher","lower","hasDomLT","hasDomGT","$2281fb43d3df183f$var$higherGT","$2281fb43d3df183f$var$lowerLT","add","c1","needDomLTPre","needDomGTPre","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$fbdecc6eadfe47c2$var$mm","defineProperty","$6fb832e0570ffd7b$var$tunnel","$6fb832e0570ffd7b$var$HttpCodes","HttpCodes","$6fb832e0570ffd7b$var$Headers","Headers1","$6fb832e0570ffd7b$var$MediaTypes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","$cEfL5","URL","href","$6fb832e0570ffd7b$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$6fb832e0570ffd7b$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$6fb832e0570ffd7b$var$RetryableHttpVerbs","$6fb832e0570ffd7b$var$HttpClientError","setPrototypeOf","HttpClientError","$6fb832e0570ffd7b$var$HttpClientResponse","message1","readBody","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","protocol","$6fb832e0570ffd7b$var$HttpClient","userAgent","handlers","requestOptions","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","keepAlive","allowRetries","maxRetries","additionalHeaders","request","post","put","sendStream","verb","stream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","obj","ContentType","headers","parsedUrl","_prepareRequest","maxTries","numTries","requestRaw","Unauthorized","authenticationHandler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","_agent","destroy","requestRawWithCallback","onResult","socket","byteLength","callbackCalled","handleResult","req","httpModule","msg","sock","pipe","getAgent","_getAgent","method","usingSsl","$3U0nv$http","defaultPort","host","port","pathname","search","_mergeHeaders","agent","handler","prepareRequest","lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","valueOf","statusCode1","NotFound","deserializeDates","dateTimeDeserializer","$935571c89a77cf35$var$checkBypass","reqUrl","reqPort","noProxy","upperReqHosts","upperNoProxyItem","proxyVar","checkBypass","$5ede95876def1093$var$TunnelingAgent","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$5ede95876def1093$var$toOptions","pending","onSocket","removeSocket","$5ede95876def1093$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$5ede95876def1093$var$mergeOptions","servername","secureSocket","$3U0nv$tls","connect","target","overrides","keyLen","$5ede95876def1093$export$5b6f1b09aafac70","$5ede95876def1093$export$f44e217dbcda9c5a","$5ede95876def1093$export$228ecc9aa21a9741","$5ede95876def1093$export$25126787084ac1d3","$5ede95876def1093$export$cfea88b79fd3041","$5ede95876def1093$var$debug","inherits","addRequest","onFree","onCloseOrRemove","removeListener","onConnect","connectReq","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","pos","socket1","apply","$fbdecc6eadfe47c2$var$httpm","$fbdecc6eadfe47c2$var$stream","$3U0nv$stream","$fbdecc6eadfe47c2$var$util","buf","offset","rnds","random","rng","$diWfV","$8n3PT","$3U0nv$crypto","randomBytes","$618372782be4d813$var$byteToHex","$618372782be4d813$var$i","$fbdecc6eadfe47c2$var$__importDefault","$e9cce2f397d0b5d7$var$core","$e9cce2f397d0b5d7$var$__importStar","$e9cce2f397d0b5d7$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","floor","execute","action","isRetryable","attempt","seconds","getSleepAmount","sleep","$fbdecc6eadfe47c2$var$HTTPError","httpStatusCode","HTTPError","$fbdecc6eadfe47c2$var$IS_WINDOWS","$fbdecc6eadfe47c2$var$IS_MAC","auth","retryHelper","$fbdecc6eadfe47c2$var$__awaiter","authorization","statusMessage","pipeline","readStream","responseMessageFactory","succeeded","createWriteStream","$fbdecc6eadfe47c2$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","chdir","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","escapedFile","escapedDest","pwshPath","$fbdecc6eadfe47c2$var$extractZipWin","unzipPath","$fbdecc6eadfe47c2$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","owner","repo","branch","treeUrl","manifestUrl","tree","versionsRaw","isExplicitVersion","evaluateVersions","$04f38251090bf040$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$04f38251090bf040$exports","Worker","$e68279e3338bc371$var$Worker","$e68279e3338bc371$import$ad18b0afc1a10da7","$e68279e3338bc371$var$worker","$e68279e3338bc371$var$taskIdCounter","$e68279e3338bc371$var$tasks","$e68279e3338bc371$var$taskWorker","transferList","task","unref","sourceError","entries","$e68279e3338bc371$var$recreateWorkerError","postMessage","$e68279e3338bc371$var$hasha","outputEncoding","hash","createHash","algorithm","update","buffer","digest","setEncoding","fromStream","read","fromFile","createReadStream","fromFileSync","$655628f797e4869d$var$TOKEN","specific","$1bd49ae4b85c403c$export$b00950e3fcb58399","$e5ecfb1ae2cd12fa$var$isPathVariable","$e5ecfb1ae2cd12fa$var$setupMSVCDevCmd","$3U0nv$process","$k2PtG","$e5ecfb1ae2cd12fa$var$VSWHERE_PATH","arch_aliases","vcvars","pattern","installationPath","$e5ecfb1ae2cd12fa$var$findWithVswhere","ver","$e5ecfb1ae2cd12fa$var$VERSIONS","ed","$e5ecfb1ae2cd12fa$var$EDITIONS","$e5ecfb1ae2cd12fa$var$PROGRAM_FILES_X86","$e5ecfb1ae2cd12fa$var$findVcvarsall","cmd_output_parts","shell","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","$e5ecfb1ae2cd12fa$export$1770a487615d61df","$e97becf723056cb8$var$error","$e97becf723056cb8$var$os","$e97becf723056cb8$var$__importStar","$e97becf723056cb8$var$path","$e97becf723056cb8$var$ExitCode","$3tRAC","$48DC3","$lTVmt","$ff1b3ad0e311f75c$var$issueCommand","$ff1b3ad0e311f75c$var$Command","$ff1b3ad0e311f75c$var$os","$ff1b3ad0e311f75c$var$__importStar","$ff1b3ad0e311f75c$var$escapeData","$3036a3108408bd21$var$fs","$3036a3108408bd21$var$__importStar","$3036a3108408bd21$var$os","msvc","llvm","ninja","cmake","gcovr","conan","meson","python","gcc","opencppcoverage","choco","brew","ccache","doxygen","cppcheck","argv","catch"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"} \ No newline at end of file diff --git a/package.json b/package.json index 5e48fbff..93bf18d1 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,11 @@ "engines": { "node": ">=12.x" }, - "main": "./dist/main.js", + "main": "./dist/setup_cpp.js", + "bin": { + "setup_cpp": "./dist/setup_cpp.js", + "setup-cpp": "./dist/setup_cpp.js" + }, "source": "./src/main.ts", "targets": { "main": { diff --git a/src/main.ts b/src/main.ts index d2399cce..7965617f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -174,7 +174,7 @@ export async function main(args: string[]): Promise { successMessages.forEach((tool) => core.info(tool)) errorMessages.forEach((tool) => core.error(tool)) - core.info("setup-cpp finished") + core.info("setup_cpp finished") return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message } // Run main @@ -190,8 +190,8 @@ main(process.argv) function printHelp() { core.info(` -setup-cpp [options] -setup-cpp --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1" +setup_cpp [options] +setup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1" Install all the tools required for building and testing C++/C projects.