From 232af3c14194e97206060bf986965c2017dda647 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sun, 7 Aug 2022 21:32:57 -0700 Subject: [PATCH] fix: use is-url-online to validate the download links --- dist/setup_cpp.js | 2 +- dist/setup_cpp.js.map | 2 +- dist/setup_cpp.mjs | 2 +- dist/setup_cpp.mjs.map | 2 +- package.json | 1 + pnpm-lock.yaml | 34 +++++++++++++++++++++++++++++++++ src/llvm/__tests__/llvm.test.ts | 4 ++-- src/llvm/llvm.ts | 4 ++-- src/utils/http/validate_url.ts | 13 ------------- src/utils/setup/version.ts | 6 +++--- 10 files changed, 46 insertions(+), 24 deletions(-) delete mode 100644 src/utils/http/validate_url.ts diff --git a/dist/setup_cpp.js b/dist/setup_cpp.js index 239ece4d..b0866e81 100644 --- a/dist/setup_cpp.js +++ b/dist/setup_cpp.js @@ -1,2 +1,2 @@ -function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}function r(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((n,i)=>{r(e,t||{},((e,t)=>{e?i(e):n(t)}))}))}dt(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),n(e,r)}))}function n(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof vt)return{binDir:vt};const i=t(ct).sync("brew",{nothrow:!0});return null!==i?(vt=(0,ze.dirname)(i),{binDir:vt}):((0,Ke.execFileSync)('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),vt="/usr/local/bin/",{binDir:vt})}function i(e,t){const r=e.options.env||process.env,n=process.cwd(),i=null!=e.options.cwd,o=i&&void 0!==process.chdir&&!process.chdir.disabled;if(o)try{process.chdir(e.options.cwd)}catch(e){}let s;try{s=ct.sync(e.command,{path:r[bt({env:r})],pathExt:t?ze.delimiter:void 0})}catch(e){}finally{o&&process.chdir(n)}return s&&(s=ze.resolve(i?e.options.cwd:"",s)),s}function o(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function s(e,t){return Nt&&1===e&&!t.file?o(t.original,"spawn"):null}function a(e,t,r){const n=xt(e,t,r),i=Ke.spawn(n.command,n.args,n.options);return At.hookChildProcess(i,n),i}async function c(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=Ir(t);return await new Promise(((t,i)=>{const o=e=>{e&&n.getBufferedLength()<=Ar.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),i(e)};(async()=>{try{await kr(e,n),t()}catch(e){o(e)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&o(new Lr)}))})),n.getBufferedValue()}function l(){return(!!process.env.CI||0===(null===(e=process.getuid)||void 0===e?void 0:e.call(process)))&&null!==t(ct).sync("sudo",{nothrow:!0});var e}function u(e,r=[],n={stdio:"inherit",shell:!0}){return l()?t(yt).commandSync("sudo "+[e,...r].map((e=>`'${e}'`)).join(" "),n):t(yt).sync(e,r,n)}function d(e){return l()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,ze.join)("/Users/",process.env.SUDO_USER,e):(0,ze.join)("/home/",process.env.SUDO_USER,e):t(an)("~/"+e)}function p(e,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return t(yt)((()=>{if(void 0===dn){const e=t(ct).sync("pwsh",{nothrow:!0});null!==e&&(dn=e);const r=t(ct).sync("powershell",{nothrow:!0});null!==r&&(dn=r)}if(void 0===dn)throw Error("Could not find powershell");return dn})(),[...r,"-c",e],n)}async function h(e,r,n=!1){const i=n?t(pn)(null!=r?r:""):r;try{if("github-actions"===t(cn)())try{(0,at.exportVariable)(e,i)}catch(t){(0,un.error)(t),await m(e,i)}else await m(e,i)}catch(t){(0,un.error)(t),(0,at.setFailed)(`Failed to export environment variable ${e}=${i}. You should add it manually.`)}}async function f(e){process.env.PATH=`${e}${ze.delimiter}${process.env.PATH}`;try{if("github-actions"===t(cn)())try{(0,at.addPath)(e)}catch(t){(0,un.error)(t),await v(e)}else await v(e)}catch(t){(0,un.error)(t),(0,at.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`)}}async function m(e,t){const r=null!=t?t:"";switch(process.platform){case"win32":return await p(`[Environment]::SetEnvironmentVariable('${e}', '${r}', "User")`),void(0,at.info)(`${e}='${r}' was set in the environment.`);case"linux":case"darwin":return g(),(0,Be.appendFileSync)(vn,`\nexport ${e}="${r}"\n`),void(0,at.info)(`${e}="${r}" was added to "${vn}`)}process.env[e]=r}async function v(e){switch(process.platform){case"win32":return await p(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),void(0,at.info)(`"${e}" was added to the PATH.`);case"linux":case"darwin":return g(),(0,Be.appendFileSync)(vn,`\nexport PATH="${e}:$PATH"\n`),void(0,at.info)(`"${e}" was added to "${vn}"`);default:return}}function g(){if(gn)return;const e="export SOURCE_CPPRC=0";if((0,Be.existsSync)(vn)&&(0,Be.readFileSync)(vn,"utf8").includes(e))return;(0,Be.appendFileSync)(vn,`\n${e}\n`),(0,at.info)(`Added ${e} to ${vn}`);const t=`\n# source .cpprc if SOURCE_CPPRC is not set to 0\nif [[ "$SOURCE_CPPRC" != 0 && -f "${vn}" ]]; then source "${vn}"; fi\n`;try{const e=d(".profile");(0,Be.appendFileSync)(e,t),(0,at.info)(`${t} was added to ${e}`);const r=d(".bashrc");(0,Be.appendFileSync)(r,t),(0,at.info)(`${t} was added to ${r}`)}catch(e){(0,un.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`)}gn=!0}async function y(e,r,n=[],i=!1){const o=(()=>{let e;return e=null!==t(ct).sync("nala",{nothrow:!0})?"nala":"apt-get",e})();if((0,at.info)(`Installing ${e} ${null!=r?r:""} via ${o}`),process.env.DEBIAN_FRONTEND="noninteractive",yn&&!i||(w(o),yn=!0),wn||(await(async e=>{u(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]),b(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),b(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg"),"nala"===e&&(await h("LANG","C.UTF-8"),await h("LC_ALL","C.UTF-8"))})(o),wn=!0),Array.isArray(n)&&0!==n.length){for(const e of n)u("add-apt-repository",["--update","-y",e]);w(o)}if(void 0!==r&&""!==r)try{u(o,["install","--fix-broken","-y",`${e}=${r}`])}catch{u(o,["install","--fix-broken","-y",`${e}-${r}`])}else u(o,["install","--fix-broken","-y",e]);return{binDir:"/usr/bin/"}}function w(e){u(e,"nala"!==e?["update","-y"]:["update"])}function x(){u("gpg",["-k"])}function b(e,t,r="keyserver.ubuntu.com"){const n="/etc/apt/trusted.gpg.d/"+t;if(!(0,Be.existsSync)(n)){x();for(const t of e)u("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",t]),u("chmod",["644",n])}return n}async function E(e,t){const r="/etc/apt/trusted.gpg.d/"+e;return(0,Be.existsSync)(r)||(x(),await y("curl",void 0),u("bash",["-c",`curl -s ${t} | gpg --no-default-keyring --keyring gnupg-ring:${r} --import`]),u("chmod",["644",r])),r}function S(e,r){return"github-actions"===t(cn)()?u("update-alternatives",["--install","/usr/bin/"+e,e,r,"40"]):(g(),(0,Be.appendFileSync)(vn,`\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${r} 40; fi\n`))}function _(e,t,r){(0,un.info)(`Installing ${e} ${null!=t?t:""} via pacman`);const n="pacman";if(xn||(u(n,["-Syuu","--noconfirm"]),xn=!0),bn||(u(n,["-Sy","--noconfirm","base-devel"]),bn=!0),void 0!==t&&""!==t)try{u(null!=r?r:n,["-S","--noconfirm",`${e}=${t}`])}catch{u(null!=r?r:n,["-S","--noconfirm",`${e}${t}`])}else u(null!=r?r:n,["-S","--noconfirm",e]);return{binDir:"/usr/bin/"}}function O(e,r){return(0,at.info)(`Installing ${e} ${null!=r?r:""} via brew`),Sn&&null!==t(ct).sync("brew",{nothrow:!0})||(n(0,0,process),Sn=!0),t(yt).sync("brew",["install",void 0!==r&&""!==r?`${e}@${r}`:e],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function $(e,r,n){if("win32"!==process.platform)return;if("string"==typeof En)return{binDir:En};const i=t(ct).sync("choco",{nothrow:!0});if(null!==i)return En=(0,ze.dirname)(i),{binDir:En};let o="powershell.exe";const s=t(ct).sync(process.env.SystemRoot+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",{nothrow:!0});null!==s&&(o=s),t(yt).sync(o,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});const a=process.env.ALLUSERSPROFILE+"\\chocolatey\\bin";await f(a);const c=t(ct).sync("choco",{nothrow:!0});var l;return En=null!==c?(0,ze.dirname)(c):(null!==(l=process.env.ChocolateyInstall)&&void 0!==l?l:"C:/ProgramData/chocolatey")+"/bin",(0,Be.existsSync)(En)?{binDir:En}:void 0}async function T(e,r,n=[]){(0,at.info)(`Installing ${e} ${null!=r?r:""} via chocolatey`),Tn&&null!==t(ct).sync("choco",{nothrow:!0})||(await $(0,0,process),Tn=!0);const i=process.env.PATH,o={...process.env};if(delete o.TMP,delete o.TEMP,delete o.Path,o.PATH=i,void 0!==r&&""!==r)t(yt).sync("choco",["install","-y",e,"--version="+r,...n],{env:o,extendEnv:!1,stdio:"inherit"});else try{t(yt).sync("choco",["install","-y",e,...n],{env:o,extendEnv:!1,stdio:"inherit"})}catch(t){if(!t.message.includes("exit code 3010"))throw t;(0,un.notice)(e+" might require a reboot for the completion of the installation.")}var s;const a=(null!==(s=process.env.ChocolateyInstall)&&void 0!==s?s:"C:/ProgramData/chocolatey")+"/bin";return await f(a),{binDir:a}}function C(){return"linux"===process.platform&&(void 0===_n&&(_n=null!==t(ct).sync("pacman",{nothrow:!0})),_n)}function R(){return"linux"===process.platform&&(void 0===On&&(On=null!==t(ct).sync("dnf",{nothrow:!0})),On)}function I(e,t){(0,un.info)(`Installing ${e} ${null!=t?t:""} via dnf`);const r="dnf";if(void 0!==t&&""!==t)try{u(r,["-y","install",`${e}-${t}`])}catch(t){(0,un.warning)(t+"\nInstalling the default version available via dnf"),u(r,["-y","install",e])}else u(r,["-y","install",e]);return{binDir:"/usr/bin/"}}function P(){if("linux"!==process.platform)return!1;if(void 0===$n){const e="apt-get";$n=null!==t(ct).sync(e,{nothrow:!0})}return $n}function A(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function N(e,t=".bat",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function k(e,t,r){switch(process.platform){case"win32":return T("7zip",e);case"darwin":return O("p7zip",e);case"linux":if(C())return _("p7zip",e);if(R())return I("p7zip",e),I("p7zip-plugins",e);if(P())return y("p7zip-full",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function L(e){"linux"!==process.platform&&"darwin"!==process.platform||!l()||void 0===process.env.SUDO_USER||u("chown",["-R",process.env.SUDO_USER,e],{cwd:e,stdio:"inherit",shell:!0})}function D(e,t){const r=[];t=t||Fn.arch();const n=Gn.join(z(),e);if(Un.existsSync(n)){const e=Un.readdirSync(n);for(const i of e)if(F(i)){const e=Gn.join(n,i,t||"");Un.existsSync(e)&&Un.existsSync(e+".complete")&&r.push(i)}}return r}function j(e){return kn(this,void 0,void 0,(function*(){return e||(e=Gn.join(B(),Vn.default())),yield jn.mkdirP(e),e}))}function U(e,t,r){return kn(this,void 0,void 0,(function*(){const n=Gn.join(z(),e,Bn.clean(t)||t,r||"");Dn.debug("destination "+n);const i=n+".complete";return yield jn.rmRF(n),yield jn.rmRF(i),yield jn.mkdirP(n),n}))}function M(e,t,r){const n=Gn.join(z(),e,Bn.clean(t)||t,r||"");Un.writeFileSync(n+".complete",""),Dn.debug("finished caching tool")}function F(e){const t=Bn.clean(e)||"";Dn.debug("isExplicit: "+t);const r=null!=Bn.valid(t);return Dn.debug("explicit? "+r),r}function G(e,t){let r="";Dn.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>Bn.gt(e,t)?1:-1))).length-1;n>=0;n--){const i=e[n];if(Bn.satisfies(i,t)){r=i;break}}return Dn.debug(r?"matched: "+r:"match not found"),r}function z(){const e=process.env.RUNNER_TOOL_CACHE||"";return Ye.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function B(){const e=process.env.RUNNER_TEMP||"";return Ye.ok(e,"Expected RUNNER_TEMP to be defined"),e}function H(e,t){const r=nt[e];return void 0!==r?r:t}async function q(e,r){return await t(yt)(await(async()=>(void 0===ni&&(null===t(ct).sync("7z",{nothrow:!0})&&await k("",0,process),ni="7z"),ni))(),["x",e,"-o"+r,"-y"],{stdio:"inherit"}),L(r),r}function V(e,t){return q(e,t)}function X(e,t){return q(e,t)}async function Y(e,r,n=["--strip-components=0"]){try{await(0,Cn.mkdirP)(r)}catch{}try{await t(yt)("tar",["xf",e,"-C",r,...n],{stdio:"inherit"})}catch(t){"win32"===process.platform&&t.message.includes("Can't create '\\\\?\\C:")&&(0,un.warning)(`Failed to extract symlink ${e} to ${r}. Ignoring this symlink.`)}return L(r),r}async function W(e,r,n,i,o){var s,a;(0,at.info)(`Installing ${e} ${r} ${o} via direct downloading`),process.env.RUNNER_TEMP=null!==(s=process.env.RUNNER_TEMP)&&void 0!==s?s:(0,Ge.tmpdir)(),process.env.RUNNER_TOOL_CACHE=null!==(a=process.env.RUNNER_TOOL_CACHE)&&void 0!==a?a:(0,ze.join)((0,Ge.tmpdir)(),"setup-cpp","hostedtoolcache");const{url:c,binRelativeDir:l,binFileName:u,extractedFolderName:d,extractFunction:p}=await n(r,process.platform,o);if("github-actions"===t(cn)())try{const t=(0,Rn.find)(e,r);if(t){const n=(0,ze.join)(t,d),i=(0,ze.join)(n,l);if((0,Be.existsSync)(i)&&(0,Be.existsSync)((0,ze.join)(i,u)))return(0,at.info)(`${e} ${r} was found in the cache at ${i}.`),await f(i),{installDir:n,binDir:i}}}catch{}const h=(0,ze.join)(i,d),m=(0,ze.join)(h,l),v=(0,ze.join)(m,u);if(!(0,Be.existsSync)(m)||!(0,Be.existsSync)(v)){(0,at.info)(`Download and extract ${e} ${r}`),ii||("linux"===process.platform&&(C()?(_("unzip"),_("tar"),_("xz")):R()?(I("unzip"),I("tar"),I("xz")):P()&&(await y("unzip"),await y("tar"),await y("xz-utils"))),ii=!0);try{const e=await(0,Rn.downloadTool)(c);await(null==p?void 0:p(e,i))}catch(t){throw Error(`Failed to download ${e} ${r} ${o} from ${c}: ${t}`)}}return(0,at.info)(`Add ${m} to PATH`),await f(m),"github-actions"===t(cn)()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await(0,Rn.cacheDir)(i,e,r),{installDir:h,binDir:m}}function K(e,t,r){const n=(e=>"win32"===e?"windows":e)(t),i=(e=>{switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e}})(r),o="win32"===t,s=o?"zip":"tar.gz";return{binRelativeDir:"",binFileName:A("task"),extractedFolderName:"",extractFunction:o?X:Y,url:`https://github.com/go-task/task/releases/download/v${e}/task_${n}_${i}.${s}`}}function J(e,r,n){var i;const o=null!==(i=t(si)(e))&&void 0!==i?i:e;switch(r){case"win32":{const r=t(oi)(o,"v3.19.6");let i;i=["ia32","x86","i386","x32"].includes(n)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const s=`cmake-${e}-${i}`;return{binRelativeDir:"bin/",binFileName:A("cmake"),extractedFolderName:s,extractFunction:X,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.zip`}}case"darwin":{const r=`cmake-${e}-${t(oi)(o,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:A("cmake"),extractedFolderName:r,extractFunction:Rn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`}}case"linux":{const r=t(oi)(o,"v3.19.8");let i;i=["aarch64"].includes(n)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const s=`cmake-${e}-${i}`;return{binRelativeDir:"bin/",binFileName:A("cmake"),extractedFolderName:s,extractFunction:Rn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.tar.gz`}}default:throw Error(`Unsupported platform '${r}'`)}}function Z(e,t,r){return W("cmake",e,J,t,r)}async function Q(e,r,n){if("github-actions"!==t(cn)())return ee(e,r);try{(0,un.info)("Installing python in GitHub Actions");const{setupActionsPython:t}=await st("d0ovd");return t(e,r,n)}catch(t){return(0,un.warning)(""+t),ee(e,r)}}async function ee(e,r,n){switch(process.platform){case"win32":{var i,o;r?await T("python3",e,["--params=/InstallDir:"+r]):await T("python3",e);const n=null!==(o=null!==(i=t(ct).sync("python3.exe",{nothrow:!0}))&&void 0!==i?i:t(ct).sync("python.exe",{nothrow:!0}))&&void 0!==o?o:(0,ze.join)(r,"python.exe"),s=(0,ze.dirname)(n);return await(async e=>{(0,un.info)(`Add ${e} to PATH`),await f(e)})(s),{installDir:s,binDir:s}}case"darwin":return O("python3",e);case"linux":{let t;if(C())t=_("python",e),_("python-pip");else if(R())t=I("python3",e),I("python3-pip");else{if(!P())throw Error("Unsupported linux distributions");t=await y("python3",e),await y("python3-pip")}return t}default:throw Error("Unsupported platform")}}function te(e){return new Promise((t=>{qe.get(e,(e=>{t(void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)}))}))}function re(e,t){return Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse()}function ne(e,t,r=null){if(ie(t,e)){if("linux"===process.platform&&null!==r&&e in di){const t=r[0];return parseInt(Object.keys(di[e])[0],10)>t?"":di[e][t]}return ui[e]}return null!=t?t:""}function ie(e,t){return"true"===e||void 0===e&&t in ui}async function oe(e,r){if((0,at.info)(`Installing ${e} ${null!=r?r:""} via pip`),void 0===pi){if(null!==t(ct).sync("python3",{nothrow:!0}))pi="python3";else{if(null===t(ct).sync("python",{nothrow:!0})||!await(async(e,r,n=li)=>{const i=await(async(e,t=li)=>{try{var r;const n=await(0,Xn.getExecOutput)(e,["--version"]);return null===(r=(n.stdout||n.stderr||"").trim().match(t))||void 0===r?void 0:r[1]}catch(e){return void console.error(e)}})(e,n);return"string"==typeof i&&"string"==typeof r&&""!==i&&""!==r&&-1!==t(ai)(i,r)})("python","3.0.0")){if((0,at.info)("python3 was not found. Installing python"),await Q(ne("python",void 0),"",process.arch),fi)throw Error("Failed to install python");return fi=!0,oe(e,r)}pi="python"}"win32"===process.platform?t(yt).sync(pi,["-m","pip","install","-U","pip==21.3.1"],{stdio:"inherit"}):"linux"===process.platform&&(C()?_("python-pip"):R()?I("python3-pip"):P()&&await y("python3-pip")),t(yt).sync(pi,["-m","pip","install","-U","wheel"],{stdio:"inherit"})}if(t(yt).sync(pi,["-m","pip","install",void 0!==r&&""!==r?`${e}==${r}`:e],{stdio:"inherit"}),void 0===hi){if("linux"===process.platform)hi="/home/runner/.local/bin/";else if("darwin"===process.platform)hi="/usr/local/bin/";else try{hi=(0,ze.join)((await(0,Xn.getExecOutput)(pi+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{hi=(0,ze.join)((await(0,Xn.getExecOutput)(pi+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}(0,at.info)(hi+" to PATH"),await f(hi)}return{binDir:hi}}async function se(e,t,r){switch(process.platform){case"win32":return await T("graphviz",e),(async()=>{if("win32"===process.platform){const e="C:/Program Files/Graphviz/bin";return await f(e),{binDir:e}}throw Error("Unsupported platform")})();case"darwin":return O("graphviz",e);case"linux":if(C())return _("graphviz",e);if(R())return I("graphviz",e);if(P())return y("graphviz",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function ae(e,t,r){switch(t){case"linux":{const t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:A("doxygen"),extractedFolderName:t,extractFunction:Rn.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`}}case"win32":{const t="doxygen-"+e;return{binRelativeDir:"",binFileName:A("doxygen"),extractedFolderName:t,extractFunction:X,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`}}default:throw Error(`Unsupported platform '${t}'`)}}async function ce(){if("darwin"===process.platform)try{const e=await(0,Xn.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await h("SDKROOT",t.trim()):(0,un.error)("SDKROOT not set")}catch(e){(0,un.error)(e)}}function le(e,t,r){if("win32"===t){const t=gi[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);const n="ia32"===r?"i686":"x86_64",i="seh";return{binRelativeDir:"bin/",binFileName:A("g++"),extractedFolderName:"mingw64",extractFunction:q,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${n}-posix-${i}-gcc-${t.fileSuffix}.7z`}}throw Error(`Unsupported platform '${t}'`)}async function ue(e,r,n){let i;switch(process.platform){case"win32":"arm"!==n&&"arm64"!==n||await T("gcc-arm-embedded",e);try{i=await W("g++",e,le,r,n)}catch(t){(0,un.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),i=await(async(e,t)=>{let r;var n,i;return await T("mingw",e),"x64"===t&&(0,Be.existsSync)("C:/tools/mingw64/bin")?(r="C:/tools/mingw64/bin",await f(r)):"ia32"===t&&(0,Be.existsSync)("C:/tools/mingw32/bin")?(r="C:/tools/mingw32/bin",await f(r)):(0,Be.existsSync)((null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey")+"/bin/g++.exe")&&(r=(null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey")+"/bin"),void 0!==r?{binDir:r}:void 0})(e,n)}break;case"darwin":i=O("gcc",e);break;case"linux":"x64"===n?C()?i=_("gcc",e):R()?(i=I("gcc",e),I("gcc-c++",e),I("libstdc++-devel",void 0)):P()&&(await y("gcc",e,["ppa:ubuntu-toolchain-r/test"]),i=await y("g++",e,[])):((0,un.info)(`Install g++-multilib because gcc for ${n} was requested`),C()?_("gcc-multilib",e):P()&&await y("gcc-multilib",e,["ppa:ubuntu-toolchain-r/test"]));break;default:throw Error("Unsupported platform for "+n)}if(void 0!==i)return await(async(e,r)=>{const n=[];if("win32"===process.platform)n.push(h("CC",A(r+"/gcc")),h("CXX",A(r+"/g++")));else{var i;const o=t(mi)(null!==(i=t(si)(e))&&void 0!==i?i:e);5>o?(n.push(h("CC",`${r}/gcc-${e}`),h("CXX",`${r}/g++-${e}`)),P()&&(S("cc",`${r}/gcc-${e}`),S("cxx",`${r}/g++-${e}`),S("gcc",`${r}/gcc-${e}`),S("g++",`${r}/g++-${e}`))):(n.push(h("CC",`${r}/gcc-${o}`),h("CXX",`${r}/g++-${o}`)),P()&&(S("cc",`${r}/gcc-${o}`),S("cxx",`${r}/g++-${o}`),S("gcc",`${r}/gcc-${o}`),S("g++",`${r}/g++-${o}`)))}n.push(ce()),"github-actions"===t(cn)()&&(()=>{const e=t(ze).join(vi,"gcc_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the gcc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)})(),await Promise.all(n)})(e,i.binDir),i}function de(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function pe(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function he(e,r){switch(e){case"darwin":return(e=>{if(xi.has(e))return null;const r="clang+llvm-",n=`-x86_64${"9.0.0"===e?"-darwin-apple":"-apple-darwin"}.tar.xz`;return t(oi)(e,"9.0.1")?pe(e,r,n):de(e,r,n)})(r);case"linux":return(e=>{let r=e;const n=bi.get(r);let i;if(void 0!==n&&(r=n),r.includes("ubuntu")){const e=r.replace(/-ubuntu-.*/,"");if(!wi.has(e))throw Error("Unsupported Ubuntu version: "+e);i=r.replace(e,""),r=re(wi,e)[0]}else""!==r&&r in Ei?i=Ei[r]:(i=Ei["14.0.0"],(0,un.warning)(`Falling back to LLVM version 14.0.0 ${i} for the Ubuntu.`));const o="clang+llvm-",s="5.0.0"===r?`-linux-x86_64${i}.tar.xz`:`-x86_64-linux-gnu${i}.tar.xz`;return t(oi)(r,"9.0.1")?pe(r,o,s):de(r,o,s)})(r);case"win32":return(async e=>{if(Si.has(e))return null;const r="LLVM-",n=t(oi)(e,"3.7.0")?"-win32.exe":"-win64.exe",i=t(oi)(e,"9.0.1");let o,s=!1;return i&&(o=pe(e,r,n),await te(o)||(s=!0)),!s&&i||(o=de(e,r,n)),o})(r);default:return null}}async function fe(e,t,r){const[n,i]=await(async(e,t,r,n)=>{if("linux"===t&&r.includes("ubuntu")){const e=await n(t,r);if(null!==e&&await te(e))return[r,e]}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const i of re(e,r)){const e=await n(t,i);if(null!==e&&await te(e))return[i,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(wi,t,e,he);return(0,at.setOutput)("version",n),{url:i,extractedFolderName:"",binRelativeDir:"bin",binFileName:A("clang"),extractFunction:"win32"===t?V:(e,t)=>Y(e,t,["--strip-components=1"])}}async function me(e,r,n){const i=await ve(e,r,n);var o;return await(async(e,r)=>{const n=(e=>{if(null===t(ci)(e))try{const r=t(si)(e);if(null!==r)return(0,un.info)(`Coerced version '${e}' to '${r}'`),r.version}catch(e){}return e})(r),i=ze.join(e,"lib");var o;const s=null!==(o=process.env.LD_LIBRARY_PATH)&&void 0!==o?o:"";var a;const c=null!==(a=process.env.DYLD_LIBRARY_PATH)&&void 0!==a?a:"",l=[h("LLVM_PATH",e),h("LD_LIBRARY_PATH",`${i}${ze.delimiter}${s}`),h("DYLD_LIBRARY_PATH",`${i}${ze.delimiter}${c}`),h("LDFLAGS",`-L"${e}/lib"`),h("CPPFLAGS",`-I"${e}/include"`),h("CC",A(e+"/bin/clang")),h("CXX",A(e+"/bin/clang++")),h("LIBRARY_PATH",e+"/lib"),ce()];if("win32"!==process.platform){const r=t(mi)(n);(0,Be.existsSync)(`${e}/lib/clang/${n}/include`)?l.push(h("CPATH",`${e}/lib/clang/${n}/include`)):(0,Be.existsSync)(`${e}/lib/clang/${r}/include`)&&l.push(h("CPATH",`${e}/lib/clang/${r}/include`))}P()&&(S("cc",e+"/bin/clang"),S("cxx",e+"/bin/clang++"),S("clang",e+"/bin/clang"),S("clang++",e+"/bin/clang++"),S("lld",e+"/bin/lld"),S("ld.lld",e+"/bin/ld.lld"),S("llvm-ar",e+"/bin/llvm-ar")),"github-actions"===t(cn)()&&ye(),await Promise.all(l)})(null!==(o=i.installDir)&&void 0!==o?o:r,e),i}async function ve(e,t,r){const n=await W("llvm",e,fe,t,r);return _i||("linux"===process.platform&&(await ue(ne("gcc",void 0),"",r),C()||P()&&await y("libtinfo-dev")),_i=!0),n}function ge(e,r,n){return"github-actions"===t(cn)()&&ye(),ve(e,r,n)}function ye(){const e=ze.join(yi,"llvm_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the llvm_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)}function we(e,t,r){const n=new Li(e,t,r);process.stdout.write(""+n+Ni.EOL)}function xe(e){Pi.issue("error",e instanceof Error?""+e:e)}function be(e){Pi.issue("group",e)}function Ee(){Pi.issue("endgroup")}function Se(e){return Object.values(Yi).includes(e)?e:e in Yi?Yi[e]:e}function _e(e){if(Object.keys(Yi).includes(e))return e;for(const[t,r]of Object.entries(Yi))if(r===e)return t;return e}function Oe(e){const t=Se(e);let r;if(t){const e=t.split(".")[0]+".9";r=`-version "${t},${e}"`}else r="-latest";let n=((e,t)=>{try{return(""+Ke.execSync(`vswhere -products * ${t} -prerelease -property installationPath`)).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){Ci.warning("vswhere failed: "+e)}return null})(0,r);if(n&&Be.existsSync(n))return Ci.info("Found with vswhere: "+n),n;Ci.info("Not found with vswhere");const i=e?[_e(e)]:Xi;for(const e of qi)for(const t of i)for(const r of Vi)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,Ci.info("Trying standard location: "+n),Be.existsSync(n))return Ci.info("Found standard location: "+n),n;if(Ci.info("Not found in standard locations"),n=Hi+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",Be.existsSync(n))return Ci.info("Found VS 2015: "+n),n;throw Ci.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found")}function $e(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}async function Te(e,t,r,n,i,o,s){void 0!==t&&(0,Be.existsSync)(t)&&((0,un.info)(`Adding ${t} to PATH`),await h("VCTargetsPath",t)),Ti((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),i,n,o,s,e)}async function Ce(e,r,n,i,o,s){if("win32"!==process.platform)return;const a=Oi(e);(0,un.info)(`Checking if MSVC ${a} is already installed`);let c,l,u=!1;try{const e=$i(a);u=!0,(0,un.info)("Found the pre-installed version of MSVC at "+e)}catch{}if(!u)try{"14.0"===a?(c="14.0",await T("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),l="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===a?(c="14.16",await T("visualstudio2017buildtools","15.9.41.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===a?(c="14.29",await T("visualstudio2019buildtools","16.11.7.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===a?(c=void 0,await T("visualstudio2022buildtools","117.0.5.0",[]),l=void 0):(0,un.error)(`The given MSVC versions ${e} is not supported yet.`)}catch(e){(0,un.error)(e)}await Te(a,l,n,c,i,o,s),"github-actions"===t(cn)()&&(()=>{const e=t(ze).join(Ji,"msvc_matcher.json");if(!(0,Be.existsSync)(e))return(0,un.warning)("the msvc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,un.info)("::add-matcher::"+e)})()}function Re(e,t,r){const n=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",binFileName:A("ninja"),extractedFolderName:"",extractFunction:X,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`}}function Ie(e,t,r){return W("ninja",e,Re,t,r)}function Pe(e){return null==e?[]:Array.isArray(e)?e:[e]}function Ae(e,t,r,n){var i,o=e[t],s=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(i=+r)==0?i:r),!!r)):0*(i=+r)==0?i:r;e[t]=null==o?s:Array.isArray(o)?o.concat(s):[o,s]}function Ne(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:A("kcov"),extractFunction:Y}}function ke(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:A("kcov"),extractFunction:Le}}async function Le(e,r){const n=await Y(e,r,["--strip-components=1"]),i=await(async()=>{let e=t(ct).sync("cmake",{nothrow:!0});if(null===e){const{binDir:t}=await Z(ne("cmake",void 0),(0,ze.join)(d(""),"cmake"),"");e=(0,ze.join)(t,"cmake")}return null===t(ct).sync("ninja",{nothrow:!0})&&await Ie(ne("ninja",void 0),(0,ze.join)(d(""),"ninja"),""),e})();"linux"===process.platform&&(C()?(_("libdwarf"),_("libcurl-openssl")):R()?(I("libdwarf-devel"),I("libcurl-devel")):P()&&(await y("libdw-dev"),await y("libcurl4-openssl-dev")));const o=(0,ze.join)(n,"build");return await t(yt)(i,["-S",n,"-B",o,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:n,stdio:"inherit"}),await t(yt)(i,["--build",o,"--config","Release"],{cwd:n,stdio:"inherit"}),n}async function De(e){"github-actions"!==t(cn)()&&(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=je(e);var n;r.help&&(0,un.info)('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n ');const i=null!==(n=r.architecture)&&void 0!==n?n:process.arch;var o;const s=null!==(o=process.env.SETUP_CPP_DIR)&&void 0!==o?o:d(""),a=[],c=[],l=Zi.create({autoloadLocales:!0});let u,p;Zi.addLocale(t(Ki)),Qi.addLocale(t(eo));let f=null;try{f=await(async()=>{if(P()){null===t(ct).sync("lsb_release",{nothrow:!0})&&await y("lsb-release");const e=await(0,to.getUbuntuVersion)();if(0===e.length)throw Error("Failed to get the ubuntu major version.");return e}return null})()}catch(e){(0,un.warning)(""+e)}if(!((e,t)=>{for(let r=0;t.length>r;r++){const n=t.slice(0,r).concat(t.slice(r+1)),i=t[r];if(!ie(e[i],i))for(let t=0;n.length>t;t++){const r=n[t];if(ie(e[r],n[t]))e[r]=e[i];else if(e[i]!==e[n[t]])return!1}}return!0})(r,["llvm","clangtidy","clangformat"]))return(0,un.error)("The same version must be used for llvm, clangformat and clangtidy"),1;for(const e of oo){const t=r[e];if(void 0!==t){u=Date.now(),(0,at.startGroup)(`Installing ${e} ${t}`);try{let r;if("vcvarsall"===e)await Te(ne(e,t,f),void 0,i,void 0,void 0,!1,!1);else{const n=io[e],o=(0,ze.join)(s,["llvm","clangformat","clangtidy"].includes(e)?"llvm":e);r=await n(ne(e,t,f),o,i)}a.push(Fe(e,r))}catch(t){(0,un.error)(t),c.push(e+" failed to install")}(0,at.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}}const m=r.compiler;u=Date.now();try{if(void 0!==m){const{compiler:e,version:t}=Ue(m);switch((0,at.startGroup)(`Installing ${e} ${null!=t?t:""}`),e){case"llvm":case"clang":case"clang++":{const e=await me(ne("llvm",t,f),(0,ze.join)(s,"llvm"),i);a.push(Fe("llvm",e));break}case"gcc":case"mingw":case"cygwin":case"msys":{const e=await ue(ne("gcc",t,f),(0,ze.join)(s,"gcc"),i);a.push(Fe("gcc",e));break}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{const e=await Ce(ne("msvc",t,f),(0,ze.join)(s,"msvc"),i);a.push(Fe("msvc",e));break}case"appleclang":case"applellvm":(0,at.notice)("Assuming apple-clang is already installed"),await Promise.all([h("CC","clang"),h("CXX","clang++")]),a.push(Fe("apple-clang",void 0));break;default:c.push("Unsupported compiler "+e)}(0,at.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}}catch(e){(0,un.error)(e),c.push("Failed to install the "+m),(0,at.endGroup)(),p=Date.now(),(0,un.info)("took "+(l.format(u,p)||"0 seconds"))}if(0===a.length&&0===c.length)return(0,un.warning)("setup_cpp was called without any arguments. Nothing to do."),0;if(a.forEach((e=>(0,un.success)(e))),c.forEach((e=>(0,un.error)(e))),(0,un.info)("setup_cpp finished"),"github-actions"!==t(cn)())switch(process.platform){case"win32":(0,un.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,un.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.")}return 0===c.length?0:1}function je(e){return((e,t)=>{var r,n,i,o,s,a={_:[]},c=0,l=0,u=0,d=(e=e||[]).length;const p=void 0!==(t=t||{}).alias,h=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=Pe(t.string),t.boolean=Pe(t.boolean),p)for(r in t.alias)for(n=t.alias[r]=Pe(t.alias[r]),c=0;n.length>c;c++)(t.alias[n[c]]=n.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(l=(n=t.alias[t.boolean[c]]||[]).length;l-- >0;)t.boolean.push(n[l]);for(c=t.string.length;c-- >0;)for(l=(n=t.alias[t.string[c]]||[]).length;l-- >0;)t.string.push(n[l]);if(f)for(r in t.default)if(o=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),c=0;n.length>c;c++)t[o].push(n[c]);const m=h?Object.keys(t.alias):[];for(c=0;d>c;c++){if("--"===(i=e[c])){a._=a._.concat(e.slice(++c));break}for(l=0;i.length>l&&45===i.charCodeAt(l);l++);if(0===l)a._.push(i);else if("no-"===i.substring(l,l+3)){if(o=i.substring(l+3),h&&!~m.indexOf(o))return t.unknown(i);a[o]=!1}else{for(u=l+1;i.length>u&&61!==i.charCodeAt(u);u++);for(o=i.substring(l,u),s=i.substring(++u)||c+1===d||45===(""+e[c+1]).charCodeAt(0)||e[++c],n=2===l?[o]:o,u=0;n.length>u;u++){if(o=n[u],h&&!~m.indexOf(o))return t.unknown("-".repeat(l)+o);Ae(a,o,n.length>u+1||s,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(p)for(r in a)for(n=t.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a})(e,{string:so,default:Object.fromEntries(so.map((e=>[e,Me(e)]))),alias:{h:"help"},boolean:"help"})}function Ue(e){const r=e.split("-"),n=r[0];if(1 in r){const e=r[1];return null!==t(ci)(e)||(0,un.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:n,version:e}}return{compiler:n,version:void 0}}function Me(e){const t=(0,at.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t}function Fe(e,t){let r=`✅ ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r}var Ge=require("os"),ze=require("path"),Be=require("fs"),He=require("http"),qe=require("https");require("net");var Ve=require("tls"),Xe=require("events"),Ye=require("assert"),We=require("util"),Ke=require("child_process"),Je=require("crypto"),Ze=require("string_decoder"),Qe=require("timers"),et=require("buffer"),tt=require("stream"),rt=require("process"),nt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},it={},ot={},st=nt.parcelRequire810d;null==st&&((st=e=>{if(e in it)return it[e].exports;if(e in ot){var t=ot[e];delete ot[e];var r={id:e,exports:{}};return it[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=(e,t)=>{ot[e]=t},nt.parcelRequire810d=st),st.register("04fde",(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 n(e,t={}){u.issueCommand("error",p.toCommandProperties(t),e instanceof Error?""+e:e)}function i(e){u.issue("group",e)}function o(){u.issue("endgroup")}var s=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),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)&&s(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=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=st("2iva8"),d=st("kCOkT"),p=st("hGWy4");const h=c(Ge),f=c(ze);var m,v,g=st("1hWAC");(v=m=e.exports.ExitCode||(e.exports.ExitCode={}))[v.Success=0]="Success",v[v.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=p.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";d.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.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?d.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 n=r(e,t);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))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(h.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,n(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=n,e.exports.warning=(e,t={})=>{u.issueCommand("warning",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=i,e.exports.endGroup=o,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;i(e);try{r=yield t()}finally{o()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return l(this,void 0,void 0,(function*(){return yield g.OidcClient.getIDToken(e)}))};var y=st("hILBc");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return y.summary}}),y=st("hILBc"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return y.markdownSummary}});var w=st("39f1T");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return w.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return w.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return w.toPlatformPath}})})),st.register("2iva8",(function(e,t){"use strict";function r(e,t,r){const n=new c(e,t,r);process.stdout.write(""+n+s.EOL)}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=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)&&n(t,e,r);return i(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const s=o(Ge);var a=st("hGWy4");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class c{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 n in this.properties)if(this.properties.hasOwnProperty(n)){const i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${t=i,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}}})),st.register("hGWy4",((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,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),st.register("kCOkT",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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 i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const o=i(Be),s=i(Ge);var a=st("hGWy4");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,`${a.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}})),st.register("1hWAC",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=st("4z9RF"),i=st("7v249"),o=st("04fde");class s{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new i.BearerCredentialHandler(s.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=s.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),i=null===(t=n.result)||void 0===t?void 0:t.value;if(!i)throw Error("Response json body do not have ID Token field");return i}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=s.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),o.debug("ID token url is "+t);const r=yield s.getCall(t);return o.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=s})),st.register("4z9RF",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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 i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t}),o=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;const s=i(He),a=i(qe),c=i(st("2IaKG")),l=i(st("bbp3j"));var u,d,p,h,f;(d=u=e.exports.HttpCodes||(e.exports.HttpCodes={}))[d.OK=200]="OK",d[d.MultipleChoices=300]="MultipleChoices",d[d.MovedPermanently=301]="MovedPermanently",d[d.ResourceMoved=302]="ResourceMoved",d[d.SeeOther=303]="SeeOther",d[d.NotModified=304]="NotModified",d[d.UseProxy=305]="UseProxy",d[d.SwitchProxy=306]="SwitchProxy",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d[d.BadRequest=400]="BadRequest",d[d.Unauthorized=401]="Unauthorized",d[d.PaymentRequired=402]="PaymentRequired",d[d.Forbidden=403]="Forbidden",d[d.NotFound=404]="NotFound",d[d.MethodNotAllowed=405]="MethodNotAllowed",d[d.NotAcceptable=406]="NotAcceptable",d[d.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",d[d.RequestTimeout=408]="RequestTimeout",d[d.Conflict=409]="Conflict",d[d.Gone=410]="Gone",d[d.TooManyRequests=429]="TooManyRequests",d[d.InternalServerError=500]="InternalServerError",d[d.NotImplemented=501]="NotImplemented",d[d.BadGateway=502]="BadGateway",d[d.ServiceUnavailable=503]="ServiceUnavailable",d[d.GatewayTimeout=504]="GatewayTimeout",(h=p=e.exports.Headers||(e.exports.Headers={})).Accept="accept",h.ContentType="content-type",(f=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{const t=c.getProxyUrl(new URL(e));return t?t.href:""};const m=[u.MovedPermanently,u.ResourceMoved,u.SeeOther,u.TemporaryRedirect,u.PermanentRedirect],v=[u.BadGateway,u.ServiceUnavailable,u.GatewayTimeout],g=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype)}}e.exports.HttpClientError=y;class w{constructor(e){this.message=e}readBody(){return o(this,void 0,void 0,(function*(){return new Promise((e=>o(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(""+t)}))}))))}))}}e.exports.HttpClientResponse=w,e.exports.isHttps=e=>"https:"===new URL(e).protocol,e.exports.HttpClient=class{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 o(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return o(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return o(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return o(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return o(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return o(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return o(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return o(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return o(this,void 0,void 0,(function*(){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return o(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const i=yield this.post(e,n,r);return this._processResponse(i,this.requestOptions)}))}putJson(e,t,r={}){return o(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const i=yield this.put(e,n,r);return this._processResponse(i,this.requestOptions)}))}patchJson(e,t,r={}){return o(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const i=yield this.patch(e,n,r);return this._processResponse(i,this.requestOptions)}))}request(e,t,r,n){return o(this,void 0,void 0,(function*(){if(this._disposed)throw Error("Client has already been disposed.");const i=new URL(t);let o=this._prepareRequest(e,i,n);const s=this._allowRetries&&g.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=yield this.requestRaw(o,r),a&&a.message&&a.message.statusCode===u.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,o,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&m.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const s=a.message.headers.location;if(!s)break;const c=new URL(s);if("https:"===i.protocol&&i.protocol!==c.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),c.hostname!==i.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];o=this._prepareRequest(e,c,n),a=yield this.requestRaw(o,r),t--}if(!a.message.statusCode||!v.includes(a.message.statusCode))return a;c+=1,s>c&&(yield a.readBody(),yield this._performExponentialBackoff(c))}while(s>c);return a}))}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return o(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{this.requestRawWithCallback(e,t,((e,t)=>{e?n(e):t?r(t):n(Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){function n(e,t){i||(i=!0,r(e,t))}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let i=!1;const o=e.httpModule.request(e.options,(e=>{n(void 0,new w(e))}));let s;o.on("socket",(e=>{s=e})),o.setTimeout(this._socketTimeout||18e4,(()=>{s&&s.end(),n(Error("Request timeout: "+e.options.path))})),o.on("error",(e=>{n(e)})),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{o.end()})),t.pipe(o)):o.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const i="https:"===n.parsedUrl.protocol;n.httpModule=i?a:s;const o=i?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):o,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},x(this.requestOptions.headers),x(e||{})):x(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=x(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const i="https:"===e.protocol;let o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||s.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const s="https:"===r.protocol;n=i?s?l.httpsOverHttps:l.httpsOverHttp:s?l.httpOverHttps:l.httpOverHttp,t=n(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=i?new a.Agent(e):new s.Agent(e),this._agent=t}return t||(t=i?a.globalAgent:s.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return o(this,void 0,void 0,(function*(){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return o(this,void 0,void 0,(function*(){return new Promise(((r,n)=>o(this,void 0,void 0,(function*(){const i=e.message.statusCode||0,o={statusCode:i,result:null,headers:{}};let s,a;i===u.NotFound&&r(o);try{a=yield e.readBody(),a&&a.length>0&&(s=t&&t.deserializeDates?JSON.parse(a,((e,t)=>{if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),o.result=s),o.headers=e.message.headers}catch(e){}if(i>299){let e;e=s&&s.message?s.message:a&&a.length>0?a:`Failed request: (${i})`;const t=new y(e,i);t.result=o.result,n(t)}else r(o)}))))}))}};const x=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})})),st.register("2IaKG",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=+e.port:"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(n.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=e=>{const t="https:"===e.protocol;if(r(e))return;const n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0},e.exports.checkBypass=r})),st.register("bbp3j",((e,t)=>{e.exports=st("fNJ5J")})),st.register("fNJ5J",(function(t,r){function n(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||He.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,n,i)=>{for(var s=o(r,n,i),a=0,c=t.requests.length;c>a;++a){var l=t.requests[a];if(l.host===s.host&&l.port===s.port)return t.requests.splice(a,1),void l.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function i(e,t){var r=this;n.prototype.createSocket.call(r,e,(n=>{var i=e.request.getHeader("host"),o=s({},r.options,{socket:n,servername:i?i.replace(/:.*$/,""):e.host}),a=Ve.connect(0,o);r.sockets[r.sockets.indexOf(n)]=a,t(a)}))}function o(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function s(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var i=Object.keys(n),o=0,s=i.length;s>o;++o){var a=i[o];void 0!==n[a]&&(e[a]=n[a])}}return e}var a,c,l,u,d,p;e(t.exports,"httpOverHttp",(()=>a),(e=>a=e)),e(t.exports,"httpsOverHttp",(()=>c),(e=>c=e)),e(t.exports,"httpOverHttps",(()=>l),(e=>l=e)),e(t.exports,"httpsOverHttps",(()=>u),(e=>u=e)),e(t.exports,"debug",(()=>d),(e=>d=e)),a=e=>{var t=new n(e);return t.request=He.request,t},c=e=>{var t=new n(e);return t.request=He.request,t.createSocket=i,t.defaultPort=443,t},l=e=>{var t=new n(e);return t.request=qe.request,t},u=e=>{var t=new n(e);return t.request=qe.request,t.createSocket=i,t.defaultPort=443,t},We.inherits(n,Xe.EventEmitter),n.prototype.addRequest=function(e,t,r,n){var i=this,a=s({request:e},i.options,o(t,r,n));this.maxSockets>i.sockets.length?i.createSocket(a,(t=>{function r(){i.emit("free",t,a)}function n(e){i.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)})):i.requests.push(a)},n.prototype.createSocket=function(e,t){function r(r,o,s){var c;return a.removeAllListeners(),o.removeAllListeners(),200!==r.statusCode?(p("tunneling socket could not be established, statusCode=%d",r.statusCode),o.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(i)):s.length>0?(p("got illegal response body from proxy"),o.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(i)):(p("tunneling connection has established"),n.sockets[n.sockets.indexOf(i)]=o,t(o))}var n=this,i={};n.sockets.push(i);var o=s({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(o.localAddress=e.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),p("making CONNECT request");var a=n.request(o);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,n)=>{process.nextTick((()=>{r(e,t,n)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),p("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),n.removeSocket(i)})),a.end()},n.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)}))}},d=p=()=>{}})),st.register("7v249",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}}})),st.register("hILBc",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:n,appendFile:i,writeFile:o}=Be.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const s=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,Be.constants.R_OK|Be.constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?o:i;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(Ge.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),i=this.wrap(r,n);return this.addRaw(i).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:i}=e,o=t?"th":"td",s=Object.assign(Object.assign({},n&&{colspan:n}),i&&{rowspan:i});return this.wrap(o,r,s)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:i}=r||{},o=Object.assign(Object.assign({},n&&{width:n}),i&&{height:i}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL()}addHeading(e,t){const r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",i=this.wrap(n,e);return this.addRaw(i).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=s,e.exports.summary=s})),st.register("39f1T",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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 i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const o=i(ze);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,o.sep)})),st.register("ftrAD",((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 n=0;r.length>n;n++){var i=r[n].toLowerCase();if(i&&e.substr(-i.length).toLowerCase()===i)return!0}return!1})(t,r)}function n(e,t,n){Be.stat(e,((i,o)=>{n(i,!i&&r(o,e,t))}))}e.exports=n,n.sync=(e,t)=>r(Be.statSync(e),e,t)})),st.register("9yF3I",((e,t)=>{function r(e,t,r){Be.stat(e,((e,i)=>{r(e,!e&&n(i,t))}))}function n(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,n=e.uid,i=e.gid,o=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=a|c;return r&parseInt("001",8)||r&c&&i===s||r&a&&n===o||r&l&&0===o})(e,t)}e.exports=r,r.sync=(e,t)=>n(Be.statSync(e),t)})),st.register("ditiY",((r,n)=>{function i(e){return"github-actions"===t(u)()?l.error(e):console.log(`${e}`)}function o(e){return console.log(`${e}`)}function s(e){return"github-actions"===t(u)()?l.warning(e):console.log(`${e}`)}function a(e){return"github-actions"===t(u)()?l.notice(e):console.log(`${e}`)}function c(e){return"github-actions"===t(u)()?l.info(e):console.log(e)}e(r.exports,"error",(()=>i)),e(r.exports,"success",(()=>o)),e(r.exports,"warning",(()=>s)),e(r.exports,"notice",(()=>a)),e(r.exports,"info",(()=>c));var l=st("04fde"),u=st("gmbrv")})),st.register("gmbrv",((e,t)=>{e.exports=()=>process.env.GERRIT_PROJECT?"gerrit":process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI?"azure-pipelines":process.env.BITRISE_IO?"bitrise":process.env.BUDDY_WORKSPACE_ID?"buddy":process.env.BUILDKITE?"buildkite":process.env.CIRRUS_CI?"cirrus":process.env.GITLAB_CI?"gitlab":process.env.APPVEYOR?"appveyor":process.env.CIRCLECI?"circle-ci":process.env.SEMAPHORE?"semaphore":process.env.DRONE?"drone":process.env.DSARI?"dsari":process.env.GITHUB_ACTION?"github-actions":process.env.TDDIUM?"tddium":process.env.SCREWDRIVER?"screwdriver":process.env.STRIDER?"strider":process.env.TASKCLUSTER_ROOT_URL?"taskcluster":process.env.JENKINS_URL?"jenkins":process.env["bamboo.buildKey"]?"bamboo":process.env.GO_PIPELINE_NAME?"gocd":process.env.HUDSON_URL?"hudson":process.env.WERCKER?"wercker":process.env.NETLIFY?"netlify":process.env.NOW_GITHUB_DEPLOYMENT?"now-github":process.env.GITLAB_DEPLOYMENT?"now-gitlab":process.env.BITBUCKET_DEPLOYMENT?"now-bitbucket":process.env.BITBUCKET_BUILD_NUMBER?"bitbucket-pipelines":process.env.NOW_BUILDER?"now":process.env.VERCEL_GITHUB_DEPLOYMENT?"vercel-github":process.env.VERCEL_GITLAB_DEPLOYMENT?"vercel-gitlab":process.env.VERCEL_BITBUCKET_DEPLOYMENT?"vercel-bitbucket":process.env.VERCEL_URL?"vercel":process.env.MAGNUM?"magnum":process.env.NEVERCODE?"nevercode":process.env.RENDER?"render":process.env.SAIL_CI?"sail":process.env.SHIPPABLE?"shippable":process.env.TEAMCITY_VERSION?"teamcity":process.env.CI_NAME?process.env.CI_NAME:/\/\.heroku\/node\/bin\/node$/.test(process.env.NODE||"")?"heroku":process.env.TRAVIS?"travis-ci":process.env.CODEBUILD_SRC_DIR?"aws-codebuild":"true"===process.env.CI||"1"===process.env.CI?"custom":!!process.env.BUILDER_OUTPUT&&"builder"})),st.register("bJALw",((e,t)=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")})),st.register("fvrnx",(function(e,t){"use strict";function r(e){return u(this,void 0,void 0,(function*(){if(h.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=h.getCmdPath();(yield h.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 h.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield h.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield h.unlink(e)}}))}function n(e){return u(this,void 0,void 0,(function*(){Ye.ok(e,"a path argument must be provided"),yield h.mkdir(e,{recursive:!0})}))}function i(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(h.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(p.delimiter))e&&t.push(e);if(h.isRooted(e)){const r=yield h.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(p.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(p.delimiter))e&&r.push(e);const n=[];for(const i of r){const r=yield h.tryGetExecutablePath(p.join(i,e),t);r&&n.push(r)}return n}))}function o(e,t,r,i){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield n(t);const a=yield h.readdir(e);for(const n of a){const a=`${e}/${n}`,c=`${t}/${n}`;(yield h.lstat(a)).isDirectory()?yield o(a,c,r,i):yield s(a,c,i)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function s(e,t,r){return u(this,void 0,void 0,(function*(){if((yield h.lstat(e)).isSymbolicLink()){try{yield h.lstat(t),yield h.unlink(t)}catch(e){"EPERM"===e.code&&(yield h.chmod(t,"0666"),yield h.unlink(t))}const r=yield h.readlink(e);yield h.symlink(r,t,h.IS_WINDOWS?"junction":null)}else(yield h.exists(t))&&!r||(yield h.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),c=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)&&a(t,e,r);return c(t,e),t}),u=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.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 d=l(Ke),p=l(ze),h=l(st("2GOko")),f=We.promisify(d.exec),m=We.promisify(d.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:n,recursive:i,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),c=(yield h.exists(t))?yield h.stat(t):null;if(c&&c.isFile()&&!n)return;const l=c&&c.isDirectory()&&a?p.join(t,p.basename(e)):t;if(!(yield h.exists(e)))throw Error("no such file or directory: "+e);if((yield h.stat(e)).isDirectory()){if(!i)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield o(e,l,0,n)}else{if(""===p.relative(e,l))throw Error(`'${l}' and '${e}' are the same file`);yield s(e,l,n)}}))},e.exports.mv=function(e,t,i={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let n=!0;if((yield h.isDirectory(t))&&(t=p.join(t,p.basename(e)),n=yield h.exists(t)),n){if(null!=i.force&&!i.force)throw Error("Destination already exists");yield r(t)}}yield n(p.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=n,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(h.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 n=yield i(t);return n&&n.length>0?n[0]:""}))},e.exports.findInPath=i})),st.register("2GOko",(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 n,i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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 r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&i(t,e,r);return o(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.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 c=s(Be),l=s(ze);e.exports.chmod=(n=c.promises).chmod,e.exports.copyFile=n.copyFile,e.exports.lstat=n.lstat,e.exports.mkdir=n.mkdir,e.exports.readdir=n.readdir,e.exports.readlink=n.readlink,e.exports.rename=n.rename,e.exports.rmdir=n.rmdir,e.exports.stat=n.stat,e.exports.symlink=n.symlink,e.exports.unlink=n.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,n){return a(this,void 0,void 0,(function*(){let i;try{i=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(i&&i.isFile())if(e.exports.IS_WINDOWS){const e=l.extname(t).toUpperCase();if(n.some((t=>t.toUpperCase()===e)))return t}else if(r(i))return t;const o=t;for(const s of n){t=o+s,i=void 0;try{i=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(i&&i.isFile()){if(e.exports.IS_WINDOWS){try{const r=l.dirname(t),n=l.basename(t).toUpperCase();for(const i of yield e.exports.readdir(r))if(n===i.toUpperCase()){t=l.join(r,i);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(i))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}})),st.register("6kHxT",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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 i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t}),o=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const s=i(st("4URNm"));var a=st("04fde");e.exports._findMatch=function(t,r,n,i){return o(this,void 0,void 0,(function*(){const o=Ge.platform();let c,l,u;for(const c of n){const n=c.version;if(a.debug(`check ${n} satisfies ${t}`),s.satisfies(n,t)&&(!r||c.stable===r)&&(u=c.files.find((t=>{a.debug(`${t.arch}===${i} && ${t.platform}===${o}`);let r=t.arch===i&&t.platform===o;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||s.satisfies(n,t.platform_version)}return r})),u)){a.debug("matched "+c.version),l=c;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},e.exports._getOsVersion=()=>{const t=Ge.platform();let r="";if("darwin"===t)r=""+Ke.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 Be.existsSync(e)?r=""+Be.readFileSync(e):Be.existsSync(t)&&(r=""+Be.readFileSync(t)),r}})),st.register("4URNm",((e,t)=>{var r=st("bikcG");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:st("bgOMw").SEMVER_SPEC_VERSION,SemVer:st("7qUJS"),compareIdentifiers:st("12NXI").compareIdentifiers,rcompareIdentifiers:st("12NXI").rcompareIdentifiers,parse:st("gdrva"),valid:st("fVzwP"),clean:st("hOYls"),inc:st("dGcr6"),diff:st("bBssn"),major:st("fB2B7"),minor:st("bye2i"),patch:st("87ZGF"),prerelease:st("4agny"),compare:st("howpO"),rcompare:st("zcbgY"),compareLoose:st("iGBo4"),compareBuild:st("80ezM"),sort:st("4qmtg"),rsort:st("4pjXu"),gt:st("6KPS4"),lt:st("lr5pz"),eq:st("jXghC"),neq:st("fqqGA"),gte:st("5cRW4"),lte:st("fwsB7"),cmp:st("823yM"),coerce:st("1YYsi"),Comparator:st("eR6XK"),Range:st("hvUff"),satisfies:st("c8FZS"),toComparators:st("2J2hR"),maxSatisfying:st("lbfMG"),minSatisfying:st("5wbuE"),minVersion:st("hZRNG"),validRange:st("fqnzG"),outside:st("77bPN"),gtr:st("gD8Tz"),ltr:st("bpPww"),intersects:st("cHIUn"),simplifyRange:st("k8aCs"),subset:st("388OD")}})),st.register("bikcG",((e,t)=>{var r=st("bgOMw").MAX_SAFE_COMPONENT_LENGTH,n=st("jkMsx");const i=(t=e.exports={}).re=[],o=t.src=[],s=t.t={};let a=0;const c=(e,t,r)=>{const c=a++;n(e,c,t),s[e]=c,o[c]=t,i[c]=RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${o[s.NUMERICIDENTIFIER]}|${o[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${o[s.NUMERICIDENTIFIERLOOSE]}|${o[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${o[s.PRERELEASEIDENTIFIER]}(?:\\.${o[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${o[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${o[s.BUILDIDENTIFIER]}(?:\\.${o[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${o[s.MAINVERSION]}${o[s.PRERELEASE]}?${o[s.BUILD]}?`),c("FULL",`^${o[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${o[s.MAINVERSIONLOOSE]}${o[s.PRERELEASELOOSE]}?${o[s.BUILD]}?`),c("LOOSE",`^${o[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",o[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",o[s.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:${o[s.PRERELEASE]})?${o[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:${o[s.PRERELEASELOOSE]})?${o[s.BUILD]}?)?)?`),c("XRANGE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",o[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${o[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${o[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${o[s.LONECARET]}${o[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${o[s.LONECARET]}${o[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${o[s.GTLT]}\\s*(${o[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]}|${o[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${o[s.XRANGEPLAIN]})\\s+-\\s+(${o[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${o[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})),st.register("bgOMw",((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}})),st.register("jkMsx",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),st.register("7qUJS",(function(e,t){var r=st("jkMsx"),n=st("bgOMw"),i=n.MAX_LENGTH,o=n.MAX_SAFE_INTEGER,s=st("bikcG"),a=s.re,c=s.t,l=st("eUvvN"),u=st("12NXI").compareIdentifiers;class d{constructor(e,t){if(t=l(t),e instanceof d){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>i)throw new TypeError(`version is longer than ${i} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[c.LOOSE]:a[c.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>o||0>this.major)throw new TypeError("Invalid major version");if(this.minor>o||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>o||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&o>t)return t}return e})):[],this.build=n[5]?n[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 d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof d||(e=new d(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 n=this.prerelease[t],i=e.prerelease[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const n=this.build[t],i=e.build[t];if(r("prerelease compare",t,n,i),void 0===n&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===n)return-1;if(n!==i)return u(n,i)}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&&(0===u(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=d})),st.register("eUvvN",((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)),{}):{}})),st.register("12NXI",((e,t)=>{const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),i=r.test(t);return n&&i&&(e=+e,t=+t),e===t?0:n&&!i?-1:i&&!n?1:t>e?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers(e,t){return n(t,e)}}})),st.register("gdrva",((e,t)=>{var r=st("bgOMw").MAX_LENGTH,n=st("bikcG"),i=n.re,o=n.t,s=st("7qUJS"),a=st("eUvvN");e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?i[o.LOOSE]:i[o.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}})),st.register("fVzwP",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}})),st.register("hOYls",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}})),st.register("dGcr6",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n,i)=>{"string"==typeof n&&(i=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,i).version}catch(e){return null}}})),st.register("bBssn",((e,t)=>{var r=st("gdrva"),n=st("jXghC");e.exports=(e,t)=>{if(n(e,t))return null;{const n=r(e),i=r(t),o=n.prerelease.length||i.prerelease.length,s=o?"pre":"",a=o?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==i[e])return s+e;return a}}})),st.register("jXghC",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0===r(e,t,n)})),st.register("howpO",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))})),st.register("fB2B7",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).major})),st.register("bye2i",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).minor})),st.register("87ZGF",((e,t)=>{var r=st("7qUJS");e.exports=(e,t)=>new r(e,t).patch})),st.register("4agny",((e,t)=>{var r=st("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}})),st.register("zcbgY",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(t,e,n)})),st.register("iGBo4",((e,t)=>{var r=st("howpO");e.exports=(e,t)=>r(e,t,!0)})),st.register("80ezM",((e,t)=>{var r=st("7qUJS");e.exports=(e,t,n)=>{const i=new r(e,n),o=new r(t,n);return i.compare(o)||i.compareBuild(o)}})),st.register("4qmtg",((e,t)=>{var r=st("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))})),st.register("4pjXu",((e,t)=>{var r=st("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))})),st.register("6KPS4",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(e,t,n)>0})),st.register("lr5pz",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0>r(e,t,n)})),st.register("fqqGA",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0!==r(e,t,n)})),st.register("5cRW4",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>r(e,t,n)>=0})),st.register("fwsB7",((e,t)=>{var r=st("howpO");e.exports=(e,t,n)=>0>=r(e,t,n)})),st.register("823yM",((e,t)=>{var r=st("jXghC"),n=st("fqqGA"),i=st("6KPS4"),o=st("5cRW4"),s=st("lr5pz"),a=st("fwsB7");e.exports=(e,t,c,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e===c;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e!==c;case"":case"=":case"==":return r(e,c,l);case"!=":return n(e,c,l);case">":return i(e,c,l);case">=":return o(e,c,l);case"<":return s(e,c,l);case"<=":return a(e,c,l);default:throw new TypeError("Invalid operator: "+t)}}})),st.register("1YYsi",((e,t)=>{var r=st("7qUJS"),n=st("gdrva"),i=st("bikcG"),o=i.re,s=i.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let i=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!i||i.index+i[0].length!==e.length);)i&&t.index+t[0].length===i.index+i[0].length||(i=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1}else i=e.match(o[s.COERCE]);return null===i?null:n(`${i[2]}.${i[3]||"0"}.${i[4]||"0"}`,t)}})),st.register("eR6XK",(function(e,t){const r=Symbol();class n{static get ANY(){return r}constructor(e,t){if(t=i(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===r?"":this.operator+this.semver.version,l("comp",this)}parse(e){const t=e.match(this.options.loose?s[a.COMPARATORLOOSE]:s[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(l("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 c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||i||o&&s||a||l}}e.exports=n;var i=st("eUvvN"),o=st("bikcG"),s=o.re,a=o.t,c=st("823yM"),l=st("jkMsx"),u=st("7qUJS"),d=st("hvUff")})),st.register("hvUff",(function(e,t){class r{constructor(e,t){if(t=i(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof o)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("||").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=n.get(t);if(r)return r;const i=this.options.loose;e=e.replace(i?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE],T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),s("comparator trim",e);let a=(e=(e=(e=e.replace(l[u.TILDETRIM],p)).replace(l[u.CARETTRIM],h)).split(/\s+/).join(" ")).split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>$(e,this.options)));i&&(a=a.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),s("range list",a);const c=new Map,m=a.map((e=>new o(e,this.options)));for(const e of m){if(f(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const v=[...c.values()];return n.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(C(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const n=new(st("6MLkQ"))({max:1e3});var i=st("eUvvN"),o=st("eR6XK"),s=st("jkMsx"),a=st("7qUJS"),c=st("bikcG"),l=c.re,u=c.t,d=c.comparatorTrimReplace,p=c.tildeTrimReplace,h=c.caretTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,v=(e,t)=>{let r=!0;const n=e.slice();let i=n.pop();for(;r&&n.length;)r=n.every((e=>i.intersects(e,t))),i=n.pop();return r},g=(e,t)=>(s("comp",e,t),e=b(e,t),s("caret",e),e=w(e,t),s("tildes",e),e=S(e,t),s("xrange",e),e=O(e,t),s("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>e.replace(t.loose?l[u.TILDELOOSE]:l[u.TILDE],((t,r,n,i,o)=>{let a;return s("tilde",e,t,r,n,i,o),y(r)?a="":y(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,s("tilde return",a),a})),b=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?l[u.CARETLOOSE]:l[u.CARET],((t,n,i,o,a)=>{let c;return s("caret",e,t,n,i,o,a),y(n)?c="":y(i)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(o)?c="0"===n?`>=${n}.${i}.0${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.0${r} <${+n+1}.0.0-0`:a?(s("replaceCaret pr",a),c="0"===n?"0"===i?`>=${n}.${i}.${o}-${a} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}-${a} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o}-${a} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===i?`>=${n}.${i}.${o}${r} <${n}.${i}.${+o+1}-0`:`>=${n}.${i}.${o}${r} <${n}.${+i+1}.0-0`:`>=${n}.${i}.${o} <${+n+1}.0.0-0`),s("caret return",c),c}))},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>_(e,t))).join(" ")),_=(e,t)=>(e=e.trim()).replace(t.loose?l[u.XRANGELOOSE]:l[u.XRANGE],((r,n,i,o,a,c)=>{s("xRange",e,r,n,i,o,a,c);const l=y(i),u=l||y(o),d=u||y(a);return"="===n&&d&&(n=""),c=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&d?(u&&(o=0),a=0,">"===n?(n=">=",u?(i=+i+1,o=0,a=0):(o=+o+1,a=0)):"<="===n&&(n="<",u?i=+i+1:o=+o+1),"<"===n&&(c="-0"),r=`${n+i}.${o}.${a}${c}`):u?r=`>=${i}.0.0${c} <${+i+1}.0.0-0`:d&&(r=`>=${i}.${o}.0${c} <${i}.${+o+1}.0-0`),s("xRange return",r),r})),O=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),$=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,r,n,i,o,s,a,c,l,u,d,p,h)=>`${r=y(n)?"":y(i)?`>=${n}.0.0${e?"-0":""}`:y(o)?`>=${n}.${i}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${c=y(l)?"":y(u)?`<${+l+1}.0.0-0`:y(d)?`<${l}.${+u+1}.0-0`:p?`<=${l}.${u}.${d}-${p}`:e?`<${l}.${u}.${+d+1}-0`:"<="+c}`.trim(),C=(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(s(e[r].semver),e[r].semver!==o.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}})),st.register("6MLkQ",(function(e,t){const r="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,n="undefined"!=typeof AbortController?AbortController:Object.assign(class{constructor(){this.signal=new n.AbortSignal}abort(){this.signal.aborted=!0}},{AbortSignal:class{constructor(){this.aborted=!1}}}),i=new Set,o=(e,t)=>{const r="LRU_CACHE_OPTION_"+e;c(r)&&l(r,e+" option","options."+t,f)},s=(e,t)=>{const r="LRU_CACHE_METHOD_"+e;if(c(r)){const{prototype:n}=f,{get:i}=Object.getOwnPropertyDescriptor(n,e);l(r,e+" method",`cache.${t}()`,i)}},a=(...e)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...e):console.error(...e)},c=e=>!i.has(e),l=(e,t,r,n)=>{i.add(e),a(`The ${t} is deprecated. Please use ${r} instead.`,"DeprecationWarning",e,n)},u=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),d=e=>u(e)?e>256?e>65536?e>4294967296?e>Number.MAX_SAFE_INTEGER?null:p:Uint32Array:Uint16Array:Uint8Array:null;class p extends Array{constructor(e){super(e),this.fill(0)}}class h{constructor(e){if(0===e)return[];const t=d(e);this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class f{constructor(e={}){const{max:t=0,ttl:r,ttlResolution:n=1,ttlAutopurge:s,updateAgeOnGet:l,updateAgeOnHas:p,allowStale:m,dispose:v,disposeAfter:g,noDisposeOnSet:y,noUpdateTTL:w,maxSize:x=0,sizeCalculation:b,fetchMethod:E}=e,{length:S,maxAge:_,stale:O}=e instanceof f?{}:e;if(0!==t&&!u(t))throw new TypeError("max option must be a nonnegative integer");const $=t?d(t):Array;if(!$)throw Error("invalid max value: "+t);if(this.max=t,this.maxSize=x,this.sizeCalculation=b||S,this.sizeCalculation){if(!this.maxSize)throw new TypeError("cannot set sizeCalculation without setting maxSize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=E||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.keyMap=new Map,this.keyList=Array(t).fill(null),this.valList=Array(t).fill(null),this.next=new $(t),this.prev=new $(t),this.head=0,this.tail=0,this.free=new h(t),this.initialFill=1,this.size=0,"function"==typeof v&&(this.dispose=v),"function"==typeof g?(this.disposeAfter=g,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!y,this.noUpdateTTL=!!w,0!==this.maxSize){if(!u(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!m||!!O,this.updateAgeOnGet=!!l,this.updateAgeOnHas=!!p,this.ttlResolution=u(n)||0===n?n:1,this.ttlAutopurge=!!s,this.ttl=r||_||0,this.ttl){if(!u(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const e="LRU_CACHE_UNBOUNDED";c(e)&&(i.add(e),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,f))}O&&o("stale","allowStale"),_&&o("maxAge","ttl"),S&&o("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new p(this.max),this.starts=new p(this.max),this.setItemTTL=(e,t)=>{if(this.starts[e]=0!==t?r.now():0,this.ttls[e]=t,0!==t&&this.ttlAutopurge){const r=setTimeout((()=>{this.isStale(e)&&this.delete(this.keyList[e])}),t+1);r.unref&&r.unref()}},this.updateItemAge=e=>{this.starts[e]=0!==this.ttls[e]?r.now():0};let e=0;const t=()=>{const t=r.now();if(this.ttlResolution>0){e=t;const r=setTimeout((()=>e=0),this.ttlResolution);r.unref&&r.unref()}return t};this.getRemainingTTL=r=>{const n=this.keyMap.get(r);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(e||t())},this.isStale=r=>0!==this.ttls[r]&&0!==this.starts[r]&&(e||t())-this.starts[r]>this.ttls[r]}updateItemAge(e){}setItemTTL(e,t){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new p(this.max),this.removeItemSize=e=>this.calculatedSize-=this.sizes[e],this.requireSize=(e,t,r,n)=>{if(!u(r)){if(!n)throw new TypeError("invalid size value (must be positive integer)");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(r=n(t,e),!u(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r},this.addItemSize=(e,t,r,n)=>{this.sizes[e]=n;const i=this.maxSize-this.sizes[e];for(;this.calculatedSize>i;)this.evict(!0);this.calculatedSize+=this.sizes[e]},this.delete=e=>{if(0!==this.size){const t=this.keyMap.get(e);void 0!==t&&(this.calculatedSize-=this.sizes[t])}return f.prototype.delete.call(this,e)}}removeItemSize(e){}addItemSize(e,t,r,n){}requireSize(e,t,r,n){if(r||n)throw new TypeError("cannot set size without setting maxSize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.tail;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.head);)t=this.prev[t]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.head;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.tail);)t=this.next[t]}isValidIndex(e){return this.keyMap.get(this.keyList[e])===e}*entries(){for(const e of this.indexes())yield[this.keyList[e],this.valList[e]]}*rentries(){for(const e of this.rindexes())yield[this.keyList[e],this.valList[e]]}*keys(){for(const e of this.indexes())yield this.keyList[e]}*rkeys(){for(const e of this.rindexes())yield this.keyList[e]}*values(){for(const e of this.indexes())yield this.valList[e]}*rvalues(){for(const e of this.rindexes())yield this.valList[e]}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const r of this.indexes())if(e(this.valList[r],this.keyList[r],this))return this.get(this.keyList[r],t)}forEach(e,t=this){for(const r of this.indexes())e.call(t,this.valList[r],this.keyList[r],this)}rforEach(e,t=this){for(const r of this.rindexes())e.call(t,this.valList[r],this.keyList[r],this)}get prune(){return s("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(const t of this.rindexes({allowStale:!0}))this.isStale(t)&&(this.delete(this.keyList[t]),e=!0);return e}dump(){const e=[];for(const t of this.indexes()){const r=this.keyList[t],n={value:this.valList[t]};this.ttls&&(n.ttl=this.ttls[t]),this.sizes&&(n.size=this.sizes[t]),e.unshift([r,n])}return e}load(e){this.clear();for(const[t,r]of e)this.set(t,r.value,r)}dispose(e,t,r){}set(e,t,{ttl:r=this.ttl,noDisposeOnSet:n=this.noDisposeOnSet,size:i=0,sizeCalculation:o=this.sizeCalculation,noUpdateTTL:s=this.noUpdateTTL}={}){i=this.requireSize(e,t,i,o);let a=0===this.size?void 0:this.keyMap.get(e);if(void 0===a)a=this.newIndex(),this.keyList[a]=e,this.valList[a]=t,this.keyMap.set(e,a),this.next[this.tail]=a,this.prev[a]=this.tail,this.tail=a,this.size++,this.addItemSize(a,t,e,i),s=!1;else{const r=this.valList[a];t!==r&&(this.isBackgroundFetch(r)?r.__abortController.abort():n||(this.dispose(r,e,"set"),this.disposeAfter&&this.disposed.push([r,e,"set"])),this.removeItemSize(a),this.valList[a]=t,this.addItemSize(a,t,e,i)),this.moveToTail(a)}if(0===r||0!==this.ttl||this.ttls||this.initializeTTLTracking(),s||this.setItemTTL(a,r),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const e=this.valList[this.head];return this.evict(!0),e}}evict(e){const t=this.head,r=this.keyList[t],n=this.valList[t];return this.isBackgroundFetch(n)?n.__abortController.abort():(this.dispose(n,r,"evict"),this.disposeAfter&&this.disposed.push([n,r,"evict"])),this.removeItemSize(t),e&&(this.keyList[t]=null,this.valList[t]=null,this.free.push(t)),this.head=this.next[t],this.keyMap.delete(r),this.size--,t}has(e,{updateAgeOnHas:t=this.updateAgeOnHas}={}){const r=this.keyMap.get(e);return void 0!==r&&!this.isStale(r)&&(t&&this.updateItemAge(r),!0)}peek(e,{allowStale:t=this.allowStale}={}){const r=this.keyMap.get(e);if(void 0!==r&&(t||!this.isStale(r)))return this.valList[r]}backgroundFetch(e,t,r){const i=void 0===t?void 0:this.valList[t];if(this.isBackgroundFetch(i))return i;const o=new n,s={signal:o.signal,options:r},a=Promise.resolve(this.fetchMethod(e,i,s)).then((t=>(o.signal.aborted||this.set(e,t,s.options),t)));return a.__abortController=o,a.__staleWhileFetching=i,void 0===t?(this.set(e,a,s.options),t=this.keyMap.get(e)):this.valList[t]=a,a}isBackgroundFetch(e){return e&&"object"==typeof e&&"function"==typeof e.then&&{}.hasOwnProperty.call(e,"__staleWhileFetching")}async fetch(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,ttl:n=this.ttl,noDisposeOnSet:i=this.noDisposeOnSet,size:o=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL}={}){if(!this.fetchMethod)return this.get(e,{allowStale:t,updateAgeOnGet:r});const c={allowStale:t,updateAgeOnGet:r,ttl:n,noDisposeOnSet:i,size:o,sizeCalculation:s,noUpdateTTL:a};let l=this.keyMap.get(e);if(void 0===l)return this.backgroundFetch(e,l,c);{const n=this.valList[l];if(this.isBackgroundFetch(n))return t&&void 0!==n.__staleWhileFetching?n.__staleWhileFetching:n;if(!this.isStale(l))return this.moveToTail(l),r&&this.updateItemAge(l),n;const i=this.backgroundFetch(e,l,c);return t&&void 0!==i.__staleWhileFetching?i.__staleWhileFetching:i}}get(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet}={}){const n=this.keyMap.get(e);if(void 0!==n){const i=this.valList[n],o=this.isBackgroundFetch(i);if(this.isStale(n))return o?t?i.__staleWhileFetching:void 0:(this.delete(e),t?i:void 0);if(o)return;return this.moveToTail(n),r&&this.updateItemAge(n),i}}connect(e,t){this.prev[t]=e,this.next[e]=t}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return s("del","delete"),this.delete}delete(e){let t=!1;if(0!==this.size){const r=this.keyMap.get(e);if(void 0!==r)if(t=!0,1===this.size)this.clear();else{this.removeItemSize(r);const t=this.valList[r];this.isBackgroundFetch(t)?t.__abortController.abort():(this.dispose(t,e,"delete"),this.disposeAfter&&this.disposed.push([t,e,"delete"])),this.keyMap.delete(e),this.keyList[r]=null,this.valList[r]=null,r===this.tail?this.tail=this.prev[r]:r===this.head?this.head=this.next[r]:(this.next[this.prev[r]]=this.next[r],this.prev[this.next[r]]=this.prev[r]),this.size--,this.free.push(r)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return t}clear(){for(const e of this.rindexes({allowStale:!0})){const t=this.valList[e];if(this.isBackgroundFetch(t))t.__abortController.abort();else{const r=this.keyList[e];this.dispose(t,r,"delete"),this.disposeAfter&&this.disposed.push([t,r,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return s("reset","clear"),this.clear}get length(){return((e,t)=>{const r="LRU_CACHE_PROPERTY_length";if(c(r)){const{prototype:e}=f,{get:t}=Object.getOwnPropertyDescriptor(e,"length");l(r,"length property","cache.size",t)}})(),this.size}}e.exports=f})),st.register("c8FZS",((e,t)=>{var r=st("hvUff");e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}})),st.register("2J2hR",((e,t)=>{var r=st("hvUff");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),st.register("lbfMG",((e,t)=>{var r=st("7qUJS"),n=st("hvUff");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&-1!==s.compare(e)||(o=e,s=new r(o,i)))})),o}})),st.register("5wbuE",((e,t)=>{var r=st("7qUJS"),n=st("hvUff");e.exports=(e,t,i)=>{let o=null,s=null,a=null;try{a=new n(t,i)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&1!==s.compare(e)||(o=e,s=new r(o,i)))})),o}})),st.register("hZRNG",((e,t)=>{var r=st("7qUJS"),n=st("hvUff"),i=st("6KPS4");e.exports=(e,t)=>{e=new n(e,t);let o=new r("0.0.0");if(e.test(o))return o;if(o=new r("0.0.0-0"),e.test(o))return o;o=null;for(let t=0;e.set.length>t;++t){let n=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">=":n&&!i(t,n)||(n=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!n||o&&!i(o,n)||(o=n)}return o&&e.test(o)?o:null}})),st.register("fqnzG",((e,t)=>{var r=st("hvUff");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),st.register("77bPN",((e,t)=>{var r=st("7qUJS"),n=st("eR6XK");const{ANY:i}=n;var o=st("hvUff"),s=st("c8FZS"),a=st("6KPS4"),c=st("lr5pz"),l=st("fwsB7"),u=st("5cRW4");e.exports=(e,t,d,p)=>{let h,f,m,v,g;switch(e=new r(e,p),t=new o(t,p),d){case">":h=a,f=l,m=c,v=">",g=">=";break;case"<":h=c,f=u,m=a,v="<",g="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;t.set.length>r;++r){let o=null,s=null;if(t.set[r].forEach((e=>{e.semver===i&&(e=new n(">=0.0.0")),o=o||e,s=s||e,h(e.semver,o.semver,p)?o=e:m(e.semver,s.semver,p)&&(s=e)})),o.operator===v||o.operator===g)return!1;if((!s.operator||s.operator===v)&&f(e,s.semver))return!1;if(s.operator===g&&m(e,s.semver))return!1}return!0}})),st.register("gD8Tz",((e,t)=>{var r=st("77bPN");e.exports=(e,t,n)=>r(e,t,">",n)})),st.register("bpPww",((e,t)=>{var r=st("77bPN");e.exports=(e,t,n)=>r(e,t,"<",n)})),st.register("cHIUn",((e,t)=>{var r=st("hvUff");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))})),st.register("k8aCs",((e,t)=>{var r=st("c8FZS"),n=st("howpO");e.exports=(e,t,i)=>{const o=[];let s=null,a=null;const c=e.sort(((e,t)=>n(e,t,i)));for(const e of c)r(e,t,i)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);const l=[];for(const[e,t]of o)l.push(e===t?e:t||e!==c[0]?t?e===c[0]?"<="+t:`${e} - ${t}`:">="+e:"*");const u=l.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>u.length?u:t}})),st.register("388OD",((e,t)=>{var r=st("hvUff"),n=st("eR6XK");const{ANY:i}=n;var o=st("c8FZS"),s=st("howpO");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===i){if(1===t.length&&t[0].semver===i)return!0;e=r.includePrerelease?[new n(">=0.0.0-0")]:[new n(">=0.0.0")]}if(1===t.length&&t[0].semver===i){if(r.includePrerelease)return!0;t=[new n(">=0.0.0")]}const a=new Set;let u,d,p,h,f,m,v;for(const t of e)">"===t.operator||">="===t.operator?u=c(u,t,r):"<"===t.operator||"<="===t.operator?d=l(d,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&d){if(p=s(u.semver,d.semver,r),p>0)return null;if(0===p&&(">="!==u.operator||"<="!==d.operator))return null}for(const e of a){if(u&&!o(e,u+"",r))return null;if(d&&!o(e,d+"",r))return null;for(const n of t)if(!o(e,n+"",r))return!1;return!0}let g=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;g&&1===g.prerelease.length&&"<"===d.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(h=c(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!o(u.semver,e+"",r))return!1;if(d)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=l(d,e,r),f===e&&f!==d)return!1}else if("<="===d.operator&&!o(d.semver,e+"",r))return!1;if(!e.operator&&(d||u)&&0!==p)return!1}return!(u&&m&&!d&&0!==p||d&&v&&!u&&0!==p||y||g)},c=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:0>n||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return 0>n?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let i=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,n);if(i=i||null!==t,t)continue e}if(i)return!1}return!0}})),st.register("iFKS7",((e,t)=>{var r=st("joDHm"),n=st("inTPA");e.exports=(e,t,i)=>{var o=t&&i||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;16>a;++a)t[o+a]=s[a];return t||n(s)}})),st.register("joDHm",((e,t)=>{e.exports=()=>Je.randomBytes(16)})),st.register("inTPA",((e,t)=>{for(var r=[],n=0;256>n;++n)r[n]=(n+256).toString(16).substr(1);e.exports=(e,t)=>{var n=t||0;return""+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}})),st.register("ca0ts",(function(e,t){"use strict";function r(e,t,r){return s(this,void 0,void 0,(function*(){const n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const i=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(i,t,r).exec()}))}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),i=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),o=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)&&n(t,e,r);return i(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;const a=o(st("e0fPv"));e.exports.exec=r,e.exports.getExecOutput=function(e,t,n){var i,o;return s(this,void 0,void 0,(function*(){let s="",a="";const c=new Ze.StringDecoder("utf8"),l=new Ze.StringDecoder("utf8"),u=null===(i=null==n?void 0:n.listeners)||void 0===i?void 0:i.stdout,d=null===(o=null==n?void 0:n.listeners)||void 0===o?void 0:o.stderr,p=Object.assign(Object.assign({},null==n?void 0:n.listeners),{stdout(e){s+=c.write(e),u&&u(e)},stderr(e){a+=l.write(e),d&&d(e)}}),h=yield r(e,t,Object.assign(Object.assign({},n),{listeners:p}));return s+=c.end(),a+=l.end(),{exitCode:h,stdout:s,stderr:a}}))}})),st.register("e0fPv",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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 i in e)"default"!==i&&Object.hasOwnProperty.call(e,i)&&r(t,e,i);return n(t,e),t}),o=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const s=i(Ge),a=i(Xe),c=i(Ke),l=i(ze),u=i(st("fvrnx")),d=i(st("2GOko")),p="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(),n=this._getSpawnArgs(e);let i=t?"":"[command]";if(p)if(this._isCmdFile()){i+=r;for(const e of n)i+=" "+e}else if(e.windowsVerbatimArguments){i+=`"${r}"`;for(const e of n)i+=" "+e}else{i+=this._windowsQuoteCmdArg(r);for(const e of n)i+=" "+this._windowsQuoteCmdArg(e)}else{i+=r;for(const e of n)i+=" "+e}return i}_processLineBuffer(e,t,r){try{let n=t+""+e,i=n.indexOf(s.EOL);for(;i>-1;)r(n.substring(0,i)),n=n.substring(i+s.EOL.length),i=n.indexOf(s.EOL);return n}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return p&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(p&&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 n of e)if(t.some((e=>e===n))){r=!0;break}if(!r)return e;let n='"',i=!0;for(let t=e.length;t>0;t--)n+=e[t-1],i&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(i=!0,n+='"'):i=!1;return n+='"',n.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 n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-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 o(this,void 0,void 0,(function*(){return!d.isRooted(this.toolPath)&&(this.toolPath.includes("/")||p&&this.toolPath.includes("\\"))&&(this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise(((e,t)=>o(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)+s.EOL);const n=new h(r,this.toolPath);if(n.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield d.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const i=this._getSpawnFileName(),o=c.spawn(i,this._getSpawnArgs(r),this._getSpawnOptions(this.options,i));let a="";o.stdout&&o.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let l="";if(o.stderr&&o.stderr.on("data",(e=>{n.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),l=this._processLineBuffer(e,l,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),o.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),o.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),o.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{a.length>0&&this.emit("stdline",a),l.length>0&&this.emit("errline",l),o.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){i&&'"'!==e&&(o+="\\"),o+=e,i=!1}const r=[];let n=!1,i=!1,o="";for(let s=0;e.length>s;s++){const a=e.charAt(s);'"'!==a?"\\"===a&&i?t(a):"\\"===a&&n?i=!0:" "!==a||n?t(a):o.length>0&&(r.push(o),o=""):i?t(a):n=!n}return o.length>0&&r.push(o.trim()),r};class h 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=Qe.setTimeout(h.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())}}})),st.register("d0ovd",((e,t)=>{e.exports=Promise.resolve(require("./actions_python.feac98a0.js")).then((()=>st("apy8x")))})),st.register("cReTf",((e,t)=>{function r(e){Array.isArray(e)||(e=[e]);for(const t of e){const{id:e,data:r}=t;c[e]=r}}function n(e,t,r){const n=(e=>{const t=c[e.locale];let r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType),r=Array.from(new Set(r));let n=null;if(r.some((e=>{if(void 0!==t[e])return n=t[e],!0})),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n})(r);return i.pluralize(r.locale,t,n[e]).replace("{0}",t)}var i=st("5FRs7"),o=st("3Zbea");const s=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},c={};e.exports={create(e){return e=Object.assign({},a,e||{}),{format(t,i,a){return((e,t,i)=>{if(((e,t)=>{const{autoload:n}=t;if(!c[e]){if(!o||!n)throw Error(`Missing locale: ${e}, you must load it manually before using it`);(e=>{try{r(require(`../locales/${e}.js`))}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`)}})(e)}})(i.locale,{autoload:i.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");const a=((e,t)=>{let r=t-e;const n=[];return s.some((e=>{const t=e[0],i=e[1],o=Math.floor(r/i);if(r-=o*i,n.push([t,o]),0>=r)return!0})),n})(e,t),l=[];for(const e of a){const[t,r]=e;if(r>0&&l.push(n(t,r,i)),l.length>=i.span)break}return l.join(i.delimiter)})(t,i,a=Object.assign({},e,a||{}))}}},addLocale:r,defaultConfig:a}})),st.register("5FRs7",((e,t)=>{e.exports=st("j5MHF")})),st.register("j5MHF",(function(e,t){var r=ze.resolve(__dirname,"../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){"use strict";function t(e,t,r){if(n(e),"object"!=typeof r)throw Error("List of variants should be specified as an object");var o=i[e](t);return void 0!==r[o]?r[o]:null}function n(e){(e=>void 0!==i[e])(e)||(e=>{try{require(r+"/../locales/"+e+".js")}catch(t){throw Error("Failed to load the following locale: "+e)}})(e)}var i={},o={create(e){return n(e),{pluralize(r,n){return t(e,r,n)}}},addLocale(e,t){i[e]=t},pluralize:t};void 0!==e.exports?e.exports=o:this.numerous=o}).call(e.exports)})),st.register("3Zbea",((e,t)=>{"use strict";e.exports=!("undefined"==typeof process||!process.versions||!process.versions.node)})),e(module.exports,"main",(()=>De)),e(module.exports,"parseArgs",(()=>je)),e(module.exports,"getCompilerInfo",(()=>Ue));var at=st("04fde"),ct={};const lt="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,ut=lt?";":":";var dt,pt={};dt="win32"===process.platform||nt.TESTING_WINDOWS?st("ftrAD"):st("9yF3I"),pt=r,r.sync=(e,t)=>{try{return dt.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const ht=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),ft=(e,t)=>{const r=t.colon||ut,n=e.match(/\//)||lt&&e.match(/\\/)?[""]:[...lt?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],i=lt?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=lt?i.split(r):[""];return lt&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:n,pathExt:o,pathExtExe:i}},mt=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:i,pathExtExe:o}=ft(e,t),s=[],a=r=>new Promise(((i,o)=>{if(r===n.length)return t.all&&s.length?i(s):o(ht(e));const a=n[r],l=/^".*"$/.test(a)?a.slice(1,-1):a,u=ze.join(l,e),d=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;i(c(d,r,0))})),c=(e,r,n)=>new Promise(((l,u)=>{if(n===i.length)return l(a(r+1));const d=i[n];pt(e+d,{pathExt:o},((i,o)=>{if(!i&&o){if(!t.all)return l(e+d);s.push(e+d)}return l(c(e,r,n+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let vt;ct=mt,mt.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:i}=ft(e,t),o=[];for(let s=0;r.length>s;s++){const a=r[s],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=ze.join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;n.length>e;e++){const r=u+n[e];try{if(pt.sync(r,{pathExt:i})){if(!t.all)return r;o.push(r)}}catch(e){}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw ht(e)};var gt,yt={},wt={},xt={},bt={};const Et=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};var St,_t;(bt=Et).default=Et,gt=e=>i(e)||i(e,!0);const Ot=/([()\][%!^"`<>&|;, *?])/g;St=e=>e.replace(Ot,"^$1"),_t=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Ot,"^$1"),t&&(e=e.replace(Ot,"^$1")),e);var $t,Tt,Ct;Tt=/^#!(.*)/,$t=(e="")=>{const t=e.match(Tt);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),i=r.split("/").pop();return"env"===i?n:n?`${i} ${n}`:i},Ct=e=>{const t=Buffer.alloc(150);let r;try{r=Be.openSync(e,"r"),Be.readSync(r,t,0,150,0),Be.closeSync(r)}catch(e){}return $t(""+t)};const Rt="win32"===process.platform,It=/\.(?:com|exe)$/i,Pt=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;xt=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:(e=>{if(!Rt)return e;const t=(e=>{e.file=gt(e);const t=e.file&&Ct(e.file);return t?(e.args.unshift(e.file),e.command=t,gt(e)):e.file})(e),r=!It.test(t);if(e.options.forceShell||r){const r=Pt.test(t);e.command=ze.normalize(e.command),e.command=St(e.command),e.args=e.args.map((e=>_t(e,r)));const n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(n)};var At={};const Nt="win32"===process.platform;var kt;At={hookChildProcess(e,t){if(!Nt)return;const r=e.emit;e.emit=function(n,i){if("exit"===n){const n=s(i,t);if(n)return r.call(e,"error",n)}return r.apply(e,arguments)}},verifyENOENT:s,verifyENOENTSync(e,t){return Nt&&1===e&&!t.file?o(t.original,"spawnSync"):null},notFoundError:o},(wt=a).spawn=a,wt.sync=(e,t,r)=>{const n=xt(e,t,r),i=Ke.spawnSync(n.command,n.args,n.options);return i.error=i.error||At.verifyENOENTSync(i.status,n),i},wt._parse=xt,wt._enoent=At,kt=e=>{const t="string"==typeof e?"\r":13;return e[e.length-1]===("string"==typeof e?"\n":10)&&(e=e.slice(0,e.length-1)),e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e};var Lt={};const Dt=e=>{let t;e={cwd:process.cwd(),path:process.env[bt()],execPath:process.execPath,...e};let r=ze.resolve(e.cwd);const n=[];for(;t!==r;)n.push(ze.join(r,"node_modules/.bin")),t=r,r=ze.resolve(r,"..");const i=ze.resolve(e.cwd,e.execPath,"..");return n.push(i),n.concat(e.path).join(ze.delimiter)};(Lt=Dt).default=Dt,Lt.env=e=>{const t={...(e={env:process.env,...e}).env},r=bt({env:t});return e.path=t[r],t[r]=Lt(e),t};var jt={},Ut={};const Mt=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(Ut=Mt).default=Mt;const Ft=new WeakMap,Gt=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,n=0;const i=e.displayName||e.name||"",o=function(...s){if(Ft.set(o,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${i}\` can only be called once`);return r};return Ut(o,e),Ft.set(o,n),o};(jt=Gt).default=Gt,jt.callCount=e=>{if(!Ft.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return Ft.get(e)};var zt,Bt={};Object.defineProperty(Bt,"__esModule",{value:!0}),Bt.signalsByNumber=Bt.signalsByName=void 0;var Ht={};Object.defineProperty(Ht,"__esModule",{value:!0}),Ht.getSignals=void 0;var qt={};Object.defineProperty(qt,"__esModule",{value:!0}),qt.SIGNALS=void 0,qt.SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.SIGRTMAX=Vt.getRealtimeSignals=void 0,Vt.getRealtimeSignals=()=>Array.from({length:Wt-Yt+1},Xt);const Xt=(e,t)=>({name:"SIGRT"+(t+1),number:Yt+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),Yt=34,Wt=64;Vt.SIGRTMAX=Wt,Ht.getSignals=()=>{const e=(0,Vt.getRealtimeSignals)();return[...qt.SIGNALS,...e].map(Kt)};const Kt=({name:e,number:t,description:r,action:n,forced:i=!1,standard:o})=>{const{signals:{[e]:s}}=Ge.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:i,standard:o}},Jt=(0,Ht.getSignals)().reduce(((e,{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a})=>({...e,[t]:{name:t,number:r,description:n,supported:i,action:o,forced:s,standard:a}})),{});Bt.signalsByName=Jt;const Zt=(()=>{const e=(0,Ht.getSignals)(),t=Array.from({length:Vt.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>Ge.constants.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:n,description:i,supported:o,action:s,forced:a,standard:c}=r;return{[e]:{name:n,number:e,description:i,supported:o,action:s,forced:a,standard:c}}})(r,e)));return Object.assign({},...t)})();Bt.signalsByNumber=Zt;var Qt=Bt.signalsByName;zt=({stdout:e,stderr:t,all:r,error:n,signal:i,exitCode:o,command:s,escapedCommand:a,timedOut:c,isCanceled:l,killed:u,parsed:{options:{timeout:d}}})=>{const p=void 0===(i=null===i?void 0:i)?void 0:Qt[i].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:i,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${i})`:void 0!==o?"failed with exit code "+o:"failed")({timedOut:c,timeout:d,errorCode:n&&n.code,signal:i,signalDescription:p,exitCode:o=null===o?void 0:o,isCanceled:l}),f=`Command ${h}: ${s}`,m="[object Error]"==={}.toString.call(n),v=m?`${f}\n${n.message}`:f,g=[v,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=g):n=Error(g),n.shortMessage=v,n.command=s,n.escapedCommand=a,n.exitCode=o,n.signal=i,n.signalDescription=p,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!c,n.isCanceled=l,n.killed=u&&!c,n};var er={};const tr=["stdin","stdout","stderr"],rr=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return tr.map((t=>e[t]));if((e=>tr.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+tr.map((e=>`\`${e}\``)).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,tr.length)},((e,r)=>t[r]))};(er=rr).node=e=>{const t=rr(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var nr,ir={},or=nt.process;const sr=e=>e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;if(sr(or)){var ar,cr=Ye,lr=st("bJALw"),ur=/^win/i.test(or.platform),dr=Xe;"function"!=typeof dr&&(dr=dr.EventEmitter),or.__signal_exit_emitter__?ar=or.__signal_exit_emitter__:((ar=or.__signal_exit_emitter__=new dr).count=0,ar.emitted={}),ar.infinite||(ar.setMaxListeners(1/0),ar.infinite=!0),ir=(e,t)=>{if(!sr(nt.process))return()=>{};cr.equal(typeof e,"function","a callback must be provided for exit handler"),!1===mr&&vr();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),ar.on(r,e),()=>{ar.removeListener(r,e),0===ar.listeners("exit").length&&0===ar.listeners("afterexit").length&&pr()}};var pr=()=>{mr&&sr(nt.process)&&(mr=!1,lr.forEach((e=>{try{or.removeListener(e,fr[e])}catch(e){}})),or.emit=wr,or.reallyExit=gr,ar.count-=1)};ir.unload=pr;var hr=(e,t,r)=>{ar.emitted[e]||(ar.emitted[e]=!0,ar.emit(e,t,r))},fr={};lr.forEach((e=>{fr[e]=()=>{sr(nt.process)&&or.listeners(e).length===ar.count&&(pr(),hr("exit",null,e),hr("afterexit",null,e),ur&&"SIGHUP"===e&&(e="SIGINT"),or.kill(or.pid,e))}})),ir.signals=()=>lr;var mr=!1,vr=()=>{!mr&&sr(nt.process)&&(mr=!0,ar.count+=1,lr=lr.filter((e=>{try{return or.on(e,fr[e]),!0}catch(e){return!1}})),or.emit=xr,or.reallyExit=yr)};ir.load=vr;var gr=or.reallyExit,yr=e=>{sr(nt.process)&&(or.exitCode=e||0,hr("exit",or.exitCode,null),hr("afterexit",or.exitCode,null),gr.call(or,or.exitCode))},wr=or.emit,xr=function(e,t){if("exit"===e&&sr(nt.process)){void 0!==t&&(or.exitCode=t);var r=wr.apply(this,arguments);return hr("exit",or.exitCode,null),hr("afterexit",or.exitCode,null),r}return wr.apply(this,arguments)}}else ir=()=>()=>{};const br=e=>e===Ge.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var Er,Sr=(nr={spawnedKill(e,t="SIGTERM",r={}){const n=e(t);return((e,t,r,n)=>{if(!((e,{forceKillAfterTimeout:t},r)=>br(e)&&!1!==t&&r)(t,r,n))return;const i=(({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||0>e)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e})(r),o=setTimeout((()=>{e("SIGKILL")}),i);o.unref&&o.unref()})(e,t,r,n),n},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){if(0===t||void 0===t)return n;let i;const o=new Promise(((n,o)=>{i=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,o)}),t)})),s=n.finally((()=>{clearTimeout(i)}));return Promise.race([o,s])},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||0>e))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},async setExitHandler(e,{cleanup:t,detached:r},n){if(!t||r)return n;const i=ir((()=>{e.kill()}));return n.finally((()=>{i()}))}}).spawnedKill,_r=nr.spawnedCancel,Or=nr.setupTimeout,$r=nr.validateTimeout,Tr=nr.setExitHandler,Cr={};const Rr=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;Rr.writable=e=>Rr(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,Rr.readable=e=>Rr(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,Rr.duplex=e=>Rr.writable(e)&&Rr.readable(e),Rr.transform=e=>Rr.duplex(e)&&"function"==typeof e._transform,Cr=Rr;var Ir,Pr={},Ar=et.constants,Nr=tt.PassThrough;Ir=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const n="buffer"===r;let i=!1;t?i=!(r||n):r=r||"utf8",n&&(r=null);const o=new Nr({objectMode:i});r&&o.setEncoding(r);let s=0;const a=[];return o.on("data",(e=>{a.push(e),i?s=a.length:s+=e.length})),o.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o};const kr=(0,We.promisify)(tt.pipeline);class Lr extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(Pr=c).buffer=(e,t)=>c(e,{...t,encoding:"buffer"}),Pr.array=(e,t)=>c(e,{...t,array:!0}),Pr.MaxBufferError=Lr;var Dr,jr=tt.PassThrough;Dr=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(n.push(t),t.once("end",r.bind(null,t)),t.once("error",i.emit.bind(i,"error")),t.pipe(i,{end:!1}),this)}function t(){return 0==n.length}function r(e){!(n=n.filter((t=>t!==e))).length&&i.readable&&i.end()}var n=[],i=new jr({objectMode:!0});return i.setMaxListeners(0),i.add=e,i.isEmpty=t,i.on("unpipe",r),[].slice.call(arguments).forEach(e),i};const Ur=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},Mr=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?Pr(e,{encoding:t,maxBuffer:n}):Pr.buffer(e,{maxBuffer:n})};var Fr,Gr=(Er={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(Cr(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=Dr();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:n,buffer:i,maxBuffer:o},s){const a=Mr(e,{encoding:n,buffer:i,maxBuffer:o}),c=Mr(t,{encoding:n,buffer:i,maxBuffer:o}),l=Mr(r,{encoding:n,buffer:i,maxBuffer:2*o});try{return await Promise.all([s,a,c,l])}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},Ur(e,a),Ur(t,c),Ur(r,l)])}},validateInputSync({input:e}){if(Cr(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,zr=Er.getSpawnedResult,Br=Er.makeAllStream,Hr=Er.validateInputSync;const qr=(async()=>{})().constructor.prototype,Vr=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(qr,e)]));var Xr,Yr=(Fr={mergePromise(e,t){for(const[r,n]of Vr){const i="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:i})}return e},getSpawnedPromise(e){return new Promise(((t,r)=>{e.on("exit",((e,r)=>{t({exitCode:e,signal:r})})),e.on("error",(e=>{r(e)})),e.stdin&&e.stdin.on("error",(e=>{r(e)}))}))}}).mergePromise,Wr=Fr.getSpawnedPromise;const Kr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],Jr=/^[\w.-]+$/,Zr=/"/g,Qr=/ +/g;var en=(Xr={joinCommand(e,t){return Kr(e,t).join(" ")},getEscapedCommand(e,t){return Kr(e,t).map((e=>(e=>"string"!=typeof e||Jr.test(e)?e:`"${e.replace(Zr,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(Qr)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,tn=Xr.parseCommand,rn=Xr.getEscapedCommand;const nn=(e,t,r={})=>{const n=wt._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r}).env=(({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:i})=>{const o=t?{...process.env,...e}:e;return r?Lt.env({env:o,cwd:n,execPath:i}):o})(r),r.stdio=er(r),"win32"===process.platform&&"cmd"===ze.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},on=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?kt(t):t:void 0===r?void 0:"",sn=(e,t,r)=>{const n=nn(e,t,r),i=en(e,t),o=rn(e,t);let s;$r(n.options);try{s=Ke.spawn(n.file,n.args,n.options)}catch(e){const t=new Ke.ChildProcess,r=Promise.reject(zt({error:e,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return Yr(t,r)}const a=Wr(s),c=Or(s,n.options,a),l=Tr(s,n.options,c),u={isCanceled:!1};s.kill=Sr.bind(null,s.kill.bind(s)),s.cancel=_r.bind(null,s,u);const d=jt((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,d,p]=await zr(s,n.options,l),h=on(n.options,c),f=on(n.options,d),m=on(n.options,p);if(e||0!==t||null!==r){const c=zt({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:i,escapedCommand:o,parsed:n,timedOut:a,isCanceled:u.isCanceled,killed:s.killed});if(!n.options.reject)return c;throw c}return{command:i,escapedCommand:o,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return Gr(s,n.options.input),s.all=Br(s,n.options),Yr(s,d)};(yt=sn).sync=(e,t,r)=>{const n=nn(e,t,r),i=en(e,t),o=rn(e,t);let s;Hr(n.options);try{s=Ke.spawnSync(n.file,n.args,n.options)}catch(e){throw zt({error:e,stdout:"",stderr:"",all:"",command:i,escapedCommand:o,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const a=on(n.options,s.stdout,s.error),c=on(n.options,s.stderr,s.error);if(s.error||0!==s.status||null!==s.signal){const e=zt({stdout:a,stderr:c,error:s.error,signal:s.signal,exitCode:s.status,command:i,escapedCommand:o,parsed:n,timedOut:s.error&&"ETIMEDOUT"===s.error.code,isCanceled:!1,killed:null!==s.signal});if(!n.options.reject)return e;throw e}return{command:i,escapedCommand:o,exitCode:0,stdout:a,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},yt.command=(e,t)=>{const[r,...n]=tn(e);return sn(r,n,t)},yt.commandSync=(e,t)=>{const[r,...n]=tn(e);return sn.sync(r,n,t)},yt.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const n=er.node(r),i=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:o=process.execPath,nodeOptions:s=i}=r;return sn(o,[...s,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})},at=st("04fde");var an,cn=st("gmbrv");at=st("04fde"),cn=st("gmbrv");const ln=Ge.homedir();an=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return ln?e.replace(/^~(?=$|\/|\\)/,ln):e};var un=st("ditiY");let dn;var pn;const hn="win32"!==Ge.platform(),fn=Ge.release(),mn=/(\d+\.\d+)\.(\d+)/;pn=e=>hn?e.replace(/(\s+)/g,"\\$1"):((e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184)(...mn.exec(fn).splice(1))?e:e.replace(/(\s+)/g,"%20");const vn=d(".cpprc");let gn=!1,yn=!1,wn=!1;un=st("ditiY");let xn=!1,bn=!1;at=st("04fde");let En,Sn=!1;at=st("04fde"),un=st("ditiY");let _n,On,$n,Tn=!1;un=st("ditiY");var Cn=st("fvrnx"),Rn=(un=st("ditiY"),{}),In=ze.resolve(__dirname,"../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),Pn=Rn&&Rn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),An=Rn&&Rn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Nn=Rn&&Rn.__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)&&Pn(t,e,r);return An(t,e),t}),kn=Rn&&Rn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))),Ln=Rn&&Rn.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Rn,"__esModule",{value:!0}),Rn.evaluateVersions=Rn.isExplicitVersion=Rn.findFromManifest=Rn.getManifestFromRepo=Rn.findAllVersions=Rn.find=Rn.cacheFile=Rn.cacheDir=Rn.extractZip=Rn.extractXar=Rn.extractTar=Rn.extract7z=Rn.downloadTool=Rn.HTTPError=void 0;const Dn=Nn(st("04fde")),jn=Nn(st("fvrnx")),Un=Nn(Be),Mn=Nn(st("6kHxT")),Fn=Nn(Ge),Gn=Nn(ze),zn=Nn(st("4z9RF")),Bn=Nn(st("4URNm")),Hn=Nn(tt),qn=Nn(We),Vn=Ln(st("iFKS7"));var Xn=st("ca0ts"),Yn={},Wn=Yn&&Yn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),Kn=Yn&&Yn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Jn=Yn&&Yn.__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)&&Wn(t,e,r);return Kn(t,e),t}),Zn=Yn&&Yn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(Yn,"__esModule",{value:!0}),Yn.RetryHelper=void 0;const Qn=Jn(st("04fde"));Yn.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 Zn(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;Qn.info(e.message)}const n=this.getSleepAmount();Qn.info(`Waiting ${n} seconds before trying again`),yield this.sleep(n),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Zn(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class ei extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Rn.HTTPError=ei;const ti="win32"===process.platform,ri="darwin"===process.platform;let ni;Rn.downloadTool=function(e,t,r,n){return kn(this,void 0,void 0,(function*(){t=t||Gn.join(B(),Vn.default()),yield jn.mkdirP(Gn.dirname(t)),Dn.debug("Downloading "+e),Dn.debug("Destination "+t);const i=H("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=H("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new Yn.RetryHelper(3,i,o);return yield s.execute((()=>kn(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return kn(this,void 0,void 0,(function*(){if(Un.existsSync(t))throw Error(`Destination file path ${t} already exists`);const i=new zn.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Dn.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const o=yield i.get(e,n);if(200!==o.message.statusCode){const t=new ei(o.message.statusCode);throw Dn.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t}const s=qn.promisify(Hn.pipeline),a=H("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>o.message))();let c=!1;try{return yield s(a,Un.createWriteStream(t)),Dn.debug("download complete"),c=!0,t}finally{if(!c){Dn.debug("download failed");try{yield jn.rmRF(t)}catch(e){Dn.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof ei&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Rn.extract7z=function(e,t,r){return kn(this,void 0,void 0,(function*(){Ye.ok(ti,"extract7z() not supported on current OS"),Ye.ok(e,'parameter "file" is required'),t=yield j(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",Dn.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],i={silent:!0};yield Xn.exec(`"${r}"`,t,i)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Gn.join(In,"..","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,"")}'`],i={silent:!0};try{const e=yield jn.which("powershell",!0);yield Xn.exec(`"${e}"`,r,i)}finally{process.chdir(n)}}return t}))},Rn.extractTar=function(e,t,r="xz"){return kn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield j(t),Dn.debug("Checking tar --version");let n="";yield Xn.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return n+=""+e},stderr(e){return n+=""+e}}}),Dn.debug(n.trim());const i=n.toUpperCase().includes("GNU TAR");let o;o=r instanceof Array?r:[r],Dn.isDebug()&&!r.includes("v")&&o.push("-v");let s=t,a=e;return ti&&i&&(o.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),i&&(o.push("--warning=no-unknown-keyword"),o.push("--overwrite")),o.push("-C",s,"-f",a),yield Xn.exec("tar",o),t}))},Rn.extractXar=function(e,t,r=[]){return kn(this,void 0,void 0,(function*(){let n;Ye.ok(ri,"extractXar() not supported on current OS"),Ye.ok(e,'parameter "file" is required'),t=yield j(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),Dn.isDebug()&&n.push("-v");const i=yield jn.which("xar",!0);var o;return yield Xn.exec(`"${i}"`,(o=n,Array.from(new Set(o)))),t}))},Rn.extractZip=function(e,t){return kn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield j(t),ti?yield function(e,t){return kn(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=yield jn.which("pwsh",!1);if(i){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}', '${n}', $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 '${n}' -Force } else { throw $_ } } ;`].join(" ")];Dn.debug("Using pwsh at path: "+i),yield Xn.exec(`"${i}"`,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 '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield jn.which("powershell",!0);Dn.debug("Using powershell at path: "+t),yield Xn.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return kn(this,void 0,void 0,(function*(){const r=yield jn.which("unzip",!0),n=[e];Dn.isDebug()||n.unshift("-q"),n.unshift("-o"),yield Xn.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))},Rn.cacheDir=function(e,t,r,n){return kn(this,void 0,void 0,(function*(){if(r=Bn.clean(r)||r,n=n||Fn.arch(),Dn.debug(`Caching tool ${t} ${r} ${n}`),Dn.debug("source dir: "+e),!Un.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const i=yield U(t,r,n);for(const t of Un.readdirSync(e)){const r=Gn.join(e,t);yield jn.cp(r,i,{recursive:!0})}return M(t,r,n),i}))},Rn.cacheFile=function(e,t,r,n,i){return kn(this,void 0,void 0,(function*(){if(n=Bn.clean(n)||n,i=i||Fn.arch(),Dn.debug(`Caching tool ${r} ${n} ${i}`),Dn.debug("source file: "+e),!Un.statSync(e).isFile())throw Error("sourceFile is not a file");const o=yield U(r,n,i),s=Gn.join(o,t);return Dn.debug("destination file "+s),yield jn.cp(e,s),M(r,n,i),o}))},Rn.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||Fn.arch(),F(t)||(t=G(D(e,r),t));let n="";if(t){t=Bn.clean(t)||"";const i=Gn.join(z(),e,t,r);Dn.debug("checking cache: "+i),Un.existsSync(i)&&Un.existsSync(i+".complete")?(Dn.debug(`Found tool in cache ${e} ${t} ${r}`),n=i):Dn.debug("not found")}return n},Rn.findAllVersions=D,Rn.getManifestFromRepo=function(e,t,r,n="master"){return kn(this,void 0,void 0,(function*(){let i=[];const o=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new zn.HttpClient("tool-cache"),a={};r&&(Dn.debug("set auth"),a.authorization=r);const c=yield s.getJson(o,a);if(!c.result)return i;let l="";for(const e of c.result.tree)if("versions-manifest.json"===e.path){l=e.url;break}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{i=JSON.parse(u)}catch(e){Dn.debug("Invalid json")}}return i}))},Rn.findFromManifest=function(e,t,r,n=Fn.arch()){return kn(this,void 0,void 0,(function*(){return yield Mn._findMatch(e,t,r,n)}))},Rn.isExplicitVersion=F,Rn.evaluateVersions=G,at=st("04fde"),cn=st("gmbrv");let ii=!1;var oi=st("fwsB7"),si=st("1YYsi"),ai=(Xn=st("ca0ts"),at=st("04fde"),cn=st("gmbrv"),un=st("ditiY"),st("howpO")),ci=(si=st("1YYsi"),st("fVzwP"));Xn=st("ca0ts"),un=st("ditiY");const li=/v?(\d\S*)/,ui={llvm:"13.0.0",clangtidy:"13.0.0",clangformat:"13.0.0",ninja:"1.11.0",cmake:"3.23.2",gcovr:"5.1",conan:"1.50.0",meson:"0.63.0",kcov:"40",task:"3.14.0",doxygen:C()?"1.9.3-1":"1.9.4",gcc:"11"},di={llvm:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},gcovr:{20:"5.1",18:"5.0"},meson:{20:"0.63.0",18:"0.61.4"},doxygen:{20:"1.9.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"40",20:"40-binary",18:"40",16:"40",14:"40"}};let pi,hi,fi=!1;un=st("ditiY"),oi=st("fwsB7");var mi=st("fB2B7"),vi=(Xn=st("ca0ts"),un=st("ditiY"),at=st("04fde"),un=st("ditiY"),cn=st("gmbrv"),mi=st("fB2B7"),si=st("1YYsi"),un=st("ditiY"),cn=st("gmbrv"),ze.resolve(__dirname,"../src/gcc"));const gi={12:{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.4-10.0.0-msvcrt-r2",fileSuffix:"12.1.0-mingw-w64msvcrt-10.0.0-r2"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};var yi=ze.resolve(__dirname,"../src/llvm");const wi=(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","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6"]),xi=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"]),bi=new Map,Ei={"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":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04"},Si=new Set(["10.0.1"]);let _i=!1;var Oi,$i,Ti,Ci={},Ri=Ci&&Ci.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((i,o)=>{function s(e){try{c(n.next(e))}catch(e){o(e)}}function a(e){try{c(n.throw(e))}catch(e){o(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))),Ii=Ci&&Ci.__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(Ci,"__esModule",{value:!0});var Pi={},Ai=Pi&&Pi.__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(Pi,"__esModule",{value:!0});const Ni=Ai(Ge);var ki={};Object.defineProperty(ki,"__esModule",{value:!0}),ki.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),Pi.issueCommand=we,Pi.issue=(e,t="")=>{we(e,{},t)};class Li{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 n in this.properties)if(this.properties.hasOwnProperty(n)){const i=this.properties[n];i&&(r?r=!1:e+=",",e+=`${n}=${t=i,ki.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>ki.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}var Di={},ji=Di&&Di.__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(Di,"__esModule",{value:!0});const Ui=ji(Be),Mi=ji(Ge);Di.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!Ui.existsSync(r))throw Error("Missing file at path: "+r);Ui.appendFileSync(r,`${ki.toCommandValue(t)}${Mi.EOL}`,{encoding:"utf8"})};const Fi=Ii(Ge),Gi=Ii(ze);var zi,Bi;(Bi=zi=Ci.ExitCode||(Ci.ExitCode={}))[Bi.Success=0]="Success",Bi[Bi.Failure=1]="Failure",Ci.exportVariable=(e,t)=>{const r=ki.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";Di.issueCommand("ENV",`${e}<<${t}${Fi.EOL}${r}${Fi.EOL}${t}`)}else Pi.issueCommand("set-env",{name:e},r)},Ci.setSecret=e=>{Pi.issueCommand("add-mask",{},e)},Ci.addPath=e=>{process.env.GITHUB_PATH?Di.issueCommand("PATH",e):Pi.issueCommand("add-path",{},e),process.env.PATH=`${e}${Gi.delimiter}${process.env.PATH}`},Ci.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()},Ci.setOutput=(e,t)=>{Pi.issueCommand("set-output",{name:e},t)},Ci.setCommandEcho=e=>{Pi.issue("echo",e?"on":"off")},Ci.setFailed=e=>{process.exitCode=zi.Failure,xe(e)},Ci.isDebug=()=>"1"===process.env.RUNNER_DEBUG,Ci.debug=e=>{Pi.issueCommand("debug",{},e)},Ci.error=xe,Ci.warning=e=>{Pi.issue("warning",e instanceof Error?""+e:e)},Ci.info=e=>{process.stdout.write(e+Fi.EOL)},Ci.startGroup=be,Ci.endGroup=Ee,Ci.group=function(e,t){return Ri(this,void 0,void 0,(function*(){let r;be(e);try{r=yield t()}finally{Ee()}return r}))},Ci.saveState=(e,t)=>{Pi.issueCommand("save-state",{name:e},t)},Ci.getState=e=>process.env["STATE_"+e]||"";const Hi=rt.env["ProgramFiles(x86)"],qi=[rt.env["ProgramFiles(x86)"],rt.env.ProgramFiles],Vi=["Enterprise","Professional","Community"],Xi=["2022","2019","2017"],Yi={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};Oi=Se;const Wi=Hi+"\\Microsoft Visual Studio\\Installer";$i=Oe,Ti=(e,t,r,n,i,o)=>{if("win32"!=rt.platform)return void Ci.info("This is not a Windows virtual environment, bye!");rt.env.PATH+=ze.delimiter+Wi;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==i&&a.push("-vcvars_spectre_libs=spectre");const c=`"${Oe(o)}" ${a.join(" ")}`;Ci.debug("vcvars command-line: "+c);const l=(""+Ke.execSync(`set && cls && ${c} && cls && set`,{shell:"cmd"})).split("\f"),u=l[0].split("\r\n"),d=l[1].split("\r\n"),p=l[2].split("\r\n"),h=d.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(h.length>0)throw Error("invalid parameters\r\n"+h.join("\r\n"));let f={};for(let e of u){const[t,r]=e.split("=");f[t]=r}Ci.startGroup("Environment variables");for(let e of p){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==f[t]&&(Ci.info("Setting "+t),$e(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),Ci.exportVariable(t,r))}Ci.endGroup(),Ci.info("Configured Developer Command Prompt")},un=st("ditiY"),cn=st("gmbrv"),un=st("ditiY");var Ki,Ji=ze.resolve(__dirname,"../src/msvc"),Zi=(cn=st("gmbrv"),{});Zi=st("cReTf"),Ki={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}};var Qi=st("5FRs7"),eo={};st("j5MHF").addLocale("en",(e=>{var t=Math.floor(Math.abs(e)),r=(""+e).replace(/^[^.]*\.?/,"").length;return"string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r?"one":"other"}));var to={};Object.defineProperty(to,"__esModule",{value:!0}),to.getUbuntuVersion=void 0,to.getUbuntuVersion=async()=>{if("linux"!==process.platform)return[];const e=await(t="lsb_release",r=["-a"],new Promise(((e,n)=>{Ke.execFile(t,r,{encoding:"utf8",shell:!1},((i,o,s)=>{if(i)return"errno"in i&&"ENOENT"===i.code?void e(null):void n(Error(`Could not execute \`${t} ${r.join(" ")}\`: ${i} (stderr=${s})`));e(o)}))})));var t,r;if(null===e)return[];const n=/^Distributor ID:\s*(.+)$/,i=/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/,o=/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/;let s=null,a=null,c=!1;for(const t of e.split("\n")){const e=t.match(n);if(null!==e){if("Ubuntu"!==e[1])return[];c=!0}const r=t.match(i);r&&(s=r);const l=t.match(o);if(l&&(a=l),c&&s&&a)break}if(!c)return[];for(const e of[s,a])if(e){const t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map((e=>parseInt(e,10)))}return[]},ci=st("fVzwP"),un=st("ditiY"),un=st("ditiY");let ro,no=!1;un=st("ditiY");const io={async nala(e,r,n){if(!P())return;if("string"==typeof ro)return{binDir:ro};const i=t(ct).sync("nala",{nothrow:!0});if(null!==i)return ro=(0,ze.dirname)(i),{binDir:ro};u("/bin/bash",["-c",`echo "deb [signed-by=${await E("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key")}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await y("nala",void 0,[],!0):await y("nala-legacy",void 0,[],!0)}catch(e){await y("nala-legacy",void 0,[],!0)}return ro="/usr/bin",{binDir:ro}},cmake:Z,ninja:Ie,python:Q,async vcpkg(e,r,n){return no&&null!==t(ct).sync("vcpkg",{nothrow:!0})?{binDir:(0,ze.dirname)(t(ct).sync("vcpkg"))}:("linux"===process.platform&&(C()?(_("curl"),_("zip"),_("unzip"),_("tar"),_("git"),_("pkg-config")):R()?(I("curl"),I("zip"),I("unzip"),I("tar"),I("git"),I("pkg-config")):P()&&(await y("curl"),await y("zip"),await y("unzip"),await y("tar"),await y("git"),await y("pkg-config"))),(0,Be.existsSync)((0,ze.join)(r,N("bootstrap-vcpkg")))?(0,un.notice)(`Vcpkg folder already exists at ${r}. This might mean that ~/vcpkg is restored from the cache.`):t(yt).sync("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,ze.dirname)(r),stdio:"inherit"}),t(yt).sync(N((i="bootstrap-vcpkg","win32"===process.platform?i:"./"+i)),{cwd:r,shell:!0,stdio:"inherit"}),L(r),await f(r),no=!0,{binDir:r});var i},async bazel(e,t,r){switch(process.platform){case"win32":return T("bazelisk",e);case"darwin":return O("bazelisk",e);case"linux":if(C())throw Error("installing bazel on Arch linux is not supported yet");if(R())return I("dnf-plugins-core",void 0),u("dnf",["copr","enable","vbatts/bazel"]),I("bazel4",void 0);if(P())return u("bash",["-c",`echo "deb [arch=amd64 signed-by=${await E("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg")}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),y("bazel",e,[],!0);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async conan(e,t,r){return await oe("setuptools",""),oe("conan",e)},meson(e,t,r){return oe("meson",e)},gcovr(e,t,r){return oe("gcovr",e)},async opencppcoverage(e,t,r){if("win32"===process.platform)return await T("opencppcoverage",e),{binDir:await(async()=>{const e="C:/Program Files/OpenCppCoverage";return await f(e),e})()}},llvm:me,gcc:ue,choco:$,brew:n,ccache(e,t,r){switch(process.platform){case"win32":return T("ccache",e);case"darwin":return O("ccache",e);case"linux":if(C())return _("ccache",e);if(R())return I("ccache",e);if(P())return y("ccache",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await T("doxygen.install",e);const t={binDir:await(async()=>{if("win32"===process.platform){for(const e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if((0,Be.existsSync)((0,ze.join)(e,"doxygen.exe")))return await f(e),e;throw Error("Failed to find doxygen binary")}throw Error("Unsupported platform")})()};return await se(ne("graphviz",void 0)),t}case"darwin":{const e=O("doxygen",void 0);return await se(ne("graphviz",void 0)),e}case"linux":{let n;if(""===e||C()||R())if(C())n=_("doxygen",e);else{if(R())return I("doxygen",e);if(!P())throw Error("Unsupported linux distributions");n=await y("doxygen",e)}else{if(!P())throw Error("Unsupported linux distributions");try{n=await W("doxygen",e,ae,t,r),await y("libclang-cpp9")}catch(e){(0,un.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await y("doxygen",void 0)}}return await se(ne("graphviz",void 0)),n}default:throw Error("Unsupported platform")}},graphviz:se,async cppcheck(e,t,r){switch(process.platform){case"win32":return await T("cppcheck",e),{binDir:await(async()=>{const e="C:/Program Files/Cppcheck";return await f(e),e})()};case"darwin":return O("cppcheck",e);case"linux":if(C())return _("cppcheck",e);if(R())return I("ccache",e);if(P())return y("cppcheck",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},clangtidy:ge,clangformat:ge,msvc:Ce,vcvarsall:Te,async kcov(e,t,r){if("linux"!==process.platform)return void(0,un.info)("Kcov is not supported on non-linux");const n=e.split("-");let i=(e=>e.match(/^v/)?e:"v"+e)(n[0]);const o=n[1],s=(e=>parseInt(e.replace(/^v/,""),10))(i);let a;return 38===s&&(i="v38"),"binary"!==o||39>s?(a=await W("kcov",i,ke,t,r),a):(a=await W("kcov",i,Ne,t,r),C()?_("binutils"):R()?I("binutils"):P()&&await y("libbinutils"),a)},async make(e,t,r){switch(process.platform){case"win32":return T("make",e);case"darwin":return O("make",e),await f("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(C())return _("make",e);if(R())return I("make",e);if(P())return y("make",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},task(e,t,r){return W("task",e,K,t,r)},sevenzip:k},oo=["nala","choco","brew","python","vcpkg","bazel","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","graphviz","cppcheck","clangtidy","clangformat","llvm","gcc","msvc","vcvarsall","kcov","make","task","sevenzip"],so=["compiler","architecture",...oo];De(process.argv).then((e=>{process.exitCode=e})).catch((e=>{(0,un.error)("main() panicked!"),(0,un.error)(e),process.exitCode=1})); +function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}function r(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((n,o)=>{r(e,t||{},((e,t)=>{e?o(e):n(t)}))}))}Ot(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),n(e,r)}))}function n(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof Pt)return{binDir:Pt};const o=t(Et).sync("brew",{nothrow:!0});return null!==o?(Pt=(0,tt.dirname)(o),{binDir:Pt}):((0,lt.execFileSync)('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),Pt="/usr/local/bin/",{binDir:Pt})}function o(e,t){const r=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,i=o&&void 0!==process.chdir&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch(e){}let s;try{s=Et.sync(e.command,{path:r[Lt({env:r})],pathExt:t?tt.delimiter:void 0})}catch(e){}finally{i&&process.chdir(n)}return s&&(s=tt.resolve(o?e.options.cwd:"",s)),s}function i(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function s(e,t){return Wt&&1===e&&!t.file?i(t.original,"spawn"):null}function a(e,t,r){const n=kt(e,t,r),o=lt.spawn(n.command,n.args,n.options);return Vt.hookChildProcess(o,n),o}async function c(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=Hr(t);return await new Promise(((t,o)=>{const i=e=>{e&&n.getBufferedLength()<=Vr.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e)};(async()=>{try{await Xr(e,n),t()}catch(e){i(e)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&i(new Yr)}))})),n.getBufferedValue()}function l(){return(!!process.env.CI||0===(null===(e=process.getuid)||void 0===e?void 0:e.call(process)))&&null!==t(Et).sync("sudo",{nothrow:!0});var e}function u(e,r=[],n={stdio:"inherit",shell:!0}){return l()?t(It).commandSync("sudo "+[e,...r].map((e=>`'${e}'`)).join(" "),n):t(It).sync(e,r,n)}function p(e){return l()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?(0,tt.join)("/Users/",process.env.SUDO_USER,e):(0,tt.join)("/home/",process.env.SUDO_USER,e):t(bn)("~/"+e)}function d(e,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return t(It)((()=>{if(void 0===On){const e=t(Et).sync("pwsh",{nothrow:!0});null!==e&&(On=e);const r=t(Et).sync("powershell",{nothrow:!0});null!==r&&(On=r)}if(void 0===On)throw Error("Could not find powershell");return On})(),[...r,"-c",e],n)}async function h(e,r,n=!1){const o=n?t($n)(null!=r?r:""):r;try{if("github-actions"===t(En)())try{(0,bt.exportVariable)(e,o)}catch(t){(0,_n.error)(t),await m(e,o)}else await m(e,o)}catch(t){(0,_n.error)(t),(0,bt.setFailed)(`Failed to export environment variable ${e}=${o}. You should add it manually.`)}}async function f(e){process.env.PATH=`${e}${tt.delimiter}${process.env.PATH}`;try{if("github-actions"===t(En)())try{(0,bt.addPath)(e)}catch(t){(0,_n.error)(t),await g(e)}else await g(e)}catch(t){(0,_n.error)(t),(0,bt.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`)}}async function m(e,t){const r=null!=t?t:"";switch(process.platform){case"win32":return await d(`[Environment]::SetEnvironmentVariable('${e}', '${r}', "User")`),void(0,bt.info)(`${e}='${r}' was set in the environment.`);case"linux":case"darwin":return v(),(0,rt.appendFileSync)(Pn,`\nexport ${e}="${r}"\n`),void(0,bt.info)(`${e}="${r}" was added to "${Pn}`)}process.env[e]=r}async function g(e){switch(process.platform){case"win32":return await d(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),void(0,bt.info)(`"${e}" was added to the PATH.`);case"linux":case"darwin":return v(),(0,rt.appendFileSync)(Pn,`\nexport PATH="${e}:$PATH"\n`),void(0,bt.info)(`"${e}" was added to "${Pn}"`);default:return}}function v(){if(An)return;const e="export SOURCE_CPPRC=0";if((0,rt.existsSync)(Pn)&&(0,rt.readFileSync)(Pn,"utf8").includes(e))return;(0,rt.appendFileSync)(Pn,`\n${e}\n`),(0,bt.info)(`Added ${e} to ${Pn}`);const t=`\n# source .cpprc if SOURCE_CPPRC is not set to 0\nif [[ "$SOURCE_CPPRC" != 0 && -f "${Pn}" ]]; then source "${Pn}"; fi\n`;try{const e=p(".profile");(0,rt.appendFileSync)(e,t),(0,bt.info)(`${t} was added to ${e}`);const r=p(".bashrc");(0,rt.appendFileSync)(r,t),(0,bt.info)(`${t} was added to ${r}`)}catch(e){(0,_n.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`)}An=!0}async function y(e,r,n=[],o=!1){const i=(()=>{let e;return e=null!==t(Et).sync("nala",{nothrow:!0})?"nala":"apt-get",e})();if((0,bt.info)(`Installing ${e} ${null!=r?r:""} via ${i}`),process.env.DEBIAN_FRONTEND="noninteractive",In&&!o||(w(i),In=!0),Nn||(await(async e=>{u(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]),b(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),b(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg"),"nala"===e&&(await h("LANG","C.UTF-8"),await h("LC_ALL","C.UTF-8"))})(i),Nn=!0),Array.isArray(n)&&0!==n.length){for(const e of n)u("add-apt-repository",["--update","-y",e]);w(i)}if(void 0!==r&&""!==r)try{u(i,["install","--fix-broken","-y",`${e}=${r}`])}catch{u(i,["install","--fix-broken","-y",`${e}-${r}`])}else u(i,["install","--fix-broken","-y",e]);return{binDir:"/usr/bin/"}}function w(e){u(e,"nala"!==e?["update","-y"]:["update"])}function x(){u("gpg",["-k"])}function b(e,t,r="keyserver.ubuntu.com"){const n="/etc/apt/trusted.gpg.d/"+t;if(!(0,rt.existsSync)(n)){x();for(const t of e)u("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",t]),u("chmod",["644",n])}return n}async function E(e,t){const r="/etc/apt/trusted.gpg.d/"+e;return(0,rt.existsSync)(r)||(x(),await y("curl",void 0),u("bash",["-c",`curl -s ${t} | gpg --no-default-keyring --keyring gnupg-ring:${r} --import`]),u("chmod",["644",r])),r}function S(e,r){return"github-actions"===t(En)()?u("update-alternatives",["--install","/usr/bin/"+e,e,r,"40"]):(v(),(0,rt.appendFileSync)(Pn,`\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${r} 40; fi\n`))}function _(e,t,r){(0,_n.info)(`Installing ${e} ${null!=t?t:""} via pacman`);const n="pacman";if(kn||(u(n,["-Syuu","--noconfirm"]),kn=!0),Ln||(u(n,["-Sy","--noconfirm","base-devel"]),Ln=!0),void 0!==t&&""!==t)try{u(null!=r?r:n,["-S","--noconfirm",`${e}=${t}`])}catch{u(null!=r?r:n,["-S","--noconfirm",`${e}${t}`])}else u(null!=r?r:n,["-S","--noconfirm",e]);return{binDir:"/usr/bin/"}}function O(e,r){return(0,bt.info)(`Installing ${e} ${null!=r?r:""} via brew`),Dn&&null!==t(Et).sync("brew",{nothrow:!0})||(n(0,0,process),Dn=!0),t(It).sync("brew",["install",void 0!==r&&""!==r?`${e}@${r}`:e],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function $(e,r,n){if("win32"!==process.platform)return;if("string"==typeof jn)return{binDir:jn};const o=t(Et).sync("choco",{nothrow:!0});if(null!==o)return jn=(0,tt.dirname)(o),{binDir:jn};let i="powershell.exe";const s=t(Et).sync(process.env.SystemRoot+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",{nothrow:!0});null!==s&&(i=s),t(It).sync(i,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});const a=process.env.ALLUSERSPROFILE+"\\chocolatey\\bin";await f(a);const c=t(Et).sync("choco",{nothrow:!0});var l;return jn=null!==c?(0,tt.dirname)(c):(null!==(l=process.env.ChocolateyInstall)&&void 0!==l?l:"C:/ProgramData/chocolatey")+"/bin",(0,rt.existsSync)(jn)?{binDir:jn}:void 0}async function T(e,r,n=[]){(0,bt.info)(`Installing ${e} ${null!=r?r:""} via chocolatey`),Gn&&null!==t(Et).sync("choco",{nothrow:!0})||(await $(0,0,process),Gn=!0);const o=process.env.PATH,i={...process.env};if(delete i.TMP,delete i.TEMP,delete i.Path,i.PATH=o,void 0!==r&&""!==r)t(It).sync("choco",["install","-y",e,"--version="+r,...n],{env:i,extendEnv:!1,stdio:"inherit"});else try{t(It).sync("choco",["install","-y",e,...n],{env:i,extendEnv:!1,stdio:"inherit"})}catch(t){if(!t.message.includes("exit code 3010"))throw t;(0,_n.notice)(e+" might require a reboot for the completion of the installation.")}var s;const a=(null!==(s=process.env.ChocolateyInstall)&&void 0!==s?s:"C:/ProgramData/chocolatey")+"/bin";return await f(a),{binDir:a}}function R(){return"linux"===process.platform&&(void 0===Un&&(Un=null!==t(Et).sync("pacman",{nothrow:!0})),Un)}function C(){return"linux"===process.platform&&(void 0===Mn&&(Mn=null!==t(Et).sync("dnf",{nothrow:!0})),Mn)}function P(e,t){(0,_n.info)(`Installing ${e} ${null!=t?t:""} via dnf`);const r="dnf";if(void 0!==t&&""!==t)try{u(r,["-y","install",`${e}-${t}`])}catch(t){(0,_n.warning)(t+"\nInstalling the default version available via dnf"),u(r,["-y","install",e])}else u(r,["-y","install",e]);return{binDir:"/usr/bin/"}}function A(){if("linux"!==process.platform)return!1;if(void 0===Fn){const e="apt-get";Fn=null!==t(Et).sync(e,{nothrow:!0})}return Fn}function I(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function N(e,t=".bat",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function k(e,t,r){switch(process.platform){case"win32":return T("7zip",e);case"darwin":return O("p7zip",e);case"linux":if(R())return _("p7zip",e);if(C())return P("p7zip",e),P("p7zip-plugins",e);if(A())return y("p7zip-full",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function L(e){"linux"!==process.platform&&"darwin"!==process.platform||!l()||void 0===process.env.SUDO_USER||u("chown",["-R",process.env.SUDO_USER,e],{cwd:e,stdio:"inherit",shell:!0})}function j(e,t){const r=[];t=t||eo.arch();const n=to.join(z(),e);if(Zn.existsSync(n)){const e=Zn.readdirSync(n);for(const o of e)if(F(o)){const e=to.join(n,o,t||"");Zn.existsSync(e)&&Zn.existsSync(e+".complete")&&r.push(o)}}return r}function D(e){return Xn(this,void 0,void 0,(function*(){return e||(e=to.join(B(),so.default())),yield Jn.mkdirP(e),e}))}function U(e,t,r){return Xn(this,void 0,void 0,(function*(){const n=to.join(z(),e,no.clean(t)||t,r||"");Kn.debug("destination "+n);const o=n+".complete";return yield Jn.rmRF(n),yield Jn.rmRF(o),yield Jn.mkdirP(n),n}))}function M(e,t,r){const n=to.join(z(),e,no.clean(t)||t,r||"");Zn.writeFileSync(n+".complete",""),Kn.debug("finished caching tool")}function F(e){const t=no.clean(e)||"";Kn.debug("isExplicit: "+t);const r=null!=no.valid(t);return Kn.debug("explicit? "+r),r}function G(e,t){let r="";Kn.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>no.gt(e,t)?1:-1))).length-1;n>=0;n--){const o=e[n];if(no.satisfies(o,t)){r=o;break}}return Kn.debug(r?"matched: "+r:"match not found"),r}function z(){const e=process.env.RUNNER_TOOL_CACHE||"";return at.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function B(){const e=process.env.RUNNER_TEMP||"";return at.ok(e,"Expected RUNNER_TEMP to be defined"),e}function H(e,t){const r=vt[e];return void 0!==r?r:t}async function q(e,r){return await t(It)(await(async()=>(void 0===yo&&(null===t(Et).sync("7z",{nothrow:!0})&&await k("",0,process),yo="7z"),yo))(),["x",e,"-o"+r,"-y"],{stdio:"inherit"}),L(r),r}function V(e,t){return q(e,t)}function W(e,t){return q(e,t)}async function X(e,r,n=["--strip-components=0"]){try{await(0,zn.mkdirP)(r)}catch{}try{await t(It)("tar",["xf",e,"-C",r,...n],{stdio:"inherit"})}catch(t){"win32"===process.platform&&t.message.includes("Can't create '\\\\?\\C:")&&(0,_n.warning)(`Failed to extract symlink ${e} to ${r}. Ignoring this symlink.`)}return L(r),r}async function Y(e,r,n,o,i){var s,a;(0,bt.info)(`Installing ${e} ${r} ${i} via direct downloading`),process.env.RUNNER_TEMP=null!==(s=process.env.RUNNER_TEMP)&&void 0!==s?s:(0,et.tmpdir)(),process.env.RUNNER_TOOL_CACHE=null!==(a=process.env.RUNNER_TOOL_CACHE)&&void 0!==a?a:(0,tt.join)((0,et.tmpdir)(),"setup-cpp","hostedtoolcache");const{url:c,binRelativeDir:l,binFileName:u,extractedFolderName:p,extractFunction:d}=await n(r,process.platform,i);if("github-actions"===t(En)())try{const t=(0,Bn.find)(e,r);if(t){const n=(0,tt.join)(t,p),o=(0,tt.join)(n,l);if((0,rt.existsSync)(o)&&(0,rt.existsSync)((0,tt.join)(o,u)))return(0,bt.info)(`${e} ${r} was found in the cache at ${o}.`),await f(o),{installDir:n,binDir:o}}}catch{}const h=(0,tt.join)(o,p),m=(0,tt.join)(h,l),g=(0,tt.join)(m,u);if(!(0,rt.existsSync)(m)||!(0,rt.existsSync)(g)){(0,bt.info)(`Download and extract ${e} ${r}`),wo||("linux"===process.platform&&(R()?(_("unzip"),_("tar"),_("xz")):C()?(P("unzip"),P("tar"),P("xz")):A()&&(await y("unzip"),await y("tar"),await y("xz-utils"))),wo=!0);try{const e=await(0,Bn.downloadTool)(c);await(null==d?void 0:d(e,o))}catch(t){throw Error(`Failed to download ${e} ${r} ${i} from ${c}: ${t}`)}}return(0,bt.info)(`Add ${m} to PATH`),await f(m),"github-actions"===t(En)()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await(0,Bn.cacheDir)(o,e,r),{installDir:h,binDir:m}}function K(e,t,r){const n=(e=>"win32"===e?"windows":e)(t),o=(e=>{switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e}})(r),i="win32"===t,s=i?"zip":"tar.gz";return{binRelativeDir:"",binFileName:I("task"),extractedFolderName:"",extractFunction:i?W:X,url:`https://github.com/go-task/task/releases/download/v${e}/task_${n}_${o}.${s}`}}function J(e,r,n){var o;const i=null!==(o=t(bo)(e))&&void 0!==o?o:e;switch(r){case"win32":{const r=t(xo)(i,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(n)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const s=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:I("cmake"),extractedFolderName:s,extractFunction:W,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.zip`}}case"darwin":{const r=`cmake-${e}-${t(xo)(i,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:I("cmake"),extractedFolderName:r,extractFunction:Bn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`}}case"linux":{const r=t(xo)(i,"v3.19.8");let o;o=["aarch64"].includes(n)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const s=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:I("cmake"),extractedFolderName:s,extractFunction:Bn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.tar.gz`}}default:throw Error(`Unsupported platform '${r}'`)}}function Z(e,t,r){return Y("cmake",e,J,t,r)}async function Q(e,r,n){if("github-actions"!==t(En)())return ee(e,r);try{(0,_n.info)("Installing python in GitHub Actions");const{setupActionsPython:t}=await xt("d0ovd");return t(e,r,n)}catch(t){return(0,_n.warning)(""+t),ee(e,r)}}async function ee(e,r,n){switch(process.platform){case"win32":{var o,i;r?await T("python3",e,["--params=/InstallDir:"+r]):await T("python3",e);const n=null!==(i=null!==(o=t(Et).sync("python3.exe",{nothrow:!0}))&&void 0!==o?o:t(Et).sync("python.exe",{nothrow:!0}))&&void 0!==i?i:(0,tt.join)(r,"python.exe"),s=(0,tt.dirname)(n);return await(async e=>{(0,_n.info)(`Add ${e} to PATH`),await f(e)})(s),{installDir:s,binDir:s}}case"darwin":return O("python3",e);case"linux":{let t;if(R())t=_("python",e),_("python-pip");else if(C())t=P("python3",e),P("python3-pip");else{if(!A())throw Error("Unsupported linux distributions");t=await y("python3",e),await y("python3-pip")}return t}default:throw Error("Unsupported platform")}}function te(e,t){if("__proto__"!==e&&"constructor"!==e)return t}function re(e){if("string"!=typeof e)return e;const t=e.toLowerCase();if("true"===t)return!0;if("false"===t)return!1;if("null"===t)return null;if("nan"===t)return NaN;if("infinity"===t)return 1/0;if("undefined"!==t){if(!_o.test(e))return e;try{return Eo.test(e)||So.test(e)?JSON.parse(e,te):JSON.parse(e)}catch(t){return e}}}function ne(e){return(e=>encodeURI(""+e).replace(ko,"|").replace(Co,"[").replace(Po,"]"))(e).replace(Ro,"%2B").replace(jo,"+").replace(Oo,"%23").replace($o,"%26").replace(Io,"`").replace(No,"{").replace(Lo,"}").replace(Ao,"^")}function oe(e){return ne(e).replace(To,"%3D")}function ie(e=""){try{return decodeURIComponent(""+e)}catch(t){return""+e}}function se(e=""){const t={};"?"===e[0]&&(e=e.substr(1));for(const r of e.split("&")){const e=r.match(/([^=]+)=?(.*)/)||[];if(2>e.length)continue;const n=ie(e[1]);if("__proto__"===n||"constructor"===n)continue;const o=ie((e[2]||"").replace(Ro," "));t[n]?Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]:t[n]=o}return t}function ae(e="",t=!1){return t?Mo.test(e):e.endsWith("/")}function ce(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(ae(e,!0))return e||"/";const[r,...n]=e.split("?");return r+"/"+(n.length?"?"+n.join("?"):"")}function le(e=""){return(((e="")=>e.startsWith("/"))(e)?e.substr(1):e)||"/"}function ue(e,t){const r=de(e),n={...se(r.search),...t};return r.search=(e=>Object.keys(e).map((t=>{return r=t,"number"!=typeof(n=e[t])&&"boolean"!=typeof n||(n+=""),n?Array.isArray(n)?n.map((e=>`${oe(r)}=${ne(e)}`)).join("&"):`${oe(r)}=${ne(n)}`:oe(r);var r,n})).join("&"))(n),(e=>{const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t})(r)}function pe(e){return e&&"/"!==e}function de(e="",t){if(!((e,t=!1)=>Do.test(e)||t&&Uo.test(e))(e,!0))return t?de(t+e):he(e);const[r="",n,o=""]=(e.replace(/\\/g,"/").match(/([^:/]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[i="",s=""]=(o.match(/([^/?#]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=he(s);return{protocol:r,auth:n?n.substr(0,n.length-1):"",host:i,pathname:a,search:c,hash:l}}function he(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function fe(e="GET"){return Go.has(e.toUpperCase())}function me(e,t){return Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse()}function ge(e,t,r=null){if(ve(t,e)){if("linux"===process.platform&&null!==r&&e in Zo){const t=r[0];return parseInt(Object.keys(Zo[e])[0],10)>t?"":Zo[e][t]}return Jo[e]}return null!=t?t:""}function ve(e,t){return"true"===e||void 0===e&&t in Jo}async function ye(e,r){if((0,bt.info)(`Installing ${e} ${null!=r?r:""} via pip`),void 0===Qo){if(null!==t(Et).sync("python3",{nothrow:!0}))Qo="python3";else{if(null===t(Et).sync("python",{nothrow:!0})||!await(async(e,r,n=Ko)=>{const o=await(async(e,t=Ko)=>{try{var r;const n=await(0,ao.getExecOutput)(e,["--version"]);return null===(r=(n.stdout||n.stderr||"").trim().match(t))||void 0===r?void 0:r[1]}catch(e){return void console.error(e)}})(e,n);return"string"==typeof o&&"string"==typeof r&&""!==o&&""!==r&&-1!==t(Xo)(o,r)})("python","3.0.0")){if((0,bt.info)("python3 was not found. Installing python"),await Q(ge("python",void 0),"",process.arch),ti)throw Error("Failed to install python");return ti=!0,ye(e,r)}Qo="python"}"win32"===process.platform?t(It).sync(Qo,["-m","pip","install","-U","pip==21.3.1"],{stdio:"inherit"}):"linux"===process.platform&&(R()?_("python-pip"):C()?P("python3-pip"):A()&&await y("python3-pip")),t(It).sync(Qo,["-m","pip","install","-U","wheel"],{stdio:"inherit"})}if(t(It).sync(Qo,["-m","pip","install",void 0!==r&&""!==r?`${e}==${r}`:e],{stdio:"inherit"}),void 0===ei){if("linux"===process.platform)ei="/home/runner/.local/bin/";else if("darwin"===process.platform)ei="/usr/local/bin/";else try{ei=(0,tt.join)((await(0,ao.getExecOutput)(Qo+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{ei=(0,tt.join)((await(0,ao.getExecOutput)(Qo+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}(0,bt.info)(ei+" to PATH"),await f(ei)}return{binDir:ei}}async function we(e,t,r){switch(process.platform){case"win32":return await T("graphviz",e),(async()=>{if("win32"===process.platform){const e="C:/Program Files/Graphviz/bin";return await f(e),{binDir:e}}throw Error("Unsupported platform")})();case"darwin":return O("graphviz",e);case"linux":if(R())return _("graphviz",e);if(C())return P("graphviz",e);if(A())return y("graphviz",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function xe(e,t,r){switch(t){case"linux":{const t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:I("doxygen"),extractedFolderName:t,extractFunction:Bn.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`}}case"win32":{const t="doxygen-"+e;return{binRelativeDir:"",binFileName:I("doxygen"),extractedFolderName:t,extractFunction:W,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`}}default:throw Error(`Unsupported platform '${t}'`)}}async function be(){if("darwin"===process.platform)try{const e=await(0,ao.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await h("SDKROOT",t.trim()):(0,_n.error)("SDKROOT not set")}catch(e){(0,_n.error)(e)}}function Ee(e,t,r){if("win32"===t){const t=oi[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);const n="ia32"===r?"i686":"x86_64",o="seh";return{binRelativeDir:"bin/",binFileName:I("g++"),extractedFolderName:"mingw64",extractFunction:q,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${n}-posix-${o}-gcc-${t.fileSuffix}.7z`}}throw Error(`Unsupported platform '${t}'`)}async function Se(e,r,n){let o;switch(process.platform){case"win32":"arm"!==n&&"arm64"!==n||await T("gcc-arm-embedded",e);try{o=await Y("g++",e,Ee,r,n)}catch(t){(0,_n.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),o=await(async(e,t)=>{let r;var n,o;return await T("mingw",e),"x64"===t&&(0,rt.existsSync)("C:/tools/mingw64/bin")?(r="C:/tools/mingw64/bin",await f(r)):"ia32"===t&&(0,rt.existsSync)("C:/tools/mingw32/bin")?(r="C:/tools/mingw32/bin",await f(r)):(0,rt.existsSync)((null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey")+"/bin/g++.exe")&&(r=(null!==(o=process.env.ChocolateyInstall)&&void 0!==o?o:"C:/ProgramData/chocolatey")+"/bin"),void 0!==r?{binDir:r}:void 0})(e,n)}break;case"darwin":o=O("gcc",e);break;case"linux":"x64"===n?R()?o=_("gcc",e):C()?(o=P("gcc",e),P("gcc-c++",e),P("libstdc++-devel",void 0)):A()&&(await y("gcc",e,["ppa:ubuntu-toolchain-r/test"]),o=await y("g++",e,[])):((0,_n.info)(`Install g++-multilib because gcc for ${n} was requested`),R()?_("gcc-multilib",e):A()&&await y("gcc-multilib",e,["ppa:ubuntu-toolchain-r/test"]));break;default:throw Error("Unsupported platform for "+n)}if(void 0!==o)return await(async(e,r)=>{const n=[];if("win32"===process.platform)n.push(h("CC",I(r+"/gcc")),h("CXX",I(r+"/g++")));else{var o;const i=t(ri)(null!==(o=t(bo)(e))&&void 0!==o?o:e);5>i?(n.push(h("CC",`${r}/gcc-${e}`),h("CXX",`${r}/g++-${e}`)),A()&&(S("cc",`${r}/gcc-${e}`),S("cxx",`${r}/g++-${e}`),S("gcc",`${r}/gcc-${e}`),S("g++",`${r}/g++-${e}`))):(n.push(h("CC",`${r}/gcc-${i}`),h("CXX",`${r}/g++-${i}`)),A()&&(S("cc",`${r}/gcc-${i}`),S("cxx",`${r}/g++-${i}`),S("gcc",`${r}/gcc-${i}`),S("g++",`${r}/g++-${i}`)))}n.push(be()),"github-actions"===t(En)()&&(()=>{const e=t(tt).join(ni,"gcc_matcher.json");if(!(0,rt.existsSync)(e))return(0,_n.warning)("the gcc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,_n.info)("::add-matcher::"+e)})(),await Promise.all(n)})(e,o.binDir),o}function _e(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function Oe(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function $e(e,r){switch(e){case"darwin":return(e=>{if(ai.has(e))return null;const r="clang+llvm-",n=`-x86_64${"9.0.0"===e?"-darwin-apple":"-apple-darwin"}.tar.xz`;return t(xo)(e,"9.0.1")?Oe(e,r,n):_e(e,r,n)})(r);case"linux":return(e=>{let r=e;const n=ci.get(r);let o;if(void 0!==n&&(r=n),r.includes("ubuntu")){const e=r.replace(/-ubuntu-.*/,"");if(!si.has(e))throw Error("Unsupported Ubuntu version: "+e);o=r.replace(e,""),r=me(si,e)[0]}else""!==r&&r in li?o=li[r]:(o=li["14.0.0"],(0,_n.warning)(`Falling back to LLVM version 14.0.0 ${o} for the Ubuntu.`));const i="clang+llvm-",s="5.0.0"===r?`-linux-x86_64${o}.tar.xz`:`-x86_64-linux-gnu${o}.tar.xz`;return t(xo)(r,"9.0.1")?Oe(r,i,s):_e(r,i,s)})(r);case"win32":return(async e=>{if(ui.has(e))return null;const r="LLVM-",n=t(xo)(e,"3.7.0")?"-win32.exe":"-win64.exe",o=t(xo)(e,"9.0.1");let i,s=!1;return o&&(i=Oe(e,r,n),await Wo(i)||(s=!0)),!s&&o||(i=_e(e,r,n)),i})(r);default:return null}}async function Te(e,t,r){const[n,o]=await(async(e,t,r,n)=>{if("linux"===t&&r.includes("ubuntu")){const e=await n(t,r);if(null!==e&&await Wo(e))return[r,e]}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const o of me(e,r)){const e=await n(t,o);if(null!==e&&await Wo(e))return[o,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(si,t,e,$e);return(0,bt.setOutput)("version",n),{url:o,extractedFolderName:"",binRelativeDir:"bin",binFileName:I("clang"),extractFunction:"win32"===t?V:(e,t)=>X(e,t,["--strip-components=1"])}}async function Re(e,r,n){const o=await Ce(e,r,n);var i;return await(async(e,r)=>{const n=(e=>{if(null===t(Yo)(e))try{const r=t(bo)(e);if(null!==r)return(0,_n.info)(`Coerced version '${e}' to '${r}'`),r.version}catch(e){}return e})(r),o=tt.join(e,"lib");var i;const s=null!==(i=process.env.LD_LIBRARY_PATH)&&void 0!==i?i:"";var a;const c=null!==(a=process.env.DYLD_LIBRARY_PATH)&&void 0!==a?a:"",l=[h("LLVM_PATH",e),h("LD_LIBRARY_PATH",`${o}${tt.delimiter}${s}`),h("DYLD_LIBRARY_PATH",`${o}${tt.delimiter}${c}`),h("LDFLAGS",`-L"${e}/lib"`),h("CPPFLAGS",`-I"${e}/include"`),h("CC",I(e+"/bin/clang")),h("CXX",I(e+"/bin/clang++")),h("LIBRARY_PATH",e+"/lib"),be()];if("win32"!==process.platform){const r=t(ri)(n);(0,rt.existsSync)(`${e}/lib/clang/${n}/include`)?l.push(h("CPATH",`${e}/lib/clang/${n}/include`)):(0,rt.existsSync)(`${e}/lib/clang/${r}/include`)&&l.push(h("CPATH",`${e}/lib/clang/${r}/include`))}A()&&(S("cc",e+"/bin/clang"),S("cxx",e+"/bin/clang++"),S("clang",e+"/bin/clang"),S("clang++",e+"/bin/clang++"),S("lld",e+"/bin/lld"),S("ld.lld",e+"/bin/ld.lld"),S("llvm-ar",e+"/bin/llvm-ar")),"github-actions"===t(En)()&&Ae(),await Promise.all(l)})(null!==(i=o.installDir)&&void 0!==i?i:r,e),o}async function Ce(e,t,r){const n=await Y("llvm",e,Te,t,r);return pi||("linux"===process.platform&&(await Se(ge("gcc",void 0),"",r),R()||A()&&await y("libtinfo-dev")),pi=!0),n}function Pe(e,r,n){return"github-actions"===t(En)()&&Ae(),Ce(e,r,n)}function Ae(){const e=tt.join(ii,"llvm_matcher.json");if(!(0,rt.existsSync)(e))return(0,_n.warning)("the llvm_matcher.json file does not exist in the same folder as setup_cpp.js");(0,_n.info)("::add-matcher::"+e)}function Ie(e,t,r){const n=new Ei(e,t,r);process.stdout.write(""+n+xi.EOL)}function Ne(e){yi.issue("error",e instanceof Error?""+e:e)}function ke(e){yi.issue("group",e)}function Le(){yi.issue("endgroup")}function je(e){return Object.values(Li).includes(e)?e:e in Li?Li[e]:e}function De(e){if(Object.keys(Li).includes(e))return e;for(const[t,r]of Object.entries(Li))if(r===e)return t;return e}function Ue(e){const t=je(e);let r;if(t){const e=t.split(".")[0]+".9";r=`-version "${t},${e}"`}else r="-latest";let n=((e,t)=>{try{return(""+lt.execSync(`vswhere -products * ${t} -prerelease -property installationPath`)).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){mi.warning("vswhere failed: "+e)}return null})(0,r);if(n&&rt.existsSync(n))return mi.info("Found with vswhere: "+n),n;mi.info("Not found with vswhere");const o=e?[De(e)]:ki;for(const e of Ii)for(const t of o)for(const r of Ni)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,mi.info("Trying standard location: "+n),rt.existsSync(n))return mi.info("Found standard location: "+n),n;if(mi.info("Not found in standard locations"),n=Ai+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",rt.existsSync(n))return mi.info("Found VS 2015: "+n),n;throw mi.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found")}function Me(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}async function Fe(e,t,r,n,o,i,s){void 0!==t&&(0,rt.existsSync)(t)&&((0,_n.info)(`Adding ${t} to PATH`),await h("VCTargetsPath",t)),fi((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,n,i,s,e)}async function Ge(e,r,n,o,i,s){if("win32"!==process.platform)return;const a=di(e);(0,_n.info)(`Checking if MSVC ${a} is already installed`);let c,l,u=!1;try{const e=hi(a);u=!0,(0,_n.info)("Found the pre-installed version of MSVC at "+e)}catch{}if(!u)try{"14.0"===a?(c="14.0",await T("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),l="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===a?(c="14.16",await T("visualstudio2017buildtools","15.9.41.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===a?(c="14.29",await T("visualstudio2019buildtools","16.11.7.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===a?(c=void 0,await T("visualstudio2022buildtools","117.0.5.0",[]),l=void 0):(0,_n.error)(`The given MSVC versions ${e} is not supported yet.`)}catch(e){(0,_n.error)(e)}await Fe(a,l,n,c,o,i,s),"github-actions"===t(En)()&&(()=>{const e=t(tt).join(Ui,"msvc_matcher.json");if(!(0,rt.existsSync)(e))return(0,_n.warning)("the msvc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,_n.info)("::add-matcher::"+e)})()}function ze(e,t,r){const n=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",binFileName:I("ninja"),extractedFolderName:"",extractFunction:W,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`}}function Be(e,t,r){return Y("ninja",e,ze,t,r)}function He(e){return null==e?[]:Array.isArray(e)?e:[e]}function qe(e,t,r,n){var o,i=e[t],s=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(o=+r)==0?o:r),!!r)):0*(o=+r)==0?o:r;e[t]=null==i?s:Array.isArray(i)?i.concat(s):[i,s]}function Ve(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:I("kcov"),extractFunction:X}}function We(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:I("kcov"),extractFunction:Xe}}async function Xe(e,r){const n=await X(e,r,["--strip-components=1"]),o=await(async()=>{let e=t(Et).sync("cmake",{nothrow:!0});if(null===e){const{binDir:t}=await Z(ge("cmake",void 0),(0,tt.join)(p(""),"cmake"),"");e=(0,tt.join)(t,"cmake")}return null===t(Et).sync("ninja",{nothrow:!0})&&await Be(ge("ninja",void 0),(0,tt.join)(p(""),"ninja"),""),e})();"linux"===process.platform&&(R()?(_("libdwarf"),_("libcurl-openssl")):C()?(P("libdwarf-devel"),P("libcurl-devel")):A()&&(await y("libdw-dev"),await y("libcurl4-openssl-dev")));const i=(0,tt.join)(n,"build");return await t(It)(o,["-S",n,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:n,stdio:"inherit"}),await t(It)(o,["--build",i,"--config","Release"],{cwd:n,stdio:"inherit"}),n}async function Ye(e){"github-actions"!==t(En)()&&(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=Ke(e);var n;r.help&&(0,_n.info)('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n ');const o=null!==(n=r.architecture)&&void 0!==n?n:process.arch;var i;const s=null!==(i=process.env.SETUP_CPP_DIR)&&void 0!==i?i:p(""),a=[],c=[],l=Mi.create({autoloadLocales:!0});let u,d;Mi.addLocale(t(Di)),Fi.addLocale(t(Gi));let f=null;try{f=await(async()=>{if(A()){null===t(Et).sync("lsb_release",{nothrow:!0})&&await y("lsb-release");const e=await(0,zi.getUbuntuVersion)();if(0===e.length)throw Error("Failed to get the ubuntu major version.");return e}return null})()}catch(e){(0,_n.warning)(""+e)}if(!((e,t)=>{for(let r=0;t.length>r;r++){const n=t.slice(0,r).concat(t.slice(r+1)),o=t[r];if(!ve(e[o],o))for(let t=0;n.length>t;t++){const r=n[t];if(ve(e[r],n[t]))e[r]=e[o];else if(e[o]!==e[n[t]])return!1}}return!0})(r,["llvm","clangtidy","clangformat"]))return(0,_n.error)("The same version must be used for llvm, clangformat and clangtidy"),1;for(const e of Vi){const t=r[e];if(void 0!==t){u=Date.now(),(0,bt.startGroup)(`Installing ${e} ${t}`);try{let r;if("vcvarsall"===e)await Fe(ge(e,t,f),void 0,o,void 0,void 0,!1,!1);else{const n=qi[e],i=(0,tt.join)(s,["llvm","clangformat","clangtidy"].includes(e)?"llvm":e);r=await n(ge(e,t,f),i,o)}a.push(Qe(e,r))}catch(t){(0,_n.error)(t),c.push(e+" failed to install")}(0,bt.endGroup)(),d=Date.now(),(0,_n.info)("took "+(l.format(u,d)||"0 seconds"))}}const m=r.compiler;u=Date.now();try{if(void 0!==m){const{compiler:e,version:t}=Je(m);switch((0,bt.startGroup)(`Installing ${e} ${null!=t?t:""}`),e){case"llvm":case"clang":case"clang++":{const e=await Re(ge("llvm",t,f),(0,tt.join)(s,"llvm"),o);a.push(Qe("llvm",e));break}case"gcc":case"mingw":case"cygwin":case"msys":{const e=await Se(ge("gcc",t,f),(0,tt.join)(s,"gcc"),o);a.push(Qe("gcc",e));break}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{const e=await Ge(ge("msvc",t,f),(0,tt.join)(s,"msvc"),o);a.push(Qe("msvc",e));break}case"appleclang":case"applellvm":(0,bt.notice)("Assuming apple-clang is already installed"),await Promise.all([h("CC","clang"),h("CXX","clang++")]),a.push(Qe("apple-clang",void 0));break;default:c.push("Unsupported compiler "+e)}(0,bt.endGroup)(),d=Date.now(),(0,_n.info)("took "+(l.format(u,d)||"0 seconds"))}}catch(e){(0,_n.error)(e),c.push("Failed to install the "+m),(0,bt.endGroup)(),d=Date.now(),(0,_n.info)("took "+(l.format(u,d)||"0 seconds"))}if(0===a.length&&0===c.length)return(0,_n.warning)("setup_cpp was called without any arguments. Nothing to do."),0;if(a.forEach((e=>(0,_n.success)(e))),c.forEach((e=>(0,_n.error)(e))),(0,_n.info)("setup_cpp finished"),"github-actions"!==t(En)())switch(process.platform){case"win32":(0,_n.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,_n.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.")}return 0===c.length?0:1}function Ke(e){return((e,t)=>{var r,n,o,i,s,a={_:[]},c=0,l=0,u=0,p=(e=e||[]).length;const d=void 0!==(t=t||{}).alias,h=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=He(t.string),t.boolean=He(t.boolean),d)for(r in t.alias)for(n=t.alias[r]=He(t.alias[r]),c=0;n.length>c;c++)(t.alias[n[c]]=n.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(l=(n=t.alias[t.boolean[c]]||[]).length;l-- >0;)t.boolean.push(n[l]);for(c=t.string.length;c-- >0;)for(l=(n=t.alias[t.string[c]]||[]).length;l-- >0;)t.string.push(n[l]);if(f)for(r in t.default)if(i=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[i])for(t[i].push(r),c=0;n.length>c;c++)t[i].push(n[c]);const m=h?Object.keys(t.alias):[];for(c=0;p>c;c++){if("--"===(o=e[c])){a._=a._.concat(e.slice(++c));break}for(l=0;o.length>l&&45===o.charCodeAt(l);l++);if(0===l)a._.push(o);else if("no-"===o.substring(l,l+3)){if(i=o.substring(l+3),h&&!~m.indexOf(i))return t.unknown(o);a[i]=!1}else{for(u=l+1;o.length>u&&61!==o.charCodeAt(u);u++);for(i=o.substring(l,u),s=o.substring(++u)||c+1===p||45===(""+e[c+1]).charCodeAt(0)||e[++c],n=2===l?[i]:i,u=0;n.length>u;u++){if(i=n[u],h&&!~m.indexOf(i))return t.unknown("-".repeat(l)+i);qe(a,i,n.length>u+1||s,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(d)for(r in a)for(n=t.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a})(e,{string:Wi,default:Object.fromEntries(Wi.map((e=>[e,Ze(e)]))),alias:{h:"help"},boolean:"help"})}function Je(e){const r=e.split("-"),n=r[0];if(1 in r){const e=r[1];return null!==t(Yo)(e)||(0,_n.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:n,version:e}}return{compiler:n,version:void 0}}function Ze(e){const t=(0,bt.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t}function Qe(e,t){let r=`✅ ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r}var et=require("os"),tt=require("path"),rt=require("fs"),nt=require("http"),ot=require("https");require("net");var it=require("tls"),st=require("events"),at=require("assert"),ct=require("util"),lt=require("child_process"),ut=require("crypto"),pt=require("string_decoder"),dt=require("timers"),ht=require("buffer"),ft=require("stream"),mt=require("url"),gt=require("process"),vt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},yt={},wt={},xt=vt.parcelRequire810d;null==xt&&((xt=e=>{if(e in yt)return yt[e].exports;if(e in wt){var t=wt[e];delete wt[e];var r={id:e,exports:{}};return yt[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=(e,t)=>{wt[e]=t},vt.parcelRequire810d=xt),xt.register("04fde",(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 n(e,t={}){u.issueCommand("error",d.toCommandProperties(t),e instanceof Error?""+e:e)}function o(e){u.issue("group",e)}function i(){u.issue("endgroup")}var s=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),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)&&s(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=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=xt("2iva8"),p=xt("kCOkT"),d=xt("hGWy4");const h=c(et),f=c(tt);var m,g,v=xt("1hWAC");(g=m=e.exports.ExitCode||(e.exports.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=d.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";p.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.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 n=r(e,t);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))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(h.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,n(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=n,e.exports.warning=(e,t={})=>{u.issueCommand("warning",d.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",d.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=o,e.exports.endGroup=i,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{i()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return l(this,void 0,void 0,(function*(){return yield v.OidcClient.getIDToken(e)}))};var y=xt("hILBc");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return y.summary}}),y=xt("hILBc"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return y.markdownSummary}});var w=xt("39f1T");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return w.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return w.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return w.toPlatformPath}})})),xt.register("2iva8",(function(e,t){"use strict";function r(e,t,r){const n=new c(e,t,r);process.stdout.write(""+n+s.EOL)}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),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)&&n(t,e,r);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const s=i(et);var a=xt("hGWy4");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class c{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 n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,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}}})),xt.register("hGWy4",((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,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),xt.register("kCOkT",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const i=o(rt),s=o(et);var a=xt("hGWy4");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(!i.existsSync(r))throw Error("Missing file at path: "+r);i.appendFileSync(r,`${a.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}})),xt.register("1hWAC",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=xt("4z9RF"),o=xt("7v249"),i=xt("04fde");class s{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(s.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=s.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),o=null===(t=n.result)||void 0===t?void 0:t.value;if(!o)throw Error("Response json body do not have ID Token field");return o}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=s.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),i.debug("ID token url is "+t);const r=yield s.getCall(t);return i.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=s})),xt.register("4z9RF",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;const s=o(nt),a=o(ot),c=o(xt("2IaKG")),l=o(xt("bbp3j"));var u,p,d,h,f;(p=u=e.exports.HttpCodes||(e.exports.HttpCodes={}))[p.OK=200]="OK",p[p.MultipleChoices=300]="MultipleChoices",p[p.MovedPermanently=301]="MovedPermanently",p[p.ResourceMoved=302]="ResourceMoved",p[p.SeeOther=303]="SeeOther",p[p.NotModified=304]="NotModified",p[p.UseProxy=305]="UseProxy",p[p.SwitchProxy=306]="SwitchProxy",p[p.TemporaryRedirect=307]="TemporaryRedirect",p[p.PermanentRedirect=308]="PermanentRedirect",p[p.BadRequest=400]="BadRequest",p[p.Unauthorized=401]="Unauthorized",p[p.PaymentRequired=402]="PaymentRequired",p[p.Forbidden=403]="Forbidden",p[p.NotFound=404]="NotFound",p[p.MethodNotAllowed=405]="MethodNotAllowed",p[p.NotAcceptable=406]="NotAcceptable",p[p.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",p[p.RequestTimeout=408]="RequestTimeout",p[p.Conflict=409]="Conflict",p[p.Gone=410]="Gone",p[p.TooManyRequests=429]="TooManyRequests",p[p.InternalServerError=500]="InternalServerError",p[p.NotImplemented=501]="NotImplemented",p[p.BadGateway=502]="BadGateway",p[p.ServiceUnavailable=503]="ServiceUnavailable",p[p.GatewayTimeout=504]="GatewayTimeout",(h=d=e.exports.Headers||(e.exports.Headers={})).Accept="accept",h.ContentType="content-type",(f=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{const t=c.getProxyUrl(new URL(e));return t?t.href:""};const m=[u.MovedPermanently,u.ResourceMoved,u.SeeOther,u.TemporaryRedirect,u.PermanentRedirect],g=[u.BadGateway,u.ServiceUnavailable,u.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype)}}e.exports.HttpClientError=y;class w{constructor(e){this.message=e}readBody(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(""+t)}))}))))}))}}e.exports.HttpClientResponse=w,e.exports.isHttps=e=>"https:"===new URL(e).protocol,e.exports.HttpClient=class{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 i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return i(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return i(this,void 0,void 0,(function*(){t[d.Accept]=this._getExistingOrDefaultHeader(t,d.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,f.ApplicationJson),r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,f.ApplicationJson);const o=yield this.post(e,n,r);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,f.ApplicationJson),r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,f.ApplicationJson);const o=yield this.put(e,n,r);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,f.ApplicationJson),r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,f.ApplicationJson);const o=yield this.patch(e,n,r);return this._processResponse(o,this.requestOptions)}))}request(e,t,r,n){return i(this,void 0,void 0,(function*(){if(this._disposed)throw Error("Client has already been disposed.");const o=new URL(t);let i=this._prepareRequest(e,o,n);const s=this._allowRetries&&v.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=yield this.requestRaw(i,r),a&&a.message&&a.message.statusCode===u.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,i,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&m.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const s=a.message.headers.location;if(!s)break;const c=new URL(s);if("https:"===o.protocol&&o.protocol!==c.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),c.hostname!==o.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];i=this._prepareRequest(e,c,n),a=yield this.requestRaw(i,r),t--}if(!a.message.statusCode||!g.includes(a.message.statusCode))return a;c+=1,s>c&&(yield a.readBody(),yield this._performExponentialBackoff(c))}while(s>c);return a}))}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{this.requestRawWithCallback(e,t,((e,t)=>{e?n(e):t?r(t):n(Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){function n(e,t){o||(o=!0,r(e,t))}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1;const i=e.httpModule.request(e.options,(e=>{n(void 0,new w(e))}));let s;i.on("socket",(e=>{s=e})),i.setTimeout(this._socketTimeout||18e4,(()=>{s&&s.end(),n(Error("Request timeout: "+e.options.path))})),i.on("error",(e=>{n(e)})),t&&"string"==typeof t&&i.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{i.end()})),t.pipe(i)):i.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const o="https:"===n.parsedUrl.protocol;n.httpModule=o?a:s;const i=o?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},x(this.requestOptions.headers),x(e||{})):x(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=x(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const o="https:"===e.protocol;let i=100;if(this.requestOptions&&(i=this.requestOptions.maxSockets||s.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:i,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const s="https:"===r.protocol;n=o?s?l.httpsOverHttps:l.httpsOverHttp:s?l.httpOverHttps:l.httpOverHttp,t=n(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:i};t=o?new a.Agent(e):new s.Agent(e),this._agent=t}return t||(t=o?a.globalAgent:s.globalAgent),o&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>i(this,void 0,void 0,(function*(){const o=e.message.statusCode||0,i={statusCode:o,result:null,headers:{}};let s,a;o===u.NotFound&&r(i);try{a=yield e.readBody(),a&&a.length>0&&(s=t&&t.deserializeDates?JSON.parse(a,((e,t)=>{if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),i.result=s),i.headers=e.message.headers}catch(e){}if(o>299){let e;e=s&&s.message?s.message:a&&a.length>0?a:`Failed request: (${o})`;const t=new y(e,o);t.result=i.result,n(t)}else r(i)}))))}))}};const x=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})})),xt.register("2IaKG",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=+e.port:"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(n.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=e=>{const t="https:"===e.protocol;if(r(e))return;const n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0},e.exports.checkBypass=r})),xt.register("bbp3j",((e,t)=>{e.exports=xt("fNJ5J")})),xt.register("fNJ5J",(function(t,r){function n(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||nt.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,n,o)=>{for(var s=i(r,n,o),a=0,c=t.requests.length;c>a;++a){var l=t.requests[a];if(l.host===s.host&&l.port===s.port)return t.requests.splice(a,1),void l.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function o(e,t){var r=this;n.prototype.createSocket.call(r,e,(n=>{var o=e.request.getHeader("host"),i=s({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host}),a=it.connect(0,i);r.sockets[r.sockets.indexOf(n)]=a,t(a)}))}function i(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function s(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var o=Object.keys(n),i=0,s=o.length;s>i;++i){var a=o[i];void 0!==n[a]&&(e[a]=n[a])}}return e}var a,c,l,u,p,d;e(t.exports,"httpOverHttp",(()=>a),(e=>a=e)),e(t.exports,"httpsOverHttp",(()=>c),(e=>c=e)),e(t.exports,"httpOverHttps",(()=>l),(e=>l=e)),e(t.exports,"httpsOverHttps",(()=>u),(e=>u=e)),e(t.exports,"debug",(()=>p),(e=>p=e)),a=e=>{var t=new n(e);return t.request=nt.request,t},c=e=>{var t=new n(e);return t.request=nt.request,t.createSocket=o,t.defaultPort=443,t},l=e=>{var t=new n(e);return t.request=ot.request,t},u=e=>{var t=new n(e);return t.request=ot.request,t.createSocket=o,t.defaultPort=443,t},ct.inherits(n,st.EventEmitter),n.prototype.addRequest=function(e,t,r,n){var o=this,a=s({request:e},o.options,i(t,r,n));this.maxSockets>o.sockets.length?o.createSocket(a,(t=>{function r(){o.emit("free",t,a)}function n(e){o.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)})):o.requests.push(a)},n.prototype.createSocket=function(e,t){function r(r,i,s){var c;return a.removeAllListeners(),i.removeAllListeners(),200!==r.statusCode?(d("tunneling socket could not be established, statusCode=%d",r.statusCode),i.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):s.length>0?(d("got illegal response body from proxy"),i.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):(d("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=i,t(i))}var n=this,o={};n.sockets.push(o);var i=s({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),d("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,n)=>{process.nextTick((()=>{r(e,t,n)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),d("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),n.removeSocket(o)})),a.end()},n.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)}))}},p=d=()=>{}})),xt.register("7v249",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}}})),xt.register("hILBc",(function(e,t){"use strict";var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:n,appendFile:o,writeFile:i}=rt.promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const s=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,rt.constants.R_OK|rt.constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?i:o;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw(et.EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:o}=e,i=t?"th":"td",s=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(i,r,s)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:o}=r||{},i=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o}),s=this.wrap("img",null,Object.assign({src:e,alt:t},i));return this.addRaw(s).addEOL()}addHeading(e,t){const r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",o=this.wrap(n,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=s,e.exports.summary=s})),xt.register("39f1T",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const i=o(tt);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,i.sep)})),xt.register("ftrAD",((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 n=0;r.length>n;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1})(t,r)}function n(e,t,n){rt.stat(e,((o,i)=>{n(o,!o&&r(i,e,t))}))}e.exports=n,n.sync=(e,t)=>r(rt.statSync(e),e,t)})),xt.register("9yF3I",((e,t)=>{function r(e,t,r){rt.stat(e,((e,o)=>{r(e,!e&&n(o,t))}))}function n(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,n=e.uid,o=e.gid,i=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=a|c;return r&parseInt("001",8)||r&c&&o===s||r&a&&n===i||r&l&&0===i})(e,t)}e.exports=r,r.sync=(e,t)=>n(rt.statSync(e),t)})),xt.register("ditiY",((r,n)=>{function o(e){return"github-actions"===t(u)()?l.error(e):console.log(`${e}`)}function i(e){return console.log(`${e}`)}function s(e){return"github-actions"===t(u)()?l.warning(e):console.log(`${e}`)}function a(e){return"github-actions"===t(u)()?l.notice(e):console.log(`${e}`)}function c(e){return"github-actions"===t(u)()?l.info(e):console.log(e)}e(r.exports,"error",(()=>o)),e(r.exports,"success",(()=>i)),e(r.exports,"warning",(()=>s)),e(r.exports,"notice",(()=>a)),e(r.exports,"info",(()=>c));var l=xt("04fde"),u=xt("gmbrv")})),xt.register("gmbrv",((e,t)=>{e.exports=()=>process.env.GERRIT_PROJECT?"gerrit":process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI?"azure-pipelines":process.env.BITRISE_IO?"bitrise":process.env.BUDDY_WORKSPACE_ID?"buddy":process.env.BUILDKITE?"buildkite":process.env.CIRRUS_CI?"cirrus":process.env.GITLAB_CI?"gitlab":process.env.APPVEYOR?"appveyor":process.env.CIRCLECI?"circle-ci":process.env.SEMAPHORE?"semaphore":process.env.DRONE?"drone":process.env.DSARI?"dsari":process.env.GITHUB_ACTION?"github-actions":process.env.TDDIUM?"tddium":process.env.SCREWDRIVER?"screwdriver":process.env.STRIDER?"strider":process.env.TASKCLUSTER_ROOT_URL?"taskcluster":process.env.JENKINS_URL?"jenkins":process.env["bamboo.buildKey"]?"bamboo":process.env.GO_PIPELINE_NAME?"gocd":process.env.HUDSON_URL?"hudson":process.env.WERCKER?"wercker":process.env.NETLIFY?"netlify":process.env.NOW_GITHUB_DEPLOYMENT?"now-github":process.env.GITLAB_DEPLOYMENT?"now-gitlab":process.env.BITBUCKET_DEPLOYMENT?"now-bitbucket":process.env.BITBUCKET_BUILD_NUMBER?"bitbucket-pipelines":process.env.NOW_BUILDER?"now":process.env.VERCEL_GITHUB_DEPLOYMENT?"vercel-github":process.env.VERCEL_GITLAB_DEPLOYMENT?"vercel-gitlab":process.env.VERCEL_BITBUCKET_DEPLOYMENT?"vercel-bitbucket":process.env.VERCEL_URL?"vercel":process.env.MAGNUM?"magnum":process.env.NEVERCODE?"nevercode":process.env.RENDER?"render":process.env.SAIL_CI?"sail":process.env.SHIPPABLE?"shippable":process.env.TEAMCITY_VERSION?"teamcity":process.env.CI_NAME?process.env.CI_NAME:/\/\.heroku\/node\/bin\/node$/.test(process.env.NODE||"")?"heroku":process.env.TRAVIS?"travis-ci":process.env.CODEBUILD_SRC_DIR?"aws-codebuild":"true"===process.env.CI||"1"===process.env.CI?"custom":!!process.env.BUILDER_OUTPUT&&"builder"})),xt.register("bJALw",((e,t)=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")})),xt.register("fvrnx",(function(e,t){"use strict";function r(e){return u(this,void 0,void 0,(function*(){if(h.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=h.getCmdPath();(yield h.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 h.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield h.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield h.unlink(e)}}))}function n(e){return u(this,void 0,void 0,(function*(){at.ok(e,"a path argument must be provided"),yield h.mkdir(e,{recursive:!0})}))}function o(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(h.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(d.delimiter))e&&t.push(e);if(h.isRooted(e)){const r=yield h.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(d.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(d.delimiter))e&&r.push(e);const n=[];for(const o of r){const r=yield h.tryGetExecutablePath(d.join(o,e),t);r&&n.push(r)}return n}))}function i(e,t,r,o){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield n(t);const a=yield h.readdir(e);for(const n of a){const a=`${e}/${n}`,c=`${t}/${n}`;(yield h.lstat(a)).isDirectory()?yield i(a,c,r,o):yield s(a,c,o)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function s(e,t,r){return u(this,void 0,void 0,(function*(){if((yield h.lstat(e)).isSymbolicLink()){try{yield h.lstat(t),yield h.unlink(t)}catch(e){"EPERM"===e.code&&(yield h.chmod(t,"0666"),yield h.unlink(t))}const r=yield h.readlink(e);yield h.symlink(r,t,h.IS_WINDOWS?"junction":null)}else(yield h.exists(t))&&!r||(yield h.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),c=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)&&a(t,e,r);return c(t,e),t}),u=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.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=l(lt),d=l(tt),h=l(xt("2GOko")),f=ct.promisify(p.exec),m=ct.promisify(p.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:n,recursive:o,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),c=(yield h.exists(t))?yield h.stat(t):null;if(c&&c.isFile()&&!n)return;const l=c&&c.isDirectory()&&a?d.join(t,d.basename(e)):t;if(!(yield h.exists(e)))throw Error("no such file or directory: "+e);if((yield h.stat(e)).isDirectory()){if(!o)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield i(e,l,0,n)}else{if(""===d.relative(e,l))throw Error(`'${l}' and '${e}' are the same file`);yield s(e,l,n)}}))},e.exports.mv=function(e,t,o={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let n=!0;if((yield h.isDirectory(t))&&(t=d.join(t,d.basename(e)),n=yield h.exists(t)),n){if(null!=o.force&&!o.force)throw Error("Destination already exists");yield r(t)}}yield n(d.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=n,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(h.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 n=yield o(t);return n&&n.length>0?n[0]:""}))},e.exports.findInPath=o})),xt.register("2GOko",(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 n,o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),i=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 r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.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 c=s(rt),l=s(tt);e.exports.chmod=(n=c.promises).chmod,e.exports.copyFile=n.copyFile,e.exports.lstat=n.lstat,e.exports.mkdir=n.mkdir,e.exports.readdir=n.readdir,e.exports.readlink=n.readlink,e.exports.rename=n.rename,e.exports.rmdir=n.rmdir,e.exports.stat=n.stat,e.exports.symlink=n.symlink,e.exports.unlink=n.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,n){return a(this,void 0,void 0,(function*(){let o;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile())if(e.exports.IS_WINDOWS){const e=l.extname(t).toUpperCase();if(n.some((t=>t.toUpperCase()===e)))return t}else if(r(o))return t;const i=t;for(const s of n){t=i+s,o=void 0;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile()){if(e.exports.IS_WINDOWS){try{const r=l.dirname(t),n=l.basename(t).toUpperCase();for(const o of yield e.exports.readdir(r))if(n===o.toUpperCase()){t=l.join(r,o);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(o))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}})),xt.register("6kHxT",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const s=o(xt("4URNm"));var a=xt("04fde");e.exports._findMatch=function(t,r,n,o){return i(this,void 0,void 0,(function*(){const i=et.platform();let c,l,u;for(const c of n){const n=c.version;if(a.debug(`check ${n} satisfies ${t}`),s.satisfies(n,t)&&(!r||c.stable===r)&&(u=c.files.find((t=>{a.debug(`${t.arch}===${o} && ${t.platform}===${i}`);let r=t.arch===o&&t.platform===i;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||s.satisfies(n,t.platform_version)}return r})),u)){a.debug("matched "+c.version),l=c;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},e.exports._getOsVersion=()=>{const t=et.platform();let r="";if("darwin"===t)r=""+lt.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 rt.existsSync(e)?r=""+rt.readFileSync(e):rt.existsSync(t)&&(r=""+rt.readFileSync(t)),r}})),xt.register("4URNm",((e,t)=>{var r=xt("bikcG");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:xt("bgOMw").SEMVER_SPEC_VERSION,SemVer:xt("7qUJS"),compareIdentifiers:xt("12NXI").compareIdentifiers,rcompareIdentifiers:xt("12NXI").rcompareIdentifiers,parse:xt("gdrva"),valid:xt("fVzwP"),clean:xt("hOYls"),inc:xt("dGcr6"),diff:xt("bBssn"),major:xt("fB2B7"),minor:xt("bye2i"),patch:xt("87ZGF"),prerelease:xt("4agny"),compare:xt("howpO"),rcompare:xt("zcbgY"),compareLoose:xt("iGBo4"),compareBuild:xt("80ezM"),sort:xt("4qmtg"),rsort:xt("4pjXu"),gt:xt("6KPS4"),lt:xt("lr5pz"),eq:xt("jXghC"),neq:xt("fqqGA"),gte:xt("5cRW4"),lte:xt("fwsB7"),cmp:xt("823yM"),coerce:xt("1YYsi"),Comparator:xt("eR6XK"),Range:xt("hvUff"),satisfies:xt("c8FZS"),toComparators:xt("2J2hR"),maxSatisfying:xt("lbfMG"),minSatisfying:xt("5wbuE"),minVersion:xt("hZRNG"),validRange:xt("fqnzG"),outside:xt("77bPN"),gtr:xt("gD8Tz"),ltr:xt("bpPww"),intersects:xt("cHIUn"),simplifyRange:xt("k8aCs"),subset:xt("388OD")}})),xt.register("bikcG",((e,t)=>{var r=xt("bgOMw").MAX_SAFE_COMPONENT_LENGTH,n=xt("jkMsx");const o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let a=0;const c=(e,t,r)=>{const c=a++;n(e,c,t),s[e]=c,i[c]=t,o[c]=RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",i[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",i[s.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})),xt.register("bgOMw",((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}})),xt.register("jkMsx",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),xt.register("7qUJS",(function(e,t){var r=xt("jkMsx"),n=xt("bgOMw"),o=n.MAX_LENGTH,i=n.MAX_SAFE_INTEGER,s=xt("bikcG"),a=s.re,c=s.t,l=xt("eUvvN"),u=xt("12NXI").compareIdentifiers;class p{constructor(e,t){if(t=l(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>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[c.LOOSE]:a[c.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||0>this.major)throw new TypeError("Invalid major version");if(this.minor>i||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>i||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&i>t)return t}return e})):[],this.build=n[5]?n[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 n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}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&&(0===u(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})),xt.register("eUvvN",((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)),{}):{}})),xt.register("12NXI",((e,t)=>{const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:t>e?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers(e,t){return n(t,e)}}})),xt.register("gdrva",((e,t)=>{var r=xt("bgOMw").MAX_LENGTH,n=xt("bikcG"),o=n.re,i=n.t,s=xt("7qUJS"),a=xt("eUvvN");e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}})),xt.register("fVzwP",((e,t)=>{var r=xt("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}})),xt.register("hOYls",((e,t)=>{var r=xt("gdrva");e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}})),xt.register("dGcr6",((e,t)=>{var r=xt("7qUJS");e.exports=(e,t,n,o)=>{"string"==typeof n&&(o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o).version}catch(e){return null}}})),xt.register("bBssn",((e,t)=>{var r=xt("gdrva"),n=xt("jXghC");e.exports=(e,t)=>{if(n(e,t))return null;{const n=r(e),o=r(t),i=n.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==o[e])return s+e;return a}}})),xt.register("jXghC",((e,t)=>{var r=xt("howpO");e.exports=(e,t,n)=>0===r(e,t,n)})),xt.register("howpO",((e,t)=>{var r=xt("7qUJS");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))})),xt.register("fB2B7",((e,t)=>{var r=xt("7qUJS");e.exports=(e,t)=>new r(e,t).major})),xt.register("bye2i",((e,t)=>{var r=xt("7qUJS");e.exports=(e,t)=>new r(e,t).minor})),xt.register("87ZGF",((e,t)=>{var r=xt("7qUJS");e.exports=(e,t)=>new r(e,t).patch})),xt.register("4agny",((e,t)=>{var r=xt("gdrva");e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}})),xt.register("zcbgY",((e,t)=>{var r=xt("howpO");e.exports=(e,t,n)=>r(t,e,n)})),xt.register("iGBo4",((e,t)=>{var r=xt("howpO");e.exports=(e,t)=>r(e,t,!0)})),xt.register("80ezM",((e,t)=>{var r=xt("7qUJS");e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}})),xt.register("4qmtg",((e,t)=>{var r=xt("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))})),xt.register("4pjXu",((e,t)=>{var r=xt("80ezM");e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))})),xt.register("6KPS4",((e,t)=>{var r=xt("howpO");e.exports=(e,t,n)=>r(e,t,n)>0})),xt.register("lr5pz",((e,t)=>{var r=xt("howpO");e.exports=(e,t,n)=>0>r(e,t,n)})),xt.register("fqqGA",((e,t)=>{var r=xt("howpO");e.exports=(e,t,n)=>0!==r(e,t,n)})),xt.register("5cRW4",((e,t)=>{var r=xt("howpO");e.exports=(e,t,n)=>r(e,t,n)>=0})),xt.register("fwsB7",((e,t)=>{var r=xt("howpO");e.exports=(e,t,n)=>0>=r(e,t,n)})),xt.register("823yM",((e,t)=>{var r=xt("jXghC"),n=xt("fqqGA"),o=xt("6KPS4"),i=xt("5cRW4"),s=xt("lr5pz"),a=xt("fwsB7");e.exports=(e,t,c,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e===c;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e!==c;case"":case"=":case"==":return r(e,c,l);case"!=":return n(e,c,l);case">":return o(e,c,l);case">=":return i(e,c,l);case"<":return s(e,c,l);case"<=":return a(e,c,l);default:throw new TypeError("Invalid operator: "+t)}}})),xt.register("1YYsi",((e,t)=>{var r=xt("7qUJS"),n=xt("gdrva"),o=xt("bikcG"),i=o.re,s=o.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let o=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!o||o.index+o[0].length!==e.length);)o&&t.index+t[0].length===o.index+o[0].length||(o=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else o=e.match(i[s.COERCE]);return null===o?null:n(`${o[2]}.${o[3]||"0"}.${o[4]||"0"}`,t)}})),xt.register("eR6XK",(function(e,t){const r=Symbol();class n{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===r?"":this.operator+this.semver.version,l("comp",this)}parse(e){const t=e.match(this.options.loose?s[a.COMPARATORLOOSE]:s[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(l("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 c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))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),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&s||a||l}}e.exports=n;var o=xt("eUvvN"),i=xt("bikcG"),s=i.re,a=i.t,c=xt("823yM"),l=xt("jkMsx"),u=xt("7qUJS"),p=xt("hvUff")})),xt.register("hvUff",(function(e,t){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)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("||").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=n.get(t);if(r)return r;const o=this.options.loose;e=e.replace(o?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE],T(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],p),s("comparator trim",e);let a=(e=(e=(e=e.replace(l[u.TILDETRIM],d)).replace(l[u.CARETTRIM],h)).split(/\s+/).join(" ")).split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>$(e,this.options)));o&&(a=a.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),s("range list",a);const c=new Map,m=a.map((e=>new i(e,this.options)));for(const e of m){if(f(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const g=[...c.values()];return n.set(t,g),g}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>g(r,t)&&e.set.some((e=>g(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 n=new(xt("6MLkQ"))({max:1e3});var o=xt("eUvvN"),i=xt("eR6XK"),s=xt("jkMsx"),a=xt("7qUJS"),c=xt("bikcG"),l=c.re,u=c.t,p=c.comparatorTrimReplace,d=c.tildeTrimReplace,h=c.caretTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},v=(e,t)=>(s("comp",e,t),e=b(e,t),s("caret",e),e=w(e,t),s("tildes",e),e=S(e,t),s("xrange",e),e=O(e,t),s("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>e.replace(t.loose?l[u.TILDELOOSE]:l[u.TILDE],((t,r,n,o,i)=>{let a;return s("tilde",e,t,r,n,o,i),y(r)?a="":y(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(o)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(s("replaceTilde pr",i),a=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,s("tilde return",a),a})),b=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?l[u.CARETLOOSE]:l[u.CARET],((t,n,o,i,a)=>{let c;return s("caret",e,t,n,o,i,a),y(n)?c="":y(o)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(i)?c="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(s("replaceCaret pr",a),c="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),s("caret return",c),c}))},S=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>_(e,t))).join(" ")),_=(e,t)=>(e=e.trim()).replace(t.loose?l[u.XRANGELOOSE]:l[u.XRANGE],((r,n,o,i,a,c)=>{s("xRange",e,r,n,o,i,a,c);const l=y(o),u=l||y(i),p=u||y(a);return"="===n&&p&&(n=""),c=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(i=0),a=0,">"===n?(n=">=",u?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===n&&(n="<",u?o=+o+1:i=+i+1),"<"===n&&(c="-0"),r=`${n+o}.${i}.${a}${c}`):u?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),s("xRange return",r),r})),O=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),$=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),T=e=>(t,r,n,o,i,s,a,c,l,u,p,d,h)=>`${r=y(n)?"":y(o)?`>=${n}.0.0${e?"-0":""}`:y(i)?`>=${n}.${o}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${c=y(l)?"":y(u)?`<${+l+1}.0.0-0`:y(p)?`<${l}.${+u+1}.0-0`:d?`<=${l}.${u}.${p}-${d}`:e?`<${l}.${u}.${+p+1}-0`:"<="+c}`.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(s(e[r].semver),e[r].semver!==i.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}})),xt.register("6MLkQ",(function(e,t){const r="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,n="undefined"!=typeof AbortController?AbortController:Object.assign(class{constructor(){this.signal=new n.AbortSignal}abort(){this.signal.aborted=!0}},{AbortSignal:class{constructor(){this.aborted=!1}}}),o=new Set,i=(e,t)=>{const r="LRU_CACHE_OPTION_"+e;c(r)&&l(r,e+" option","options."+t,f)},s=(e,t)=>{const r="LRU_CACHE_METHOD_"+e;if(c(r)){const{prototype:n}=f,{get:o}=Object.getOwnPropertyDescriptor(n,e);l(r,e+" method",`cache.${t}()`,o)}},a=(...e)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...e):console.error(...e)},c=e=>!o.has(e),l=(e,t,r,n)=>{o.add(e),a(`The ${t} is deprecated. Please use ${r} instead.`,"DeprecationWarning",e,n)},u=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),p=e=>u(e)?e>256?e>65536?e>4294967296?e>Number.MAX_SAFE_INTEGER?null:d:Uint32Array:Uint16Array:Uint8Array:null;class d extends Array{constructor(e){super(e),this.fill(0)}}class h{constructor(e){if(0===e)return[];const t=p(e);this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class f{constructor(e={}){const{max:t=0,ttl:r,ttlResolution:n=1,ttlAutopurge:s,updateAgeOnGet:l,updateAgeOnHas:d,allowStale:m,dispose:g,disposeAfter:v,noDisposeOnSet:y,noUpdateTTL:w,maxSize:x=0,sizeCalculation:b,fetchMethod:E}=e,{length:S,maxAge:_,stale:O}=e instanceof f?{}:e;if(0!==t&&!u(t))throw new TypeError("max option must be a nonnegative integer");const $=t?p(t):Array;if(!$)throw Error("invalid max value: "+t);if(this.max=t,this.maxSize=x,this.sizeCalculation=b||S,this.sizeCalculation){if(!this.maxSize)throw new TypeError("cannot set sizeCalculation without setting maxSize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=E||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.keyMap=new Map,this.keyList=Array(t).fill(null),this.valList=Array(t).fill(null),this.next=new $(t),this.prev=new $(t),this.head=0,this.tail=0,this.free=new h(t),this.initialFill=1,this.size=0,"function"==typeof g&&(this.dispose=g),"function"==typeof v?(this.disposeAfter=v,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!y,this.noUpdateTTL=!!w,0!==this.maxSize){if(!u(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!m||!!O,this.updateAgeOnGet=!!l,this.updateAgeOnHas=!!d,this.ttlResolution=u(n)||0===n?n:1,this.ttlAutopurge=!!s,this.ttl=r||_||0,this.ttl){if(!u(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const e="LRU_CACHE_UNBOUNDED";c(e)&&(o.add(e),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,f))}O&&i("stale","allowStale"),_&&i("maxAge","ttl"),S&&i("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new d(this.max),this.starts=new d(this.max),this.setItemTTL=(e,t)=>{if(this.starts[e]=0!==t?r.now():0,this.ttls[e]=t,0!==t&&this.ttlAutopurge){const r=setTimeout((()=>{this.isStale(e)&&this.delete(this.keyList[e])}),t+1);r.unref&&r.unref()}},this.updateItemAge=e=>{this.starts[e]=0!==this.ttls[e]?r.now():0};let e=0;const t=()=>{const t=r.now();if(this.ttlResolution>0){e=t;const r=setTimeout((()=>e=0),this.ttlResolution);r.unref&&r.unref()}return t};this.getRemainingTTL=r=>{const n=this.keyMap.get(r);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(e||t())},this.isStale=r=>0!==this.ttls[r]&&0!==this.starts[r]&&(e||t())-this.starts[r]>this.ttls[r]}updateItemAge(e){}setItemTTL(e,t){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new d(this.max),this.removeItemSize=e=>this.calculatedSize-=this.sizes[e],this.requireSize=(e,t,r,n)=>{if(!u(r)){if(!n)throw new TypeError("invalid size value (must be positive integer)");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(r=n(t,e),!u(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r},this.addItemSize=(e,t,r,n)=>{this.sizes[e]=n;const o=this.maxSize-this.sizes[e];for(;this.calculatedSize>o;)this.evict(!0);this.calculatedSize+=this.sizes[e]},this.delete=e=>{if(0!==this.size){const t=this.keyMap.get(e);void 0!==t&&(this.calculatedSize-=this.sizes[t])}return f.prototype.delete.call(this,e)}}removeItemSize(e){}addItemSize(e,t,r,n){}requireSize(e,t,r,n){if(r||n)throw new TypeError("cannot set size without setting maxSize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.tail;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.head);)t=this.prev[t]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.head;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.tail);)t=this.next[t]}isValidIndex(e){return this.keyMap.get(this.keyList[e])===e}*entries(){for(const e of this.indexes())yield[this.keyList[e],this.valList[e]]}*rentries(){for(const e of this.rindexes())yield[this.keyList[e],this.valList[e]]}*keys(){for(const e of this.indexes())yield this.keyList[e]}*rkeys(){for(const e of this.rindexes())yield this.keyList[e]}*values(){for(const e of this.indexes())yield this.valList[e]}*rvalues(){for(const e of this.rindexes())yield this.valList[e]}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const r of this.indexes())if(e(this.valList[r],this.keyList[r],this))return this.get(this.keyList[r],t)}forEach(e,t=this){for(const r of this.indexes())e.call(t,this.valList[r],this.keyList[r],this)}rforEach(e,t=this){for(const r of this.rindexes())e.call(t,this.valList[r],this.keyList[r],this)}get prune(){return s("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(const t of this.rindexes({allowStale:!0}))this.isStale(t)&&(this.delete(this.keyList[t]),e=!0);return e}dump(){const e=[];for(const t of this.indexes()){const r=this.keyList[t],n={value:this.valList[t]};this.ttls&&(n.ttl=this.ttls[t]),this.sizes&&(n.size=this.sizes[t]),e.unshift([r,n])}return e}load(e){this.clear();for(const[t,r]of e)this.set(t,r.value,r)}dispose(e,t,r){}set(e,t,{ttl:r=this.ttl,noDisposeOnSet:n=this.noDisposeOnSet,size:o=0,sizeCalculation:i=this.sizeCalculation,noUpdateTTL:s=this.noUpdateTTL}={}){o=this.requireSize(e,t,o,i);let a=0===this.size?void 0:this.keyMap.get(e);if(void 0===a)a=this.newIndex(),this.keyList[a]=e,this.valList[a]=t,this.keyMap.set(e,a),this.next[this.tail]=a,this.prev[a]=this.tail,this.tail=a,this.size++,this.addItemSize(a,t,e,o),s=!1;else{const r=this.valList[a];t!==r&&(this.isBackgroundFetch(r)?r.__abortController.abort():n||(this.dispose(r,e,"set"),this.disposeAfter&&this.disposed.push([r,e,"set"])),this.removeItemSize(a),this.valList[a]=t,this.addItemSize(a,t,e,o)),this.moveToTail(a)}if(0===r||0!==this.ttl||this.ttls||this.initializeTTLTracking(),s||this.setItemTTL(a,r),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const e=this.valList[this.head];return this.evict(!0),e}}evict(e){const t=this.head,r=this.keyList[t],n=this.valList[t];return this.isBackgroundFetch(n)?n.__abortController.abort():(this.dispose(n,r,"evict"),this.disposeAfter&&this.disposed.push([n,r,"evict"])),this.removeItemSize(t),e&&(this.keyList[t]=null,this.valList[t]=null,this.free.push(t)),this.head=this.next[t],this.keyMap.delete(r),this.size--,t}has(e,{updateAgeOnHas:t=this.updateAgeOnHas}={}){const r=this.keyMap.get(e);return void 0!==r&&!this.isStale(r)&&(t&&this.updateItemAge(r),!0)}peek(e,{allowStale:t=this.allowStale}={}){const r=this.keyMap.get(e);if(void 0!==r&&(t||!this.isStale(r)))return this.valList[r]}backgroundFetch(e,t,r){const o=void 0===t?void 0:this.valList[t];if(this.isBackgroundFetch(o))return o;const i=new n,s={signal:i.signal,options:r},a=Promise.resolve(this.fetchMethod(e,o,s)).then((t=>(i.signal.aborted||this.set(e,t,s.options),t)));return a.__abortController=i,a.__staleWhileFetching=o,void 0===t?(this.set(e,a,s.options),t=this.keyMap.get(e)):this.valList[t]=a,a}isBackgroundFetch(e){return e&&"object"==typeof e&&"function"==typeof e.then&&{}.hasOwnProperty.call(e,"__staleWhileFetching")}async fetch(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,ttl:n=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:i=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL}={}){if(!this.fetchMethod)return this.get(e,{allowStale:t,updateAgeOnGet:r});const c={allowStale:t,updateAgeOnGet:r,ttl:n,noDisposeOnSet:o,size:i,sizeCalculation:s,noUpdateTTL:a};let l=this.keyMap.get(e);if(void 0===l)return this.backgroundFetch(e,l,c);{const n=this.valList[l];if(this.isBackgroundFetch(n))return t&&void 0!==n.__staleWhileFetching?n.__staleWhileFetching:n;if(!this.isStale(l))return this.moveToTail(l),r&&this.updateItemAge(l),n;const o=this.backgroundFetch(e,l,c);return t&&void 0!==o.__staleWhileFetching?o.__staleWhileFetching:o}}get(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet}={}){const n=this.keyMap.get(e);if(void 0!==n){const o=this.valList[n],i=this.isBackgroundFetch(o);if(this.isStale(n))return i?t?o.__staleWhileFetching:void 0:(this.delete(e),t?o:void 0);if(i)return;return this.moveToTail(n),r&&this.updateItemAge(n),o}}connect(e,t){this.prev[t]=e,this.next[e]=t}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return s("del","delete"),this.delete}delete(e){let t=!1;if(0!==this.size){const r=this.keyMap.get(e);if(void 0!==r)if(t=!0,1===this.size)this.clear();else{this.removeItemSize(r);const t=this.valList[r];this.isBackgroundFetch(t)?t.__abortController.abort():(this.dispose(t,e,"delete"),this.disposeAfter&&this.disposed.push([t,e,"delete"])),this.keyMap.delete(e),this.keyList[r]=null,this.valList[r]=null,r===this.tail?this.tail=this.prev[r]:r===this.head?this.head=this.next[r]:(this.next[this.prev[r]]=this.next[r],this.prev[this.next[r]]=this.prev[r]),this.size--,this.free.push(r)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return t}clear(){for(const e of this.rindexes({allowStale:!0})){const t=this.valList[e];if(this.isBackgroundFetch(t))t.__abortController.abort();else{const r=this.keyList[e];this.dispose(t,r,"delete"),this.disposeAfter&&this.disposed.push([t,r,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return s("reset","clear"),this.clear}get length(){return((e,t)=>{const r="LRU_CACHE_PROPERTY_length";if(c(r)){const{prototype:e}=f,{get:t}=Object.getOwnPropertyDescriptor(e,"length");l(r,"length property","cache.size",t)}})(),this.size}}e.exports=f})),xt.register("c8FZS",((e,t)=>{var r=xt("hvUff");e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}})),xt.register("2J2hR",((e,t)=>{var r=xt("hvUff");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),xt.register("lbfMG",((e,t)=>{var r=xt("7qUJS"),n=xt("hvUff");e.exports=(e,t,o)=>{let i=null,s=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new r(i,o)))})),i}})),xt.register("5wbuE",((e,t)=>{var r=xt("7qUJS"),n=xt("hvUff");e.exports=(e,t,o)=>{let i=null,s=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new r(i,o)))})),i}})),xt.register("hZRNG",((e,t)=>{var r=xt("7qUJS"),n=xt("hvUff"),o=xt("6KPS4");e.exports=(e,t)=>{e=new n(e,t);let i=new r("0.0.0");if(e.test(i))return i;if(i=new r("0.0.0-0"),e.test(i))return i;i=null;for(let t=0;e.set.length>t;++t){let n=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">=":n&&!o(t,n)||(n=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!n||i&&!o(i,n)||(i=n)}return i&&e.test(i)?i:null}})),xt.register("fqnzG",((e,t)=>{var r=xt("hvUff");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),xt.register("77bPN",((e,t)=>{var r=xt("7qUJS"),n=xt("eR6XK");const{ANY:o}=n;var i=xt("hvUff"),s=xt("c8FZS"),a=xt("6KPS4"),c=xt("lr5pz"),l=xt("fwsB7"),u=xt("5cRW4");e.exports=(e,t,p,d)=>{let h,f,m,g,v;switch(e=new r(e,d),t=new i(t,d),p){case">":h=a,f=l,m=c,g=">",v=">=";break;case"<":h=c,f=u,m=a,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let r=0;t.set.length>r;++r){let i=null,s=null;if(t.set[r].forEach((e=>{e.semver===o&&(e=new n(">=0.0.0")),i=i||e,s=s||e,h(e.semver,i.semver,d)?i=e:m(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===v)return!1;if((!s.operator||s.operator===g)&&f(e,s.semver))return!1;if(s.operator===v&&m(e,s.semver))return!1}return!0}})),xt.register("gD8Tz",((e,t)=>{var r=xt("77bPN");e.exports=(e,t,n)=>r(e,t,">",n)})),xt.register("bpPww",((e,t)=>{var r=xt("77bPN");e.exports=(e,t,n)=>r(e,t,"<",n)})),xt.register("cHIUn",((e,t)=>{var r=xt("hvUff");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))})),xt.register("k8aCs",((e,t)=>{var r=xt("c8FZS"),n=xt("howpO");e.exports=(e,t,o)=>{const i=[];let s=null,a=null;const c=e.sort(((e,t)=>n(e,t,o)));for(const e of c)r(e,t,o)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const l=[];for(const[e,t]of i)l.push(e===t?e:t||e!==c[0]?t?e===c[0]?"<="+t:`${e} - ${t}`:">="+e:"*");const u=l.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>u.length?u:t}})),xt.register("388OD",((e,t)=>{var r=xt("hvUff"),n=xt("eR6XK");const{ANY:o}=n;var i=xt("c8FZS"),s=xt("howpO");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?[new n(">=0.0.0-0")]:[new n(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=[new n(">=0.0.0")]}const a=new Set;let u,p,d,h,f,m,g;for(const t of e)">"===t.operator||">="===t.operator?u=c(u,t,r):"<"===t.operator||"<="===t.operator?p=l(p,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&p){if(d=s(u.semver,p.semver,r),d>0)return null;if(0===d&&(">="!==u.operator||"<="!==p.operator))return null}for(const e of a){if(u&&!i(e,u+"",r))return null;if(p&&!i(e,p+"",r))return null;for(const n of t)if(!i(e,n+"",r))return!1;return!0}let v=!(!p||r.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;v&&1===v.prerelease.length&&"<"===p.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(g=g||">"===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(h=c(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!i(u.semver,e+"",r))return!1;if(p)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=l(p,e,r),f===e&&f!==p)return!1}else if("<="===p.operator&&!i(p.semver,e+"",r))return!1;if(!e.operator&&(p||u)&&0!==d)return!1}return!(u&&m&&!p&&0!==d||p&&g&&!u&&0!==d||y||v)},c=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:0>n||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return 0>n?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}})),xt.register("iFKS7",((e,t)=>{var r=xt("joDHm"),n=xt("inTPA");e.exports=(e,t,o)=>{var i=t&&o||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;16>a;++a)t[i+a]=s[a];return t||n(s)}})),xt.register("joDHm",((e,t)=>{e.exports=()=>ut.randomBytes(16)})),xt.register("inTPA",((e,t)=>{for(var r=[],n=0;256>n;++n)r[n]=(n+256).toString(16).substr(1);e.exports=(e,t)=>{var n=t||0;return""+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}})),xt.register("ca0ts",(function(e,t){"use strict";function r(e,t,r){return s(this,void 0,void 0,(function*(){const n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const o=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(o,t,r).exec()}))}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),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)&&n(t,e,r);return o(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;const a=i(xt("e0fPv"));e.exports.exec=r,e.exports.getExecOutput=function(e,t,n){var o,i;return s(this,void 0,void 0,(function*(){let s="",a="";const c=new pt.StringDecoder("utf8"),l=new pt.StringDecoder("utf8"),u=null===(o=null==n?void 0:n.listeners)||void 0===o?void 0:o.stdout,p=null===(i=null==n?void 0:n.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==n?void 0:n.listeners),{stdout(e){s+=c.write(e),u&&u(e)},stderr(e){a+=l.write(e),p&&p(e)}}),h=yield r(e,t,Object.assign(Object.assign({},n),{listeners:d}));return s+=c.end(),a+=l.end(),{exitCode:h,stdout:s,stderr:a}}))}})),xt.register("e0fPv",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const s=o(et),a=o(st),c=o(lt),l=o(tt),u=o(xt("fvrnx")),p=o(xt("2GOko")),d="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(),n=this._getSpawnArgs(e);let o=t?"":"[command]";if(d)if(this._isCmdFile()){o+=r;for(const e of n)o+=" "+e}else if(e.windowsVerbatimArguments){o+=`"${r}"`;for(const e of n)o+=" "+e}else{o+=this._windowsQuoteCmdArg(r);for(const e of n)o+=" "+this._windowsQuoteCmdArg(e)}else{o+=r;for(const e of n)o+=" "+e}return o}_processLineBuffer(e,t,r){try{let n=t+""+e,o=n.indexOf(s.EOL);for(;o>-1;)r(n.substring(0,o)),n=n.substring(o+s.EOL.length),o=n.indexOf(s.EOL);return n}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(d&&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 n of e)if(t.some((e=>e===n))){r=!0;break}if(!r)return e;let n='"',o=!0;for(let t=e.length;t>0;t--)n+=e[t-1],o&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(o=!0,n+='"'):o=!1;return n+='"',n.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 n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-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 i(this,void 0,void 0,(function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise(((e,t)=>i(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)+s.EOL);const n=new h(r,this.toolPath);if(n.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 o=this._getSpawnFileName(),i=c.spawn(o,this._getSpawnArgs(r),this._getSpawnOptions(this.options,o));let a="";i.stdout&&i.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 l="";if(i.stderr&&i.stderr.on("data",(e=>{n.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),l=this._processLineBuffer(e,l,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),i.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),i.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),i.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{a.length>0&&this.emit("stdline",a),l.length>0&&this.emit("errline",l),i.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!i.stdin)throw Error("child process missing stdin");i.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){o&&'"'!==e&&(i+="\\"),i+=e,o=!1}const r=[];let n=!1,o=!1,i="";for(let s=0;e.length>s;s++){const a=e.charAt(s);'"'!==a?"\\"===a&&o?t(a):"\\"===a&&n?o=!0:" "!==a||n?t(a):i.length>0&&(r.push(i),i=""):o?t(a):n=!n}return i.length>0&&r.push(i.trim()),r};class h 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=dt.setTimeout(h.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())}}})),xt.register("d0ovd",((e,t)=>{e.exports=Promise.resolve(require("./actions_python.feac98a0.js")).then((()=>xt("apy8x")))})),xt.register("cReTf",((e,t)=>{function r(e){Array.isArray(e)||(e=[e]);for(const t of e){const{id:e,data:r}=t;c[e]=r}}function n(e,t,r){const n=(e=>{const t=c[e.locale];let r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType),r=Array.from(new Set(r));let n=null;if(r.some((e=>{if(void 0!==t[e])return n=t[e],!0})),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n})(r);return o.pluralize(r.locale,t,n[e]).replace("{0}",t)}var o=xt("5FRs7"),i=xt("3Zbea");const s=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},c={};e.exports={create(e){return e=Object.assign({},a,e||{}),{format(t,o,a){return((e,t,o)=>{if(((e,t)=>{const{autoload:n}=t;if(!c[e]){if(!i||!n)throw Error(`Missing locale: ${e}, you must load it manually before using it`);(e=>{try{r(require(`../locales/${e}.js`))}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`)}})(e)}})(o.locale,{autoload:o.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");const a=((e,t)=>{let r=t-e;const n=[];return s.some((e=>{const t=e[0],o=e[1],i=Math.floor(r/o);if(r-=i*o,n.push([t,i]),0>=r)return!0})),n})(e,t),l=[];for(const e of a){const[t,r]=e;if(r>0&&l.push(n(t,r,o)),l.length>=o.span)break}return l.join(o.delimiter)})(t,o,a=Object.assign({},e,a||{}))}}},addLocale:r,defaultConfig:a}})),xt.register("5FRs7",((e,t)=>{e.exports=xt("j5MHF")})),xt.register("j5MHF",(function(e,t){var r=tt.resolve(__dirname,"../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){"use strict";function t(e,t,r){if(n(e),"object"!=typeof r)throw Error("List of variants should be specified as an object");var i=o[e](t);return void 0!==r[i]?r[i]:null}function n(e){(e=>void 0!==o[e])(e)||(e=>{try{require(r+"/../locales/"+e+".js")}catch(t){throw Error("Failed to load the following locale: "+e)}})(e)}var o={},i={create(e){return n(e),{pluralize(r,n){return t(e,r,n)}}},addLocale(e,t){o[e]=t},pluralize:t};void 0!==e.exports?e.exports=i:this.numerous=i}).call(e.exports)})),xt.register("3Zbea",((e,t)=>{"use strict";e.exports=!("undefined"==typeof process||!process.versions||!process.versions.node)})),e(module.exports,"main",(()=>Ye)),e(module.exports,"parseArgs",(()=>Ke)),e(module.exports,"getCompilerInfo",(()=>Je));var bt=xt("04fde"),Et={};const St="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,_t=St?";":":";var Ot,$t={};Ot="win32"===process.platform||vt.TESTING_WINDOWS?xt("ftrAD"):xt("9yF3I"),$t=r,r.sync=(e,t)=>{try{return Ot.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const Tt=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),Rt=(e,t)=>{const r=t.colon||_t,n=e.match(/\//)||St&&e.match(/\\/)?[""]:[...St?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=St?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=St?o.split(r):[""];return St&&-1!==e.indexOf(".")&&""!==i[0]&&i.unshift(""),{pathEnv:n,pathExt:i,pathExtExe:o}},Ct=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:o,pathExtExe:i}=Rt(e,t),s=[],a=r=>new Promise(((o,i)=>{if(r===n.length)return t.all&&s.length?o(s):i(Tt(e));const a=n[r],l=/^".*"$/.test(a)?a.slice(1,-1):a,u=tt.join(l,e),p=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;o(c(p,r,0))})),c=(e,r,n)=>new Promise(((l,u)=>{if(n===o.length)return l(a(r+1));const p=o[n];$t(e+p,{pathExt:i},((o,i)=>{if(!o&&i){if(!t.all)return l(e+p);s.push(e+p)}return l(c(e,r,n+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let Pt;Et=Ct,Ct.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:o}=Rt(e,t),i=[];for(let s=0;r.length>s;s++){const a=r[s],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=tt.join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;n.length>e;e++){const r=u+n[e];try{if($t.sync(r,{pathExt:o})){if(!t.all)return r;i.push(r)}}catch(e){}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw Tt(e)};var At,It={},Nt={},kt={},Lt={};const jt=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};var Dt,Ut;(Lt=jt).default=jt,At=e=>o(e)||o(e,!0);const Mt=/([()\][%!^"`<>&|;, *?])/g;Dt=e=>e.replace(Mt,"^$1"),Ut=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Mt,"^$1"),t&&(e=e.replace(Mt,"^$1")),e);var Ft,Gt,zt;Gt=/^#!(.*)/,Ft=(e="")=>{const t=e.match(Gt);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return"env"===o?n:n?`${o} ${n}`:o},zt=e=>{const t=Buffer.alloc(150);let r;try{r=rt.openSync(e,"r"),rt.readSync(r,t,0,150,0),rt.closeSync(r)}catch(e){}return Ft(""+t)};const Bt="win32"===process.platform,Ht=/\.(?:com|exe)$/i,qt=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;kt=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:(e=>{if(!Bt)return e;const t=(e=>{e.file=At(e);const t=e.file&&zt(e.file);return t?(e.args.unshift(e.file),e.command=t,At(e)):e.file})(e),r=!Ht.test(t);if(e.options.forceShell||r){const r=qt.test(t);e.command=tt.normalize(e.command),e.command=Dt(e.command),e.args=e.args.map((e=>Ut(e,r)));const n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(n)};var Vt={};const Wt="win32"===process.platform;var Xt;Vt={hookChildProcess(e,t){if(!Wt)return;const r=e.emit;e.emit=function(n,o){if("exit"===n){const n=s(o,t);if(n)return r.call(e,"error",n)}return r.apply(e,arguments)}},verifyENOENT:s,verifyENOENTSync(e,t){return Wt&&1===e&&!t.file?i(t.original,"spawnSync"):null},notFoundError:i},(Nt=a).spawn=a,Nt.sync=(e,t,r)=>{const n=kt(e,t,r),o=lt.spawnSync(n.command,n.args,n.options);return o.error=o.error||Vt.verifyENOENTSync(o.status,n),o},Nt._parse=kt,Nt._enoent=Vt,Xt=e=>{const t="string"==typeof e?"\r":13;return e[e.length-1]===("string"==typeof e?"\n":10)&&(e=e.slice(0,e.length-1)),e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e};var Yt={};const Kt=e=>{let t;e={cwd:process.cwd(),path:process.env[Lt()],execPath:process.execPath,...e};let r=tt.resolve(e.cwd);const n=[];for(;t!==r;)n.push(tt.join(r,"node_modules/.bin")),t=r,r=tt.resolve(r,"..");const o=tt.resolve(e.cwd,e.execPath,"..");return n.push(o),n.concat(e.path).join(tt.delimiter)};(Yt=Kt).default=Kt,Yt.env=e=>{const t={...(e={env:process.env,...e}).env},r=Lt({env:t});return e.path=t[r],t[r]=Yt(e),t};var Jt={},Zt={};const Qt=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(Zt=Qt).default=Qt;const er=new WeakMap,tr=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,n=0;const o=e.displayName||e.name||"",i=function(...s){if(er.set(i,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${o}\` can only be called once`);return r};return Zt(i,e),er.set(i,n),i};(Jt=tr).default=tr,Jt.callCount=e=>{if(!er.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return er.get(e)};var rr,nr={};Object.defineProperty(nr,"__esModule",{value:!0}),nr.signalsByNumber=nr.signalsByName=void 0;var or={};Object.defineProperty(or,"__esModule",{value:!0}),or.getSignals=void 0;var ir={};Object.defineProperty(ir,"__esModule",{value:!0}),ir.SIGNALS=void 0,ir.SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var sr={};Object.defineProperty(sr,"__esModule",{value:!0}),sr.SIGRTMAX=sr.getRealtimeSignals=void 0,sr.getRealtimeSignals=()=>Array.from({length:lr-cr+1},ar);const ar=(e,t)=>({name:"SIGRT"+(t+1),number:cr+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),cr=34,lr=64;sr.SIGRTMAX=lr,or.getSignals=()=>{const e=(0,sr.getRealtimeSignals)();return[...ir.SIGNALS,...e].map(ur)};const ur=({name:e,number:t,description:r,action:n,forced:o=!1,standard:i})=>{const{signals:{[e]:s}}=et.constants,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:o,standard:i}},pr=(0,or.getSignals)().reduce(((e,{name:t,number:r,description:n,supported:o,action:i,forced:s,standard:a})=>({...e,[t]:{name:t,number:r,description:n,supported:o,action:i,forced:s,standard:a}})),{});nr.signalsByName=pr;const dr=(()=>{const e=(0,or.getSignals)(),t=Array.from({length:sr.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>et.constants.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:n,description:o,supported:i,action:s,forced:a,standard:c}=r;return{[e]:{name:n,number:e,description:o,supported:i,action:s,forced:a,standard:c}}})(r,e)));return Object.assign({},...t)})();nr.signalsByNumber=dr;var hr=nr.signalsByName;rr=({stdout:e,stderr:t,all:r,error:n,signal:o,exitCode:i,command:s,escapedCommand:a,timedOut:c,isCanceled:l,killed:u,parsed:{options:{timeout:p}}})=>{const d=void 0===(o=null===o?void 0:o)?void 0:hr[o].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:o,exitCode:i,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${o})`:void 0!==i?"failed with exit code "+i:"failed")({timedOut:c,timeout:p,errorCode:n&&n.code,signal:o,signalDescription:d,exitCode:i=null===i?void 0:i,isCanceled:l}),f=`Command ${h}: ${s}`,m="[object Error]"==={}.toString.call(n),g=m?`${f}\n${n.message}`:f,v=[g,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=v):n=Error(v),n.shortMessage=g,n.command=s,n.escapedCommand=a,n.exitCode=i,n.signal=o,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!c,n.isCanceled=l,n.killed=u&&!c,n};var fr={};const mr=["stdin","stdout","stderr"],gr=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return mr.map((t=>e[t]));if((e=>mr.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+mr.map((e=>`\`${e}\``)).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,mr.length)},((e,r)=>t[r]))};(fr=gr).node=e=>{const t=gr(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var vr,yr={},wr=vt.process;const xr=e=>e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;if(xr(wr)){var br,Er=at,Sr=xt("bJALw"),_r=/^win/i.test(wr.platform),Or=st;"function"!=typeof Or&&(Or=Or.EventEmitter),wr.__signal_exit_emitter__?br=wr.__signal_exit_emitter__:((br=wr.__signal_exit_emitter__=new Or).count=0,br.emitted={}),br.infinite||(br.setMaxListeners(1/0),br.infinite=!0),yr=(e,t)=>{if(!xr(vt.process))return()=>{};Er.equal(typeof e,"function","a callback must be provided for exit handler"),!1===Cr&&Pr();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),br.on(r,e),()=>{br.removeListener(r,e),0===br.listeners("exit").length&&0===br.listeners("afterexit").length&&$r()}};var $r=()=>{Cr&&xr(vt.process)&&(Cr=!1,Sr.forEach((e=>{try{wr.removeListener(e,Rr[e])}catch(e){}})),wr.emit=Nr,wr.reallyExit=Ar,br.count-=1)};yr.unload=$r;var Tr=(e,t,r)=>{br.emitted[e]||(br.emitted[e]=!0,br.emit(e,t,r))},Rr={};Sr.forEach((e=>{Rr[e]=()=>{xr(vt.process)&&wr.listeners(e).length===br.count&&($r(),Tr("exit",null,e),Tr("afterexit",null,e),_r&&"SIGHUP"===e&&(e="SIGINT"),wr.kill(wr.pid,e))}})),yr.signals=()=>Sr;var Cr=!1,Pr=()=>{!Cr&&xr(vt.process)&&(Cr=!0,br.count+=1,Sr=Sr.filter((e=>{try{return wr.on(e,Rr[e]),!0}catch(e){return!1}})),wr.emit=kr,wr.reallyExit=Ir)};yr.load=Pr;var Ar=wr.reallyExit,Ir=e=>{xr(vt.process)&&(wr.exitCode=e||0,Tr("exit",wr.exitCode,null),Tr("afterexit",wr.exitCode,null),Ar.call(wr,wr.exitCode))},Nr=wr.emit,kr=function(e,t){if("exit"===e&&xr(vt.process)){void 0!==t&&(wr.exitCode=t);var r=Nr.apply(this,arguments);return Tr("exit",wr.exitCode,null),Tr("afterexit",wr.exitCode,null),r}return Nr.apply(this,arguments)}}else yr=()=>()=>{};const Lr=e=>e===et.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var jr,Dr=(vr={spawnedKill(e,t="SIGTERM",r={}){const n=e(t);return((e,t,r,n)=>{if(!((e,{forceKillAfterTimeout:t},r)=>Lr(e)&&!1!==t&&r)(t,r,n))return;const o=(({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||0>e)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e})(r),i=setTimeout((()=>{e("SIGKILL")}),o);i.unref&&i.unref()})(e,t,r,n),n},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){if(0===t||void 0===t)return n;let o;const i=new Promise(((n,i)=>{o=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,i)}),t)})),s=n.finally((()=>{clearTimeout(o)}));return Promise.race([i,s])},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||0>e))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},async setExitHandler(e,{cleanup:t,detached:r},n){if(!t||r)return n;const o=yr((()=>{e.kill()}));return n.finally((()=>{o()}))}}).spawnedKill,Ur=vr.spawnedCancel,Mr=vr.setupTimeout,Fr=vr.validateTimeout,Gr=vr.setExitHandler,zr={};const Br=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;Br.writable=e=>Br(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,Br.readable=e=>Br(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,Br.duplex=e=>Br.writable(e)&&Br.readable(e),Br.transform=e=>Br.duplex(e)&&"function"==typeof e._transform,zr=Br;var Hr,qr={},Vr=ht.constants,Wr=ft.PassThrough;Hr=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const n="buffer"===r;let o=!1;t?o=!(r||n):r=r||"utf8",n&&(r=null);const i=new Wr({objectMode:o});r&&i.setEncoding(r);let s=0;const a=[];return i.on("data",(e=>{a.push(e),o?s=a.length:s+=e.length})),i.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),i.getBufferedLength=()=>s,i};const Xr=(0,ct.promisify)(ft.pipeline);class Yr extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(qr=c).buffer=(e,t)=>c(e,{...t,encoding:"buffer"}),qr.array=(e,t)=>c(e,{...t,array:!0}),qr.MaxBufferError=Yr;var Kr,Jr=ft.PassThrough;Kr=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(n.push(t),t.once("end",r.bind(null,t)),t.once("error",o.emit.bind(o,"error")),t.pipe(o,{end:!1}),this)}function t(){return 0==n.length}function r(e){!(n=n.filter((t=>t!==e))).length&&o.readable&&o.end()}var n=[],o=new Jr({objectMode:!0});return o.setMaxListeners(0),o.add=e,o.isEmpty=t,o.on("unpipe",r),[].slice.call(arguments).forEach(e),o};const Zr=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},Qr=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?qr(e,{encoding:t,maxBuffer:n}):qr.buffer(e,{maxBuffer:n})};var en,tn=(jr={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(zr(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=Kr();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:n,buffer:o,maxBuffer:i},s){const a=Qr(e,{encoding:n,buffer:o,maxBuffer:i}),c=Qr(t,{encoding:n,buffer:o,maxBuffer:i}),l=Qr(r,{encoding:n,buffer:o,maxBuffer:2*i});try{return await Promise.all([s,a,c,l])}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},Zr(e,a),Zr(t,c),Zr(r,l)])}},validateInputSync({input:e}){if(zr(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,rn=jr.getSpawnedResult,nn=jr.makeAllStream,on=jr.validateInputSync;const sn=(async()=>{})().constructor.prototype,an=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(sn,e)]));var cn,ln=(en={mergePromise(e,t){for(const[r,n]of an){const o="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o})}return e},getSpawnedPromise(e){return new Promise(((t,r)=>{e.on("exit",((e,r)=>{t({exitCode:e,signal:r})})),e.on("error",(e=>{r(e)})),e.stdin&&e.stdin.on("error",(e=>{r(e)}))}))}}).mergePromise,un=en.getSpawnedPromise;const pn=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],dn=/^[\w.-]+$/,hn=/"/g,fn=/ +/g;var mn=(cn={joinCommand(e,t){return pn(e,t).join(" ")},getEscapedCommand(e,t){return pn(e,t).map((e=>(e=>"string"!=typeof e||dn.test(e)?e:`"${e.replace(hn,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(fn)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,gn=cn.parseCommand,vn=cn.getEscapedCommand;const yn=(e,t,r={})=>{const n=Nt._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r}).env=(({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:o})=>{const i=t?{...process.env,...e}:e;return r?Yt.env({env:i,cwd:n,execPath:o}):i})(r),r.stdio=fr(r),"win32"===process.platform&&"cmd"===tt.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},wn=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?Xt(t):t:void 0===r?void 0:"",xn=(e,t,r)=>{const n=yn(e,t,r),o=mn(e,t),i=vn(e,t);let s;Fr(n.options);try{s=lt.spawn(n.file,n.args,n.options)}catch(e){const t=new lt.ChildProcess,r=Promise.reject(rr({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:i,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return ln(t,r)}const a=un(s),c=Mr(s,n.options,a),l=Gr(s,n.options,c),u={isCanceled:!1};s.kill=Dr.bind(null,s.kill.bind(s)),s.cancel=Ur.bind(null,s,u);const p=Jt((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,p,d]=await rn(s,n.options,l),h=wn(n.options,c),f=wn(n.options,p),m=wn(n.options,d);if(e||0!==t||null!==r){const c=rr({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:o,escapedCommand:i,parsed:n,timedOut:a,isCanceled:u.isCanceled,killed:s.killed});if(!n.options.reject)return c;throw c}return{command:o,escapedCommand:i,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return tn(s,n.options.input),s.all=nn(s,n.options),ln(s,p)};(It=xn).sync=(e,t,r)=>{const n=yn(e,t,r),o=mn(e,t),i=vn(e,t);let s;on(n.options);try{s=lt.spawnSync(n.file,n.args,n.options)}catch(e){throw rr({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:i,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const a=wn(n.options,s.stdout,s.error),c=wn(n.options,s.stderr,s.error);if(s.error||0!==s.status||null!==s.signal){const e=rr({stdout:a,stderr:c,error:s.error,signal:s.signal,exitCode:s.status,command:o,escapedCommand:i,parsed:n,timedOut:s.error&&"ETIMEDOUT"===s.error.code,isCanceled:!1,killed:null!==s.signal});if(!n.options.reject)return e;throw e}return{command:o,escapedCommand:i,exitCode:0,stdout:a,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},It.command=(e,t)=>{const[r,...n]=gn(e);return xn(r,n,t)},It.commandSync=(e,t)=>{const[r,...n]=gn(e);return xn.sync(r,n,t)},It.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const n=fr.node(r),o=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:i=process.execPath,nodeOptions:s=o}=r;return xn(i,[...s,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})},bt=xt("04fde");var bn,En=xt("gmbrv");bt=xt("04fde"),En=xt("gmbrv");const Sn=et.homedir();bn=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return Sn?e.replace(/^~(?=$|\/|\\)/,Sn):e};var _n=xt("ditiY");let On;var $n;const Tn="win32"!==et.platform(),Rn=et.release(),Cn=/(\d+\.\d+)\.(\d+)/;$n=e=>Tn?e.replace(/(\s+)/g,"\\$1"):((e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184)(...Cn.exec(Rn).splice(1))?e:e.replace(/(\s+)/g,"%20");const Pn=p(".cpprc");let An=!1,In=!1,Nn=!1;_n=xt("ditiY");let kn=!1,Ln=!1;bt=xt("04fde");let jn,Dn=!1;bt=xt("04fde"),_n=xt("ditiY");let Un,Mn,Fn,Gn=!1;_n=xt("ditiY");var zn=xt("fvrnx"),Bn=(_n=xt("ditiY"),{}),Hn=tt.resolve(__dirname,"../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),qn=Bn&&Bn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),Vn=Bn&&Bn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Wn=Bn&&Bn.__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)&&qn(t,e,r);return Vn(t,e),t}),Xn=Bn&&Bn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))),Yn=Bn&&Bn.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Bn,"__esModule",{value:!0}),Bn.evaluateVersions=Bn.isExplicitVersion=Bn.findFromManifest=Bn.getManifestFromRepo=Bn.findAllVersions=Bn.find=Bn.cacheFile=Bn.cacheDir=Bn.extractZip=Bn.extractXar=Bn.extractTar=Bn.extract7z=Bn.downloadTool=Bn.HTTPError=void 0;const Kn=Wn(xt("04fde")),Jn=Wn(xt("fvrnx")),Zn=Wn(rt),Qn=Wn(xt("6kHxT")),eo=Wn(et),to=Wn(tt),ro=Wn(xt("4z9RF")),no=Wn(xt("4URNm")),oo=Wn(ft),io=Wn(ct),so=Yn(xt("iFKS7"));var ao=xt("ca0ts"),co={},lo=co&&co.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),uo=co&&co.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),po=co&&co.__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)&&lo(t,e,r);return uo(t,e),t}),ho=co&&co.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(co,"__esModule",{value:!0}),co.RetryHelper=void 0;const fo=po(xt("04fde"));co.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 ho(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;fo.info(e.message)}const n=this.getSleepAmount();fo.info(`Waiting ${n} seconds before trying again`),yield this.sleep(n),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return ho(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class mo extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Bn.HTTPError=mo;const go="win32"===process.platform,vo="darwin"===process.platform;let yo;Bn.downloadTool=function(e,t,r,n){return Xn(this,void 0,void 0,(function*(){t=t||to.join(B(),so.default()),yield Jn.mkdirP(to.dirname(t)),Kn.debug("Downloading "+e),Kn.debug("Destination "+t);const o=H("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),i=H("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new co.RetryHelper(3,o,i);return yield s.execute((()=>Xn(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return Xn(this,void 0,void 0,(function*(){if(Zn.existsSync(t))throw Error(`Destination file path ${t} already exists`);const o=new ro.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Kn.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const i=yield o.get(e,n);if(200!==i.message.statusCode){const t=new mo(i.message.statusCode);throw Kn.debug(`Failed to download from "${e}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),t}const s=io.promisify(oo.pipeline),a=H("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>i.message))();let c=!1;try{return yield s(a,Zn.createWriteStream(t)),Kn.debug("download complete"),c=!0,t}finally{if(!c){Kn.debug("download failed");try{yield Jn.rmRF(t)}catch(e){Kn.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof mo&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Bn.extract7z=function(e,t,r){return Xn(this,void 0,void 0,(function*(){at.ok(go,"extract7z() not supported on current OS"),at.ok(e,'parameter "file" is required'),t=yield D(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",Kn.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],o={silent:!0};yield ao.exec(`"${r}"`,t,o)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${to.join(Hn,"..","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,"")}'`],o={silent:!0};try{const e=yield Jn.which("powershell",!0);yield ao.exec(`"${e}"`,r,o)}finally{process.chdir(n)}}return t}))},Bn.extractTar=function(e,t,r="xz"){return Xn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield D(t),Kn.debug("Checking tar --version");let n="";yield ao.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return n+=""+e},stderr(e){return n+=""+e}}}),Kn.debug(n.trim());const o=n.toUpperCase().includes("GNU TAR");let i;i=r instanceof Array?r:[r],Kn.isDebug()&&!r.includes("v")&&i.push("-v");let s=t,a=e;return go&&o&&(i.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",s,"-f",a),yield ao.exec("tar",i),t}))},Bn.extractXar=function(e,t,r=[]){return Xn(this,void 0,void 0,(function*(){let n;at.ok(vo,"extractXar() not supported on current OS"),at.ok(e,'parameter "file" is required'),t=yield D(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),Kn.isDebug()&&n.push("-v");const o=yield Jn.which("xar",!0);var i;return yield ao.exec(`"${o}"`,(i=n,Array.from(new Set(i)))),t}))},Bn.extractZip=function(e,t){return Xn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield D(t),go?yield function(e,t){return Xn(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=yield Jn.which("pwsh",!1);if(o){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}', '${n}', $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 '${n}' -Force } else { throw $_ } } ;`].join(" ")];Kn.debug("Using pwsh at path: "+o),yield ao.exec(`"${o}"`,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 '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield Jn.which("powershell",!0);Kn.debug("Using powershell at path: "+t),yield ao.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Xn(this,void 0,void 0,(function*(){const r=yield Jn.which("unzip",!0),n=[e];Kn.isDebug()||n.unshift("-q"),n.unshift("-o"),yield ao.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))},Bn.cacheDir=function(e,t,r,n){return Xn(this,void 0,void 0,(function*(){if(r=no.clean(r)||r,n=n||eo.arch(),Kn.debug(`Caching tool ${t} ${r} ${n}`),Kn.debug("source dir: "+e),!Zn.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const o=yield U(t,r,n);for(const t of Zn.readdirSync(e)){const r=to.join(e,t);yield Jn.cp(r,o,{recursive:!0})}return M(t,r,n),o}))},Bn.cacheFile=function(e,t,r,n,o){return Xn(this,void 0,void 0,(function*(){if(n=no.clean(n)||n,o=o||eo.arch(),Kn.debug(`Caching tool ${r} ${n} ${o}`),Kn.debug("source file: "+e),!Zn.statSync(e).isFile())throw Error("sourceFile is not a file");const i=yield U(r,n,o),s=to.join(i,t);return Kn.debug("destination file "+s),yield Jn.cp(e,s),M(r,n,o),i}))},Bn.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||eo.arch(),F(t)||(t=G(j(e,r),t));let n="";if(t){t=no.clean(t)||"";const o=to.join(z(),e,t,r);Kn.debug("checking cache: "+o),Zn.existsSync(o)&&Zn.existsSync(o+".complete")?(Kn.debug(`Found tool in cache ${e} ${t} ${r}`),n=o):Kn.debug("not found")}return n},Bn.findAllVersions=j,Bn.getManifestFromRepo=function(e,t,r,n="master"){return Xn(this,void 0,void 0,(function*(){let o=[];const i=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new ro.HttpClient("tool-cache"),a={};r&&(Kn.debug("set auth"),a.authorization=r);const c=yield s.getJson(i,a);if(!c.result)return o;let l="";for(const e of c.result.tree)if("versions-manifest.json"===e.path){l=e.url;break}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{o=JSON.parse(u)}catch(e){Kn.debug("Invalid json")}}return o}))},Bn.findFromManifest=function(e,t,r,n=eo.arch()){return Xn(this,void 0,void 0,(function*(){return yield Qn._findMatch(e,t,r,n)}))},Bn.isExplicitVersion=F,Bn.evaluateVersions=G,bt=xt("04fde"),En=xt("gmbrv");let wo=!1;var xo=xt("fwsB7"),bo=xt("1YYsi");ao=xt("ca0ts"),bt=xt("04fde"),En=xt("gmbrv"),_n=xt("ditiY");const Eo=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,So=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,_o=/^["{[]|^-?[0-9][0-9.]{0,14}$/,Oo=/#/g,$o=/&/g,To=/=/g,Ro=/\+/g,Co=/%5B/gi,Po=/%5D/gi,Ao=/%5E/gi,Io=/%60/gi,No=/%7B/gi,ko=/%7C/gi,Lo=/%7D/gi,jo=/%20/gi,Do=/^\w+:(\/\/)?/,Uo=/^\/\/[^/]+/,Mo=/\/$|\/\?/;class Fo extends Error{constructor(){super(...arguments),this.name="FetchError"}}const Go=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"])),zo=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Bo=/^application\/(?:[\w!#$%&*`\-.^~]*\+)?json(;.+)?$/i,Ho=new Set([408,409,425,429,500,502,503,504]),qo=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==vt)return vt;throw Error("unable to locate global object")})(),Vo=qo.fetch||(()=>Promise.reject(Error("[ohmyfetch] global.fetch is not supported!")));!function e(t){function r(e){if(!1!==e.options.retry){const t="number"==typeof e.options.retry?e.options.retry:fe(e.options.method)?0:1,r=e.response&&e.response.status||500;if(t>0&&Ho.has(r))return i(e.request,{...e.options,retry:t-1})}const t=((e,t,r)=>{let n="";e&&r&&(n=`${r.status} ${r.statusText} (${""+e})`),t&&(n=`${t.message} (${n})`);const o=new Fo(n);return Object.defineProperty(o,"request",{get(){return e}}),Object.defineProperty(o,"response",{get(){return r}}),Object.defineProperty(o,"data",{get(){return r&&r._data}}),o})(e.request,e.error,e.response);throw Error.captureStackTrace&&Error.captureStackTrace(t,i),t}const{fetch:n,Headers:o}=t,i=async(e,i={})=>{const s={request:e,options:{...t.defaults,...i},response:void 0,error:void 0};s.options.onRequest&&await s.options.onRequest(s),"string"==typeof s.request&&(s.options.baseURL&&(s.request=function(e,t){if(!(r=t)||"/"===r)return e;var r;const n=((e="",t=!1)=>{if(!t)return(ae(e)?e.slice(0,-1):e)||"/";if(!ae(e,!0))return e||"/";const[r,...n]=e.split("?");return(r.slice(0,-1)||"/")+(n.length?"?"+n.join("?"):"")})(t);return e.startsWith(n)?e:((e,...t)=>{let r=e||"";for(const e of t.filter(pe))r=r?ce(r)+le(e):e;return r})(n,e)}(s.request,s.options.baseURL)),s.options.params&&(s.request=ue(s.request,s.options.params)),s.options.body&&fe(s.options.method)&&(e=>{if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON)})(s.options.body)&&(s.options.body="string"==typeof s.options.body?s.options.body:JSON.stringify(s.options.body),s.options.headers=new o(s.options.headers),s.options.headers.has("content-type")||s.options.headers.set("content-type","application/json"),s.options.headers.has("accept")||s.options.headers.set("accept","application/json"))),s.response=await n(s.request,s.options).catch((async e=>(s.error=e,s.options.onRequestError&&await s.options.onRequestError(s),r(s))));const a=(s.options.parseResponse?"json":s.options.responseType)||((e="")=>{if(!e)return"json";const t=e.split(";").shift();return Bo.test(t)?"json":zo.has(t)||t.startsWith("text/")?"text":"blob"})(s.response.headers.get("content-type")||"");if("json"===a){const e=await s.response.text();s.response._data=(s.options.parseResponse||re)(e)}else s.response._data=await s.response[a]();return s.options.onResponse&&await s.options.onResponse(s),s.response.ok||s.options.onResponseError&&await s.options.onResponseError(s),s.response.ok?s.response:r(s)},s=(e,t)=>i(e,t).then((e=>e._data));return s.raw=i,s.create=(r={})=>e({...t,defaults:{...t.defaults,...r}}),s}({fetch:Vo,Headers:qo.Headers});var Wo=async e=>{if(!(e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new(0,mt.URL)(t),!0}catch{return!1}})(e))return!1;let t;try{t=await Vo(e,{method:"HEAD"})}catch{return!1}if(t.ok)return!0;if(!t)try{t=await Vo(e,{method:"GET"})}catch{return!1}return!!t.ok||!(t.status>400&&500>t.status)},Xo=xt("howpO"),Yo=(bo=xt("1YYsi"),xt("fVzwP"));ao=xt("ca0ts"),_n=xt("ditiY");const Ko=/v?(\d\S*)/,Jo={llvm:"13.0.0",clangtidy:"13.0.0",clangformat:"13.0.0",ninja:"1.11.0",cmake:"3.23.2",gcovr:"5.1",conan:"1.50.0",meson:"0.63.0",kcov:"40",task:"3.14.0",doxygen:R()?"1.9.3-1":"1.9.4",gcc:"11"},Zo={llvm:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},gcovr:{20:"5.1",18:"5.0"},meson:{20:"0.63.0",18:"0.61.4"},doxygen:{20:"1.9.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"40",20:"40-binary",18:"40",16:"40",14:"40"}};let Qo,ei,ti=!1;_n=xt("ditiY"),xo=xt("fwsB7");var ri=xt("fB2B7"),ni=(ao=xt("ca0ts"),_n=xt("ditiY"),bt=xt("04fde"),_n=xt("ditiY"),En=xt("gmbrv"),ri=xt("fB2B7"),bo=xt("1YYsi"),_n=xt("ditiY"),En=xt("gmbrv"),tt.resolve(__dirname,"../src/gcc"));const oi={12:{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.4-10.0.0-msvcrt-r2",fileSuffix:"12.1.0-mingw-w64msvcrt-10.0.0-r2"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};var ii=tt.resolve(__dirname,"../src/llvm");const si=(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","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6"]),ai=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"]),ci=new Map,li={"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":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04"},ui=new Set(["10.0.1"]);let pi=!1;var di,hi,fi,mi={},gi=mi&&mi.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))),vi=mi&&mi.__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(mi,"__esModule",{value:!0});var yi={},wi=yi&&yi.__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(yi,"__esModule",{value:!0});const xi=wi(et);var bi={};Object.defineProperty(bi,"__esModule",{value:!0}),bi.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),yi.issueCommand=Ie,yi.issue=(e,t="")=>{Ie(e,{},t)};class Ei{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 n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,bi.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>bi.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}var Si={},_i=Si&&Si.__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(Si,"__esModule",{value:!0});const Oi=_i(rt),$i=_i(et);Si.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!Oi.existsSync(r))throw Error("Missing file at path: "+r);Oi.appendFileSync(r,`${bi.toCommandValue(t)}${$i.EOL}`,{encoding:"utf8"})};const Ti=vi(et),Ri=vi(tt);var Ci,Pi;(Pi=Ci=mi.ExitCode||(mi.ExitCode={}))[Pi.Success=0]="Success",Pi[Pi.Failure=1]="Failure",mi.exportVariable=(e,t)=>{const r=bi.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";Si.issueCommand("ENV",`${e}<<${t}${Ti.EOL}${r}${Ti.EOL}${t}`)}else yi.issueCommand("set-env",{name:e},r)},mi.setSecret=e=>{yi.issueCommand("add-mask",{},e)},mi.addPath=e=>{process.env.GITHUB_PATH?Si.issueCommand("PATH",e):yi.issueCommand("add-path",{},e),process.env.PATH=`${e}${Ri.delimiter}${process.env.PATH}`},mi.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()},mi.setOutput=(e,t)=>{yi.issueCommand("set-output",{name:e},t)},mi.setCommandEcho=e=>{yi.issue("echo",e?"on":"off")},mi.setFailed=e=>{process.exitCode=Ci.Failure,Ne(e)},mi.isDebug=()=>"1"===process.env.RUNNER_DEBUG,mi.debug=e=>{yi.issueCommand("debug",{},e)},mi.error=Ne,mi.warning=e=>{yi.issue("warning",e instanceof Error?""+e:e)},mi.info=e=>{process.stdout.write(e+Ti.EOL)},mi.startGroup=ke,mi.endGroup=Le,mi.group=function(e,t){return gi(this,void 0,void 0,(function*(){let r;ke(e);try{r=yield t()}finally{Le()}return r}))},mi.saveState=(e,t)=>{yi.issueCommand("save-state",{name:e},t)},mi.getState=e=>process.env["STATE_"+e]||"";const Ai=gt.env["ProgramFiles(x86)"],Ii=[gt.env["ProgramFiles(x86)"],gt.env.ProgramFiles],Ni=["Enterprise","Professional","Community"],ki=["2022","2019","2017"],Li={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};di=je;const ji=Ai+"\\Microsoft Visual Studio\\Installer";hi=Ue,fi=(e,t,r,n,o,i)=>{if("win32"!=gt.platform)return void mi.info("This is not a Windows virtual environment, bye!");gt.env.PATH+=tt.delimiter+ji;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==o&&a.push("-vcvars_spectre_libs=spectre");const c=`"${Ue(i)}" ${a.join(" ")}`;mi.debug("vcvars command-line: "+c);const l=(""+lt.execSync(`set && cls && ${c} && cls && set`,{shell:"cmd"})).split("\f"),u=l[0].split("\r\n"),p=l[1].split("\r\n"),d=l[2].split("\r\n"),h=p.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(h.length>0)throw Error("invalid parameters\r\n"+h.join("\r\n"));let f={};for(let e of u){const[t,r]=e.split("=");f[t]=r}mi.startGroup("Environment variables");for(let e of d){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==f[t]&&(mi.info("Setting "+t),Me(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),mi.exportVariable(t,r))}mi.endGroup(),mi.info("Configured Developer Command Prompt")},_n=xt("ditiY"),En=xt("gmbrv"),_n=xt("ditiY");var Di,Ui=tt.resolve(__dirname,"../src/msvc"),Mi=(En=xt("gmbrv"),{});Mi=xt("cReTf"),Di={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}};var Fi=xt("5FRs7"),Gi={};xt("j5MHF").addLocale("en",(e=>{var t=Math.floor(Math.abs(e)),r=(""+e).replace(/^[^.]*\.?/,"").length;return"string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r?"one":"other"}));var zi={};Object.defineProperty(zi,"__esModule",{value:!0}),zi.getUbuntuVersion=void 0,zi.getUbuntuVersion=async()=>{if("linux"!==process.platform)return[];const e=await(t="lsb_release",r=["-a"],new Promise(((e,n)=>{lt.execFile(t,r,{encoding:"utf8",shell:!1},((o,i,s)=>{if(o)return"errno"in o&&"ENOENT"===o.code?void e(null):void n(Error(`Could not execute \`${t} ${r.join(" ")}\`: ${o} (stderr=${s})`));e(i)}))})));var t,r;if(null===e)return[];const n=/^Distributor ID:\s*(.+)$/,o=/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/,i=/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/;let s=null,a=null,c=!1;for(const t of e.split("\n")){const e=t.match(n);if(null!==e){if("Ubuntu"!==e[1])return[];c=!0}const r=t.match(o);r&&(s=r);const l=t.match(i);if(l&&(a=l),c&&s&&a)break}if(!c)return[];for(const e of[s,a])if(e){const t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map((e=>parseInt(e,10)))}return[]},Yo=xt("fVzwP"),_n=xt("ditiY"),_n=xt("ditiY");let Bi,Hi=!1;_n=xt("ditiY");const qi={async nala(e,r,n){if(!A())return;if("string"==typeof Bi)return{binDir:Bi};const o=t(Et).sync("nala",{nothrow:!0});if(null!==o)return Bi=(0,tt.dirname)(o),{binDir:Bi};u("/bin/bash",["-c",`echo "deb [signed-by=${await E("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key")}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await y("nala",void 0,[],!0):await y("nala-legacy",void 0,[],!0)}catch(e){await y("nala-legacy",void 0,[],!0)}return Bi="/usr/bin",{binDir:Bi}},cmake:Z,ninja:Be,python:Q,async vcpkg(e,r,n){return Hi&&null!==t(Et).sync("vcpkg",{nothrow:!0})?{binDir:(0,tt.dirname)(t(Et).sync("vcpkg"))}:("linux"===process.platform&&(R()?(_("curl"),_("zip"),_("unzip"),_("tar"),_("git"),_("pkg-config")):C()?(P("curl"),P("zip"),P("unzip"),P("tar"),P("git"),P("pkg-config")):A()&&(await y("curl"),await y("zip"),await y("unzip"),await y("tar"),await y("git"),await y("pkg-config"))),(0,rt.existsSync)((0,tt.join)(r,N("bootstrap-vcpkg")))?(0,_n.notice)(`Vcpkg folder already exists at ${r}. This might mean that ~/vcpkg is restored from the cache.`):t(It).sync("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:(0,tt.dirname)(r),stdio:"inherit"}),t(It).sync(N((o="bootstrap-vcpkg","win32"===process.platform?o:"./"+o)),{cwd:r,shell:!0,stdio:"inherit"}),L(r),await f(r),Hi=!0,{binDir:r});var o},async bazel(e,t,r){switch(process.platform){case"win32":return T("bazelisk",e);case"darwin":return O("bazelisk",e);case"linux":if(R())throw Error("installing bazel on Arch linux is not supported yet");if(C())return P("dnf-plugins-core",void 0),u("dnf",["copr","enable","vbatts/bazel"]),P("bazel4",void 0);if(A())return u("bash",["-c",`echo "deb [arch=amd64 signed-by=${await E("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg")}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),y("bazel",e,[],!0);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async conan(e,t,r){return await ye("setuptools",""),ye("conan",e)},meson(e,t,r){return ye("meson",e)},gcovr(e,t,r){return ye("gcovr",e)},async opencppcoverage(e,t,r){if("win32"===process.platform)return await T("opencppcoverage",e),{binDir:await(async()=>{const e="C:/Program Files/OpenCppCoverage";return await f(e),e})()}},llvm:Re,gcc:Se,choco:$,brew:n,ccache(e,t,r){switch(process.platform){case"win32":return T("ccache",e);case"darwin":return O("ccache",e);case"linux":if(R())return _("ccache",e);if(C())return P("ccache",e);if(A())return y("ccache",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await T("doxygen.install",e);const t={binDir:await(async()=>{if("win32"===process.platform){for(const e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if((0,rt.existsSync)((0,tt.join)(e,"doxygen.exe")))return await f(e),e;throw Error("Failed to find doxygen binary")}throw Error("Unsupported platform")})()};return await we(ge("graphviz",void 0)),t}case"darwin":{const e=O("doxygen",void 0);return await we(ge("graphviz",void 0)),e}case"linux":{let n;if(""===e||R()||C())if(R())n=_("doxygen",e);else{if(C())return P("doxygen",e);if(!A())throw Error("Unsupported linux distributions");n=await y("doxygen",e)}else{if(!A())throw Error("Unsupported linux distributions");try{n=await Y("doxygen",e,xe,t,r),await y("libclang-cpp9")}catch(e){(0,_n.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await y("doxygen",void 0)}}return await we(ge("graphviz",void 0)),n}default:throw Error("Unsupported platform")}},graphviz:we,async cppcheck(e,t,r){switch(process.platform){case"win32":return await T("cppcheck",e),{binDir:await(async()=>{const e="C:/Program Files/Cppcheck";return await f(e),e})()};case"darwin":return O("cppcheck",e);case"linux":if(R())return _("cppcheck",e);if(C())return P("ccache",e);if(A())return y("cppcheck",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},clangtidy:Pe,clangformat:Pe,msvc:Ge,vcvarsall:Fe,async kcov(e,t,r){if("linux"!==process.platform)return void(0,_n.info)("Kcov is not supported on non-linux");const n=e.split("-");let o=(e=>e.match(/^v/)?e:"v"+e)(n[0]);const i=n[1],s=(e=>parseInt(e.replace(/^v/,""),10))(o);let a;return 38===s&&(o="v38"),"binary"!==i||39>s?(a=await Y("kcov",o,We,t,r),a):(a=await Y("kcov",o,Ve,t,r),R()?_("binutils"):C()?P("binutils"):A()&&await y("libbinutils"),a)},async make(e,t,r){switch(process.platform){case"win32":return T("make",e);case"darwin":return O("make",e),await f("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(R())return _("make",e);if(C())return P("make",e);if(A())return y("make",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},task(e,t,r){return Y("task",e,K,t,r)},sevenzip:k},Vi=["nala","choco","brew","python","vcpkg","bazel","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","graphviz","cppcheck","clangtidy","clangformat","llvm","gcc","msvc","vcvarsall","kcov","make","task","sevenzip"],Wi=["compiler","architecture",...Vi];Ye(process.argv).then((e=>{process.exitCode=e})).catch((e=>{(0,_n.error)("main() panicked!"),(0,_n.error)(e),process.exitCode=1})); //# sourceMappingURL=setup_cpp.js.map diff --git a/dist/setup_cpp.js.map b/dist/setup_cpp.js.map index cdeb8f9c..1c8ef71b 100644 --- a/dist/setup_cpp.js.map +++ b/dist/setup_cpp.js.map @@ -1 +1 @@ -{"mappings":"4IAWA,SAASA,EAAOC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AIkD,IACT,OAAOE,EAAa,OAAQpD,GACvB,GAAIsD,IACT,OAAOvD,EAAa,OAAQC,GAE9B,MAAUpF,MAAM,kCAElB,QACE,MAAUA,MAAM,wB,EzHyCpBq6D,KpB7BwBj1D,EAAiB4H,EAAkB5D,GAC3D,OAAO0D,EAAS,OAAQ1H,EAASgJ,EAAoBpB,EAAU5D,E,EoB6B/Ds1D,SAAU11D,GAINsU,GAAoC,CACxC,OACA,QACA,OACA,SACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,kBACA,SACA,UACA,WACA,WACA,YACA,cACA,OACA,MACA,OACA,YACA,OACA,OACA,OACA,YAOI6B,GAAwB,CAAC,WAAY,kBAAmB7B,IAgM9D9B,GAAK3d,QAAQ8gE,MACVxnB,MAAMlI,IACLpxC,QAAQ4jB,SAAWwtB,CAAG,IAEvBrpB,OAAOxmB,KACN,EAAA2E,GAAAzC,OAAM,qBACN,EAAAyC,GAAAzC,OAAMlC,GACNvB,QAAQ4jB,SAAW,CAAC","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","packages/root-tools/src/index.ts","packages/untildify-user/src/index.ts","packages/exec-powershell/src/index.ts","src/utils/env/addEnv.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupPacmanPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","src/utils/env/isArch.ts","src/utils/env/hasDnf.ts","src/utils/setup/setupDnfPack.ts","src/utils/env/isUbuntu.ts","packages/extension-tools/src/index.ts","src/sevenzip/sevenzip.ts","packages/user-access/src/index.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/extract.ts","src/utils/setup/setupBin.ts","src/task/task.ts","src/cmake/cmake.ts","src/python/python.ts","src/utils/http/validate_url.ts","src/utils/setup/version.ts","src/default_versions.ts","src/utils/setup/setupPipPack.ts","src/graphviz/graphviz.ts","src/doxygen/doxygen.ts","src/macos-sdk/macos-sdk.ts","src/gcc/gcc.ts","src/llvm/llvm.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/lib.js","src/vcvarsall/vcvarsall.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/kcov/kcov.ts","src/main.ts","src/utils/env/ubuntu_version.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/index.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/proxy.ts","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/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/auth.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","src/utils/io/io.ts","node_modules/.pnpm/github.com+aminya+ci-detect@37fe40075bebec96794ba0a7c4a6d5c70cbea00d/node_modules/@npmcli/ci-detect/lib/index.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@7.8.1/node_modules/lru-cache/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.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+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@parcel+runtime-js@2.6.2_@parcel+core@2.6.2/node_modules/@parcel/runtime-js/lib/runtime-5490b668a0a39291.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","node_modules/.pnpm/github.com+aminya+escape-path-with-spaces@d9f81ee649203ddc55783a2f96ada59df06118e3/node_modules/escape-path-with-spaces/index.js","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","src/vcpkg/vcpkg.ts","src/nala/nala.ts","src/bazel/bazel.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/cppcheck/cppcheck.ts","src/make/make.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, _setupDir: 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","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return (Boolean(process.env.CI) || isRoot()) && which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/** Detect if the process has root privileges */\nexport function isRoot(): boolean {\n return process.getuid?.() === 0\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"root-tools\"\n\nexport function untildifyUser(path: string) {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER, path)\n } else {\n return join(\"/home/\", process.env.SUDO_USER, path)\n }\n } else {\n return untildify(`~/${path}`)\n }\n}\n","import execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" }\n): execa.ExecaChildProcess {\n return execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" }\n): execa.ExecaSyncReturnValue {\n return execa.sync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, existsSync, readFileSync } from \"fs\"\nimport { error, warning } from \"../io/io\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {\n const val = shouldEscapeSpace ? escapeSpace(valGiven ?? \"\") : valGiven\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val)\n }\n } else {\n await addEnvSystem(name, val)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\".cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"export SOURCE_CPPRC=0\"\n\n if (existsSync(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\".profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\".bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { appendFileSync, existsSync } from \"fs\"\nimport which from \"which\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repositories: string[] = [],\n update = false\n): Promise {\n const apt: string = getApt()\n\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n if (Array.isArray(repositories) && repositories.length !== 0) {\n for (const repo of repositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"--update\", \"-y\", repo])\n }\n updateRepos(apt)\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}=${version}`])\n } catch {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}-${version}`])\n }\n } else {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nfunction getApt() {\n let apt: string\n if (which.sync(\"nala\", { nothrow: true }) !== null) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\")\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\")\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n await addEnv(\"LANG\", \"C.UTF-8\")\n await addEnv(\"LC_ALL\", \"C.UTF-8\")\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n for (const key of keys) {\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n }\n return fileName\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n await setupAptPack(\"curl\", undefined)\n execRootSync(\"bash\", [\"-c\", `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport function updateAptAlternatives(name: string, path: string) {\n if (ciDetect() === \"github-actions\") {\n return execRootSync(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n setupCppInProfile()\n return appendFileSync(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`\n )\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"../io/io\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport function setupPacmanPack(name: string, version?: string, aur?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (!didUpdate) {\n execRootSync(pacman, [\"-Syuu\", \"--noconfirm\"])\n didUpdate = true\n }\n\n if (!didInit) {\n // install base-devel\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}=${version}`])\n } catch {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}${version}`])\n }\n } else {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport execa from \"execa\"\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 info(`Installing ${name} ${version ?? \"\"} via brew`)\n\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 execa.sync(\"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 execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\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 _setupDir: 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 let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.sync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" }\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"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 \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\nimport { info } from \"@actions/core\"\nimport { notice } from \"../io/io\"\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 info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n notice(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info, warning } from \"../io/io\"\n\n// let didUpdate: boolean = false\n\n/** A function that installs a package using dnf */\nexport function setupDnfPack(name: string, version?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n\n const dnf = \"dnf\"\n\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(dnf, [\"-y\", \"install\", `${name}-${version}`])\n } catch (err) {\n warning(`${(err as Error).toString()}\\nInstalling the default version available via dnf`)\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n } else {\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.exe` on Windows\n * @param unix_ext `\"\"` On unix.\n */\nexport function addBinExtension(name: string, win_ext = \".exe\", unix_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/**\n * Add native shell extension to the given name\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.bat` on Windows\n * @param unix_ext `.sh` On unix.\n */\nexport function addShellExtension(name: string, win_ext = \".bat\", unix_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/** Prefix a `./` for unix shell and nothing for the cmd shell */\nexport function addShellHere(name: string) {\n if (process.platform === \"win32\") {\n return name\n }\n return `./${name}`\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n setupDnfPack(\"p7zip\", version)\n return setupDnfPack(\"p7zip-plugins\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"p7zip-full\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { isSudo, execRootSync } from \"root-tools\"\n\n/**\n * Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows\n * the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport function giveUserAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n execRootSync(\"chown\", [\"-R\", process.env.SUDO_USER, path], { cwd: path, stdio: \"inherit\", shell: true })\n }\n}\n",null,"import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"../io/io\"\nimport { giveUserAccess } from \"user-access\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n giveUserAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n giveUserAccess(dest)\n return dest\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport { tmpdir } from \"os\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\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 main binary file. */\n binFileName: 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\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded 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, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch\n )\n\n // Restore from cache (if found).\n if (ciDetect() === \"github-actions\") {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(binDir) || !existsSync(binFile)) {\n info(`Download and extract ${name} ${version}`)\n\n if (!didInit) {\n if (process.platform === \"linux\") {\n // extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"xz\")\n } else if (hasDnf()) {\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"xz\")\n } else if (isUbuntu()) {\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"xz-utils\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n try {\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\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 await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (ciDetect() === \"github-actions\" && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { warning, info } from \"../utils/io/io\"\nimport { isArch } from \"../utils/env/isArch\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { dirname, join } from \"path\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string) {\n if (ciDetect() !== \"github-actions\") {\n // TODO parse version\n return setupPythonViaSystem(version, setupDir, arch)\n }\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n return setupActionsPython(version, setupDir, arch)\n } catch (err) {\n warning((err as Error).toString())\n return setupPythonViaSystem(version, setupDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(\n version: string,\n setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const pythonBinPath =\n which.sync(\"python3.exe\", { nothrow: true }) ??\n which.sync(\"python.exe\", { nothrow: true }) ??\n join(setupDir, \"python.exe\")\n const pythonSetupDir = dirname(pythonBinPath)\n /** The directory which the tool is installed to */\n await activateWinPython(pythonSetupDir)\n return { installDir: pythonSetupDir, binDir: pythonSetupDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n let installInfo: InstallationInfo\n if (isArch()) {\n installInfo = setupPacmanPack(\"python\", version)\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n installInfo = setupDnfPack(\"python3\", version)\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinPython(binDir: string) {\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\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","import { isValidUrl } from \"../http/validate_url\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"../io/io\"\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 // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isValidUrl(url))) {\n return [version, url]\n }\n }\n\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 execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().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\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","import { Inputs, Opts } from \"./main\"\nimport { isArch } from \"./utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nconst DefaultVersions: Record = {\n llvm: \"13.0.0\", // https://github.com/llvm/llvm-project/releases\n clangtidy: \"13.0.0\",\n clangformat: \"13.0.0\",\n ninja: \"1.11.0\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.23.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.1\", // https://pypi.org/project/gcovr/\n conan: \"1.50.0\", // https://github.com/conan-io/conan/releases\n meson: \"0.63.0\", // https://github.com/mesonbuild/meson/releases\n kcov: \"40\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.14.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.3-1\" : \"1.9.4\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: \"11\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nconst DefaultUbuntuVersion: Record> = {\n llvm: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 20: \"5.1\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"0.63.0\",\n 18: \"0.61.4\",\n },\n doxygen: {\n 20: \"1.9.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\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, osVersion: number[] | null = null) {\n if (useDefault(version, name)) {\n // choose the default linux version based on ubuntu version\n if (process.platform === \"linux\" && osVersion !== null && name in DefaultUbuntuVersion) {\n const osVersionMaj = osVersion[0]\n const newest = parseInt(Object.keys(DefaultUbuntuVersion[name])[0], 10) // newest version with the default\n if (osVersionMaj >= newest) {\n return DefaultUbuntuVersion[name][osVersionMaj]\n } else {\n return \"\"\n }\n }\n // anything else\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n\nfunction useDefault(version: string | undefined, name: string) {\n return version === \"true\" || (version === undefined && name in DefaultVersions)\n}\n\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n for (let i = 0; i < tools.length; i++) {\n // tools excluding i_tool\n const otherTools = tools.slice(0, i).concat(tools.slice(i + 1))\n\n const tool = tools[i]\n\n if (!useDefault(opts[tool], tool)) {\n for (let i_other = 0; i_other < otherTools.length; i_other++) {\n const otherTool = otherTools[i_other]\n const useDefaultOtherTool = useDefault(opts[otherTool], otherTools[i_other])\n if (useDefaultOtherTool) {\n // use the same version if the other tool was requested with the default\n opts[otherTool] = opts[tool]\n } else if (opts[tool] !== opts[otherTools[i_other]]) {\n // error if different from the other given versions\n return false\n }\n }\n }\n }\n return true\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\nimport { getVersion } from \"../../default_versions\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\n\nlet python: string | undefined\nlet binDir: string | undefined\n\nlet tried = false\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pip`)\n\n // setup python and pip if needed\n if (python === undefined) {\n if (which.sync(\"python3\", { nothrow: true }) !== null) {\n python = \"python3\"\n } else if (which.sync(\"python\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n python = \"python\"\n } else {\n info(\"python3 was not found. Installing python\")\n await setupPython(getVersion(\"python\", undefined), \"\", process.arch)\n // try again\n if (tried) {\n throw new Error(\"Failed to install python\")\n }\n tried = true\n return setupPipPack(name, version)\n }\n if (process.platform === \"win32\") {\n // downgrade pip on Windows\n // https://github.com/pypa/pip/issues/10875#issuecomment-1030293005\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"pip==21.3.1\"], { stdio: \"inherit\" })\n } else if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if (isArch()) {\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n await setupAptPack(\"python3-pip\")\n }\n }\n\n // install wheel (required for Conan, Meson, etc.)\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"wheel\"], { stdio: \"inherit\" })\n }\n\n execa.sync(python, [\"-m\", \"pip\", \"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name], {\n stdio: \"inherit\",\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 // windows or others\n try {\n binDir = join(\n (await getExecOutput(`${python} -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 await addPath(binDir)\n }\n\n return { binDir }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"graphviz\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"graphviz\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { notice } from \"../utils/io/io\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../default_versions\"\nimport { existsSync } from \"fs\"\nimport { join } from \"path\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n const installationInfo = setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"doxygen\", version)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack(\"doxygen\", version)\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n await setupAptPack(\"libclang-cpp9\")\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack(\"doxygen\", undefined)\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n if (existsSync(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"../utils/io/io\"\n\nexport async function setupMacOSSDK() {\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 (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport path from \"path\"\nimport { warning, info } from \"../utils/io/io\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addBinExtension } from \"extension-tools\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"12\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-msvcrt-r2\", fileSuffix: \"12.1.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = setupDnfPack(\"gcc\", version)\n setupDnfPack(\"gcc-c++\", version)\n setupDnfPack(\"libstdc++-devel\", undefined)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n installationInfo = await setupAptPack(\"g++\", version, [])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc-multilib\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\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 (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (existsSync(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string) {\n const promises: Promise[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addBinExtension(`${binDir}/gcc`)), addEnv(\"CXX\", addBinExtension(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`)\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`)\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (ciDetect() === \"github-actions\") {\n addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nfunction addGccLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"gcc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * 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 {\n getSpecificVersionAndUrl,\n getSpecificVersions,\n getVersions,\n semverCoerceIfInvalid,\n} from \"../utils/setup/version\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addBinExtension } from \"extension-tools\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { setOutput } from \"@actions/core\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { info, warning } from \"../utils/io/io\"\nimport { existsSync } from \"fs\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { getVersion } from \"../default_versions\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\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 \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\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()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [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\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"14.0.0\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function 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 const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n ubuntu = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n ubuntu = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${ubuntu} for the 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// Exports\n//================================================\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addBinExtension(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await _setupLLVM(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir, version)\n return installationInfo\n}\n\nlet didInit = false\nasync function _setupLLVM(version: string, setupDir: string, arch: string) {\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n if (!didInit) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await setupGcc(getVersion(\"gcc\", undefined), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n if (isArch()) {\n // setupPacmanPack(\"ncurses\")\n // TODO: install libtinfo ?\n } else if (isUbuntu()) {\n await setupAptPack(\"libtinfo-dev\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n return installationInfo\n}\n\nexport async function activateLLVM(directory: string, versionGiven: string) {\n const version = semverCoerceIfInvalid(versionGiven)\n\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 const promises = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addBinExtension(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addBinExtension(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // windows builds fail with llvm's CPATH\n if (process.platform !== \"win32\") {\n const llvmMajor = semverMajor(version)\n if (existsSync(`${directory}/lib/clang/${version}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n } else if (existsSync(`${directory}/lib/clang/${llvmMajor}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n }\n }\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`)\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`)\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`)\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`)\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`)\n }\n\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\n/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string): Promise {\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n return _setupLLVM(version, setupDir, arch)\n}\n\nfunction addLLVMLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"llvm_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n",null,null,"const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, { shell: \"cmd\" }).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd","import { existsSync } from \"fs\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"../utils/io/io\"\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 setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport path from \"path\"\nimport { existsSync } from \"fs\"\nimport { error, info, warning } from \"../utils/io/io\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (ciDetect() === \"github-actions\") {\n addMSVCLoggingMatcher()\n }\n}\n\nfunction addMSVCLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"msvc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\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 */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\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","import execa from \"execa\"\nimport { join } from \"path\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../default_versions\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"../utils/io/io\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n setupPacmanPack(\"libdwarf\")\n setupPacmanPack(\"libcurl-openssl\")\n } else if (hasDnf()) {\n setupDnfPack(\"libdwarf-devel\")\n setupDnfPack(\"libcurl-devel\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libdw-dev\")\n await setupAptPack(\"libcurl4-openssl-dev\")\n }\n }\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(getVersion(\"cmake\", undefined), join(untildifyUser(\"\"), \"cmake\"), \"\")\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined), join(untildifyUser(\"\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n setupDnfPack(\"binutils\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libbinutils\")\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { getInput, endGroup, startGroup, notice } from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupMake } from \"./make/make\"\nimport { setupTask } from \"./task/task\"\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, setupClangTools } 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\"\nimport { untildifyUser } from \"untildify-user\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport * as timeDelta from \"time-delta\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport * as numerous from \"numerous\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport numerousLocale from \"numerous/locales/en.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion, syncVersions } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, info, success, warning } from \"./utils/io/io\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { join } from \"path\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupBazel } from \"./bazel/bazel\"\n\n/** The setup functions */\nconst setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\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 graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangTools,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"nala\",\n \"choco\",\n \"brew\",\n \"python\",\n \"vcpkg\",\n \"bazel\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"graphviz\",\n \"cppcheck\",\n \"clangtidy\",\n \"clangformat\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n \"vcvarsall\",\n \"kcov\",\n \"make\",\n \"task\",\n \"sevenzip\",\n]\n\n/** The possible inputs to the program */\nexport type 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 if (ciDetect() !== \"github-actions\") {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\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 ?? untildifyUser(\"\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n let osVersion: number[] | null = null\n try {\n // get the version if not already done\n osVersion = await ubuntuVersion()\n } catch (err) {\n warning((err as Error).toString())\n }\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\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 version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n startGroup(`Installing ${tool} ${version}`)\n try {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(\n getVersion(tool, version, osVersion),\n undefined,\n arch,\n undefined,\n undefined,\n false,\n false\n )\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool) ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n time1 = Date.now()\n try {\n if (maybeCompiler !== undefined) {\n const { compiler, version } = getCompilerInfo(maybeCompiler)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const installationInfo = await setupGcc(getVersion(\"gcc\", version, osVersion), join(setupCppDir, \"gcc\"), arch)\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\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 const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup_cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup_cpp finished\")\n\n if (ciDetect() !== \"github-actions\") {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\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((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n }\n>\n\nexport function parseArgs(args: string[]): Opts {\n return 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\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(maybeCompiler: string) {\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\nfunction printHelp() {\n info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = 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 | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n","import { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\n\nexport async function ubuntuVersion(): Promise {\n if (isUbuntu()) {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack(\"lsb-release\")\n }\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n throw new Error(\"Failed to get the ubuntu major version.\")\n }\n\n return versionSplitted\n } else {\n return null\n }\n}\n",null,null,null,null,null,null,null,"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",null,null,null,"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","import * as core from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\n\nexport function error(err: string | Error) {\n return ciDetect() === \"github-actions\" ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return ciDetect() === \"github-actions\" ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return ciDetect() === \"github-actions\" ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return ciDetect() === \"github-actions\" ? core.info(msg) : console.log(msg)\n}\n","module.exports = () =>\n process.env.GERRIT_PROJECT ? 'gerrit'\n : process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI ? 'azure-pipelines'\n : process.env.BITRISE_IO ? 'bitrise'\n : process.env.BUDDY_WORKSPACE_ID ? 'buddy'\n : process.env.BUILDKITE ? 'buildkite'\n : process.env.CIRRUS_CI ? 'cirrus'\n : process.env.GITLAB_CI ? 'gitlab'\n : process.env.APPVEYOR ? 'appveyor'\n : process.env.CIRCLECI ? 'circle-ci'\n : process.env.SEMAPHORE ? 'semaphore'\n : process.env.DRONE ? 'drone'\n : process.env.DSARI ? 'dsari'\n : process.env.GITHUB_ACTION ? 'github-actions'\n : process.env.TDDIUM ? 'tddium'\n : process.env.SCREWDRIVER ? 'screwdriver'\n : process.env.STRIDER ? 'strider'\n : process.env.TASKCLUSTER_ROOT_URL ? 'taskcluster'\n : process.env.JENKINS_URL ? 'jenkins'\n : process.env['bamboo.buildKey'] ? 'bamboo'\n : process.env.GO_PIPELINE_NAME ? 'gocd'\n : process.env.HUDSON_URL ? 'hudson'\n : process.env.WERCKER ? 'wercker'\n : process.env.NETLIFY ? 'netlify'\n : process.env.NOW_GITHUB_DEPLOYMENT ? 'now-github'\n : process.env.GITLAB_DEPLOYMENT ? 'now-gitlab'\n : process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket'\n : process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines'\n : process.env.NOW_BUILDER ? 'now'\n : process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github'\n : process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab'\n : process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket'\n : process.env.VERCEL_URL ? 'vercel'\n : process.env.MAGNUM ? 'magnum'\n : process.env.NEVERCODE ? 'nevercode'\n : process.env.RENDER ? 'render'\n : process.env.SAIL_CI ? 'sail'\n : process.env.SHIPPABLE ? 'shippable'\n : process.env.TEAMCITY_VERSION ? 'teamcity'\n // codeship and a few others\n : process.env.CI_NAME ? process.env.CI_NAME\n // heroku doesn't set envs other than node in a heroku-specific location\n : /\\/\\.heroku\\/node\\/bin\\/node$/.test(process.env.NODE || '') ? 'heroku'\n // test travis after the others, since several CI systems mimic it\n : process.env.TRAVIS ? 'travis-ci'\n // aws CodeBuild/CodePipeline\n : process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'\n : process.env.CI === 'true' || process.env.CI === '1' ? 'custom'\n // Google Cloud Build - it sets almost nothing\n : process.env.BUILDER_OUTPUT ? 'builder'\n : false\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n",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(name, 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 (compareIdentifiers(this.prerelease[0], identifier) === 0) {\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((o, k) => {\n o[k] = true\n return o\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(\n version instanceof SemVer ? version.version : version,\n options\n ).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 }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\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\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\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('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.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\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)\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 let 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\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\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 rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\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((c) => {\n return replaceTilde(c, 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((c) => {\n return replaceCaret(c, 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((c) => {\n return replaceXRange(c, 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\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","const perf = typeof performance === 'object' && performance &&\n typeof performance.now === 'function' ? performance : Date\n\nconst hasAbortController = typeof AbortController !== 'undefined'\n\n// minimal backwards-compatibility polyfill\nconst AC = hasAbortController ? AbortController : Object.assign(\n class AbortController {\n constructor () { this.signal = new AC.AbortSignal }\n abort () { this.signal.aborted = true }\n },\n { AbortSignal: class AbortSignal { constructor () { this.aborted = false }}}\n)\n\nconst warned = new Set()\nconst deprecatedOption = (opt, instead) => {\n const code = `LRU_CACHE_OPTION_${opt}`\n if (shouldWarn(code)) {\n warn(code, `${opt} option`, `options.${instead}`, LRUCache)\n }\n}\nconst deprecatedMethod = (method, instead) => {\n const code = `LRU_CACHE_METHOD_${method}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, method)\n warn(code, `${method} method`, `cache.${instead}()`, get)\n }\n}\nconst deprecatedProperty = (field, instead) => {\n const code = `LRU_CACHE_PROPERTY_${field}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, field)\n warn(code, `${field} property`, `cache.${instead}`, get)\n }\n}\n\nconst emitWarning = (...a) => {\n typeof process === 'object' &&\n process &&\n typeof process.emitWarning === 'function'\n ? process.emitWarning(...a)\n : console.error(...a)\n}\n\nconst shouldWarn = code => !warned.has(code)\n\nconst warn = (code, what, instead, fn) => {\n warned.add(code)\n const msg = `The ${what} is deprecated. Please use ${instead} instead.`\n emitWarning(msg, 'DeprecationWarning', code, fn)\n}\n\nconst isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)\n\n/* istanbul ignore next - This is a little bit ridiculous, tbh.\n * The maximum array length is 2^32-1 or thereabouts on most JS impls.\n * And well before that point, you're caching the entire world, I mean,\n * that's ~32GB of just integers for the next/prev links, plus whatever\n * else to hold that many keys and values. Just filling the memory with\n * zeroes at init time is brutal when you get that big.\n * But why not be complete?\n * Maybe in the future, these limits will have expanded. */\nconst getUintArray = max => !isPosInt(max) ? null\n: max <= Math.pow(2, 8) ? Uint8Array\n: max <= Math.pow(2, 16) ? Uint16Array\n: max <= Math.pow(2, 32) ? Uint32Array\n: max <= Number.MAX_SAFE_INTEGER ? ZeroArray\n: null\n\nclass ZeroArray extends Array {\n constructor (size) {\n super(size)\n this.fill(0)\n }\n}\n\nclass Stack {\n constructor (max) {\n if (max === 0) {\n return []\n }\n const UintArray = getUintArray(max)\n this.heap = new UintArray(max)\n this.length = 0\n }\n push (n) {\n this.heap[this.length++] = n\n }\n pop () {\n return this.heap[--this.length]\n }\n}\n\nclass LRUCache {\n constructor (options = {}) {\n const {\n max = 0,\n ttl,\n ttlResolution = 1,\n ttlAutopurge,\n updateAgeOnGet,\n updateAgeOnHas,\n allowStale,\n dispose,\n disposeAfter,\n noDisposeOnSet,\n noUpdateTTL,\n maxSize = 0,\n sizeCalculation,\n fetchMethod,\n } = options\n\n // deprecated options, don't trigger a warning for getting them if\n // the thing being passed in is another LRUCache we're copying.\n const {\n length,\n maxAge,\n stale,\n } = options instanceof LRUCache ? {} : options\n\n if (max !== 0 && !isPosInt(max)) {\n throw new TypeError('max option must be a nonnegative integer')\n }\n\n const UintArray = max ? getUintArray(max) : Array\n if (!UintArray) {\n throw new Error('invalid max value: ' + max)\n }\n\n this.max = max\n this.maxSize = maxSize\n this.sizeCalculation = sizeCalculation || length\n if (this.sizeCalculation) {\n if (!this.maxSize) {\n throw new TypeError('cannot set sizeCalculation without setting maxSize')\n }\n if (typeof this.sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation set to non-function')\n }\n }\n\n this.fetchMethod = fetchMethod || null\n if (this.fetchMethod && typeof this.fetchMethod !== 'function') {\n throw new TypeError('fetchMethod must be a function if specified')\n }\n\n this.keyMap = new Map()\n this.keyList = new Array(max).fill(null)\n this.valList = new Array(max).fill(null)\n this.next = new UintArray(max)\n this.prev = new UintArray(max)\n this.head = 0\n this.tail = 0\n this.free = new Stack(max)\n this.initialFill = 1\n this.size = 0\n\n if (typeof dispose === 'function') {\n this.dispose = dispose\n }\n if (typeof disposeAfter === 'function') {\n this.disposeAfter = disposeAfter\n this.disposed = []\n } else {\n this.disposeAfter = null\n this.disposed = null\n }\n this.noDisposeOnSet = !!noDisposeOnSet\n this.noUpdateTTL = !!noUpdateTTL\n\n if (this.maxSize !== 0) {\n if (!isPosInt(this.maxSize)) {\n throw new TypeError('maxSize must be a positive integer if specified')\n }\n this.initializeSizeTracking()\n }\n\n this.allowStale = !!allowStale || !!stale\n this.updateAgeOnGet = !!updateAgeOnGet\n this.updateAgeOnHas = !!updateAgeOnHas\n this.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0\n ? ttlResolution : 1\n this.ttlAutopurge = !!ttlAutopurge\n this.ttl = ttl || maxAge || 0\n if (this.ttl) {\n if (!isPosInt(this.ttl)) {\n throw new TypeError('ttl must be a positive integer if specified')\n }\n this.initializeTTLTracking()\n }\n\n // do not allow completely unbounded caches\n if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {\n throw new TypeError('At least one of max, maxSize, or ttl is required')\n }\n if (!this.ttlAutopurge && !this.max && !this.maxSize) {\n const code = 'LRU_CACHE_UNBOUNDED'\n if (shouldWarn(code)) {\n warned.add(code)\n const msg = 'TTL caching without ttlAutopurge, max, or maxSize can ' +\n 'result in unbounded memory consumption.'\n emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)\n }\n }\n\n if (stale) {\n deprecatedOption('stale', 'allowStale')\n }\n if (maxAge) {\n deprecatedOption('maxAge', 'ttl')\n }\n if (length) {\n deprecatedOption('length', 'sizeCalculation')\n }\n }\n\n getRemainingTTL (key) {\n return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0\n }\n\n initializeTTLTracking () {\n this.ttls = new ZeroArray(this.max)\n this.starts = new ZeroArray(this.max)\n\n this.setItemTTL = (index, ttl) => {\n this.starts[index] = ttl !== 0 ? perf.now() : 0\n this.ttls[index] = ttl\n if (ttl !== 0 && this.ttlAutopurge) {\n const t = setTimeout(() => {\n if (this.isStale(index)) {\n this.delete(this.keyList[index])\n }\n }, ttl + 1)\n /* istanbul ignore else - unref() not supported on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n }\n\n this.updateItemAge = (index) => {\n this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0\n }\n\n // debounce calls to perf.now() to 1s so we're not hitting\n // that costly call repeatedly.\n let cachedNow = 0\n const getNow = () => {\n const n = perf.now()\n if (this.ttlResolution > 0) {\n cachedNow = n\n const t = setTimeout(() => cachedNow = 0, this.ttlResolution)\n /* istanbul ignore else - not available on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n return n\n }\n\n this.getRemainingTTL = (key) => {\n const index = this.keyMap.get(key)\n if (index === undefined) {\n return 0\n }\n return this.ttls[index] === 0 || this.starts[index] === 0 ? Infinity\n : ((this.starts[index] + this.ttls[index]) - (cachedNow || getNow()))\n }\n\n this.isStale = (index) => {\n return this.ttls[index] !== 0 && this.starts[index] !== 0 &&\n ((cachedNow || getNow()) - this.starts[index] > this.ttls[index])\n }\n }\n updateItemAge (index) {}\n setItemTTL (index, ttl) {}\n isStale (index) { return false }\n\n initializeSizeTracking () {\n this.calculatedSize = 0\n this.sizes = new ZeroArray(this.max)\n this.removeItemSize = index => this.calculatedSize -= this.sizes[index]\n this.requireSize = (k, v, size, sizeCalculation) => {\n if (!isPosInt(size)) {\n if (sizeCalculation) {\n if (typeof sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation must be a function')\n }\n size = sizeCalculation(v, k)\n if (!isPosInt(size)) {\n throw new TypeError('sizeCalculation return invalid (expect positive integer)')\n }\n } else {\n throw new TypeError('invalid size value (must be positive integer)')\n }\n }\n return size\n }\n this.addItemSize = (index, v, k, size) => {\n this.sizes[index] = size\n const maxSize = this.maxSize - this.sizes[index]\n while (this.calculatedSize > maxSize) {\n this.evict(true)\n }\n this.calculatedSize += this.sizes[index]\n }\n this.delete = k => {\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n this.calculatedSize -= this.sizes[index]\n }\n }\n return LRUCache.prototype.delete.call(this, k)\n }\n }\n removeItemSize (index) {}\n addItemSize (index, v, k, size) {}\n requireSize (k, v, size, sizeCalculation) {\n if (size || sizeCalculation) {\n throw new TypeError('cannot set size without setting maxSize on cache')\n }\n }\n\n *indexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.tail; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.head) {\n break\n } else {\n i = this.prev[i]\n }\n }\n }\n }\n\n *rindexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.head; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.tail) {\n break\n } else {\n i = this.next[i]\n }\n }\n }\n }\n\n isValidIndex (index) {\n return this.keyMap.get(this.keyList[index]) === index\n }\n\n *entries () {\n for (const i of this.indexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n *rentries () {\n for (const i of this.rindexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n\n *keys () {\n for (const i of this.indexes()) {\n yield this.keyList[i]\n }\n }\n *rkeys () {\n for (const i of this.rindexes()) {\n yield this.keyList[i]\n }\n }\n\n *values () {\n for (const i of this.indexes()) {\n yield this.valList[i]\n }\n }\n *rvalues () {\n for (const i of this.rindexes()) {\n yield this.valList[i]\n }\n }\n\n [Symbol.iterator] () {\n return this.entries()\n }\n\n find (fn, getOptions = {}) {\n for (const i of this.indexes()) {\n if (fn(this.valList[i], this.keyList[i], this)) {\n return this.get(this.keyList[i], getOptions)\n }\n }\n }\n\n forEach (fn, thisp = this) {\n for (const i of this.indexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n rforEach (fn, thisp = this) {\n for (const i of this.rindexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n get prune () {\n deprecatedMethod('prune', 'purgeStale')\n return this.purgeStale\n }\n\n purgeStale () {\n let deleted = false\n for (const i of this.rindexes({ allowStale: true })) {\n if (this.isStale(i)) {\n this.delete(this.keyList[i])\n deleted = true\n }\n }\n return deleted\n }\n\n dump () {\n const arr = []\n for (const i of this.indexes()) {\n const key = this.keyList[i]\n const value = this.valList[i]\n const entry = { value }\n if (this.ttls) {\n entry.ttl = this.ttls[i]\n }\n if (this.sizes) {\n entry.size = this.sizes[i]\n }\n arr.unshift([key, entry])\n }\n return arr\n }\n\n load (arr) {\n this.clear()\n for (const [key, entry] of arr) {\n this.set(key, entry.value, entry)\n }\n }\n\n dispose (v, k, reason) {}\n\n set (k, v, {\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n size = this.requireSize(k, v, size, sizeCalculation)\n let index = this.size === 0 ? undefined : this.keyMap.get(k)\n if (index === undefined) {\n // addition\n index = this.newIndex()\n this.keyList[index] = k\n this.valList[index] = v\n this.keyMap.set(k, index)\n this.next[this.tail] = index\n this.prev[index] = this.tail\n this.tail = index\n this.size ++\n this.addItemSize(index, v, k, size)\n noUpdateTTL = false\n } else {\n // update\n const oldVal = this.valList[index]\n if (v !== oldVal) {\n if (this.isBackgroundFetch(oldVal)) {\n oldVal.__abortController.abort()\n } else {\n if (!noDisposeOnSet) {\n this.dispose(oldVal, k, 'set')\n if (this.disposeAfter) {\n this.disposed.push([oldVal, k, 'set'])\n }\n }\n }\n this.removeItemSize(index)\n this.valList[index] = v\n this.addItemSize(index, v, k, size)\n }\n this.moveToTail(index)\n }\n if (ttl !== 0 && this.ttl === 0 && !this.ttls) {\n this.initializeTTLTracking()\n }\n if (!noUpdateTTL) {\n this.setItemTTL(index, ttl)\n }\n if (this.disposeAfter) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return this\n }\n\n newIndex () {\n if (this.size === 0) {\n return this.tail\n }\n if (this.size === this.max && this.max !== 0) {\n return this.evict(false)\n }\n if (this.free.length !== 0) {\n return this.free.pop()\n }\n // initial fill, just keep writing down the list\n return this.initialFill++\n }\n\n pop () {\n if (this.size) {\n const val = this.valList[this.head]\n this.evict(true)\n return val\n }\n }\n\n evict (free) {\n const head = this.head\n const k = this.keyList[head]\n const v = this.valList[head]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'evict')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'evict'])\n }\n }\n this.removeItemSize(head)\n // if we aren't about to use the index, then null these out\n if (free) {\n this.keyList[head] = null\n this.valList[head] = null\n this.free.push(head)\n }\n this.head = this.next[head]\n this.keyMap.delete(k)\n this.size --\n return head\n }\n\n has (k, { updateAgeOnHas = this.updateAgeOnHas } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n if (!this.isStale(index)) {\n if (updateAgeOnHas) {\n this.updateItemAge(index)\n }\n return true\n }\n }\n return false\n }\n\n // like get(), but without any LRU updating or TTL expiration\n peek (k, { allowStale = this.allowStale } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined && (allowStale || !this.isStale(index))) {\n return this.valList[index]\n }\n }\n\n backgroundFetch (k, index, options) {\n const v = index === undefined ? undefined : this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return v\n }\n const ac = new AC()\n const fetchOpts = {\n signal: ac.signal,\n options,\n }\n const p = Promise.resolve(this.fetchMethod(k, v, fetchOpts)).then(v => {\n if (!ac.signal.aborted) {\n this.set(k, v, fetchOpts.options)\n }\n return v\n })\n p.__abortController = ac\n p.__staleWhileFetching = v\n if (index === undefined) {\n this.set(k, p, fetchOpts.options)\n index = this.keyMap.get(k)\n } else {\n this.valList[index] = p\n }\n return p\n }\n\n isBackgroundFetch (p) {\n return p && typeof p === 'object' && typeof p.then === 'function' &&\n Object.prototype.hasOwnProperty.call(p, '__staleWhileFetching')\n }\n\n // this takes the union of get() and set() opts, because it does both\n async fetch (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n if (!this.fetchMethod) {\n return this.get(k, {allowStale, updateAgeOnGet})\n }\n\n const options = {\n allowStale,\n updateAgeOnGet,\n ttl,\n noDisposeOnSet,\n size,\n sizeCalculation,\n noUpdateTTL,\n }\n\n let index = this.keyMap.get(k)\n if (index === undefined) {\n return this.backgroundFetch(k, index, options)\n } else {\n // in cache, maybe already fetching\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return allowStale && v.__staleWhileFetching !== undefined\n ? v.__staleWhileFetching : v\n }\n\n if (!this.isStale(index)) {\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return v\n }\n\n // ok, it is stale, and not already fetching\n // refresh the cache.\n const p = this.backgroundFetch(k, index, options)\n return allowStale && p.__staleWhileFetching !== undefined\n ? p.__staleWhileFetching : p\n }\n }\n\n get (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n const value = this.valList[index]\n const fetching = this.isBackgroundFetch(value)\n if (this.isStale(index)) {\n // delete only if not an in-flight background fetch\n if (!fetching) {\n this.delete(k)\n return allowStale ? value : undefined\n } else {\n return allowStale ? value.__staleWhileFetching : undefined\n }\n } else {\n // if we're currently fetching it, we don't actually have it yet\n // it's not stale, which means this isn't a staleWhileRefetching,\n // so we just return undefined\n if (fetching) {\n return undefined\n }\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return value\n }\n }\n }\n\n connect (p, n) {\n this.prev[n] = p\n this.next[p] = n\n }\n\n moveToTail (index) {\n // if tail already, nothing to do\n // if head, move head to next[index]\n // else\n // move next[prev[index]] to next[index] (head has no prev)\n // move prev[next[index]] to prev[index]\n // prev[index] = tail\n // next[tail] = index\n // tail = index\n if (index !== this.tail) {\n if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.connect(this.prev[index], this.next[index])\n }\n this.connect(this.tail, index)\n this.tail = index\n }\n }\n\n get del () {\n deprecatedMethod('del', 'delete')\n return this.delete\n }\n delete (k) {\n let deleted = false\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n deleted = true\n if (this.size === 1) {\n this.clear()\n } else {\n this.removeItemSize(index)\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n this.keyMap.delete(k)\n this.keyList[index] = null\n this.valList[index] = null\n if (index === this.tail) {\n this.tail = this.prev[index]\n } else if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.next[this.prev[index]] = this.next[index]\n this.prev[this.next[index]] = this.prev[index]\n }\n this.size --\n this.free.push(index)\n }\n }\n }\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return deleted\n }\n\n clear () {\n for (const index of this.rindexes({ allowStale: true })) {\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n const k = this.keyList[index]\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n }\n\n this.keyMap.clear()\n this.valList.fill(null)\n this.keyList.fill(null)\n if (this.ttls) {\n this.ttls.fill(0)\n this.starts.fill(0)\n }\n if (this.sizes) {\n this.sizes.fill(0)\n }\n this.head = 0\n this.tail = 0\n this.initialFill = 1\n this.free.length = 0\n this.calculatedSize = 0\n this.size = 0\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n }\n get reset () {\n deprecatedMethod('reset', 'clear')\n return this.clear\n }\n\n get length () {\n deprecatedProperty('length', 'size')\n return this.size\n }\n}\n\nmodule.exports = LRUCache\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\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 first = 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 (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\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 }\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\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 }\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 }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\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\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\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\n if (eqSet.size > 1) {\n return null\n }\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\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\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\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 }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\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 }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\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\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\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\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 }\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 }\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","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,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.feac98a0.js\"))).then(() => parcelRequire('apy8x'));","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","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","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n","import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n","/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n","// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'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 {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n","const os = require(\"os\");\n\n// to detect on with os user had used path.resolve(...)\nconst is_posix_os = (os.platform() !== \"win32\");\nconst version = os.release();\n\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n\nmodule.exports = function (given_path) {\n return (is_posix_os)\n // for posix path, escape is simple\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\n // for windows, it depend of the build\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\n // on major version, no need to escape anymore\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\n ? given_path\n // on older version, replace space with symbol %20\n : given_path.replace(/(\\s+)/g, '%20');\n};",null,null,null,"\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname, join } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { addShellExtension, addShellHere } from \"extension-tools\"\nimport { notice } from \"../utils/io/io\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { giveUserAccess } from \"user-access\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"curl\")\n setupPacmanPack(\"zip\")\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"git\")\n setupPacmanPack(\"pkg-config\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n setupDnfPack(\"zip\")\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"git\")\n setupDnfPack(\"pkg-config\")\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n await setupAptPack(\"zip\")\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"git\")\n await setupAptPack(\"pkg-config\")\n }\n }\n\n if (!existsSync(join(setupDir, addShellExtension(\"bootstrap-vcpkg\")))) {\n execa.sync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execa.sync(addShellExtension(addShellHere(\"bootstrap-vcpkg\")), { cwd: setupDir, shell: true, stdio: \"inherit\" })\n\n giveUserAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { dirname } from \"path\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\"\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack(\"nala\", undefined, [], true)\n } else {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n } catch (err) {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n setupDnfPack(\"dnf-plugins-core\", undefined)\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack(\"bazel4\", undefined)\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\"\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack(\"bazel\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n await setupPipPack(\"setuptools\", \"\")\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, _setupDir: 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, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: 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 if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"ccache\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"cppcheck\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"make\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"make\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$1d8d028d9c47b73d$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$1d8d028d9c47b73d$var$core","code","ignoreErrors","$b50fe22cd1c82159$export$c5eeb9c87a610a0e","_version","_setupDir","_arch","includes","process","platform","$b50fe22cd1c82159$var$binDir","maybeBinDir","$parcel$interopDefault","$4ca03dc05bbe4be0$exports","sync","nothrow","$dLzlS$path","dirname","$dLzlS$child_process","execFileSync","stdio","$51d58653c6048ffd$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$e9929770d50e0ca3$exports","pathExt","delimiter","e","$cee8c79eb01cd876$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$cee8c79eb01cd876$var$verifyENOENT","status","$cee8c79eb01cd876$var$isWin","file","$338cd3297632d74f$var$spawn","$9cf15e4f01e764e1$exports","spawned","spawn","$cee8c79eb01cd876$exports","hookChildProcess","async","$3f8980e86d9447d4$var$getStream","inputStream","maxBuffer","Infinity","stream1","$2791e057b208c733$exports","rejectPromise","error","getBufferedLength","$3f8980e86d9447d4$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$3f8980e86d9447d4$var$streamPipelinePromisified","on","$3f8980e86d9447d4$var$MaxBufferError","$373ec10beb4d7153$export$316200228f28b8ce","CI","ref","getuid","call","$373ec10beb4d7153$export$58f152936f209932","program","execOptions","shell","$c3e9e2f843627429$exports","commandSync","map","arg","join","$3f4c9366e55e0917$export$8312d9eeba321950","SUDO_USER","$a7308743a0157ada$exports","$6e1462338680af59$export$43324456a02f71b0","startupFlags","$6e1462338680af59$var$powershell","maybePwsh","maybePowerShell","$6e1462338680af59$export$4dfdd3964d242d20","$7bb732a40a25bec4$export$f63d3080ce25e0fd","name","valGiven","shouldEscapeSpace","val","$892cf68de9d02605$exports","$gmbrv","$04fde","exportVariable","$ditiY","$7bb732a40a25bec4$var$addEnvSystem","setFailed","$7bb732a40a25bec4$export$4c25481b843feb0b","PATH","addPath","$7bb732a40a25bec4$var$addPathSystem","info","$7bb732a40a25bec4$export$bd1dffd792f43c41","$dLzlS$fs","appendFileSync","$7bb732a40a25bec4$export$1bbbc3a810c5799d","$7bb732a40a25bec4$var$setupCppInProfile_called","source_cpprc_str","existsSync","readFileSync","source_cpprc_string","profile_path","bashrc_path","warning","$b264a6d5b746ae82$export$d73dc343f5abf26","version","repositories","update","apt","$b264a6d5b746ae82$var$getApt","DEBIAN_FRONTEND","$b264a6d5b746ae82$var$didUpdate","$b264a6d5b746ae82$var$updateRepos","$b264a6d5b746ae82$var$didInit","$b264a6d5b746ae82$export$11aa10c05ada0934","$b264a6d5b746ae82$var$initApt","Array","isArray","length","repo","binDir","$b264a6d5b746ae82$var$initGpg","keys","server","fileName","key","$b264a6d5b746ae82$export$7fb1a688af1305f0","url","$b264a6d5b746ae82$export$6fe6436bd9f53d02","$debaf44f90dd37c4$export$cfa75578ee2d6e6c","aur","pacman","$debaf44f90dd37c4$var$didUpdate","$debaf44f90dd37c4$var$didInit","$57c286cd21b83a3a$export$ce5d13d8a85cb784","$57c286cd21b83a3a$var$hasBrew","$8937fb0e5906a8f2$export$b804d731cdad7ef9","$8937fb0e5906a8f2$var$binDir","powershell","SystemRoot","chocoPath","ALLUSERSPROFILE","maybeChoco","_ChocolateyInstall","ChocolateyInstall","$a1d9f9e35ead513b$export$9f6912bc890040b2","$a1d9f9e35ead513b$var$hasChoco","TMP","TEMP","Path","extendEnv","message","notice","$c4b56061e0dbde5f$export$d415ddb6702ec3a2","$c4b56061e0dbde5f$var$isArchCache","$cbc3e193f1217bd7$export$8ce8b4b22331a8c7","$cbc3e193f1217bd7$var$hasDnfCache","$d6741ec1214892d9$export$49d4f9ba8e0dd34f","dnf","$0f4e7dc450142f89$export$da8baf1d6c6802b6","$0f4e7dc450142f89$var$isUbuntuCache","$110a38e684aa0e04$export$e88210974180936f","win_ext","unix_ext","$110a38e684aa0e04$export$eae120f0e5838f32","$fb82248e8974c296$export$5fc39629e14c8173","$aa67f233b2c242f1$export$f9a3d10eb7c735af","$2032c186687979ea$var$findAllVersions","toolName","arch","versions","$2032c186687979ea$var$os","toolPath","$2032c186687979ea$var$path","$2032c186687979ea$var$_getCacheDirectory","$2032c186687979ea$var$fs","children","readdirSync","child","$2032c186687979ea$var$isExplicitVersion","fullPath","push","$2032c186687979ea$var$_createExtractFolder","dest","$2032c186687979ea$var$_getTempDirectory","$2032c186687979ea$var$v4_1","default","$2032c186687979ea$var$io","mkdirP","$2032c186687979ea$var$_createToolPath","tool","folderPath","$2032c186687979ea$var$semver","clean","$2032c186687979ea$var$core","debug","markerPath","rmRF","$2032c186687979ea$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$2032c186687979ea$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$dLzlS$assert","ok","tempDirectory","$2032c186687979ea$var$_getGlobal","defaultValue","value","$parcel$global","$d07bf20a0d39a78b$export$eecfe186811d4a20","$d07bf20a0d39a78b$var$sevenZip","$d07bf20a0d39a78b$var$getSevenZip","$d07bf20a0d39a78b$export$7949938b2681a4f0","$d07bf20a0d39a78b$export$6411c5cbab21135b","$d07bf20a0d39a78b$export$2ab07ac150064014","flags","$fvrnx","$5378b225b5c95af5$export$334f77c9844c21f6","getPackageInfo","setupDir","_RUNNER_TEMP","_RUNNER_TOOL_CACHE","RUNNER_TEMP","$dLzlS$os","tmpdir","RUNNER_TOOL_CACHE","binRelativeDir","binFileName","extractedFolderName","extractFunction","dir","$2032c186687979ea$exports","find","installDir","binFile","$5378b225b5c95af5$var$didInit","downloaded","downloadTool","cacheDir","$fee36361a2bad308$var$getTaskPackageInfo","taskPlatform","$fee36361a2bad308$var$getTaskPlatform","taskArch","$fee36361a2bad308$var$getTaskArch","isZip","extension","$775e54fd09f86a26$var$getCmakePackageInfo","semVersion","$1YYsi","isOld","$fwsB7","osArchStr","folderName","extractTar","$775e54fd09f86a26$export$c28663a621f418ce","$644ae3dba93653dd$export$2b0b68e9df3d4a02","$644ae3dba93653dd$export$33cd96f062979ce0","setupActionsPython","parcelRequire","ref1","pythonBinPath","pythonSetupDir","$644ae3dba93653dd$var$activateWinPython","installInfo","$571b32d09287ce56$export$bef94a5618bf18bf","$dLzlS$https","get","res","statusCode","$788ba5c4da878b74$export$deb1064c8260c54c","semversion","from","filter","v","test","startsWith","reverse","$68635a7be6556a7e$export$c506eb22e615ba4a","osVersion","$68635a7be6556a7e$var$useDefault","$68635a7be6556a7e$var$DefaultUbuntuVersion","osVersionMaj","parseInt","$68635a7be6556a7e$var$DefaultVersions","$725285b1d6baf678$export$4020cb77ffa3ffac","$725285b1d6baf678$var$python","givenFile","targetVersion","versionRegex","$788ba5c4da878b74$export$d7ab5e2d33b06cd5","givenVersion","execout","$ca0ts","getExecOutput","stdout","stderr","trim","match","console","$788ba5c4da878b74$export$5b54ecc7386538f","$howpO","$725285b1d6baf678$var$tried","$725285b1d6baf678$var$binDir","$b19dce7371463457$export$b885bd977caaafb9","$b19dce7371463457$var$activateGraphviz","$9f276bb1312a9d71$var$getDoxygenPackageInfo","$89d2131bb8f4aa1b$export$28f5fd35e3005b7a","xcrun","sdkroot","$9c01b612305c09a3$var$getGccPackageInfo","mingwInfo","$9c01b612305c09a3$var$GccToMingwInfo","mingwArch","exceptionModel","releaseName","fileSuffix","$9c01b612305c09a3$export$405fab3de79b77b","installationInfo","_ChocolateyInstall1","$9c01b612305c09a3$var$setupChocoMingw","promises","majorVersion","$fB2B7","matcherPath","$9c01b612305c09a3$var$__dirname1","$9c01b612305c09a3$var$addGccLoggingMatcher","all","$9c01b612305c09a3$var$activateGcc","$2cacaea738b8f1ae$var$getGitHubUrl","prefix","suffix","$2cacaea738b8f1ae$var$getReleaseUrl","$2cacaea738b8f1ae$export$94df0e59ebebf4a7","$2cacaea738b8f1ae$var$DARWIN_MISSING","has","$2cacaea738b8f1ae$var$getDarwinUrl","versionGiven","rc","$2cacaea738b8f1ae$var$UBUNTU_RC","ubuntu","givenUbuntuVersion","replace","$2cacaea738b8f1ae$export$aa5307f1aca77413","$2cacaea738b8f1ae$var$UBUNTU_SUFFIX_MAP","$2cacaea738b8f1ae$export$ae24f9682a44836b","$2cacaea738b8f1ae$var$WIN32_MISSING","olderThan9_1","fallback","$2cacaea738b8f1ae$var$getWin32Url","$2cacaea738b8f1ae$var$getLLVMPackageInfo","specificVersion","getUrl","setOutput","$2cacaea738b8f1ae$export$3016de7ae9d14988","$2cacaea738b8f1ae$var$_setupLLVM","_installDir","directory","$fVzwP","coercedVersion","lib","_LD_LIBRARY_PATH","ld","LD_LIBRARY_PATH","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$2cacaea738b8f1ae$var$addLLVMLoggingMatcher","$2cacaea738b8f1ae$export$6238b5ebfd6640e7","$2cacaea738b8f1ae$var$didInit","$2cacaea738b8f1ae$export$814ccfc953503728","$2cacaea738b8f1ae$var$__dirname1","$dcc4a5600f9a2a29$var$issueCommand","properties","cmd","$dcc4a5600f9a2a29$var$Command","write","$dcc4a5600f9a2a29$var$os","EOL","$d2814cb4b08c0425$var$error","$dcc4a5600f9a2a29$exports","issue","$d2814cb4b08c0425$var$startGroup","$d2814cb4b08c0425$var$endGroup","$44e2ea7eee739a17$var$vsversion_to_versionnumber","vsversion","values","$44e2ea7eee739a17$var$VsYearVersion","$44e2ea7eee739a17$var$vsversion_to_year","year","ver","entries","$44e2ea7eee739a17$var$findVcvarsall","vsversion_number","version_pattern","upper_bound","split","path1","pattern","execSync","installationPath","$d2814cb4b08c0425$exports","$44e2ea7eee739a17$var$findWithVswhere","years","$44e2ea7eee739a17$var$YEARS","prog_files","$44e2ea7eee739a17$var$PROGRAM_FILES","ed","$44e2ea7eee739a17$var$EDITIONS","$44e2ea7eee739a17$var$PROGRAM_FILES_X86","$44e2ea7eee739a17$var$isPathVariable","indexOf","toUpperCase","$28a0179cccdfc4cc$export$5dcf571c91fc8369","VCTargetsPath","toolset","sdk","uwp","spectre","$44e2ea7eee739a17$export$443b8bb890f5027e","$28a0179cccdfc4cc$var$getArch","$da99583472da45a4$export$a91ef0362c1a7298","$44e2ea7eee739a17$export$3c7cae5a162b1458","installed","vcvarsall_path","$44e2ea7eee739a17$export$a6a3bfb882356813","$da99583472da45a4$var$__dirname1","$da99583472da45a4$var$addMSVCLoggingMatcher","$9bc35ceb5b751351$var$getNinjaPackageInfo","ninjaPlatform","$9bc35ceb5b751351$var$getNinjaPlatform","$9bc35ceb5b751351$export$e6190f4bfe2ef71","$4012ecb407fc2f3d$var$toArr","any","$4012ecb407fc2f3d$var$toVal","out","opts","x","old","nxt","string","String","boolean","_","concat","$227396c887da582e$var$getDownloadKcovPackageInfo","$227396c887da582e$var$getBuildKcovPackageInfo","$227396c887da582e$var$buildKcov","cmake","$227396c887da582e$var$getCmake","buildDir","$ff26fdfb9b4deeb1$export$f22da7240b7add18","ACTIONS_ALLOW_UNSECURE_COMMANDS","$ff26fdfb9b4deeb1$export$7300a92932ee17a3","_architecture","help","architecture","_SETUP_CPP_DIR","setupCppDir","SETUP_CPP_DIR","successMessages","errorMessages","timeFormatter","$a6c8cb5c76e7e4f4$exports","create","autoloadLocales","time1","time2","addLocale","$21a9c7af84658271$exports","$5FRs7","$6dfec0551895c67b$exports","versionSplitted","$f095436a84b3b121$exports","getUbuntuVersion","tools","otherTools","slice","i_other","otherTool","tool1","$ff26fdfb9b4deeb1$var$tools","Date","now","startGroup","setupFunction","$ff26fdfb9b4deeb1$var$setups","$ff26fdfb9b4deeb1$var$getSuccessMessage","endGroup","format","maybeCompiler","compiler","$ff26fdfb9b4deeb1$export$588248dee5258836","forEach","success","k","arr","j","idx","len","alibi","alias","strict","unknown","defaults","splice","charCodeAt","substring","repeat","shift","$ff26fdfb9b4deeb1$var$inputs","fromEntries","inp","$ff26fdfb9b4deeb1$var$maybeGetInput","h","compilerAndMaybeVersion","maybeVersion","getInput","toLowerCase","msg","$00cc2cb44b74fa5a$var$getInput","required","trimWhitespace","$00cc2cb44b74fa5a$var$error","$2iva8","issueCommand","$hGWy4","toCommandProperties","$00cc2cb44b74fa5a$var$startGroup","$00cc2cb44b74fa5a$var$endGroup","$00cc2cb44b74fa5a$var$os","$00cc2cb44b74fa5a$var$__importStar","$00cc2cb44b74fa5a$var$path","$00cc2cb44b74fa5a$var$ExitCode","ExitCode1","module","exports","ExitCode","convertedVal","toCommandValue","$kCOkT","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","setCommandEcho","enabled","exitCode","Failure","isDebug","group","fn","result","saveState","getState","getIDToken","aud","$1hWAC","OidcClient","defineProperty","enumerable","$hILBc","summary","markdownSummary","$39f1T","toPosixPath","toWin32Path","toPlatformPath","$1ac56f735470f2bc$var$issueCommand","$1ac56f735470f2bc$var$Command","$1ac56f735470f2bc$var$os","$1ac56f735470f2bc$var$__importStar","constructor","this","toString","cmdStr","first","hasOwnProperty","s","$1ac56f735470f2bc$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$f03e66e97447a0d4$var$fs","$f03e66e97447a0d4$var$__importStar","$f03e66e97447a0d4$var$os","filePath","encoding","$0f04d3adb67492b4$var$OidcClient","static","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","$4z9RF","HttpClient","$7v249","BearerCredentialHandler","getRequestToken","token","runtimeUrl","id_token_url","httpclient","createHttpClient","getJson","catch","id_token","_a","audience","getIDTokenUrl","encodeURIComponent","getCall","$3532153250d0a8c3$var$http","$3532153250d0a8c3$var$__importStar","$dLzlS$http","$3532153250d0a8c3$var$https","$3532153250d0a8c3$var$pm","$3532153250d0a8c3$var$tunnel","$3532153250d0a8c3$var$HttpCodes","HttpCodes1","$3532153250d0a8c3$var$Headers","Headers1","$3532153250d0a8c3$var$MediaTypes","HttpCodes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","URL","href","$3532153250d0a8c3$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$3532153250d0a8c3$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$3532153250d0a8c3$var$RetryableHttpVerbs","$3532153250d0a8c3$var$HttpClientError","super","setPrototypeOf","prototype","HttpClientError","$3532153250d0a8c3$var$HttpClientResponse","readBody","$3532153250d0a8c3$var$__awaiter","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","protocol","userAgent","handlers","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","additionalHeaders","request","del","post","data","patch","put","head","sendStream","verb","stream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","postJson","obj","ContentType","putJson","patchJson","headers","parsedUrl","_prepareRequest","maxTries","response","numTries","requestRaw","Unauthorized","authenticationHandler","handler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","onResult","handleResult","callbackCalled","byteLength","req","httpModule","socket","sock","setTimeout","end","pipe","getAgent","_getAgent","method","usingSsl","defaultPort","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","$3532153250d0a8c3$var$lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","min","contents","NotFound","deserializeDates","parse","isNaN","valueOf","reduce","$1f9807f2878b82ba$var$checkBypass","reqUrl","noProxy","reqPort","upperReqHosts","upperNoProxyItem","some","proxyVar","checkBypass","$b80e68d5f6e6478f$var$TunnelingAgent","options1","self","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$b80e68d5f6e6478f$var$toOptions","pending","onSocket","removeSocket","$b80e68d5f6e6478f$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$b80e68d5f6e6478f$var$mergeOptions","servername","secureSocket","$dLzlS$tls","connect","target","arguments","overrides","keyLen","$b80e68d5f6e6478f$export$25cbd437c61a3835","$b80e68d5f6e6478f$export$c06e3df7111bae43","$b80e68d5f6e6478f$export$5d50e36ef656139f","$b80e68d5f6e6478f$export$212d6605025321cc","$b80e68d5f6e6478f$export$1c9f709888824e05","$b80e68d5f6e6478f$var$debug","$dLzlS$util","inherits","$dLzlS$events","EventEmitter","addRequest","onFree","emit","onCloseOrRemove","removeListener","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","socket1","pos","BasicCredentialHandler","PersonalAccessTokenCredentialHandler","access","$ce6b77df7bbb7675$var$access","appendFile","$ce6b77df7bbb7675$var$appendFile","writeFile","$ce6b77df7bbb7675$var$writeFile","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","$ce6b77df7bbb7675$var$_summary","_buffer","_filePath","pathFromEnv","constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","overwrite","writeFunc","emptyBuffer","clear","isEmptyBuffer","addRaw","text","addEOL","addCodeBlock","lang","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","$24addeec9ef57a1a$var$path","$24addeec9ef57a1a$var$__importStar","pth","sep","$b43ef73900290537$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","substr","$b43ef73900290537$var$checkPathExt","$b43ef73900290537$var$isexe","statSync","$6f57237f32b1c8cb$var$isexe","$6f57237f32b1c8cb$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","g","ug","$6f57237f32b1c8cb$var$checkMode","$1b0116afdfeaeacc$export$a3bc9b8ed74fc","log","$1b0116afdfeaeacc$export$fe7c49d056ea1d88","$1b0116afdfeaeacc$export$491112666e282270","$1b0116afdfeaeacc$export$b31f6ae88848cf15","$1b0116afdfeaeacc$export$a80b3bd66acc52ff","GERRIT_PROJECT","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITRISE_IO","BUDDY_WORKSPACE_ID","BUILDKITE","CIRRUS_CI","GITLAB_CI","APPVEYOR","CIRCLECI","SEMAPHORE","DRONE","DSARI","GITHUB_ACTION","TDDIUM","SCREWDRIVER","STRIDER","TASKCLUSTER_ROOT_URL","JENKINS_URL","GO_PIPELINE_NAME","HUDSON_URL","WERCKER","NETLIFY","NOW_GITHUB_DEPLOYMENT","GITLAB_DEPLOYMENT","BITBUCKET_DEPLOYMENT","BITBUCKET_BUILD_NUMBER","NOW_BUILDER","VERCEL_GITHUB_DEPLOYMENT","VERCEL_GITLAB_DEPLOYMENT","VERCEL_BITBUCKET_DEPLOYMENT","VERCEL_URL","MAGNUM","NEVERCODE","RENDER","SAIL_CI","SHIPPABLE","TEAMCITY_VERSION","CI_NAME","NODE","TRAVIS","CODEBUILD_SRC_DIR","BUILDER_OUTPUT","$b49efd1a00c432ed$var$rmRF","$b49efd1a00c432ed$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$b49efd1a00c432ed$var$exec","unlink","err1","isDir","$b49efd1a00c432ed$var$execFile","$b49efd1a00c432ed$var$mkdirP","fsPath","mkdir","recursive","$b49efd1a00c432ed$var$findInPath","extensions","$b49efd1a00c432ed$var$path","isRooted","tryGetExecutablePath","directories","matches","$b49efd1a00c432ed$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","files","readdir","srcFile","destFile","lstat","$b49efd1a00c432ed$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$b49efd1a00c432ed$var$childProcess","$b49efd1a00c432ed$var$__importStar","promisify","exec","execFile","cp","source","copySourceDirectory","$b49efd1a00c432ed$var$readCopyOptions","destStat","newDest","basename","relative","mv","destExists","rename","which","$b49efd1a00c432ed$var$which","check","findInPath","$1f568b1c4242dba7$var$isUnixExecutable","stats","$1f568b1c4242dba7$var$fs","$1f568b1c4242dba7$var$__importStar","$1f568b1c4242dba7$var$path","$1f568b1c4242dba7$var$_a","rmdir","useStat","$1f568b1c4242dba7$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a1","$49c6639221a3e217$var$semver","$49c6639221a3e217$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","_getOsVersion","plat","lsbContents","_readLinuxVersionFile","lines","parts","lsbReleaseFile","osReleaseFile","$bikcG","re","tokens","t","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$jkMsx","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$83910c29f6734fbd$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$e1357995fd1631a2$var$debug","$bgOMw","$5696f94a63c27d85$var$SemVer","$eUvvN","loose","includePrerelease","$5696f94a63c27d85$require$MAX_LENGTH","m","$5696f94a63c27d85$require$re","$5696f94a63c27d85$require$t","LOOSE","FULL","raw","$5696f94a63c27d85$require$MAX_SAFE_INTEGER","id","num","build","other","compareMain","comparePre","$5696f94a63c27d85$require$compareIdentifiers","release","identifier","$adaebd3d9a17271f$var$opts","o","$0c2cbbcfac21c924$var$numeric","$0c2cbbcfac21c924$var$compareIdentifiers","anum","bnum","$7qUJS","$bce3317ae792f650$require$MAX_LENGTH","$bce3317ae792f650$require$re","$bce3317ae792f650$require$t","$gdrva","version1","version2","$jXghC","v1","v2","hasPre","defaultResult","versionA","versionB","$80ezM","list","op","$fqqGA","$6KPS4","$5cRW4","$lr5pz","rtl","next","$171a4a37978eb9a3$require$re","$171a4a37978eb9a3$require$t","COERCERTL","lastIndex","$ad0b6a9469831548$var$ANY","Symbol","$ad0b6a9469831548$var$Comparator","ANY","comp","semver","operator","$ad0b6a9469831548$require$re","$ad0b6a9469831548$require$t","COMPARATORLOOSE","COMPARATOR","$823yM","$hvUff","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$cc00f5fd17503a13$var$Range","range","$eR6XK","set","r","parseRange","$cc00f5fd17503a13$var$isNullSet","$cc00f5fd17503a13$var$isAny","comps","memoKey","cached","$cc00f5fd17503a13$var$cache","$cc00f5fd17503a13$require$re","$cc00f5fd17503a13$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$cc00f5fd17503a13$var$hyphenReplace","COMPARATORTRIM","$cc00f5fd17503a13$require$comparatorTrimReplace","rangeList","TILDETRIM","$cc00f5fd17503a13$require$tildeTrimReplace","CARETTRIM","$cc00f5fd17503a13$require$caretTrimReplace","$cc00f5fd17503a13$var$parseComparator","$cc00f5fd17503a13$var$replaceGTE0","rangeMap","Map","comparators","comp1","size","delete","thisComparators","$cc00f5fd17503a13$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$cc00f5fd17503a13$var$testSet","remainingComparators","testComparator","pop","otherComparator","$cc00f5fd17503a13$var$replaceCarets","$cc00f5fd17503a13$var$replaceTildes","$cc00f5fd17503a13$var$replaceXRanges","$cc00f5fd17503a13$var$replaceStars","$cc00f5fd17503a13$var$isX","$cc00f5fd17503a13$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$cc00f5fd17503a13$var$replaceCaret","z","CARETLOOSE","CARET","$cc00f5fd17503a13$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","allowed","$4f0bf18d6c99da3c$var$perf","performance","$4f0bf18d6c99da3c$var$AC","AbortController","signal","AbortSignal","abort","aborted","$4f0bf18d6c99da3c$var$warned","Set","$4f0bf18d6c99da3c$var$deprecatedOption","opt","instead","$4f0bf18d6c99da3c$var$shouldWarn","$4f0bf18d6c99da3c$var$warn","$4f0bf18d6c99da3c$var$LRUCache","$4f0bf18d6c99da3c$var$deprecatedMethod","getOwnPropertyDescriptor","$4f0bf18d6c99da3c$var$emitWarning","emitWarning","what","add","$4f0bf18d6c99da3c$var$isPosInt","n","floor","isFinite","$4f0bf18d6c99da3c$var$getUintArray","$4f0bf18d6c99da3c$var$ZeroArray","Uint32Array","Uint16Array","Uint8Array","fill","$4f0bf18d6c99da3c$var$Stack","UintArray","heap","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","disposeAfter","noDisposeOnSet","noUpdateTTL","maxSize","sizeCalculation","fetchMethod","maxAge","stale","keyMap","keyList","valList","prev","tail","free","initialFill","disposed","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","ttls","starts","setItemTTL","isStale","unref","updateItemAge","cachedNow","getNow","calculatedSize","sizes","removeItemSize","requireSize","addItemSize","evict","indexes","isValidIndex","rindexes","rentries","rkeys","rvalues","iterator","getOptions","thisp","rforEach","prune","purgeStale","deleted","dump","entry","unshift","load","reason","newIndex","oldVal","isBackgroundFetch","__abortController","moveToTail","peek","backgroundFetch","ac","fetchOpts","then","__staleWhileFetching","fetching","reset","field","$4f0bf18d6c99da3c$var$deprecatedProperty","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","$52e25de88536d4d3$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$c8FZS","high","low","$77bPN","r1","r2","ranges","simplified","$2478f50f5acc8298$var$ANY","$2478f50f5acc8298$var$simpleSubset","sub","dom","eqSet","gtltComp","higher","lower","hasDomLT","hasDomGT","$2478f50f5acc8298$var$higherGT","$2478f50f5acc8298$var$lowerLT","needDomLTPre","needDomGTPre","c1","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$joDHm","buf","offset","rnds","random","rng","ii","$inTPA","$dLzlS$crypto","randomBytes","$d625aee022f0dd91$var$byteToHex","$d625aee022f0dd91$var$i","i1","$8da6c9556ccdcf3f$var$exec","commandLine","commandArgs","$8da6c9556ccdcf3f$var$tr","argStringToArray","ToolRunner","$8da6c9556ccdcf3f$var$__importStar","stdoutDecoder","$dLzlS$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","_b","$a31d583cb10858c8$var$os","$a31d583cb10858c8$var$__importStar","$a31d583cb10858c8$var$events","$a31d583cb10858c8$var$child","$a31d583cb10858c8$var$path","$a31d583cb10858c8$var$io","$a31d583cb10858c8$var$ioUtil","$a31d583cb10858c8$var$IS_WINDOWS","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","endsWith","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$a31d583cb10858c8$var$__awaiter","optionsNonNull","state","$a31d583cb10858c8$var$ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argString","append","escaped","inQuotes","charAt","done","timeout","_setResult","$dLzlS$timers","HandleTimeout","clearTimeout","require","$95c5fc1c1b6165c5$var$addLocale","localeData","$95c5fc1c1b6165c5$var$locales","$95c5fc1c1b6165c5$var$pluralize","unit","config","unitTypeData","locale","lookupOrder","unitTypeLookupOrder","unitType","$95c5fc1c1b6165c5$var$getLocaleDataForUnitType","pluralize","$95c5fc1c1b6165c5$var$timeUnits","$95c5fc1c1b6165c5$var$defaultConfig","span","firstDate","secondDate","autoload","$3Zbea","localeId","$95c5fc1c1b6165c5$var$requireLocale","$95c5fc1c1b6165c5$var$ensureLocaleLoadedOrThrow","difference","results","divider","$95c5fc1c1b6165c5$var$getDifference","$95c5fc1c1b6165c5$var$format","variants","checkLocale","locales","hasLocale","$de644365a4a5582b$var$__dirname1","requireLocale","moduleDefinition","callable","numerous","node","$4ca03dc05bbe4be0$var$isWindows","OSTYPE","$4ca03dc05bbe4be0$var$COLON","TESTING_WINDOWS","$1d8d028d9c47b73d$exports","$4ca03dc05bbe4be0$var$getNotFoundError","$4ca03dc05bbe4be0$var$getPathInfo","colon","pathEnv","pathExtExe","$4ca03dc05bbe4be0$var$which","found","step","ppRaw","pathPart","pCmd","subStep","ext","cur","ex","$e9929770d50e0ca3$var$pathKey","environment","$14642610717c66e2$export$ae50443ffc990749","$14642610717c66e2$export$6ea29ee575e3f5ff","$51d58653c6048ffd$exports","$14642610717c66e2$var$metaCharsRegExp","doubleEscapeMetaChars","$70842f99e7c30891$exports","$58ccbcc4db2ecd48$exports","argument","binary","$572e9b86f5fc3342$exports","buffer","fd","openSync","readSync","closeSync","$9cf15e4f01e764e1$var$isWin","$9cf15e4f01e764e1$var$isExecutableRegExp","$9cf15e4f01e764e1$var$isCmdShimRegExp","commandFile","shebang","$9cf15e4f01e764e1$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","$9cf15e4f01e764e1$var$parseNonShell","originalEmit","arg1","apply","$338cd3297632d74f$exports","spawnSync","verifyENOENTSync","_parse","_enoent","$98427f994073a8a3$exports","CR","$e076d46b8261c78a$var$npmRunPath","previous","execPath","cwdPath","execPathDir","$e076d46b8261c78a$exports","$2826e4518080138e$var$mimicFn","prop","Reflect","ownKeys","$2826e4518080138e$exports","$2a4addac1ccdeac1$var$calledFunctions","WeakMap","$2a4addac1ccdeac1$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime1","arguments_","throw","$2a4addac1ccdeac1$exports","$d078421bb3e3863b$exports","signalsByNumber","signalsByName","$7183a0a1bd319d48$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","$1d5ee7ec3cf727ea$var$SIGRTMAX","realtimeSignals","$1d5ee7ec3cf727ea$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","supported","signalByNameMemo","$d078421bb3e3863b$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$d078421bb3e3863b$var$signalsByNumber","$dd1b4f5e55037c97$exports","escapedCommand","timedOut","isCanceled","killed","signalDescription","$dd1b4f5e55037c97$require$signalsByName","errorCode","$dd1b4f5e55037c97$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$9a6ccfc90813398a$var$aliases","$9a6ccfc90813398a$var$normalizeStdio","$9a6ccfc90813398a$var$hasAlias","$9a6ccfc90813398a$exports","$6a176bc6f7b604f3$var$process","$6a176bc6f7b604f3$var$processOk","process1","reallyExit","kill","pid","$6a176bc6f7b604f3$var$emitter","$6a176bc6f7b604f3$var$assert","$6a176bc6f7b604f3$var$signals","$6a176bc6f7b604f3$var$isWin","$6a176bc6f7b604f3$var$EE","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","$6a176bc6f7b604f3$exports","equal","$6a176bc6f7b604f3$var$loaded","$6a176bc6f7b604f3$var$load","ev","alwaysLast","$6a176bc6f7b604f3$var$unload","sig","$6a176bc6f7b604f3$var$sigListeners","$6a176bc6f7b604f3$var$originalProcessEmit","$6a176bc6f7b604f3$var$originalProcessReallyExit","unload","$6a176bc6f7b604f3$var$emit","event","$6a176bc6f7b604f3$var$processEmit","$6a176bc6f7b604f3$var$processReallyExit","$2808df33d6c30b25$var$isSigterm","SIGTERM","$2808df33d6c30b25$exports","killResult","forceKillAfterTimeout","$2808df33d6c30b25$var$shouldForceKill","$2808df33d6c30b25$var$getForceKillAfterTimeout","$2808df33d6c30b25$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$2808df33d6c30b25$var$timeoutKill","safeSpawnedPromise","finally","race","cleanup","detached","timedPromise","removeExitHandler","spawnedKill","spawnedCancel","setupTimeout","validateTimeout","setExitHandler","$70a93fcbba5dfccf$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$70a93fcbba5dfccf$exports","$dLzlS$buffer","$dLzlS$stream","PassThrough","array","isBuffer","objectMode","$2791e057b208c733$require$PassThroughStream","setEncoding","chunks","$3f8980e86d9447d4$require$promisify","pipeline","$3f8980e86d9447d4$exports","stream2","stream3","MaxBufferError","$093c506afc3bd46a$exports","sources","remove","bind","isEmpty","it","$093c506afc3bd46a$require$PassThrough","$695f2f6df63802a7$var$getBufferedData","streamPromise","$695f2f6df63802a7$var$getStreamPromise","$695f2f6df63802a7$exports","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","getSpawnedResult","makeAllStream","validateInputSync","$183dab226baf544c$var$nativePromisePrototype","$183dab226baf544c$var$descriptors","property","$183dab226baf544c$exports","promise","descriptor","mergePromise","getSpawnedPromise","$b6e06bcb542f40f3$var$normalizeArgs","$b6e06bcb542f40f3$var$NO_ESCAPE_REGEXP","$b6e06bcb542f40f3$var$DOUBLE_QUOTES_REGEXP","$b6e06bcb542f40f3$var$SPACES_REGEXP","$b6e06bcb542f40f3$exports","$b6e06bcb542f40f3$var$escapeArg","previousToken","joinCommand","parseCommand","getEscapedCommand","$c3e9e2f843627429$var$handleArguments","stripFinalNewline","preferLocal","localDir","windowsHide","envOption","$c3e9e2f843627429$var$getEnv","$c3e9e2f843627429$var$handleOutput","$c3e9e2f843627429$var$execa","$c3e9e2f843627429$require$joinCommand","$c3e9e2f843627429$require$getEscapedCommand","$c3e9e2f843627429$require$validateTimeout","error1","dummySpawned","ChildProcess","errorPromise","$c3e9e2f843627429$require$mergePromise","$c3e9e2f843627429$require$getSpawnedPromise","$c3e9e2f843627429$require$setupTimeout","$c3e9e2f843627429$require$setExitHandler","$c3e9e2f843627429$require$spawnedKill","cancel","$c3e9e2f843627429$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$c3e9e2f843627429$require$getSpawnedResult","returnedError","$c3e9e2f843627429$require$handleInput","$c3e9e2f843627429$require$makeAllStream","$c3e9e2f843627429$require$validateInputSync","$c3e9e2f843627429$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$a7308743a0157ada$var$homeDirectory","homedir","pathWithTilde","$892cf68de9d02605$var$is_posix_os","$892cf68de9d02605$var$version","$892cf68de9d02605$var$windows_version_regex","given_path","major_release","os_build","$892cf68de9d02605$var$should_not_escape","$2032c186687979ea$var$__importStar","$2032c186687979ea$var$mm","$2032c186687979ea$var$httpm","$2032c186687979ea$var$stream","$2032c186687979ea$var$util","$2032c186687979ea$var$__importDefault","$a3103f5469ee5040$var$core","$a3103f5469ee5040$var$__importStar","$a3103f5469ee5040$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$2032c186687979ea$var$HTTPError","httpStatusCode","HTTPError","$2032c186687979ea$var$IS_WINDOWS","$2032c186687979ea$var$IS_MAC","auth","retryHelper","$2032c186687979ea$var$__awaiter","http","authorization","statusMessage","readStream","responseMessageFactory","succeeded","createWriteStream","$2032c186687979ea$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","$2032c186687979ea$var$__dirname1","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","extractZip","escapedFile","escapedDest","pwshPath","$2032c186687979ea$var$extractZipWin","unzipPath","$2032c186687979ea$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","getManifestFromRepo","owner","branch","releases","treeUrl","manifestUrl","tree","versionsRaw","findFromManifest","manifest","isExplicitVersion","evaluateVersions","llvm","clangtidy","clangformat","ninja","gcovr","conan","meson","kcov","task","doxygen","gcc","nala","specific","$dcc4a5600f9a2a29$var$__importStar","$c10add6f7657d058$exports","$dcc4a5600f9a2a29$var$escapeData","$ffb53a3661600710$var$fs","$ffb53a3661600710$var$__importStar","$ffb53a3661600710$var$os","$ffb53a3661600710$exports","$d2814cb4b08c0425$var$os","$d2814cb4b08c0425$var$__importStar","$d2814cb4b08c0425$var$path","$d2814cb4b08c0425$var$ExitCode","$dLzlS$process","$44e2ea7eee739a17$var$VSWHERE_PATH","arch_aliases","win32","win64","x86_64","vcvars","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","long","one","months","weeks","days","hours","minutes","narrow","short","abs","exe","reDistributor","reDescription","reRelease","distributorFound","desc","rel","ss","$af664557d133c197$var$binDir","$2c1dbb6d966096c4$var$hasVCPKG","python","vcpkg","bazel","opencppcoverage","$e72e2baab3c48b0e$var$activateOpencppcoverage","choco","brew","ccache","$9f276bb1312a9d71$var$activateWinDoxygen","graphviz","cppcheck","$3b5b7f21aafe5be9$var$activateWinCppcheck","msvc","vcvarsall","versionSplit","installMethod","version_number","make","sevenzip","argv"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"} \ No newline at end of file +{"mappings":"4IAWA,SAASA,EAAOC,EAAMC,EAASC,GAM7B,GALuB,mBAAZD,IACTC,EAAKD,EACLA,EAAU,KAGPC,EAAI,CACP,GAAuB,mBAAZC,QACT,MAAM,IAAIC,UAAU,yBAGtB,OAAO,IAAID,SAAQ,CAAUE,EAASC,KACpCP,EAAMC,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,E,OAMhBC,GAAKT,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KAElCD,IACc,WAAZA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,E,IClCJ,SAASI,EAAUC,EAAkBC,EAAmBC,GAC7D,IAAK,CAAC,SAAU,SAASC,SAASC,QAAQC,UACxC,OAEF,GAAsB,iBAAXC,GACT,MAAO,C,OAAEA,IAGX,MAAMC,EAAcC,EAAAC,I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AIiC,IACF,OAAOxB,EAAgB,OAAQxB,GAC1B,GAAIkD,IACT,OAAOE,EAAa,OAAQpD,GACvB,GAAIsD,IACT,OAAOvD,EAAa,OAAQC,GAE9B,MAAUpF,MAAM,kCAElB,QACE,MAAUA,MAAM,wB,E5HyCpBihE,KtB7BwB77D,EAAiB4H,EAAkB5D,GAC3D,OAAO0D,EAAS,OAAQ1H,EAASgJ,EAAoBpB,EAAU5D,E,EsB6B/Dk8D,SAAUt8D,GAIN+Y,GAAoC,CACxC,OACA,QACA,OACA,SACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,kBACA,SACA,UACA,WACA,WACA,YACA,cACA,OACA,MACA,OACA,YACA,OACA,OACA,OACA,YAOI2B,GAAwB,CAAC,WAAY,kBAAmB3B,IAgM9D9B,GAAKpiB,QAAQ0nE,MACVtqB,MAAMlI,IACLl1C,QAAQkoB,SAAWgtB,CAAG,IAEvB9oB,OAAO7qB,KACN,EAAA2E,GAAAzC,OAAM,qBACN,EAAAyC,GAAAzC,OAAMlC,GACNvB,QAAQkoB,SAAW,CAAC","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","packages/root-tools/src/index.ts","packages/untildify-user/src/index.ts","packages/exec-powershell/src/index.ts","src/utils/env/addEnv.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupPacmanPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","src/utils/env/isArch.ts","src/utils/env/hasDnf.ts","src/utils/setup/setupDnfPack.ts","src/utils/env/isUbuntu.ts","packages/extension-tools/src/index.ts","src/sevenzip/sevenzip.ts","packages/user-access/src/index.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/extract.ts","src/utils/setup/setupBin.ts","src/task/task.ts","src/cmake/cmake.ts","src/python/python.ts","node_modules/.pnpm/destr@1.1.1/node_modules/destr/dist/index.mjs","node_modules/.pnpm/ufo@0.8.5/node_modules/ufo/dist/index.mjs","node_modules/.pnpm/ohmyfetch@0.4.18/node_modules/ohmyfetch/dist/chunks/fetch.mjs","src/utils/setup/version.ts","src/default_versions.ts","src/utils/setup/setupPipPack.ts","src/graphviz/graphviz.ts","src/doxygen/doxygen.ts","src/macos-sdk/macos-sdk.ts","src/gcc/gcc.ts","src/llvm/llvm.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/lib.js","src/vcvarsall/vcvarsall.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/kcov/kcov.ts","src/main.ts","src/utils/env/ubuntu_version.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/index.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/proxy.ts","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/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/auth.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","src/utils/io/io.ts","node_modules/.pnpm/github.com+aminya+ci-detect@37fe40075bebec96794ba0a7c4a6d5c70cbea00d/node_modules/@npmcli/ci-detect/lib/index.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@7.8.1/node_modules/lru-cache/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.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+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@parcel+runtime-js@2.6.2_@parcel+core@2.6.2/node_modules/@parcel/runtime-js/lib/runtime-5490b668a0a39291.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","node_modules/.pnpm/github.com+aminya+escape-path-with-spaces@d9f81ee649203ddc55783a2f96ada59df06118e3/node_modules/escape-path-with-spaces/index.js","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/ohmyfetch@0.4.18/node_modules/ohmyfetch/dist/index.mjs","node_modules/.pnpm/is-url-online@1.4.0/node_modules/is-url-online/src/modules/isUrlString.ts","node_modules/.pnpm/is-url-online@1.4.0/node_modules/is-url-online/src/modules/isUrlOnline.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","src/vcpkg/vcpkg.ts","src/nala/nala.ts","src/bazel/bazel.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/cppcheck/cppcheck.ts","src/make/make.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, _setupDir: 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","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return (Boolean(process.env.CI) || isRoot()) && which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/** Detect if the process has root privileges */\nexport function isRoot(): boolean {\n return process.getuid?.() === 0\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"root-tools\"\n\nexport function untildifyUser(path: string) {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER, path)\n } else {\n return join(\"/home/\", process.env.SUDO_USER, path)\n }\n } else {\n return untildify(`~/${path}`)\n }\n}\n","import execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" }\n): execa.ExecaChildProcess {\n return execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" }\n): execa.ExecaSyncReturnValue {\n return execa.sync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, existsSync, readFileSync } from \"fs\"\nimport { error, warning } from \"../io/io\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {\n const val = shouldEscapeSpace ? escapeSpace(valGiven ?? \"\") : valGiven\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val)\n }\n } else {\n await addEnvSystem(name, val)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\".cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"export SOURCE_CPPRC=0\"\n\n if (existsSync(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\".profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\".bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { appendFileSync, existsSync } from \"fs\"\nimport which from \"which\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repositories: string[] = [],\n update = false\n): Promise {\n const apt: string = getApt()\n\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n if (Array.isArray(repositories) && repositories.length !== 0) {\n for (const repo of repositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"--update\", \"-y\", repo])\n }\n updateRepos(apt)\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}=${version}`])\n } catch {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}-${version}`])\n }\n } else {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nfunction getApt() {\n let apt: string\n if (which.sync(\"nala\", { nothrow: true }) !== null) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\")\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\")\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n await addEnv(\"LANG\", \"C.UTF-8\")\n await addEnv(\"LC_ALL\", \"C.UTF-8\")\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n for (const key of keys) {\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n }\n return fileName\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n await setupAptPack(\"curl\", undefined)\n execRootSync(\"bash\", [\"-c\", `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport function updateAptAlternatives(name: string, path: string) {\n if (ciDetect() === \"github-actions\") {\n return execRootSync(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n setupCppInProfile()\n return appendFileSync(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`\n )\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"../io/io\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport function setupPacmanPack(name: string, version?: string, aur?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (!didUpdate) {\n execRootSync(pacman, [\"-Syuu\", \"--noconfirm\"])\n didUpdate = true\n }\n\n if (!didInit) {\n // install base-devel\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}=${version}`])\n } catch {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}${version}`])\n }\n } else {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport execa from \"execa\"\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 info(`Installing ${name} ${version ?? \"\"} via brew`)\n\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 execa.sync(\"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 execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\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 _setupDir: 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 let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.sync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" }\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"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 \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\nimport { info } from \"@actions/core\"\nimport { notice } from \"../io/io\"\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 info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n notice(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info, warning } from \"../io/io\"\n\n// let didUpdate: boolean = false\n\n/** A function that installs a package using dnf */\nexport function setupDnfPack(name: string, version?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n\n const dnf = \"dnf\"\n\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(dnf, [\"-y\", \"install\", `${name}-${version}`])\n } catch (err) {\n warning(`${(err as Error).toString()}\\nInstalling the default version available via dnf`)\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n } else {\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.exe` on Windows\n * @param unix_ext `\"\"` On unix.\n */\nexport function addBinExtension(name: string, win_ext = \".exe\", unix_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/**\n * Add native shell extension to the given name\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.bat` on Windows\n * @param unix_ext `.sh` On unix.\n */\nexport function addShellExtension(name: string, win_ext = \".bat\", unix_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/** Prefix a `./` for unix shell and nothing for the cmd shell */\nexport function addShellHere(name: string) {\n if (process.platform === \"win32\") {\n return name\n }\n return `./${name}`\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n setupDnfPack(\"p7zip\", version)\n return setupDnfPack(\"p7zip-plugins\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"p7zip-full\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { isSudo, execRootSync } from \"root-tools\"\n\n/**\n * Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows\n * the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport function giveUserAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n execRootSync(\"chown\", [\"-R\", process.env.SUDO_USER, path], { cwd: path, stdio: \"inherit\", shell: true })\n }\n}\n",null,"import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"../io/io\"\nimport { giveUserAccess } from \"user-access\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n giveUserAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n giveUserAccess(dest)\n return dest\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport { tmpdir } from \"os\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\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 main binary file. */\n binFileName: 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\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded 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, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch\n )\n\n // Restore from cache (if found).\n if (ciDetect() === \"github-actions\") {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(binDir) || !existsSync(binFile)) {\n info(`Download and extract ${name} ${version}`)\n\n if (!didInit) {\n if (process.platform === \"linux\") {\n // extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"xz\")\n } else if (hasDnf()) {\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"xz\")\n } else if (isUbuntu()) {\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"xz-utils\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n try {\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\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 await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (ciDetect() === \"github-actions\" && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { warning, info } from \"../utils/io/io\"\nimport { isArch } from \"../utils/env/isArch\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { dirname, join } from \"path\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string) {\n if (ciDetect() !== \"github-actions\") {\n // TODO parse version\n return setupPythonViaSystem(version, setupDir, arch)\n }\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n return setupActionsPython(version, setupDir, arch)\n } catch (err) {\n warning((err as Error).toString())\n return setupPythonViaSystem(version, setupDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(\n version: string,\n setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const pythonBinPath =\n which.sync(\"python3.exe\", { nothrow: true }) ??\n which.sync(\"python.exe\", { nothrow: true }) ??\n join(setupDir, \"python.exe\")\n const pythonSetupDir = dirname(pythonBinPath)\n /** The directory which the tool is installed to */\n await activateWinPython(pythonSetupDir)\n return { installDir: pythonSetupDir, binDir: pythonSetupDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n let installInfo: InstallationInfo\n if (isArch()) {\n installInfo = setupPacmanPack(\"python\", version)\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n installInfo = setupDnfPack(\"python3\", version)\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinPython(binDir: string) {\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n}\n","const suspectProtoRx = /\"(?:_|\\\\u005[Ff])(?:_|\\\\u005[Ff])(?:p|\\\\u0070)(?:r|\\\\u0072)(?:o|\\\\u006[Ff])(?:t|\\\\u0074)(?:o|\\\\u006[Ff])(?:_|\\\\u005[Ff])(?:_|\\\\u005[Ff])\"\\s*:/;\nconst suspectConstructorRx = /\"(?:c|\\\\u0063)(?:o|\\\\u006[Ff])(?:n|\\\\u006[Ee])(?:s|\\\\u0073)(?:t|\\\\u0074)(?:r|\\\\u0072)(?:u|\\\\u0075)(?:c|\\\\u0063)(?:t|\\\\u0074)(?:o|\\\\u006[Ff])(?:r|\\\\u0072)\"\\s*:/;\nconst JsonSigRx = /^[\"{[]|^-?[0-9][0-9.]{0,14}$/;\nfunction jsonParseTransform(key, value) {\n if (key === \"__proto__\" || key === \"constructor\") {\n return;\n }\n return value;\n}\nfunction destr(val) {\n if (typeof val !== \"string\") {\n return val;\n }\n const _lval = val.toLowerCase();\n if (_lval === \"true\") {\n return true;\n }\n if (_lval === \"false\") {\n return false;\n }\n if (_lval === \"null\") {\n return null;\n }\n if (_lval === \"nan\") {\n return NaN;\n }\n if (_lval === \"infinity\") {\n return Infinity;\n }\n if (_lval === \"undefined\") {\n return void 0;\n }\n if (!JsonSigRx.test(val)) {\n return val;\n }\n try {\n if (suspectProtoRx.test(val) || suspectConstructorRx.test(val)) {\n return JSON.parse(val, jsonParseTransform);\n }\n return JSON.parse(val);\n } catch (_e) {\n return val;\n }\n}\n\nexport { destr as default };\n","const n = /[^\\0-\\x7E]/;\nconst t = /[\\x2E\\u3002\\uFF0E\\uFF61]/g;\nconst o = { overflow: \"Overflow Error\", \"not-basic\": \"Illegal Input\", \"invalid-input\": \"Invalid Input\" };\nconst e = Math.floor;\nconst r = String.fromCharCode;\nfunction s(n2) {\n throw new RangeError(o[n2]);\n}\nconst c = function(n2, t2) {\n return n2 + 22 + 75 * (n2 < 26) - ((t2 != 0) << 5);\n};\nconst u = function(n2, t2, o2) {\n let r2 = 0;\n for (n2 = o2 ? e(n2 / 700) : n2 >> 1, n2 += e(n2 / t2); n2 > 455; r2 += 36) {\n n2 = e(n2 / 35);\n }\n return e(r2 + 36 * n2 / (n2 + 38));\n};\nfunction toASCII(o2) {\n return function(n2, o3) {\n const e2 = n2.split(\"@\");\n let r2 = \"\";\n e2.length > 1 && (r2 = e2[0] + \"@\", n2 = e2[1]);\n const s2 = function(n3, t2) {\n const o4 = [];\n let e3 = n3.length;\n for (; e3--; ) {\n o4[e3] = t2(n3[e3]);\n }\n return o4;\n }((n2 = n2.replace(t, \".\")).split(\".\"), o3).join(\".\");\n return r2 + s2;\n }(o2, function(t2) {\n return n.test(t2) ? \"xn--\" + function(n2) {\n const t3 = [];\n const o3 = (n2 = function(n3) {\n const t4 = [];\n let o4 = 0;\n const e2 = n3.length;\n for (; o4 < e2; ) {\n const r2 = n3.charCodeAt(o4++);\n if (r2 >= 55296 && r2 <= 56319 && o4 < e2) {\n const e3 = n3.charCodeAt(o4++);\n (64512 & e3) == 56320 ? t4.push(((1023 & r2) << 10) + (1023 & e3) + 65536) : (t4.push(r2), o4--);\n } else {\n t4.push(r2);\n }\n }\n return t4;\n }(n2)).length;\n let f = 128;\n let i = 0;\n let l = 72;\n for (const o4 of n2) {\n o4 < 128 && t3.push(r(o4));\n }\n const h = t3.length;\n let p = h;\n for (h && t3.push(\"-\"); p < o3; ) {\n let o4 = 2147483647;\n for (const t4 of n2) {\n t4 >= f && t4 < o4 && (o4 = t4);\n }\n const a = p + 1;\n o4 - f > e((2147483647 - i) / a) && s(\"overflow\"), i += (o4 - f) * a, f = o4;\n for (const o5 of n2) {\n if (o5 < f && ++i > 2147483647 && s(\"overflow\"), o5 == f) {\n let n3 = i;\n for (let o6 = 36; ; o6 += 36) {\n const s2 = o6 <= l ? 1 : o6 >= l + 26 ? 26 : o6 - l;\n if (n3 < s2) {\n break;\n }\n const u2 = n3 - s2;\n const f2 = 36 - s2;\n t3.push(r(c(s2 + u2 % f2, 0))), n3 = e(u2 / f2);\n }\n t3.push(r(c(n3, 0))), l = u(i, a, p == h), i = 0, ++p;\n }\n }\n ++i, ++f;\n }\n return t3.join(\"\");\n }(t2) : t2;\n });\n}\n\nconst HASH_RE = /#/g;\nconst AMPERSAND_RE = /&/g;\nconst SLASH_RE = /\\//g;\nconst EQUAL_RE = /=/g;\nconst IM_RE = /\\?/g;\nconst PLUS_RE = /\\+/g;\nconst ENC_BRACKET_OPEN_RE = /%5B/gi;\nconst ENC_BRACKET_CLOSE_RE = /%5D/gi;\nconst ENC_CARET_RE = /%5E/gi;\nconst ENC_BACKTICK_RE = /%60/gi;\nconst ENC_CURLY_OPEN_RE = /%7B/gi;\nconst ENC_PIPE_RE = /%7C/gi;\nconst ENC_CURLY_CLOSE_RE = /%7D/gi;\nconst ENC_SPACE_RE = /%20/gi;\nconst ENC_SLASH_RE = /%2F/gi;\nconst ENC_ENC_SLASH_RE = /%252F/gi;\nfunction encode(text) {\n return encodeURI(\"\" + text).replace(ENC_PIPE_RE, \"|\").replace(ENC_BRACKET_OPEN_RE, \"[\").replace(ENC_BRACKET_CLOSE_RE, \"]\");\n}\nfunction encodeHash(text) {\n return encode(text).replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\nfunction encodeQueryValue(text) {\n return encode(text).replace(PLUS_RE, \"%2B\").replace(ENC_SPACE_RE, \"+\").replace(HASH_RE, \"%23\").replace(AMPERSAND_RE, \"%26\").replace(ENC_BACKTICK_RE, \"`\").replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\nfunction encodeQueryKey(text) {\n return encodeQueryValue(text).replace(EQUAL_RE, \"%3D\");\n}\nfunction encodePath(text) {\n return encode(text).replace(HASH_RE, \"%23\").replace(IM_RE, \"%3F\").replace(ENC_ENC_SLASH_RE, \"%2F\").replace(AMPERSAND_RE, \"%26\").replace(PLUS_RE, \"%2B\");\n}\nfunction encodeParam(text) {\n return encodePath(text).replace(SLASH_RE, \"%2F\");\n}\nfunction decode(text = \"\") {\n try {\n return decodeURIComponent(\"\" + text);\n } catch (_err) {\n return \"\" + text;\n }\n}\nfunction decodePath(text) {\n return decode(text.replace(ENC_SLASH_RE, \"%252F\"));\n}\nfunction decodeQueryValue(text) {\n return decode(text.replace(PLUS_RE, \" \"));\n}\nfunction encodeHost(name = \"\") {\n return toASCII(name);\n}\n\nfunction parseQuery(paramsStr = \"\") {\n const obj = {};\n if (paramsStr[0] === \"?\") {\n paramsStr = paramsStr.substr(1);\n }\n for (const param of paramsStr.split(\"&\")) {\n const s = param.match(/([^=]+)=?(.*)/) || [];\n if (s.length < 2) {\n continue;\n }\n const key = decode(s[1]);\n if (key === \"__proto__\" || key === \"constructor\") {\n continue;\n }\n const value = decodeQueryValue(s[2] || \"\");\n if (obj[key]) {\n if (Array.isArray(obj[key])) {\n obj[key].push(value);\n } else {\n obj[key] = [obj[key], value];\n }\n } else {\n obj[key] = value;\n }\n }\n return obj;\n}\nfunction encodeQueryItem(key, val) {\n if (typeof val === \"number\" || typeof val === \"boolean\") {\n val = String(val);\n }\n if (!val) {\n return encodeQueryKey(key);\n }\n if (Array.isArray(val)) {\n return val.map((_val) => `${encodeQueryKey(key)}=${encodeQueryValue(_val)}`).join(\"&\");\n }\n return `${encodeQueryKey(key)}=${encodeQueryValue(val)}`;\n}\nfunction stringifyQuery(query) {\n return Object.keys(query).map((k) => encodeQueryItem(k, query[k])).join(\"&\");\n}\n\nclass $URL {\n constructor(input = \"\") {\n this.query = {};\n if (typeof input !== \"string\") {\n throw new TypeError(`URL input should be string received ${typeof input} (${input})`);\n }\n const parsed = parseURL(input);\n this.protocol = decode(parsed.protocol);\n this.host = decode(parsed.host);\n this.auth = decode(parsed.auth);\n this.pathname = decodePath(parsed.pathname);\n this.query = parseQuery(parsed.search);\n this.hash = decode(parsed.hash);\n }\n get hostname() {\n return parseHost(this.host).hostname;\n }\n get port() {\n return parseHost(this.host).port || \"\";\n }\n get username() {\n return parseAuth(this.auth).username;\n }\n get password() {\n return parseAuth(this.auth).password || \"\";\n }\n get hasProtocol() {\n return this.protocol.length;\n }\n get isAbsolute() {\n return this.hasProtocol || this.pathname[0] === \"/\";\n }\n get search() {\n const q = stringifyQuery(this.query);\n return q.length ? \"?\" + q : \"\";\n }\n get searchParams() {\n const p = new URLSearchParams();\n for (const name in this.query) {\n const value = this.query[name];\n if (Array.isArray(value)) {\n value.forEach((v) => p.append(name, v));\n } else {\n p.append(name, value || \"\");\n }\n }\n return p;\n }\n get origin() {\n return (this.protocol ? this.protocol + \"//\" : \"\") + encodeHost(this.host);\n }\n get fullpath() {\n return encodePath(this.pathname) + this.search + encodeHash(this.hash);\n }\n get encodedAuth() {\n if (!this.auth) {\n return \"\";\n }\n const { username, password } = parseAuth(this.auth);\n return encodeURIComponent(username) + (password ? \":\" + encodeURIComponent(password) : \"\");\n }\n get href() {\n const auth = this.encodedAuth;\n const originWithAuth = (this.protocol ? this.protocol + \"//\" : \"\") + (auth ? auth + \"@\" : \"\") + encodeHost(this.host);\n return this.hasProtocol && this.isAbsolute ? originWithAuth + this.fullpath : this.fullpath;\n }\n append(url) {\n if (url.hasProtocol) {\n throw new Error(\"Cannot append a URL with protocol\");\n }\n Object.assign(this.query, url.query);\n if (url.pathname) {\n this.pathname = withTrailingSlash(this.pathname) + withoutLeadingSlash(url.pathname);\n }\n if (url.hash) {\n this.hash = url.hash;\n }\n }\n toJSON() {\n return this.href;\n }\n toString() {\n return this.href;\n }\n}\n\nfunction isRelative(inputStr) {\n return [\"./\", \"../\"].some((str) => inputStr.startsWith(str));\n}\nconst PROTOCOL_REGEX = /^\\w+:(\\/\\/)?/;\nconst PROTOCOL_RELATIVE_REGEX = /^\\/\\/[^/]+/;\nfunction hasProtocol(inputStr, acceptProtocolRelative = false) {\n return PROTOCOL_REGEX.test(inputStr) || acceptProtocolRelative && PROTOCOL_RELATIVE_REGEX.test(inputStr);\n}\nconst TRAILING_SLASH_RE = /\\/$|\\/\\?/;\nfunction hasTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return input.endsWith(\"/\");\n }\n return TRAILING_SLASH_RE.test(input);\n}\nfunction withoutTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || \"/\";\n }\n if (!hasTrailingSlash(input, true)) {\n return input || \"/\";\n }\n const [s0, ...s] = input.split(\"?\");\n return (s0.slice(0, -1) || \"/\") + (s.length ? `?${s.join(\"?\")}` : \"\");\n}\nfunction withTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return input.endsWith(\"/\") ? input : input + \"/\";\n }\n if (hasTrailingSlash(input, true)) {\n return input || \"/\";\n }\n const [s0, ...s] = input.split(\"?\");\n return s0 + \"/\" + (s.length ? `?${s.join(\"?\")}` : \"\");\n}\nfunction hasLeadingSlash(input = \"\") {\n return input.startsWith(\"/\");\n}\nfunction withoutLeadingSlash(input = \"\") {\n return (hasLeadingSlash(input) ? input.substr(1) : input) || \"/\";\n}\nfunction withLeadingSlash(input = \"\") {\n return hasLeadingSlash(input) ? input : \"/\" + input;\n}\nfunction cleanDoubleSlashes(input = \"\") {\n return input.split(\"://\").map((str) => str.replace(/\\/{2,}/g, \"/\")).join(\"://\");\n}\nfunction withBase(input, base) {\n if (isEmptyURL(base)) {\n return input;\n }\n const _base = withoutTrailingSlash(base);\n if (input.startsWith(_base)) {\n return input;\n }\n return joinURL(_base, input);\n}\nfunction withoutBase(input, base) {\n if (isEmptyURL(base)) {\n return input;\n }\n const _base = withoutTrailingSlash(base);\n if (!input.startsWith(_base)) {\n return input;\n }\n const trimmed = input.substring(_base.length);\n return trimmed[0] === \"/\" ? trimmed : \"/\" + trimmed;\n}\nfunction withQuery(input, query) {\n const parsed = parseURL(input);\n const mergedQuery = { ...parseQuery(parsed.search), ...query };\n parsed.search = stringifyQuery(mergedQuery);\n return stringifyParsedURL(parsed);\n}\nfunction getQuery(input) {\n return parseQuery(parseURL(input).search);\n}\nfunction isEmptyURL(url) {\n return !url || url === \"/\";\n}\nfunction isNonEmptyURL(url) {\n return url && url !== \"/\";\n}\nfunction joinURL(base, ...input) {\n let url = base || \"\";\n for (const i of input.filter(isNonEmptyURL)) {\n url = url ? withTrailingSlash(url) + withoutLeadingSlash(i) : i;\n }\n return url;\n}\nfunction withHttp(input) {\n return withProtocol(input, \"http://\");\n}\nfunction withHttps(input) {\n return withProtocol(input, \"https://\");\n}\nfunction withoutProtocol(input) {\n return withProtocol(input, \"\");\n}\nfunction withProtocol(input, protocol) {\n const match = input.match(PROTOCOL_REGEX);\n if (!match) {\n return protocol + input;\n }\n return protocol + input.substring(match[0].length);\n}\nfunction createURL(input) {\n return new $URL(input);\n}\nfunction normalizeURL(input) {\n return createURL(input).toString();\n}\nfunction resolveURL(base, ...input) {\n const url = createURL(base);\n for (const i of input.filter(isNonEmptyURL)) {\n url.append(createURL(i));\n }\n return url.toString();\n}\nfunction isSamePath(p1, p2) {\n return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));\n}\nfunction isEqual(a, b, opts = {}) {\n if (!opts.trailingSlash) {\n a = withTrailingSlash(a);\n b = withTrailingSlash(b);\n }\n if (!opts.leadingSlash) {\n a = withLeadingSlash(a);\n b = withLeadingSlash(b);\n }\n if (!opts.encoding) {\n a = decode(a);\n b = decode(b);\n }\n return a === b;\n}\n\nfunction parseURL(input = \"\", defaultProto) {\n if (!hasProtocol(input, true)) {\n return defaultProto ? parseURL(defaultProto + input) : parsePath(input);\n }\n const [protocol = \"\", auth, hostAndPath = \"\"] = (input.replace(/\\\\/g, \"/\").match(/([^:/]+:)?\\/\\/([^/@]+@)?(.*)/) || []).splice(1);\n const [host = \"\", path = \"\"] = (hostAndPath.match(/([^/?#]*)(.*)?/) || []).splice(1);\n const { pathname, search, hash } = parsePath(path);\n return {\n protocol,\n auth: auth ? auth.substr(0, auth.length - 1) : \"\",\n host,\n pathname,\n search,\n hash\n };\n}\nfunction parsePath(input = \"\") {\n const [pathname = \"\", search = \"\", hash = \"\"] = (input.match(/([^#?]*)(\\?[^#]*)?(#.*)?/) || []).splice(1);\n return {\n pathname,\n search,\n hash\n };\n}\nfunction parseAuth(input = \"\") {\n const [username, password] = input.split(\":\");\n return {\n username: decode(username),\n password: decode(password)\n };\n}\nfunction parseHost(input = \"\") {\n const [hostname, port] = (input.match(/([^/]*)(:0-9+)?/) || []).splice(1);\n return {\n hostname: decode(hostname),\n port\n };\n}\nfunction stringifyParsedURL(parsed) {\n const fullpath = parsed.pathname + (parsed.search ? (parsed.search.startsWith(\"?\") ? \"\" : \"?\") + parsed.search : \"\") + parsed.hash;\n if (!parsed.protocol) {\n return fullpath;\n }\n return parsed.protocol + \"//\" + (parsed.auth ? parsed.auth + \"@\" : \"\") + parsed.host + fullpath;\n}\n\nexport { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, joinURL, normalizeURL, parseAuth, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };\n","import destr from 'destr';\nimport { withBase, withQuery } from 'ufo';\n\nclass FetchError extends Error {\n constructor() {\n super(...arguments);\n this.name = \"FetchError\";\n }\n}\nfunction createFetchError(request, error, response) {\n let message = \"\";\n if (request && response) {\n message = `${response.status} ${response.statusText} (${request.toString()})`;\n }\n if (error) {\n message = `${error.message} (${message})`;\n }\n const fetchError = new FetchError(message);\n Object.defineProperty(fetchError, \"request\", { get() {\n return request;\n } });\n Object.defineProperty(fetchError, \"response\", { get() {\n return response;\n } });\n Object.defineProperty(fetchError, \"data\", { get() {\n return response && response._data;\n } });\n return fetchError;\n}\n\nconst payloadMethods = new Set(Object.freeze([\"PATCH\", \"POST\", \"PUT\", \"DELETE\"]));\nfunction isPayloadMethod(method = \"GET\") {\n return payloadMethods.has(method.toUpperCase());\n}\nfunction isJSONSerializable(val) {\n if (val === void 0) {\n return false;\n }\n const t = typeof val;\n if (t === \"string\" || t === \"number\" || t === \"boolean\" || t === null) {\n return true;\n }\n if (t !== \"object\") {\n return false;\n }\n if (Array.isArray(val)) {\n return true;\n }\n return val.constructor && val.constructor.name === \"Object\" || typeof val.toJSON === \"function\";\n}\nconst textTypes = /* @__PURE__ */ new Set([\n \"image/svg\",\n \"application/xml\",\n \"application/xhtml\",\n \"application/html\"\n]);\nconst JSON_RE = /^application\\/(?:[\\w!#$%&*`\\-.^~]*\\+)?json(;.+)?$/i;\nfunction detectResponseType(_contentType = \"\") {\n if (!_contentType) {\n return \"json\";\n }\n const contentType = _contentType.split(\";\").shift();\n if (JSON_RE.test(contentType)) {\n return \"json\";\n }\n if (textTypes.has(contentType) || contentType.startsWith(\"text/\")) {\n return \"text\";\n }\n return \"blob\";\n}\n\nconst retryStatusCodes = /* @__PURE__ */ new Set([\n 408,\n 409,\n 425,\n 429,\n 500,\n 502,\n 503,\n 504\n]);\nfunction createFetch(globalOptions) {\n const { fetch, Headers } = globalOptions;\n function onError(ctx) {\n if (ctx.options.retry !== false) {\n const retries = typeof ctx.options.retry === \"number\" ? ctx.options.retry : isPayloadMethod(ctx.options.method) ? 0 : 1;\n const responseCode = ctx.response && ctx.response.status || 500;\n if (retries > 0 && retryStatusCodes.has(responseCode)) {\n return $fetchRaw(ctx.request, {\n ...ctx.options,\n retry: retries - 1\n });\n }\n }\n const err = createFetchError(ctx.request, ctx.error, ctx.response);\n if (Error.captureStackTrace) {\n Error.captureStackTrace(err, $fetchRaw);\n }\n throw err;\n }\n const $fetchRaw = async function $fetchRaw2(_request, _opts = {}) {\n const ctx = {\n request: _request,\n options: { ...globalOptions.defaults, ..._opts },\n response: void 0,\n error: void 0\n };\n if (ctx.options.onRequest) {\n await ctx.options.onRequest(ctx);\n }\n if (typeof ctx.request === \"string\") {\n if (ctx.options.baseURL) {\n ctx.request = withBase(ctx.request, ctx.options.baseURL);\n }\n if (ctx.options.params) {\n ctx.request = withQuery(ctx.request, ctx.options.params);\n }\n if (ctx.options.body && isPayloadMethod(ctx.options.method)) {\n if (isJSONSerializable(ctx.options.body)) {\n ctx.options.body = typeof ctx.options.body === \"string\" ? ctx.options.body : JSON.stringify(ctx.options.body);\n ctx.options.headers = new Headers(ctx.options.headers);\n if (!ctx.options.headers.has(\"content-type\")) {\n ctx.options.headers.set(\"content-type\", \"application/json\");\n }\n if (!ctx.options.headers.has(\"accept\")) {\n ctx.options.headers.set(\"accept\", \"application/json\");\n }\n }\n }\n }\n ctx.response = await fetch(ctx.request, ctx.options).catch(async (error) => {\n ctx.error = error;\n if (ctx.options.onRequestError) {\n await ctx.options.onRequestError(ctx);\n }\n return onError(ctx);\n });\n const responseType = (ctx.options.parseResponse ? \"json\" : ctx.options.responseType) || detectResponseType(ctx.response.headers.get(\"content-type\") || \"\");\n if (responseType === \"json\") {\n const data = await ctx.response.text();\n const parseFn = ctx.options.parseResponse || destr;\n ctx.response._data = parseFn(data);\n } else {\n ctx.response._data = await ctx.response[responseType]();\n }\n if (ctx.options.onResponse) {\n await ctx.options.onResponse(ctx);\n }\n if (!ctx.response.ok) {\n if (ctx.options.onResponseError) {\n await ctx.options.onResponseError(ctx);\n }\n }\n return ctx.response.ok ? ctx.response : onError(ctx);\n };\n const $fetch = function $fetch2(request, opts) {\n return $fetchRaw(request, opts).then((r) => r._data);\n };\n $fetch.raw = $fetchRaw;\n $fetch.create = (defaultOptions = {}) => createFetch({\n ...globalOptions,\n defaults: {\n ...globalOptions.defaults,\n ...defaultOptions\n }\n });\n return $fetch;\n}\n\nexport { FetchError as F, createFetchError as a, createFetch as c };\n","import { isUrlOnline } from \"is-url-online\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"../io/io\"\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 // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\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 isUrlOnline(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 execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().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\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","import { Inputs, Opts } from \"./main\"\nimport { isArch } from \"./utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nconst DefaultVersions: Record = {\n llvm: \"13.0.0\", // https://github.com/llvm/llvm-project/releases\n clangtidy: \"13.0.0\",\n clangformat: \"13.0.0\",\n ninja: \"1.11.0\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.23.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.1\", // https://pypi.org/project/gcovr/\n conan: \"1.50.0\", // https://github.com/conan-io/conan/releases\n meson: \"0.63.0\", // https://github.com/mesonbuild/meson/releases\n kcov: \"40\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.14.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.3-1\" : \"1.9.4\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: \"11\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nconst DefaultUbuntuVersion: Record> = {\n llvm: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 20: \"5.1\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"0.63.0\",\n 18: \"0.61.4\",\n },\n doxygen: {\n 20: \"1.9.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\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, osVersion: number[] | null = null) {\n if (useDefault(version, name)) {\n // choose the default linux version based on ubuntu version\n if (process.platform === \"linux\" && osVersion !== null && name in DefaultUbuntuVersion) {\n const osVersionMaj = osVersion[0]\n const newest = parseInt(Object.keys(DefaultUbuntuVersion[name])[0], 10) // newest version with the default\n if (osVersionMaj >= newest) {\n return DefaultUbuntuVersion[name][osVersionMaj]\n } else {\n return \"\"\n }\n }\n // anything else\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n\nfunction useDefault(version: string | undefined, name: string) {\n return version === \"true\" || (version === undefined && name in DefaultVersions)\n}\n\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n for (let i = 0; i < tools.length; i++) {\n // tools excluding i_tool\n const otherTools = tools.slice(0, i).concat(tools.slice(i + 1))\n\n const tool = tools[i]\n\n if (!useDefault(opts[tool], tool)) {\n for (let i_other = 0; i_other < otherTools.length; i_other++) {\n const otherTool = otherTools[i_other]\n const useDefaultOtherTool = useDefault(opts[otherTool], otherTools[i_other])\n if (useDefaultOtherTool) {\n // use the same version if the other tool was requested with the default\n opts[otherTool] = opts[tool]\n } else if (opts[tool] !== opts[otherTools[i_other]]) {\n // error if different from the other given versions\n return false\n }\n }\n }\n }\n return true\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\nimport { getVersion } from \"../../default_versions\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\n\nlet python: string | undefined\nlet binDir: string | undefined\n\nlet tried = false\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pip`)\n\n // setup python and pip if needed\n if (python === undefined) {\n if (which.sync(\"python3\", { nothrow: true }) !== null) {\n python = \"python3\"\n } else if (which.sync(\"python\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n python = \"python\"\n } else {\n info(\"python3 was not found. Installing python\")\n await setupPython(getVersion(\"python\", undefined), \"\", process.arch)\n // try again\n if (tried) {\n throw new Error(\"Failed to install python\")\n }\n tried = true\n return setupPipPack(name, version)\n }\n if (process.platform === \"win32\") {\n // downgrade pip on Windows\n // https://github.com/pypa/pip/issues/10875#issuecomment-1030293005\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"pip==21.3.1\"], { stdio: \"inherit\" })\n } else if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if (isArch()) {\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n await setupAptPack(\"python3-pip\")\n }\n }\n\n // install wheel (required for Conan, Meson, etc.)\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"wheel\"], { stdio: \"inherit\" })\n }\n\n execa.sync(python, [\"-m\", \"pip\", \"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name], {\n stdio: \"inherit\",\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 // windows or others\n try {\n binDir = join(\n (await getExecOutput(`${python} -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 await addPath(binDir)\n }\n\n return { binDir }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"graphviz\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"graphviz\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { notice } from \"../utils/io/io\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../default_versions\"\nimport { existsSync } from \"fs\"\nimport { join } from \"path\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n const installationInfo = setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"doxygen\", version)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack(\"doxygen\", version)\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n await setupAptPack(\"libclang-cpp9\")\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack(\"doxygen\", undefined)\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n if (existsSync(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"../utils/io/io\"\n\nexport async function setupMacOSSDK() {\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 (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport path from \"path\"\nimport { warning, info } from \"../utils/io/io\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addBinExtension } from \"extension-tools\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"12\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-msvcrt-r2\", fileSuffix: \"12.1.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = setupDnfPack(\"gcc\", version)\n setupDnfPack(\"gcc-c++\", version)\n setupDnfPack(\"libstdc++-devel\", undefined)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n installationInfo = await setupAptPack(\"g++\", version, [])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc-multilib\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\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 (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (existsSync(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string) {\n const promises: Promise[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addBinExtension(`${binDir}/gcc`)), addEnv(\"CXX\", addBinExtension(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`)\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`)\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (ciDetect() === \"github-actions\") {\n addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nfunction addGccLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"gcc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as path from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport {\n getSpecificVersionAndUrl,\n getSpecificVersions,\n getVersions,\n semverCoerceIfInvalid,\n} from \"../utils/setup/version\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addBinExtension } from \"extension-tools\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { setOutput } from \"@actions/core\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { info, warning } from \"../utils/io/io\"\nimport { existsSync } from \"fs\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { getVersion } from \"../default_versions\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\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 \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\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()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [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\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"14.0.0\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function 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 const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n ubuntu = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n ubuntu = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${ubuntu} for the 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 isUrlOnline(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// Exports\n//================================================\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addBinExtension(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await _setupLLVM(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir, version)\n return installationInfo\n}\n\nlet didInit = false\nasync function _setupLLVM(version: string, setupDir: string, arch: string) {\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n if (!didInit) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await setupGcc(getVersion(\"gcc\", undefined), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n if (isArch()) {\n // setupPacmanPack(\"ncurses\")\n // TODO: install libtinfo ?\n } else if (isUbuntu()) {\n await setupAptPack(\"libtinfo-dev\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n return installationInfo\n}\n\nexport async function activateLLVM(directory: string, versionGiven: string) {\n const version = semverCoerceIfInvalid(versionGiven)\n\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 const promises = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addBinExtension(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addBinExtension(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // windows builds fail with llvm's CPATH\n if (process.platform !== \"win32\") {\n const llvmMajor = semverMajor(version)\n if (existsSync(`${directory}/lib/clang/${version}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n } else if (existsSync(`${directory}/lib/clang/${llvmMajor}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n }\n }\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`)\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`)\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`)\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`)\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`)\n }\n\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\n/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string): Promise {\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n return _setupLLVM(version, setupDir, arch)\n}\n\nfunction addLLVMLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"llvm_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n",null,null,"const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, { shell: \"cmd\" }).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd","import { existsSync } from \"fs\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"../utils/io/io\"\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 setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport path from \"path\"\nimport { existsSync } from \"fs\"\nimport { error, info, warning } from \"../utils/io/io\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (ciDetect() === \"github-actions\") {\n addMSVCLoggingMatcher()\n }\n}\n\nfunction addMSVCLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"msvc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\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 */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\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","import execa from \"execa\"\nimport { join } from \"path\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../default_versions\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"../utils/io/io\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n setupPacmanPack(\"libdwarf\")\n setupPacmanPack(\"libcurl-openssl\")\n } else if (hasDnf()) {\n setupDnfPack(\"libdwarf-devel\")\n setupDnfPack(\"libcurl-devel\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libdw-dev\")\n await setupAptPack(\"libcurl4-openssl-dev\")\n }\n }\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(getVersion(\"cmake\", undefined), join(untildifyUser(\"\"), \"cmake\"), \"\")\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined), join(untildifyUser(\"\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n setupDnfPack(\"binutils\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libbinutils\")\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { getInput, endGroup, startGroup, notice } from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupMake } from \"./make/make\"\nimport { setupTask } from \"./task/task\"\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, setupClangTools } 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\"\nimport { untildifyUser } from \"untildify-user\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport * as timeDelta from \"time-delta\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport * as numerous from \"numerous\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport numerousLocale from \"numerous/locales/en.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion, syncVersions } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, info, success, warning } from \"./utils/io/io\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { join } from \"path\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupBazel } from \"./bazel/bazel\"\n\n/** The setup functions */\nconst setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\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 graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangTools,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"nala\",\n \"choco\",\n \"brew\",\n \"python\",\n \"vcpkg\",\n \"bazel\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"graphviz\",\n \"cppcheck\",\n \"clangtidy\",\n \"clangformat\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n \"vcvarsall\",\n \"kcov\",\n \"make\",\n \"task\",\n \"sevenzip\",\n]\n\n/** The possible inputs to the program */\nexport type 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 if (ciDetect() !== \"github-actions\") {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\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 ?? untildifyUser(\"\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n let osVersion: number[] | null = null\n try {\n // get the version if not already done\n osVersion = await ubuntuVersion()\n } catch (err) {\n warning((err as Error).toString())\n }\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\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 version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n startGroup(`Installing ${tool} ${version}`)\n try {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(\n getVersion(tool, version, osVersion),\n undefined,\n arch,\n undefined,\n undefined,\n false,\n false\n )\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool) ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n time1 = Date.now()\n try {\n if (maybeCompiler !== undefined) {\n const { compiler, version } = getCompilerInfo(maybeCompiler)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const installationInfo = await setupGcc(getVersion(\"gcc\", version, osVersion), join(setupCppDir, \"gcc\"), arch)\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\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 const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup_cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup_cpp finished\")\n\n if (ciDetect() !== \"github-actions\") {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\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((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n }\n>\n\nexport function parseArgs(args: string[]): Opts {\n return 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\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(maybeCompiler: string) {\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\nfunction printHelp() {\n info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = 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 | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n","import { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\n\nexport async function ubuntuVersion(): Promise {\n if (isUbuntu()) {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack(\"lsb-release\")\n }\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n throw new Error(\"Failed to get the ubuntu major version.\")\n }\n\n return versionSplitted\n } else {\n return null\n }\n}\n",null,null,null,null,null,null,null,"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",null,null,null,"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","import * as core from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\n\nexport function error(err: string | Error) {\n return ciDetect() === \"github-actions\" ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return ciDetect() === \"github-actions\" ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return ciDetect() === \"github-actions\" ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return ciDetect() === \"github-actions\" ? core.info(msg) : console.log(msg)\n}\n","module.exports = () =>\n process.env.GERRIT_PROJECT ? 'gerrit'\n : process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI ? 'azure-pipelines'\n : process.env.BITRISE_IO ? 'bitrise'\n : process.env.BUDDY_WORKSPACE_ID ? 'buddy'\n : process.env.BUILDKITE ? 'buildkite'\n : process.env.CIRRUS_CI ? 'cirrus'\n : process.env.GITLAB_CI ? 'gitlab'\n : process.env.APPVEYOR ? 'appveyor'\n : process.env.CIRCLECI ? 'circle-ci'\n : process.env.SEMAPHORE ? 'semaphore'\n : process.env.DRONE ? 'drone'\n : process.env.DSARI ? 'dsari'\n : process.env.GITHUB_ACTION ? 'github-actions'\n : process.env.TDDIUM ? 'tddium'\n : process.env.SCREWDRIVER ? 'screwdriver'\n : process.env.STRIDER ? 'strider'\n : process.env.TASKCLUSTER_ROOT_URL ? 'taskcluster'\n : process.env.JENKINS_URL ? 'jenkins'\n : process.env['bamboo.buildKey'] ? 'bamboo'\n : process.env.GO_PIPELINE_NAME ? 'gocd'\n : process.env.HUDSON_URL ? 'hudson'\n : process.env.WERCKER ? 'wercker'\n : process.env.NETLIFY ? 'netlify'\n : process.env.NOW_GITHUB_DEPLOYMENT ? 'now-github'\n : process.env.GITLAB_DEPLOYMENT ? 'now-gitlab'\n : process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket'\n : process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines'\n : process.env.NOW_BUILDER ? 'now'\n : process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github'\n : process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab'\n : process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket'\n : process.env.VERCEL_URL ? 'vercel'\n : process.env.MAGNUM ? 'magnum'\n : process.env.NEVERCODE ? 'nevercode'\n : process.env.RENDER ? 'render'\n : process.env.SAIL_CI ? 'sail'\n : process.env.SHIPPABLE ? 'shippable'\n : process.env.TEAMCITY_VERSION ? 'teamcity'\n // codeship and a few others\n : process.env.CI_NAME ? process.env.CI_NAME\n // heroku doesn't set envs other than node in a heroku-specific location\n : /\\/\\.heroku\\/node\\/bin\\/node$/.test(process.env.NODE || '') ? 'heroku'\n // test travis after the others, since several CI systems mimic it\n : process.env.TRAVIS ? 'travis-ci'\n // aws CodeBuild/CodePipeline\n : process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'\n : process.env.CI === 'true' || process.env.CI === '1' ? 'custom'\n // Google Cloud Build - it sets almost nothing\n : process.env.BUILDER_OUTPUT ? 'builder'\n : false\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n",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(name, 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 (compareIdentifiers(this.prerelease[0], identifier) === 0) {\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((o, k) => {\n o[k] = true\n return o\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(\n version instanceof SemVer ? version.version : version,\n options\n ).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 }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\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\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\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('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.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\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)\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 let 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\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\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 rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\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((c) => {\n return replaceTilde(c, 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((c) => {\n return replaceCaret(c, 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((c) => {\n return replaceXRange(c, 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\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","const perf = typeof performance === 'object' && performance &&\n typeof performance.now === 'function' ? performance : Date\n\nconst hasAbortController = typeof AbortController !== 'undefined'\n\n// minimal backwards-compatibility polyfill\nconst AC = hasAbortController ? AbortController : Object.assign(\n class AbortController {\n constructor () { this.signal = new AC.AbortSignal }\n abort () { this.signal.aborted = true }\n },\n { AbortSignal: class AbortSignal { constructor () { this.aborted = false }}}\n)\n\nconst warned = new Set()\nconst deprecatedOption = (opt, instead) => {\n const code = `LRU_CACHE_OPTION_${opt}`\n if (shouldWarn(code)) {\n warn(code, `${opt} option`, `options.${instead}`, LRUCache)\n }\n}\nconst deprecatedMethod = (method, instead) => {\n const code = `LRU_CACHE_METHOD_${method}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, method)\n warn(code, `${method} method`, `cache.${instead}()`, get)\n }\n}\nconst deprecatedProperty = (field, instead) => {\n const code = `LRU_CACHE_PROPERTY_${field}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, field)\n warn(code, `${field} property`, `cache.${instead}`, get)\n }\n}\n\nconst emitWarning = (...a) => {\n typeof process === 'object' &&\n process &&\n typeof process.emitWarning === 'function'\n ? process.emitWarning(...a)\n : console.error(...a)\n}\n\nconst shouldWarn = code => !warned.has(code)\n\nconst warn = (code, what, instead, fn) => {\n warned.add(code)\n const msg = `The ${what} is deprecated. Please use ${instead} instead.`\n emitWarning(msg, 'DeprecationWarning', code, fn)\n}\n\nconst isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)\n\n/* istanbul ignore next - This is a little bit ridiculous, tbh.\n * The maximum array length is 2^32-1 or thereabouts on most JS impls.\n * And well before that point, you're caching the entire world, I mean,\n * that's ~32GB of just integers for the next/prev links, plus whatever\n * else to hold that many keys and values. Just filling the memory with\n * zeroes at init time is brutal when you get that big.\n * But why not be complete?\n * Maybe in the future, these limits will have expanded. */\nconst getUintArray = max => !isPosInt(max) ? null\n: max <= Math.pow(2, 8) ? Uint8Array\n: max <= Math.pow(2, 16) ? Uint16Array\n: max <= Math.pow(2, 32) ? Uint32Array\n: max <= Number.MAX_SAFE_INTEGER ? ZeroArray\n: null\n\nclass ZeroArray extends Array {\n constructor (size) {\n super(size)\n this.fill(0)\n }\n}\n\nclass Stack {\n constructor (max) {\n if (max === 0) {\n return []\n }\n const UintArray = getUintArray(max)\n this.heap = new UintArray(max)\n this.length = 0\n }\n push (n) {\n this.heap[this.length++] = n\n }\n pop () {\n return this.heap[--this.length]\n }\n}\n\nclass LRUCache {\n constructor (options = {}) {\n const {\n max = 0,\n ttl,\n ttlResolution = 1,\n ttlAutopurge,\n updateAgeOnGet,\n updateAgeOnHas,\n allowStale,\n dispose,\n disposeAfter,\n noDisposeOnSet,\n noUpdateTTL,\n maxSize = 0,\n sizeCalculation,\n fetchMethod,\n } = options\n\n // deprecated options, don't trigger a warning for getting them if\n // the thing being passed in is another LRUCache we're copying.\n const {\n length,\n maxAge,\n stale,\n } = options instanceof LRUCache ? {} : options\n\n if (max !== 0 && !isPosInt(max)) {\n throw new TypeError('max option must be a nonnegative integer')\n }\n\n const UintArray = max ? getUintArray(max) : Array\n if (!UintArray) {\n throw new Error('invalid max value: ' + max)\n }\n\n this.max = max\n this.maxSize = maxSize\n this.sizeCalculation = sizeCalculation || length\n if (this.sizeCalculation) {\n if (!this.maxSize) {\n throw new TypeError('cannot set sizeCalculation without setting maxSize')\n }\n if (typeof this.sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation set to non-function')\n }\n }\n\n this.fetchMethod = fetchMethod || null\n if (this.fetchMethod && typeof this.fetchMethod !== 'function') {\n throw new TypeError('fetchMethod must be a function if specified')\n }\n\n this.keyMap = new Map()\n this.keyList = new Array(max).fill(null)\n this.valList = new Array(max).fill(null)\n this.next = new UintArray(max)\n this.prev = new UintArray(max)\n this.head = 0\n this.tail = 0\n this.free = new Stack(max)\n this.initialFill = 1\n this.size = 0\n\n if (typeof dispose === 'function') {\n this.dispose = dispose\n }\n if (typeof disposeAfter === 'function') {\n this.disposeAfter = disposeAfter\n this.disposed = []\n } else {\n this.disposeAfter = null\n this.disposed = null\n }\n this.noDisposeOnSet = !!noDisposeOnSet\n this.noUpdateTTL = !!noUpdateTTL\n\n if (this.maxSize !== 0) {\n if (!isPosInt(this.maxSize)) {\n throw new TypeError('maxSize must be a positive integer if specified')\n }\n this.initializeSizeTracking()\n }\n\n this.allowStale = !!allowStale || !!stale\n this.updateAgeOnGet = !!updateAgeOnGet\n this.updateAgeOnHas = !!updateAgeOnHas\n this.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0\n ? ttlResolution : 1\n this.ttlAutopurge = !!ttlAutopurge\n this.ttl = ttl || maxAge || 0\n if (this.ttl) {\n if (!isPosInt(this.ttl)) {\n throw new TypeError('ttl must be a positive integer if specified')\n }\n this.initializeTTLTracking()\n }\n\n // do not allow completely unbounded caches\n if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {\n throw new TypeError('At least one of max, maxSize, or ttl is required')\n }\n if (!this.ttlAutopurge && !this.max && !this.maxSize) {\n const code = 'LRU_CACHE_UNBOUNDED'\n if (shouldWarn(code)) {\n warned.add(code)\n const msg = 'TTL caching without ttlAutopurge, max, or maxSize can ' +\n 'result in unbounded memory consumption.'\n emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)\n }\n }\n\n if (stale) {\n deprecatedOption('stale', 'allowStale')\n }\n if (maxAge) {\n deprecatedOption('maxAge', 'ttl')\n }\n if (length) {\n deprecatedOption('length', 'sizeCalculation')\n }\n }\n\n getRemainingTTL (key) {\n return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0\n }\n\n initializeTTLTracking () {\n this.ttls = new ZeroArray(this.max)\n this.starts = new ZeroArray(this.max)\n\n this.setItemTTL = (index, ttl) => {\n this.starts[index] = ttl !== 0 ? perf.now() : 0\n this.ttls[index] = ttl\n if (ttl !== 0 && this.ttlAutopurge) {\n const t = setTimeout(() => {\n if (this.isStale(index)) {\n this.delete(this.keyList[index])\n }\n }, ttl + 1)\n /* istanbul ignore else - unref() not supported on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n }\n\n this.updateItemAge = (index) => {\n this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0\n }\n\n // debounce calls to perf.now() to 1s so we're not hitting\n // that costly call repeatedly.\n let cachedNow = 0\n const getNow = () => {\n const n = perf.now()\n if (this.ttlResolution > 0) {\n cachedNow = n\n const t = setTimeout(() => cachedNow = 0, this.ttlResolution)\n /* istanbul ignore else - not available on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n return n\n }\n\n this.getRemainingTTL = (key) => {\n const index = this.keyMap.get(key)\n if (index === undefined) {\n return 0\n }\n return this.ttls[index] === 0 || this.starts[index] === 0 ? Infinity\n : ((this.starts[index] + this.ttls[index]) - (cachedNow || getNow()))\n }\n\n this.isStale = (index) => {\n return this.ttls[index] !== 0 && this.starts[index] !== 0 &&\n ((cachedNow || getNow()) - this.starts[index] > this.ttls[index])\n }\n }\n updateItemAge (index) {}\n setItemTTL (index, ttl) {}\n isStale (index) { return false }\n\n initializeSizeTracking () {\n this.calculatedSize = 0\n this.sizes = new ZeroArray(this.max)\n this.removeItemSize = index => this.calculatedSize -= this.sizes[index]\n this.requireSize = (k, v, size, sizeCalculation) => {\n if (!isPosInt(size)) {\n if (sizeCalculation) {\n if (typeof sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation must be a function')\n }\n size = sizeCalculation(v, k)\n if (!isPosInt(size)) {\n throw new TypeError('sizeCalculation return invalid (expect positive integer)')\n }\n } else {\n throw new TypeError('invalid size value (must be positive integer)')\n }\n }\n return size\n }\n this.addItemSize = (index, v, k, size) => {\n this.sizes[index] = size\n const maxSize = this.maxSize - this.sizes[index]\n while (this.calculatedSize > maxSize) {\n this.evict(true)\n }\n this.calculatedSize += this.sizes[index]\n }\n this.delete = k => {\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n this.calculatedSize -= this.sizes[index]\n }\n }\n return LRUCache.prototype.delete.call(this, k)\n }\n }\n removeItemSize (index) {}\n addItemSize (index, v, k, size) {}\n requireSize (k, v, size, sizeCalculation) {\n if (size || sizeCalculation) {\n throw new TypeError('cannot set size without setting maxSize on cache')\n }\n }\n\n *indexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.tail; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.head) {\n break\n } else {\n i = this.prev[i]\n }\n }\n }\n }\n\n *rindexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.head; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.tail) {\n break\n } else {\n i = this.next[i]\n }\n }\n }\n }\n\n isValidIndex (index) {\n return this.keyMap.get(this.keyList[index]) === index\n }\n\n *entries () {\n for (const i of this.indexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n *rentries () {\n for (const i of this.rindexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n\n *keys () {\n for (const i of this.indexes()) {\n yield this.keyList[i]\n }\n }\n *rkeys () {\n for (const i of this.rindexes()) {\n yield this.keyList[i]\n }\n }\n\n *values () {\n for (const i of this.indexes()) {\n yield this.valList[i]\n }\n }\n *rvalues () {\n for (const i of this.rindexes()) {\n yield this.valList[i]\n }\n }\n\n [Symbol.iterator] () {\n return this.entries()\n }\n\n find (fn, getOptions = {}) {\n for (const i of this.indexes()) {\n if (fn(this.valList[i], this.keyList[i], this)) {\n return this.get(this.keyList[i], getOptions)\n }\n }\n }\n\n forEach (fn, thisp = this) {\n for (const i of this.indexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n rforEach (fn, thisp = this) {\n for (const i of this.rindexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n get prune () {\n deprecatedMethod('prune', 'purgeStale')\n return this.purgeStale\n }\n\n purgeStale () {\n let deleted = false\n for (const i of this.rindexes({ allowStale: true })) {\n if (this.isStale(i)) {\n this.delete(this.keyList[i])\n deleted = true\n }\n }\n return deleted\n }\n\n dump () {\n const arr = []\n for (const i of this.indexes()) {\n const key = this.keyList[i]\n const value = this.valList[i]\n const entry = { value }\n if (this.ttls) {\n entry.ttl = this.ttls[i]\n }\n if (this.sizes) {\n entry.size = this.sizes[i]\n }\n arr.unshift([key, entry])\n }\n return arr\n }\n\n load (arr) {\n this.clear()\n for (const [key, entry] of arr) {\n this.set(key, entry.value, entry)\n }\n }\n\n dispose (v, k, reason) {}\n\n set (k, v, {\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n size = this.requireSize(k, v, size, sizeCalculation)\n let index = this.size === 0 ? undefined : this.keyMap.get(k)\n if (index === undefined) {\n // addition\n index = this.newIndex()\n this.keyList[index] = k\n this.valList[index] = v\n this.keyMap.set(k, index)\n this.next[this.tail] = index\n this.prev[index] = this.tail\n this.tail = index\n this.size ++\n this.addItemSize(index, v, k, size)\n noUpdateTTL = false\n } else {\n // update\n const oldVal = this.valList[index]\n if (v !== oldVal) {\n if (this.isBackgroundFetch(oldVal)) {\n oldVal.__abortController.abort()\n } else {\n if (!noDisposeOnSet) {\n this.dispose(oldVal, k, 'set')\n if (this.disposeAfter) {\n this.disposed.push([oldVal, k, 'set'])\n }\n }\n }\n this.removeItemSize(index)\n this.valList[index] = v\n this.addItemSize(index, v, k, size)\n }\n this.moveToTail(index)\n }\n if (ttl !== 0 && this.ttl === 0 && !this.ttls) {\n this.initializeTTLTracking()\n }\n if (!noUpdateTTL) {\n this.setItemTTL(index, ttl)\n }\n if (this.disposeAfter) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return this\n }\n\n newIndex () {\n if (this.size === 0) {\n return this.tail\n }\n if (this.size === this.max && this.max !== 0) {\n return this.evict(false)\n }\n if (this.free.length !== 0) {\n return this.free.pop()\n }\n // initial fill, just keep writing down the list\n return this.initialFill++\n }\n\n pop () {\n if (this.size) {\n const val = this.valList[this.head]\n this.evict(true)\n return val\n }\n }\n\n evict (free) {\n const head = this.head\n const k = this.keyList[head]\n const v = this.valList[head]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'evict')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'evict'])\n }\n }\n this.removeItemSize(head)\n // if we aren't about to use the index, then null these out\n if (free) {\n this.keyList[head] = null\n this.valList[head] = null\n this.free.push(head)\n }\n this.head = this.next[head]\n this.keyMap.delete(k)\n this.size --\n return head\n }\n\n has (k, { updateAgeOnHas = this.updateAgeOnHas } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n if (!this.isStale(index)) {\n if (updateAgeOnHas) {\n this.updateItemAge(index)\n }\n return true\n }\n }\n return false\n }\n\n // like get(), but without any LRU updating or TTL expiration\n peek (k, { allowStale = this.allowStale } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined && (allowStale || !this.isStale(index))) {\n return this.valList[index]\n }\n }\n\n backgroundFetch (k, index, options) {\n const v = index === undefined ? undefined : this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return v\n }\n const ac = new AC()\n const fetchOpts = {\n signal: ac.signal,\n options,\n }\n const p = Promise.resolve(this.fetchMethod(k, v, fetchOpts)).then(v => {\n if (!ac.signal.aborted) {\n this.set(k, v, fetchOpts.options)\n }\n return v\n })\n p.__abortController = ac\n p.__staleWhileFetching = v\n if (index === undefined) {\n this.set(k, p, fetchOpts.options)\n index = this.keyMap.get(k)\n } else {\n this.valList[index] = p\n }\n return p\n }\n\n isBackgroundFetch (p) {\n return p && typeof p === 'object' && typeof p.then === 'function' &&\n Object.prototype.hasOwnProperty.call(p, '__staleWhileFetching')\n }\n\n // this takes the union of get() and set() opts, because it does both\n async fetch (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n if (!this.fetchMethod) {\n return this.get(k, {allowStale, updateAgeOnGet})\n }\n\n const options = {\n allowStale,\n updateAgeOnGet,\n ttl,\n noDisposeOnSet,\n size,\n sizeCalculation,\n noUpdateTTL,\n }\n\n let index = this.keyMap.get(k)\n if (index === undefined) {\n return this.backgroundFetch(k, index, options)\n } else {\n // in cache, maybe already fetching\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return allowStale && v.__staleWhileFetching !== undefined\n ? v.__staleWhileFetching : v\n }\n\n if (!this.isStale(index)) {\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return v\n }\n\n // ok, it is stale, and not already fetching\n // refresh the cache.\n const p = this.backgroundFetch(k, index, options)\n return allowStale && p.__staleWhileFetching !== undefined\n ? p.__staleWhileFetching : p\n }\n }\n\n get (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n const value = this.valList[index]\n const fetching = this.isBackgroundFetch(value)\n if (this.isStale(index)) {\n // delete only if not an in-flight background fetch\n if (!fetching) {\n this.delete(k)\n return allowStale ? value : undefined\n } else {\n return allowStale ? value.__staleWhileFetching : undefined\n }\n } else {\n // if we're currently fetching it, we don't actually have it yet\n // it's not stale, which means this isn't a staleWhileRefetching,\n // so we just return undefined\n if (fetching) {\n return undefined\n }\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return value\n }\n }\n }\n\n connect (p, n) {\n this.prev[n] = p\n this.next[p] = n\n }\n\n moveToTail (index) {\n // if tail already, nothing to do\n // if head, move head to next[index]\n // else\n // move next[prev[index]] to next[index] (head has no prev)\n // move prev[next[index]] to prev[index]\n // prev[index] = tail\n // next[tail] = index\n // tail = index\n if (index !== this.tail) {\n if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.connect(this.prev[index], this.next[index])\n }\n this.connect(this.tail, index)\n this.tail = index\n }\n }\n\n get del () {\n deprecatedMethod('del', 'delete')\n return this.delete\n }\n delete (k) {\n let deleted = false\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n deleted = true\n if (this.size === 1) {\n this.clear()\n } else {\n this.removeItemSize(index)\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n this.keyMap.delete(k)\n this.keyList[index] = null\n this.valList[index] = null\n if (index === this.tail) {\n this.tail = this.prev[index]\n } else if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.next[this.prev[index]] = this.next[index]\n this.prev[this.next[index]] = this.prev[index]\n }\n this.size --\n this.free.push(index)\n }\n }\n }\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return deleted\n }\n\n clear () {\n for (const index of this.rindexes({ allowStale: true })) {\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n const k = this.keyList[index]\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n }\n\n this.keyMap.clear()\n this.valList.fill(null)\n this.keyList.fill(null)\n if (this.ttls) {\n this.ttls.fill(0)\n this.starts.fill(0)\n }\n if (this.sizes) {\n this.sizes.fill(0)\n }\n this.head = 0\n this.tail = 0\n this.initialFill = 1\n this.free.length = 0\n this.calculatedSize = 0\n this.size = 0\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n }\n get reset () {\n deprecatedMethod('reset', 'clear')\n return this.clear\n }\n\n get length () {\n deprecatedProperty('length', 'size')\n return this.size\n }\n}\n\nmodule.exports = LRUCache\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\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 first = 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 (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\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 }\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\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 }\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 }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\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\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\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\n if (eqSet.size > 1) {\n return null\n }\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\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\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\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 }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\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 }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\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\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\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\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 }\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 }\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","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,null,"module.exports = (Promise.resolve(__parcel__require__(\"./\" + \"actions_python.feac98a0.js\"))).then(() => parcelRequire('apy8x'));","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","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","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n","import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n","/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n","// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'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 {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n","const os = require(\"os\");\n\n// to detect on with os user had used path.resolve(...)\nconst is_posix_os = (os.platform() !== \"win32\");\nconst version = os.release();\n\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n\nmodule.exports = function (given_path) {\n return (is_posix_os)\n // for posix path, escape is simple\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\n // for windows, it depend of the build\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\n // on major version, no need to escape anymore\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\n ? given_path\n // on older version, replace space with symbol %20\n : given_path.replace(/(\\s+)/g, '%20');\n};",null,"import { c as createFetch } from './chunks/fetch.mjs';\nexport { F as FetchError, c as createFetch, a as createFetchError } from './chunks/fetch.mjs';\nimport 'destr';\nimport 'ufo';\n\nconst _globalThis = function() {\n if (typeof globalThis !== \"undefined\") {\n return globalThis;\n }\n if (typeof self !== \"undefined\") {\n return self;\n }\n if (typeof window !== \"undefined\") {\n return window;\n }\n if (typeof global !== \"undefined\") {\n return global;\n }\n throw new Error(\"unable to locate global object\");\n}();\nconst fetch = _globalThis.fetch || (() => Promise.reject(new Error(\"[ohmyfetch] global.fetch is not supported!\")));\nconst Headers = _globalThis.Headers;\nconst $fetch = createFetch({ fetch, Headers });\n\nexport { $fetch, Headers, fetch };\n","/**\n * @param {string} url\n * @returns boolean\n * @description Check if a string is a URL.\n */\n\nimport { URL } from \"url\";\n\nexport const isUrlString = (url: string): boolean => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n\n try {\n // eslint-disable-next-line no-new\n new URL(trimmedUrl);\n\n return true;\n } catch {\n return false;\n }\n};\n","import { fetch } from \"ohmyfetch\";\nimport { isUrlString } from \"./isUrlString\";\n/**\n * @param {string} url\n * @returns Promise\n * @description Checks whether the URL is online or not by doing a request to the mentioned site.\n */\nexport const isUrlOnline = async (url: string): Promise => {\n const isString = isUrlString(url);\n\n if (!isString) {\n return false;\n }\n let response;\n try {\n response = await fetch(url, { method: \"HEAD\" });\n } catch {\n return false;\n }\n if (response.ok) {\n return true;\n }\n if (!response) {\n try {\n response = await fetch(url, { method: \"GET\" });\n } catch {\n return false;\n }\n }\n if (response.ok) {\n return true;\n }\n\n if (response.status > 400 && response.status < 500) {\n return false;\n }\n return true;\n};\n",null,null,"\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname, join } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { addShellExtension, addShellHere } from \"extension-tools\"\nimport { notice } from \"../utils/io/io\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { giveUserAccess } from \"user-access\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"curl\")\n setupPacmanPack(\"zip\")\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"git\")\n setupPacmanPack(\"pkg-config\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n setupDnfPack(\"zip\")\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"git\")\n setupDnfPack(\"pkg-config\")\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n await setupAptPack(\"zip\")\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"git\")\n await setupAptPack(\"pkg-config\")\n }\n }\n\n if (!existsSync(join(setupDir, addShellExtension(\"bootstrap-vcpkg\")))) {\n execa.sync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execa.sync(addShellExtension(addShellHere(\"bootstrap-vcpkg\")), { cwd: setupDir, shell: true, stdio: \"inherit\" })\n\n giveUserAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { dirname } from \"path\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\"\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack(\"nala\", undefined, [], true)\n } else {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n } catch (err) {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n setupDnfPack(\"dnf-plugins-core\", undefined)\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack(\"bazel4\", undefined)\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\"\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack(\"bazel\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n await setupPipPack(\"setuptools\", \"\")\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, _setupDir: 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, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: 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 if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"ccache\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"cppcheck\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"make\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"make\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$1d8d028d9c47b73d$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$1d8d028d9c47b73d$var$core","code","ignoreErrors","$b50fe22cd1c82159$export$c5eeb9c87a610a0e","_version","_setupDir","_arch","includes","process","platform","$b50fe22cd1c82159$var$binDir","maybeBinDir","$parcel$interopDefault","$4ca03dc05bbe4be0$exports","sync","nothrow","$dLzlS$path","dirname","$dLzlS$child_process","execFileSync","stdio","$51d58653c6048ffd$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$e9929770d50e0ca3$exports","pathExt","delimiter","e","$cee8c79eb01cd876$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$cee8c79eb01cd876$var$verifyENOENT","status","$cee8c79eb01cd876$var$isWin","file","$338cd3297632d74f$var$spawn","$9cf15e4f01e764e1$exports","spawned","spawn","$cee8c79eb01cd876$exports","hookChildProcess","async","$3f8980e86d9447d4$var$getStream","inputStream","maxBuffer","Infinity","stream1","$2791e057b208c733$exports","rejectPromise","error","getBufferedLength","$3f8980e86d9447d4$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$3f8980e86d9447d4$var$streamPipelinePromisified","on","$3f8980e86d9447d4$var$MaxBufferError","$373ec10beb4d7153$export$316200228f28b8ce","CI","ref","getuid","call","$373ec10beb4d7153$export$58f152936f209932","program","execOptions","shell","$c3e9e2f843627429$exports","commandSync","map","arg","join","$3f4c9366e55e0917$export$8312d9eeba321950","SUDO_USER","$a7308743a0157ada$exports","$6e1462338680af59$export$43324456a02f71b0","startupFlags","$6e1462338680af59$var$powershell","maybePwsh","maybePowerShell","$6e1462338680af59$export$4dfdd3964d242d20","$7bb732a40a25bec4$export$f63d3080ce25e0fd","name","valGiven","shouldEscapeSpace","val","$892cf68de9d02605$exports","$gmbrv","$04fde","exportVariable","$ditiY","$7bb732a40a25bec4$var$addEnvSystem","setFailed","$7bb732a40a25bec4$export$4c25481b843feb0b","PATH","addPath","$7bb732a40a25bec4$var$addPathSystem","info","$7bb732a40a25bec4$export$bd1dffd792f43c41","$dLzlS$fs","appendFileSync","$7bb732a40a25bec4$export$1bbbc3a810c5799d","$7bb732a40a25bec4$var$setupCppInProfile_called","source_cpprc_str","existsSync","readFileSync","source_cpprc_string","profile_path","bashrc_path","warning","$b264a6d5b746ae82$export$d73dc343f5abf26","version","repositories","update","apt","$b264a6d5b746ae82$var$getApt","DEBIAN_FRONTEND","$b264a6d5b746ae82$var$didUpdate","$b264a6d5b746ae82$var$updateRepos","$b264a6d5b746ae82$var$didInit","$b264a6d5b746ae82$export$11aa10c05ada0934","$b264a6d5b746ae82$var$initApt","Array","isArray","length","repo","binDir","$b264a6d5b746ae82$var$initGpg","keys","server","fileName","key","$b264a6d5b746ae82$export$7fb1a688af1305f0","url","$b264a6d5b746ae82$export$6fe6436bd9f53d02","$debaf44f90dd37c4$export$cfa75578ee2d6e6c","aur","pacman","$debaf44f90dd37c4$var$didUpdate","$debaf44f90dd37c4$var$didInit","$57c286cd21b83a3a$export$ce5d13d8a85cb784","$57c286cd21b83a3a$var$hasBrew","$8937fb0e5906a8f2$export$b804d731cdad7ef9","$8937fb0e5906a8f2$var$binDir","powershell","SystemRoot","chocoPath","ALLUSERSPROFILE","maybeChoco","_ChocolateyInstall","ChocolateyInstall","$a1d9f9e35ead513b$export$9f6912bc890040b2","$a1d9f9e35ead513b$var$hasChoco","TMP","TEMP","Path","extendEnv","message","notice","$c4b56061e0dbde5f$export$d415ddb6702ec3a2","$c4b56061e0dbde5f$var$isArchCache","$cbc3e193f1217bd7$export$8ce8b4b22331a8c7","$cbc3e193f1217bd7$var$hasDnfCache","$d6741ec1214892d9$export$49d4f9ba8e0dd34f","dnf","$0f4e7dc450142f89$export$da8baf1d6c6802b6","$0f4e7dc450142f89$var$isUbuntuCache","$110a38e684aa0e04$export$e88210974180936f","win_ext","unix_ext","$110a38e684aa0e04$export$eae120f0e5838f32","$fb82248e8974c296$export$5fc39629e14c8173","$aa67f233b2c242f1$export$f9a3d10eb7c735af","$2032c186687979ea$var$findAllVersions","toolName","arch","versions","$2032c186687979ea$var$os","toolPath","$2032c186687979ea$var$path","$2032c186687979ea$var$_getCacheDirectory","$2032c186687979ea$var$fs","children","readdirSync","child","$2032c186687979ea$var$isExplicitVersion","fullPath","push","$2032c186687979ea$var$_createExtractFolder","dest","$2032c186687979ea$var$_getTempDirectory","$2032c186687979ea$var$v4_1","default","$2032c186687979ea$var$io","mkdirP","$2032c186687979ea$var$_createToolPath","tool","folderPath","$2032c186687979ea$var$semver","clean","$2032c186687979ea$var$core","debug","markerPath","rmRF","$2032c186687979ea$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$2032c186687979ea$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$dLzlS$assert","ok","tempDirectory","$2032c186687979ea$var$_getGlobal","defaultValue","value","$parcel$global","$d07bf20a0d39a78b$export$eecfe186811d4a20","$d07bf20a0d39a78b$var$sevenZip","$d07bf20a0d39a78b$var$getSevenZip","$d07bf20a0d39a78b$export$7949938b2681a4f0","$d07bf20a0d39a78b$export$6411c5cbab21135b","$d07bf20a0d39a78b$export$2ab07ac150064014","flags","$fvrnx","$5378b225b5c95af5$export$334f77c9844c21f6","getPackageInfo","setupDir","_RUNNER_TEMP","_RUNNER_TOOL_CACHE","RUNNER_TEMP","$dLzlS$os","tmpdir","RUNNER_TOOL_CACHE","binRelativeDir","binFileName","extractedFolderName","extractFunction","dir","$2032c186687979ea$exports","find","installDir","binFile","$5378b225b5c95af5$var$didInit","downloaded","downloadTool","cacheDir","$fee36361a2bad308$var$getTaskPackageInfo","taskPlatform","$fee36361a2bad308$var$getTaskPlatform","taskArch","$fee36361a2bad308$var$getTaskArch","isZip","extension","$775e54fd09f86a26$var$getCmakePackageInfo","semVersion","$1YYsi","isOld","$fwsB7","osArchStr","folderName","extractTar","$775e54fd09f86a26$export$c28663a621f418ce","$644ae3dba93653dd$export$2b0b68e9df3d4a02","$644ae3dba93653dd$export$33cd96f062979ce0","setupActionsPython","parcelRequire","ref1","pythonBinPath","pythonSetupDir","$644ae3dba93653dd$var$activateWinPython","installInfo","$6b3cf87874f16ea6$var$jsonParseTransform","$6b3cf87874f16ea6$export$2e2bcd8739ae039","_lval","toLowerCase","NaN","$6b3cf87874f16ea6$var$JsonSigRx","test","$6b3cf87874f16ea6$var$suspectProtoRx","$6b3cf87874f16ea6$var$suspectConstructorRx","JSON","parse","_e","$036e07379074f715$export$97f8b03fabfc7ccb","text","encodeURI","replace","$036e07379074f715$var$ENC_PIPE_RE","$036e07379074f715$var$ENC_BRACKET_OPEN_RE","$036e07379074f715$var$ENC_BRACKET_CLOSE_RE","$036e07379074f715$export$c564cdbbe6da493","$036e07379074f715$var$PLUS_RE","$036e07379074f715$var$ENC_SPACE_RE","$036e07379074f715$var$HASH_RE","$036e07379074f715$var$AMPERSAND_RE","$036e07379074f715$var$ENC_BACKTICK_RE","$036e07379074f715$var$ENC_CURLY_OPEN_RE","$036e07379074f715$var$ENC_CURLY_CLOSE_RE","$036e07379074f715$var$ENC_CARET_RE","$036e07379074f715$export$9c3f15ec9b02995a","$036e07379074f715$var$EQUAL_RE","$036e07379074f715$export$2f872c0f2117be69","decodeURIComponent","_err","$036e07379074f715$export$1e8473eaf75b0d10","paramsStr","obj","substr","param","split","s1","match","$036e07379074f715$export$ea421c814b82d531","input","queryParams","$036e07379074f715$var$TRAILING_SLASH_RE","endsWith","$036e07379074f715$export$3449c5b1ed5fd46e","s0","s4","$036e07379074f715$export$a787c5c8c05654e2","startsWith","$036e07379074f715$export$146a4964640d4f","$036e07379074f715$export$e0f4c6d2a1e99ce0","query","$036e07379074f715$export$4b3d9a5bae55976","mergedQuery","search","k","$036e07379074f715$export$d95a1c84512dea01","String","_val","$036e07379074f715$export$d33b45a8f796a30","fullpath","pathname","hash","protocol","auth","host","$036e07379074f715$export$b813765174ec5b48","$036e07379074f715$export$5c282e6e7403ddc5","defaultProto","inputStr","acceptProtocolRelative","$036e07379074f715$var$PROTOCOL_REGEX","$036e07379074f715$var$PROTOCOL_RELATIVE_REGEX","$036e07379074f715$export$d1682ba7a069e55f","$036e07379074f715$export$8ccf933b0513f8d0","hostAndPath","splice","$dcc4723307302051$var$isPayloadMethod","method","$dcc4723307302051$var$payloadMethods","has","toUpperCase","$788ba5c4da878b74$export$deb1064c8260c54c","semversion","from","filter","v","reverse","$68635a7be6556a7e$export$c506eb22e615ba4a","osVersion","$68635a7be6556a7e$var$useDefault","$68635a7be6556a7e$var$DefaultUbuntuVersion","osVersionMaj","parseInt","$68635a7be6556a7e$var$DefaultVersions","$725285b1d6baf678$export$4020cb77ffa3ffac","$725285b1d6baf678$var$python","givenFile","targetVersion","versionRegex","$788ba5c4da878b74$export$d7ab5e2d33b06cd5","givenVersion","execout","$ca0ts","getExecOutput","stdout","stderr","trim","console","$788ba5c4da878b74$export$5b54ecc7386538f","$howpO","$725285b1d6baf678$var$tried","$725285b1d6baf678$var$binDir","$b19dce7371463457$export$b885bd977caaafb9","$b19dce7371463457$var$activateGraphviz","$9f276bb1312a9d71$var$getDoxygenPackageInfo","$89d2131bb8f4aa1b$export$28f5fd35e3005b7a","xcrun","sdkroot","$9c01b612305c09a3$var$getGccPackageInfo","mingwInfo","$9c01b612305c09a3$var$GccToMingwInfo","mingwArch","exceptionModel","releaseName","fileSuffix","$9c01b612305c09a3$export$405fab3de79b77b","installationInfo","_ChocolateyInstall1","$9c01b612305c09a3$var$setupChocoMingw","promises","majorVersion","$fB2B7","matcherPath","$9c01b612305c09a3$var$__dirname1","$9c01b612305c09a3$var$addGccLoggingMatcher","all","$9c01b612305c09a3$var$activateGcc","$2cacaea738b8f1ae$var$getGitHubUrl","prefix","suffix","$2cacaea738b8f1ae$var$getReleaseUrl","$2cacaea738b8f1ae$export$94df0e59ebebf4a7","$2cacaea738b8f1ae$var$DARWIN_MISSING","$2cacaea738b8f1ae$var$getDarwinUrl","versionGiven","rc","$2cacaea738b8f1ae$var$UBUNTU_RC","get","ubuntu","givenUbuntuVersion","$2cacaea738b8f1ae$export$aa5307f1aca77413","$2cacaea738b8f1ae$var$UBUNTU_SUFFIX_MAP","$2cacaea738b8f1ae$export$ae24f9682a44836b","$2cacaea738b8f1ae$var$WIN32_MISSING","olderThan9_1","fallback","$5a2b1f335278c514$export$61e6a71eee2b02f9","$2cacaea738b8f1ae$var$getWin32Url","$2cacaea738b8f1ae$var$getLLVMPackageInfo","specificVersion","getUrl","setOutput","$2cacaea738b8f1ae$export$3016de7ae9d14988","$2cacaea738b8f1ae$var$_setupLLVM","_installDir","directory","$fVzwP","coercedVersion","lib","_LD_LIBRARY_PATH","ld","LD_LIBRARY_PATH","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$2cacaea738b8f1ae$var$addLLVMLoggingMatcher","$2cacaea738b8f1ae$export$6238b5ebfd6640e7","$2cacaea738b8f1ae$var$didInit","$2cacaea738b8f1ae$export$814ccfc953503728","$2cacaea738b8f1ae$var$__dirname1","$dcc4a5600f9a2a29$var$issueCommand","properties","cmd","$dcc4a5600f9a2a29$var$Command","write","$dcc4a5600f9a2a29$var$os","EOL","$d2814cb4b08c0425$var$error","$dcc4a5600f9a2a29$exports","issue","$d2814cb4b08c0425$var$startGroup","$d2814cb4b08c0425$var$endGroup","$44e2ea7eee739a17$var$vsversion_to_versionnumber","vsversion","values","$44e2ea7eee739a17$var$VsYearVersion","$44e2ea7eee739a17$var$vsversion_to_year","year","ver","entries","$44e2ea7eee739a17$var$findVcvarsall","vsversion_number","version_pattern","upper_bound","path1","pattern","execSync","installationPath","$d2814cb4b08c0425$exports","$44e2ea7eee739a17$var$findWithVswhere","years","$44e2ea7eee739a17$var$YEARS","prog_files","$44e2ea7eee739a17$var$PROGRAM_FILES","ed","$44e2ea7eee739a17$var$EDITIONS","$44e2ea7eee739a17$var$PROGRAM_FILES_X86","$44e2ea7eee739a17$var$isPathVariable","indexOf","$28a0179cccdfc4cc$export$5dcf571c91fc8369","VCTargetsPath","toolset","sdk","uwp","spectre","$44e2ea7eee739a17$export$443b8bb890f5027e","$28a0179cccdfc4cc$var$getArch","$da99583472da45a4$export$a91ef0362c1a7298","$44e2ea7eee739a17$export$3c7cae5a162b1458","installed","vcvarsall_path","$44e2ea7eee739a17$export$a6a3bfb882356813","$da99583472da45a4$var$__dirname1","$da99583472da45a4$var$addMSVCLoggingMatcher","$9bc35ceb5b751351$var$getNinjaPackageInfo","ninjaPlatform","$9bc35ceb5b751351$var$getNinjaPlatform","$9bc35ceb5b751351$export$e6190f4bfe2ef71","$4012ecb407fc2f3d$var$toArr","any","$4012ecb407fc2f3d$var$toVal","out","opts","x","old","nxt","string","boolean","_","concat","$227396c887da582e$var$getDownloadKcovPackageInfo","$227396c887da582e$var$getBuildKcovPackageInfo","$227396c887da582e$var$buildKcov","cmake","$227396c887da582e$var$getCmake","buildDir","$ff26fdfb9b4deeb1$export$f22da7240b7add18","ACTIONS_ALLOW_UNSECURE_COMMANDS","$ff26fdfb9b4deeb1$export$7300a92932ee17a3","_architecture","help","architecture","_SETUP_CPP_DIR","setupCppDir","SETUP_CPP_DIR","successMessages","errorMessages","timeFormatter","$a6c8cb5c76e7e4f4$exports","create","autoloadLocales","time1","time2","addLocale","$21a9c7af84658271$exports","$5FRs7","$6dfec0551895c67b$exports","versionSplitted","$f095436a84b3b121$exports","getUbuntuVersion","tools","otherTools","slice","i_other","otherTool","tool1","$ff26fdfb9b4deeb1$var$tools","Date","now","startGroup","setupFunction","$ff26fdfb9b4deeb1$var$setups","$ff26fdfb9b4deeb1$var$getSuccessMessage","endGroup","format","maybeCompiler","compiler","$ff26fdfb9b4deeb1$export$588248dee5258836","forEach","success","arr","j","idx","len","alibi","alias","strict","unknown","defaults","charCodeAt","substring","repeat","shift","$ff26fdfb9b4deeb1$var$inputs","fromEntries","inp","$ff26fdfb9b4deeb1$var$maybeGetInput","h","compilerAndMaybeVersion","maybeVersion","getInput","msg","$00cc2cb44b74fa5a$var$getInput","required","trimWhitespace","$00cc2cb44b74fa5a$var$error","$2iva8","issueCommand","$hGWy4","toCommandProperties","$00cc2cb44b74fa5a$var$startGroup","$00cc2cb44b74fa5a$var$endGroup","$00cc2cb44b74fa5a$var$os","$00cc2cb44b74fa5a$var$__importStar","$00cc2cb44b74fa5a$var$path","$00cc2cb44b74fa5a$var$ExitCode","ExitCode1","module","exports","ExitCode","convertedVal","toCommandValue","$kCOkT","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","setCommandEcho","enabled","exitCode","Failure","isDebug","group","fn","result","saveState","getState","getIDToken","aud","$1hWAC","OidcClient","defineProperty","enumerable","$hILBc","summary","markdownSummary","$39f1T","toPosixPath","toWin32Path","toPlatformPath","$1ac56f735470f2bc$var$issueCommand","$1ac56f735470f2bc$var$Command","$1ac56f735470f2bc$var$os","$1ac56f735470f2bc$var$__importStar","constructor","this","toString","cmdStr","first","hasOwnProperty","s","$1ac56f735470f2bc$var$escapeData","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$f03e66e97447a0d4$var$fs","$f03e66e97447a0d4$var$__importStar","$f03e66e97447a0d4$var$os","filePath","encoding","$0f04d3adb67492b4$var$OidcClient","static","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","$4z9RF","HttpClient","$7v249","BearerCredentialHandler","getRequestToken","token","runtimeUrl","id_token_url","httpclient","createHttpClient","res","getJson","catch","statusCode","id_token","_a","audience","getIDTokenUrl","encodeURIComponent","getCall","$3532153250d0a8c3$var$http","$3532153250d0a8c3$var$__importStar","$dLzlS$http","$3532153250d0a8c3$var$https","$dLzlS$https","$3532153250d0a8c3$var$pm","$3532153250d0a8c3$var$tunnel","$3532153250d0a8c3$var$HttpCodes","HttpCodes1","$3532153250d0a8c3$var$Headers","Headers1","$3532153250d0a8c3$var$MediaTypes","HttpCodes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","URL","href","$3532153250d0a8c3$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$3532153250d0a8c3$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$3532153250d0a8c3$var$RetryableHttpVerbs","$3532153250d0a8c3$var$HttpClientError","super","setPrototypeOf","prototype","HttpClientError","$3532153250d0a8c3$var$HttpClientResponse","readBody","$3532153250d0a8c3$var$__awaiter","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","userAgent","handlers","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","additionalHeaders","request","del","post","data","patch","put","head","sendStream","verb","stream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","postJson","ContentType","putJson","patchJson","headers","parsedUrl","_prepareRequest","maxTries","response","numTries","requestRaw","Unauthorized","authenticationHandler","handler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","onResult","handleResult","callbackCalled","byteLength","req","httpModule","socket","sock","setTimeout","end","pipe","getAgent","_getAgent","usingSsl","defaultPort","port","_mergeHeaders","agent","prepareRequest","$3532153250d0a8c3$var$lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","min","contents","NotFound","deserializeDates","isNaN","valueOf","reduce","$1f9807f2878b82ba$var$checkBypass","reqUrl","noProxy","reqPort","upperReqHosts","upperNoProxyItem","some","proxyVar","checkBypass","$b80e68d5f6e6478f$var$TunnelingAgent","options1","self","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$b80e68d5f6e6478f$var$toOptions","pending","onSocket","removeSocket","$b80e68d5f6e6478f$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$b80e68d5f6e6478f$var$mergeOptions","servername","secureSocket","$dLzlS$tls","connect","target","arguments","overrides","keyLen","$b80e68d5f6e6478f$export$25cbd437c61a3835","$b80e68d5f6e6478f$export$c06e3df7111bae43","$b80e68d5f6e6478f$export$5d50e36ef656139f","$b80e68d5f6e6478f$export$212d6605025321cc","$b80e68d5f6e6478f$export$1c9f709888824e05","$b80e68d5f6e6478f$var$debug","$dLzlS$util","inherits","$dLzlS$events","EventEmitter","addRequest","onFree","emit","onCloseOrRemove","removeListener","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","socket1","pos","BasicCredentialHandler","PersonalAccessTokenCredentialHandler","access","$ce6b77df7bbb7675$var$access","appendFile","$ce6b77df7bbb7675$var$appendFile","writeFile","$ce6b77df7bbb7675$var$writeFile","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","$ce6b77df7bbb7675$var$_summary","_buffer","_filePath","pathFromEnv","constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","overwrite","writeFunc","emptyBuffer","clear","isEmptyBuffer","addRaw","addEOL","addCodeBlock","lang","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","$24addeec9ef57a1a$var$path","$24addeec9ef57a1a$var$__importStar","pth","sep","$b43ef73900290537$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","$b43ef73900290537$var$checkPathExt","$b43ef73900290537$var$isexe","statSync","$6f57237f32b1c8cb$var$isexe","$6f57237f32b1c8cb$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","g","ug","$6f57237f32b1c8cb$var$checkMode","$1b0116afdfeaeacc$export$a3bc9b8ed74fc","log","$1b0116afdfeaeacc$export$fe7c49d056ea1d88","$1b0116afdfeaeacc$export$491112666e282270","$1b0116afdfeaeacc$export$b31f6ae88848cf15","$1b0116afdfeaeacc$export$a80b3bd66acc52ff","GERRIT_PROJECT","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITRISE_IO","BUDDY_WORKSPACE_ID","BUILDKITE","CIRRUS_CI","GITLAB_CI","APPVEYOR","CIRCLECI","SEMAPHORE","DRONE","DSARI","GITHUB_ACTION","TDDIUM","SCREWDRIVER","STRIDER","TASKCLUSTER_ROOT_URL","JENKINS_URL","GO_PIPELINE_NAME","HUDSON_URL","WERCKER","NETLIFY","NOW_GITHUB_DEPLOYMENT","GITLAB_DEPLOYMENT","BITBUCKET_DEPLOYMENT","BITBUCKET_BUILD_NUMBER","NOW_BUILDER","VERCEL_GITHUB_DEPLOYMENT","VERCEL_GITLAB_DEPLOYMENT","VERCEL_BITBUCKET_DEPLOYMENT","VERCEL_URL","MAGNUM","NEVERCODE","RENDER","SAIL_CI","SHIPPABLE","TEAMCITY_VERSION","CI_NAME","NODE","TRAVIS","CODEBUILD_SRC_DIR","BUILDER_OUTPUT","$b49efd1a00c432ed$var$rmRF","$b49efd1a00c432ed$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$b49efd1a00c432ed$var$exec","unlink","err1","isDir","$b49efd1a00c432ed$var$execFile","$b49efd1a00c432ed$var$mkdirP","fsPath","mkdir","recursive","$b49efd1a00c432ed$var$findInPath","extensions","$b49efd1a00c432ed$var$path","isRooted","tryGetExecutablePath","directories","matches","$b49efd1a00c432ed$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","files","readdir","srcFile","destFile","lstat","$b49efd1a00c432ed$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$b49efd1a00c432ed$var$childProcess","$b49efd1a00c432ed$var$__importStar","promisify","exec","execFile","cp","source","copySourceDirectory","$b49efd1a00c432ed$var$readCopyOptions","destStat","newDest","basename","relative","mv","destExists","rename","which","$b49efd1a00c432ed$var$which","check","findInPath","$1f568b1c4242dba7$var$isUnixExecutable","stats","$1f568b1c4242dba7$var$fs","$1f568b1c4242dba7$var$__importStar","$1f568b1c4242dba7$var$path","$1f568b1c4242dba7$var$_a","rmdir","useStat","$1f568b1c4242dba7$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a1","$49c6639221a3e217$var$semver","$49c6639221a3e217$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","_getOsVersion","plat","lsbContents","_readLinuxVersionFile","lines","parts","lsbReleaseFile","osReleaseFile","$bikcG","re","tokens","t","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$jkMsx","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$83910c29f6734fbd$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$e1357995fd1631a2$var$debug","$bgOMw","$5696f94a63c27d85$var$SemVer","$eUvvN","loose","includePrerelease","$5696f94a63c27d85$require$MAX_LENGTH","m","$5696f94a63c27d85$require$re","$5696f94a63c27d85$require$t","LOOSE","FULL","raw","$5696f94a63c27d85$require$MAX_SAFE_INTEGER","id","num","build","other","compareMain","comparePre","$5696f94a63c27d85$require$compareIdentifiers","release","identifier","$adaebd3d9a17271f$var$opts","o","$0c2cbbcfac21c924$var$numeric","$0c2cbbcfac21c924$var$compareIdentifiers","anum","bnum","$7qUJS","$bce3317ae792f650$require$MAX_LENGTH","$bce3317ae792f650$require$re","$bce3317ae792f650$require$t","$gdrva","version1","version2","$jXghC","v1","v2","hasPre","defaultResult","versionA","versionB","$80ezM","list","op","$fqqGA","$6KPS4","$5cRW4","$lr5pz","rtl","next","$171a4a37978eb9a3$require$re","$171a4a37978eb9a3$require$t","COERCERTL","lastIndex","$ad0b6a9469831548$var$ANY","Symbol","$ad0b6a9469831548$var$Comparator","ANY","comp","semver","operator","$ad0b6a9469831548$require$re","$ad0b6a9469831548$require$t","COMPARATORLOOSE","COMPARATOR","$823yM","$hvUff","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$cc00f5fd17503a13$var$Range","range","$eR6XK","set","r","parseRange","$cc00f5fd17503a13$var$isNullSet","$cc00f5fd17503a13$var$isAny","comps","memoKey","cached","$cc00f5fd17503a13$var$cache","$cc00f5fd17503a13$require$re","$cc00f5fd17503a13$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$cc00f5fd17503a13$var$hyphenReplace","COMPARATORTRIM","$cc00f5fd17503a13$require$comparatorTrimReplace","rangeList","TILDETRIM","$cc00f5fd17503a13$require$tildeTrimReplace","CARETTRIM","$cc00f5fd17503a13$require$caretTrimReplace","$cc00f5fd17503a13$var$parseComparator","$cc00f5fd17503a13$var$replaceGTE0","rangeMap","Map","comparators","comp1","size","delete","thisComparators","$cc00f5fd17503a13$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$cc00f5fd17503a13$var$testSet","remainingComparators","testComparator","pop","otherComparator","$cc00f5fd17503a13$var$replaceCarets","$cc00f5fd17503a13$var$replaceTildes","$cc00f5fd17503a13$var$replaceXRanges","$cc00f5fd17503a13$var$replaceStars","$cc00f5fd17503a13$var$isX","$cc00f5fd17503a13$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$cc00f5fd17503a13$var$replaceCaret","z","CARETLOOSE","CARET","$cc00f5fd17503a13$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","allowed","$4f0bf18d6c99da3c$var$perf","performance","$4f0bf18d6c99da3c$var$AC","AbortController","signal","AbortSignal","abort","aborted","$4f0bf18d6c99da3c$var$warned","Set","$4f0bf18d6c99da3c$var$deprecatedOption","opt","instead","$4f0bf18d6c99da3c$var$shouldWarn","$4f0bf18d6c99da3c$var$warn","$4f0bf18d6c99da3c$var$LRUCache","$4f0bf18d6c99da3c$var$deprecatedMethod","getOwnPropertyDescriptor","$4f0bf18d6c99da3c$var$emitWarning","emitWarning","what","add","$4f0bf18d6c99da3c$var$isPosInt","n","floor","isFinite","$4f0bf18d6c99da3c$var$getUintArray","$4f0bf18d6c99da3c$var$ZeroArray","Uint32Array","Uint16Array","Uint8Array","fill","$4f0bf18d6c99da3c$var$Stack","UintArray","heap","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","disposeAfter","noDisposeOnSet","noUpdateTTL","maxSize","sizeCalculation","fetchMethod","maxAge","stale","keyMap","keyList","valList","prev","tail","free","initialFill","disposed","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","ttls","starts","setItemTTL","isStale","unref","updateItemAge","cachedNow","getNow","calculatedSize","sizes","removeItemSize","requireSize","addItemSize","evict","indexes","isValidIndex","rindexes","rentries","rkeys","rvalues","iterator","getOptions","thisp","rforEach","prune","purgeStale","deleted","dump","entry","unshift","load","reason","newIndex","oldVal","isBackgroundFetch","__abortController","moveToTail","peek","backgroundFetch","ac","fetchOpts","then","__staleWhileFetching","fetching","reset","field","$4f0bf18d6c99da3c$var$deprecatedProperty","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","$52e25de88536d4d3$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$c8FZS","high","low","$77bPN","r1","r2","ranges","simplified","$2478f50f5acc8298$var$ANY","$2478f50f5acc8298$var$simpleSubset","sub","dom","eqSet","gtltComp","higher","lower","hasDomLT","hasDomGT","$2478f50f5acc8298$var$higherGT","$2478f50f5acc8298$var$lowerLT","needDomLTPre","needDomGTPre","c1","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$joDHm","buf","offset","rnds","random","rng","ii","$inTPA","$dLzlS$crypto","randomBytes","$d625aee022f0dd91$var$byteToHex","$d625aee022f0dd91$var$i","i1","$8da6c9556ccdcf3f$var$exec","commandLine","commandArgs","$8da6c9556ccdcf3f$var$tr","argStringToArray","ToolRunner","$8da6c9556ccdcf3f$var$__importStar","stdoutDecoder","$dLzlS$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","_b","$a31d583cb10858c8$var$os","$a31d583cb10858c8$var$__importStar","$a31d583cb10858c8$var$events","$a31d583cb10858c8$var$child","$a31d583cb10858c8$var$path","$a31d583cb10858c8$var$io","$a31d583cb10858c8$var$ioUtil","$a31d583cb10858c8$var$IS_WINDOWS","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$a31d583cb10858c8$var$__awaiter","optionsNonNull","state","$a31d583cb10858c8$var$ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argString","append","escaped","inQuotes","charAt","done","timeout","_setResult","$dLzlS$timers","HandleTimeout","clearTimeout","require","$95c5fc1c1b6165c5$var$addLocale","localeData","$95c5fc1c1b6165c5$var$locales","$95c5fc1c1b6165c5$var$pluralize","unit","config","unitTypeData","locale","lookupOrder","unitTypeLookupOrder","unitType","$95c5fc1c1b6165c5$var$getLocaleDataForUnitType","pluralize","$95c5fc1c1b6165c5$var$timeUnits","$95c5fc1c1b6165c5$var$defaultConfig","span","firstDate","secondDate","autoload","$3Zbea","localeId","$95c5fc1c1b6165c5$var$requireLocale","$95c5fc1c1b6165c5$var$ensureLocaleLoadedOrThrow","difference","results","divider","$95c5fc1c1b6165c5$var$getDifference","$95c5fc1c1b6165c5$var$format","variants","checkLocale","locales","hasLocale","$de644365a4a5582b$var$__dirname1","requireLocale","moduleDefinition","callable","numerous","node","$4ca03dc05bbe4be0$var$isWindows","OSTYPE","$4ca03dc05bbe4be0$var$COLON","TESTING_WINDOWS","$1d8d028d9c47b73d$exports","$4ca03dc05bbe4be0$var$getNotFoundError","$4ca03dc05bbe4be0$var$getPathInfo","colon","pathEnv","pathExtExe","$4ca03dc05bbe4be0$var$which","found","step","ppRaw","pathPart","pCmd","subStep","ext","cur","ex","$e9929770d50e0ca3$var$pathKey","environment","$14642610717c66e2$export$ae50443ffc990749","$14642610717c66e2$export$6ea29ee575e3f5ff","$51d58653c6048ffd$exports","$14642610717c66e2$var$metaCharsRegExp","doubleEscapeMetaChars","$70842f99e7c30891$exports","$58ccbcc4db2ecd48$exports","argument","binary","$572e9b86f5fc3342$exports","buffer","fd","openSync","readSync","closeSync","$9cf15e4f01e764e1$var$isWin","$9cf15e4f01e764e1$var$isExecutableRegExp","$9cf15e4f01e764e1$var$isCmdShimRegExp","commandFile","shebang","$9cf15e4f01e764e1$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","$9cf15e4f01e764e1$var$parseNonShell","originalEmit","arg1","apply","$338cd3297632d74f$exports","spawnSync","verifyENOENTSync","_parse","_enoent","$98427f994073a8a3$exports","CR","$e076d46b8261c78a$var$npmRunPath","previous","execPath","cwdPath","execPathDir","$e076d46b8261c78a$exports","$2826e4518080138e$var$mimicFn","prop","Reflect","ownKeys","$2826e4518080138e$exports","$2a4addac1ccdeac1$var$calledFunctions","WeakMap","$2a4addac1ccdeac1$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime1","arguments_","throw","$2a4addac1ccdeac1$exports","$d078421bb3e3863b$exports","signalsByNumber","signalsByName","$7183a0a1bd319d48$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","$1d5ee7ec3cf727ea$var$SIGRTMAX","realtimeSignals","$1d5ee7ec3cf727ea$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","supported","signalByNameMemo","$d078421bb3e3863b$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$d078421bb3e3863b$var$signalsByNumber","$dd1b4f5e55037c97$exports","escapedCommand","timedOut","isCanceled","killed","signalDescription","$dd1b4f5e55037c97$require$signalsByName","errorCode","$dd1b4f5e55037c97$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$9a6ccfc90813398a$var$aliases","$9a6ccfc90813398a$var$normalizeStdio","$9a6ccfc90813398a$var$hasAlias","$9a6ccfc90813398a$exports","$6a176bc6f7b604f3$var$process","$6a176bc6f7b604f3$var$processOk","process1","reallyExit","kill","pid","$6a176bc6f7b604f3$var$emitter","$6a176bc6f7b604f3$var$assert","$6a176bc6f7b604f3$var$signals","$6a176bc6f7b604f3$var$isWin","$6a176bc6f7b604f3$var$EE","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","$6a176bc6f7b604f3$exports","equal","$6a176bc6f7b604f3$var$loaded","$6a176bc6f7b604f3$var$load","ev","alwaysLast","$6a176bc6f7b604f3$var$unload","sig","$6a176bc6f7b604f3$var$sigListeners","$6a176bc6f7b604f3$var$originalProcessEmit","$6a176bc6f7b604f3$var$originalProcessReallyExit","unload","$6a176bc6f7b604f3$var$emit","event","$6a176bc6f7b604f3$var$processEmit","$6a176bc6f7b604f3$var$processReallyExit","$2808df33d6c30b25$var$isSigterm","SIGTERM","$2808df33d6c30b25$exports","killResult","forceKillAfterTimeout","$2808df33d6c30b25$var$shouldForceKill","$2808df33d6c30b25$var$getForceKillAfterTimeout","$2808df33d6c30b25$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$2808df33d6c30b25$var$timeoutKill","safeSpawnedPromise","finally","race","cleanup","detached","timedPromise","removeExitHandler","spawnedKill","spawnedCancel","setupTimeout","validateTimeout","setExitHandler","$70a93fcbba5dfccf$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$70a93fcbba5dfccf$exports","$dLzlS$buffer","$dLzlS$stream","PassThrough","array","isBuffer","objectMode","$2791e057b208c733$require$PassThroughStream","setEncoding","chunks","$3f8980e86d9447d4$require$promisify","pipeline","$3f8980e86d9447d4$exports","stream2","stream3","MaxBufferError","$093c506afc3bd46a$exports","sources","remove","bind","isEmpty","it","$093c506afc3bd46a$require$PassThrough","$695f2f6df63802a7$var$getBufferedData","streamPromise","$695f2f6df63802a7$var$getStreamPromise","$695f2f6df63802a7$exports","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","getSpawnedResult","makeAllStream","validateInputSync","$183dab226baf544c$var$nativePromisePrototype","$183dab226baf544c$var$descriptors","property","$183dab226baf544c$exports","promise","descriptor","mergePromise","getSpawnedPromise","$b6e06bcb542f40f3$var$normalizeArgs","$b6e06bcb542f40f3$var$NO_ESCAPE_REGEXP","$b6e06bcb542f40f3$var$DOUBLE_QUOTES_REGEXP","$b6e06bcb542f40f3$var$SPACES_REGEXP","$b6e06bcb542f40f3$exports","$b6e06bcb542f40f3$var$escapeArg","previousToken","joinCommand","parseCommand","getEscapedCommand","$c3e9e2f843627429$var$handleArguments","stripFinalNewline","preferLocal","localDir","windowsHide","envOption","$c3e9e2f843627429$var$getEnv","$c3e9e2f843627429$var$handleOutput","$c3e9e2f843627429$var$execa","$c3e9e2f843627429$require$joinCommand","$c3e9e2f843627429$require$getEscapedCommand","$c3e9e2f843627429$require$validateTimeout","error1","dummySpawned","ChildProcess","errorPromise","$c3e9e2f843627429$require$mergePromise","$c3e9e2f843627429$require$getSpawnedPromise","$c3e9e2f843627429$require$setupTimeout","$c3e9e2f843627429$require$setExitHandler","$c3e9e2f843627429$require$spawnedKill","cancel","$c3e9e2f843627429$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$c3e9e2f843627429$require$getSpawnedResult","returnedError","$c3e9e2f843627429$require$handleInput","$c3e9e2f843627429$require$makeAllStream","$c3e9e2f843627429$require$validateInputSync","$c3e9e2f843627429$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$a7308743a0157ada$var$homeDirectory","homedir","pathWithTilde","$892cf68de9d02605$var$is_posix_os","$892cf68de9d02605$var$version","$892cf68de9d02605$var$windows_version_regex","given_path","major_release","os_build","$892cf68de9d02605$var$should_not_escape","$2032c186687979ea$var$__importStar","$2032c186687979ea$var$mm","$2032c186687979ea$var$httpm","$2032c186687979ea$var$stream","$2032c186687979ea$var$util","$2032c186687979ea$var$__importDefault","$a3103f5469ee5040$var$core","$a3103f5469ee5040$var$__importStar","$a3103f5469ee5040$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$2032c186687979ea$var$HTTPError","httpStatusCode","HTTPError","$2032c186687979ea$var$IS_WINDOWS","$2032c186687979ea$var$IS_MAC","retryHelper","$2032c186687979ea$var$__awaiter","http","authorization","statusMessage","readStream","responseMessageFactory","succeeded","createWriteStream","$2032c186687979ea$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","$2032c186687979ea$var$__dirname1","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","extractZip","escapedFile","escapedDest","pwshPath","$2032c186687979ea$var$extractZipWin","unzipPath","$2032c186687979ea$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","getManifestFromRepo","owner","branch","releases","treeUrl","manifestUrl","tree","versionsRaw","findFromManifest","manifest","isExplicitVersion","evaluateVersions","$dcc4723307302051$export$d66501df72047452","freeze","$dcc4723307302051$var$textTypes","$dcc4723307302051$var$JSON_RE","$dcc4723307302051$var$retryStatusCodes","$dde49e1a879794d7$var$_globalThis","globalThis","window","$dde49e1a879794d7$export$e7aa7bc5c1b3cfb3","fetch","$dcc4723307302051$export$db3b6bfb95261072","globalOptions","onError","ctx","retry","retries","responseCode","$fetchRaw","statusText","fetchError","_data","$dcc4723307302051$export$407448d2b89b1813","captureStackTrace","_request","_opts","onRequest","baseURL","base","_base","s3","$036e07379074f715$export$9dda8e63e09c0c5f","$036e07379074f715$export$4c785ca4fdb0013c","params","body","toJSON","$dcc4723307302051$var$isJSONSerializable","onRequestError","responseType","parseResponse","_contentType","contentType","$dcc4723307302051$var$detectResponseType","onResponse","onResponseError","$fetch","defaultOptions","$dLzlS$url","$5a2b1f335278c514$export$8092cb61b2731942","llvm","clangtidy","clangformat","ninja","gcovr","conan","meson","kcov","task","doxygen","gcc","nala","specific","$dcc4a5600f9a2a29$var$__importStar","$c10add6f7657d058$exports","$dcc4a5600f9a2a29$var$escapeData","$ffb53a3661600710$var$fs","$ffb53a3661600710$var$__importStar","$ffb53a3661600710$var$os","$ffb53a3661600710$exports","$d2814cb4b08c0425$var$os","$d2814cb4b08c0425$var$__importStar","$d2814cb4b08c0425$var$path","$d2814cb4b08c0425$var$ExitCode","$dLzlS$process","$44e2ea7eee739a17$var$VSWHERE_PATH","arch_aliases","win32","win64","x86_64","vcvars","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","long","one","months","weeks","days","hours","minutes","narrow","short","abs","exe","reDistributor","reDescription","reRelease","distributorFound","desc","rel","ss","$af664557d133c197$var$binDir","$2c1dbb6d966096c4$var$hasVCPKG","python","vcpkg","bazel","opencppcoverage","$e72e2baab3c48b0e$var$activateOpencppcoverage","choco","brew","ccache","$9f276bb1312a9d71$var$activateWinDoxygen","graphviz","cppcheck","$3b5b7f21aafe5be9$var$activateWinCppcheck","msvc","vcvarsall","versionSplit","installMethod","version_number","make","sevenzip","argv"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"} \ No newline at end of file diff --git a/dist/setup_cpp.mjs b/dist/setup_cpp.mjs index 3877d8af..c231b81b 100644 --- a/dist/setup_cpp.mjs +++ b/dist/setup_cpp.mjs @@ -1,2 +1,2 @@ -function e(e,t,r,i){Object.defineProperty(e,t,{get:r,set:i,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}function r(e,t,i){if("function"==typeof t&&(i=t,t={}),!i){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((i,n)=>{r(e,t||{},((e,t)=>{e?n(e):i(t)}))}))}ht(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),i(e,r)}))}function i(e,r,i){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof yt)return{binDir:yt};const n=t(ut).sync("brew",{nothrow:!0});return null!==n?(yt=$gCrli$dirname(n),{binDir:yt}):($gCrli$execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),yt="/usr/local/bin/",{binDir:yt})}function n(e,t){const r=e.options.env||process.env,i=process.cwd(),n=null!=e.options.cwd,o=n&&void 0!==process.chdir&&!process.chdir.disabled;if(o)try{process.chdir(e.options.cwd)}catch(e){}let s;try{s=ut.sync(e.command,{path:r[$t({env:r})],pathExt:t?$gCrli$delimiter:void 0})}catch(e){}finally{o&&process.chdir(i)}return s&&(s=$gCrli$resolve(n?e.options.cwd:"",s)),s}function o(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function s(e,t){return Lt&&1===e&&!t.file?o(t.original,"spawn"):null}function a(e,t,r){const i=Et(e,t,r),n=$gCrli$spawn(i.command,i.args,i.options);return Nt.hookChildProcess(n,i),n}async function l(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,i=Pr(t);return await new Promise(((t,n)=>{const o=e=>{e&&i.getBufferedLength()<=Nr.MAX_LENGTH&&(e.bufferedData=i.getBufferedValue()),n(e)};(async()=>{try{await jr(e,i),t()}catch(e){o(e)}})(),i.on("data",(()=>{i.getBufferedLength()>r&&o(new Mr)}))})),i.getBufferedValue()}function c(){return(!!process.env.CI||0===(null===(e=process.getuid)||void 0===e?void 0:e.call(process)))&&null!==t(ut).sync("sudo",{nothrow:!0});var e}function u(e,r=[],i={stdio:"inherit",shell:!0}){return c()?t(xt).commandSync("sudo "+[e,...r].map((e=>`'${e}'`)).join(" "),i):t(xt).sync(e,r,i)}function d(e){return c()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?$gCrli$join("/Users/",process.env.SUDO_USER,e):$gCrli$join("/home/",process.env.SUDO_USER,e):t(ci)("~/"+e)}function p(e,r=["-NoProfile","-NoLogo","-NonInteractive"],i={stdio:"inherit"}){return t(xt)((()=>{if(void 0===hi){const e=t(ut).sync("pwsh",{nothrow:!0});null!==e&&(hi=e);const r=t(ut).sync("powershell",{nothrow:!0});null!==r&&(hi=r)}if(void 0===hi)throw Error("Could not find powershell");return hi})(),[...r,"-c",e],i)}async function h(e,r,i=!1){const n=i?t(fi)(null!=r?r:""):r;try{if("github-actions"===t(ui)())try{(0,ct.exportVariable)(e,n)}catch(t){(0,pi.error)(t),await m(e,n)}else await m(e,n)}catch(t){(0,pi.error)(t),(0,ct.setFailed)(`Failed to export environment variable ${e}=${n}. You should add it manually.`)}}async function f(e){process.env.PATH=`${e}${$gCrli$delimiter}${process.env.PATH}`;try{if("github-actions"===t(ui)())try{(0,ct.addPath)(e)}catch(t){(0,pi.error)(t),await g(e)}else await g(e)}catch(t){(0,pi.error)(t),(0,ct.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`)}}async function m(e,t){const r=null!=t?t:"";switch(process.platform){case"win32":return await p(`[Environment]::SetEnvironmentVariable('${e}', '${r}', "User")`),void(0,ct.info)(`${e}='${r}' was set in the environment.`);case"linux":case"darwin":return v(),$gCrli$appendFileSync(yi,`\nexport ${e}="${r}"\n`),void(0,ct.info)(`${e}="${r}" was added to "${yi}`)}process.env[e]=r}async function g(e){switch(process.platform){case"win32":return await p(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),void(0,ct.info)(`"${e}" was added to the PATH.`);case"linux":case"darwin":return v(),$gCrli$appendFileSync(yi,`\nexport PATH="${e}:$PATH"\n`),void(0,ct.info)(`"${e}" was added to "${yi}"`);default:return}}function v(){if(wi)return;const e="export SOURCE_CPPRC=0";if($gCrli$existsSync(yi)&&$gCrli$readFileSync(yi,"utf8").includes(e))return;$gCrli$appendFileSync(yi,`\n${e}\n`),(0,ct.info)(`Added ${e} to ${yi}`);const t=`\n# source .cpprc if SOURCE_CPPRC is not set to 0\nif [[ "$SOURCE_CPPRC" != 0 && -f "${yi}" ]]; then source "${yi}"; fi\n`;try{const e=d(".profile");$gCrli$appendFileSync(e,t),(0,ct.info)(`${t} was added to ${e}`);const r=d(".bashrc");$gCrli$appendFileSync(r,t),(0,ct.info)(`${t} was added to ${r}`)}catch(e){(0,pi.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`)}wi=!0}async function y(e,r,i=[],n=!1){const o=(()=>{let e;return e=null!==t(ut).sync("nala",{nothrow:!0})?"nala":"apt-get",e})();if((0,ct.info)(`Installing ${e} ${null!=r?r:""} via ${o}`),process.env.DEBIAN_FRONTEND="noninteractive",xi&&!n||(w(o),xi=!0),bi||(await(async e=>{u(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]),b(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),b(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg"),"nala"===e&&(await h("LANG","C.UTF-8"),await h("LC_ALL","C.UTF-8"))})(o),bi=!0),Array.isArray(i)&&0!==i.length){for(const e of i)u("add-apt-repository",["--update","-y",e]);w(o)}if(void 0!==r&&""!==r)try{u(o,["install","--fix-broken","-y",`${e}=${r}`])}catch{u(o,["install","--fix-broken","-y",`${e}-${r}`])}else u(o,["install","--fix-broken","-y",e]);return{binDir:"/usr/bin/"}}function w(e){u(e,"nala"!==e?["update","-y"]:["update"])}function x(){u("gpg",["-k"])}function b(e,t,r="keyserver.ubuntu.com"){const i="/etc/apt/trusted.gpg.d/"+t;if(!$gCrli$existsSync(i)){x();for(const t of e)u("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+i,"--keyserver",r,"--recv-keys",t]),u("chmod",["644",i])}return i}async function E(e,t){const r="/etc/apt/trusted.gpg.d/"+e;return $gCrli$existsSync(r)||(x(),await y("curl",void 0),u("bash",["-c",`curl -s ${t} | gpg --no-default-keyring --keyring gnupg-ring:${r} --import`]),u("chmod",["644",r])),r}function $(e,r){return"github-actions"===t(ui)()?u("update-alternatives",["--install","/usr/bin/"+e,e,r,"40"]):(v(),$gCrli$appendFileSync(yi,`\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${r} 40; fi\n`))}function C(e,t,r){(0,pi.info)(`Installing ${e} ${null!=t?t:""} via pacman`);const i="pacman";if(Ei||(u(i,["-Syuu","--noconfirm"]),Ei=!0),$i||(u(i,["-Sy","--noconfirm","base-devel"]),$i=!0),void 0!==t&&""!==t)try{u(null!=r?r:i,["-S","--noconfirm",`${e}=${t}`])}catch{u(null!=r?r:i,["-S","--noconfirm",`${e}${t}`])}else u(null!=r?r:i,["-S","--noconfirm",e]);return{binDir:"/usr/bin/"}}function S(e,r){return(0,ct.info)(`Installing ${e} ${null!=r?r:""} via brew`),Si&&null!==t(ut).sync("brew",{nothrow:!0})||(i(0,0,process),Si=!0),t(xt).sync("brew",["install",void 0!==r&&""!==r?`${e}@${r}`:e],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function _(e,r,i){if("win32"!==process.platform)return;if("string"==typeof Ci)return{binDir:Ci};const n=t(ut).sync("choco",{nothrow:!0});if(null!==n)return Ci=$gCrli$dirname(n),{binDir:Ci};let o="powershell.exe";const s=t(ut).sync(process.env.SystemRoot+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",{nothrow:!0});null!==s&&(o=s),t(xt).sync(o,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});const a=process.env.ALLUSERSPROFILE+"\\chocolatey\\bin";await f(a);const l=t(ut).sync("choco",{nothrow:!0});var c;return Ci=null!==l?$gCrli$dirname(l):(null!==(c=process.env.ChocolateyInstall)&&void 0!==c?c:"C:/ProgramData/chocolatey")+"/bin",$gCrli$existsSync(Ci)?{binDir:Ci}:void 0}async function O(e,r,i=[]){(0,ct.info)(`Installing ${e} ${null!=r?r:""} via chocolatey`),Ri&&null!==t(ut).sync("choco",{nothrow:!0})||(await _(0,0,process),Ri=!0);const n=process.env.PATH,o={...process.env};if(delete o.TMP,delete o.TEMP,delete o.Path,o.PATH=n,void 0!==r&&""!==r)t(xt).sync("choco",["install","-y",e,"--version="+r,...i],{env:o,extendEnv:!1,stdio:"inherit"});else try{t(xt).sync("choco",["install","-y",e,...i],{env:o,extendEnv:!1,stdio:"inherit"})}catch(t){if(!t.message.includes("exit code 3010"))throw t;(0,pi.notice)(e+" might require a reboot for the completion of the installation.")}var s;const a=(null!==(s=process.env.ChocolateyInstall)&&void 0!==s?s:"C:/ProgramData/chocolatey")+"/bin";return await f(a),{binDir:a}}function T(){return"linux"===process.platform&&(void 0===_i&&(_i=null!==t(ut).sync("pacman",{nothrow:!0})),_i)}function R(){return"linux"===process.platform&&(void 0===Oi&&(Oi=null!==t(ut).sync("dnf",{nothrow:!0})),Oi)}function I(e,t){(0,pi.info)(`Installing ${e} ${null!=t?t:""} via dnf`);const r="dnf";if(void 0!==t&&""!==t)try{u(r,["-y","install",`${e}-${t}`])}catch(t){(0,pi.warning)(t+"\nInstalling the default version available via dnf"),u(r,["-y","install",e])}else u(r,["-y","install",e]);return{binDir:"/usr/bin/"}}function A(){if("linux"!==process.platform)return!1;if(void 0===Ti){const e="apt-get";Ti=null!==t(ut).sync(e,{nothrow:!0})}return Ti}function P(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function k(e,t=".bat",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function N(e,t,r){switch(process.platform){case"win32":return O("7zip",e);case"darwin":return S("p7zip",e);case"linux":if(T())return C("p7zip",e);if(R())return I("p7zip",e),I("p7zip-plugins",e);if(A())return y("p7zip-full",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function L(e){"linux"!==process.platform&&"darwin"!==process.platform||!c()||void 0===process.env.SUDO_USER||u("chown",["-R",process.env.SUDO_USER,e],{cwd:e,stdio:"inherit",shell:!0})}function D(e,t){const r=[];t=t||zi.arch();const i=Bi.join(z(),e);if(Fi.existsSync(i)){const e=Fi.readdirSync(i);for(const n of e)if(F(n)){const e=Bi.join(i,n,t||"");Fi.existsSync(e)&&Fi.existsSync(e+".complete")&&r.push(n)}}return r}function j(e){return Di(this,void 0,void 0,(function*(){return e||(e=Bi.join(B(),Xi.default())),yield Ui.mkdirP(e),e}))}function M(e,t,r){return Di(this,void 0,void 0,(function*(){const i=Bi.join(z(),e,qi.clean(t)||t,r||"");Mi.debug("destination "+i);const n=i+".complete";return yield Ui.rmRF(i),yield Ui.rmRF(n),yield Ui.mkdirP(i),i}))}function U(e,t,r){const i=Bi.join(z(),e,qi.clean(t)||t,r||"");Fi.writeFileSync(i+".complete",""),Mi.debug("finished caching tool")}function F(e){const t=qi.clean(e)||"";Mi.debug("isExplicit: "+t);const r=null!=qi.valid(t);return Mi.debug("explicit? "+r),r}function G(e,t){let r="";Mi.debug(`evaluating ${e.length} versions`);for(let i=(e=e.sort(((e,t)=>qi.gt(e,t)?1:-1))).length-1;i>=0;i--){const n=e[i];if(qi.satisfies(n,t)){r=n;break}}return Mi.debug(r?"matched: "+r:"match not found"),r}function z(){const e=process.env.RUNNER_TOOL_CACHE||"";return $gCrli$ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function B(){const e=process.env.RUNNER_TEMP||"";return $gCrli$ok(e,"Expected RUNNER_TEMP to be defined"),e}function H(e,t){const r=ot[e];return void 0!==r?r:t}async function q(e,r){return await t(xt)(await(async()=>(void 0===sn&&(null===t(ut).sync("7z",{nothrow:!0})&&await N("",0,process),sn="7z"),sn))(),["x",e,"-o"+r,"-y"],{stdio:"inherit"}),L(r),r}function V(e,t){return q(e,t)}function W(e,t){return q(e,t)}async function X(e,r,i=["--strip-components=0"]){try{await(0,Ii.mkdirP)(r)}catch{}try{await t(xt)("tar",["xf",e,"-C",r,...i],{stdio:"inherit"})}catch(t){"win32"===process.platform&&t.message.includes("Can't create '\\\\?\\C:")&&(0,pi.warning)(`Failed to extract symlink ${e} to ${r}. Ignoring this symlink.`)}return L(r),r}async function Y(e,r,i,n,o){var s,a;(0,ct.info)(`Installing ${e} ${r} ${o} via direct downloading`),process.env.RUNNER_TEMP=null!==(s=process.env.RUNNER_TEMP)&&void 0!==s?s:$gCrli$tmpdir(),process.env.RUNNER_TOOL_CACHE=null!==(a=process.env.RUNNER_TOOL_CACHE)&&void 0!==a?a:$gCrli$join($gCrli$tmpdir(),"setup-cpp","hostedtoolcache");const{url:l,binRelativeDir:c,binFileName:u,extractedFolderName:d,extractFunction:p}=await i(r,process.platform,o);if("github-actions"===t(ui)())try{const t=(0,Ai.find)(e,r);if(t){const i=$gCrli$join(t,d),n=$gCrli$join(i,c);if($gCrli$existsSync(n)&&$gCrli$existsSync($gCrli$join(n,u)))return(0,ct.info)(`${e} ${r} was found in the cache at ${n}.`),await f(n),{installDir:i,binDir:n}}}catch{}const h=$gCrli$join(n,d),m=$gCrli$join(h,c),g=$gCrli$join(m,u);if(!$gCrli$existsSync(m)||!$gCrli$existsSync(g)){(0,ct.info)(`Download and extract ${e} ${r}`),an||("linux"===process.platform&&(T()?(C("unzip"),C("tar"),C("xz")):R()?(I("unzip"),I("tar"),I("xz")):A()&&(await y("unzip"),await y("tar"),await y("xz-utils"))),an=!0);try{const e=await(0,Ai.downloadTool)(l);await(null==p?void 0:p(e,n))}catch(t){throw Error(`Failed to download ${e} ${r} ${o} from ${l}: ${t}`)}}return(0,ct.info)(`Add ${m} to PATH`),await f(m),"github-actions"===t(ui)()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await(0,Ai.cacheDir)(n,e,r),{installDir:h,binDir:m}}function K(e,t,r){const i=(e=>"win32"===e?"windows":e)(t),n=(e=>{switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e}})(r),o="win32"===t,s=o?"zip":"tar.gz";return{binRelativeDir:"",binFileName:P("task"),extractedFolderName:"",extractFunction:o?W:X,url:`https://github.com/go-task/task/releases/download/v${e}/task_${i}_${n}.${s}`}}function J(e,r,i){var n;const o=null!==(n=t(cn)(e))&&void 0!==n?n:e;switch(r){case"win32":{const r=t(ln)(o,"v3.19.6");let n;n=["ia32","x86","i386","x32"].includes(i)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const s=`cmake-${e}-${n}`;return{binRelativeDir:"bin/",binFileName:P("cmake"),extractedFolderName:s,extractFunction:W,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.zip`}}case"darwin":{const r=`cmake-${e}-${t(ln)(o,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:P("cmake"),extractedFolderName:r,extractFunction:Ai.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`}}case"linux":{const r=t(ln)(o,"v3.19.8");let n;n=["aarch64"].includes(i)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const s=`cmake-${e}-${n}`;return{binRelativeDir:"bin/",binFileName:P("cmake"),extractedFolderName:s,extractFunction:Ai.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.tar.gz`}}default:throw Error(`Unsupported platform '${r}'`)}}function Z(e,t,r){return Y("cmake",e,J,t,r)}async function Q(e,r,i){if("github-actions"!==t(ui)())return ee(e,r);try{(0,pi.info)("Installing python in GitHub Actions");const{setupActionsPython:t}=await lt("ddrZ4");return t(e,r,i)}catch(t){return(0,pi.warning)(""+t),ee(e,r)}}async function ee(e,r,i){switch(process.platform){case"win32":{var n,o;r?await O("python3",e,["--params=/InstallDir:"+r]):await O("python3",e);const i=null!==(o=null!==(n=t(ut).sync("python3.exe",{nothrow:!0}))&&void 0!==n?n:t(ut).sync("python.exe",{nothrow:!0}))&&void 0!==o?o:$gCrli$join(r,"python.exe"),s=$gCrli$dirname(i);return await(async e=>{(0,pi.info)(`Add ${e} to PATH`),await f(e)})(s),{installDir:s,binDir:s}}case"darwin":return S("python3",e);case"linux":{let t;if(T())t=C("python",e),C("python-pip");else if(R())t=I("python3",e),I("python3-pip");else{if(!A())throw Error("Unsupported linux distributions");t=await y("python3",e),await y("python3-pip")}return t}default:throw Error("Unsupported platform")}}function te(e){return new Promise((t=>{$gCrli$get(e,(e=>{t(void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)}))}))}function re(e,t){return Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse()}function ie(e,t,r=null){if(ne(t,e)){if("linux"===process.platform&&null!==r&&e in fn){const t=r[0];return parseInt(Object.keys(fn[e])[0],10)>t?"":fn[e][t]}return hn[e]}return null!=t?t:""}function ne(e,t){return"true"===e||void 0===e&&t in hn}async function oe(e,r){if((0,ct.info)(`Installing ${e} ${null!=r?r:""} via pip`),void 0===mn){if(null!==t(ut).sync("python3",{nothrow:!0}))mn="python3";else{if(null===t(ut).sync("python",{nothrow:!0})||!await(async(e,r,i=pn)=>{const n=await(async(e,t=pn)=>{try{var r;const i=await(0,Yi.getExecOutput)(e,["--version"]);return null===(r=(i.stdout||i.stderr||"").trim().match(t))||void 0===r?void 0:r[1]}catch(e){return void console.error(e)}})(e,i);return"string"==typeof n&&"string"==typeof r&&""!==n&&""!==r&&-1!==t(un)(n,r)})("python","3.0.0")){if((0,ct.info)("python3 was not found. Installing python"),await Q(ie("python",void 0),"",process.arch),vn)throw Error("Failed to install python");return vn=!0,oe(e,r)}mn="python"}"win32"===process.platform?t(xt).sync(mn,["-m","pip","install","-U","pip==21.3.1"],{stdio:"inherit"}):"linux"===process.platform&&(T()?C("python-pip"):R()?I("python3-pip"):A()&&await y("python3-pip")),t(xt).sync(mn,["-m","pip","install","-U","wheel"],{stdio:"inherit"})}if(t(xt).sync(mn,["-m","pip","install",void 0!==r&&""!==r?`${e}==${r}`:e],{stdio:"inherit"}),void 0===gn){if("linux"===process.platform)gn="/home/runner/.local/bin/";else if("darwin"===process.platform)gn="/usr/local/bin/";else try{gn=$gCrli$join((await(0,Yi.getExecOutput)(mn+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{gn=$gCrli$join((await(0,Yi.getExecOutput)(mn+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}(0,ct.info)(gn+" to PATH"),await f(gn)}return{binDir:gn}}async function se(e,t,r){switch(process.platform){case"win32":return await O("graphviz",e),(async()=>{if("win32"===process.platform){const e="C:/Program Files/Graphviz/bin";return await f(e),{binDir:e}}throw Error("Unsupported platform")})();case"darwin":return S("graphviz",e);case"linux":if(T())return C("graphviz",e);if(R())return I("graphviz",e);if(A())return y("graphviz",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function ae(e,t,r){switch(t){case"linux":{const t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:P("doxygen"),extractedFolderName:t,extractFunction:Ai.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`}}case"win32":{const t="doxygen-"+e;return{binRelativeDir:"",binFileName:P("doxygen"),extractedFolderName:t,extractFunction:W,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`}}default:throw Error(`Unsupported platform '${t}'`)}}async function le(){if("darwin"===process.platform)try{const e=await(0,Yi.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await h("SDKROOT",t.trim()):(0,pi.error)("SDKROOT not set")}catch(e){(0,pi.error)(e)}}function ce(e,t,r){if("win32"===t){const t=xn[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);const i="ia32"===r?"i686":"x86_64",n="seh";return{binRelativeDir:"bin/",binFileName:P("g++"),extractedFolderName:"mingw64",extractFunction:q,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${i}-posix-${n}-gcc-${t.fileSuffix}.7z`}}throw Error(`Unsupported platform '${t}'`)}async function ue(e,r,i){let n;switch(process.platform){case"win32":"arm"!==i&&"arm64"!==i||await O("gcc-arm-embedded",e);try{n=await Y("g++",e,ce,r,i)}catch(t){(0,pi.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),n=await(async(e,t)=>{let r;var i,n;return await O("mingw",e),"x64"===t&&$gCrli$existsSync("C:/tools/mingw64/bin")?(r="C:/tools/mingw64/bin",await f(r)):"ia32"===t&&$gCrli$existsSync("C:/tools/mingw32/bin")?(r="C:/tools/mingw32/bin",await f(r)):$gCrli$existsSync((null!==(i=process.env.ChocolateyInstall)&&void 0!==i?i:"C:/ProgramData/chocolatey")+"/bin/g++.exe")&&(r=(null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey")+"/bin"),void 0!==r?{binDir:r}:void 0})(e,i)}break;case"darwin":n=S("gcc",e);break;case"linux":"x64"===i?T()?n=C("gcc",e):R()?(n=I("gcc",e),I("gcc-c++",e),I("libstdc++-devel",void 0)):A()&&(await y("gcc",e,["ppa:ubuntu-toolchain-r/test"]),n=await y("g++",e,[])):((0,pi.info)(`Install g++-multilib because gcc for ${i} was requested`),T()?C("gcc-multilib",e):A()&&await y("gcc-multilib",e,["ppa:ubuntu-toolchain-r/test"]));break;default:throw Error("Unsupported platform for "+i)}if(void 0!==n)return await(async(e,r)=>{const i=[];if("win32"===process.platform)i.push(h("CC",P(r+"/gcc")),h("CXX",P(r+"/g++")));else{var n;const o=t(yn)(null!==(n=t(cn)(e))&&void 0!==n?n:e);5>o?(i.push(h("CC",`${r}/gcc-${e}`),h("CXX",`${r}/g++-${e}`)),A()&&($("cc",`${r}/gcc-${e}`),$("cxx",`${r}/g++-${e}`),$("gcc",`${r}/gcc-${e}`),$("g++",`${r}/g++-${e}`))):(i.push(h("CC",`${r}/gcc-${o}`),h("CXX",`${r}/g++-${o}`)),A()&&($("cc",`${r}/gcc-${o}`),$("cxx",`${r}/g++-${o}`),$("gcc",`${r}/gcc-${o}`),$("g++",`${r}/g++-${o}`)))}i.push(le()),"github-actions"===t(ui)()&&(()=>{const e=ze.join(wn,"gcc_matcher.json");if(!$gCrli$existsSync(e))return(0,pi.warning)("the gcc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,pi.info)("::add-matcher::"+e)})(),await Promise.all(i)})(e,n.binDir),n}function de(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function pe(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function he(e,r){switch(e){case"darwin":return(e=>{if($n.has(e))return null;const r="clang+llvm-",i=`-x86_64${"9.0.0"===e?"-darwin-apple":"-apple-darwin"}.tar.xz`;return t(ln)(e,"9.0.1")?pe(e,r,i):de(e,r,i)})(r);case"linux":return(e=>{let r=e;const i=Cn.get(r);let n;if(void 0!==i&&(r=i),r.includes("ubuntu")){const e=r.replace(/-ubuntu-.*/,"");if(!En.has(e))throw Error("Unsupported Ubuntu version: "+e);n=r.replace(e,""),r=re(En,e)[0]}else""!==r&&r in Sn?n=Sn[r]:(n=Sn["14.0.0"],(0,pi.warning)(`Falling back to LLVM version 14.0.0 ${n} for the Ubuntu.`));const o="clang+llvm-",s="5.0.0"===r?`-linux-x86_64${n}.tar.xz`:`-x86_64-linux-gnu${n}.tar.xz`;return t(ln)(r,"9.0.1")?pe(r,o,s):de(r,o,s)})(r);case"win32":return(async e=>{if(_n.has(e))return null;const r="LLVM-",i=t(ln)(e,"3.7.0")?"-win32.exe":"-win64.exe",n=t(ln)(e,"9.0.1");let o,s=!1;return n&&(o=pe(e,r,i),await te(o)||(s=!0)),!s&&n||(o=de(e,r,i)),o})(r);default:return null}}async function fe(e,t,r){const[i,n]=await(async(e,t,r,i)=>{if("linux"===t&&r.includes("ubuntu")){const e=await i(t,r);if(null!==e&&await te(e))return[r,e]}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const n of re(e,r)){const e=await i(t,n);if(null!==e&&await te(e))return[n,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(En,t,e,he);return(0,ct.setOutput)("version",i),{url:n,extractedFolderName:"",binRelativeDir:"bin",binFileName:P("clang"),extractFunction:"win32"===t?V:(e,t)=>X(e,t,["--strip-components=1"])}}async function me(e,r,i){const n=await ge(e,r,i);var o;return await(async(e,r)=>{const i=(e=>{if(null===t(dn)(e))try{const r=t(cn)(e);if(null!==r)return(0,pi.info)(`Coerced version '${e}' to '${r}'`),r.version}catch(e){}return e})(r),n=$gCrli$join(e,"lib");var o;const s=null!==(o=process.env.LD_LIBRARY_PATH)&&void 0!==o?o:"";var a;const l=null!==(a=process.env.DYLD_LIBRARY_PATH)&&void 0!==a?a:"",c=[h("LLVM_PATH",e),h("LD_LIBRARY_PATH",`${n}${$gCrli$delimiter}${s}`),h("DYLD_LIBRARY_PATH",`${n}${$gCrli$delimiter}${l}`),h("LDFLAGS",`-L"${e}/lib"`),h("CPPFLAGS",`-I"${e}/include"`),h("CC",P(e+"/bin/clang")),h("CXX",P(e+"/bin/clang++")),h("LIBRARY_PATH",e+"/lib"),le()];if("win32"!==process.platform){const r=t(yn)(i);$gCrli$existsSync(`${e}/lib/clang/${i}/include`)?c.push(h("CPATH",`${e}/lib/clang/${i}/include`)):$gCrli$existsSync(`${e}/lib/clang/${r}/include`)&&c.push(h("CPATH",`${e}/lib/clang/${r}/include`))}A()&&($("cc",e+"/bin/clang"),$("cxx",e+"/bin/clang++"),$("clang",e+"/bin/clang"),$("clang++",e+"/bin/clang++"),$("lld",e+"/bin/lld"),$("ld.lld",e+"/bin/ld.lld"),$("llvm-ar",e+"/bin/llvm-ar")),"github-actions"===t(ui)()&&ye(),await Promise.all(c)})(null!==(o=n.installDir)&&void 0!==o?o:r,e),n}async function ge(e,t,r){const i=await Y("llvm",e,fe,t,r);return On||("linux"===process.platform&&(await ue(ie("gcc",void 0),"",r),T()||A()&&await y("libtinfo-dev")),On=!0),i}function ve(e,r,i){return"github-actions"===t(ui)()&&ye(),ge(e,r,i)}function ye(){const e=$gCrli$join(bn,"llvm_matcher.json");if(!$gCrli$existsSync(e))return(0,pi.warning)("the llvm_matcher.json file does not exist in the same folder as setup_cpp.js");(0,pi.info)("::add-matcher::"+e)}function we(e,t,r){const i=new Mn(e,t,r);process.stdout.write(""+i+Dn.EOL)}function xe(e){Nn.issue("error",e instanceof Error?""+e:e)}function be(e){Nn.issue("group",e)}function Ee(){Nn.issue("endgroup")}function $e(e){return Object.values(Jn).includes(e)?e:e in Jn?Jn[e]:e}function Ce(e){if(Object.keys(Jn).includes(e))return e;for(const[t,r]of Object.entries(Jn))if(r===e)return t;return e}function Se(e){const t=$e(e);let r;if(t){const e=t.split(".")[0]+".9";r=`-version "${t},${e}"`}else r="-latest";let i=((e,t)=>{try{return(""+$gCrli$execSync(`vswhere -products * ${t} -prerelease -property installationPath`)).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){An.warning("vswhere failed: "+e)}return null})(0,r);if(i&&$gCrli$existsSync(i))return An.info("Found with vswhere: "+i),i;An.info("Not found with vswhere");const n=e?[Ce(e)]:Kn;for(const e of Xn)for(const t of n)for(const r of Yn)if(i=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,An.info("Trying standard location: "+i),$gCrli$existsSync(i))return An.info("Found standard location: "+i),i;if(An.info("Not found in standard locations"),i=Wn+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",$gCrli$existsSync(i))return An.info("Found VS 2015: "+i),i;throw An.info("Not found in VS 2015 location: "+i),Error("Microsoft Visual Studio not found")}function _e(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}async function Oe(e,t,r,i,n,o,s){void 0!==t&&$gCrli$existsSync(t)&&((0,pi.info)(`Adding ${t} to PATH`),await h("VCTargetsPath",t)),In((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),n,i,o,s,e)}async function Te(e,r,i,n,o,s){if("win32"!==process.platform)return;const a=Tn(e);(0,pi.info)(`Checking if MSVC ${a} is already installed`);let l,c,u=!1;try{const e=Rn(a);u=!0,(0,pi.info)("Found the pre-installed version of MSVC at "+e)}catch{}if(!u)try{"14.0"===a?(l="14.0",await O("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),c="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===a?(l="14.16",await O("visualstudio2017buildtools","15.9.41.0",[]),c="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===a?(l="14.29",await O("visualstudio2019buildtools","16.11.7.0",[]),c="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===a?(l=void 0,await O("visualstudio2022buildtools","117.0.5.0",[]),c=void 0):(0,pi.error)(`The given MSVC versions ${e} is not supported yet.`)}catch(e){(0,pi.error)(e)}await Oe(a,c,i,l,n,o,s),"github-actions"===t(ui)()&&(()=>{const e=ze.join(eo,"msvc_matcher.json");if(!$gCrli$existsSync(e))return(0,pi.warning)("the msvc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,pi.info)("::add-matcher::"+e)})()}function Re(e,t,r){const i=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",binFileName:P("ninja"),extractedFolderName:"",extractFunction:W,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${i}.zip`}}function Ie(e,t,r){return Y("ninja",e,Re,t,r)}function Ae(e){return null==e?[]:Array.isArray(e)?e:[e]}function Pe(e,t,r,i){var n,o=e[t],s=~i.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~i.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(n=+r)==0?n:r),!!r)):0*(n=+r)==0?n:r;e[t]=null==o?s:Array.isArray(o)?o.concat(s):[o,s]}function ke(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:P("kcov"),extractFunction:X}}function Ne(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:P("kcov"),extractFunction:Le}}async function Le(e,r){const i=await X(e,r,["--strip-components=1"]),n=await(async()=>{let e=t(ut).sync("cmake",{nothrow:!0});if(null===e){const{binDir:t}=await Z(ie("cmake",void 0),$gCrli$join(d(""),"cmake"),"");e=$gCrli$join(t,"cmake")}return null===t(ut).sync("ninja",{nothrow:!0})&&await Ie(ie("ninja",void 0),$gCrli$join(d(""),"ninja"),""),e})();"linux"===process.platform&&(T()?(C("libdwarf"),C("libcurl-openssl")):R()?(I("libdwarf-devel"),I("libcurl-devel")):A()&&(await y("libdw-dev"),await y("libcurl4-openssl-dev")));const o=$gCrli$join(i,"build");return await t(xt)(n,["-S",i,"-B",o,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:i,stdio:"inherit"}),await t(xt)(n,["--build",o,"--config","Release"],{cwd:i,stdio:"inherit"}),i}async function De(e){"github-actions"!==t(ui)()&&(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=je(e);var i;r.help&&(0,pi.info)('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n ');const n=null!==(i=r.architecture)&&void 0!==i?i:process.arch;var o;const s=null!==(o=process.env.SETUP_CPP_DIR)&&void 0!==o?o:d(""),a=[],l=[],c=to.create({autoloadLocales:!0});let u,p;to.addLocale(t(Qn)),ro.addLocale(t(io));let f=null;try{f=await(async()=>{if(A()){null===t(ut).sync("lsb_release",{nothrow:!0})&&await y("lsb-release");const e=await(0,no.getUbuntuVersion)();if(0===e.length)throw Error("Failed to get the ubuntu major version.");return e}return null})()}catch(e){(0,pi.warning)(""+e)}if(!((e,t)=>{for(let r=0;t.length>r;r++){const i=t.slice(0,r).concat(t.slice(r+1)),n=t[r];if(!ne(e[n],n))for(let t=0;i.length>t;t++){const r=i[t];if(ne(e[r],i[t]))e[r]=e[n];else if(e[n]!==e[i[t]])return!1}}return!0})(r,["llvm","clangtidy","clangformat"]))return(0,pi.error)("The same version must be used for llvm, clangformat and clangtidy"),1;for(const e of lo){const t=r[e];if(void 0!==t){u=Date.now(),(0,ct.startGroup)(`Installing ${e} ${t}`);try{let r;if("vcvarsall"===e)await Oe(ie(e,t,f),void 0,n,void 0,void 0,!1,!1);else{const i=ao[e],o=$gCrli$join(s,["llvm","clangformat","clangtidy"].includes(e)?"llvm":e);r=await i(ie(e,t,f),o,n)}a.push(Fe(e,r))}catch(t){(0,pi.error)(t),l.push(e+" failed to install")}(0,ct.endGroup)(),p=Date.now(),(0,pi.info)("took "+(c.format(u,p)||"0 seconds"))}}const m=r.compiler;u=Date.now();try{if(void 0!==m){const{compiler:e,version:t}=Me(m);switch((0,ct.startGroup)(`Installing ${e} ${null!=t?t:""}`),e){case"llvm":case"clang":case"clang++":{const e=await me(ie("llvm",t,f),$gCrli$join(s,"llvm"),n);a.push(Fe("llvm",e));break}case"gcc":case"mingw":case"cygwin":case"msys":{const e=await ue(ie("gcc",t,f),$gCrli$join(s,"gcc"),n);a.push(Fe("gcc",e));break}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{const e=await Te(ie("msvc",t,f),$gCrli$join(s,"msvc"),n);a.push(Fe("msvc",e));break}case"appleclang":case"applellvm":(0,ct.notice)("Assuming apple-clang is already installed"),await Promise.all([h("CC","clang"),h("CXX","clang++")]),a.push(Fe("apple-clang",void 0));break;default:l.push("Unsupported compiler "+e)}(0,ct.endGroup)(),p=Date.now(),(0,pi.info)("took "+(c.format(u,p)||"0 seconds"))}}catch(e){(0,pi.error)(e),l.push("Failed to install the "+m),(0,ct.endGroup)(),p=Date.now(),(0,pi.info)("took "+(c.format(u,p)||"0 seconds"))}if(0===a.length&&0===l.length)return(0,pi.warning)("setup_cpp was called without any arguments. Nothing to do."),0;if(a.forEach((e=>(0,pi.success)(e))),l.forEach((e=>(0,pi.error)(e))),(0,pi.info)("setup_cpp finished"),"github-actions"!==t(ui)())switch(process.platform){case"win32":(0,pi.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,pi.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.")}return 0===l.length?0:1}function je(e){return((e,t)=>{var r,i,n,o,s,a={_:[]},l=0,c=0,u=0,d=(e=e||[]).length;const p=void 0!==(t=t||{}).alias,h=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=Ae(t.string),t.boolean=Ae(t.boolean),p)for(r in t.alias)for(i=t.alias[r]=Ae(t.alias[r]),l=0;i.length>l;l++)(t.alias[i[l]]=i.concat(r)).splice(l,1);for(l=t.boolean.length;l-- >0;)for(c=(i=t.alias[t.boolean[l]]||[]).length;c-- >0;)t.boolean.push(i[c]);for(l=t.string.length;l-- >0;)for(c=(i=t.alias[t.string[l]]||[]).length;c-- >0;)t.string.push(i[c]);if(f)for(r in t.default)if(o=typeof t.default[r],i=t.alias[r]=t.alias[r]||[],void 0!==t[o])for(t[o].push(r),l=0;i.length>l;l++)t[o].push(i[l]);const m=h?Object.keys(t.alias):[];for(l=0;d>l;l++){if("--"===(n=e[l])){a._=a._.concat(e.slice(++l));break}for(c=0;n.length>c&&45===n.charCodeAt(c);c++);if(0===c)a._.push(n);else if("no-"===n.substring(c,c+3)){if(o=n.substring(c+3),h&&!~m.indexOf(o))return t.unknown(n);a[o]=!1}else{for(u=c+1;n.length>u&&61!==n.charCodeAt(u);u++);for(o=n.substring(c,u),s=n.substring(++u)||l+1===d||45===(""+e[l+1]).charCodeAt(0)||e[++l],i=2===c?[o]:o,u=0;i.length>u;u++){if(o=i[u],h&&!~m.indexOf(o))return t.unknown("-".repeat(c)+o);Pe(a,o,i.length>u+1||s,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(p)for(r in a)for(i=t.alias[r]||[];i.length>0;)a[i.shift()]=a[r];return a})(e,{string:co,default:Object.fromEntries(co.map((e=>[e,Ue(e)]))),alias:{h:"help"},boolean:"help"})}function Me(e){const r=e.split("-"),i=r[0];if(1 in r){const e=r[1];return null!==t(dn)(e)||(0,pi.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:i,version:e}}return{compiler:i,version:void 0}}function Ue(e){const t=(0,ct.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t}function Fe(e,t){let r=`✅ ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r}import*as Ge from"os";import ze,*as Be from"path";import*as He from"fs";import*as qe from"http";import*as Ve from"https";import"net";import{connect as We}from"tls";import*as Xe from"events";import*as Ye from"assert";import*as Ke from"util";import*as Je from"child_process";import{randomBytes as Ze}from"crypto";import{StringDecoder as Qe}from"string_decoder";import{setTimeout as et}from"timers";import{constants as tt}from"buffer";import*as rt from"stream";import{env as it,platform as nt}from"process";var ot="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},st={},at={},lt=ot.parcelRequire810d;null==lt&&((lt=e=>{if(e in st)return st[e].exports;if(e in at){var t=at[e];delete at[e];var r={id:e,exports:{}};return st[e]=r,t.call(r.exports,r,r.exports),r.exports}var i=Error("Cannot find module '"+e+"'");throw i.code="MODULE_NOT_FOUND",i}).register=(e,t)=>{at[e]=t},ot.parcelRequire810d=lt),lt.register("gF2Jd",(function(e,t){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 i(e,t={}){u.issueCommand("error",p.toCommandProperties(t),e instanceof Error?""+e:e)}function n(e){u.issue("group",e)}function o(){u.issue("endgroup")}var s=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=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)&&s(t,e,r);return a(t,e),t}),c=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=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=lt("CzUPq"),d=lt("a92Us"),p=lt("7u2Mm");const h=l(Ge),f=l(Be);var m,g,v=lt("aKUUy");(g=m=e.exports.ExitCode||(e.exports.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=p.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";d.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.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?d.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 i=r(e,t);if(["true","True","TRUE"].includes(i))return!0;if(["false","False","FALSE"].includes(i))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(h.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,i(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=i,e.exports.warning=(e,t={})=>{u.issueCommand("warning",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",p.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=n,e.exports.endGroup=o,e.exports.group=function(e,t){return c(this,void 0,void 0,(function*(){let r;n(e);try{r=yield t()}finally{o()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return c(this,void 0,void 0,(function*(){return yield v.OidcClient.getIDToken(e)}))};var y=lt("f0qw2");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return y.summary}}),y=lt("f0qw2"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return y.markdownSummary}});var w=lt("gzMJ3");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return w.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return w.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return w.toPlatformPath}})})),lt.register("CzUPq",(function(e,t){function r(e,t,r){const i=new l(e,t,r);process.stdout.write(""+i+s.EOL)}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=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}),o=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 n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const s=o(Ge);var a=lt("7u2Mm");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 i in this.properties)if(this.properties.hasOwnProperty(i)){const n=this.properties[i];n&&(r?r=!1:e+=",",e+=`${i}=${t=n,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}}})),lt.register("7u2Mm",((e,t)=>{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,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),lt.register("a92Us",((e,t)=>{var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=t[r]}),i=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 n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const o=n(He),s=n(Ge);var a=lt("7u2Mm");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,`${a.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}})),lt.register("aKUUy",(function(e,t){var r=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var i=lt("9kh6d"),n=lt("bynPH"),o=lt("gF2Jd");class s{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new i.HttpClient("actions/oidc-client",[new n.BearerCredentialHandler(s.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=s.createHttpClient(),i=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),n=null===(t=i.result)||void 0===t?void 0:t.value;if(!n)throw Error("Response json body do not have ID Token field");return n}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=s.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),o.debug("ID token url is "+t);const r=yield s.getCall(t);return o.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=s})),lt.register("9kh6d",(function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=t[r]}),i=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 n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t}),o=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;const s=n(qe),a=n(Ve),l=n(lt("hYqzk")),c=n(lt("ky4Yx"));var u,d,p,h,f;(d=u=e.exports.HttpCodes||(e.exports.HttpCodes={}))[d.OK=200]="OK",d[d.MultipleChoices=300]="MultipleChoices",d[d.MovedPermanently=301]="MovedPermanently",d[d.ResourceMoved=302]="ResourceMoved",d[d.SeeOther=303]="SeeOther",d[d.NotModified=304]="NotModified",d[d.UseProxy=305]="UseProxy",d[d.SwitchProxy=306]="SwitchProxy",d[d.TemporaryRedirect=307]="TemporaryRedirect",d[d.PermanentRedirect=308]="PermanentRedirect",d[d.BadRequest=400]="BadRequest",d[d.Unauthorized=401]="Unauthorized",d[d.PaymentRequired=402]="PaymentRequired",d[d.Forbidden=403]="Forbidden",d[d.NotFound=404]="NotFound",d[d.MethodNotAllowed=405]="MethodNotAllowed",d[d.NotAcceptable=406]="NotAcceptable",d[d.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",d[d.RequestTimeout=408]="RequestTimeout",d[d.Conflict=409]="Conflict",d[d.Gone=410]="Gone",d[d.TooManyRequests=429]="TooManyRequests",d[d.InternalServerError=500]="InternalServerError",d[d.NotImplemented=501]="NotImplemented",d[d.BadGateway=502]="BadGateway",d[d.ServiceUnavailable=503]="ServiceUnavailable",d[d.GatewayTimeout=504]="GatewayTimeout",(h=p=e.exports.Headers||(e.exports.Headers={})).Accept="accept",h.ContentType="content-type",(f=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{const t=l.getProxyUrl(new URL(e));return t?t.href:""};const m=[u.MovedPermanently,u.ResourceMoved,u.SeeOther,u.TemporaryRedirect,u.PermanentRedirect],g=[u.BadGateway,u.ServiceUnavailable,u.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype)}}e.exports.HttpClientError=y;class w{constructor(e){this.message=e}readBody(){return o(this,void 0,void 0,(function*(){return new Promise((e=>o(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(""+t)}))}))))}))}}e.exports.HttpClientResponse=w,e.exports.isHttps=e=>"https:"===new URL(e).protocol,e.exports.HttpClient=class{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 o(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return o(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return o(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return o(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return o(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return o(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return o(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,i){return o(this,void 0,void 0,(function*(){return this.request(e,t,r,i)}))}getJson(e,t={}){return o(this,void 0,void 0,(function*(){t[p.Accept]=this._getExistingOrDefaultHeader(t,p.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return o(this,void 0,void 0,(function*(){const i=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const n=yield this.post(e,i,r);return this._processResponse(n,this.requestOptions)}))}putJson(e,t,r={}){return o(this,void 0,void 0,(function*(){const i=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const n=yield this.put(e,i,r);return this._processResponse(n,this.requestOptions)}))}patchJson(e,t,r={}){return o(this,void 0,void 0,(function*(){const i=JSON.stringify(t,null,2);r[p.Accept]=this._getExistingOrDefaultHeader(r,p.Accept,f.ApplicationJson),r[p.ContentType]=this._getExistingOrDefaultHeader(r,p.ContentType,f.ApplicationJson);const n=yield this.patch(e,i,r);return this._processResponse(n,this.requestOptions)}))}request(e,t,r,i){return o(this,void 0,void 0,(function*(){if(this._disposed)throw Error("Client has already been disposed.");const n=new URL(t);let o=this._prepareRequest(e,n,i);const s=this._allowRetries&&v.includes(e)?this._maxRetries+1:1;let a,l=0;do{if(a=yield this.requestRaw(o,r),a&&a.message&&a.message.statusCode===u.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,o,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&m.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const s=a.message.headers.location;if(!s)break;const l=new URL(s);if("https:"===n.protocol&&n.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(yield a.readBody(),l.hostname!==n.hostname)for(const e in i)"authorization"===e.toLowerCase()&&delete i[e];o=this._prepareRequest(e,l,i),a=yield this.requestRaw(o,r),t--}if(!a.message.statusCode||!g.includes(a.message.statusCode))return a;l+=1,s>l&&(yield a.readBody(),yield this._performExponentialBackoff(l))}while(s>l);return a}))}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return o(this,void 0,void 0,(function*(){return new Promise(((r,i)=>{this.requestRawWithCallback(e,t,((e,t)=>{e?i(e):t?r(t):i(Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){function i(e,t){n||(n=!0,r(e,t))}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let n=!1;const o=e.httpModule.request(e.options,(e=>{i(void 0,new w(e))}));let s;o.on("socket",(e=>{s=e})),o.setTimeout(this._socketTimeout||18e4,(()=>{s&&s.end(),i(Error("Request timeout: "+e.options.path))})),o.on("error",(e=>{i(e)})),t&&"string"==typeof t&&o.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{o.end()})),t.pipe(o)):o.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const i={};i.parsedUrl=t;const n="https:"===i.parsedUrl.protocol;i.httpModule=n?a:s;const o=n?443:80;if(i.options={},i.options.host=i.parsedUrl.hostname,i.options.port=i.parsedUrl.port?parseInt(i.parsedUrl.port):o,i.options.path=(i.parsedUrl.pathname||"")+(i.parsedUrl.search||""),i.options.method=e,i.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(i.options.headers["user-agent"]=this.userAgent),i.options.agent=this._getAgent(i.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(i.options);return i}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},x(this.requestOptions.headers),x(e||{})):x(e||{})}_getExistingOrDefaultHeader(e,t,r){let i;return this.requestOptions&&this.requestOptions.headers&&(i=x(this.requestOptions.headers)[t]),e[t]||i||r}_getAgent(e){let t;const r=l.getProxyUrl(e),i=r&&r.hostname;if(this._keepAlive&&i&&(t=this._proxyAgent),this._keepAlive&&!i&&(t=this._agent),t)return t;const n="https:"===e.protocol;let o=100;if(this.requestOptions&&(o=this.requestOptions.maxSockets||s.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:o,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let i;const s="https:"===r.protocol;i=n?s?c.httpsOverHttps:c.httpsOverHttp:s?c.httpOverHttps:c.httpOverHttp,t=i(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:o};t=n?new a.Agent(e):new s.Agent(e),this._agent=t}return t||(t=n?a.globalAgent:s.globalAgent),n&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return o(this,void 0,void 0,(function*(){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return o(this,void 0,void 0,(function*(){return new Promise(((r,i)=>o(this,void 0,void 0,(function*(){const n=e.message.statusCode||0,o={statusCode:n,result:null,headers:{}};let s,a;n===u.NotFound&&r(o);try{a=yield e.readBody(),a&&a.length>0&&(s=t&&t.deserializeDates?JSON.parse(a,((e,t)=>{if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),o.result=s),o.headers=e.message.headers}catch(e){}if(n>299){let e;e=s&&s.message?s.message:a&&a.length>0?a:`Failed request: (${n})`;const t=new y(e,n);t.result=o.result,i(t)}else r(o)}))))}))}};const x=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})})),lt.register("hYqzk",((e,t)=>{function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=+e.port:"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const i=[e.hostname.toUpperCase()];"number"==typeof r&&i.push(`${i[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(i.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=e=>{const t="https:"===e.protocol;if(r(e))return;const i=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return i?new URL(i):void 0},e.exports.checkBypass=r})),lt.register("ky4Yx",((e,t)=>{e.exports=lt("48VNE")})),lt.register("48VNE",(function(t,r){function i(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||$gCrli$Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,i,n)=>{for(var s=o(r,i,n),a=0,l=t.requests.length;l>a;++a){var c=t.requests[a];if(c.host===s.host&&c.port===s.port)return t.requests.splice(a,1),void c.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function n(e,t){var r=this;i.prototype.createSocket.call(r,e,(i=>{var n=e.request.getHeader("host"),o=s({},r.options,{socket:i,servername:n?n.replace(/:.*$/,""):e.host}),a=We(0,o);r.sockets[r.sockets.indexOf(i)]=a,t(a)}))}function o(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function s(e){for(var t=1,r=arguments.length;r>t;++t){var i=arguments[t];if("object"==typeof i)for(var n=Object.keys(i),o=0,s=n.length;s>o;++o){var a=n[o];void 0!==i[a]&&(e[a]=i[a])}}return e}var a,l,c,u,d,p;e(t.exports,"httpOverHttp",(()=>a),(e=>a=e)),e(t.exports,"httpsOverHttp",(()=>l),(e=>l=e)),e(t.exports,"httpOverHttps",(()=>c),(e=>c=e)),e(t.exports,"httpsOverHttps",(()=>u),(e=>u=e)),e(t.exports,"debug",(()=>d),(e=>d=e)),a=e=>{var t=new i(e);return t.request=$gCrli$request,t},l=e=>{var t=new i(e);return t.request=$gCrli$request,t.createSocket=n,t.defaultPort=443,t},c=e=>{var t=new i(e);return t.request=$gCrli$request1,t},u=e=>{var t=new i(e);return t.request=$gCrli$request1,t.createSocket=n,t.defaultPort=443,t},$gCrli$inherits(i,$gCrli$EventEmitter),i.prototype.addRequest=function(e,t,r,i){var n=this,a=s({request:e},n.options,o(t,r,i));this.maxSockets>n.sockets.length?n.createSocket(a,(t=>{function r(){n.emit("free",t,a)}function i(e){n.removeSocket(t),t.removeListener("free",r),t.removeListener("close",i),t.removeListener("agentRemove",i)}t.on("free",r),t.on("close",i),t.on("agentRemove",i),e.onSocket(t)})):n.requests.push(a)},i.prototype.createSocket=function(e,t){function r(r,o,s){var l;return a.removeAllListeners(),o.removeAllListeners(),200!==r.statusCode?(p("tunneling socket could not be established, statusCode=%d",r.statusCode),o.destroy(),(l=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",l),void i.removeSocket(n)):s.length>0?(p("got illegal response body from proxy"),o.destroy(),(l=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",l),void i.removeSocket(n)):(p("tunneling connection has established"),i.sockets[i.sockets.indexOf(n)]=o,t(o))}var i=this,n={};i.sockets.push(n);var o=s({},i.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(o.localAddress=e.localAddress),o.proxyAuth&&(o.headers=o.headers||{},o.headers["Proxy-Authorization"]="Basic "+new Buffer(o.proxyAuth).toString("base64")),p("making CONNECT request");var a=i.request(o);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,i)=>{process.nextTick((()=>{r(e,t,i)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),p("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),i.removeSocket(n)})),a.end()},i.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)}))}},d=p=()=>{}})),lt.register("bynPH",(function(e,t){var r=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}}})),lt.register("f0qw2",(function(e,t){var r=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:i,appendFile:n,writeFile:o}=$gCrli$promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const s=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield i(t,$gCrli$constants.R_OK|$gCrli$constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const i=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${i}>${t}`:`<${e}${i}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),i=t?o:n;return yield i(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw($gCrli$EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),i=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(i).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",i=e.map((e=>this.wrap("li",e))).join(""),n=this.wrap(r,i);return this.addRaw(n).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:i,rowspan:n}=e,o=t?"th":"td",s=Object.assign(Object.assign({},i&&{colspan:i}),n&&{rowspan:n});return this.wrap(o,r,s)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:i,height:n}=r||{},o=Object.assign(Object.assign({},i&&{width:i}),n&&{height:n}),s=this.wrap("img",null,Object.assign({src:e,alt:t},o));return this.addRaw(s).addEOL()}addHeading(e,t){const r="h"+t,i=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",n=this.wrap(i,e);return this.addRaw(n).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),i=this.wrap("blockquote",e,r);return this.addRaw(i).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=s,e.exports.summary=s})),lt.register("gzMJ3",((e,t)=>{var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=t[r]}),i=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 n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const o=n(Be);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,o.sep)})),lt.register("jUvGx",((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 i=0;r.length>i;i++){var n=r[i].toLowerCase();if(n&&e.substr(-n.length).toLowerCase()===n)return!0}return!1})(t,r)}function i(e,t,i){$gCrli$stat(e,((n,o)=>{i(n,!n&&r(o,e,t))}))}e.exports=i,i.sync=(e,t)=>r($gCrli$statSync(e),e,t)})),lt.register("lNi8N",((e,t)=>{function r(e,t,r){$gCrli$stat(e,((e,n)=>{r(e,!e&&i(n,t))}))}function i(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,i=e.uid,n=e.gid,o=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=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&&n===s||r&a&&i===o||r&c&&0===o})(e,t)}e.exports=r,r.sync=(e,t)=>i($gCrli$statSync(e),t)})),lt.register("81ovw",((r,i)=>{function n(e){return"github-actions"===t(u)()?c.error(e):console.log(`${e}`)}function o(e){return console.log(`${e}`)}function s(e){return"github-actions"===t(u)()?c.warning(e):console.log(`${e}`)}function a(e){return"github-actions"===t(u)()?c.notice(e):console.log(`${e}`)}function l(e){return"github-actions"===t(u)()?c.info(e):console.log(e)}e(r.exports,"error",(()=>n)),e(r.exports,"success",(()=>o)),e(r.exports,"warning",(()=>s)),e(r.exports,"notice",(()=>a)),e(r.exports,"info",(()=>l));var c=lt("gF2Jd"),u=lt("ywN2f")})),lt.register("ywN2f",((e,t)=>{e.exports=()=>process.env.GERRIT_PROJECT?"gerrit":process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI?"azure-pipelines":process.env.BITRISE_IO?"bitrise":process.env.BUDDY_WORKSPACE_ID?"buddy":process.env.BUILDKITE?"buildkite":process.env.CIRRUS_CI?"cirrus":process.env.GITLAB_CI?"gitlab":process.env.APPVEYOR?"appveyor":process.env.CIRCLECI?"circle-ci":process.env.SEMAPHORE?"semaphore":process.env.DRONE?"drone":process.env.DSARI?"dsari":process.env.GITHUB_ACTION?"github-actions":process.env.TDDIUM?"tddium":process.env.SCREWDRIVER?"screwdriver":process.env.STRIDER?"strider":process.env.TASKCLUSTER_ROOT_URL?"taskcluster":process.env.JENKINS_URL?"jenkins":process.env["bamboo.buildKey"]?"bamboo":process.env.GO_PIPELINE_NAME?"gocd":process.env.HUDSON_URL?"hudson":process.env.WERCKER?"wercker":process.env.NETLIFY?"netlify":process.env.NOW_GITHUB_DEPLOYMENT?"now-github":process.env.GITLAB_DEPLOYMENT?"now-gitlab":process.env.BITBUCKET_DEPLOYMENT?"now-bitbucket":process.env.BITBUCKET_BUILD_NUMBER?"bitbucket-pipelines":process.env.NOW_BUILDER?"now":process.env.VERCEL_GITHUB_DEPLOYMENT?"vercel-github":process.env.VERCEL_GITLAB_DEPLOYMENT?"vercel-gitlab":process.env.VERCEL_BITBUCKET_DEPLOYMENT?"vercel-bitbucket":process.env.VERCEL_URL?"vercel":process.env.MAGNUM?"magnum":process.env.NEVERCODE?"nevercode":process.env.RENDER?"render":process.env.SAIL_CI?"sail":process.env.SHIPPABLE?"shippable":process.env.TEAMCITY_VERSION?"teamcity":process.env.CI_NAME?process.env.CI_NAME:/\/\.heroku\/node\/bin\/node$/.test(process.env.NODE||"")?"heroku":process.env.TRAVIS?"travis-ci":process.env.CODEBUILD_SRC_DIR?"aws-codebuild":"true"===process.env.CI||"1"===process.env.CI?"custom":!!process.env.BUILDER_OUTPUT&&"builder"})),lt.register("3FPvT",((e,t)=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")})),lt.register("2fNe7",(function(e,t){function r(e){return u(this,void 0,void 0,(function*(){if(h.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=h.getCmdPath();(yield h.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 h.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield h.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield h.unlink(e)}}))}function i(e){return u(this,void 0,void 0,(function*(){$gCrli$ok(e,"a path argument must be provided"),yield h.mkdir(e,{recursive:!0})}))}function n(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(h.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(p.delimiter))e&&t.push(e);if(h.isRooted(e)){const r=yield h.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(p.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(p.delimiter))e&&r.push(e);const i=[];for(const n of r){const r=yield h.tryGetExecutablePath(p.join(n,e),t);r&&i.push(r)}return i}))}function o(e,t,r,n){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield i(t);const a=yield h.readdir(e);for(const i of a){const a=`${e}/${i}`,l=`${t}/${i}`;(yield h.lstat(a)).isDirectory()?yield o(a,l,r,n):yield s(a,l,n)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function s(e,t,r){return u(this,void 0,void 0,(function*(){if((yield h.lstat(e)).isSymbolicLink()){try{yield h.lstat(t),yield h.unlink(t)}catch(e){"EPERM"===e.code&&(yield h.chmod(t,"0666"),yield h.unlink(t))}const r=yield h.readlink(e);yield h.symlink(r,t,h.IS_WINDOWS?"junction":null)}else(yield h.exists(t))&&!r||(yield h.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=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,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.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 d=c(Je),p=c(Be),h=c(lt("0VvfX")),f=$gCrli$promisify(d.exec),m=$gCrli$promisify(d.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:i,recursive:n,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),l=(yield h.exists(t))?yield h.stat(t):null;if(l&&l.isFile()&&!i)return;const c=l&&l.isDirectory()&&a?p.join(t,p.basename(e)):t;if(!(yield h.exists(e)))throw Error("no such file or directory: "+e);if((yield h.stat(e)).isDirectory()){if(!n)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield o(e,c,0,i)}else{if(""===p.relative(e,c))throw Error(`'${c}' and '${e}' are the same file`);yield s(e,c,i)}}))},e.exports.mv=function(e,t,n={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let i=!0;if((yield h.isDirectory(t))&&(t=p.join(t,p.basename(e)),i=yield h.exists(t)),i){if(null!=n.force&&!n.force)throw Error("Destination already exists");yield r(t)}}yield i(p.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=i,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(h.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 i=yield n(t);return i&&i.length>0?i[0]:""}))},e.exports.findInPath=n})),lt.register("0VvfX",(function(e,t){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 i,n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=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 r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&n(t,e,r);return o(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.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=s(He),c=s(Be);e.exports.chmod=(i=l.promises).chmod,e.exports.copyFile=i.copyFile,e.exports.lstat=i.lstat,e.exports.mkdir=i.mkdir,e.exports.readdir=i.readdir,e.exports.readlink=i.readlink,e.exports.rename=i.rename,e.exports.rmdir=i.rmdir,e.exports.stat=i.stat,e.exports.symlink=i.symlink,e.exports.unlink=i.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,i){return a(this,void 0,void 0,(function*(){let n;try{n=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(n&&n.isFile())if(e.exports.IS_WINDOWS){const e=c.extname(t).toUpperCase();if(i.some((t=>t.toUpperCase()===e)))return t}else if(r(n))return t;const o=t;for(const s of i){t=o+s,n=void 0;try{n=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(n&&n.isFile()){if(e.exports.IS_WINDOWS){try{const r=c.dirname(t),i=c.basename(t).toUpperCase();for(const n of yield e.exports.readdir(r))if(i===n.toUpperCase()){t=c.join(r,n);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(n))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}})),lt.register("biqIc",(function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=t[r]}),i=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 n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t}),o=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const s=n(lt("dsEdn"));var a=lt("gF2Jd");e.exports._findMatch=function(t,r,i,n){return o(this,void 0,void 0,(function*(){const o=$gCrli$platform();let l,c,u;for(const l of i){const i=l.version;if(a.debug(`check ${i} satisfies ${t}`),s.satisfies(i,t)&&(!r||l.stable===r)&&(u=l.files.find((t=>{a.debug(`${t.arch}===${n} && ${t.platform}===${o}`);let r=t.arch===n&&t.platform===o;if(r&&t.platform_version){const i=e.exports._getOsVersion();r=i===t.platform_version||s.satisfies(i,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=$gCrli$platform();let r="";if("darwin"===t)r=""+$gCrli$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 $gCrli$existsSync(e)?r=""+$gCrli$readFileSync(e):$gCrli$existsSync(t)&&(r=""+$gCrli$readFileSync(t)),r}})),lt.register("dsEdn",((e,t)=>{var r=lt("e9hBm");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:lt("4Y6QE").SEMVER_SPEC_VERSION,SemVer:lt("ewE0y"),compareIdentifiers:lt("5niLa").compareIdentifiers,rcompareIdentifiers:lt("5niLa").rcompareIdentifiers,parse:lt("9pDo3"),valid:lt("kULaE"),clean:lt("kVpax"),inc:lt("h6Vge"),diff:lt("3u0pC"),major:lt("ehbTi"),minor:lt("gKZZ5"),patch:lt("aLUuB"),prerelease:lt("janoF"),compare:lt("odmNz"),rcompare:lt("jBQST"),compareLoose:lt("jTcyr"),compareBuild:lt("34MvR"),sort:lt("fGLgH"),rsort:lt("c3rWp"),gt:lt("fMkbf"),lt:lt("KbgdS"),eq:lt("13Au1"),neq:lt("lMg40"),gte:lt("kdktp"),lte:lt("kNWZ7"),cmp:lt("hYtJM"),coerce:lt("3wKw1"),Comparator:lt("9Bceq"),Range:lt("kEeqW"),satisfies:lt("fThUd"),toComparators:lt("kBAIU"),maxSatisfying:lt("9ybja"),minSatisfying:lt("lw7B8"),minVersion:lt("aGCCN"),validRange:lt("asxHW"),outside:lt("5T7ZF"),gtr:lt("8pZ7x"),ltr:lt("jkRb0"),intersects:lt("5obom"),simplifyRange:lt("rDQLp"),subset:lt("3vJJ8")}})),lt.register("e9hBm",((e,t)=>{var r=lt("4Y6QE").MAX_SAFE_COMPONENT_LENGTH,i=lt("36nrx");const n=(t=e.exports={}).re=[],o=t.src=[],s=t.t={};let a=0;const l=(e,t,r)=>{const l=a++;i(e,l,t),s[e]=l,o[l]=t,n[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",`(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})\\.(${o[s.NUMERICIDENTIFIER]})`),l("MAINVERSIONLOOSE",`(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})\\.(${o[s.NUMERICIDENTIFIERLOOSE]})`),l("PRERELEASEIDENTIFIER",`(?:${o[s.NUMERICIDENTIFIER]}|${o[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASEIDENTIFIERLOOSE",`(?:${o[s.NUMERICIDENTIFIERLOOSE]}|${o[s.NONNUMERICIDENTIFIER]})`),l("PRERELEASE",`(?:-(${o[s.PRERELEASEIDENTIFIER]}(?:\\.${o[s.PRERELEASEIDENTIFIER]})*))`),l("PRERELEASELOOSE",`(?:-?(${o[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${o[s.PRERELEASEIDENTIFIERLOOSE]})*))`),l("BUILDIDENTIFIER","[0-9A-Za-z-]+"),l("BUILD",`(?:\\+(${o[s.BUILDIDENTIFIER]}(?:\\.${o[s.BUILDIDENTIFIER]})*))`),l("FULLPLAIN",`v?${o[s.MAINVERSION]}${o[s.PRERELEASE]}?${o[s.BUILD]}?`),l("FULL",`^${o[s.FULLPLAIN]}$`),l("LOOSEPLAIN",`[v=\\s]*${o[s.MAINVERSIONLOOSE]}${o[s.PRERELEASELOOSE]}?${o[s.BUILD]}?`),l("LOOSE",`^${o[s.LOOSEPLAIN]}$`),l("GTLT","((?:<|>)?=?)"),l("XRANGEIDENTIFIERLOOSE",o[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),l("XRANGEIDENTIFIER",o[s.NUMERICIDENTIFIER]+"|x|X|\\*"),l("XRANGEPLAIN",`[v=\\s]*(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:\\.(${o[s.XRANGEIDENTIFIER]})(?:${o[s.PRERELEASE]})?${o[s.BUILD]}?)?)?`),l("XRANGEPLAINLOOSE",`[v=\\s]*(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${o[s.XRANGEIDENTIFIERLOOSE]})(?:${o[s.PRERELEASELOOSE]})?${o[s.BUILD]}?)?)?`),l("XRANGE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAIN]}$`),l("XRANGELOOSE",`^${o[s.GTLT]}\\s*${o[s.XRANGEPLAINLOOSE]}$`),l("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),l("COERCERTL",o[s.COERCE],!0),l("LONETILDE","(?:~>?)"),l("TILDETRIM",`(\\s*)${o[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",l("TILDE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAIN]}$`),l("TILDELOOSE",`^${o[s.LONETILDE]}${o[s.XRANGEPLAINLOOSE]}$`),l("LONECARET","(?:\\^)"),l("CARETTRIM",`(\\s*)${o[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",l("CARET",`^${o[s.LONECARET]}${o[s.XRANGEPLAIN]}$`),l("CARETLOOSE",`^${o[s.LONECARET]}${o[s.XRANGEPLAINLOOSE]}$`),l("COMPARATORLOOSE",`^${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]})$|^$`),l("COMPARATOR",`^${o[s.GTLT]}\\s*(${o[s.FULLPLAIN]})$|^$`),l("COMPARATORTRIM",`(\\s*)${o[s.GTLT]}\\s*(${o[s.LOOSEPLAIN]}|${o[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",l("HYPHENRANGE",`^\\s*(${o[s.XRANGEPLAIN]})\\s+-\\s+(${o[s.XRANGEPLAIN]})\\s*$`),l("HYPHENRANGELOOSE",`^\\s*(${o[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${o[s.XRANGEPLAINLOOSE]})\\s*$`),l("STAR","(<|>)?=?\\s*\\*"),l("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),l("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})),lt.register("4Y6QE",((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}})),lt.register("36nrx",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),lt.register("ewE0y",(function(e,t){var r=lt("36nrx"),i=lt("4Y6QE"),n=i.MAX_LENGTH,o=i.MAX_SAFE_INTEGER,s=lt("e9hBm"),a=s.re,l=s.t,c=lt("kQXIc"),u=lt("5niLa").compareIdentifiers;class d{constructor(e,t){if(t=c(t),e instanceof d){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 i=e.trim().match(t.loose?a[l.LOOSE]:a[l.FULL]);if(!i)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+i[1],this.minor=+i[2],this.patch=+i[3],this.major>o||0>this.major)throw new TypeError("Invalid major version");if(this.minor>o||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>o||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=i[4]?i[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&o>t)return t}return e})):[],this.build=i[5]?i[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 d)){if("string"==typeof e&&e===this.version)return 0;e=new d(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof d||(e=new d(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof d||(e=new d(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 i=this.prerelease[t],n=e.prerelease[t];if(r("prerelease compare",t,i,n),void 0===i&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(i!==n)return u(i,n)}while(++t)}compareBuild(e){e instanceof d||(e=new d(e,this.options));let t=0;do{const i=this.build[t],n=e.build[t];if(r("prerelease compare",t,i,n),void 0===i&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===i)return-1;if(i!==n)return u(i,n)}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&&(0===u(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=d})),lt.register("kQXIc",((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)),{}):{}})),lt.register("5niLa",((e,t)=>{const r=/^[0-9]+$/,i=(e,t)=>{const i=r.test(e),n=r.test(t);return i&&n&&(e=+e,t=+t),e===t?0:i&&!n?-1:n&&!i?1:t>e?-1:1};e.exports={compareIdentifiers:i,rcompareIdentifiers(e,t){return i(t,e)}}})),lt.register("9pDo3",((e,t)=>{var r=lt("4Y6QE").MAX_LENGTH,i=lt("e9hBm"),n=i.re,o=i.t,s=lt("ewE0y"),a=lt("kQXIc");e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?n[o.LOOSE]:n[o.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}})),lt.register("kULaE",((e,t)=>{var r=lt("9pDo3");e.exports=(e,t)=>{const i=r(e,t);return i?i.version:null}})),lt.register("kVpax",((e,t)=>{var r=lt("9pDo3");e.exports=(e,t)=>{const i=r(e.trim().replace(/^[=v]+/,""),t);return i?i.version:null}})),lt.register("h6Vge",((e,t)=>{var r=lt("ewE0y");e.exports=(e,t,i,n)=>{"string"==typeof i&&(n=i,i=void 0);try{return new r(e instanceof r?e.version:e,i).inc(t,n).version}catch(e){return null}}})),lt.register("3u0pC",((e,t)=>{var r=lt("9pDo3"),i=lt("13Au1");e.exports=(e,t)=>{if(i(e,t))return null;{const i=r(e),n=r(t),o=i.prerelease.length||n.prerelease.length,s=o?"pre":"",a=o?"prerelease":"";for(const e in i)if(("major"===e||"minor"===e||"patch"===e)&&i[e]!==n[e])return s+e;return a}}})),lt.register("13Au1",((e,t)=>{var r=lt("odmNz");e.exports=(e,t,i)=>0===r(e,t,i)})),lt.register("odmNz",((e,t)=>{var r=lt("ewE0y");e.exports=(e,t,i)=>new r(e,i).compare(new r(t,i))})),lt.register("ehbTi",((e,t)=>{var r=lt("ewE0y");e.exports=(e,t)=>new r(e,t).major})),lt.register("gKZZ5",((e,t)=>{var r=lt("ewE0y");e.exports=(e,t)=>new r(e,t).minor})),lt.register("aLUuB",((e,t)=>{var r=lt("ewE0y");e.exports=(e,t)=>new r(e,t).patch})),lt.register("janoF",((e,t)=>{var r=lt("9pDo3");e.exports=(e,t)=>{const i=r(e,t);return i&&i.prerelease.length?i.prerelease:null}})),lt.register("jBQST",((e,t)=>{var r=lt("odmNz");e.exports=(e,t,i)=>r(t,e,i)})),lt.register("jTcyr",((e,t)=>{var r=lt("odmNz");e.exports=(e,t)=>r(e,t,!0)})),lt.register("34MvR",((e,t)=>{var r=lt("ewE0y");e.exports=(e,t,i)=>{const n=new r(e,i),o=new r(t,i);return n.compare(o)||n.compareBuild(o)}})),lt.register("fGLgH",((e,t)=>{var r=lt("34MvR");e.exports=(e,t)=>e.sort(((e,i)=>r(e,i,t)))})),lt.register("c3rWp",((e,t)=>{var r=lt("34MvR");e.exports=(e,t)=>e.sort(((e,i)=>r(i,e,t)))})),lt.register("fMkbf",((e,t)=>{var r=lt("odmNz");e.exports=(e,t,i)=>r(e,t,i)>0})),lt.register("KbgdS",((e,t)=>{var r=lt("odmNz");e.exports=(e,t,i)=>0>r(e,t,i)})),lt.register("lMg40",((e,t)=>{var r=lt("odmNz");e.exports=(e,t,i)=>0!==r(e,t,i)})),lt.register("kdktp",((e,t)=>{var r=lt("odmNz");e.exports=(e,t,i)=>r(e,t,i)>=0})),lt.register("kNWZ7",((e,t)=>{var r=lt("odmNz");e.exports=(e,t,i)=>0>=r(e,t,i)})),lt.register("hYtJM",((e,t)=>{var r=lt("13Au1"),i=lt("lMg40"),n=lt("fMkbf"),o=lt("kdktp"),s=lt("KbgdS"),a=lt("kNWZ7");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 i(e,l,c);case">":return n(e,l,c);case">=":return o(e,l,c);case"<":return s(e,l,c);case"<=":return a(e,l,c);default:throw new TypeError("Invalid operator: "+t)}}})),lt.register("3wKw1",((e,t)=>{var r=lt("ewE0y"),i=lt("9pDo3"),n=lt("e9hBm"),o=n.re,s=n.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let n=null;if((t=t||{}).rtl){let t;for(;(t=o[s.COERCERTL].exec(e))&&(!n||n.index+n[0].length!==e.length);)n&&t.index+t[0].length===n.index+n[0].length||(n=t),o[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;o[s.COERCERTL].lastIndex=-1}else n=e.match(o[s.COERCE]);return null===n?null:i(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}})),lt.register("9Bceq",(function(e,t){const r=Symbol();class i{static get ANY(){return r}constructor(e,t){if(t=n(t),e instanceof i){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?s[a.COMPARATORLOOSE]:s[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 i))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new d(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new d(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),o=this.semver.version===e.semver.version,s=!(">="!==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||n||o&&s||a||c}}e.exports=i;var n=lt("kQXIc"),o=lt("e9hBm"),s=o.re,a=o.t,l=lt("hYtJM"),c=lt("36nrx"),u=lt("ewE0y"),d=lt("kEeqW")})),lt.register("kEeqW",(function(e,t){class r{constructor(e,t){if(t=n(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof o)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("||").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=i.get(t);if(r)return r;const n=this.options.loose;e=e.replace(n?c[u.HYPHENRANGELOOSE]:c[u.HYPHENRANGE],O(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(c[u.COMPARATORTRIM],d),s("comparator trim",e);let a=(e=(e=(e=e.replace(c[u.TILDETRIM],p)).replace(c[u.CARETTRIM],h)).split(/\s+/).join(" ")).split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options)));n&&(a=a.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(c[u.COMPARATORLOOSE]))))),s("range list",a);const l=new Map,m=a.map((e=>new o(e,this.options)));for(const e of m){if(f(e))return[e];l.set(e.value,e)}l.size>1&&l.has("")&&l.delete("");const g=[...l.values()];return i.set(t,g),g}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>g(r,t)&&e.set.some((e=>g(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(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const i=new(lt("baiI1"))({max:1e3});var n=lt("kQXIc"),o=lt("9Bceq"),s=lt("36nrx"),a=lt("ewE0y"),l=lt("e9hBm"),c=l.re,u=l.t,d=l.comparatorTrimReplace,p=l.tildeTrimReplace,h=l.caretTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0;const i=e.slice();let n=i.pop();for(;r&&i.length;)r=i.every((e=>n.intersects(e,t))),n=i.pop();return r},v=(e,t)=>(s("comp",e,t),e=b(e,t),s("caret",e),e=w(e,t),s("tildes",e),e=$(e,t),s("xrange",e),e=S(e,t),s("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>e.replace(t.loose?c[u.TILDELOOSE]:c[u.TILDE],((t,r,i,n,o)=>{let a;return s("tilde",e,t,r,i,n,o),y(r)?a="":y(i)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(n)?a=`>=${r}.${i}.0 <${r}.${+i+1}.0-0`:o?(s("replaceTilde pr",o),a=`>=${r}.${i}.${n}-${o} <${r}.${+i+1}.0-0`):a=`>=${r}.${i}.${n} <${r}.${+i+1}.0-0`,s("tilde return",a),a})),b=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?c[u.CARETLOOSE]:c[u.CARET],((t,i,n,o,a)=>{let l;return s("caret",e,t,i,n,o,a),y(i)?l="":y(n)?l=`>=${i}.0.0${r} <${+i+1}.0.0-0`:y(o)?l="0"===i?`>=${i}.${n}.0${r} <${i}.${+n+1}.0-0`:`>=${i}.${n}.0${r} <${+i+1}.0.0-0`:a?(s("replaceCaret pr",a),l="0"===i?"0"===n?`>=${i}.${n}.${o}-${a} <${i}.${n}.${+o+1}-0`:`>=${i}.${n}.${o}-${a} <${i}.${+n+1}.0-0`:`>=${i}.${n}.${o}-${a} <${+i+1}.0.0-0`):(s("no pr"),l="0"===i?"0"===n?`>=${i}.${n}.${o}${r} <${i}.${n}.${+o+1}-0`:`>=${i}.${n}.${o}${r} <${i}.${+n+1}.0-0`:`>=${i}.${n}.${o} <${+i+1}.0.0-0`),s("caret return",l),l}))},$=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>C(e,t))).join(" ")),C=(e,t)=>(e=e.trim()).replace(t.loose?c[u.XRANGELOOSE]:c[u.XRANGE],((r,i,n,o,a,l)=>{s("xRange",e,r,i,n,o,a,l);const c=y(n),u=c||y(o),d=u||y(a);return"="===i&&d&&(i=""),l=t.includePrerelease?"-0":"",c?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&d?(u&&(o=0),a=0,">"===i?(i=">=",u?(n=+n+1,o=0,a=0):(o=+o+1,a=0)):"<="===i&&(i="<",u?n=+n+1:o=+o+1),"<"===i&&(l="-0"),r=`${i+n}.${o}.${a}${l}`):u?r=`>=${n}.0.0${l} <${+n+1}.0.0-0`:d&&(r=`>=${n}.${o}.0${l} <${n}.${+o+1}.0-0`),s("xRange return",r),r})),S=(e,t)=>(s("replaceStars",e,t),e.trim().replace(c[u.STAR],"")),_=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),O=e=>(t,r,i,n,o,s,a,l,c,u,d,p,h)=>`${r=y(i)?"":y(n)?`>=${i}.0.0${e?"-0":""}`:y(o)?`>=${i}.${n}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${l=y(c)?"":y(u)?`<${+c+1}.0.0-0`:y(d)?`<${c}.${+u+1}.0-0`:p?`<=${c}.${u}.${d}-${p}`:e?`<${c}.${u}.${+d+1}-0`:"<="+l}`.trim(),T=(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(s(e[r].semver),e[r].semver!==o.ANY&&e[r].semver.prerelease.length>0){const i=e[r].semver;if(i.major===t.major&&i.minor===t.minor&&i.patch===t.patch)return!0}return!1}return!0}})),lt.register("baiI1",(function(e,t){const r="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,i="undefined"!=typeof AbortController?AbortController:Object.assign(class{constructor(){this.signal=new i.AbortSignal}abort(){this.signal.aborted=!0}},{AbortSignal:class{constructor(){this.aborted=!1}}}),n=new Set,o=(e,t)=>{const r="LRU_CACHE_OPTION_"+e;l(r)&&c(r,e+" option","options."+t,f)},s=(e,t)=>{const r="LRU_CACHE_METHOD_"+e;if(l(r)){const{prototype:i}=f,{get:n}=Object.getOwnPropertyDescriptor(i,e);c(r,e+" method",`cache.${t}()`,n)}},a=(...e)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...e):console.error(...e)},l=e=>!n.has(e),c=(e,t,r,i)=>{n.add(e),a(`The ${t} is deprecated. Please use ${r} instead.`,"DeprecationWarning",e,i)},u=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),d=e=>u(e)?e>256?e>65536?e>4294967296?e>Number.MAX_SAFE_INTEGER?null:p:Uint32Array:Uint16Array:Uint8Array:null;class p extends Array{constructor(e){super(e),this.fill(0)}}class h{constructor(e){if(0===e)return[];const t=d(e);this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class f{constructor(e={}){const{max:t=0,ttl:r,ttlResolution:i=1,ttlAutopurge:s,updateAgeOnGet:c,updateAgeOnHas:p,allowStale:m,dispose:g,disposeAfter:v,noDisposeOnSet:y,noUpdateTTL:w,maxSize:x=0,sizeCalculation:b,fetchMethod:E}=e,{length:$,maxAge:C,stale:S}=e instanceof f?{}:e;if(0!==t&&!u(t))throw new TypeError("max option must be a nonnegative integer");const _=t?d(t):Array;if(!_)throw Error("invalid max value: "+t);if(this.max=t,this.maxSize=x,this.sizeCalculation=b||$,this.sizeCalculation){if(!this.maxSize)throw new TypeError("cannot set sizeCalculation without setting maxSize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=E||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.keyMap=new Map,this.keyList=Array(t).fill(null),this.valList=Array(t).fill(null),this.next=new _(t),this.prev=new _(t),this.head=0,this.tail=0,this.free=new h(t),this.initialFill=1,this.size=0,"function"==typeof g&&(this.dispose=g),"function"==typeof v?(this.disposeAfter=v,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!y,this.noUpdateTTL=!!w,0!==this.maxSize){if(!u(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!m||!!S,this.updateAgeOnGet=!!c,this.updateAgeOnHas=!!p,this.ttlResolution=u(i)||0===i?i:1,this.ttlAutopurge=!!s,this.ttl=r||C||0,this.ttl){if(!u(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const e="LRU_CACHE_UNBOUNDED";l(e)&&(n.add(e),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,f))}S&&o("stale","allowStale"),C&&o("maxAge","ttl"),$&&o("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new p(this.max),this.starts=new p(this.max),this.setItemTTL=(e,t)=>{if(this.starts[e]=0!==t?r.now():0,this.ttls[e]=t,0!==t&&this.ttlAutopurge){const r=setTimeout((()=>{this.isStale(e)&&this.delete(this.keyList[e])}),t+1);r.unref&&r.unref()}},this.updateItemAge=e=>{this.starts[e]=0!==this.ttls[e]?r.now():0};let e=0;const t=()=>{const t=r.now();if(this.ttlResolution>0){e=t;const r=setTimeout((()=>e=0),this.ttlResolution);r.unref&&r.unref()}return t};this.getRemainingTTL=r=>{const i=this.keyMap.get(r);return void 0===i?0:0===this.ttls[i]||0===this.starts[i]?1/0:this.starts[i]+this.ttls[i]-(e||t())},this.isStale=r=>0!==this.ttls[r]&&0!==this.starts[r]&&(e||t())-this.starts[r]>this.ttls[r]}updateItemAge(e){}setItemTTL(e,t){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new p(this.max),this.removeItemSize=e=>this.calculatedSize-=this.sizes[e],this.requireSize=(e,t,r,i)=>{if(!u(r)){if(!i)throw new TypeError("invalid size value (must be positive integer)");if("function"!=typeof i)throw new TypeError("sizeCalculation must be a function");if(r=i(t,e),!u(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r},this.addItemSize=(e,t,r,i)=>{this.sizes[e]=i;const n=this.maxSize-this.sizes[e];for(;this.calculatedSize>n;)this.evict(!0);this.calculatedSize+=this.sizes[e]},this.delete=e=>{if(0!==this.size){const t=this.keyMap.get(e);void 0!==t&&(this.calculatedSize-=this.sizes[t])}return f.prototype.delete.call(this,e)}}removeItemSize(e){}addItemSize(e,t,r,i){}requireSize(e,t,r,i){if(r||i)throw new TypeError("cannot set size without setting maxSize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.tail;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.head);)t=this.prev[t]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.head;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.tail);)t=this.next[t]}isValidIndex(e){return this.keyMap.get(this.keyList[e])===e}*entries(){for(const e of this.indexes())yield[this.keyList[e],this.valList[e]]}*rentries(){for(const e of this.rindexes())yield[this.keyList[e],this.valList[e]]}*keys(){for(const e of this.indexes())yield this.keyList[e]}*rkeys(){for(const e of this.rindexes())yield this.keyList[e]}*values(){for(const e of this.indexes())yield this.valList[e]}*rvalues(){for(const e of this.rindexes())yield this.valList[e]}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const r of this.indexes())if(e(this.valList[r],this.keyList[r],this))return this.get(this.keyList[r],t)}forEach(e,t=this){for(const r of this.indexes())e.call(t,this.valList[r],this.keyList[r],this)}rforEach(e,t=this){for(const r of this.rindexes())e.call(t,this.valList[r],this.keyList[r],this)}get prune(){return s("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(const t of this.rindexes({allowStale:!0}))this.isStale(t)&&(this.delete(this.keyList[t]),e=!0);return e}dump(){const e=[];for(const t of this.indexes()){const r=this.keyList[t],i={value:this.valList[t]};this.ttls&&(i.ttl=this.ttls[t]),this.sizes&&(i.size=this.sizes[t]),e.unshift([r,i])}return e}load(e){this.clear();for(const[t,r]of e)this.set(t,r.value,r)}dispose(e,t,r){}set(e,t,{ttl:r=this.ttl,noDisposeOnSet:i=this.noDisposeOnSet,size:n=0,sizeCalculation:o=this.sizeCalculation,noUpdateTTL:s=this.noUpdateTTL}={}){n=this.requireSize(e,t,n,o);let a=0===this.size?void 0:this.keyMap.get(e);if(void 0===a)a=this.newIndex(),this.keyList[a]=e,this.valList[a]=t,this.keyMap.set(e,a),this.next[this.tail]=a,this.prev[a]=this.tail,this.tail=a,this.size++,this.addItemSize(a,t,e,n),s=!1;else{const r=this.valList[a];t!==r&&(this.isBackgroundFetch(r)?r.__abortController.abort():i||(this.dispose(r,e,"set"),this.disposeAfter&&this.disposed.push([r,e,"set"])),this.removeItemSize(a),this.valList[a]=t,this.addItemSize(a,t,e,n)),this.moveToTail(a)}if(0===r||0!==this.ttl||this.ttls||this.initializeTTLTracking(),s||this.setItemTTL(a,r),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const e=this.valList[this.head];return this.evict(!0),e}}evict(e){const t=this.head,r=this.keyList[t],i=this.valList[t];return this.isBackgroundFetch(i)?i.__abortController.abort():(this.dispose(i,r,"evict"),this.disposeAfter&&this.disposed.push([i,r,"evict"])),this.removeItemSize(t),e&&(this.keyList[t]=null,this.valList[t]=null,this.free.push(t)),this.head=this.next[t],this.keyMap.delete(r),this.size--,t}has(e,{updateAgeOnHas:t=this.updateAgeOnHas}={}){const r=this.keyMap.get(e);return void 0!==r&&!this.isStale(r)&&(t&&this.updateItemAge(r),!0)}peek(e,{allowStale:t=this.allowStale}={}){const r=this.keyMap.get(e);if(void 0!==r&&(t||!this.isStale(r)))return this.valList[r]}backgroundFetch(e,t,r){const n=void 0===t?void 0:this.valList[t];if(this.isBackgroundFetch(n))return n;const o=new i,s={signal:o.signal,options:r},a=Promise.resolve(this.fetchMethod(e,n,s)).then((t=>(o.signal.aborted||this.set(e,t,s.options),t)));return a.__abortController=o,a.__staleWhileFetching=n,void 0===t?(this.set(e,a,s.options),t=this.keyMap.get(e)):this.valList[t]=a,a}isBackgroundFetch(e){return e&&"object"==typeof e&&"function"==typeof e.then&&{}.hasOwnProperty.call(e,"__staleWhileFetching")}async fetch(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,ttl:i=this.ttl,noDisposeOnSet:n=this.noDisposeOnSet,size:o=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL}={}){if(!this.fetchMethod)return this.get(e,{allowStale:t,updateAgeOnGet:r});const l={allowStale:t,updateAgeOnGet:r,ttl:i,noDisposeOnSet:n,size:o,sizeCalculation:s,noUpdateTTL:a};let c=this.keyMap.get(e);if(void 0===c)return this.backgroundFetch(e,c,l);{const i=this.valList[c];if(this.isBackgroundFetch(i))return t&&void 0!==i.__staleWhileFetching?i.__staleWhileFetching:i;if(!this.isStale(c))return this.moveToTail(c),r&&this.updateItemAge(c),i;const n=this.backgroundFetch(e,c,l);return t&&void 0!==n.__staleWhileFetching?n.__staleWhileFetching:n}}get(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet}={}){const i=this.keyMap.get(e);if(void 0!==i){const n=this.valList[i],o=this.isBackgroundFetch(n);if(this.isStale(i))return o?t?n.__staleWhileFetching:void 0:(this.delete(e),t?n:void 0);if(o)return;return this.moveToTail(i),r&&this.updateItemAge(i),n}}connect(e,t){this.prev[t]=e,this.next[e]=t}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return s("del","delete"),this.delete}delete(e){let t=!1;if(0!==this.size){const r=this.keyMap.get(e);if(void 0!==r)if(t=!0,1===this.size)this.clear();else{this.removeItemSize(r);const t=this.valList[r];this.isBackgroundFetch(t)?t.__abortController.abort():(this.dispose(t,e,"delete"),this.disposeAfter&&this.disposed.push([t,e,"delete"])),this.keyMap.delete(e),this.keyList[r]=null,this.valList[r]=null,r===this.tail?this.tail=this.prev[r]:r===this.head?this.head=this.next[r]:(this.next[this.prev[r]]=this.next[r],this.prev[this.next[r]]=this.prev[r]),this.size--,this.free.push(r)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return t}clear(){for(const e of this.rindexes({allowStale:!0})){const t=this.valList[e];if(this.isBackgroundFetch(t))t.__abortController.abort();else{const r=this.keyList[e];this.dispose(t,r,"delete"),this.disposeAfter&&this.disposed.push([t,r,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return s("reset","clear"),this.clear}get length(){return((e,t)=>{const r="LRU_CACHE_PROPERTY_length";if(l(r)){const{prototype:e}=f,{get:t}=Object.getOwnPropertyDescriptor(e,"length");c(r,"length property","cache.size",t)}})(),this.size}}e.exports=f})),lt.register("fThUd",((e,t)=>{var r=lt("kEeqW");e.exports=(e,t,i)=>{try{t=new r(t,i)}catch(e){return!1}return t.test(e)}})),lt.register("kBAIU",((e,t)=>{var r=lt("kEeqW");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),lt.register("9ybja",((e,t)=>{var r=lt("ewE0y"),i=lt("kEeqW");e.exports=(e,t,n)=>{let o=null,s=null,a=null;try{a=new i(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&-1!==s.compare(e)||(o=e,s=new r(o,n)))})),o}})),lt.register("lw7B8",((e,t)=>{var r=lt("ewE0y"),i=lt("kEeqW");e.exports=(e,t,n)=>{let o=null,s=null,a=null;try{a=new i(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(o&&1!==s.compare(e)||(o=e,s=new r(o,n)))})),o}})),lt.register("aGCCN",((e,t)=>{var r=lt("ewE0y"),i=lt("kEeqW"),n=lt("fMkbf");e.exports=(e,t)=>{e=new i(e,t);let o=new r("0.0.0");if(e.test(o))return o;if(o=new r("0.0.0-0"),e.test(o))return o;o=null;for(let t=0;e.set.length>t;++t){let i=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">=":i&&!n(t,i)||(i=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!i||o&&!n(o,i)||(o=i)}return o&&e.test(o)?o:null}})),lt.register("asxHW",((e,t)=>{var r=lt("kEeqW");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),lt.register("5T7ZF",((e,t)=>{var r=lt("ewE0y"),i=lt("9Bceq");const{ANY:n}=i;var o=lt("kEeqW"),s=lt("fThUd"),a=lt("fMkbf"),l=lt("KbgdS"),c=lt("kNWZ7"),u=lt("kdktp");e.exports=(e,t,d,p)=>{let h,f,m,g,v;switch(e=new r(e,p),t=new o(t,p),d){case">":h=a,f=c,m=l,g=">",v=">=";break;case"<":h=l,f=u,m=a,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,p))return!1;for(let r=0;t.set.length>r;++r){let o=null,s=null;if(t.set[r].forEach((e=>{e.semver===n&&(e=new i(">=0.0.0")),o=o||e,s=s||e,h(e.semver,o.semver,p)?o=e:m(e.semver,s.semver,p)&&(s=e)})),o.operator===g||o.operator===v)return!1;if((!s.operator||s.operator===g)&&f(e,s.semver))return!1;if(s.operator===v&&m(e,s.semver))return!1}return!0}})),lt.register("8pZ7x",((e,t)=>{var r=lt("5T7ZF");e.exports=(e,t,i)=>r(e,t,">",i)})),lt.register("jkRb0",((e,t)=>{var r=lt("5T7ZF");e.exports=(e,t,i)=>r(e,t,"<",i)})),lt.register("5obom",((e,t)=>{var r=lt("kEeqW");e.exports=(e,t,i)=>(e=new r(e,i),t=new r(t,i),e.intersects(t))})),lt.register("rDQLp",((e,t)=>{var r=lt("fThUd"),i=lt("odmNz");e.exports=(e,t,n)=>{const o=[];let s=null,a=null;const l=e.sort(((e,t)=>i(e,t,n)));for(const e of l)r(e,t,n)?(a=e,s||(s=e)):(a&&o.push([s,a]),a=null,s=null);s&&o.push([s,null]);const c=[];for(const[e,t]of o)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}})),lt.register("3vJJ8",((e,t)=>{var r=lt("kEeqW"),i=lt("9Bceq");const{ANY:n}=i;var o=lt("fThUd"),s=lt("odmNz");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===n){if(1===t.length&&t[0].semver===n)return!0;e=r.includePrerelease?[new i(">=0.0.0-0")]:[new i(">=0.0.0")]}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=[new i(">=0.0.0")]}const a=new Set;let u,d,p,h,f,m,g;for(const t of e)">"===t.operator||">="===t.operator?u=l(u,t,r):"<"===t.operator||"<="===t.operator?d=c(d,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&d){if(p=s(u.semver,d.semver,r),p>0)return null;if(0===p&&(">="!==u.operator||"<="!==d.operator))return null}for(const e of a){if(u&&!o(e,u+"",r))return null;if(d&&!o(e,d+"",r))return null;for(const i of t)if(!o(e,i+"",r))return!1;return!0}let v=!(!d||r.includePrerelease||!d.semver.prerelease.length)&&d.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;v&&1===v.prerelease.length&&"<"===d.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(g=g||">"===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(h=l(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!o(u.semver,e+"",r))return!1;if(d)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=c(d,e,r),f===e&&f!==d)return!1}else if("<="===d.operator&&!o(d.semver,e+"",r))return!1;if(!e.operator&&(d||u)&&0!==p)return!1}return!(u&&m&&!d&&0!==p||d&&g&&!u&&0!==p||y||v)},l=(e,t,r)=>{if(!e)return t;const i=s(e.semver,t.semver,r);return i>0?e:0>i||">"===t.operator&&">="===e.operator?t:e},c=(e,t,r)=>{if(!e)return t;const i=s(e.semver,t.semver,r);return 0>i?e:i>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,i={})=>{if(e===t)return!0;e=new r(e,i),t=new r(t,i);let n=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,i);if(n=n||null!==t,t)continue e}if(n)return!1}return!0}})),lt.register("8XxoC",((e,t)=>{var r=lt("7tyCH"),i=lt("cyw4a");e.exports=(e,t,n)=>{var o=t&&n||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;16>a;++a)t[o+a]=s[a];return t||i(s)}})),lt.register("7tyCH",((e,t)=>{e.exports=()=>Ze(16)})),lt.register("cyw4a",((e,t)=>{for(var r=[],i=0;256>i;++i)r[i]=(i+256).toString(16).substr(1);e.exports=(e,t)=>{var i=t||0;return""+r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+"-"+r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]+r[e[i++]]}})),lt.register("eGKv1",(function(e,t){function r(e,t,r){return s(this,void 0,void 0,(function*(){const i=a.argStringToArray(e);if(0===i.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const n=i[0];return t=i.slice(1).concat(t||[]),new a.ToolRunner(n,t,r).exec()}))}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=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}),o=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 n(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;const a=o(lt("fGrvc"));e.exports.exec=r,e.exports.getExecOutput=function(e,t,i){var n,o;return s(this,void 0,void 0,(function*(){let s="",a="";const l=new Qe("utf8"),c=new Qe("utf8"),u=null===(n=null==i?void 0:i.listeners)||void 0===n?void 0:n.stdout,d=null===(o=null==i?void 0:i.listeners)||void 0===o?void 0:o.stderr,p=Object.assign(Object.assign({},null==i?void 0:i.listeners),{stdout(e){s+=l.write(e),u&&u(e)},stderr(e){a+=c.write(e),d&&d(e)}}),h=yield r(e,t,Object.assign(Object.assign({},i),{listeners:p}));return s+=l.end(),a+=c.end(),{exitCode:h,stdout:s,stderr:a}}))}})),lt.register("fGrvc",(function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=t[r]}),i=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 n in e)"default"!==n&&Object.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t}),o=e.exports&&e.exports.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const s=n(Ge),a=n(Xe),l=n(Je),c=n(Be),u=n(lt("2fNe7")),d=n(lt("0VvfX")),p="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(),i=this._getSpawnArgs(e);let n=t?"":"[command]";if(p)if(this._isCmdFile()){n+=r;for(const e of i)n+=" "+e}else if(e.windowsVerbatimArguments){n+=`"${r}"`;for(const e of i)n+=" "+e}else{n+=this._windowsQuoteCmdArg(r);for(const e of i)n+=" "+this._windowsQuoteCmdArg(e)}else{n+=r;for(const e of i)n+=" "+e}return n}_processLineBuffer(e,t,r){try{let i=t+""+e,n=i.indexOf(s.EOL);for(;n>-1;)r(i.substring(0,n)),i=i.substring(n+s.EOL.length),n=i.indexOf(s.EOL);return i}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return p&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(p&&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 i of e)if(t.some((e=>e===i))){r=!0;break}if(!r)return e;let i='"',n=!0;for(let t=e.length;t>0;t--)i+=e[t-1],n&&"\\"===e[t-1]?i+="\\":'"'===e[t-1]?(n=!0,i+='"'):n=!1;return i+='"',i.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 i=e.length;i>0;i--)t+=e[i-1],r&&"\\"===e[i-1]?t+="\\":'"'===e[i-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 o(this,void 0,void 0,(function*(){return!d.isRooted(this.toolPath)&&(this.toolPath.includes("/")||p&&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)=>o(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)+s.EOL);const i=new h(r,this.toolPath);if(i.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield d.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const n=this._getSpawnFileName(),o=l.spawn(n,this._getSpawnArgs(r),this._getSpawnOptions(this.options,n));let a="";o.stdout&&o.stdout.on("data",(e=>{this.options.listeners&&this.options.listeners.stdout&&this.options.listeners.stdout(e),!r.silent&&r.outStream&&r.outStream.write(e),a=this._processLineBuffer(e,a,(e=>{this.options.listeners&&this.options.listeners.stdline&&this.options.listeners.stdline(e)}))}));let c="";if(o.stderr&&o.stderr.on("data",(e=>{i.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),c=this._processLineBuffer(e,c,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),o.on("error",(e=>{i.processError=e.message,i.processExited=!0,i.processClosed=!0,i.CheckComplete()})),o.on("exit",(e=>{i.processExitCode=e,i.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),i.CheckComplete()})),o.on("close",(e=>{i.processExitCode=e,i.processExited=!0,i.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),i.CheckComplete()})),i.on("done",((r,i)=>{a.length>0&&this.emit("stdline",a),c.length>0&&this.emit("errline",c),o.removeAllListeners(),r?t(r):e(i)})),this.options.input){if(!o.stdin)throw Error("child process missing stdin");o.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){n&&'"'!==e&&(o+="\\"),o+=e,n=!1}const r=[];let i=!1,n=!1,o="";for(let s=0;e.length>s;s++){const a=e.charAt(s);'"'!==a?"\\"===a&&n?t(a):"\\"===a&&i?n=!0:" "!==a||i?t(a):o.length>0&&(r.push(o),o=""):n?t(a):i=!i}return o.length>0&&r.push(o.trim()),r};class h 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=et(h.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())}}})),lt.register("ddrZ4",((e,t)=>{e.exports=import("./actions_python.dfab21e0.js").then((()=>lt("doiKQ")))})),lt.register("gGvz1",((e,t)=>{function r(e){Array.isArray(e)||(e=[e]);for(const t of e){const{id:e,data:r}=t;l[e]=r}}function i(e,t,r){const i=(e=>{const t=l[e.locale];let r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType),r=Array.from(new Set(r));let i=null;if(r.some((e=>{if(void 0!==t[e])return i=t[e],!0})),null===i)throw Error("Can not find any unit type data for locale: "+e.locale);return i})(r);return n.pluralize(r.locale,t,i[e]).replace("{0}",t)}var n=lt("xu1bL"),o=lt("7IZzv");const s=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},l={};e.exports={create(e){return e=Object.assign({},a,e||{}),{format(t,n,a){return((e,t,n)=>{if(((e,t)=>{const{autoload:i}=t;if(!l[e]){if(!o||!i)throw Error(`Missing locale: ${e}, you must load it manually before using it`);(e=>{try{r(require(`../locales/${e}.js`))}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`)}})(e)}})(n.locale,{autoload:n.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");const a=((e,t)=>{let r=t-e;const i=[];return s.some((e=>{const t=e[0],n=e[1],o=Math.floor(r/n);if(r-=o*n,i.push([t,o]),0>=r)return!0})),i})(e,t),c=[];for(const e of a){const[t,r]=e;if(r>0&&c.push(i(t,r,n)),c.length>=n.span)break}return c.join(n.delimiter)})(t,n,a=Object.assign({},e,a||{}))}}},addLocale:r,defaultConfig:a}})),lt.register("xu1bL",((e,t)=>{e.exports=lt("lhBDm")})),lt.register("lhBDm",(function(e,t){var r=$gCrli$resolve(__dirname,"../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){function t(e,t,r){if(i(e),"object"!=typeof r)throw Error("List of variants should be specified as an object");var o=n[e](t);return void 0!==r[o]?r[o]:null}function i(e){(e=>void 0!==n[e])(e)||(e=>{try{require(r+"/../locales/"+e+".js")}catch(t){throw Error("Failed to load the following locale: "+e)}})(e)}var n={},o={create(e){return i(e),{pluralize(r,i){return t(e,r,i)}}},addLocale(e,t){n[e]=t},pluralize:t};void 0!==e.exports?e.exports=o:this.numerous=o}).call(e.exports)})),lt.register("7IZzv",((e,t)=>{e.exports=!("undefined"==typeof process||!process.versions||!process.versions.node)}));var ct=lt("gF2Jd"),ut={};const dt="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,pt=dt?";":":";var ht,ft={};ht="win32"===process.platform||ot.TESTING_WINDOWS?lt("jUvGx"):lt("lNi8N"),ft=r,r.sync=(e,t)=>{try{return ht.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const mt=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),gt=(e,t)=>{const r=t.colon||pt,i=e.match(/\//)||dt&&e.match(/\\/)?[""]:[...dt?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],n=dt?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",o=dt?n.split(r):[""];return dt&&-1!==e.indexOf(".")&&""!==o[0]&&o.unshift(""),{pathEnv:i,pathExt:o,pathExtExe:n}},vt=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:i,pathExt:n,pathExtExe:o}=gt(e,t),s=[],a=r=>new Promise(((n,o)=>{if(r===i.length)return t.all&&s.length?n(s):o(mt(e));const a=i[r],c=/^".*"$/.test(a)?a.slice(1,-1):a,u=$gCrli$join(c,e),d=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;n(l(d,r,0))})),l=(e,r,i)=>new Promise(((c,u)=>{if(i===n.length)return c(a(r+1));const d=n[i];ft(e+d,{pathExt:o},((n,o)=>{if(!n&&o){if(!t.all)return c(e+d);s.push(e+d)}return c(l(e,r,i+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let yt;ut=vt,vt.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:i,pathExtExe:n}=gt(e,t),o=[];for(let s=0;r.length>s;s++){const a=r[s],l=/^".*"$/.test(a)?a.slice(1,-1):a,c=$gCrli$join(l,e),u=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+c:c;for(let e=0;i.length>e;e++){const r=u+i[e];try{if(ft.sync(r,{pathExt:n})){if(!t.all)return r;o.push(r)}}catch(e){}}}if(t.all&&o.length)return o;if(t.nothrow)return null;throw mt(e)};var wt,xt={},bt={},Et={},$t={};const Ct=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};var St,_t;($t=Ct).default=Ct,wt=e=>n(e)||n(e,!0);const Ot=/([()\][%!^"`<>&|;, *?])/g;St=e=>e.replace(Ot,"^$1"),_t=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Ot,"^$1"),t&&(e=e.replace(Ot,"^$1")),e);var Tt,Rt,It;Rt=/^#!(.*)/,Tt=(e="")=>{const t=e.match(Rt);if(!t)return null;const[r,i]=t[0].replace(/#! ?/,"").split(" "),n=r.split("/").pop();return"env"===n?i:i?`${n} ${i}`:n},It=e=>{const t=Buffer.alloc(150);let r;try{r=$gCrli$openSync(e,"r"),$gCrli$readSync(r,t,0,150,0),$gCrli$closeSync(r)}catch(e){}return Tt(""+t)};const At="win32"===process.platform,Pt=/\.(?:com|exe)$/i,kt=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;Et=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const i={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?i:(e=>{if(!At)return e;const t=(e=>{e.file=wt(e);const t=e.file&&It(e.file);return t?(e.args.unshift(e.file),e.command=t,wt(e)):e.file})(e),r=!Pt.test(t);if(e.options.forceShell||r){const r=kt.test(t);e.command=$gCrli$normalize(e.command),e.command=St(e.command),e.args=e.args.map((e=>_t(e,r)));const i=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${i}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(i)};var Nt={};const Lt="win32"===process.platform;var Dt;Nt={hookChildProcess(e,t){if(!Lt)return;const r=e.emit;e.emit=function(i,n){if("exit"===i){const i=s(n,t);if(i)return r.call(e,"error",i)}return r.apply(e,arguments)}},verifyENOENT:s,verifyENOENTSync(e,t){return Lt&&1===e&&!t.file?o(t.original,"spawnSync"):null},notFoundError:o},(bt=a).spawn=a,bt.sync=(e,t,r)=>{const i=Et(e,t,r),n=$gCrli$spawnSync(i.command,i.args,i.options);return n.error=n.error||Nt.verifyENOENTSync(n.status,i),n},bt._parse=Et,bt._enoent=Nt,Dt=e=>{const t="string"==typeof e?"\r":13;return e[e.length-1]===("string"==typeof e?"\n":10)&&(e=e.slice(0,e.length-1)),e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e};var jt={};const Mt=e=>{let t;e={cwd:process.cwd(),path:process.env[$t()],execPath:process.execPath,...e};let r=$gCrli$resolve(e.cwd);const i=[];for(;t!==r;)i.push($gCrli$join(r,"node_modules/.bin")),t=r,r=$gCrli$resolve(r,"..");const n=$gCrli$resolve(e.cwd,e.execPath,"..");return i.push(n),i.concat(e.path).join($gCrli$delimiter)};(jt=Mt).default=Mt,jt.env=e=>{const t={...(e={env:process.env,...e}).env},r=$t({env:t});return e.path=t[r],t[r]=jt(e),t};var Ut={},Ft={};const Gt=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(Ft=Gt).default=Gt;const zt=new WeakMap,Bt=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,i=0;const n=e.displayName||e.name||"",o=function(...s){if(zt.set(o,++i),1===i)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${n}\` can only be called once`);return r};return Ft(o,e),zt.set(o,i),o};(Ut=Bt).default=Bt,Ut.callCount=e=>{if(!zt.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return zt.get(e)};var Ht,qt={};Object.defineProperty(qt,"__esModule",{value:!0}),qt.signalsByNumber=qt.signalsByName=void 0;var Vt={};Object.defineProperty(Vt,"__esModule",{value:!0}),Vt.getSignals=void 0;var Wt={};Object.defineProperty(Wt,"__esModule",{value:!0}),Wt.SIGNALS=void 0,Wt.SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var Xt={};Object.defineProperty(Xt,"__esModule",{value:!0}),Xt.SIGRTMAX=Xt.getRealtimeSignals=void 0,Xt.getRealtimeSignals=()=>Array.from({length:Jt-Kt+1},Yt);const Yt=(e,t)=>({name:"SIGRT"+(t+1),number:Kt+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),Kt=34,Jt=64;Xt.SIGRTMAX=Jt,Vt.getSignals=()=>{const e=(0,Xt.getRealtimeSignals)();return[...Wt.SIGNALS,...e].map(Zt)};const Zt=({name:e,number:t,description:r,action:i,forced:n=!1,standard:o})=>{const{signals:{[e]:s}}=$gCrli$constants1,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:i,forced:n,standard:o}},Qt=(0,Vt.getSignals)().reduce(((e,{name:t,number:r,description:i,supported:n,action:o,forced:s,standard:a})=>({...e,[t]:{name:t,number:r,description:i,supported:n,action:o,forced:s,standard:a}})),{});qt.signalsByName=Qt;const er=(()=>{const e=(0,Vt.getSignals)(),t=Array.from({length:Xt.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>$gCrli$constants1.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:i,description:n,supported:o,action:s,forced:a,standard:l}=r;return{[e]:{name:i,number:e,description:n,supported:o,action:s,forced:a,standard:l}}})(r,e)));return Object.assign({},...t)})();qt.signalsByNumber=er;var tr=qt.signalsByName;Ht=({stdout:e,stderr:t,all:r,error:i,signal:n,exitCode:o,command:s,escapedCommand:a,timedOut:l,isCanceled:c,killed:u,parsed:{options:{timeout:d}}})=>{const p=void 0===(n=null===n?void 0:n)?void 0:tr[n].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:i,signalDescription:n,exitCode:o,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==i?`was killed with ${i} (${n})`:void 0!==o?"failed with exit code "+o:"failed")({timedOut:l,timeout:d,errorCode:i&&i.code,signal:n,signalDescription:p,exitCode:o=null===o?void 0:o,isCanceled:c}),f=`Command ${h}: ${s}`,m="[object Error]"==={}.toString.call(i),g=m?`${f}\n${i.message}`:f,v=[g,t,e].filter(Boolean).join("\n");return m?(i.originalMessage=i.message,i.message=v):i=Error(v),i.shortMessage=g,i.command=s,i.escapedCommand=a,i.exitCode=o,i.signal=n,i.signalDescription=p,i.stdout=e,i.stderr=t,void 0!==r&&(i.all=r),"bufferedData"in i&&delete i.bufferedData,i.failed=!0,i.timedOut=!!l,i.isCanceled=c,i.killed=u&&!l,i};var rr={};const ir=["stdin","stdout","stderr"],nr=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return ir.map((t=>e[t]));if((e=>ir.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+ir.map((e=>`\`${e}\``)).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,ir.length)},((e,r)=>t[r]))};(rr=nr).node=e=>{const t=nr(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var or,sr={},ar=ot.process;const lr=e=>e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;if(lr(ar)){var cr,ur=Ye,dr=lt("3FPvT"),pr=/^win/i.test(ar.platform),hr=Xe;"function"!=typeof hr&&(hr=hr.EventEmitter),ar.__signal_exit_emitter__?cr=ar.__signal_exit_emitter__:((cr=ar.__signal_exit_emitter__=new hr).count=0,cr.emitted={}),cr.infinite||(cr.setMaxListeners(1/0),cr.infinite=!0),sr=(e,t)=>{if(!lr(ot.process))return()=>{};ur.equal(typeof e,"function","a callback must be provided for exit handler"),!1===vr&&yr();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),cr.on(r,e),()=>{cr.removeListener(r,e),0===cr.listeners("exit").length&&0===cr.listeners("afterexit").length&&fr()}};var fr=()=>{vr&&lr(ot.process)&&(vr=!1,dr.forEach((e=>{try{ar.removeListener(e,gr[e])}catch(e){}})),ar.emit=br,ar.reallyExit=wr,cr.count-=1)};sr.unload=fr;var mr=(e,t,r)=>{cr.emitted[e]||(cr.emitted[e]=!0,cr.emit(e,t,r))},gr={};dr.forEach((e=>{gr[e]=()=>{lr(ot.process)&&ar.listeners(e).length===cr.count&&(fr(),mr("exit",null,e),mr("afterexit",null,e),pr&&"SIGHUP"===e&&(e="SIGINT"),ar.kill(ar.pid,e))}})),sr.signals=()=>dr;var vr=!1,yr=()=>{!vr&&lr(ot.process)&&(vr=!0,cr.count+=1,dr=dr.filter((e=>{try{return ar.on(e,gr[e]),!0}catch(e){return!1}})),ar.emit=Er,ar.reallyExit=xr)};sr.load=yr;var wr=ar.reallyExit,xr=e=>{lr(ot.process)&&(ar.exitCode=e||0,mr("exit",ar.exitCode,null),mr("afterexit",ar.exitCode,null),wr.call(ar,ar.exitCode))},br=ar.emit,Er=function(e,t){if("exit"===e&&lr(ot.process)){void 0!==t&&(ar.exitCode=t);var r=br.apply(this,arguments);return mr("exit",ar.exitCode,null),mr("afterexit",ar.exitCode,null),r}return br.apply(this,arguments)}}else sr=()=>()=>{};const $r=e=>e===$gCrli$constants1.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var Cr,Sr=(or={spawnedKill(e,t="SIGTERM",r={}){const i=e(t);return((e,t,r,i)=>{if(!((e,{forceKillAfterTimeout:t},r)=>$r(e)&&!1!==t&&r)(t,r,i))return;const n=(({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||0>e)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e})(r),o=setTimeout((()=>{e("SIGKILL")}),n);o.unref&&o.unref()})(e,t,r,i),i},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},i){if(0===t||void 0===t)return i;let n;const o=new Promise(((i,o)=>{n=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,o)}),t)})),s=i.finally((()=>{clearTimeout(n)}));return Promise.race([o,s])},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||0>e))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},async setExitHandler(e,{cleanup:t,detached:r},i){if(!t||r)return i;const n=sr((()=>{e.kill()}));return i.finally((()=>{n()}))}}).spawnedKill,_r=or.spawnedCancel,Or=or.setupTimeout,Tr=or.validateTimeout,Rr=or.setExitHandler,Ir={};const Ar=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;Ar.writable=e=>Ar(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,Ar.readable=e=>Ar(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,Ar.duplex=e=>Ar.writable(e)&&Ar.readable(e),Ar.transform=e=>Ar.duplex(e)&&"function"==typeof e._transform,Ir=Ar;var Pr,kr={},Nr=tt,Lr=$gCrli$promisify,Dr=$gCrli$PassThrough;Pr=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const i="buffer"===r;let n=!1;t?n=!(r||i):r=r||"utf8",i&&(r=null);const o=new Dr({objectMode:n});r&&o.setEncoding(r);let s=0;const a=[];return o.on("data",(e=>{a.push(e),n?s=a.length:s+=e.length})),o.getBufferedValue=()=>t?a:i?Buffer.concat(a,s):a.join(""),o.getBufferedLength=()=>s,o};const jr=Lr($gCrli$pipeline);class Mr extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(kr=l).buffer=(e,t)=>l(e,{...t,encoding:"buffer"}),kr.array=(e,t)=>l(e,{...t,array:!0}),kr.MaxBufferError=Mr;var Ur,Fr=$gCrli$PassThrough;Ur=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(i.push(t),t.once("end",r.bind(null,t)),t.once("error",n.emit.bind(n,"error")),t.pipe(n,{end:!1}),this)}function t(){return 0==i.length}function r(e){!(i=i.filter((t=>t!==e))).length&&n.readable&&n.end()}var i=[],n=new Fr({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=t,n.on("unpipe",r),[].slice.call(arguments).forEach(e),n};const Gr=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},zr=(e,{encoding:t,buffer:r,maxBuffer:i})=>{if(e&&r)return t?kr(e,{encoding:t,maxBuffer:i}):kr.buffer(e,{maxBuffer:i})};var Br,Hr=(Cr={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(Ir(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=Ur();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:i,buffer:n,maxBuffer:o},s){const a=zr(e,{encoding:i,buffer:n,maxBuffer:o}),l=zr(t,{encoding:i,buffer:n,maxBuffer:o}),c=zr(r,{encoding:i,buffer:n,maxBuffer:2*o});try{return await Promise.all([s,a,l,c])}catch(i){return Promise.all([{error:i,signal:i.signal,timedOut:i.timedOut},Gr(e,a),Gr(t,l),Gr(r,c)])}},validateInputSync({input:e}){if(Ir(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,qr=Cr.getSpawnedResult,Vr=Cr.makeAllStream,Wr=Cr.validateInputSync;const Xr=(async()=>{})().constructor.prototype,Yr=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(Xr,e)]));var Kr,Jr=(Br={mergePromise(e,t){for(const[r,i]of Yr){const n="function"==typeof t?(...e)=>Reflect.apply(i.value,t(),e):i.value.bind(t);Reflect.defineProperty(e,r,{...i,value:n})}return e},getSpawnedPromise(e){return new Promise(((t,r)=>{e.on("exit",((e,r)=>{t({exitCode:e,signal:r})})),e.on("error",(e=>{r(e)})),e.stdin&&e.stdin.on("error",(e=>{r(e)}))}))}}).mergePromise,Zr=Br.getSpawnedPromise;const Qr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],ei=/^[\w.-]+$/,ti=/"/g,ri=/ +/g;var ii=(Kr={joinCommand(e,t){return Qr(e,t).join(" ")},getEscapedCommand(e,t){return Qr(e,t).map((e=>(e=>"string"!=typeof e||ei.test(e)?e:`"${e.replace(ti,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(ri)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,ni=Kr.parseCommand,oi=Kr.getEscapedCommand;const si=(e,t,r={})=>{const i=bt._parse(e,t,r);return e=i.command,t=i.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=i.options).cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r}).env=(({env:e,extendEnv:t,preferLocal:r,localDir:i,execPath:n})=>{const o=t?{...process.env,...e}:e;return r?jt.env({env:o,cwd:i,execPath:n}):o})(r),r.stdio=rr(r),"win32"===process.platform&&"cmd"===$gCrli$basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:i}},ai=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?Dt(t):t:void 0===r?void 0:"",li=(e,t,r)=>{const i=si(e,t,r),n=ii(e,t),o=oi(e,t);let s;Tr(i.options);try{s=$gCrli$spawn(i.file,i.args,i.options)}catch(e){const t=new $gCrli$ChildProcess,r=Promise.reject(Ht({error:e,stdout:"",stderr:"",all:"",command:n,escapedCommand:o,parsed:i,timedOut:!1,isCanceled:!1,killed:!1}));return Jr(t,r)}const a=Zr(s),l=Or(s,i.options,a),c=Rr(s,i.options,l),u={isCanceled:!1};s.kill=Sr.bind(null,s.kill.bind(s)),s.cancel=_r.bind(null,s,u);const d=Ut((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},l,d,p]=await qr(s,i.options,c),h=ai(i.options,l),f=ai(i.options,d),m=ai(i.options,p);if(e||0!==t||null!==r){const l=Ht({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:n,escapedCommand:o,parsed:i,timedOut:a,isCanceled:u.isCanceled,killed:s.killed});if(!i.options.reject)return l;throw l}return{command:n,escapedCommand:o,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return Hr(s,i.options.input),s.all=Vr(s,i.options),Jr(s,d)};(xt=li).sync=(e,t,r)=>{const i=si(e,t,r),n=ii(e,t),o=oi(e,t);let s;Wr(i.options);try{s=$gCrli$spawnSync(i.file,i.args,i.options)}catch(e){throw Ht({error:e,stdout:"",stderr:"",all:"",command:n,escapedCommand:o,parsed:i,timedOut:!1,isCanceled:!1,killed:!1})}const a=ai(i.options,s.stdout,s.error),l=ai(i.options,s.stderr,s.error);if(s.error||0!==s.status||null!==s.signal){const e=Ht({stdout:a,stderr:l,error:s.error,signal:s.signal,exitCode:s.status,command:n,escapedCommand:o,parsed:i,timedOut:s.error&&"ETIMEDOUT"===s.error.code,isCanceled:!1,killed:null!==s.signal});if(!i.options.reject)return e;throw e}return{command:n,escapedCommand:o,exitCode:0,stdout:a,stderr:l,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},xt.command=(e,t)=>{const[r,...i]=ni(e);return li(r,i,t)},xt.commandSync=(e,t)=>{const[r,...i]=ni(e);return li.sync(r,i,t)},xt.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const i=rr.node(r),n=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:o=process.execPath,nodeOptions:s=n}=r;return li(o,[...s,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:i,shell:!1})},ct=lt("gF2Jd");var ci,ui=lt("ywN2f");ct=lt("gF2Jd"),ui=lt("ywN2f");const di=$gCrli$homedir();ci=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return di?e.replace(/^~(?=$|\/|\\)/,di):e};var pi=lt("81ovw");let hi;var fi;const mi="win32"!==$gCrli$platform(),gi=$gCrli$release(),vi=/(\d+\.\d+)\.(\d+)/;fi=e=>mi?e.replace(/(\s+)/g,"\\$1"):((e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184)(...vi.exec(gi).splice(1))?e:e.replace(/(\s+)/g,"%20");const yi=d(".cpprc");let wi=!1,xi=!1,bi=!1;pi=lt("81ovw");let Ei=!1,$i=!1;ct=lt("gF2Jd");let Ci,Si=!1;ct=lt("gF2Jd"),pi=lt("81ovw");let _i,Oi,Ti,Ri=!1;pi=lt("81ovw");var Ii=lt("2fNe7"),Ai=(pi=lt("81ovw"),{}),Pi=$gCrli$resolve(__dirname,"../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),ki=Ai&&Ai.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=t[r]}),Ni=Ai&&Ai.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Li=Ai&&Ai.__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)&&ki(t,e,r);return Ni(t,e),t}),Di=Ai&&Ai.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))),ji=Ai&&Ai.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Ai,"__esModule",{value:!0}),Ai.evaluateVersions=Ai.isExplicitVersion=Ai.findFromManifest=Ai.getManifestFromRepo=Ai.findAllVersions=Ai.find=Ai.cacheFile=Ai.cacheDir=Ai.extractZip=Ai.extractXar=Ai.extractTar=Ai.extract7z=Ai.downloadTool=Ai.HTTPError=void 0;const Mi=Li(lt("gF2Jd")),Ui=Li(lt("2fNe7")),Fi=Li(He),Gi=Li(lt("biqIc")),zi=Li(Ge),Bi=Li(Be),Hi=Li(lt("9kh6d")),qi=Li(lt("dsEdn")),Vi=Li(rt),Wi=Li(Ke),Xi=ji(lt("8XxoC"));var Yi=lt("eGKv1"),Ki={},Ji=Ki&&Ki.__createBinding||(Object.create?(e,t,r,i)=>{void 0===i&&(i=r),Object.defineProperty(e,i,{enumerable:!0,get(){return t[r]}})}:(e,t,r,i)=>{void 0===i&&(i=r),e[i]=t[r]}),Zi=Ki&&Ki.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Qi=Ki&&Ki.__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)&&Ji(t,e,r);return Zi(t,e),t}),en=Ki&&Ki.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())})));Object.defineProperty(Ki,"__esModule",{value:!0}),Ki.RetryHelper=void 0;const tn=Qi(lt("gF2Jd"));Ki.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 en(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;tn.info(e.message)}const i=this.getSleepAmount();tn.info(`Waiting ${i} seconds before trying again`),yield this.sleep(i),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return en(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class rn extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Ai.HTTPError=rn;const nn="win32"===process.platform,on="darwin"===process.platform;let sn;Ai.downloadTool=function(e,t,r,i){return Di(this,void 0,void 0,(function*(){t=t||Bi.join(B(),Xi.default()),yield Ui.mkdirP(Bi.dirname(t)),Mi.debug("Downloading "+e),Mi.debug("Destination "+t);const n=H("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),o=H("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new Ki.RetryHelper(3,n,o);return yield s.execute((()=>Di(this,void 0,void 0,(function*(){return yield function(e,t,r,i){return Di(this,void 0,void 0,(function*(){if(Fi.existsSync(t))throw Error(`Destination file path ${t} already exists`);const n=new Hi.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Mi.debug("set auth"),void 0===i&&(i={}),i.authorization=r);const o=yield n.get(e,i);if(200!==o.message.statusCode){const t=new rn(o.message.statusCode);throw Mi.debug(`Failed to download from "${e}". Code(${o.message.statusCode}) Message(${o.message.statusMessage})`),t}const s=Wi.promisify(Vi.pipeline),a=H("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>o.message))();let l=!1;try{return yield s(a,Fi.createWriteStream(t)),Mi.debug("download complete"),l=!0,t}finally{if(!l){Mi.debug("download failed");try{yield Ui.rmRF(t)}catch(e){Mi.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,i)}))),(e=>!(e instanceof rn&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Ai.extract7z=function(e,t,r){return Di(this,void 0,void 0,(function*(){$gCrli$ok(nn,"extract7z() not supported on current OS"),$gCrli$ok(e,'parameter "file" is required'),t=yield j(t);const i=process.cwd();if(process.chdir(t),r)try{const t=["x",Mi.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],n={silent:!0};yield Yi.exec(`"${r}"`,t,n)}finally{process.chdir(i)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Bi.join(Pi,"..","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,"")}'`],n={silent:!0};try{const e=yield Ui.which("powershell",!0);yield Yi.exec(`"${e}"`,r,n)}finally{process.chdir(i)}}return t}))},Ai.extractTar=function(e,t,r="xz"){return Di(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield j(t),Mi.debug("Checking tar --version");let i="";yield Yi.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return i+=""+e},stderr(e){return i+=""+e}}}),Mi.debug(i.trim());const n=i.toUpperCase().includes("GNU TAR");let o;o=r instanceof Array?r:[r],Mi.isDebug()&&!r.includes("v")&&o.push("-v");let s=t,a=e;return nn&&n&&(o.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(o.push("--warning=no-unknown-keyword"),o.push("--overwrite")),o.push("-C",s,"-f",a),yield Yi.exec("tar",o),t}))},Ai.extractXar=function(e,t,r=[]){return Di(this,void 0,void 0,(function*(){let i;$gCrli$ok(on,"extractXar() not supported on current OS"),$gCrli$ok(e,'parameter "file" is required'),t=yield j(t),i=r instanceof Array?r:[r],i.push("-x","-C",t,"-f",e),Mi.isDebug()&&i.push("-v");const n=yield Ui.which("xar",!0);var o;return yield Yi.exec(`"${n}"`,(o=i,Array.from(new Set(o)))),t}))},Ai.extractZip=function(e,t){return Di(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield j(t),nn?yield function(e,t){return Di(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),i=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield Ui.which("pwsh",!1);if(n){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}', '${i}', $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 '${i}' -Force } else { throw $_ } } ;`].join(" ")];Mi.debug("Using pwsh at path: "+n),yield Yi.exec(`"${n}"`,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 '${i}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${i}', $true) }`].join(" ")],t=yield Ui.which("powershell",!0);Mi.debug("Using powershell at path: "+t),yield Yi.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Di(this,void 0,void 0,(function*(){const r=yield Ui.which("unzip",!0),i=[e];Mi.isDebug()||i.unshift("-q"),i.unshift("-o"),yield Yi.exec(`"${r}"`,i,{cwd:t})}))}(e,t),t}))},Ai.cacheDir=function(e,t,r,i){return Di(this,void 0,void 0,(function*(){if(r=qi.clean(r)||r,i=i||zi.arch(),Mi.debug(`Caching tool ${t} ${r} ${i}`),Mi.debug("source dir: "+e),!Fi.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const n=yield M(t,r,i);for(const t of Fi.readdirSync(e)){const r=Bi.join(e,t);yield Ui.cp(r,n,{recursive:!0})}return U(t,r,i),n}))},Ai.cacheFile=function(e,t,r,i,n){return Di(this,void 0,void 0,(function*(){if(i=qi.clean(i)||i,n=n||zi.arch(),Mi.debug(`Caching tool ${r} ${i} ${n}`),Mi.debug("source file: "+e),!Fi.statSync(e).isFile())throw Error("sourceFile is not a file");const o=yield M(r,i,n),s=Bi.join(o,t);return Mi.debug("destination file "+s),yield Ui.cp(e,s),U(r,i,n),o}))},Ai.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||zi.arch(),F(t)||(t=G(D(e,r),t));let i="";if(t){t=qi.clean(t)||"";const n=Bi.join(z(),e,t,r);Mi.debug("checking cache: "+n),Fi.existsSync(n)&&Fi.existsSync(n+".complete")?(Mi.debug(`Found tool in cache ${e} ${t} ${r}`),i=n):Mi.debug("not found")}return i},Ai.findAllVersions=D,Ai.getManifestFromRepo=function(e,t,r,i="master"){return Di(this,void 0,void 0,(function*(){let n=[];const o=`https://api.github.com/repos/${e}/${t}/git/trees/${i}`,s=new Hi.HttpClient("tool-cache"),a={};r&&(Mi.debug("set auth"),a.authorization=r);const l=yield s.getJson(o,a);if(!l.result)return n;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 s.get(c,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{n=JSON.parse(u)}catch(e){Mi.debug("Invalid json")}}return n}))},Ai.findFromManifest=function(e,t,r,i=zi.arch()){return Di(this,void 0,void 0,(function*(){return yield Gi._findMatch(e,t,r,i)}))},Ai.isExplicitVersion=F,Ai.evaluateVersions=G,ct=lt("gF2Jd"),ui=lt("ywN2f");let an=!1;var ln=lt("kNWZ7"),cn=lt("3wKw1"),un=(Yi=lt("eGKv1"),ct=lt("gF2Jd"),ui=lt("ywN2f"),pi=lt("81ovw"),lt("odmNz")),dn=(cn=lt("3wKw1"),lt("kULaE"));Yi=lt("eGKv1"),pi=lt("81ovw");const pn=/v?(\d\S*)/,hn={llvm:"13.0.0",clangtidy:"13.0.0",clangformat:"13.0.0",ninja:"1.11.0",cmake:"3.23.2",gcovr:"5.1",conan:"1.50.0",meson:"0.63.0",kcov:"40",task:"3.14.0",doxygen:T()?"1.9.3-1":"1.9.4",gcc:"11"},fn={llvm:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},gcovr:{20:"5.1",18:"5.0"},meson:{20:"0.63.0",18:"0.61.4"},doxygen:{20:"1.9.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"40",20:"40-binary",18:"40",16:"40",14:"40"}};let mn,gn,vn=!1;pi=lt("81ovw"),ln=lt("kNWZ7");var yn=lt("ehbTi"),wn=(Yi=lt("eGKv1"),pi=lt("81ovw"),ct=lt("gF2Jd"),pi=lt("81ovw"),ui=lt("ywN2f"),yn=lt("ehbTi"),cn=lt("3wKw1"),pi=lt("81ovw"),ui=lt("ywN2f"),$gCrli$resolve(__dirname,"../src/gcc"));const xn={12:{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.4-10.0.0-msvcrt-r2",fileSuffix:"12.1.0-mingw-w64msvcrt-10.0.0-r2"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};var bn=$gCrli$resolve(__dirname,"../src/llvm");const En=(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","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6"]),$n=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"]),Cn=new Map,Sn={"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":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04"},_n=new Set(["10.0.1"]);let On=!1;var Tn,Rn,In,An={},Pn=An&&An.__awaiter||((e,t,r,i)=>new(r||(r=Promise))(((n,o)=>{function s(e){try{l(i.next(e))}catch(e){o(e)}}function a(e){try{l(i.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}l((i=i.apply(e,t||[])).next())}))),kn=An&&An.__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(An,"__esModule",{value:!0});var Nn={},Ln=Nn&&Nn.__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(Nn,"__esModule",{value:!0});const Dn=Ln(Ge);var jn={};Object.defineProperty(jn,"__esModule",{value:!0}),jn.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),Nn.issueCommand=we,Nn.issue=(e,t="")=>{we(e,{},t)};class Mn{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 i in this.properties)if(this.properties.hasOwnProperty(i)){const n=this.properties[i];n&&(r?r=!1:e+=",",e+=`${i}=${t=n,jn.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>jn.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}var Un={},Fn=Un&&Un.__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(Un,"__esModule",{value:!0});const Gn=Fn(He),zn=Fn(Ge);Un.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!Gn.existsSync(r))throw Error("Missing file at path: "+r);Gn.appendFileSync(r,`${jn.toCommandValue(t)}${zn.EOL}`,{encoding:"utf8"})};const Bn=kn(Ge),Hn=kn(Be);var qn,Vn;(Vn=qn=An.ExitCode||(An.ExitCode={}))[Vn.Success=0]="Success",Vn[Vn.Failure=1]="Failure",An.exportVariable=(e,t)=>{const r=jn.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";Un.issueCommand("ENV",`${e}<<${t}${Bn.EOL}${r}${Bn.EOL}${t}`)}else Nn.issueCommand("set-env",{name:e},r)},An.setSecret=e=>{Nn.issueCommand("add-mask",{},e)},An.addPath=e=>{process.env.GITHUB_PATH?Un.issueCommand("PATH",e):Nn.issueCommand("add-path",{},e),process.env.PATH=`${e}${Hn.delimiter}${process.env.PATH}`},An.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()},An.setOutput=(e,t)=>{Nn.issueCommand("set-output",{name:e},t)},An.setCommandEcho=e=>{Nn.issue("echo",e?"on":"off")},An.setFailed=e=>{process.exitCode=qn.Failure,xe(e)},An.isDebug=()=>"1"===process.env.RUNNER_DEBUG,An.debug=e=>{Nn.issueCommand("debug",{},e)},An.error=xe,An.warning=e=>{Nn.issue("warning",e instanceof Error?""+e:e)},An.info=e=>{process.stdout.write(e+Bn.EOL)},An.startGroup=be,An.endGroup=Ee,An.group=function(e,t){return Pn(this,void 0,void 0,(function*(){let r;be(e);try{r=yield t()}finally{Ee()}return r}))},An.saveState=(e,t)=>{Nn.issueCommand("save-state",{name:e},t)},An.getState=e=>process.env["STATE_"+e]||"";const Wn=it["ProgramFiles(x86)"],Xn=[it["ProgramFiles(x86)"],it.ProgramFiles],Yn=["Enterprise","Professional","Community"],Kn=["2022","2019","2017"],Jn={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};Tn=$e;const Zn=Wn+"\\Microsoft Visual Studio\\Installer";Rn=Se,In=(e,t,r,i,n,o)=>{if("win32"!=nt)return void An.info("This is not a Windows virtual environment, bye!");it.PATH+=$gCrli$delimiter+Zn;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==i&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==n&&a.push("-vcvars_spectre_libs=spectre");const l=`"${Se(o)}" ${a.join(" ")}`;An.debug("vcvars command-line: "+l);const c=(""+$gCrli$execSync(`set && cls && ${l} && cls && set`,{shell:"cmd"})).split("\f"),u=c[0].split("\r\n"),d=c[1].split("\r\n"),p=c[2].split("\r\n"),h=d.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(h.length>0)throw Error("invalid parameters\r\n"+h.join("\r\n"));let f={};for(let e of u){const[t,r]=e.split("=");f[t]=r}An.startGroup("Environment variables");for(let e of p){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==f[t]&&(An.info("Setting "+t),_e(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),An.exportVariable(t,r))}An.endGroup(),An.info("Configured Developer Command Prompt")},pi=lt("81ovw"),ui=lt("ywN2f"),pi=lt("81ovw");var Qn,eo=$gCrli$resolve(__dirname,"../src/msvc"),to=(ui=lt("ywN2f"),{});to=lt("gGvz1"),Qn={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}};var ro=lt("xu1bL"),io={};lt("lhBDm").addLocale("en",(e=>{var t=Math.floor(Math.abs(e)),r=(""+e).replace(/^[^.]*\.?/,"").length;return"string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r?"one":"other"}));var no={};Object.defineProperty(no,"__esModule",{value:!0}),no.getUbuntuVersion=void 0,no.getUbuntuVersion=async()=>{if("linux"!==process.platform)return[];const e=await(t="lsb_release",r=["-a"],new Promise(((e,i)=>{$gCrli$execFile(t,r,{encoding:"utf8",shell:!1},((n,o,s)=>{if(n)return"errno"in n&&"ENOENT"===n.code?void e(null):void i(Error(`Could not execute \`${t} ${r.join(" ")}\`: ${n} (stderr=${s})`));e(o)}))})));var t,r;if(null===e)return[];const i=/^Distributor ID:\s*(.+)$/,n=/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/,o=/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/;let s=null,a=null,l=!1;for(const t of e.split("\n")){const e=t.match(i);if(null!==e){if("Ubuntu"!==e[1])return[];l=!0}const r=t.match(n);r&&(s=r);const c=t.match(o);if(c&&(a=c),l&&s&&a)break}if(!l)return[];for(const e of[s,a])if(e){const t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map((e=>parseInt(e,10)))}return[]},dn=lt("kULaE"),pi=lt("81ovw"),pi=lt("81ovw");let oo,so=!1;pi=lt("81ovw");const ao={async nala(e,r,i){if(!A())return;if("string"==typeof oo)return{binDir:oo};const n=t(ut).sync("nala",{nothrow:!0});if(null!==n)return oo=$gCrli$dirname(n),{binDir:oo};u("/bin/bash",["-c",`echo "deb [signed-by=${await E("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key")}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await y("nala",void 0,[],!0):await y("nala-legacy",void 0,[],!0)}catch(e){await y("nala-legacy",void 0,[],!0)}return oo="/usr/bin",{binDir:oo}},cmake:Z,ninja:Ie,python:Q,async vcpkg(e,r,i){return so&&null!==t(ut).sync("vcpkg",{nothrow:!0})?{binDir:$gCrli$dirname(t(ut).sync("vcpkg"))}:("linux"===process.platform&&(T()?(C("curl"),C("zip"),C("unzip"),C("tar"),C("git"),C("pkg-config")):R()?(I("curl"),I("zip"),I("unzip"),I("tar"),I("git"),I("pkg-config")):A()&&(await y("curl"),await y("zip"),await y("unzip"),await y("tar"),await y("git"),await y("pkg-config"))),$gCrli$existsSync($gCrli$join(r,k("bootstrap-vcpkg")))?(0,pi.notice)(`Vcpkg folder already exists at ${r}. This might mean that ~/vcpkg is restored from the cache.`):t(xt).sync("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:$gCrli$dirname(r),stdio:"inherit"}),t(xt).sync(k((n="bootstrap-vcpkg","win32"===process.platform?n:"./"+n)),{cwd:r,shell:!0,stdio:"inherit"}),L(r),await f(r),so=!0,{binDir:r});var n},async bazel(e,t,r){switch(process.platform){case"win32":return O("bazelisk",e);case"darwin":return S("bazelisk",e);case"linux":if(T())throw Error("installing bazel on Arch linux is not supported yet");if(R())return I("dnf-plugins-core",void 0),u("dnf",["copr","enable","vbatts/bazel"]),I("bazel4",void 0);if(A())return u("bash",["-c",`echo "deb [arch=amd64 signed-by=${await E("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg")}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),y("bazel",e,[],!0);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async conan(e,t,r){return await oe("setuptools",""),oe("conan",e)},meson(e,t,r){return oe("meson",e)},gcovr(e,t,r){return oe("gcovr",e)},async opencppcoverage(e,t,r){if("win32"===process.platform)return await O("opencppcoverage",e),{binDir:await(async()=>{const e="C:/Program Files/OpenCppCoverage";return await f(e),e})()}},llvm:me,gcc:ue,choco:_,brew:i,ccache(e,t,r){switch(process.platform){case"win32":return O("ccache",e);case"darwin":return S("ccache",e);case"linux":if(T())return C("ccache",e);if(R())return I("ccache",e);if(A())return y("ccache",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await O("doxygen.install",e);const t={binDir:await(async()=>{if("win32"===process.platform){for(const e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if($gCrli$existsSync($gCrli$join(e,"doxygen.exe")))return await f(e),e;throw Error("Failed to find doxygen binary")}throw Error("Unsupported platform")})()};return await se(ie("graphviz",void 0)),t}case"darwin":{const e=S("doxygen",void 0);return await se(ie("graphviz",void 0)),e}case"linux":{let i;if(""===e||T()||R())if(T())i=C("doxygen",e);else{if(R())return I("doxygen",e);if(!A())throw Error("Unsupported linux distributions");i=await y("doxygen",e)}else{if(!A())throw Error("Unsupported linux distributions");try{i=await Y("doxygen",e,ae,t,r),await y("libclang-cpp9")}catch(e){(0,pi.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),i=await y("doxygen",void 0)}}return await se(ie("graphviz",void 0)),i}default:throw Error("Unsupported platform")}},graphviz:se,async cppcheck(e,t,r){switch(process.platform){case"win32":return await O("cppcheck",e),{binDir:await(async()=>{const e="C:/Program Files/Cppcheck";return await f(e),e})()};case"darwin":return S("cppcheck",e);case"linux":if(T())return C("cppcheck",e);if(R())return I("ccache",e);if(A())return y("cppcheck",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},clangtidy:ve,clangformat:ve,msvc:Te,vcvarsall:Oe,async kcov(e,t,r){if("linux"!==process.platform)return void(0,pi.info)("Kcov is not supported on non-linux");const i=e.split("-");let n=(e=>e.match(/^v/)?e:"v"+e)(i[0]);const o=i[1],s=(e=>parseInt(e.replace(/^v/,""),10))(n);let a;return 38===s&&(n="v38"),"binary"!==o||39>s?(a=await Y("kcov",n,Ne,t,r),a):(a=await Y("kcov",n,ke,t,r),T()?C("binutils"):R()?I("binutils"):A()&&await y("libbinutils"),a)},async make(e,t,r){switch(process.platform){case"win32":return O("make",e);case"darwin":return S("make",e),await f("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(T())return C("make",e);if(R())return I("make",e);if(A())return y("make",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},task(e,t,r){return Y("task",e,K,t,r)},sevenzip:N},lo=["nala","choco","brew","python","vcpkg","bazel","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","graphviz","cppcheck","clangtidy","clangformat","llvm","gcc","msvc","vcvarsall","kcov","make","task","sevenzip"],co=["compiler","architecture",...lo];De(process.argv).then((e=>{process.exitCode=e})).catch((e=>{(0,pi.error)("main() panicked!"),(0,pi.error)(e),process.exitCode=1}));export{De as main,je as parseArgs,Me as getCompilerInfo}; +function e(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}function t(e){return e&&e.__esModule?e.default:e}function r(e,t,n){if("function"==typeof t&&(n=t,t={}),!n){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((n,o)=>{r(e,t||{},((e,t)=>{e?o(e):n(t)}))}))}Ot(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),n(e,r)}))}function n(e,r,n){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof Pt)return{binDir:Pt};const o=t(St).sync("brew",{nothrow:!0});return null!==o?(Pt=$gCrli$dirname(o),{binDir:Pt}):($gCrli$execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),Pt="/usr/local/bin/",{binDir:Pt})}function o(e,t){const r=e.options.env||process.env,n=process.cwd(),o=null!=e.options.cwd,i=o&&void 0!==process.chdir&&!process.chdir.disabled;if(i)try{process.chdir(e.options.cwd)}catch(e){}let s;try{s=St.sync(e.command,{path:r[jt({env:r})],pathExt:t?$gCrli$delimiter:void 0})}catch(e){}finally{i&&process.chdir(n)}return s&&(s=$gCrli$resolve(o?e.options.cwd:"",s)),s}function i(e,t){return Object.assign(Error(`${t} ${e.command} ENOENT`),{code:"ENOENT",errno:"ENOENT",syscall:`${t} ${e.command}`,path:e.command,spawnargs:e.args})}function s(e,t){return Yt&&1===e&&!t.file?i(t.original,"spawn"):null}function a(e,t,r){const n=Dt(e,t,r),o=$gCrli$spawn(n.command,n.args,n.options);return Xt.hookChildProcess(o,n),o}async function c(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,n=Vr(t);return await new Promise(((t,o)=>{const i=e=>{e&&n.getBufferedLength()<=Xr.MAX_LENGTH&&(e.bufferedData=n.getBufferedValue()),o(e)};(async()=>{try{await Jr(e,n),t()}catch(e){i(e)}})(),n.on("data",(()=>{n.getBufferedLength()>r&&i(new Zr)}))})),n.getBufferedValue()}function l(){return(!!process.env.CI||0===(null===(e=process.getuid)||void 0===e?void 0:e.call(process)))&&null!==t(St).sync("sudo",{nothrow:!0});var e}function u(e,r=[],n={stdio:"inherit",shell:!0}){return l()?t(Nt).commandSync("sudo "+[e,...r].map((e=>`'${e}'`)).join(" "),n):t(Nt).sync(e,r,n)}function p(e){return l()&&"string"==typeof process.env.SUDO_USER?"darwin"===process.platform?$gCrli$join("/Users/",process.env.SUDO_USER,e):$gCrli$join("/home/",process.env.SUDO_USER,e):t(Sn)("~/"+e)}function d(e,r=["-NoProfile","-NoLogo","-NonInteractive"],n={stdio:"inherit"}){return t(Nt)((()=>{if(void 0===Tn){const e=t(St).sync("pwsh",{nothrow:!0});null!==e&&(Tn=e);const r=t(St).sync("powershell",{nothrow:!0});null!==r&&(Tn=r)}if(void 0===Tn)throw Error("Could not find powershell");return Tn})(),[...r,"-c",e],n)}async function h(e,r,n=!1){const o=n?t(Rn)(null!=r?r:""):r;try{if("github-actions"===t(Cn)())try{(0,$t.exportVariable)(e,o)}catch(t){(0,On.error)(t),await m(e,o)}else await m(e,o)}catch(t){(0,On.error)(t),(0,$t.setFailed)(`Failed to export environment variable ${e}=${o}. You should add it manually.`)}}async function f(e){process.env.PATH=`${e}${$gCrli$delimiter}${process.env.PATH}`;try{if("github-actions"===t(Cn)())try{(0,$t.addPath)(e)}catch(t){(0,On.error)(t),await g(e)}else await g(e)}catch(t){(0,On.error)(t),(0,$t.setFailed)(`Failed to add ${e} to the percistent PATH. You should add it manually.`)}}async function m(e,t){const r=null!=t?t:"";switch(process.platform){case"win32":return await d(`[Environment]::SetEnvironmentVariable('${e}', '${r}', "User")`),void(0,$t.info)(`${e}='${r}' was set in the environment.`);case"linux":case"darwin":return v(),$gCrli$appendFileSync(kn,`\nexport ${e}="${r}"\n`),void(0,$t.info)(`${e}="${r}" was added to "${kn}`)}process.env[e]=r}async function g(e){switch(process.platform){case"win32":return await d(`$USER_PATH=([Environment]::GetEnvironmentVariable("PATH", "User")); [Environment]::SetEnvironmentVariable("PATH", "${e};$USER_PATH", "User")`),void(0,$t.info)(`"${e}" was added to the PATH.`);case"linux":case"darwin":return v(),$gCrli$appendFileSync(kn,`\nexport PATH="${e}:$PATH"\n`),void(0,$t.info)(`"${e}" was added to "${kn}"`);default:return}}function v(){if(Nn)return;const e="export SOURCE_CPPRC=0";if($gCrli$existsSync(kn)&&$gCrli$readFileSync(kn,"utf8").includes(e))return;$gCrli$appendFileSync(kn,`\n${e}\n`),(0,$t.info)(`Added ${e} to ${kn}`);const t=`\n# source .cpprc if SOURCE_CPPRC is not set to 0\nif [[ "$SOURCE_CPPRC" != 0 && -f "${kn}" ]]; then source "${kn}"; fi\n`;try{const e=p(".profile");$gCrli$appendFileSync(e,t),(0,$t.info)(`${t} was added to ${e}`);const r=p(".bashrc");$gCrli$appendFileSync(r,t),(0,$t.info)(`${t} was added to ${r}`)}catch(e){(0,On.warning)(`Failed to add ${t} to .profile or .bashrc. You should add it manually: ${e}`)}Nn=!0}async function y(e,r,n=[],o=!1){const i=(()=>{let e;return e=null!==t(St).sync("nala",{nothrow:!0})?"nala":"apt-get",e})();if((0,$t.info)(`Installing ${e} ${null!=r?r:""} via ${i}`),process.env.DEBIAN_FRONTEND="noninteractive",Ln&&!o||(w(i),Ln=!0),Dn||(await(async e=>{u(e,["install","--fix-broken","-y","software-properties-common","apt-utils","ca-certificates","gnupg"]),b(["3B4FE6ACC0B21F32","40976EAF437D05B5"],"setup-cpp-ubuntu-archive.gpg"),b(["1E9377A2BA9EF27F"],"launchpad-toolchain.gpg"),"nala"===e&&(await h("LANG","C.UTF-8"),await h("LC_ALL","C.UTF-8"))})(i),Dn=!0),Array.isArray(n)&&0!==n.length){for(const e of n)u("add-apt-repository",["--update","-y",e]);w(i)}if(void 0!==r&&""!==r)try{u(i,["install","--fix-broken","-y",`${e}=${r}`])}catch{u(i,["install","--fix-broken","-y",`${e}-${r}`])}else u(i,["install","--fix-broken","-y",e]);return{binDir:"/usr/bin/"}}function w(e){u(e,"nala"!==e?["update","-y"]:["update"])}function x(){u("gpg",["-k"])}function b(e,t,r="keyserver.ubuntu.com"){const n="/etc/apt/trusted.gpg.d/"+t;if(!$gCrli$existsSync(n)){x();for(const t of e)u("gpg",["--no-default-keyring","--keyring","gnupg-ring:"+n,"--keyserver",r,"--recv-keys",t]),u("chmod",["644",n])}return n}async function E(e,t){const r="/etc/apt/trusted.gpg.d/"+e;return $gCrli$existsSync(r)||(x(),await y("curl",void 0),u("bash",["-c",`curl -s ${t} | gpg --no-default-keyring --keyring gnupg-ring:${r} --import`]),u("chmod",["644",r])),r}function $(e,r){return"github-actions"===t(Cn)()?u("update-alternatives",["--install","/usr/bin/"+e,e,r,"40"]):(v(),$gCrli$appendFileSync(kn,`\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${e} ${e} ${r} 40; fi\n`))}function S(e,t,r){(0,On.info)(`Installing ${e} ${null!=t?t:""} via pacman`);const n="pacman";if(jn||(u(n,["-Syuu","--noconfirm"]),jn=!0),Mn||(u(n,["-Sy","--noconfirm","base-devel"]),Mn=!0),void 0!==t&&""!==t)try{u(null!=r?r:n,["-S","--noconfirm",`${e}=${t}`])}catch{u(null!=r?r:n,["-S","--noconfirm",`${e}${t}`])}else u(null!=r?r:n,["-S","--noconfirm",e]);return{binDir:"/usr/bin/"}}function C(e,r){return(0,$t.info)(`Installing ${e} ${null!=r?r:""} via brew`),Fn&&null!==t(St).sync("brew",{nothrow:!0})||(n(0,0,process),Fn=!0),t(Nt).sync("brew",["install",void 0!==r&&""!==r?`${e}@${r}`:e],{stdio:"inherit"}),{binDir:"/usr/local/bin/"}}async function _(e,r,n){if("win32"!==process.platform)return;if("string"==typeof Un)return{binDir:Un};const o=t(St).sync("choco",{nothrow:!0});if(null!==o)return Un=$gCrli$dirname(o),{binDir:Un};let i="powershell.exe";const s=t(St).sync(process.env.SystemRoot+"\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",{nothrow:!0});null!==s&&(i=s),t(Nt).sync(i,["-NoProfile","-InputFormat","None","-ExecutionPolicy","Bypass","-Command","[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))"],{stdio:"inherit"});const a=process.env.ALLUSERSPROFILE+"\\chocolatey\\bin";await f(a);const c=t(St).sync("choco",{nothrow:!0});var l;return Un=null!==c?$gCrli$dirname(c):(null!==(l=process.env.ChocolateyInstall)&&void 0!==l?l:"C:/ProgramData/chocolatey")+"/bin",$gCrli$existsSync(Un)?{binDir:Un}:void 0}async function O(e,r,n=[]){(0,$t.info)(`Installing ${e} ${null!=r?r:""} via chocolatey`),Hn&&null!==t(St).sync("choco",{nothrow:!0})||(await _(0,0,process),Hn=!0);const o=process.env.PATH,i={...process.env};if(delete i.TMP,delete i.TEMP,delete i.Path,i.PATH=o,void 0!==r&&""!==r)t(Nt).sync("choco",["install","-y",e,"--version="+r,...n],{env:i,extendEnv:!1,stdio:"inherit"});else try{t(Nt).sync("choco",["install","-y",e,...n],{env:i,extendEnv:!1,stdio:"inherit"})}catch(t){if(!t.message.includes("exit code 3010"))throw t;(0,On.notice)(e+" might require a reboot for the completion of the installation.")}var s;const a=(null!==(s=process.env.ChocolateyInstall)&&void 0!==s?s:"C:/ProgramData/chocolatey")+"/bin";return await f(a),{binDir:a}}function T(){return"linux"===process.platform&&(void 0===Gn&&(Gn=null!==t(St).sync("pacman",{nothrow:!0})),Gn)}function R(){return"linux"===process.platform&&(void 0===zn&&(zn=null!==t(St).sync("dnf",{nothrow:!0})),zn)}function I(e,t){(0,On.info)(`Installing ${e} ${null!=t?t:""} via dnf`);const r="dnf";if(void 0!==t&&""!==t)try{u(r,["-y","install",`${e}-${t}`])}catch(t){(0,On.warning)(t+"\nInstalling the default version available via dnf"),u(r,["-y","install",e])}else u(r,["-y","install",e]);return{binDir:"/usr/bin/"}}function A(){if("linux"!==process.platform)return!1;if(void 0===Bn){const e="apt-get";Bn=null!==t(St).sync(e,{nothrow:!0})}return Bn}function P(e,t=".exe",r=""){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function k(e,t=".bat",r=".sh"){return"win32"===process.platform?`${e}${t}`:`${e}${r}`}function N(e,t,r){switch(process.platform){case"win32":return O("7zip",e);case"darwin":return C("p7zip",e);case"linux":if(T())return S("p7zip",e);if(R())return I("p7zip",e),I("p7zip-plugins",e);if(A())return y("p7zip-full",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function L(e){"linux"!==process.platform&&"darwin"!==process.platform||!l()||void 0===process.env.SUDO_USER||u("chown",["-R",process.env.SUDO_USER,e],{cwd:e,stdio:"inherit",shell:!0})}function D(e,t){const r=[];t=t||no.arch();const n=oo.join(z(),e);if(to.existsSync(n)){const e=to.readdirSync(n);for(const o of e)if(F(o)){const e=oo.join(n,o,t||"");to.existsSync(e)&&to.existsSync(e+".complete")&&r.push(o)}}return r}function j(e){return Jn(this,void 0,void 0,(function*(){return e||(e=oo.join(B(),lo.default())),yield eo.mkdirP(e),e}))}function M(e,t,r){return Jn(this,void 0,void 0,(function*(){const n=oo.join(z(),e,so.clean(t)||t,r||"");Qn.debug("destination "+n);const o=n+".complete";return yield eo.rmRF(n),yield eo.rmRF(o),yield eo.mkdirP(n),n}))}function U(e,t,r){const n=oo.join(z(),e,so.clean(t)||t,r||"");to.writeFileSync(n+".complete",""),Qn.debug("finished caching tool")}function F(e){const t=so.clean(e)||"";Qn.debug("isExplicit: "+t);const r=null!=so.valid(t);return Qn.debug("explicit? "+r),r}function G(e,t){let r="";Qn.debug(`evaluating ${e.length} versions`);for(let n=(e=e.sort(((e,t)=>so.gt(e,t)?1:-1))).length-1;n>=0;n--){const o=e[n];if(so.satisfies(o,t)){r=o;break}}return Qn.debug(r?"matched: "+r:"match not found"),r}function z(){const e=process.env.RUNNER_TOOL_CACHE||"";return $gCrli$ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function B(){const e=process.env.RUNNER_TEMP||"";return $gCrli$ok(e,"Expected RUNNER_TEMP to be defined"),e}function H(e,t){const r=wt[e];return void 0!==r?r:t}async function q(e,r){return await t(Nt)(await(async()=>(void 0===bo&&(null===t(St).sync("7z",{nothrow:!0})&&await N("",0,process),bo="7z"),bo))(),["x",e,"-o"+r,"-y"],{stdio:"inherit"}),L(r),r}function V(e,t){return q(e,t)}function W(e,t){return q(e,t)}async function X(e,r,n=["--strip-components=0"]){try{await(0,qn.mkdirP)(r)}catch{}try{await t(Nt)("tar",["xf",e,"-C",r,...n],{stdio:"inherit"})}catch(t){"win32"===process.platform&&t.message.includes("Can't create '\\\\?\\C:")&&(0,On.warning)(`Failed to extract symlink ${e} to ${r}. Ignoring this symlink.`)}return L(r),r}async function Y(e,r,n,o,i){var s,a;(0,$t.info)(`Installing ${e} ${r} ${i} via direct downloading`),process.env.RUNNER_TEMP=null!==(s=process.env.RUNNER_TEMP)&&void 0!==s?s:$gCrli$tmpdir(),process.env.RUNNER_TOOL_CACHE=null!==(a=process.env.RUNNER_TOOL_CACHE)&&void 0!==a?a:$gCrli$join($gCrli$tmpdir(),"setup-cpp","hostedtoolcache");const{url:c,binRelativeDir:l,binFileName:u,extractedFolderName:p,extractFunction:d}=await n(r,process.platform,i);if("github-actions"===t(Cn)())try{const t=(0,Vn.find)(e,r);if(t){const n=$gCrli$join(t,p),o=$gCrli$join(n,l);if($gCrli$existsSync(o)&&$gCrli$existsSync($gCrli$join(o,u)))return(0,$t.info)(`${e} ${r} was found in the cache at ${o}.`),await f(o),{installDir:n,binDir:o}}}catch{}const h=$gCrli$join(o,p),m=$gCrli$join(h,l),g=$gCrli$join(m,u);if(!$gCrli$existsSync(m)||!$gCrli$existsSync(g)){(0,$t.info)(`Download and extract ${e} ${r}`),Eo||("linux"===process.platform&&(T()?(S("unzip"),S("tar"),S("xz")):R()?(I("unzip"),I("tar"),I("xz")):A()&&(await y("unzip"),await y("tar"),await y("xz-utils"))),Eo=!0);try{const e=await(0,Vn.downloadTool)(c);await(null==d?void 0:d(e,o))}catch(t){throw Error(`Failed to download ${e} ${r} ${i} from ${c}: ${t}`)}}return(0,$t.info)(`Add ${m} to PATH`),await f(m),"github-actions"===t(Cn)()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await(0,Vn.cacheDir)(o,e,r),{installDir:h,binDir:m}}function K(e,t,r){const n=(e=>"win32"===e?"windows":e)(t),o=(e=>{switch(e){case"x64":return"amd64";case"ia32":case"x86":case"i386":case"x32":return"386";default:return e}})(r),i="win32"===t,s=i?"zip":"tar.gz";return{binRelativeDir:"",binFileName:P("task"),extractedFolderName:"",extractFunction:i?W:X,url:`https://github.com/go-task/task/releases/download/v${e}/task_${n}_${o}.${s}`}}function J(e,r,n){var o;const i=null!==(o=t(So)(e))&&void 0!==o?o:e;switch(r){case"win32":{const r=t($o)(i,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(n)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const s=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:P("cmake"),extractedFolderName:s,extractFunction:W,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.zip`}}case"darwin":{const r=`cmake-${e}-${t($o)(i,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",binFileName:P("cmake"),extractedFolderName:r,extractFunction:Vn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${r}.tar.gz`}}case"linux":{const r=t($o)(i,"v3.19.8");let o;o=["aarch64"].includes(n)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const s=`cmake-${e}-${o}`;return{binRelativeDir:"bin/",binFileName:P("cmake"),extractedFolderName:s,extractFunction:Vn.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${e}/${s}.tar.gz`}}default:throw Error(`Unsupported platform '${r}'`)}}function Z(e,t,r){return Y("cmake",e,J,t,r)}async function Q(e,r,n){if("github-actions"!==t(Cn)())return ee(e,r);try{(0,On.info)("Installing python in GitHub Actions");const{setupActionsPython:t}=await Et("ddrZ4");return t(e,r,n)}catch(t){return(0,On.warning)(""+t),ee(e,r)}}async function ee(e,r,n){switch(process.platform){case"win32":{var o,i;r?await O("python3",e,["--params=/InstallDir:"+r]):await O("python3",e);const n=null!==(i=null!==(o=t(St).sync("python3.exe",{nothrow:!0}))&&void 0!==o?o:t(St).sync("python.exe",{nothrow:!0}))&&void 0!==i?i:$gCrli$join(r,"python.exe"),s=$gCrli$dirname(n);return await(async e=>{(0,On.info)(`Add ${e} to PATH`),await f(e)})(s),{installDir:s,binDir:s}}case"darwin":return C("python3",e);case"linux":{let t;if(T())t=S("python",e),S("python-pip");else if(R())t=I("python3",e),I("python3-pip");else{if(!A())throw Error("Unsupported linux distributions");t=await y("python3",e),await y("python3-pip")}return t}default:throw Error("Unsupported platform")}}function te(e,t){if("__proto__"!==e&&"constructor"!==e)return t}function re(e){if("string"!=typeof e)return e;const t=e.toLowerCase();if("true"===t)return!0;if("false"===t)return!1;if("null"===t)return null;if("nan"===t)return NaN;if("infinity"===t)return 1/0;if("undefined"!==t){if(!Oo.test(e))return e;try{return Co.test(e)||_o.test(e)?JSON.parse(e,te):JSON.parse(e)}catch(t){return e}}}function ne(e){return(e=>encodeURI(""+e).replace(jo,"|").replace(Po,"[").replace(ko,"]"))(e).replace(Ao,"%2B").replace(Uo,"+").replace(To,"%23").replace(Ro,"%26").replace(Lo,"`").replace(Do,"{").replace(Mo,"}").replace(No,"^")}function oe(e){return ne(e).replace(Io,"%3D")}function ie(e=""){try{return decodeURIComponent(""+e)}catch(t){return""+e}}function se(e=""){const t={};"?"===e[0]&&(e=e.substr(1));for(const r of e.split("&")){const e=r.match(/([^=]+)=?(.*)/)||[];if(2>e.length)continue;const n=ie(e[1]);if("__proto__"===n||"constructor"===n)continue;const o=ie((e[2]||"").replace(Ao," "));t[n]?Array.isArray(t[n])?t[n].push(o):t[n]=[t[n],o]:t[n]=o}return t}function ae(e="",t=!1){return t?zo.test(e):e.endsWith("/")}function ce(e="",t=!1){if(!t)return e.endsWith("/")?e:e+"/";if(ae(e,!0))return e||"/";const[r,...n]=e.split("?");return r+"/"+(n.length?"?"+n.join("?"):"")}function le(e=""){return(((e="")=>e.startsWith("/"))(e)?e.substr(1):e)||"/"}function ue(e,t){const r=de(e),n={...se(r.search),...t};return r.search=(e=>Object.keys(e).map((t=>{return r=t,"number"!=typeof(n=e[t])&&"boolean"!=typeof n||(n+=""),n?Array.isArray(n)?n.map((e=>`${oe(r)}=${ne(e)}`)).join("&"):`${oe(r)}=${ne(n)}`:oe(r);var r,n})).join("&"))(n),(e=>{const t=e.pathname+(e.search?(e.search.startsWith("?")?"":"?")+e.search:"")+e.hash;return e.protocol?e.protocol+"//"+(e.auth?e.auth+"@":"")+e.host+t:t})(r)}function pe(e){return e&&"/"!==e}function de(e="",t){if(!((e,t=!1)=>Fo.test(e)||t&&Go.test(e))(e,!0))return t?de(t+e):he(e);const[r="",n,o=""]=(e.replace(/\\/g,"/").match(/([^:/]+:)?\/\/([^/@]+@)?(.*)/)||[]).splice(1),[i="",s=""]=(o.match(/([^/?#]*)(.*)?/)||[]).splice(1),{pathname:a,search:c,hash:l}=he(s);return{protocol:r,auth:n?n.substr(0,n.length-1):"",host:i,pathname:a,search:c,hash:l}}function he(e=""){const[t="",r="",n=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:r,hash:n}}function fe(e="GET"){return Ho.has(e.toUpperCase())}function me(e,t){return Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse()}function ge(e,t,r=null){if(ve(t,e)){if("linux"===process.platform&&null!==r&&e in ti){const t=r[0];return parseInt(Object.keys(ti[e])[0],10)>t?"":ti[e][t]}return ei[e]}return null!=t?t:""}function ve(e,t){return"true"===e||void 0===e&&t in ei}async function ye(e,r){if((0,$t.info)(`Installing ${e} ${null!=r?r:""} via pip`),void 0===ri){if(null!==t(St).sync("python3",{nothrow:!0}))ri="python3";else{if(null===t(St).sync("python",{nothrow:!0})||!await(async(e,r,n=Qo)=>{const o=await(async(e,t=Qo)=>{try{var r;const n=await(0,uo.getExecOutput)(e,["--version"]);return null===(r=(n.stdout||n.stderr||"").trim().match(t))||void 0===r?void 0:r[1]}catch(e){return void console.error(e)}})(e,n);return"string"==typeof o&&"string"==typeof r&&""!==o&&""!==r&&-1!==t(Jo)(o,r)})("python","3.0.0")){if((0,$t.info)("python3 was not found. Installing python"),await Q(ge("python",void 0),"",process.arch),oi)throw Error("Failed to install python");return oi=!0,ye(e,r)}ri="python"}"win32"===process.platform?t(Nt).sync(ri,["-m","pip","install","-U","pip==21.3.1"],{stdio:"inherit"}):"linux"===process.platform&&(T()?S("python-pip"):R()?I("python3-pip"):A()&&await y("python3-pip")),t(Nt).sync(ri,["-m","pip","install","-U","wheel"],{stdio:"inherit"})}if(t(Nt).sync(ri,["-m","pip","install",void 0!==r&&""!==r?`${e}==${r}`:e],{stdio:"inherit"}),void 0===ni){if("linux"===process.platform)ni="/home/runner/.local/bin/";else if("darwin"===process.platform)ni="/usr/local/bin/";else try{ni=$gCrli$join((await(0,uo.getExecOutput)(ri+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{ni=$gCrli$join((await(0,uo.getExecOutput)(ri+' -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}(0,$t.info)(ni+" to PATH"),await f(ni)}return{binDir:ni}}async function we(e,t,r){switch(process.platform){case"win32":return await O("graphviz",e),(async()=>{if("win32"===process.platform){const e="C:/Program Files/Graphviz/bin";return await f(e),{binDir:e}}throw Error("Unsupported platform")})();case"darwin":return C("graphviz",e);case"linux":if(T())return S("graphviz",e);if(R())return I("graphviz",e);if(A())return y("graphviz",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}}function xe(e,t,r){switch(t){case"linux":{const t="doxygen-"+e;return{binRelativeDir:"bin/",binFileName:P("doxygen"),extractedFolderName:t,extractFunction:Vn.extractTar,url:`https://www.doxygen.nl/files/${t}.linux.bin.tar.gz`}}case"win32":{const t="doxygen-"+e;return{binRelativeDir:"",binFileName:P("doxygen"),extractedFolderName:t,extractFunction:W,url:`https://www.doxygen.nl/files/${t}.windows.x64.bin.zip`}}default:throw Error(`Unsupported platform '${t}'`)}}async function be(){if("darwin"===process.platform)try{const e=await(0,uo.getExecOutput)("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;t?await h("SDKROOT",t.trim()):(0,On.error)("SDKROOT not set")}catch(e){(0,On.error)(e)}}function Ee(e,t,r){if("win32"===t){const t=ai[e];if(void 0===t)throw Error(`mingw version ${e} is not supported`);const n="ia32"===r?"i686":"x86_64",o="seh";return{binRelativeDir:"bin/",binFileName:P("g++"),extractedFolderName:"mingw64",extractFunction:q,url:`https://github.com/brechtsanders/winlibs_mingw/releases/download/${t.releaseName}/winlibs-${n}-posix-${o}-gcc-${t.fileSuffix}.7z`}}throw Error(`Unsupported platform '${t}'`)}async function $e(e,r,n){let o;switch(process.platform){case"win32":"arm"!==n&&"arm64"!==n||await O("gcc-arm-embedded",e);try{o=await Y("g++",e,Ee,r,n)}catch(t){(0,On.info)(`Failed to download g++ binary. ${t}. Falling back to chocolatey.`),o=await(async(e,t)=>{let r;var n,o;return await O("mingw",e),"x64"===t&&$gCrli$existsSync("C:/tools/mingw64/bin")?(r="C:/tools/mingw64/bin",await f(r)):"ia32"===t&&$gCrli$existsSync("C:/tools/mingw32/bin")?(r="C:/tools/mingw32/bin",await f(r)):$gCrli$existsSync((null!==(n=process.env.ChocolateyInstall)&&void 0!==n?n:"C:/ProgramData/chocolatey")+"/bin/g++.exe")&&(r=(null!==(o=process.env.ChocolateyInstall)&&void 0!==o?o:"C:/ProgramData/chocolatey")+"/bin"),void 0!==r?{binDir:r}:void 0})(e,n)}break;case"darwin":o=C("gcc",e);break;case"linux":"x64"===n?T()?o=S("gcc",e):R()?(o=I("gcc",e),I("gcc-c++",e),I("libstdc++-devel",void 0)):A()&&(await y("gcc",e,["ppa:ubuntu-toolchain-r/test"]),o=await y("g++",e,[])):((0,On.info)(`Install g++-multilib because gcc for ${n} was requested`),T()?S("gcc-multilib",e):A()&&await y("gcc-multilib",e,["ppa:ubuntu-toolchain-r/test"]));break;default:throw Error("Unsupported platform for "+n)}if(void 0!==o)return await(async(e,r)=>{const n=[];if("win32"===process.platform)n.push(h("CC",P(r+"/gcc")),h("CXX",P(r+"/g++")));else{var o;const i=t(ii)(null!==(o=t(So)(e))&&void 0!==o?o:e);5>i?(n.push(h("CC",`${r}/gcc-${e}`),h("CXX",`${r}/g++-${e}`)),A()&&($("cc",`${r}/gcc-${e}`),$("cxx",`${r}/g++-${e}`),$("gcc",`${r}/gcc-${e}`),$("g++",`${r}/g++-${e}`))):(n.push(h("CC",`${r}/gcc-${i}`),h("CXX",`${r}/g++-${i}`)),A()&&($("cc",`${r}/gcc-${i}`),$("cxx",`${r}/g++-${i}`),$("gcc",`${r}/gcc-${i}`),$("g++",`${r}/g++-${i}`)))}n.push(be()),"github-actions"===t(Cn)()&&(()=>{const e=tt.join(si,"gcc_matcher.json");if(!$gCrli$existsSync(e))return(0,On.warning)("the gcc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,On.info)("::add-matcher::"+e)})(),await Promise.all(n)})(e,o.binDir),o}function Se(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function Ce(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function _e(e,r){switch(e){case"darwin":return(e=>{if(ui.has(e))return null;const r="clang+llvm-",n=`-x86_64${"9.0.0"===e?"-darwin-apple":"-apple-darwin"}.tar.xz`;return t($o)(e,"9.0.1")?Ce(e,r,n):Se(e,r,n)})(r);case"linux":return(e=>{let r=e;const n=pi.get(r);let o;if(void 0!==n&&(r=n),r.includes("ubuntu")){const e=r.replace(/-ubuntu-.*/,"");if(!li.has(e))throw Error("Unsupported Ubuntu version: "+e);o=r.replace(e,""),r=me(li,e)[0]}else""!==r&&r in di?o=di[r]:(o=di["14.0.0"],(0,On.warning)(`Falling back to LLVM version 14.0.0 ${o} for the Ubuntu.`));const i="clang+llvm-",s="5.0.0"===r?`-linux-x86_64${o}.tar.xz`:`-x86_64-linux-gnu${o}.tar.xz`;return t($o)(r,"9.0.1")?Ce(r,i,s):Se(r,i,s)})(r);case"win32":return(async e=>{if(hi.has(e))return null;const r="LLVM-",n=t($o)(e,"3.7.0")?"-win32.exe":"-win64.exe",o=t($o)(e,"9.0.1");let i,s=!1;return o&&(i=Ce(e,r,n),await Ko(i)||(s=!0)),!s&&o||(i=Se(e,r,n)),i})(r);default:return null}}async function Oe(e,t,r){const[n,o]=await(async(e,t,r,n)=>{if("linux"===t&&r.includes("ubuntu")){const e=await n(t,r);if(null!==e&&await Ko(e))return[r,e]}if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const o of me(e,r)){const e=await n(t,o);if(null!==e&&await Ko(e))return[o,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(li,t,e,_e);return(0,$t.setOutput)("version",n),{url:o,extractedFolderName:"",binRelativeDir:"bin",binFileName:P("clang"),extractFunction:"win32"===t?V:(e,t)=>X(e,t,["--strip-components=1"])}}async function Te(e,r,n){const o=await Re(e,r,n);var i;return await(async(e,r)=>{const n=(e=>{if(null===t(Zo)(e))try{const r=t(So)(e);if(null!==r)return(0,On.info)(`Coerced version '${e}' to '${r}'`),r.version}catch(e){}return e})(r),o=$gCrli$join(e,"lib");var i;const s=null!==(i=process.env.LD_LIBRARY_PATH)&&void 0!==i?i:"";var a;const c=null!==(a=process.env.DYLD_LIBRARY_PATH)&&void 0!==a?a:"",l=[h("LLVM_PATH",e),h("LD_LIBRARY_PATH",`${o}${$gCrli$delimiter}${s}`),h("DYLD_LIBRARY_PATH",`${o}${$gCrli$delimiter}${c}`),h("LDFLAGS",`-L"${e}/lib"`),h("CPPFLAGS",`-I"${e}/include"`),h("CC",P(e+"/bin/clang")),h("CXX",P(e+"/bin/clang++")),h("LIBRARY_PATH",e+"/lib"),be()];if("win32"!==process.platform){const r=t(ii)(n);$gCrli$existsSync(`${e}/lib/clang/${n}/include`)?l.push(h("CPATH",`${e}/lib/clang/${n}/include`)):$gCrli$existsSync(`${e}/lib/clang/${r}/include`)&&l.push(h("CPATH",`${e}/lib/clang/${r}/include`))}A()&&($("cc",e+"/bin/clang"),$("cxx",e+"/bin/clang++"),$("clang",e+"/bin/clang"),$("clang++",e+"/bin/clang++"),$("lld",e+"/bin/lld"),$("ld.lld",e+"/bin/ld.lld"),$("llvm-ar",e+"/bin/llvm-ar")),"github-actions"===t(Cn)()&&Ae(),await Promise.all(l)})(null!==(i=o.installDir)&&void 0!==i?i:r,e),o}async function Re(e,t,r){const n=await Y("llvm",e,Oe,t,r);return fi||("linux"===process.platform&&(await $e(ge("gcc",void 0),"",r),T()||A()&&await y("libtinfo-dev")),fi=!0),n}function Ie(e,r,n){return"github-actions"===t(Cn)()&&Ae(),Re(e,r,n)}function Ae(){const e=$gCrli$join(ci,"llvm_matcher.json");if(!$gCrli$existsSync(e))return(0,On.warning)("the llvm_matcher.json file does not exist in the same folder as setup_cpp.js");(0,On.info)("::add-matcher::"+e)}function Pe(e,t,r){const n=new Ci(e,t,r);process.stdout.write(""+n+$i.EOL)}function ke(e){bi.issue("error",e instanceof Error?""+e:e)}function Ne(e){bi.issue("group",e)}function Le(){bi.issue("endgroup")}function De(e){return Object.values(Mi).includes(e)?e:e in Mi?Mi[e]:e}function je(e){if(Object.keys(Mi).includes(e))return e;for(const[t,r]of Object.entries(Mi))if(r===e)return t;return e}function Me(e){const t=De(e);let r;if(t){const e=t.split(".")[0]+".9";r=`-version "${t},${e}"`}else r="-latest";let n=((e,t)=>{try{return(""+$gCrli$execSync(`vswhere -products * ${t} -prerelease -property installationPath`)).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){yi.warning("vswhere failed: "+e)}return null})(0,r);if(n&&$gCrli$existsSync(n))return yi.info("Found with vswhere: "+n),n;yi.info("Not found with vswhere");const o=e?[je(e)]:ji;for(const e of Li)for(const t of o)for(const r of Di)if(n=`${e}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,yi.info("Trying standard location: "+n),$gCrli$existsSync(n))return yi.info("Found standard location: "+n),n;if(yi.info("Not found in standard locations"),n=Ni+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",$gCrli$existsSync(n))return yi.info("Found VS 2015: "+n),n;throw yi.info("Not found in VS 2015 location: "+n),Error("Microsoft Visual Studio not found")}function Ue(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}async function Fe(e,t,r,n,o,i,s){void 0!==t&&$gCrli$existsSync(t)&&((0,On.info)(`Adding ${t} to PATH`),await h("VCTargetsPath",t)),vi((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,n,i,s,e)}async function Ge(e,r,n,o,i,s){if("win32"!==process.platform)return;const a=mi(e);(0,On.info)(`Checking if MSVC ${a} is already installed`);let c,l,u=!1;try{const e=gi(a);u=!0,(0,On.info)("Found the pre-installed version of MSVC at "+e)}catch{}if(!u)try{"14.0"===a?(c="14.0",await O("visualcpp-build-tools","14.0.25420.1",["--ignore-dependencies"]),l="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140"):"15.0"===a?(c="14.16",await O("visualstudio2017buildtools","15.9.41.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"16.0"===a?(c="14.29",await O("visualstudio2019buildtools","16.11.7.0",[]),l="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133"):"17.0"===a?(c=void 0,await O("visualstudio2022buildtools","117.0.5.0",[]),l=void 0):(0,On.error)(`The given MSVC versions ${e} is not supported yet.`)}catch(e){(0,On.error)(e)}await Fe(a,l,n,c,o,i,s),"github-actions"===t(Cn)()&&(()=>{const e=tt.join(Gi,"msvc_matcher.json");if(!$gCrli$existsSync(e))return(0,On.warning)("the msvc_matcher.json file does not exist in the same folder as setup_cpp.js");(0,On.info)("::add-matcher::"+e)})()}function ze(e,t,r){const n=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",binFileName:P("ninja"),extractedFolderName:"",extractFunction:W,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${n}.zip`}}function Be(e,t,r){return Y("ninja",e,ze,t,r)}function He(e){return null==e?[]:Array.isArray(e)?e:[e]}function qe(e,t,r,n){var o,i=e[t],s=~n.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~n.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(o=+r)==0?o:r),!!r)):0*(o=+r)==0?o:r;e[t]=null==i?s:Array.isArray(i)?i.concat(s):[i,s]}function Ve(e){return{url:`https://github.com/SimonKagstrom/kcov/releases/download/${e}/kcov-amd64.tar.gz`,extractedFolderName:"",binRelativeDir:"usr/local/bin",binFileName:P("kcov"),extractFunction:X}}function We(e){return{url:`https://github.com/SimonKagstrom/kcov/archive/refs/tags/${e}.tar.gz`,extractedFolderName:"",binRelativeDir:"build/src",binFileName:P("kcov"),extractFunction:Xe}}async function Xe(e,r){const n=await X(e,r,["--strip-components=1"]),o=await(async()=>{let e=t(St).sync("cmake",{nothrow:!0});if(null===e){const{binDir:t}=await Z(ge("cmake",void 0),$gCrli$join(p(""),"cmake"),"");e=$gCrli$join(t,"cmake")}return null===t(St).sync("ninja",{nothrow:!0})&&await Be(ge("ninja",void 0),$gCrli$join(p(""),"ninja"),""),e})();"linux"===process.platform&&(T()?(S("libdwarf"),S("libcurl-openssl")):R()?(I("libdwarf-devel"),I("libcurl-devel")):A()&&(await y("libdw-dev"),await y("libcurl4-openssl-dev")));const i=$gCrli$join(n,"build");return await t(Nt)(o,["-S",n,"-B",i,"-DCMAKE_BUILD_TYPE=Release","-G","Ninja"],{cwd:n,stdio:"inherit"}),await t(Nt)(o,["--build",i,"--config","Release"],{cwd:n,stdio:"inherit"}),n}async function Ye(e){"github-actions"!==t(Cn)()&&(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=Ke(e);var n;r.help&&(0,On.info)('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool. e.g. --conan true or --conan "1.42.1"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n ');const o=null!==(n=r.architecture)&&void 0!==n?n:process.arch;var i;const s=null!==(i=process.env.SETUP_CPP_DIR)&&void 0!==i?i:p(""),a=[],c=[],l=zi.create({autoloadLocales:!0});let u,d;zi.addLocale(t(Fi)),Bi.addLocale(t(Hi));let f=null;try{f=await(async()=>{if(A()){null===t(St).sync("lsb_release",{nothrow:!0})&&await y("lsb-release");const e=await(0,qi.getUbuntuVersion)();if(0===e.length)throw Error("Failed to get the ubuntu major version.");return e}return null})()}catch(e){(0,On.warning)(""+e)}if(!((e,t)=>{for(let r=0;t.length>r;r++){const n=t.slice(0,r).concat(t.slice(r+1)),o=t[r];if(!ve(e[o],o))for(let t=0;n.length>t;t++){const r=n[t];if(ve(e[r],n[t]))e[r]=e[o];else if(e[o]!==e[n[t]])return!1}}return!0})(r,["llvm","clangtidy","clangformat"]))return(0,On.error)("The same version must be used for llvm, clangformat and clangtidy"),1;for(const e of Yi){const t=r[e];if(void 0!==t){u=Date.now(),(0,$t.startGroup)(`Installing ${e} ${t}`);try{let r;if("vcvarsall"===e)await Fe(ge(e,t,f),void 0,o,void 0,void 0,!1,!1);else{const n=Xi[e],i=$gCrli$join(s,["llvm","clangformat","clangtidy"].includes(e)?"llvm":e);r=await n(ge(e,t,f),i,o)}a.push(Qe(e,r))}catch(t){(0,On.error)(t),c.push(e+" failed to install")}(0,$t.endGroup)(),d=Date.now(),(0,On.info)("took "+(l.format(u,d)||"0 seconds"))}}const m=r.compiler;u=Date.now();try{if(void 0!==m){const{compiler:e,version:t}=Je(m);switch((0,$t.startGroup)(`Installing ${e} ${null!=t?t:""}`),e){case"llvm":case"clang":case"clang++":{const e=await Te(ge("llvm",t,f),$gCrli$join(s,"llvm"),o);a.push(Qe("llvm",e));break}case"gcc":case"mingw":case"cygwin":case"msys":{const e=await $e(ge("gcc",t,f),$gCrli$join(s,"gcc"),o);a.push(Qe("gcc",e));break}case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":{const e=await Ge(ge("msvc",t,f),$gCrli$join(s,"msvc"),o);a.push(Qe("msvc",e));break}case"appleclang":case"applellvm":(0,$t.notice)("Assuming apple-clang is already installed"),await Promise.all([h("CC","clang"),h("CXX","clang++")]),a.push(Qe("apple-clang",void 0));break;default:c.push("Unsupported compiler "+e)}(0,$t.endGroup)(),d=Date.now(),(0,On.info)("took "+(l.format(u,d)||"0 seconds"))}}catch(e){(0,On.error)(e),c.push("Failed to install the "+m),(0,$t.endGroup)(),d=Date.now(),(0,On.info)("took "+(l.format(u,d)||"0 seconds"))}if(0===a.length&&0===c.length)return(0,On.warning)("setup_cpp was called without any arguments. Nothing to do."),0;if(a.forEach((e=>(0,On.success)(e))),c.forEach((e=>(0,On.error)(e))),(0,On.info)("setup_cpp finished"),"github-actions"!==t(Cn)())switch(process.platform){case"win32":(0,On.warning)("Run `RefreshEnv.cmd` or restart your shell to update the environment.");break;case"linux":case"darwin":(0,On.warning)("Run `source ~/.cpprc` or restart your shell to update the environment.")}return 0===c.length?0:1}function Ke(e){return((e,t)=>{var r,n,o,i,s,a={_:[]},c=0,l=0,u=0,p=(e=e||[]).length;const d=void 0!==(t=t||{}).alias,h=void 0!==t.unknown,f=void 0!==t.default;if(t.alias=t.alias||{},t.string=He(t.string),t.boolean=He(t.boolean),d)for(r in t.alias)for(n=t.alias[r]=He(t.alias[r]),c=0;n.length>c;c++)(t.alias[n[c]]=n.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(l=(n=t.alias[t.boolean[c]]||[]).length;l-- >0;)t.boolean.push(n[l]);for(c=t.string.length;c-- >0;)for(l=(n=t.alias[t.string[c]]||[]).length;l-- >0;)t.string.push(n[l]);if(f)for(r in t.default)if(i=typeof t.default[r],n=t.alias[r]=t.alias[r]||[],void 0!==t[i])for(t[i].push(r),c=0;n.length>c;c++)t[i].push(n[c]);const m=h?Object.keys(t.alias):[];for(c=0;p>c;c++){if("--"===(o=e[c])){a._=a._.concat(e.slice(++c));break}for(l=0;o.length>l&&45===o.charCodeAt(l);l++);if(0===l)a._.push(o);else if("no-"===o.substring(l,l+3)){if(i=o.substring(l+3),h&&!~m.indexOf(i))return t.unknown(o);a[i]=!1}else{for(u=l+1;o.length>u&&61!==o.charCodeAt(u);u++);for(i=o.substring(l,u),s=o.substring(++u)||c+1===p||45===(""+e[c+1]).charCodeAt(0)||e[++c],n=2===l?[i]:i,u=0;n.length>u;u++){if(i=n[u],h&&!~m.indexOf(i))return t.unknown("-".repeat(l)+i);qe(a,i,n.length>u+1||s,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(d)for(r in a)for(n=t.alias[r]||[];n.length>0;)a[n.shift()]=a[r];return a})(e,{string:Ki,default:Object.fromEntries(Ki.map((e=>[e,Ze(e)]))),alias:{h:"help"},boolean:"help"})}function Je(e){const r=e.split("-"),n=r[0];if(1 in r){const e=r[1];return null!==t(Zo)(e)||(0,On.info)(`Invalid semver version ${e} used for the compiler.`),{compiler:n,version:e}}return{compiler:n,version:void 0}}function Ze(e){const t=(0,$t.getInput)(e.toLowerCase());if("false"!==t&&""!==t)return t}function Qe(e,t){let r=`✅ ${e} was installed successfully:`;return void 0===t||("installDir"in t&&(r+="\n- The installation directory is "+t.installDir),""!==t.binDir&&(r+="\n- The binary directory is "+t.binDir)),r}import*as et from"os";import tt,*as rt from"path";import*as nt from"fs";import*as ot from"http";import*as it from"https";import"net";import{connect as st}from"tls";import*as at from"events";import*as ct from"assert";import*as lt from"util";import*as ut from"child_process";import{randomBytes as pt}from"crypto";import{StringDecoder as dt}from"string_decoder";import{setTimeout as ht}from"timers";import{constants as ft}from"buffer";import*as mt from"stream";import{URL as gt}from"url";import{env as vt,platform as yt}from"process";var wt="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},xt={},bt={},Et=wt.parcelRequire810d;null==Et&&((Et=e=>{if(e in xt)return xt[e].exports;if(e in bt){var t=bt[e];delete bt[e];var r={id:e,exports:{}};return xt[e]=r,t.call(r.exports,r,r.exports),r.exports}var n=Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}).register=(e,t)=>{bt[e]=t},wt.parcelRequire810d=Et),Et.register("gF2Jd",(function(e,t){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 n(e,t={}){u.issueCommand("error",d.toCommandProperties(t),e instanceof Error?""+e:e)}function o(e){u.issue("group",e)}function i(){u.issue("endgroup")}var s=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),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)&&s(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getIDToken=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=Et("CzUPq"),p=Et("a92Us"),d=Et("7u2Mm");const h=c(et),f=c(rt);var m,g,v=Et("aKUUy");(g=m=e.exports.ExitCode||(e.exports.ExitCode={}))[g.Success=0]="Success",g[g.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=d.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";p.issueCommand("ENV",`${e}<<${t}${h.EOL}${r}${h.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 n=r(e,t);if(["true","True","TRUE"].includes(n))return!0;if(["false","False","FALSE"].includes(n))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(h.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,n(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=n,e.exports.warning=(e,t={})=>{u.issueCommand("warning",d.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.notice=(e,t={})=>{u.issueCommand("notice",d.toCommandProperties(t),e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+h.EOL)},e.exports.startGroup=o,e.exports.endGroup=i,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{i()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||"",e.exports.getIDToken=function(e){return l(this,void 0,void 0,(function*(){return yield v.OidcClient.getIDToken(e)}))};var y=Et("f0qw2");Object.defineProperty(e.exports,"summary",{enumerable:!0,get(){return y.summary}}),y=Et("f0qw2"),Object.defineProperty(e.exports,"markdownSummary",{enumerable:!0,get(){return y.markdownSummary}});var w=Et("gzMJ3");Object.defineProperty(e.exports,"toPosixPath",{enumerable:!0,get(){return w.toPosixPath}}),Object.defineProperty(e.exports,"toWin32Path",{enumerable:!0,get(){return w.toWin32Path}}),Object.defineProperty(e.exports,"toPlatformPath",{enumerable:!0,get(){return w.toPlatformPath}})})),Et.register("CzUPq",(function(e,t){function r(e,t,r){const n=new c(e,t,r);process.stdout.write(""+n+s.EOL)}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),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)&&n(t,e,r);return o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const s=i(et);var a=Et("7u2Mm");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class c{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 n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,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}}})),Et.register("7u2Mm",((e,t)=>{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,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),Et.register("a92Us",((e,t)=>{var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const i=o(nt),s=o(et);var a=Et("7u2Mm");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(!i.existsSync(r))throw Error("Missing file at path: "+r);i.appendFileSync(r,`${a.toCommandValue(t)}${s.EOL}`,{encoding:"utf8"})}})),Et.register("aKUUy",(function(e,t){var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.OidcClient=void 0;var n=Et("9kh6d"),o=Et("bynPH"),i=Et("gF2Jd");class s{static createHttpClient(e=!0,t=10){const r={allowRetries:e,maxRetries:t};return new n.HttpClient("actions/oidc-client",[new o.BearerCredentialHandler(s.getRequestToken())],r)}static getRequestToken(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_TOKEN;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable");return e}static getIDTokenUrl(){const e=process.env.ACTIONS_ID_TOKEN_REQUEST_URL;if(!e)throw Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable");return e}static getCall(e){var t;return r(this,void 0,void 0,(function*(){const r=s.createHttpClient(),n=yield r.getJson(e).catch((e=>{throw Error(`Failed to get ID Token. \n \n Error Code : ${e.statusCode}\n \n Error Message: ${e.result.message}`)})),o=null===(t=n.result)||void 0===t?void 0:t.value;if(!o)throw Error("Response json body do not have ID Token field");return o}))}static getIDToken(e){return r(this,void 0,void 0,(function*(){try{let t=s.getIDTokenUrl();e&&(t=`${t}&audience=${encodeURIComponent(e)}`),i.debug("ID token url is "+t);const r=yield s.getCall(t);return i.setSecret(r),r}catch(e){throw Error("Error message: "+e.message)}}))}}e.exports.OidcClient=s})),Et.register("9kh6d",(function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.HttpClient=e.exports.isHttps=e.exports.HttpClientResponse=e.exports.HttpClientError=e.exports.getProxyUrl=e.exports.MediaTypes=e.exports.Headers=e.exports.HttpCodes=void 0;const s=o(ot),a=o(it),c=o(Et("hYqzk")),l=o(Et("ky4Yx"));var u,p,d,h,f;(p=u=e.exports.HttpCodes||(e.exports.HttpCodes={}))[p.OK=200]="OK",p[p.MultipleChoices=300]="MultipleChoices",p[p.MovedPermanently=301]="MovedPermanently",p[p.ResourceMoved=302]="ResourceMoved",p[p.SeeOther=303]="SeeOther",p[p.NotModified=304]="NotModified",p[p.UseProxy=305]="UseProxy",p[p.SwitchProxy=306]="SwitchProxy",p[p.TemporaryRedirect=307]="TemporaryRedirect",p[p.PermanentRedirect=308]="PermanentRedirect",p[p.BadRequest=400]="BadRequest",p[p.Unauthorized=401]="Unauthorized",p[p.PaymentRequired=402]="PaymentRequired",p[p.Forbidden=403]="Forbidden",p[p.NotFound=404]="NotFound",p[p.MethodNotAllowed=405]="MethodNotAllowed",p[p.NotAcceptable=406]="NotAcceptable",p[p.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",p[p.RequestTimeout=408]="RequestTimeout",p[p.Conflict=409]="Conflict",p[p.Gone=410]="Gone",p[p.TooManyRequests=429]="TooManyRequests",p[p.InternalServerError=500]="InternalServerError",p[p.NotImplemented=501]="NotImplemented",p[p.BadGateway=502]="BadGateway",p[p.ServiceUnavailable=503]="ServiceUnavailable",p[p.GatewayTimeout=504]="GatewayTimeout",(h=d=e.exports.Headers||(e.exports.Headers={})).Accept="accept",h.ContentType="content-type",(f=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{const t=c.getProxyUrl(new URL(e));return t?t.href:""};const m=[u.MovedPermanently,u.ResourceMoved,u.SeeOther,u.TemporaryRedirect,u.PermanentRedirect],g=[u.BadGateway,u.ServiceUnavailable,u.GatewayTimeout],v=["OPTIONS","GET","DELETE","HEAD"];class y extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,y.prototype)}}e.exports.HttpClientError=y;class w{constructor(e){this.message=e}readBody(){return i(this,void 0,void 0,(function*(){return new Promise((e=>i(this,void 0,void 0,(function*(){let t=Buffer.alloc(0);this.message.on("data",(e=>{t=Buffer.concat([t,e])})),this.message.on("end",(()=>{e(""+t)}))}))))}))}}e.exports.HttpClientResponse=w,e.exports.isHttps=e=>"https:"===new URL(e).protocol,e.exports.HttpClient=class{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 i(this,void 0,void 0,(function*(){return this.request("OPTIONS",e,null,t||{})}))}get(e,t){return i(this,void 0,void 0,(function*(){return this.request("GET",e,null,t||{})}))}del(e,t){return i(this,void 0,void 0,(function*(){return this.request("DELETE",e,null,t||{})}))}post(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("POST",e,t,r||{})}))}patch(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PATCH",e,t,r||{})}))}put(e,t,r){return i(this,void 0,void 0,(function*(){return this.request("PUT",e,t,r||{})}))}head(e,t){return i(this,void 0,void 0,(function*(){return this.request("HEAD",e,null,t||{})}))}sendStream(e,t,r,n){return i(this,void 0,void 0,(function*(){return this.request(e,t,r,n)}))}getJson(e,t={}){return i(this,void 0,void 0,(function*(){t[d.Accept]=this._getExistingOrDefaultHeader(t,d.Accept,f.ApplicationJson);const r=yield this.get(e,t);return this._processResponse(r,this.requestOptions)}))}postJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,f.ApplicationJson),r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,f.ApplicationJson);const o=yield this.post(e,n,r);return this._processResponse(o,this.requestOptions)}))}putJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,f.ApplicationJson),r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,f.ApplicationJson);const o=yield this.put(e,n,r);return this._processResponse(o,this.requestOptions)}))}patchJson(e,t,r={}){return i(this,void 0,void 0,(function*(){const n=JSON.stringify(t,null,2);r[d.Accept]=this._getExistingOrDefaultHeader(r,d.Accept,f.ApplicationJson),r[d.ContentType]=this._getExistingOrDefaultHeader(r,d.ContentType,f.ApplicationJson);const o=yield this.patch(e,n,r);return this._processResponse(o,this.requestOptions)}))}request(e,t,r,n){return i(this,void 0,void 0,(function*(){if(this._disposed)throw Error("Client has already been disposed.");const o=new URL(t);let i=this._prepareRequest(e,o,n);const s=this._allowRetries&&v.includes(e)?this._maxRetries+1:1;let a,c=0;do{if(a=yield this.requestRaw(i,r),a&&a.message&&a.message.statusCode===u.Unauthorized){let e;for(const t of this.handlers)if(t.canHandleAuthentication(a)){e=t;break}return e?e.handleAuthentication(this,i,r):a}let t=this._maxRedirects;for(;a.message.statusCode&&m.includes(a.message.statusCode)&&this._allowRedirects&&t>0;){const s=a.message.headers.location;if(!s)break;const c=new URL(s);if("https:"===o.protocol&&o.protocol!==c.protocol&&!this._allowRedirectDowngrade)throw Error("Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.");if(yield a.readBody(),c.hostname!==o.hostname)for(const e in n)"authorization"===e.toLowerCase()&&delete n[e];i=this._prepareRequest(e,c,n),a=yield this.requestRaw(i,r),t--}if(!a.message.statusCode||!g.includes(a.message.statusCode))return a;c+=1,s>c&&(yield a.readBody(),yield this._performExponentialBackoff(c))}while(s>c);return a}))}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>{this.requestRawWithCallback(e,t,((e,t)=>{e?n(e):t?r(t):n(Error("Unknown error"))}))}))}))}requestRawWithCallback(e,t,r){function n(e,t){o||(o=!0,r(e,t))}"string"==typeof t&&(e.options.headers||(e.options.headers={}),e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let o=!1;const i=e.httpModule.request(e.options,(e=>{n(void 0,new w(e))}));let s;i.on("socket",(e=>{s=e})),i.setTimeout(this._socketTimeout||18e4,(()=>{s&&s.end(),n(Error("Request timeout: "+e.options.path))})),i.on("error",(e=>{n(e)})),t&&"string"==typeof t&&i.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{i.end()})),t.pipe(i)):i.end()}getAgent(e){const t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const n={};n.parsedUrl=t;const o="https:"===n.parsedUrl.protocol;n.httpModule=o?a:s;const i=o?443:80;if(n.options={},n.options.host=n.parsedUrl.hostname,n.options.port=n.parsedUrl.port?parseInt(n.parsedUrl.port):i,n.options.path=(n.parsedUrl.pathname||"")+(n.parsedUrl.search||""),n.options.method=e,n.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(n.options.headers["user-agent"]=this.userAgent),n.options.agent=this._getAgent(n.parsedUrl),this.handlers)for(const e of this.handlers)e.prepareRequest(n.options);return n}_mergeHeaders(e){return this.requestOptions&&this.requestOptions.headers?Object.assign({},x(this.requestOptions.headers),x(e||{})):x(e||{})}_getExistingOrDefaultHeader(e,t,r){let n;return this.requestOptions&&this.requestOptions.headers&&(n=x(this.requestOptions.headers)[t]),e[t]||n||r}_getAgent(e){let t;const r=c.getProxyUrl(e),n=r&&r.hostname;if(this._keepAlive&&n&&(t=this._proxyAgent),this._keepAlive&&!n&&(t=this._agent),t)return t;const o="https:"===e.protocol;let i=100;if(this.requestOptions&&(i=this.requestOptions.maxSockets||s.globalAgent.maxSockets),r&&r.hostname){const e={maxSockets:i,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(r.username||r.password)&&{proxyAuth:`${r.username}:${r.password}`}),{host:r.hostname,port:r.port})};let n;const s="https:"===r.protocol;n=o?s?l.httpsOverHttps:l.httpsOverHttp:s?l.httpOverHttps:l.httpOverHttp,t=n(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:i};t=o?new a.Agent(e):new s.Agent(e),this._agent=t}return t||(t=o?a.globalAgent:s.globalAgent),o&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){return i(this,void 0,void 0,(function*(){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}))}_processResponse(e,t){return i(this,void 0,void 0,(function*(){return new Promise(((r,n)=>i(this,void 0,void 0,(function*(){const o=e.message.statusCode||0,i={statusCode:o,result:null,headers:{}};let s,a;o===u.NotFound&&r(i);try{a=yield e.readBody(),a&&a.length>0&&(s=t&&t.deserializeDates?JSON.parse(a,((e,t)=>{if("string"==typeof t){const e=new Date(t);if(!isNaN(e.valueOf()))return e}return t})):JSON.parse(a),i.result=s),i.headers=e.message.headers}catch(e){}if(o>299){let e;e=s&&s.message?s.message:a&&a.length>0?a:`Failed request: (${o})`;const t=new y(e,o);t.result=i.result,n(t)}else r(i)}))))}))}};const x=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{})})),Et.register("hYqzk",((e,t)=>{function r(e){if(!e.hostname)return!1;const t=process.env.no_proxy||process.env.NO_PROXY||"";if(!t)return!1;let r;e.port?r=+e.port:"http:"===e.protocol?r=80:"https:"===e.protocol&&(r=443);const n=[e.hostname.toUpperCase()];"number"==typeof r&&n.push(`${n[0]}:${r}`);for(const e of t.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(n.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.checkBypass=e.exports.getProxyUrl=void 0,e.exports.getProxyUrl=e=>{const t="https:"===e.protocol;if(r(e))return;const n=t?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY;return n?new URL(n):void 0},e.exports.checkBypass=r})),Et.register("ky4Yx",((e,t)=>{e.exports=Et("48VNE")})),Et.register("48VNE",(function(t,r){function n(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||$gCrli$Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,n,o)=>{for(var s=i(r,n,o),a=0,c=t.requests.length;c>a;++a){var l=t.requests[a];if(l.host===s.host&&l.port===s.port)return t.requests.splice(a,1),void l.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function o(e,t){var r=this;n.prototype.createSocket.call(r,e,(n=>{var o=e.request.getHeader("host"),i=s({},r.options,{socket:n,servername:o?o.replace(/:.*$/,""):e.host}),a=st(0,i);r.sockets[r.sockets.indexOf(n)]=a,t(a)}))}function i(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function s(e){for(var t=1,r=arguments.length;r>t;++t){var n=arguments[t];if("object"==typeof n)for(var o=Object.keys(n),i=0,s=o.length;s>i;++i){var a=o[i];void 0!==n[a]&&(e[a]=n[a])}}return e}var a,c,l,u,p,d;e(t.exports,"httpOverHttp",(()=>a),(e=>a=e)),e(t.exports,"httpsOverHttp",(()=>c),(e=>c=e)),e(t.exports,"httpOverHttps",(()=>l),(e=>l=e)),e(t.exports,"httpsOverHttps",(()=>u),(e=>u=e)),e(t.exports,"debug",(()=>p),(e=>p=e)),a=e=>{var t=new n(e);return t.request=$gCrli$request,t},c=e=>{var t=new n(e);return t.request=$gCrli$request,t.createSocket=o,t.defaultPort=443,t},l=e=>{var t=new n(e);return t.request=$gCrli$request1,t},u=e=>{var t=new n(e);return t.request=$gCrli$request1,t.createSocket=o,t.defaultPort=443,t},$gCrli$inherits(n,$gCrli$EventEmitter),n.prototype.addRequest=function(e,t,r,n){var o=this,a=s({request:e},o.options,i(t,r,n));this.maxSockets>o.sockets.length?o.createSocket(a,(t=>{function r(){o.emit("free",t,a)}function n(e){o.removeSocket(t),t.removeListener("free",r),t.removeListener("close",n),t.removeListener("agentRemove",n)}t.on("free",r),t.on("close",n),t.on("agentRemove",n),e.onSocket(t)})):o.requests.push(a)},n.prototype.createSocket=function(e,t){function r(r,i,s){var c;return a.removeAllListeners(),i.removeAllListeners(),200!==r.statusCode?(d("tunneling socket could not be established, statusCode=%d",r.statusCode),i.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):s.length>0?(d("got illegal response body from proxy"),i.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void n.removeSocket(o)):(d("tunneling connection has established"),n.sockets[n.sockets.indexOf(o)]=i,t(i))}var n=this,o={};n.sockets.push(o);var i=s({},n.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(i.localAddress=e.localAddress),i.proxyAuth&&(i.headers=i.headers||{},i.headers["Proxy-Authorization"]="Basic "+new Buffer(i.proxyAuth).toString("base64")),d("making CONNECT request");var a=n.request(i);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,n)=>{process.nextTick((()=>{r(e,t,n)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),d("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),n.removeSocket(o)})),a.end()},n.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)}))}},p=d=()=>{}})),Et.register("bynPH",(function(e,t){var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.PersonalAccessTokenCredentialHandler=e.exports.BearerCredentialHandler=e.exports.BasicCredentialHandler=void 0,e.exports.BasicCredentialHandler=class{constructor(e,t){this.username=e,this.password=t}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from(`${this.username}:${this.password}`).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.BearerCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Bearer "+this.token}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}},e.exports.PersonalAccessTokenCredentialHandler=class{constructor(e){this.token=e}prepareRequest(e){if(!e.headers)throw Error("The request has no headers");e.headers.Authorization="Basic "+Buffer.from("PAT:"+this.token).toString("base64")}canHandleAuthentication(){return!1}handleAuthentication(){return r(this,void 0,void 0,(function*(){throw Error("not implemented")}))}}})),Et.register("f0qw2",(function(e,t){var r=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.summary=e.exports.markdownSummary=e.exports.SUMMARY_DOCS_URL=e.exports.SUMMARY_ENV_VAR=void 0;const{access:n,appendFile:o,writeFile:i}=$gCrli$promises;e.exports.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY",e.exports.SUMMARY_DOCS_URL="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";const s=new class{constructor(){this._buffer=""}filePath(){return r(this,void 0,void 0,(function*(){if(this._filePath)return this._filePath;const t=process.env[e.exports.SUMMARY_ENV_VAR];if(!t)throw Error(`Unable to find environment variable for $${e.exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);try{yield n(t,$gCrli$constants.R_OK|$gCrli$constants.W_OK)}catch(e){throw Error(`Unable to access summary file: '${t}'. Check if the file has correct read/write permissions.`)}return this._filePath=t,this._filePath}))}wrap(e,t,r={}){const n=Object.entries(r).map((([e,t])=>` ${e}="${t}"`)).join("");return t?`<${e}${n}>${t}`:`<${e}${n}>`}write(e){return r(this,void 0,void 0,(function*(){const t=!!(null==e?void 0:e.overwrite),r=yield this.filePath(),n=t?i:o;return yield n(r,this._buffer,{encoding:"utf8"}),this.emptyBuffer()}))}clear(){return r(this,void 0,void 0,(function*(){return this.emptyBuffer().write({overwrite:!0})}))}stringify(){return this._buffer}isEmptyBuffer(){return 0===this._buffer.length}emptyBuffer(){return this._buffer="",this}addRaw(e,t=!1){return this._buffer+=e,t?this.addEOL():this}addEOL(){return this.addRaw($gCrli$EOL)}addCodeBlock(e,t){const r=Object.assign({},t&&{lang:t}),n=this.wrap("pre",this.wrap("code",e),r);return this.addRaw(n).addEOL()}addList(e,t=!1){const r=t?"ol":"ul",n=e.map((e=>this.wrap("li",e))).join(""),o=this.wrap(r,n);return this.addRaw(o).addEOL()}addTable(e){const t=e.map((e=>{const t=e.map((e=>{if("string"==typeof e)return this.wrap("td",e);const{header:t,data:r,colspan:n,rowspan:o}=e,i=t?"th":"td",s=Object.assign(Object.assign({},n&&{colspan:n}),o&&{rowspan:o});return this.wrap(i,r,s)})).join("");return this.wrap("tr",t)})).join(""),r=this.wrap("table",t);return this.addRaw(r).addEOL()}addDetails(e,t){const r=this.wrap("details",this.wrap("summary",e)+t);return this.addRaw(r).addEOL()}addImage(e,t,r){const{width:n,height:o}=r||{},i=Object.assign(Object.assign({},n&&{width:n}),o&&{height:o}),s=this.wrap("img",null,Object.assign({src:e,alt:t},i));return this.addRaw(s).addEOL()}addHeading(e,t){const r="h"+t,n=["h1","h2","h3","h4","h5","h6"].includes(r)?r:"h1",o=this.wrap(n,e);return this.addRaw(o).addEOL()}addSeparator(){const e=this.wrap("hr",null);return this.addRaw(e).addEOL()}addBreak(){const e=this.wrap("br",null);return this.addRaw(e).addEOL()}addQuote(e,t){const r=Object.assign({},t&&{cite:t}),n=this.wrap("blockquote",e,r);return this.addRaw(n).addEOL()}addLink(e,t){const r=this.wrap("a",e,{href:t});return this.addRaw(r).addEOL()}};e.exports.markdownSummary=s,e.exports.summary=s})),Et.register("gzMJ3",((e,t)=>{var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toPlatformPath=e.exports.toWin32Path=e.exports.toPosixPath=void 0;const i=o(rt);e.exports.toPosixPath=e=>e.replace(/[\\]/g,"/"),e.exports.toWin32Path=e=>e.replace(/[/]/g,"\\"),e.exports.toPlatformPath=e=>e.replace(/[/\\]/g,i.sep)})),Et.register("jUvGx",((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 n=0;r.length>n;n++){var o=r[n].toLowerCase();if(o&&e.substr(-o.length).toLowerCase()===o)return!0}return!1})(t,r)}function n(e,t,n){$gCrli$stat(e,((o,i)=>{n(o,!o&&r(i,e,t))}))}e.exports=n,n.sync=(e,t)=>r($gCrli$statSync(e),e,t)})),Et.register("lNi8N",((e,t)=>{function r(e,t,r){$gCrli$stat(e,((e,o)=>{r(e,!e&&n(o,t))}))}function n(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,n=e.uid,o=e.gid,i=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),s=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=a|c;return r&parseInt("001",8)||r&c&&o===s||r&a&&n===i||r&l&&0===i})(e,t)}e.exports=r,r.sync=(e,t)=>n($gCrli$statSync(e),t)})),Et.register("81ovw",((r,n)=>{function o(e){return"github-actions"===t(u)()?l.error(e):console.log(`${e}`)}function i(e){return console.log(`${e}`)}function s(e){return"github-actions"===t(u)()?l.warning(e):console.log(`${e}`)}function a(e){return"github-actions"===t(u)()?l.notice(e):console.log(`${e}`)}function c(e){return"github-actions"===t(u)()?l.info(e):console.log(e)}e(r.exports,"error",(()=>o)),e(r.exports,"success",(()=>i)),e(r.exports,"warning",(()=>s)),e(r.exports,"notice",(()=>a)),e(r.exports,"info",(()=>c));var l=Et("gF2Jd"),u=Et("ywN2f")})),Et.register("ywN2f",((e,t)=>{e.exports=()=>process.env.GERRIT_PROJECT?"gerrit":process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI?"azure-pipelines":process.env.BITRISE_IO?"bitrise":process.env.BUDDY_WORKSPACE_ID?"buddy":process.env.BUILDKITE?"buildkite":process.env.CIRRUS_CI?"cirrus":process.env.GITLAB_CI?"gitlab":process.env.APPVEYOR?"appveyor":process.env.CIRCLECI?"circle-ci":process.env.SEMAPHORE?"semaphore":process.env.DRONE?"drone":process.env.DSARI?"dsari":process.env.GITHUB_ACTION?"github-actions":process.env.TDDIUM?"tddium":process.env.SCREWDRIVER?"screwdriver":process.env.STRIDER?"strider":process.env.TASKCLUSTER_ROOT_URL?"taskcluster":process.env.JENKINS_URL?"jenkins":process.env["bamboo.buildKey"]?"bamboo":process.env.GO_PIPELINE_NAME?"gocd":process.env.HUDSON_URL?"hudson":process.env.WERCKER?"wercker":process.env.NETLIFY?"netlify":process.env.NOW_GITHUB_DEPLOYMENT?"now-github":process.env.GITLAB_DEPLOYMENT?"now-gitlab":process.env.BITBUCKET_DEPLOYMENT?"now-bitbucket":process.env.BITBUCKET_BUILD_NUMBER?"bitbucket-pipelines":process.env.NOW_BUILDER?"now":process.env.VERCEL_GITHUB_DEPLOYMENT?"vercel-github":process.env.VERCEL_GITLAB_DEPLOYMENT?"vercel-gitlab":process.env.VERCEL_BITBUCKET_DEPLOYMENT?"vercel-bitbucket":process.env.VERCEL_URL?"vercel":process.env.MAGNUM?"magnum":process.env.NEVERCODE?"nevercode":process.env.RENDER?"render":process.env.SAIL_CI?"sail":process.env.SHIPPABLE?"shippable":process.env.TEAMCITY_VERSION?"teamcity":process.env.CI_NAME?process.env.CI_NAME:/\/\.heroku\/node\/bin\/node$/.test(process.env.NODE||"")?"heroku":process.env.TRAVIS?"travis-ci":process.env.CODEBUILD_SRC_DIR?"aws-codebuild":"true"===process.env.CI||"1"===process.env.CI?"custom":!!process.env.BUILDER_OUTPUT&&"builder"})),Et.register("3FPvT",((e,t)=>{e.exports=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&e.exports.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&e.exports.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED")})),Et.register("2fNe7",(function(e,t){function r(e){return u(this,void 0,void 0,(function*(){if(h.IS_WINDOWS){if(/[*"<>|]/.test(e))throw Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows');try{const t=h.getCmdPath();(yield h.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 h.unlink(e)}catch(e){if("ENOENT"!==e.code)throw e}}else{let t=!1;try{t=yield h.isDirectory(e)}catch(e){if("ENOENT"!==e.code)throw e;return}t?yield m("rm",["-rf",""+e]):yield h.unlink(e)}}))}function n(e){return u(this,void 0,void 0,(function*(){$gCrli$ok(e,"a path argument must be provided"),yield h.mkdir(e,{recursive:!0})}))}function o(e){return u(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'tool' is required");const t=[];if(h.IS_WINDOWS&&process.env.PATHEXT)for(const e of process.env.PATHEXT.split(d.delimiter))e&&t.push(e);if(h.isRooted(e)){const r=yield h.tryGetExecutablePath(e,t);return r?[r]:[]}if(e.includes(d.sep))return[];const r=[];if(process.env.PATH)for(const e of process.env.PATH.split(d.delimiter))e&&r.push(e);const n=[];for(const o of r){const r=yield h.tryGetExecutablePath(d.join(o,e),t);r&&n.push(r)}return n}))}function i(e,t,r,o){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield n(t);const a=yield h.readdir(e);for(const n of a){const a=`${e}/${n}`,c=`${t}/${n}`;(yield h.lstat(a)).isDirectory()?yield i(a,c,r,o):yield s(a,c,o)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function s(e,t,r){return u(this,void 0,void 0,(function*(){if((yield h.lstat(e)).isSymbolicLink()){try{yield h.lstat(t),yield h.unlink(t)}catch(e){"EPERM"===e.code&&(yield h.chmod(t,"0666"),yield h.unlink(t))}const r=yield h.readlink(e);yield h.symlink(r,t,h.IS_WINDOWS?"junction":null)}else(yield h.exists(t))&&!r||(yield h.copyFile(e,t))}))}var a=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),c=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)&&a(t,e,r);return c(t,e),t}),u=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.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=l(ut),d=l(rt),h=l(Et("0VvfX")),f=$gCrli$promisify(p.exec),m=$gCrli$promisify(p.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:n,recursive:o,copySourceDirectory:a}=(e=>({force:null==e.force||e.force,recursive:!!e.recursive,copySourceDirectory:null==e.copySourceDirectory||!!e.copySourceDirectory}))(r),c=(yield h.exists(t))?yield h.stat(t):null;if(c&&c.isFile()&&!n)return;const l=c&&c.isDirectory()&&a?d.join(t,d.basename(e)):t;if(!(yield h.exists(e)))throw Error("no such file or directory: "+e);if((yield h.stat(e)).isDirectory()){if(!o)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield i(e,l,0,n)}else{if(""===d.relative(e,l))throw Error(`'${l}' and '${e}' are the same file`);yield s(e,l,n)}}))},e.exports.mv=function(e,t,o={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let n=!0;if((yield h.isDirectory(t))&&(t=d.join(t,d.basename(e)),n=yield h.exists(t)),n){if(null!=o.force&&!o.force)throw Error("Destination already exists");yield r(t)}}yield n(d.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=n,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(h.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 n=yield o(t);return n&&n.length>0?n[0]:""}))},e.exports.findInPath=o})),Et.register("0VvfX",(function(e,t){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 n,o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),i=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 r in e)"default"!==r&&Object.hasOwnProperty.call(e,r)&&o(t,e,r);return i(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.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 c=s(nt),l=s(rt);e.exports.chmod=(n=c.promises).chmod,e.exports.copyFile=n.copyFile,e.exports.lstat=n.lstat,e.exports.mkdir=n.mkdir,e.exports.readdir=n.readdir,e.exports.readlink=n.readlink,e.exports.rename=n.rename,e.exports.rmdir=n.rmdir,e.exports.stat=n.stat,e.exports.symlink=n.symlink,e.exports.unlink=n.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,n){return a(this,void 0,void 0,(function*(){let o;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile())if(e.exports.IS_WINDOWS){const e=l.extname(t).toUpperCase();if(n.some((t=>t.toUpperCase()===e)))return t}else if(r(o))return t;const i=t;for(const s of n){t=i+s,o=void 0;try{o=yield e.exports.stat(t)}catch(e){"ENOENT"!==e.code&&console.log(`Unexpected error attempting to determine if executable file exists '${t}': ${e}`)}if(o&&o.isFile()){if(e.exports.IS_WINDOWS){try{const r=l.dirname(t),n=l.basename(t).toUpperCase();for(const o of yield e.exports.readdir(r))if(n===o.toUpperCase()){t=l.join(r,o);break}}catch(e){console.log(`Unexpected error attempting to determine the actual case of the file '${t}': ${e}`)}return t}if(r(o))return t}}return""}))},e.exports.getCmdPath=()=>{var e;return null!==(e=process.env.COMSPEC)&&void 0!==e?e:"cmd.exe"}})),Et.register("biqIc",(function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const s=o(Et("dsEdn"));var a=Et("gF2Jd");e.exports._findMatch=function(t,r,n,o){return i(this,void 0,void 0,(function*(){const i=$gCrli$platform();let c,l,u;for(const c of n){const n=c.version;if(a.debug(`check ${n} satisfies ${t}`),s.satisfies(n,t)&&(!r||c.stable===r)&&(u=c.files.find((t=>{a.debug(`${t.arch}===${o} && ${t.platform}===${i}`);let r=t.arch===o&&t.platform===i;if(r&&t.platform_version){const n=e.exports._getOsVersion();r=n===t.platform_version||s.satisfies(n,t.platform_version)}return r})),u)){a.debug("matched "+c.version),l=c;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},e.exports._getOsVersion=()=>{const t=$gCrli$platform();let r="";if("darwin"===t)r=""+$gCrli$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 $gCrli$existsSync(e)?r=""+$gCrli$readFileSync(e):$gCrli$existsSync(t)&&(r=""+$gCrli$readFileSync(t)),r}})),Et.register("dsEdn",((e,t)=>{var r=Et("e9hBm");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:Et("4Y6QE").SEMVER_SPEC_VERSION,SemVer:Et("ewE0y"),compareIdentifiers:Et("5niLa").compareIdentifiers,rcompareIdentifiers:Et("5niLa").rcompareIdentifiers,parse:Et("9pDo3"),valid:Et("kULaE"),clean:Et("kVpax"),inc:Et("h6Vge"),diff:Et("3u0pC"),major:Et("ehbTi"),minor:Et("gKZZ5"),patch:Et("aLUuB"),prerelease:Et("janoF"),compare:Et("odmNz"),rcompare:Et("jBQST"),compareLoose:Et("jTcyr"),compareBuild:Et("34MvR"),sort:Et("fGLgH"),rsort:Et("c3rWp"),gt:Et("fMkbf"),lt:Et("KbgdS"),eq:Et("13Au1"),neq:Et("lMg40"),gte:Et("kdktp"),lte:Et("kNWZ7"),cmp:Et("hYtJM"),coerce:Et("3wKw1"),Comparator:Et("9Bceq"),Range:Et("kEeqW"),satisfies:Et("fThUd"),toComparators:Et("kBAIU"),maxSatisfying:Et("9ybja"),minSatisfying:Et("lw7B8"),minVersion:Et("aGCCN"),validRange:Et("asxHW"),outside:Et("5T7ZF"),gtr:Et("8pZ7x"),ltr:Et("jkRb0"),intersects:Et("5obom"),simplifyRange:Et("rDQLp"),subset:Et("3vJJ8")}})),Et.register("e9hBm",((e,t)=>{var r=Et("4Y6QE").MAX_SAFE_COMPONENT_LENGTH,n=Et("36nrx");const o=(t=e.exports={}).re=[],i=t.src=[],s=t.t={};let a=0;const c=(e,t,r)=>{const c=a++;n(e,c,t),s[e]=c,i[c]=t,o[c]=RegExp(t,r?"g":void 0)};c("NUMERICIDENTIFIER","0|[1-9]\\d*"),c("NUMERICIDENTIFIERLOOSE","[0-9]+"),c("NONNUMERICIDENTIFIER","\\d*[a-zA-Z-][a-zA-Z0-9-]*"),c("MAINVERSION",`(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})\\.(${i[s.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})\\.(${i[s.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${i[s.NUMERICIDENTIFIER]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${i[s.NUMERICIDENTIFIERLOOSE]}|${i[s.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${i[s.PRERELEASEIDENTIFIER]}(?:\\.${i[s.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${i[s.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${i[s.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${i[s.BUILDIDENTIFIER]}(?:\\.${i[s.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${i[s.MAINVERSION]}${i[s.PRERELEASE]}?${i[s.BUILD]}?`),c("FULL",`^${i[s.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${i[s.MAINVERSIONLOOSE]}${i[s.PRERELEASELOOSE]}?${i[s.BUILD]}?`),c("LOOSE",`^${i[s.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",i[s.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",i[s.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:\\.(${i[s.XRANGEIDENTIFIER]})(?:${i[s.PRERELEASE]})?${i[s.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:\\.(${i[s.XRANGEIDENTIFIERLOOSE]})(?:${i[s.PRERELEASELOOSE]})?${i[s.BUILD]}?)?)?`),c("XRANGE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${i[s.GTLT]}\\s*${i[s.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",i[s.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${i[s.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${i[s.LONETILDE]}${i[s.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${i[s.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${i[s.LONECARET]}${i[s.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${i[s.LONECARET]}${i[s.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${i[s.GTLT]}\\s*(${i[s.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${i[s.GTLT]}\\s*(${i[s.LOOSEPLAIN]}|${i[s.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${i[s.XRANGEPLAIN]})\\s+-\\s+(${i[s.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${i[s.XRANGEPLAINLOOSE]})\\s+-\\s+(${i[s.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")})),Et.register("4Y6QE",((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}})),Et.register("36nrx",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),Et.register("ewE0y",(function(e,t){var r=Et("36nrx"),n=Et("4Y6QE"),o=n.MAX_LENGTH,i=n.MAX_SAFE_INTEGER,s=Et("e9hBm"),a=s.re,c=s.t,l=Et("kQXIc"),u=Et("5niLa").compareIdentifiers;class p{constructor(e,t){if(t=l(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>o)throw new TypeError(`version is longer than ${o} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const n=e.trim().match(t.loose?a[c.LOOSE]:a[c.FULL]);if(!n)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+n[1],this.minor=+n[2],this.patch=+n[3],this.major>i||0>this.major)throw new TypeError("Invalid major version");if(this.minor>i||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>i||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=n[4]?n[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&i>t)return t}return e})):[],this.build=n[5]?n[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 n=this.prerelease[t],o=e.prerelease[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const n=this.build[t],o=e.build[t];if(r("prerelease compare",t,n,o),void 0===n&&void 0===o)return 0;if(void 0===o)return 1;if(void 0===n)return-1;if(n!==o)return u(n,o)}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&&(0===u(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})),Et.register("kQXIc",((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)),{}):{}})),Et.register("5niLa",((e,t)=>{const r=/^[0-9]+$/,n=(e,t)=>{const n=r.test(e),o=r.test(t);return n&&o&&(e=+e,t=+t),e===t?0:n&&!o?-1:o&&!n?1:t>e?-1:1};e.exports={compareIdentifiers:n,rcompareIdentifiers(e,t){return n(t,e)}}})),Et.register("9pDo3",((e,t)=>{var r=Et("4Y6QE").MAX_LENGTH,n=Et("e9hBm"),o=n.re,i=n.t,s=Et("ewE0y"),a=Et("kQXIc");e.exports=(e,t)=>{if(t=a(t),e instanceof s)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?o[i.LOOSE]:o[i.FULL]).test(e))return null;try{return new s(e,t)}catch(e){return null}}})),Et.register("kULaE",((e,t)=>{var r=Et("9pDo3");e.exports=(e,t)=>{const n=r(e,t);return n?n.version:null}})),Et.register("kVpax",((e,t)=>{var r=Et("9pDo3");e.exports=(e,t)=>{const n=r(e.trim().replace(/^[=v]+/,""),t);return n?n.version:null}})),Et.register("h6Vge",((e,t)=>{var r=Et("ewE0y");e.exports=(e,t,n,o)=>{"string"==typeof n&&(o=n,n=void 0);try{return new r(e instanceof r?e.version:e,n).inc(t,o).version}catch(e){return null}}})),Et.register("3u0pC",((e,t)=>{var r=Et("9pDo3"),n=Et("13Au1");e.exports=(e,t)=>{if(n(e,t))return null;{const n=r(e),o=r(t),i=n.prerelease.length||o.prerelease.length,s=i?"pre":"",a=i?"prerelease":"";for(const e in n)if(("major"===e||"minor"===e||"patch"===e)&&n[e]!==o[e])return s+e;return a}}})),Et.register("13Au1",((e,t)=>{var r=Et("odmNz");e.exports=(e,t,n)=>0===r(e,t,n)})),Et.register("odmNz",((e,t)=>{var r=Et("ewE0y");e.exports=(e,t,n)=>new r(e,n).compare(new r(t,n))})),Et.register("ehbTi",((e,t)=>{var r=Et("ewE0y");e.exports=(e,t)=>new r(e,t).major})),Et.register("gKZZ5",((e,t)=>{var r=Et("ewE0y");e.exports=(e,t)=>new r(e,t).minor})),Et.register("aLUuB",((e,t)=>{var r=Et("ewE0y");e.exports=(e,t)=>new r(e,t).patch})),Et.register("janoF",((e,t)=>{var r=Et("9pDo3");e.exports=(e,t)=>{const n=r(e,t);return n&&n.prerelease.length?n.prerelease:null}})),Et.register("jBQST",((e,t)=>{var r=Et("odmNz");e.exports=(e,t,n)=>r(t,e,n)})),Et.register("jTcyr",((e,t)=>{var r=Et("odmNz");e.exports=(e,t)=>r(e,t,!0)})),Et.register("34MvR",((e,t)=>{var r=Et("ewE0y");e.exports=(e,t,n)=>{const o=new r(e,n),i=new r(t,n);return o.compare(i)||o.compareBuild(i)}})),Et.register("fGLgH",((e,t)=>{var r=Et("34MvR");e.exports=(e,t)=>e.sort(((e,n)=>r(e,n,t)))})),Et.register("c3rWp",((e,t)=>{var r=Et("34MvR");e.exports=(e,t)=>e.sort(((e,n)=>r(n,e,t)))})),Et.register("fMkbf",((e,t)=>{var r=Et("odmNz");e.exports=(e,t,n)=>r(e,t,n)>0})),Et.register("KbgdS",((e,t)=>{var r=Et("odmNz");e.exports=(e,t,n)=>0>r(e,t,n)})),Et.register("lMg40",((e,t)=>{var r=Et("odmNz");e.exports=(e,t,n)=>0!==r(e,t,n)})),Et.register("kdktp",((e,t)=>{var r=Et("odmNz");e.exports=(e,t,n)=>r(e,t,n)>=0})),Et.register("kNWZ7",((e,t)=>{var r=Et("odmNz");e.exports=(e,t,n)=>0>=r(e,t,n)})),Et.register("hYtJM",((e,t)=>{var r=Et("13Au1"),n=Et("lMg40"),o=Et("fMkbf"),i=Et("kdktp"),s=Et("KbgdS"),a=Et("kNWZ7");e.exports=(e,t,c,l)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e===c;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof c&&(c=c.version),e!==c;case"":case"=":case"==":return r(e,c,l);case"!=":return n(e,c,l);case">":return o(e,c,l);case">=":return i(e,c,l);case"<":return s(e,c,l);case"<=":return a(e,c,l);default:throw new TypeError("Invalid operator: "+t)}}})),Et.register("3wKw1",((e,t)=>{var r=Et("ewE0y"),n=Et("9pDo3"),o=Et("e9hBm"),i=o.re,s=o.t;e.exports=(e,t)=>{if(e instanceof r)return e;if("number"==typeof e&&(e+=""),"string"!=typeof e)return null;let o=null;if((t=t||{}).rtl){let t;for(;(t=i[s.COERCERTL].exec(e))&&(!o||o.index+o[0].length!==e.length);)o&&t.index+t[0].length===o.index+o[0].length||(o=t),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else o=e.match(i[s.COERCE]);return null===o?null:n(`${o[2]}.${o[3]||"0"}.${o[4]||"0"}`,t)}})),Et.register("9Bceq",(function(e,t){const r=Symbol();class n{static get ANY(){return r}constructor(e,t){if(t=o(t),e instanceof n){if(e.loose===!!t.loose)return e;e=e.value}l("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.value=this.semver===r?"":this.operator+this.semver.version,l("comp",this)}parse(e){const t=e.match(this.options.loose?s[a.COMPARATORLOOSE]:s[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(l("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 c(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof n))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),o=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),i=this.semver.version===e.semver.version,s=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),a=c(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=c(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return r||o||i&&s||a||l}}e.exports=n;var o=Et("kQXIc"),i=Et("e9hBm"),s=i.re,a=i.t,c=Et("hYtJM"),l=Et("36nrx"),u=Et("ewE0y"),p=Et("kEeqW")})),Et.register("kEeqW",(function(e,t){class r{constructor(e,t){if(t=o(t),e instanceof r)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new r(e.raw,t);if(e instanceof i)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("||").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=n.get(t);if(r)return r;const o=this.options.loose;e=e.replace(o?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE],O(this.options.includePrerelease)),s("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],p),s("comparator trim",e);let a=(e=(e=(e=e.replace(l[u.TILDETRIM],d)).replace(l[u.CARETTRIM],h)).split(/\s+/).join(" ")).split(" ").map((e=>v(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options)));o&&(a=a.filter((e=>(s("loose invalid filter",e,this.options),!!e.match(l[u.COMPARATORLOOSE]))))),s("range list",a);const c=new Map,m=a.map((e=>new i(e,this.options)));for(const e of m){if(f(e))return[e];c.set(e.value,e)}c.size>1&&c.has("")&&c.delete("");const g=[...c.values()];return n.set(t,g),g}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>g(r,t)&&e.set.some((e=>g(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(T(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const n=new(Et("baiI1"))({max:1e3});var o=Et("kQXIc"),i=Et("9Bceq"),s=Et("36nrx"),a=Et("ewE0y"),c=Et("e9hBm"),l=c.re,u=c.t,p=c.comparatorTrimReplace,d=c.tildeTrimReplace,h=c.caretTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,g=(e,t)=>{let r=!0;const n=e.slice();let o=n.pop();for(;r&&n.length;)r=n.every((e=>o.intersects(e,t))),o=n.pop();return r},v=(e,t)=>(s("comp",e,t),e=b(e,t),s("caret",e),e=w(e,t),s("tildes",e),e=$(e,t),s("xrange",e),e=C(e,t),s("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,w=(e,t)=>e.trim().split(/\s+/).map((e=>x(e,t))).join(" "),x=(e,t)=>e.replace(t.loose?l[u.TILDELOOSE]:l[u.TILDE],((t,r,n,o,i)=>{let a;return s("tilde",e,t,r,n,o,i),y(r)?a="":y(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(o)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:i?(s("replaceTilde pr",i),a=`>=${r}.${n}.${o}-${i} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${o} <${r}.${+n+1}.0-0`,s("tilde return",a),a})),b=(e,t)=>e.trim().split(/\s+/).map((e=>E(e,t))).join(" "),E=(e,t)=>{s("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?l[u.CARETLOOSE]:l[u.CARET],((t,n,o,i,a)=>{let c;return s("caret",e,t,n,o,i,a),y(n)?c="":y(o)?c=`>=${n}.0.0${r} <${+n+1}.0.0-0`:y(i)?c="0"===n?`>=${n}.${o}.0${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.0${r} <${+n+1}.0.0-0`:a?(s("replaceCaret pr",a),c="0"===n?"0"===o?`>=${n}.${o}.${i}-${a} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}-${a} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i}-${a} <${+n+1}.0.0-0`):(s("no pr"),c="0"===n?"0"===o?`>=${n}.${o}.${i}${r} <${n}.${o}.${+i+1}-0`:`>=${n}.${o}.${i}${r} <${n}.${+o+1}.0-0`:`>=${n}.${o}.${i} <${+n+1}.0.0-0`),s("caret return",c),c}))},$=(e,t)=>(s("replaceXRanges",e,t),e.split(/\s+/).map((e=>S(e,t))).join(" ")),S=(e,t)=>(e=e.trim()).replace(t.loose?l[u.XRANGELOOSE]:l[u.XRANGE],((r,n,o,i,a,c)=>{s("xRange",e,r,n,o,i,a,c);const l=y(o),u=l||y(i),p=u||y(a);return"="===n&&p&&(n=""),c=t.includePrerelease?"-0":"",l?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(u&&(i=0),a=0,">"===n?(n=">=",u?(o=+o+1,i=0,a=0):(i=+i+1,a=0)):"<="===n&&(n="<",u?o=+o+1:i=+i+1),"<"===n&&(c="-0"),r=`${n+o}.${i}.${a}${c}`):u?r=`>=${o}.0.0${c} <${+o+1}.0.0-0`:p&&(r=`>=${o}.${i}.0${c} <${o}.${+i+1}.0-0`),s("xRange return",r),r})),C=(e,t)=>(s("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),_=(e,t)=>(s("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),O=e=>(t,r,n,o,i,s,a,c,l,u,p,d,h)=>`${r=y(n)?"":y(o)?`>=${n}.0.0${e?"-0":""}`:y(i)?`>=${n}.${o}.0${e?"-0":""}`:s?">="+r:`>=${r}${e?"-0":""}`} ${c=y(l)?"":y(u)?`<${+l+1}.0.0-0`:y(p)?`<${l}.${+u+1}.0-0`:d?`<=${l}.${u}.${p}-${d}`:e?`<${l}.${u}.${+p+1}-0`:"<="+c}`.trim(),T=(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(s(e[r].semver),e[r].semver!==i.ANY&&e[r].semver.prerelease.length>0){const n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}})),Et.register("baiI1",(function(e,t){const r="object"==typeof performance&&performance&&"function"==typeof performance.now?performance:Date,n="undefined"!=typeof AbortController?AbortController:Object.assign(class{constructor(){this.signal=new n.AbortSignal}abort(){this.signal.aborted=!0}},{AbortSignal:class{constructor(){this.aborted=!1}}}),o=new Set,i=(e,t)=>{const r="LRU_CACHE_OPTION_"+e;c(r)&&l(r,e+" option","options."+t,f)},s=(e,t)=>{const r="LRU_CACHE_METHOD_"+e;if(c(r)){const{prototype:n}=f,{get:o}=Object.getOwnPropertyDescriptor(n,e);l(r,e+" method",`cache.${t}()`,o)}},a=(...e)=>{"object"==typeof process&&process&&"function"==typeof process.emitWarning?process.emitWarning(...e):console.error(...e)},c=e=>!o.has(e),l=(e,t,r,n)=>{o.add(e),a(`The ${t} is deprecated. Please use ${r} instead.`,"DeprecationWarning",e,n)},u=e=>e&&e===Math.floor(e)&&e>0&&isFinite(e),p=e=>u(e)?e>256?e>65536?e>4294967296?e>Number.MAX_SAFE_INTEGER?null:d:Uint32Array:Uint16Array:Uint8Array:null;class d extends Array{constructor(e){super(e),this.fill(0)}}class h{constructor(e){if(0===e)return[];const t=p(e);this.heap=new t(e),this.length=0}push(e){this.heap[this.length++]=e}pop(){return this.heap[--this.length]}}class f{constructor(e={}){const{max:t=0,ttl:r,ttlResolution:n=1,ttlAutopurge:s,updateAgeOnGet:l,updateAgeOnHas:d,allowStale:m,dispose:g,disposeAfter:v,noDisposeOnSet:y,noUpdateTTL:w,maxSize:x=0,sizeCalculation:b,fetchMethod:E}=e,{length:$,maxAge:S,stale:C}=e instanceof f?{}:e;if(0!==t&&!u(t))throw new TypeError("max option must be a nonnegative integer");const _=t?p(t):Array;if(!_)throw Error("invalid max value: "+t);if(this.max=t,this.maxSize=x,this.sizeCalculation=b||$,this.sizeCalculation){if(!this.maxSize)throw new TypeError("cannot set sizeCalculation without setting maxSize");if("function"!=typeof this.sizeCalculation)throw new TypeError("sizeCalculation set to non-function")}if(this.fetchMethod=E||null,this.fetchMethod&&"function"!=typeof this.fetchMethod)throw new TypeError("fetchMethod must be a function if specified");if(this.keyMap=new Map,this.keyList=Array(t).fill(null),this.valList=Array(t).fill(null),this.next=new _(t),this.prev=new _(t),this.head=0,this.tail=0,this.free=new h(t),this.initialFill=1,this.size=0,"function"==typeof g&&(this.dispose=g),"function"==typeof v?(this.disposeAfter=v,this.disposed=[]):(this.disposeAfter=null,this.disposed=null),this.noDisposeOnSet=!!y,this.noUpdateTTL=!!w,0!==this.maxSize){if(!u(this.maxSize))throw new TypeError("maxSize must be a positive integer if specified");this.initializeSizeTracking()}if(this.allowStale=!!m||!!C,this.updateAgeOnGet=!!l,this.updateAgeOnHas=!!d,this.ttlResolution=u(n)||0===n?n:1,this.ttlAutopurge=!!s,this.ttl=r||S||0,this.ttl){if(!u(this.ttl))throw new TypeError("ttl must be a positive integer if specified");this.initializeTTLTracking()}if(0===this.max&&0===this.ttl&&0===this.maxSize)throw new TypeError("At least one of max, maxSize, or ttl is required");if(!this.ttlAutopurge&&!this.max&&!this.maxSize){const e="LRU_CACHE_UNBOUNDED";c(e)&&(o.add(e),a("TTL caching without ttlAutopurge, max, or maxSize can result in unbounded memory consumption.","UnboundedCacheWarning",e,f))}C&&i("stale","allowStale"),S&&i("maxAge","ttl"),$&&i("length","sizeCalculation")}getRemainingTTL(e){return this.has(e,{updateAgeOnHas:!1})?1/0:0}initializeTTLTracking(){this.ttls=new d(this.max),this.starts=new d(this.max),this.setItemTTL=(e,t)=>{if(this.starts[e]=0!==t?r.now():0,this.ttls[e]=t,0!==t&&this.ttlAutopurge){const r=setTimeout((()=>{this.isStale(e)&&this.delete(this.keyList[e])}),t+1);r.unref&&r.unref()}},this.updateItemAge=e=>{this.starts[e]=0!==this.ttls[e]?r.now():0};let e=0;const t=()=>{const t=r.now();if(this.ttlResolution>0){e=t;const r=setTimeout((()=>e=0),this.ttlResolution);r.unref&&r.unref()}return t};this.getRemainingTTL=r=>{const n=this.keyMap.get(r);return void 0===n?0:0===this.ttls[n]||0===this.starts[n]?1/0:this.starts[n]+this.ttls[n]-(e||t())},this.isStale=r=>0!==this.ttls[r]&&0!==this.starts[r]&&(e||t())-this.starts[r]>this.ttls[r]}updateItemAge(e){}setItemTTL(e,t){}isStale(e){return!1}initializeSizeTracking(){this.calculatedSize=0,this.sizes=new d(this.max),this.removeItemSize=e=>this.calculatedSize-=this.sizes[e],this.requireSize=(e,t,r,n)=>{if(!u(r)){if(!n)throw new TypeError("invalid size value (must be positive integer)");if("function"!=typeof n)throw new TypeError("sizeCalculation must be a function");if(r=n(t,e),!u(r))throw new TypeError("sizeCalculation return invalid (expect positive integer)")}return r},this.addItemSize=(e,t,r,n)=>{this.sizes[e]=n;const o=this.maxSize-this.sizes[e];for(;this.calculatedSize>o;)this.evict(!0);this.calculatedSize+=this.sizes[e]},this.delete=e=>{if(0!==this.size){const t=this.keyMap.get(e);void 0!==t&&(this.calculatedSize-=this.sizes[t])}return f.prototype.delete.call(this,e)}}removeItemSize(e){}addItemSize(e,t,r,n){}requireSize(e,t,r,n){if(r||n)throw new TypeError("cannot set size without setting maxSize on cache")}*indexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.tail;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.head);)t=this.prev[t]}*rindexes({allowStale:e=this.allowStale}={}){if(this.size)for(let t=this.head;this.isValidIndex(t)&&(!e&&this.isStale(t)||(yield t),t!==this.tail);)t=this.next[t]}isValidIndex(e){return this.keyMap.get(this.keyList[e])===e}*entries(){for(const e of this.indexes())yield[this.keyList[e],this.valList[e]]}*rentries(){for(const e of this.rindexes())yield[this.keyList[e],this.valList[e]]}*keys(){for(const e of this.indexes())yield this.keyList[e]}*rkeys(){for(const e of this.rindexes())yield this.keyList[e]}*values(){for(const e of this.indexes())yield this.valList[e]}*rvalues(){for(const e of this.rindexes())yield this.valList[e]}[Symbol.iterator](){return this.entries()}find(e,t={}){for(const r of this.indexes())if(e(this.valList[r],this.keyList[r],this))return this.get(this.keyList[r],t)}forEach(e,t=this){for(const r of this.indexes())e.call(t,this.valList[r],this.keyList[r],this)}rforEach(e,t=this){for(const r of this.rindexes())e.call(t,this.valList[r],this.keyList[r],this)}get prune(){return s("prune","purgeStale"),this.purgeStale}purgeStale(){let e=!1;for(const t of this.rindexes({allowStale:!0}))this.isStale(t)&&(this.delete(this.keyList[t]),e=!0);return e}dump(){const e=[];for(const t of this.indexes()){const r=this.keyList[t],n={value:this.valList[t]};this.ttls&&(n.ttl=this.ttls[t]),this.sizes&&(n.size=this.sizes[t]),e.unshift([r,n])}return e}load(e){this.clear();for(const[t,r]of e)this.set(t,r.value,r)}dispose(e,t,r){}set(e,t,{ttl:r=this.ttl,noDisposeOnSet:n=this.noDisposeOnSet,size:o=0,sizeCalculation:i=this.sizeCalculation,noUpdateTTL:s=this.noUpdateTTL}={}){o=this.requireSize(e,t,o,i);let a=0===this.size?void 0:this.keyMap.get(e);if(void 0===a)a=this.newIndex(),this.keyList[a]=e,this.valList[a]=t,this.keyMap.set(e,a),this.next[this.tail]=a,this.prev[a]=this.tail,this.tail=a,this.size++,this.addItemSize(a,t,e,o),s=!1;else{const r=this.valList[a];t!==r&&(this.isBackgroundFetch(r)?r.__abortController.abort():n||(this.dispose(r,e,"set"),this.disposeAfter&&this.disposed.push([r,e,"set"])),this.removeItemSize(a),this.valList[a]=t,this.addItemSize(a,t,e,o)),this.moveToTail(a)}if(0===r||0!==this.ttl||this.ttls||this.initializeTTLTracking(),s||this.setItemTTL(a,r),this.disposeAfter)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return this}newIndex(){return 0===this.size?this.tail:this.size===this.max&&0!==this.max?this.evict(!1):0!==this.free.length?this.free.pop():this.initialFill++}pop(){if(this.size){const e=this.valList[this.head];return this.evict(!0),e}}evict(e){const t=this.head,r=this.keyList[t],n=this.valList[t];return this.isBackgroundFetch(n)?n.__abortController.abort():(this.dispose(n,r,"evict"),this.disposeAfter&&this.disposed.push([n,r,"evict"])),this.removeItemSize(t),e&&(this.keyList[t]=null,this.valList[t]=null,this.free.push(t)),this.head=this.next[t],this.keyMap.delete(r),this.size--,t}has(e,{updateAgeOnHas:t=this.updateAgeOnHas}={}){const r=this.keyMap.get(e);return void 0!==r&&!this.isStale(r)&&(t&&this.updateItemAge(r),!0)}peek(e,{allowStale:t=this.allowStale}={}){const r=this.keyMap.get(e);if(void 0!==r&&(t||!this.isStale(r)))return this.valList[r]}backgroundFetch(e,t,r){const o=void 0===t?void 0:this.valList[t];if(this.isBackgroundFetch(o))return o;const i=new n,s={signal:i.signal,options:r},a=Promise.resolve(this.fetchMethod(e,o,s)).then((t=>(i.signal.aborted||this.set(e,t,s.options),t)));return a.__abortController=i,a.__staleWhileFetching=o,void 0===t?(this.set(e,a,s.options),t=this.keyMap.get(e)):this.valList[t]=a,a}isBackgroundFetch(e){return e&&"object"==typeof e&&"function"==typeof e.then&&{}.hasOwnProperty.call(e,"__staleWhileFetching")}async fetch(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet,ttl:n=this.ttl,noDisposeOnSet:o=this.noDisposeOnSet,size:i=0,sizeCalculation:s=this.sizeCalculation,noUpdateTTL:a=this.noUpdateTTL}={}){if(!this.fetchMethod)return this.get(e,{allowStale:t,updateAgeOnGet:r});const c={allowStale:t,updateAgeOnGet:r,ttl:n,noDisposeOnSet:o,size:i,sizeCalculation:s,noUpdateTTL:a};let l=this.keyMap.get(e);if(void 0===l)return this.backgroundFetch(e,l,c);{const n=this.valList[l];if(this.isBackgroundFetch(n))return t&&void 0!==n.__staleWhileFetching?n.__staleWhileFetching:n;if(!this.isStale(l))return this.moveToTail(l),r&&this.updateItemAge(l),n;const o=this.backgroundFetch(e,l,c);return t&&void 0!==o.__staleWhileFetching?o.__staleWhileFetching:o}}get(e,{allowStale:t=this.allowStale,updateAgeOnGet:r=this.updateAgeOnGet}={}){const n=this.keyMap.get(e);if(void 0!==n){const o=this.valList[n],i=this.isBackgroundFetch(o);if(this.isStale(n))return i?t?o.__staleWhileFetching:void 0:(this.delete(e),t?o:void 0);if(i)return;return this.moveToTail(n),r&&this.updateItemAge(n),o}}connect(e,t){this.prev[t]=e,this.next[e]=t}moveToTail(e){e!==this.tail&&(e===this.head?this.head=this.next[e]:this.connect(this.prev[e],this.next[e]),this.connect(this.tail,e),this.tail=e)}get del(){return s("del","delete"),this.delete}delete(e){let t=!1;if(0!==this.size){const r=this.keyMap.get(e);if(void 0!==r)if(t=!0,1===this.size)this.clear();else{this.removeItemSize(r);const t=this.valList[r];this.isBackgroundFetch(t)?t.__abortController.abort():(this.dispose(t,e,"delete"),this.disposeAfter&&this.disposed.push([t,e,"delete"])),this.keyMap.delete(e),this.keyList[r]=null,this.valList[r]=null,r===this.tail?this.tail=this.prev[r]:r===this.head?this.head=this.next[r]:(this.next[this.prev[r]]=this.next[r],this.prev[this.next[r]]=this.prev[r]),this.size--,this.free.push(r)}}if(this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift());return t}clear(){for(const e of this.rindexes({allowStale:!0})){const t=this.valList[e];if(this.isBackgroundFetch(t))t.__abortController.abort();else{const r=this.keyList[e];this.dispose(t,r,"delete"),this.disposeAfter&&this.disposed.push([t,r,"delete"])}}if(this.keyMap.clear(),this.valList.fill(null),this.keyList.fill(null),this.ttls&&(this.ttls.fill(0),this.starts.fill(0)),this.sizes&&this.sizes.fill(0),this.head=0,this.tail=0,this.initialFill=1,this.free.length=0,this.calculatedSize=0,this.size=0,this.disposed)for(;this.disposed.length;)this.disposeAfter(...this.disposed.shift())}get reset(){return s("reset","clear"),this.clear}get length(){return((e,t)=>{const r="LRU_CACHE_PROPERTY_length";if(c(r)){const{prototype:e}=f,{get:t}=Object.getOwnPropertyDescriptor(e,"length");l(r,"length property","cache.size",t)}})(),this.size}}e.exports=f})),Et.register("fThUd",((e,t)=>{var r=Et("kEeqW");e.exports=(e,t,n)=>{try{t=new r(t,n)}catch(e){return!1}return t.test(e)}})),Et.register("kBAIU",((e,t)=>{var r=Et("kEeqW");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),Et.register("9ybja",((e,t)=>{var r=Et("ewE0y"),n=Et("kEeqW");e.exports=(e,t,o)=>{let i=null,s=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&-1!==s.compare(e)||(i=e,s=new r(i,o)))})),i}})),Et.register("lw7B8",((e,t)=>{var r=Et("ewE0y"),n=Et("kEeqW");e.exports=(e,t,o)=>{let i=null,s=null,a=null;try{a=new n(t,o)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(i&&1!==s.compare(e)||(i=e,s=new r(i,o)))})),i}})),Et.register("aGCCN",((e,t)=>{var r=Et("ewE0y"),n=Et("kEeqW"),o=Et("fMkbf");e.exports=(e,t)=>{e=new n(e,t);let i=new r("0.0.0");if(e.test(i))return i;if(i=new r("0.0.0-0"),e.test(i))return i;i=null;for(let t=0;e.set.length>t;++t){let n=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">=":n&&!o(t,n)||(n=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!n||i&&!o(i,n)||(i=n)}return i&&e.test(i)?i:null}})),Et.register("asxHW",((e,t)=>{var r=Et("kEeqW");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),Et.register("5T7ZF",((e,t)=>{var r=Et("ewE0y"),n=Et("9Bceq");const{ANY:o}=n;var i=Et("kEeqW"),s=Et("fThUd"),a=Et("fMkbf"),c=Et("KbgdS"),l=Et("kNWZ7"),u=Et("kdktp");e.exports=(e,t,p,d)=>{let h,f,m,g,v;switch(e=new r(e,d),t=new i(t,d),p){case">":h=a,f=l,m=c,g=">",v=">=";break;case"<":h=c,f=u,m=a,g="<",v="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,d))return!1;for(let r=0;t.set.length>r;++r){let i=null,s=null;if(t.set[r].forEach((e=>{e.semver===o&&(e=new n(">=0.0.0")),i=i||e,s=s||e,h(e.semver,i.semver,d)?i=e:m(e.semver,s.semver,d)&&(s=e)})),i.operator===g||i.operator===v)return!1;if((!s.operator||s.operator===g)&&f(e,s.semver))return!1;if(s.operator===v&&m(e,s.semver))return!1}return!0}})),Et.register("8pZ7x",((e,t)=>{var r=Et("5T7ZF");e.exports=(e,t,n)=>r(e,t,">",n)})),Et.register("jkRb0",((e,t)=>{var r=Et("5T7ZF");e.exports=(e,t,n)=>r(e,t,"<",n)})),Et.register("5obom",((e,t)=>{var r=Et("kEeqW");e.exports=(e,t,n)=>(e=new r(e,n),t=new r(t,n),e.intersects(t))})),Et.register("rDQLp",((e,t)=>{var r=Et("fThUd"),n=Et("odmNz");e.exports=(e,t,o)=>{const i=[];let s=null,a=null;const c=e.sort(((e,t)=>n(e,t,o)));for(const e of c)r(e,t,o)?(a=e,s||(s=e)):(a&&i.push([s,a]),a=null,s=null);s&&i.push([s,null]);const l=[];for(const[e,t]of i)l.push(e===t?e:t||e!==c[0]?t?e===c[0]?"<="+t:`${e} - ${t}`:">="+e:"*");const u=l.join(" || ");return("string"==typeof t.raw?t.raw:t+"").length>u.length?u:t}})),Et.register("3vJJ8",((e,t)=>{var r=Et("kEeqW"),n=Et("9Bceq");const{ANY:o}=n;var i=Et("fThUd"),s=Et("odmNz");const a=(e,t,r)=>{if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?[new n(">=0.0.0-0")]:[new n(">=0.0.0")]}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=[new n(">=0.0.0")]}const a=new Set;let u,p,d,h,f,m,g;for(const t of e)">"===t.operator||">="===t.operator?u=c(u,t,r):"<"===t.operator||"<="===t.operator?p=l(p,t,r):a.add(t.semver);if(a.size>1)return null;if(u&&p){if(d=s(u.semver,p.semver,r),d>0)return null;if(0===d&&(">="!==u.operator||"<="!==p.operator))return null}for(const e of a){if(u&&!i(e,u+"",r))return null;if(p&&!i(e,p+"",r))return null;for(const n of t)if(!i(e,n+"",r))return!1;return!0}let v=!(!p||r.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;v&&1===v.prerelease.length&&"<"===p.operator&&0===v.prerelease[0]&&(v=!1);for(const e of t){if(g=g||">"===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(h=c(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!i(u.semver,e+"",r))return!1;if(p)if(v&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===v.major&&e.semver.minor===v.minor&&e.semver.patch===v.patch&&(v=!1),"<"===e.operator||"<="===e.operator){if(f=l(p,e,r),f===e&&f!==p)return!1}else if("<="===p.operator&&!i(p.semver,e+"",r))return!1;if(!e.operator&&(p||u)&&0!==d)return!1}return!(u&&m&&!p&&0!==d||p&&g&&!u&&0!==d||y||v)},c=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return n>0?e:0>n||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const n=s(e.semver,t.semver,r);return 0>n?e:n>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,n={})=>{if(e===t)return!0;e=new r(e,n),t=new r(t,n);let o=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,n);if(o=o||null!==t,t)continue e}if(o)return!1}return!0}})),Et.register("8XxoC",((e,t)=>{var r=Et("7tyCH"),n=Et("cyw4a");e.exports=(e,t,o)=>{var i=t&&o||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||r)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;16>a;++a)t[i+a]=s[a];return t||n(s)}})),Et.register("7tyCH",((e,t)=>{e.exports=()=>pt(16)})),Et.register("cyw4a",((e,t)=>{for(var r=[],n=0;256>n;++n)r[n]=(n+256).toString(16).substr(1);e.exports=(e,t)=>{var n=t||0;return""+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+"-"+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]+r[e[n++]]}})),Et.register("eGKv1",(function(e,t){function r(e,t,r){return s(this,void 0,void 0,(function*(){const n=a.argStringToArray(e);if(0===n.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const o=n[0];return t=n.slice(1).concat(t||[]),new a.ToolRunner(o,t,r).exec()}))}var n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),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)&&n(t,e,r);return o(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getExecOutput=e.exports.exec=void 0;const a=i(Et("fGrvc"));e.exports.exec=r,e.exports.getExecOutput=function(e,t,n){var o,i;return s(this,void 0,void 0,(function*(){let s="",a="";const c=new dt("utf8"),l=new dt("utf8"),u=null===(o=null==n?void 0:n.listeners)||void 0===o?void 0:o.stdout,p=null===(i=null==n?void 0:n.listeners)||void 0===i?void 0:i.stderr,d=Object.assign(Object.assign({},null==n?void 0:n.listeners),{stdout(e){s+=c.write(e),u&&u(e)},stderr(e){a+=l.write(e),p&&p(e)}}),h=yield r(e,t,Object.assign(Object.assign({},n),{listeners:d}));return s+=c.end(),a+=l.end(),{exitCode:h,stdout:s,stderr:a}}))}})),Et.register("fGrvc",(function(e,t){var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=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}),o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var o in e)"default"!==o&&Object.hasOwnProperty.call(e,o)&&r(t,e,o);return n(t,e),t}),i=e.exports&&e.exports.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const s=o(et),a=o(at),c=o(ut),l=o(rt),u=o(Et("2fNe7")),p=o(Et("0VvfX")),d="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(),n=this._getSpawnArgs(e);let o=t?"":"[command]";if(d)if(this._isCmdFile()){o+=r;for(const e of n)o+=" "+e}else if(e.windowsVerbatimArguments){o+=`"${r}"`;for(const e of n)o+=" "+e}else{o+=this._windowsQuoteCmdArg(r);for(const e of n)o+=" "+this._windowsQuoteCmdArg(e)}else{o+=r;for(const e of n)o+=" "+e}return o}_processLineBuffer(e,t,r){try{let n=t+""+e,o=n.indexOf(s.EOL);for(;o>-1;)r(n.substring(0,o)),n=n.substring(o+s.EOL.length),o=n.indexOf(s.EOL);return n}catch(e){return this._debug("error processing line. Failed with error "+e),""}}_getSpawnFileName(){return d&&this._isCmdFile()?process.env.COMSPEC||"cmd.exe":this.toolPath}_getSpawnArgs(e){if(d&&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 n of e)if(t.some((e=>e===n))){r=!0;break}if(!r)return e;let n='"',o=!0;for(let t=e.length;t>0;t--)n+=e[t-1],o&&"\\"===e[t-1]?n+="\\":'"'===e[t-1]?(o=!0,n+='"'):o=!1;return n+='"',n.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 n=e.length;n>0;n--)t+=e[n-1],r&&"\\"===e[n-1]?t+="\\":'"'===e[n-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 i(this,void 0,void 0,(function*(){return!p.isRooted(this.toolPath)&&(this.toolPath.includes("/")||d&&this.toolPath.includes("\\"))&&(this.toolPath=l.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)),this.toolPath=yield u.which(this.toolPath,!0),new Promise(((e,t)=>i(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)+s.EOL);const n=new h(r,this.toolPath);if(n.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 o=this._getSpawnFileName(),i=c.spawn(o,this._getSpawnArgs(r),this._getSpawnOptions(this.options,o));let a="";i.stdout&&i.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 l="";if(i.stderr&&i.stderr.on("data",(e=>{n.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),l=this._processLineBuffer(e,l,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),i.on("error",(e=>{n.processError=e.message,n.processExited=!0,n.processClosed=!0,n.CheckComplete()})),i.on("exit",(e=>{n.processExitCode=e,n.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),n.CheckComplete()})),i.on("close",(e=>{n.processExitCode=e,n.processExited=!0,n.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),n.CheckComplete()})),n.on("done",((r,n)=>{a.length>0&&this.emit("stdline",a),l.length>0&&this.emit("errline",l),i.removeAllListeners(),r?t(r):e(n)})),this.options.input){if(!i.stdin)throw Error("child process missing stdin");i.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){o&&'"'!==e&&(i+="\\"),i+=e,o=!1}const r=[];let n=!1,o=!1,i="";for(let s=0;e.length>s;s++){const a=e.charAt(s);'"'!==a?"\\"===a&&o?t(a):"\\"===a&&n?o=!0:" "!==a||n?t(a):i.length>0&&(r.push(i),i=""):o?t(a):n=!n}return i.length>0&&r.push(i.trim()),r};class h 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=ht(h.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())}}})),Et.register("ddrZ4",((e,t)=>{e.exports=import("./actions_python.dfab21e0.js").then((()=>Et("doiKQ")))})),Et.register("gGvz1",((e,t)=>{function r(e){Array.isArray(e)||(e=[e]);for(const t of e){const{id:e,data:r}=t;c[e]=r}}function n(e,t,r){const n=(e=>{const t=c[e.locale];let r=e.unitTypeLookupOrder.slice();r.unshift(e.unitType),r=Array.from(new Set(r));let n=null;if(r.some((e=>{if(void 0!==t[e])return n=t[e],!0})),null===n)throw Error("Can not find any unit type data for locale: "+e.locale);return n})(r);return o.pluralize(r.locale,t,n[e]).replace("{0}",t)}var o=Et("xu1bL"),i=Et("7IZzv");const s=[["years",290304e5],["months",24192e5],["weeks",6048e5],["days",864e5],["hours",36e5],["minutes",6e4],["seconds",1e3]],a={locale:"en",span:2,delimiter:", ",unitType:"long",unitTypeLookupOrder:["long","short","narrow"],autoloadLocales:!0},c={};e.exports={create(e){return e=Object.assign({},a,e||{}),{format(t,o,a){return((e,t,o)=>{if(((e,t)=>{const{autoload:n}=t;if(!c[e]){if(!i||!n)throw Error(`Missing locale: ${e}, you must load it manually before using it`);(e=>{try{r(require(`../locales/${e}.js`))}catch(t){throw Error(`Failed to load locale: ${e} from ../locales/${e}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${t}`)}})(e)}})(o.locale,{autoload:o.autoloadLocales}),!e)throw Error("Missing first date argument");if(!t)throw Error("Missing second date argument");const a=((e,t)=>{let r=t-e;const n=[];return s.some((e=>{const t=e[0],o=e[1],i=Math.floor(r/o);if(r-=i*o,n.push([t,i]),0>=r)return!0})),n})(e,t),l=[];for(const e of a){const[t,r]=e;if(r>0&&l.push(n(t,r,o)),l.length>=o.span)break}return l.join(o.delimiter)})(t,o,a=Object.assign({},e,a||{}))}}},addLocale:r,defaultConfig:a}})),Et.register("xu1bL",((e,t)=>{e.exports=Et("lhBDm")})),Et.register("lhBDm",(function(e,t){var r=$gCrli$resolve(__dirname,"../node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib");(function(){function t(e,t,r){if(n(e),"object"!=typeof r)throw Error("List of variants should be specified as an object");var i=o[e](t);return void 0!==r[i]?r[i]:null}function n(e){(e=>void 0!==o[e])(e)||(e=>{try{require(r+"/../locales/"+e+".js")}catch(t){throw Error("Failed to load the following locale: "+e)}})(e)}var o={},i={create(e){return n(e),{pluralize(r,n){return t(e,r,n)}}},addLocale(e,t){o[e]=t},pluralize:t};void 0!==e.exports?e.exports=i:this.numerous=i}).call(e.exports)})),Et.register("7IZzv",((e,t)=>{e.exports=!("undefined"==typeof process||!process.versions||!process.versions.node)}));var $t=Et("gF2Jd"),St={};const Ct="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,_t=Ct?";":":";var Ot,Tt={};Ot="win32"===process.platform||wt.TESTING_WINDOWS?Et("jUvGx"):Et("lNi8N"),Tt=r,r.sync=(e,t)=>{try{return Ot.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const Rt=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),It=(e,t)=>{const r=t.colon||_t,n=e.match(/\//)||Ct&&e.match(/\\/)?[""]:[...Ct?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],o=Ct?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",i=Ct?o.split(r):[""];return Ct&&-1!==e.indexOf(".")&&""!==i[0]&&i.unshift(""),{pathEnv:n,pathExt:i,pathExtExe:o}},At=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:n,pathExt:o,pathExtExe:i}=It(e,t),s=[],a=r=>new Promise(((o,i)=>{if(r===n.length)return t.all&&s.length?o(s):i(Rt(e));const a=n[r],l=/^".*"$/.test(a)?a.slice(1,-1):a,u=$gCrli$join(l,e),p=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;o(c(p,r,0))})),c=(e,r,n)=>new Promise(((l,u)=>{if(n===o.length)return l(a(r+1));const p=o[n];Tt(e+p,{pathExt:i},((o,i)=>{if(!o&&i){if(!t.all)return l(e+p);s.push(e+p)}return l(c(e,r,n+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let Pt;St=At,At.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:n,pathExtExe:o}=It(e,t),i=[];for(let s=0;r.length>s;s++){const a=r[s],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=$gCrli$join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;n.length>e;e++){const r=u+n[e];try{if(Tt.sync(r,{pathExt:o})){if(!t.all)return r;i.push(r)}}catch(e){}}}if(t.all&&i.length)return i;if(t.nothrow)return null;throw Rt(e)};var kt,Nt={},Lt={},Dt={},jt={};const Mt=(e={})=>{const t=e.env||process.env;return"win32"!==(e.platform||process.platform)?"PATH":Object.keys(t).reverse().find((e=>"PATH"===e.toUpperCase()))||"Path"};var Ut,Ft;(jt=Mt).default=Mt,kt=e=>o(e)||o(e,!0);const Gt=/([()\][%!^"`<>&|;, *?])/g;Ut=e=>e.replace(Gt,"^$1"),Ft=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(Gt,"^$1"),t&&(e=e.replace(Gt,"^$1")),e);var zt,Bt,Ht;Bt=/^#!(.*)/,zt=(e="")=>{const t=e.match(Bt);if(!t)return null;const[r,n]=t[0].replace(/#! ?/,"").split(" "),o=r.split("/").pop();return"env"===o?n:n?`${o} ${n}`:o},Ht=e=>{const t=Buffer.alloc(150);let r;try{r=$gCrli$openSync(e,"r"),$gCrli$readSync(r,t,0,150,0),$gCrli$closeSync(r)}catch(e){}return zt(""+t)};const qt="win32"===process.platform,Vt=/\.(?:com|exe)$/i,Wt=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;Dt=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const n={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?n:(e=>{if(!qt)return e;const t=(e=>{e.file=kt(e);const t=e.file&&Ht(e.file);return t?(e.args.unshift(e.file),e.command=t,kt(e)):e.file})(e),r=!Vt.test(t);if(e.options.forceShell||r){const r=Wt.test(t);e.command=$gCrli$normalize(e.command),e.command=Ut(e.command),e.args=e.args.map((e=>Ft(e,r)));const n=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${n}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(n)};var Xt={};const Yt="win32"===process.platform;var Kt;Xt={hookChildProcess(e,t){if(!Yt)return;const r=e.emit;e.emit=function(n,o){if("exit"===n){const n=s(o,t);if(n)return r.call(e,"error",n)}return r.apply(e,arguments)}},verifyENOENT:s,verifyENOENTSync(e,t){return Yt&&1===e&&!t.file?i(t.original,"spawnSync"):null},notFoundError:i},(Lt=a).spawn=a,Lt.sync=(e,t,r)=>{const n=Dt(e,t,r),o=$gCrli$spawnSync(n.command,n.args,n.options);return o.error=o.error||Xt.verifyENOENTSync(o.status,n),o},Lt._parse=Dt,Lt._enoent=Xt,Kt=e=>{const t="string"==typeof e?"\r":13;return e[e.length-1]===("string"==typeof e?"\n":10)&&(e=e.slice(0,e.length-1)),e[e.length-1]===t&&(e=e.slice(0,e.length-1)),e};var Jt={};const Zt=e=>{let t;e={cwd:process.cwd(),path:process.env[jt()],execPath:process.execPath,...e};let r=$gCrli$resolve(e.cwd);const n=[];for(;t!==r;)n.push($gCrli$join(r,"node_modules/.bin")),t=r,r=$gCrli$resolve(r,"..");const o=$gCrli$resolve(e.cwd,e.execPath,"..");return n.push(o),n.concat(e.path).join($gCrli$delimiter)};(Jt=Zt).default=Zt,Jt.env=e=>{const t={...(e={env:process.env,...e}).env},r=jt({env:t});return e.path=t[r],t[r]=Jt(e),t};var Qt={},er={};const tr=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(er=tr).default=tr;const rr=new WeakMap,nr=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,n=0;const o=e.displayName||e.name||"",i=function(...s){if(rr.set(i,++n),1===n)r=e.apply(this,s),e=null;else if(!0===t.throw)throw Error(`Function \`${o}\` can only be called once`);return r};return er(i,e),rr.set(i,n),i};(Qt=nr).default=nr,Qt.callCount=e=>{if(!rr.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return rr.get(e)};var or,ir={};Object.defineProperty(ir,"__esModule",{value:!0}),ir.signalsByNumber=ir.signalsByName=void 0;var sr={};Object.defineProperty(sr,"__esModule",{value:!0}),sr.getSignals=void 0;var ar={};Object.defineProperty(ar,"__esModule",{value:!0}),ar.SIGNALS=void 0,ar.SIGNALS=[{name:"SIGHUP",number:1,action:"terminate",description:"Terminal closed",standard:"posix"},{name:"SIGINT",number:2,action:"terminate",description:"User interruption with CTRL-C",standard:"ansi"},{name:"SIGQUIT",number:3,action:"core",description:"User interruption with CTRL-\\",standard:"posix"},{name:"SIGILL",number:4,action:"core",description:"Invalid machine instruction",standard:"ansi"},{name:"SIGTRAP",number:5,action:"core",description:"Debugger breakpoint",standard:"posix"},{name:"SIGABRT",number:6,action:"core",description:"Aborted",standard:"ansi"},{name:"SIGIOT",number:6,action:"core",description:"Aborted",standard:"bsd"},{name:"SIGBUS",number:7,action:"core",description:"Bus error due to misaligned, non-existing address or paging error",standard:"bsd"},{name:"SIGEMT",number:7,action:"terminate",description:"Command should be emulated but is not implemented",standard:"other"},{name:"SIGFPE",number:8,action:"core",description:"Floating point arithmetic error",standard:"ansi"},{name:"SIGKILL",number:9,action:"terminate",description:"Forced termination",standard:"posix",forced:!0},{name:"SIGUSR1",number:10,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGSEGV",number:11,action:"core",description:"Segmentation fault",standard:"ansi"},{name:"SIGUSR2",number:12,action:"terminate",description:"Application-specific signal",standard:"posix"},{name:"SIGPIPE",number:13,action:"terminate",description:"Broken pipe or socket",standard:"posix"},{name:"SIGALRM",number:14,action:"terminate",description:"Timeout or timer",standard:"posix"},{name:"SIGTERM",number:15,action:"terminate",description:"Termination",standard:"ansi"},{name:"SIGSTKFLT",number:16,action:"terminate",description:"Stack is empty or overflowed",standard:"other"},{name:"SIGCHLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"posix"},{name:"SIGCLD",number:17,action:"ignore",description:"Child process terminated, paused or unpaused",standard:"other"},{name:"SIGCONT",number:18,action:"unpause",description:"Unpaused",standard:"posix",forced:!0},{name:"SIGSTOP",number:19,action:"pause",description:"Paused",standard:"posix",forced:!0},{name:"SIGTSTP",number:20,action:"pause",description:'Paused using CTRL-Z or "suspend"',standard:"posix"},{name:"SIGTTIN",number:21,action:"pause",description:"Background process cannot read terminal input",standard:"posix"},{name:"SIGBREAK",number:21,action:"terminate",description:"User interruption with CTRL-BREAK",standard:"other"},{name:"SIGTTOU",number:22,action:"pause",description:"Background process cannot write to terminal output",standard:"posix"},{name:"SIGURG",number:23,action:"ignore",description:"Socket received out-of-band data",standard:"bsd"},{name:"SIGXCPU",number:24,action:"core",description:"Process timed out",standard:"bsd"},{name:"SIGXFSZ",number:25,action:"core",description:"File too big",standard:"bsd"},{name:"SIGVTALRM",number:26,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGPROF",number:27,action:"terminate",description:"Timeout or timer",standard:"bsd"},{name:"SIGWINCH",number:28,action:"ignore",description:"Terminal window size changed",standard:"bsd"},{name:"SIGIO",number:29,action:"terminate",description:"I/O is available",standard:"other"},{name:"SIGPOLL",number:29,action:"terminate",description:"Watched event",standard:"other"},{name:"SIGINFO",number:29,action:"ignore",description:"Request for process information",standard:"other"},{name:"SIGPWR",number:30,action:"terminate",description:"Device running out of power",standard:"systemv"},{name:"SIGSYS",number:31,action:"core",description:"Invalid system call",standard:"other"},{name:"SIGUNUSED",number:31,action:"terminate",description:"Invalid system call",standard:"other"}];var cr={};Object.defineProperty(cr,"__esModule",{value:!0}),cr.SIGRTMAX=cr.getRealtimeSignals=void 0,cr.getRealtimeSignals=()=>Array.from({length:pr-ur+1},lr);const lr=(e,t)=>({name:"SIGRT"+(t+1),number:ur+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),ur=34,pr=64;cr.SIGRTMAX=pr,sr.getSignals=()=>{const e=(0,cr.getRealtimeSignals)();return[...ar.SIGNALS,...e].map(dr)};const dr=({name:e,number:t,description:r,action:n,forced:o=!1,standard:i})=>{const{signals:{[e]:s}}=$gCrli$constants1,a=void 0!==s;return{name:e,number:a?s:t,description:r,supported:a,action:n,forced:o,standard:i}},hr=(0,sr.getSignals)().reduce(((e,{name:t,number:r,description:n,supported:o,action:i,forced:s,standard:a})=>({...e,[t]:{name:t,number:r,description:n,supported:o,action:i,forced:s,standard:a}})),{});ir.signalsByName=hr;const fr=(()=>{const e=(0,sr.getSignals)(),t=Array.from({length:cr.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>$gCrli$constants1.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:n,description:o,supported:i,action:s,forced:a,standard:c}=r;return{[e]:{name:n,number:e,description:o,supported:i,action:s,forced:a,standard:c}}})(r,e)));return Object.assign({},...t)})();ir.signalsByNumber=fr;var mr=ir.signalsByName;or=({stdout:e,stderr:t,all:r,error:n,signal:o,exitCode:i,command:s,escapedCommand:a,timedOut:c,isCanceled:l,killed:u,parsed:{options:{timeout:p}}})=>{const d=void 0===(o=null===o?void 0:o)?void 0:mr[o].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:n,signalDescription:o,exitCode:i,isCanceled:s})=>e?`timed out after ${t} milliseconds`:s?"was canceled":void 0!==r?"failed with "+r:void 0!==n?`was killed with ${n} (${o})`:void 0!==i?"failed with exit code "+i:"failed")({timedOut:c,timeout:p,errorCode:n&&n.code,signal:o,signalDescription:d,exitCode:i=null===i?void 0:i,isCanceled:l}),f=`Command ${h}: ${s}`,m="[object Error]"==={}.toString.call(n),g=m?`${f}\n${n.message}`:f,v=[g,t,e].filter(Boolean).join("\n");return m?(n.originalMessage=n.message,n.message=v):n=Error(v),n.shortMessage=g,n.command=s,n.escapedCommand=a,n.exitCode=i,n.signal=o,n.signalDescription=d,n.stdout=e,n.stderr=t,void 0!==r&&(n.all=r),"bufferedData"in n&&delete n.bufferedData,n.failed=!0,n.timedOut=!!c,n.isCanceled=l,n.killed=u&&!c,n};var gr={};const vr=["stdin","stdout","stderr"],yr=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return vr.map((t=>e[t]));if((e=>vr.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+vr.map((e=>`\`${e}\``)).join(", "));if("string"==typeof t)return t;if(!Array.isArray(t))throw new TypeError(`Expected \`stdio\` to be of type \`string\` or \`Array\`, got \`${typeof t}\``);return Array.from({length:Math.max(t.length,vr.length)},((e,r)=>t[r]))};(gr=yr).node=e=>{const t=yr(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var wr,xr={},br=wt.process;const Er=e=>e&&"object"==typeof e&&"function"==typeof e.removeListener&&"function"==typeof e.emit&&"function"==typeof e.reallyExit&&"function"==typeof e.listeners&&"function"==typeof e.kill&&"number"==typeof e.pid&&"function"==typeof e.on;if(Er(br)){var $r,Sr=ct,Cr=Et("3FPvT"),_r=/^win/i.test(br.platform),Or=at;"function"!=typeof Or&&(Or=Or.EventEmitter),br.__signal_exit_emitter__?$r=br.__signal_exit_emitter__:(($r=br.__signal_exit_emitter__=new Or).count=0,$r.emitted={}),$r.infinite||($r.setMaxListeners(1/0),$r.infinite=!0),xr=(e,t)=>{if(!Er(wt.process))return()=>{};Sr.equal(typeof e,"function","a callback must be provided for exit handler"),!1===Ar&&Pr();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),$r.on(r,e),()=>{$r.removeListener(r,e),0===$r.listeners("exit").length&&0===$r.listeners("afterexit").length&&Tr()}};var Tr=()=>{Ar&&Er(wt.process)&&(Ar=!1,Cr.forEach((e=>{try{br.removeListener(e,Ir[e])}catch(e){}})),br.emit=Lr,br.reallyExit=kr,$r.count-=1)};xr.unload=Tr;var Rr=(e,t,r)=>{$r.emitted[e]||($r.emitted[e]=!0,$r.emit(e,t,r))},Ir={};Cr.forEach((e=>{Ir[e]=()=>{Er(wt.process)&&br.listeners(e).length===$r.count&&(Tr(),Rr("exit",null,e),Rr("afterexit",null,e),_r&&"SIGHUP"===e&&(e="SIGINT"),br.kill(br.pid,e))}})),xr.signals=()=>Cr;var Ar=!1,Pr=()=>{!Ar&&Er(wt.process)&&(Ar=!0,$r.count+=1,Cr=Cr.filter((e=>{try{return br.on(e,Ir[e]),!0}catch(e){return!1}})),br.emit=Dr,br.reallyExit=Nr)};xr.load=Pr;var kr=br.reallyExit,Nr=e=>{Er(wt.process)&&(br.exitCode=e||0,Rr("exit",br.exitCode,null),Rr("afterexit",br.exitCode,null),kr.call(br,br.exitCode))},Lr=br.emit,Dr=function(e,t){if("exit"===e&&Er(wt.process)){void 0!==t&&(br.exitCode=t);var r=Lr.apply(this,arguments);return Rr("exit",br.exitCode,null),Rr("afterexit",br.exitCode,null),r}return Lr.apply(this,arguments)}}else xr=()=>()=>{};const jr=e=>e===$gCrli$constants1.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var Mr,Ur=(wr={spawnedKill(e,t="SIGTERM",r={}){const n=e(t);return((e,t,r,n)=>{if(!((e,{forceKillAfterTimeout:t},r)=>jr(e)&&!1!==t&&r)(t,r,n))return;const o=(({forceKillAfterTimeout:e=!0})=>{if(!0===e)return 5e3;if(!Number.isFinite(e)||0>e)throw new TypeError(`Expected the \`forceKillAfterTimeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`);return e})(r),i=setTimeout((()=>{e("SIGKILL")}),o);i.unref&&i.unref()})(e,t,r,n),n},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},n){if(0===t||void 0===t)return n;let o;const i=new Promise(((n,i)=>{o=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,i)}),t)})),s=n.finally((()=>{clearTimeout(o)}));return Promise.race([i,s])},validateTimeout({timeout:e}){if(void 0!==e&&(!Number.isFinite(e)||0>e))throw new TypeError(`Expected the \`timeout\` option to be a non-negative integer, got \`${e}\` (${typeof e})`)},async setExitHandler(e,{cleanup:t,detached:r},n){if(!t||r)return n;const o=xr((()=>{e.kill()}));return n.finally((()=>{o()}))}}).spawnedKill,Fr=wr.spawnedCancel,Gr=wr.setupTimeout,zr=wr.validateTimeout,Br=wr.setExitHandler,Hr={};const qr=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;qr.writable=e=>qr(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,qr.readable=e=>qr(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,qr.duplex=e=>qr.writable(e)&&qr.readable(e),qr.transform=e=>qr.duplex(e)&&"function"==typeof e._transform,Hr=qr;var Vr,Wr={},Xr=ft,Yr=$gCrli$promisify,Kr=$gCrli$PassThrough;Vr=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const n="buffer"===r;let o=!1;t?o=!(r||n):r=r||"utf8",n&&(r=null);const i=new Kr({objectMode:o});r&&i.setEncoding(r);let s=0;const a=[];return i.on("data",(e=>{a.push(e),o?s=a.length:s+=e.length})),i.getBufferedValue=()=>t?a:n?Buffer.concat(a,s):a.join(""),i.getBufferedLength=()=>s,i};const Jr=Yr($gCrli$pipeline);class Zr extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(Wr=c).buffer=(e,t)=>c(e,{...t,encoding:"buffer"}),Wr.array=(e,t)=>c(e,{...t,array:!0}),Wr.MaxBufferError=Zr;var Qr,en=$gCrli$PassThrough;Qr=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(n.push(t),t.once("end",r.bind(null,t)),t.once("error",o.emit.bind(o,"error")),t.pipe(o,{end:!1}),this)}function t(){return 0==n.length}function r(e){!(n=n.filter((t=>t!==e))).length&&o.readable&&o.end()}var n=[],o=new en({objectMode:!0});return o.setMaxListeners(0),o.add=e,o.isEmpty=t,o.on("unpipe",r),[].slice.call(arguments).forEach(e),o};const tn=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},rn=(e,{encoding:t,buffer:r,maxBuffer:n})=>{if(e&&r)return t?Wr(e,{encoding:t,maxBuffer:n}):Wr.buffer(e,{maxBuffer:n})};var nn,on=(Mr={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(Hr(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=Qr();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:n,buffer:o,maxBuffer:i},s){const a=rn(e,{encoding:n,buffer:o,maxBuffer:i}),c=rn(t,{encoding:n,buffer:o,maxBuffer:i}),l=rn(r,{encoding:n,buffer:o,maxBuffer:2*i});try{return await Promise.all([s,a,c,l])}catch(n){return Promise.all([{error:n,signal:n.signal,timedOut:n.timedOut},tn(e,a),tn(t,c),tn(r,l)])}},validateInputSync({input:e}){if(Hr(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,sn=Mr.getSpawnedResult,an=Mr.makeAllStream,cn=Mr.validateInputSync;const ln=(async()=>{})().constructor.prototype,un=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(ln,e)]));var pn,dn=(nn={mergePromise(e,t){for(const[r,n]of un){const o="function"==typeof t?(...e)=>Reflect.apply(n.value,t(),e):n.value.bind(t);Reflect.defineProperty(e,r,{...n,value:o})}return e},getSpawnedPromise(e){return new Promise(((t,r)=>{e.on("exit",((e,r)=>{t({exitCode:e,signal:r})})),e.on("error",(e=>{r(e)})),e.stdin&&e.stdin.on("error",(e=>{r(e)}))}))}}).mergePromise,hn=nn.getSpawnedPromise;const fn=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],mn=/^[\w.-]+$/,gn=/"/g,vn=/ +/g;var yn=(pn={joinCommand(e,t){return fn(e,t).join(" ")},getEscapedCommand(e,t){return fn(e,t).map((e=>(e=>"string"!=typeof e||mn.test(e)?e:`"${e.replace(gn,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(vn)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,wn=pn.parseCommand,xn=pn.getEscapedCommand;const bn=(e,t,r={})=>{const n=Lt._parse(e,t,r);return e=n.command,t=n.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=n.options).cwd||process.cwd(),execPath:process.execPath,encoding:"utf8",reject:!0,cleanup:!0,all:!1,windowsHide:!0,...r}).env=(({env:e,extendEnv:t,preferLocal:r,localDir:n,execPath:o})=>{const i=t?{...process.env,...e}:e;return r?Jt.env({env:i,cwd:n,execPath:o}):i})(r),r.stdio=gr(r),"win32"===process.platform&&"cmd"===$gCrli$basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:n}},En=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?Kt(t):t:void 0===r?void 0:"",$n=(e,t,r)=>{const n=bn(e,t,r),o=yn(e,t),i=xn(e,t);let s;zr(n.options);try{s=$gCrli$spawn(n.file,n.args,n.options)}catch(e){const t=new $gCrli$ChildProcess,r=Promise.reject(or({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:i,parsed:n,timedOut:!1,isCanceled:!1,killed:!1}));return dn(t,r)}const a=hn(s),c=Gr(s,n.options,a),l=Br(s,n.options,c),u={isCanceled:!1};s.kill=Ur.bind(null,s.kill.bind(s)),s.cancel=Fr.bind(null,s,u);const p=Qt((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,p,d]=await sn(s,n.options,l),h=En(n.options,c),f=En(n.options,p),m=En(n.options,d);if(e||0!==t||null!==r){const c=or({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:o,escapedCommand:i,parsed:n,timedOut:a,isCanceled:u.isCanceled,killed:s.killed});if(!n.options.reject)return c;throw c}return{command:o,escapedCommand:i,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return on(s,n.options.input),s.all=an(s,n.options),dn(s,p)};(Nt=$n).sync=(e,t,r)=>{const n=bn(e,t,r),o=yn(e,t),i=xn(e,t);let s;cn(n.options);try{s=$gCrli$spawnSync(n.file,n.args,n.options)}catch(e){throw or({error:e,stdout:"",stderr:"",all:"",command:o,escapedCommand:i,parsed:n,timedOut:!1,isCanceled:!1,killed:!1})}const a=En(n.options,s.stdout,s.error),c=En(n.options,s.stderr,s.error);if(s.error||0!==s.status||null!==s.signal){const e=or({stdout:a,stderr:c,error:s.error,signal:s.signal,exitCode:s.status,command:o,escapedCommand:i,parsed:n,timedOut:s.error&&"ETIMEDOUT"===s.error.code,isCanceled:!1,killed:null!==s.signal});if(!n.options.reject)return e;throw e}return{command:o,escapedCommand:i,exitCode:0,stdout:a,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},Nt.command=(e,t)=>{const[r,...n]=wn(e);return $n(r,n,t)},Nt.commandSync=(e,t)=>{const[r,...n]=wn(e);return $n.sync(r,n,t)},Nt.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const n=gr.node(r),o=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:i=process.execPath,nodeOptions:s=o}=r;return $n(i,[...s,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:n,shell:!1})},$t=Et("gF2Jd");var Sn,Cn=Et("ywN2f");$t=Et("gF2Jd"),Cn=Et("ywN2f");const _n=$gCrli$homedir();Sn=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return _n?e.replace(/^~(?=$|\/|\\)/,_n):e};var On=Et("81ovw");let Tn;var Rn;const In="win32"!==$gCrli$platform(),An=$gCrli$release(),Pn=/(\d+\.\d+)\.(\d+)/;Rn=e=>In?e.replace(/(\s+)/g,"\\$1"):((e="",t="")=>/1\d+\.\d+/.test(e)&&+t>=17134.1184)(...Pn.exec(An).splice(1))?e:e.replace(/(\s+)/g,"%20");const kn=p(".cpprc");let Nn=!1,Ln=!1,Dn=!1;On=Et("81ovw");let jn=!1,Mn=!1;$t=Et("gF2Jd");let Un,Fn=!1;$t=Et("gF2Jd"),On=Et("81ovw");let Gn,zn,Bn,Hn=!1;On=Et("81ovw");var qn=Et("2fNe7"),Vn=(On=Et("81ovw"),{}),Wn=$gCrli$resolve(__dirname,"../node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/lib"),Xn=Vn&&Vn.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),Yn=Vn&&Vn.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Kn=Vn&&Vn.__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)&&Xn(t,e,r);return Yn(t,e),t}),Jn=Vn&&Vn.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))),Zn=Vn&&Vn.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(Vn,"__esModule",{value:!0}),Vn.evaluateVersions=Vn.isExplicitVersion=Vn.findFromManifest=Vn.getManifestFromRepo=Vn.findAllVersions=Vn.find=Vn.cacheFile=Vn.cacheDir=Vn.extractZip=Vn.extractXar=Vn.extractTar=Vn.extract7z=Vn.downloadTool=Vn.HTTPError=void 0;const Qn=Kn(Et("gF2Jd")),eo=Kn(Et("2fNe7")),to=Kn(nt),ro=Kn(Et("biqIc")),no=Kn(et),oo=Kn(rt),io=Kn(Et("9kh6d")),so=Kn(Et("dsEdn")),ao=Kn(mt),co=Kn(lt),lo=Zn(Et("8XxoC"));var uo=Et("eGKv1"),po={},ho=po&&po.__createBinding||(Object.create?(e,t,r,n)=>{void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get(){return t[r]}})}:(e,t,r,n)=>{void 0===n&&(n=r),e[n]=t[r]}),fo=po&&po.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),mo=po&&po.__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)&&ho(t,e,r);return fo(t,e),t}),go=po&&po.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())})));Object.defineProperty(po,"__esModule",{value:!0}),po.RetryHelper=void 0;const vo=mo(Et("gF2Jd"));po.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 go(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;vo.info(e.message)}const n=this.getSleepAmount();vo.info(`Waiting ${n} seconds before trying again`),yield this.sleep(n),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return go(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class yo extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}Vn.HTTPError=yo;const wo="win32"===process.platform,xo="darwin"===process.platform;let bo;Vn.downloadTool=function(e,t,r,n){return Jn(this,void 0,void 0,(function*(){t=t||oo.join(B(),lo.default()),yield eo.mkdirP(oo.dirname(t)),Qn.debug("Downloading "+e),Qn.debug("Destination "+t);const o=H("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),i=H("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),s=new po.RetryHelper(3,o,i);return yield s.execute((()=>Jn(this,void 0,void 0,(function*(){return yield function(e,t,r,n){return Jn(this,void 0,void 0,(function*(){if(to.existsSync(t))throw Error(`Destination file path ${t} already exists`);const o=new io.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Qn.debug("set auth"),void 0===n&&(n={}),n.authorization=r);const i=yield o.get(e,n);if(200!==i.message.statusCode){const t=new yo(i.message.statusCode);throw Qn.debug(`Failed to download from "${e}". Code(${i.message.statusCode}) Message(${i.message.statusMessage})`),t}const s=co.promisify(ao.pipeline),a=H("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>i.message))();let c=!1;try{return yield s(a,to.createWriteStream(t)),Qn.debug("download complete"),c=!0,t}finally{if(!c){Qn.debug("download failed");try{yield eo.rmRF(t)}catch(e){Qn.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,n)}))),(e=>!(e instanceof yo&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},Vn.extract7z=function(e,t,r){return Jn(this,void 0,void 0,(function*(){$gCrli$ok(wo,"extract7z() not supported on current OS"),$gCrli$ok(e,'parameter "file" is required'),t=yield j(t);const n=process.cwd();if(process.chdir(t),r)try{const t=["x",Qn.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],o={silent:!0};yield uo.exec(`"${r}"`,t,o)}finally{process.chdir(n)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${oo.join(Wn,"..","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,"")}'`],o={silent:!0};try{const e=yield eo.which("powershell",!0);yield uo.exec(`"${e}"`,r,o)}finally{process.chdir(n)}}return t}))},Vn.extractTar=function(e,t,r="xz"){return Jn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield j(t),Qn.debug("Checking tar --version");let n="";yield uo.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return n+=""+e},stderr(e){return n+=""+e}}}),Qn.debug(n.trim());const o=n.toUpperCase().includes("GNU TAR");let i;i=r instanceof Array?r:[r],Qn.isDebug()&&!r.includes("v")&&i.push("-v");let s=t,a=e;return wo&&o&&(i.push("--force-local"),s=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),o&&(i.push("--warning=no-unknown-keyword"),i.push("--overwrite")),i.push("-C",s,"-f",a),yield uo.exec("tar",i),t}))},Vn.extractXar=function(e,t,r=[]){return Jn(this,void 0,void 0,(function*(){let n;$gCrli$ok(xo,"extractXar() not supported on current OS"),$gCrli$ok(e,'parameter "file" is required'),t=yield j(t),n=r instanceof Array?r:[r],n.push("-x","-C",t,"-f",e),Qn.isDebug()&&n.push("-v");const o=yield eo.which("xar",!0);var i;return yield uo.exec(`"${o}"`,(i=n,Array.from(new Set(i)))),t}))},Vn.extractZip=function(e,t){return Jn(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield j(t),wo?yield function(e,t){return Jn(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=yield eo.which("pwsh",!1);if(o){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}', '${n}', $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 '${n}' -Force } else { throw $_ } } ;`].join(" ")];Qn.debug("Using pwsh at path: "+o),yield uo.exec(`"${o}"`,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 '${n}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${n}', $true) }`].join(" ")],t=yield eo.which("powershell",!0);Qn.debug("Using powershell at path: "+t),yield uo.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return Jn(this,void 0,void 0,(function*(){const r=yield eo.which("unzip",!0),n=[e];Qn.isDebug()||n.unshift("-q"),n.unshift("-o"),yield uo.exec(`"${r}"`,n,{cwd:t})}))}(e,t),t}))},Vn.cacheDir=function(e,t,r,n){return Jn(this,void 0,void 0,(function*(){if(r=so.clean(r)||r,n=n||no.arch(),Qn.debug(`Caching tool ${t} ${r} ${n}`),Qn.debug("source dir: "+e),!to.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const o=yield M(t,r,n);for(const t of to.readdirSync(e)){const r=oo.join(e,t);yield eo.cp(r,o,{recursive:!0})}return U(t,r,n),o}))},Vn.cacheFile=function(e,t,r,n,o){return Jn(this,void 0,void 0,(function*(){if(n=so.clean(n)||n,o=o||no.arch(),Qn.debug(`Caching tool ${r} ${n} ${o}`),Qn.debug("source file: "+e),!to.statSync(e).isFile())throw Error("sourceFile is not a file");const i=yield M(r,n,o),s=oo.join(i,t);return Qn.debug("destination file "+s),yield eo.cp(e,s),U(r,n,o),i}))},Vn.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||no.arch(),F(t)||(t=G(D(e,r),t));let n="";if(t){t=so.clean(t)||"";const o=oo.join(z(),e,t,r);Qn.debug("checking cache: "+o),to.existsSync(o)&&to.existsSync(o+".complete")?(Qn.debug(`Found tool in cache ${e} ${t} ${r}`),n=o):Qn.debug("not found")}return n},Vn.findAllVersions=D,Vn.getManifestFromRepo=function(e,t,r,n="master"){return Jn(this,void 0,void 0,(function*(){let o=[];const i=`https://api.github.com/repos/${e}/${t}/git/trees/${n}`,s=new io.HttpClient("tool-cache"),a={};r&&(Qn.debug("set auth"),a.authorization=r);const c=yield s.getJson(i,a);if(!c.result)return o;let l="";for(const e of c.result.tree)if("versions-manifest.json"===e.path){l=e.url;break}a.accept="application/vnd.github.VERSION.raw";let u=yield(yield s.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{o=JSON.parse(u)}catch(e){Qn.debug("Invalid json")}}return o}))},Vn.findFromManifest=function(e,t,r,n=no.arch()){return Jn(this,void 0,void 0,(function*(){return yield ro._findMatch(e,t,r,n)}))},Vn.isExplicitVersion=F,Vn.evaluateVersions=G,$t=Et("gF2Jd"),Cn=Et("ywN2f");let Eo=!1;var $o=Et("kNWZ7"),So=Et("3wKw1");uo=Et("eGKv1"),$t=Et("gF2Jd"),Cn=Et("ywN2f"),On=Et("81ovw");const Co=/"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/,_o=/"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/,Oo=/^["{[]|^-?[0-9][0-9.]{0,14}$/,To=/#/g,Ro=/&/g,Io=/=/g,Ao=/\+/g,Po=/%5B/gi,ko=/%5D/gi,No=/%5E/gi,Lo=/%60/gi,Do=/%7B/gi,jo=/%7C/gi,Mo=/%7D/gi,Uo=/%20/gi,Fo=/^\w+:(\/\/)?/,Go=/^\/\/[^/]+/,zo=/\/$|\/\?/;class Bo extends Error{constructor(){super(...arguments),this.name="FetchError"}}const Ho=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"])),qo=new Set(["image/svg","application/xml","application/xhtml","application/html"]),Vo=/^application\/(?:[\w!#$%&*`\-.^~]*\+)?json(;.+)?$/i,Wo=new Set([408,409,425,429,500,502,503,504]),Xo=(()=>{if("undefined"!=typeof globalThis)return globalThis;if("undefined"!=typeof self)return self;if("undefined"!=typeof window)return window;if(void 0!==wt)return wt;throw Error("unable to locate global object")})(),Yo=Xo.fetch||(()=>Promise.reject(Error("[ohmyfetch] global.fetch is not supported!")));!function e(t){function r(e){if(!1!==e.options.retry){const t="number"==typeof e.options.retry?e.options.retry:fe(e.options.method)?0:1,r=e.response&&e.response.status||500;if(t>0&&Wo.has(r))return i(e.request,{...e.options,retry:t-1})}const t=((e,t,r)=>{let n="";e&&r&&(n=`${r.status} ${r.statusText} (${""+e})`),t&&(n=`${t.message} (${n})`);const o=new Bo(n);return Object.defineProperty(o,"request",{get(){return e}}),Object.defineProperty(o,"response",{get(){return r}}),Object.defineProperty(o,"data",{get(){return r&&r._data}}),o})(e.request,e.error,e.response);throw Error.captureStackTrace&&Error.captureStackTrace(t,i),t}const{fetch:n,Headers:o}=t,i=async(e,i={})=>{const s={request:e,options:{...t.defaults,...i},response:void 0,error:void 0};s.options.onRequest&&await s.options.onRequest(s),"string"==typeof s.request&&(s.options.baseURL&&(s.request=function(e,t){if(!(r=t)||"/"===r)return e;var r;const n=((e="",t=!1)=>{if(!t)return(ae(e)?e.slice(0,-1):e)||"/";if(!ae(e,!0))return e||"/";const[r,...n]=e.split("?");return(r.slice(0,-1)||"/")+(n.length?"?"+n.join("?"):"")})(t);return e.startsWith(n)?e:((e,...t)=>{let r=e||"";for(const e of t.filter(pe))r=r?ce(r)+le(e):e;return r})(n,e)}(s.request,s.options.baseURL)),s.options.params&&(s.request=ue(s.request,s.options.params)),s.options.body&&fe(s.options.method)&&(e=>{if(void 0===e)return!1;const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===t||"object"===t&&(!!Array.isArray(e)||e.constructor&&"Object"===e.constructor.name||"function"==typeof e.toJSON)})(s.options.body)&&(s.options.body="string"==typeof s.options.body?s.options.body:JSON.stringify(s.options.body),s.options.headers=new o(s.options.headers),s.options.headers.has("content-type")||s.options.headers.set("content-type","application/json"),s.options.headers.has("accept")||s.options.headers.set("accept","application/json"))),s.response=await n(s.request,s.options).catch((async e=>(s.error=e,s.options.onRequestError&&await s.options.onRequestError(s),r(s))));const a=(s.options.parseResponse?"json":s.options.responseType)||((e="")=>{if(!e)return"json";const t=e.split(";").shift();return Vo.test(t)?"json":qo.has(t)||t.startsWith("text/")?"text":"blob"})(s.response.headers.get("content-type")||"");if("json"===a){const e=await s.response.text();s.response._data=(s.options.parseResponse||re)(e)}else s.response._data=await s.response[a]();return s.options.onResponse&&await s.options.onResponse(s),s.response.ok||s.options.onResponseError&&await s.options.onResponseError(s),s.response.ok?s.response:r(s)},s=(e,t)=>i(e,t).then((e=>e._data));return s.raw=i,s.create=(r={})=>e({...t,defaults:{...t.defaults,...r}}),s}({fetch:Yo,Headers:Xo.Headers});var Ko=async e=>{if(!(e=>{if("string"!=typeof e)return!1;let t=e.trim();if(t.includes(" "))return!1;try{return new gt(t),!0}catch{return!1}})(e))return!1;let t;try{t=await Yo(e,{method:"HEAD"})}catch{return!1}if(t.ok)return!0;if(!t)try{t=await Yo(e,{method:"GET"})}catch{return!1}return!!t.ok||!(t.status>400&&500>t.status)},Jo=Et("odmNz"),Zo=(So=Et("3wKw1"),Et("kULaE"));uo=Et("eGKv1"),On=Et("81ovw");const Qo=/v?(\d\S*)/,ei={llvm:"13.0.0",clangtidy:"13.0.0",clangformat:"13.0.0",ninja:"1.11.0",cmake:"3.23.2",gcovr:"5.1",conan:"1.50.0",meson:"0.63.0",kcov:"40",task:"3.14.0",doxygen:T()?"1.9.3-1":"1.9.4",gcc:"11"},ti={llvm:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangtidy:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},clangformat:{22:"13.0.0-ubuntu-20.04",20:"13.0.0-ubuntu-20.04",18:"13.0.1-ubuntu-18.04",16:"13.0.0-ubuntu-16.04",14:"13.0.0-ubuntu-16.04"},gcovr:{20:"5.1",18:"5.0"},meson:{20:"0.63.0",18:"0.61.4"},doxygen:{20:"1.9.4"},nala:{22:"",21:"legacy",20:"legacy",18:"legacy",16:"legacy",14:"legacy"},kcov:{22:"40",20:"40-binary",18:"40",16:"40",14:"40"}};let ri,ni,oi=!1;On=Et("81ovw"),$o=Et("kNWZ7");var ii=Et("ehbTi"),si=(uo=Et("eGKv1"),On=Et("81ovw"),$t=Et("gF2Jd"),On=Et("81ovw"),Cn=Et("ywN2f"),ii=Et("ehbTi"),So=Et("3wKw1"),On=Et("81ovw"),Cn=Et("ywN2f"),$gCrli$resolve(__dirname,"../src/gcc"));const ai={12:{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-ucrt":{releaseName:"12.1.0-14.0.4-10.0.0-ucrt-r2",fileSuffix:"12.1.0-mingw-w64ucrt-10.0.0-r2"},"12.1.0-msvcrt":{releaseName:"12.1.0-14.0.4-10.0.0-msvcrt-r2",fileSuffix:"12.1.0-mingw-w64msvcrt-10.0.0-r2"},11:{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-ucrt":{releaseName:"11.3.0-14.0.3-10.0.0-ucrt-r3",fileSuffix:"11.3.0-mingw-w64ucrt-10.0.0-r3"},"11.3.0-msvcrt":{releaseName:"11.3.0-14.0.3-10.0.0-msvcrt-r3",fileSuffix:"11.3.0-mingw-w64msvcrt-10.0.0-r3"},"11.2.0-ucrt":{releaseName:"11.2.0-9.0.0-ucrt-r5",fileSuffix:"11.2.0-mingw-w64ucrt-9.0.0-r5"},"11.2.0-msvcrt":{releaseName:"11.2.0-9.0.0-msvcrt-r5",fileSuffix:"11.2.0-mingw-w64msvcrt-9.0.0-r5"},10:{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.3.0":{releaseName:"10.3.0-12.0.0-9.0.0-r2",fileSuffix:"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2"},"10.2.0":{releaseName:"10.2.0-7.0.0-r4",fileSuffix:"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4"},9:{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"},"9.4.0":{releaseName:"9.4.0-9.0.0-r1",fileSuffix:"9.4.0-mingw-w64-9.0.0-r1"}};var ci=$gCrli$resolve(__dirname,"../src/llvm");const li=(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","13.0.0","13.0.1","14.0.0","14.0.1","14.0.2","14.0.3","14.0.4","14.0.5","14.0.6"]),ui=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"]),pi=new Map,di={"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":"-ubuntu-16.04","13.0.0":"-ubuntu-20.04","13.0.0-ubuntu-16.04":"-ubuntu-16.04","13.0.0-ubuntu-20.04":"-ubuntu-20.04","13.0.1":"-ubuntu-18.04","13.0.1-ubuntu-18.04":"-ubuntu-18.04","14.0.0":"-ubuntu-18.04"},hi=new Set(["10.0.1"]);let fi=!1;var mi,gi,vi,yi={},wi=yi&&yi.__awaiter||((e,t,r,n)=>new(r||(r=Promise))(((o,i)=>{function s(e){try{c(n.next(e))}catch(e){i(e)}}function a(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(s,a)}c((n=n.apply(e,t||[])).next())}))),xi=yi&&yi.__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(yi,"__esModule",{value:!0});var bi={},Ei=bi&&bi.__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(bi,"__esModule",{value:!0});const $i=Ei(et);var Si={};Object.defineProperty(Si,"__esModule",{value:!0}),Si.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),bi.issueCommand=Pe,bi.issue=(e,t="")=>{Pe(e,{},t)};class Ci{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 n in this.properties)if(this.properties.hasOwnProperty(n)){const o=this.properties[n];o&&(r?r=!1:e+=",",e+=`${n}=${t=o,Si.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>Si.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}var _i={},Oi=_i&&_i.__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(_i,"__esModule",{value:!0});const Ti=Oi(nt),Ri=Oi(et);_i.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!Ti.existsSync(r))throw Error("Missing file at path: "+r);Ti.appendFileSync(r,`${Si.toCommandValue(t)}${Ri.EOL}`,{encoding:"utf8"})};const Ii=xi(et),Ai=xi(rt);var Pi,ki;(ki=Pi=yi.ExitCode||(yi.ExitCode={}))[ki.Success=0]="Success",ki[ki.Failure=1]="Failure",yi.exportVariable=(e,t)=>{const r=Si.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";_i.issueCommand("ENV",`${e}<<${t}${Ii.EOL}${r}${Ii.EOL}${t}`)}else bi.issueCommand("set-env",{name:e},r)},yi.setSecret=e=>{bi.issueCommand("add-mask",{},e)},yi.addPath=e=>{process.env.GITHUB_PATH?_i.issueCommand("PATH",e):bi.issueCommand("add-path",{},e),process.env.PATH=`${e}${Ai.delimiter}${process.env.PATH}`},yi.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()},yi.setOutput=(e,t)=>{bi.issueCommand("set-output",{name:e},t)},yi.setCommandEcho=e=>{bi.issue("echo",e?"on":"off")},yi.setFailed=e=>{process.exitCode=Pi.Failure,ke(e)},yi.isDebug=()=>"1"===process.env.RUNNER_DEBUG,yi.debug=e=>{bi.issueCommand("debug",{},e)},yi.error=ke,yi.warning=e=>{bi.issue("warning",e instanceof Error?""+e:e)},yi.info=e=>{process.stdout.write(e+Ii.EOL)},yi.startGroup=Ne,yi.endGroup=Le,yi.group=function(e,t){return wi(this,void 0,void 0,(function*(){let r;Ne(e);try{r=yield t()}finally{Le()}return r}))},yi.saveState=(e,t)=>{bi.issueCommand("save-state",{name:e},t)},yi.getState=e=>process.env["STATE_"+e]||"";const Ni=vt["ProgramFiles(x86)"],Li=[vt["ProgramFiles(x86)"],vt.ProgramFiles],Di=["Enterprise","Professional","Community"],ji=["2022","2019","2017"],Mi={2022:"17.0",2019:"16.0",2017:"15.0",2015:"14.0",2013:"12.0"};mi=De;const Ui=Ni+"\\Microsoft Visual Studio\\Installer";gi=Me,vi=(e,t,r,n,o,i)=>{if("win32"!=yt)return void yi.info("This is not a Windows virtual environment, bye!");vt.PATH+=$gCrli$delimiter+Ui;let s={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in s&&(e=s[e.toLowerCase()]);var a=[e];"true"==n&&a.push("uwp"),t&&a.push(t),r&&a.push("-vcvars_ver="+r),"true"==o&&a.push("-vcvars_spectre_libs=spectre");const c=`"${Me(i)}" ${a.join(" ")}`;yi.debug("vcvars command-line: "+c);const l=(""+$gCrli$execSync(`set && cls && ${c} && cls && set`,{shell:"cmd"})).split("\f"),u=l[0].split("\r\n"),p=l[1].split("\r\n"),d=l[2].split("\r\n"),h=p.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(h.length>0)throw Error("invalid parameters\r\n"+h.join("\r\n"));let f={};for(let e of u){const[t,r]=e.split("=");f[t]=r}yi.startGroup("Environment variables");for(let e of d){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==f[t]&&(yi.info("Setting "+t),Ue(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),yi.exportVariable(t,r))}yi.endGroup(),yi.info("Configured Developer Command Prompt")},On=Et("81ovw"),Cn=Et("ywN2f"),On=Et("81ovw");var Fi,Gi=$gCrli$resolve(__dirname,"../src/msvc"),zi=(Cn=Et("ywN2f"),{});zi=Et("gGvz1"),Fi={id:"en",data:{long:{years:{one:"{0} year",other:"{0} years"},months:{one:"{0} month",other:"{0} months"},weeks:{one:"{0} week",other:"{0} weeks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hour",other:"{0} hours"},minutes:{one:"{0} minute",other:"{0} minutes"},seconds:{one:"{0} second",other:"{0} seconds"}},narrow:{years:{one:"{0}y",other:"{0}y"},months:{one:"{0}m",other:"{0}m"},weeks:{one:"{0}w",other:"{0}w"},days:{one:"{0}d",other:"{0}d"},hours:{one:"{0}h",other:"{0}h"},minutes:{one:"{0}m",other:"{0}m"},seconds:{one:"{0}s",other:"{0}s"}},short:{years:{one:"{0} yr",other:"{0} yrs"},months:{one:"{0} mth",other:"{0} mths"},weeks:{one:"{0} wk",other:"{0} wks"},days:{one:"{0} day",other:"{0} days"},hours:{one:"{0} hr",other:"{0} hr"},minutes:{one:"{0} min",other:"{0} min"},seconds:{one:"{0} sec",other:"{0} sec"}}}};var Bi=Et("xu1bL"),Hi={};Et("lhBDm").addLocale("en",(e=>{var t=Math.floor(Math.abs(e)),r=(""+e).replace(/^[^.]*\.?/,"").length;return"string"==typeof e&&(e=parseInt(e,10)),1===t&&0===r?"one":"other"}));var qi={};Object.defineProperty(qi,"__esModule",{value:!0}),qi.getUbuntuVersion=void 0,qi.getUbuntuVersion=async()=>{if("linux"!==process.platform)return[];const e=await(t="lsb_release",r=["-a"],new Promise(((e,n)=>{$gCrli$execFile(t,r,{encoding:"utf8",shell:!1},((o,i,s)=>{if(o)return"errno"in o&&"ENOENT"===o.code?void e(null):void n(Error(`Could not execute \`${t} ${r.join(" ")}\`: ${o} (stderr=${s})`));e(i)}))})));var t,r;if(null===e)return[];const n=/^Distributor ID:\s*(.+)$/,o=/^Description:\s*Ubuntu\s+(\d+)\.(\d+)(?:\.(\d+))?/,i=/^Release:\s*(\d+)\.(\d+)(?:\.(\d+))?$/;let s=null,a=null,c=!1;for(const t of e.split("\n")){const e=t.match(n);if(null!==e){if("Ubuntu"!==e[1])return[];c=!0}const r=t.match(o);r&&(s=r);const l=t.match(i);if(l&&(a=l),c&&s&&a)break}if(!c)return[];for(const e of[s,a])if(e){const t=[e[1],e[2]];return e[3]&&t.push(e[3]),t.map((e=>parseInt(e,10)))}return[]},Zo=Et("kULaE"),On=Et("81ovw"),On=Et("81ovw");let Vi,Wi=!1;On=Et("81ovw");const Xi={async nala(e,r,n){if(!A())return;if("string"==typeof Vi)return{binDir:Vi};const o=t(St).sync("nala",{nothrow:!0});if(null!==o)return Vi=$gCrli$dirname(o),{binDir:Vi};u("/bin/bash",["-c",`echo "deb [signed-by=${await E("volian-archive-scar-unstable.gpg","https://deb.volian.org/volian/scar.key")}] http://deb.volian.org/volian/ scar main" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`]);try{"legacy"!==e?await y("nala",void 0,[],!0):await y("nala-legacy",void 0,[],!0)}catch(e){await y("nala-legacy",void 0,[],!0)}return Vi="/usr/bin",{binDir:Vi}},cmake:Z,ninja:Be,python:Q,async vcpkg(e,r,n){return Wi&&null!==t(St).sync("vcpkg",{nothrow:!0})?{binDir:$gCrli$dirname(t(St).sync("vcpkg"))}:("linux"===process.platform&&(T()?(S("curl"),S("zip"),S("unzip"),S("tar"),S("git"),S("pkg-config")):R()?(I("curl"),I("zip"),I("unzip"),I("tar"),I("git"),I("pkg-config")):A()&&(await y("curl"),await y("zip"),await y("unzip"),await y("tar"),await y("git"),await y("pkg-config"))),$gCrli$existsSync($gCrli$join(r,k("bootstrap-vcpkg")))?(0,On.notice)(`Vcpkg folder already exists at ${r}. This might mean that ~/vcpkg is restored from the cache.`):t(Nt).sync("git",["clone","https://github.com/microsoft/vcpkg"],{cwd:$gCrli$dirname(r),stdio:"inherit"}),t(Nt).sync(k((o="bootstrap-vcpkg","win32"===process.platform?o:"./"+o)),{cwd:r,shell:!0,stdio:"inherit"}),L(r),await f(r),Wi=!0,{binDir:r});var o},async bazel(e,t,r){switch(process.platform){case"win32":return O("bazelisk",e);case"darwin":return C("bazelisk",e);case"linux":if(T())throw Error("installing bazel on Arch linux is not supported yet");if(R())return I("dnf-plugins-core",void 0),u("dnf",["copr","enable","vbatts/bazel"]),I("bazel4",void 0);if(A())return u("bash",["-c",`echo "deb [arch=amd64 signed-by=${await E("bazel-archive-keyring.gpg","https://bazel.build/bazel-release.pub.gpg")}] https://storage.googleapis.com/bazel-apt stable jdk1.8" | tee /etc/apt/sources.list.d/bazel.list`]),y("bazel",e,[],!0);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async conan(e,t,r){return await ye("setuptools",""),ye("conan",e)},meson(e,t,r){return ye("meson",e)},gcovr(e,t,r){return ye("gcovr",e)},async opencppcoverage(e,t,r){if("win32"===process.platform)return await O("opencppcoverage",e),{binDir:await(async()=>{const e="C:/Program Files/OpenCppCoverage";return await f(e),e})()}},llvm:Te,gcc:$e,choco:_,brew:n,ccache(e,t,r){switch(process.platform){case"win32":return O("ccache",e);case"darwin":return C("ccache",e);case"linux":if(T())return S("ccache",e);if(R())return I("ccache",e);if(A())return y("ccache",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await O("doxygen.install",e);const t={binDir:await(async()=>{if("win32"===process.platform){for(const e of["C:/ProgramData/chocolatey/bin","C:/Program Files/doxygen/bin","C:/Program Files (x86)/doxygen"])if($gCrli$existsSync($gCrli$join(e,"doxygen.exe")))return await f(e),e;throw Error("Failed to find doxygen binary")}throw Error("Unsupported platform")})()};return await we(ge("graphviz",void 0)),t}case"darwin":{const e=C("doxygen",void 0);return await we(ge("graphviz",void 0)),e}case"linux":{let n;if(""===e||T()||R())if(T())n=S("doxygen",e);else{if(R())return I("doxygen",e);if(!A())throw Error("Unsupported linux distributions");n=await y("doxygen",e)}else{if(!A())throw Error("Unsupported linux distributions");try{n=await Y("doxygen",e,xe,t,r),await y("libclang-cpp9")}catch(e){(0,On.notice)(`Failed to download doxygen binary. ${e}. Falling back to apt-get.`),n=await y("doxygen",void 0)}}return await we(ge("graphviz",void 0)),n}default:throw Error("Unsupported platform")}},graphviz:we,async cppcheck(e,t,r){switch(process.platform){case"win32":return await O("cppcheck",e),{binDir:await(async()=>{const e="C:/Program Files/Cppcheck";return await f(e),e})()};case"darwin":return C("cppcheck",e);case"linux":if(T())return S("cppcheck",e);if(R())return I("ccache",e);if(A())return y("cppcheck",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},clangtidy:Ie,clangformat:Ie,msvc:Ge,vcvarsall:Fe,async kcov(e,t,r){if("linux"!==process.platform)return void(0,On.info)("Kcov is not supported on non-linux");const n=e.split("-");let o=(e=>e.match(/^v/)?e:"v"+e)(n[0]);const i=n[1],s=(e=>parseInt(e.replace(/^v/,""),10))(o);let a;return 38===s&&(o="v38"),"binary"!==i||39>s?(a=await Y("kcov",o,We,t,r),a):(a=await Y("kcov",o,Ve,t,r),T()?S("binutils"):R()?I("binutils"):A()&&await y("libbinutils"),a)},async make(e,t,r){switch(process.platform){case"win32":return O("make",e);case"darwin":return C("make",e),await f("/usr/local/opt/make/libexec/gnubin"),{binDir:"/usr/local/opt/make/libexec/gnubin"};case"linux":if(T())return S("make",e);if(R())return I("make",e);if(A())return y("make",e);throw Error("Unsupported linux distribution");default:throw Error("Unsupported platform")}},task(e,t,r){return Y("task",e,K,t,r)},sevenzip:N},Yi=["nala","choco","brew","python","vcpkg","bazel","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","graphviz","cppcheck","clangtidy","clangformat","llvm","gcc","msvc","vcvarsall","kcov","make","task","sevenzip"],Ki=["compiler","architecture",...Yi];Ye(process.argv).then((e=>{process.exitCode=e})).catch((e=>{(0,On.error)("main() panicked!"),(0,On.error)(e),process.exitCode=1}));export{Ye as main,Ke as parseArgs,Je as getCompilerInfo}; //# sourceMappingURL=setup_cpp.mjs.map diff --git a/dist/setup_cpp.mjs.map b/dist/setup_cpp.mjs.map index 18e20b45..0cc78d64 100644 --- a/dist/setup_cpp.mjs.map +++ b/dist/setup_cpp.mjs.map @@ -1 +1 @@ -{"mappings":"4IAWA,SAASA,EAAOC,EAAMC,EAASC,GAM7B,GALuB,mBAAZD,IACTC,EAAKD,EACLA,EAAU,KAGPC,EAAI,CACP,GAAuB,mBAAZC,QACT,MAAM,IAAIC,UAAU,yBAGtB,OAAO,IAAID,SAAQ,CAAUE,EAASC,KACpCP,EAAMC,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,E,OAMhBC,GAAKT,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KAElCD,IACc,WAAZA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,E,IClCJ,SAASI,EAAUC,EAAkBC,EAAmBC,GAC7D,IAAK,CAAC,SAAU,SAASC,SAASC,QAAQC,UACxC,OAEF,GAAsB,iBAAXC,GACT,MAAO,C,OAAEA,IAGX,MAAMC,EAAcC,EAAAC,IAAMC,KAAK,OAAQ,CAAEC,SAAS,IAClD,OAAoB,OAAhBJ,GACFD,GAASM,eAAQL,GACV,C,OAAED,MAIXO,oBAAa,kGAAmG,CAC9GC,MAAO,YAETR,GAAS,kBAEF,C,OAAEA,I,CCrBX,SAASS,EAAsBC,EAAQC,GACnC,MAAMC,EAAMF,EAAO5B,QAAQ8B,KAAOd,QAAQc,IACpCC,EAAMf,QAAQe,MACdC,EAAqC,MAAtBJ,EAAO5B,QAAQ+B,IAE9BE,EAAkBD,QAAkCE,IAAlBlB,QAAQmB,QAAwBnB,QAAQmB,MAAMC,SAItF,GAAIH,EACA,IACIjB,QAAQmB,MAAMP,E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EoB6B/Dg3D,SAAUp3D,GAINsU,GAAoC,CACxC,OACA,QACA,OACA,SACA,QACA,QACA,QACA,QACA,QACA,QACA,QACA,kBACA,SACA,UACA,WACA,WACA,YACA,cACA,OACA,MACA,OACA,YACA,OACA,OACA,OACA,YAOI6B,GAAwB,CAAC,WAAY,kBAAmB7B,IAgM9D9B,GAAK1d,QAAQuiE,MACVtoB,MAAMlI,IACL/xC,QAAQ8jB,SAAWiuB,CAAG,IAEvB5pB,OAAO9mB,KACN,EAAA6E,GAAA1C,OAAM,qBACN,EAAA0C,GAAA1C,OAAMnC,GACNrB,QAAQ8jB,SAAW,CAAC,W","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","packages/root-tools/src/index.ts","packages/untildify-user/src/index.ts","packages/exec-powershell/src/index.ts","src/utils/env/addEnv.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupPacmanPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","src/utils/env/isArch.ts","src/utils/env/hasDnf.ts","src/utils/setup/setupDnfPack.ts","src/utils/env/isUbuntu.ts","packages/extension-tools/src/index.ts","src/sevenzip/sevenzip.ts","packages/user-access/src/index.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/extract.ts","src/utils/setup/setupBin.ts","src/task/task.ts","src/cmake/cmake.ts","src/python/python.ts","src/utils/http/validate_url.ts","src/utils/setup/version.ts","src/default_versions.ts","src/utils/setup/setupPipPack.ts","src/graphviz/graphviz.ts","src/doxygen/doxygen.ts","src/macos-sdk/macos-sdk.ts","src/gcc/gcc.ts","src/llvm/llvm.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/lib.js","src/vcvarsall/vcvarsall.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/kcov/kcov.ts","src/main.ts","src/utils/env/ubuntu_version.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/index.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/proxy.ts","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/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/auth.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","src/utils/io/io.ts","node_modules/.pnpm/github.com+aminya+ci-detect@37fe40075bebec96794ba0a7c4a6d5c70cbea00d/node_modules/@npmcli/ci-detect/lib/index.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@7.8.1/node_modules/lru-cache/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.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+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@parcel+runtime-js@2.6.2_@parcel+core@2.6.2/node_modules/@parcel/runtime-js/lib/runtime-8fa2e9236252370d.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","node_modules/.pnpm/github.com+aminya+escape-path-with-spaces@d9f81ee649203ddc55783a2f96ada59df06118e3/node_modules/escape-path-with-spaces/index.js","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","src/vcpkg/vcpkg.ts","src/nala/nala.ts","src/bazel/bazel.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/cppcheck/cppcheck.ts","src/make/make.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, _setupDir: 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","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return (Boolean(process.env.CI) || isRoot()) && which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/** Detect if the process has root privileges */\nexport function isRoot(): boolean {\n return process.getuid?.() === 0\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"root-tools\"\n\nexport function untildifyUser(path: string) {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER, path)\n } else {\n return join(\"/home/\", process.env.SUDO_USER, path)\n }\n } else {\n return untildify(`~/${path}`)\n }\n}\n","import execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" }\n): execa.ExecaChildProcess {\n return execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" }\n): execa.ExecaSyncReturnValue {\n return execa.sync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, existsSync, readFileSync } from \"fs\"\nimport { error, warning } from \"../io/io\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {\n const val = shouldEscapeSpace ? escapeSpace(valGiven ?? \"\") : valGiven\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val)\n }\n } else {\n await addEnvSystem(name, val)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\".cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"export SOURCE_CPPRC=0\"\n\n if (existsSync(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\".profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\".bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { appendFileSync, existsSync } from \"fs\"\nimport which from \"which\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repositories: string[] = [],\n update = false\n): Promise {\n const apt: string = getApt()\n\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n if (Array.isArray(repositories) && repositories.length !== 0) {\n for (const repo of repositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"--update\", \"-y\", repo])\n }\n updateRepos(apt)\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}=${version}`])\n } catch {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}-${version}`])\n }\n } else {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nfunction getApt() {\n let apt: string\n if (which.sync(\"nala\", { nothrow: true }) !== null) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\")\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\")\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n await addEnv(\"LANG\", \"C.UTF-8\")\n await addEnv(\"LC_ALL\", \"C.UTF-8\")\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n for (const key of keys) {\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n }\n return fileName\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n await setupAptPack(\"curl\", undefined)\n execRootSync(\"bash\", [\"-c\", `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport function updateAptAlternatives(name: string, path: string) {\n if (ciDetect() === \"github-actions\") {\n return execRootSync(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n setupCppInProfile()\n return appendFileSync(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`\n )\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"../io/io\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport function setupPacmanPack(name: string, version?: string, aur?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (!didUpdate) {\n execRootSync(pacman, [\"-Syuu\", \"--noconfirm\"])\n didUpdate = true\n }\n\n if (!didInit) {\n // install base-devel\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}=${version}`])\n } catch {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}${version}`])\n }\n } else {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport execa from \"execa\"\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 info(`Installing ${name} ${version ?? \"\"} via brew`)\n\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 execa.sync(\"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 execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\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 _setupDir: 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 let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.sync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" }\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"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 \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\nimport { info } from \"@actions/core\"\nimport { notice } from \"../io/io\"\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 info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n notice(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info, warning } from \"../io/io\"\n\n// let didUpdate: boolean = false\n\n/** A function that installs a package using dnf */\nexport function setupDnfPack(name: string, version?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n\n const dnf = \"dnf\"\n\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(dnf, [\"-y\", \"install\", `${name}-${version}`])\n } catch (err) {\n warning(`${(err as Error).toString()}\\nInstalling the default version available via dnf`)\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n } else {\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.exe` on Windows\n * @param unix_ext `\"\"` On unix.\n */\nexport function addBinExtension(name: string, win_ext = \".exe\", unix_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/**\n * Add native shell extension to the given name\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.bat` on Windows\n * @param unix_ext `.sh` On unix.\n */\nexport function addShellExtension(name: string, win_ext = \".bat\", unix_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/** Prefix a `./` for unix shell and nothing for the cmd shell */\nexport function addShellHere(name: string) {\n if (process.platform === \"win32\") {\n return name\n }\n return `./${name}`\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n setupDnfPack(\"p7zip\", version)\n return setupDnfPack(\"p7zip-plugins\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"p7zip-full\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { isSudo, execRootSync } from \"root-tools\"\n\n/**\n * Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows\n * the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport function giveUserAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n execRootSync(\"chown\", [\"-R\", process.env.SUDO_USER, path], { cwd: path, stdio: \"inherit\", shell: true })\n }\n}\n",null,"import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"../io/io\"\nimport { giveUserAccess } from \"user-access\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n giveUserAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n giveUserAccess(dest)\n return dest\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport { tmpdir } from \"os\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\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 main binary file. */\n binFileName: 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\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded 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, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch\n )\n\n // Restore from cache (if found).\n if (ciDetect() === \"github-actions\") {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(binDir) || !existsSync(binFile)) {\n info(`Download and extract ${name} ${version}`)\n\n if (!didInit) {\n if (process.platform === \"linux\") {\n // extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"xz\")\n } else if (hasDnf()) {\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"xz\")\n } else if (isUbuntu()) {\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"xz-utils\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n try {\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\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 await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (ciDetect() === \"github-actions\" && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { warning, info } from \"../utils/io/io\"\nimport { isArch } from \"../utils/env/isArch\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { dirname, join } from \"path\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string) {\n if (ciDetect() !== \"github-actions\") {\n // TODO parse version\n return setupPythonViaSystem(version, setupDir, arch)\n }\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n return setupActionsPython(version, setupDir, arch)\n } catch (err) {\n warning((err as Error).toString())\n return setupPythonViaSystem(version, setupDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(\n version: string,\n setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const pythonBinPath =\n which.sync(\"python3.exe\", { nothrow: true }) ??\n which.sync(\"python.exe\", { nothrow: true }) ??\n join(setupDir, \"python.exe\")\n const pythonSetupDir = dirname(pythonBinPath)\n /** The directory which the tool is installed to */\n await activateWinPython(pythonSetupDir)\n return { installDir: pythonSetupDir, binDir: pythonSetupDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n let installInfo: InstallationInfo\n if (isArch()) {\n installInfo = setupPacmanPack(\"python\", version)\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n installInfo = setupDnfPack(\"python3\", version)\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinPython(binDir: string) {\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\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","import { isValidUrl } from \"../http/validate_url\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"../io/io\"\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 // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isValidUrl(url))) {\n return [version, url]\n }\n }\n\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 execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().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\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","import { Inputs, Opts } from \"./main\"\nimport { isArch } from \"./utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nconst DefaultVersions: Record = {\n llvm: \"13.0.0\", // https://github.com/llvm/llvm-project/releases\n clangtidy: \"13.0.0\",\n clangformat: \"13.0.0\",\n ninja: \"1.11.0\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.23.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.1\", // https://pypi.org/project/gcovr/\n conan: \"1.50.0\", // https://github.com/conan-io/conan/releases\n meson: \"0.63.0\", // https://github.com/mesonbuild/meson/releases\n kcov: \"40\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.14.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.3-1\" : \"1.9.4\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: \"11\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nconst DefaultUbuntuVersion: Record> = {\n llvm: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 20: \"5.1\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"0.63.0\",\n 18: \"0.61.4\",\n },\n doxygen: {\n 20: \"1.9.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\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, osVersion: number[] | null = null) {\n if (useDefault(version, name)) {\n // choose the default linux version based on ubuntu version\n if (process.platform === \"linux\" && osVersion !== null && name in DefaultUbuntuVersion) {\n const osVersionMaj = osVersion[0]\n const newest = parseInt(Object.keys(DefaultUbuntuVersion[name])[0], 10) // newest version with the default\n if (osVersionMaj >= newest) {\n return DefaultUbuntuVersion[name][osVersionMaj]\n } else {\n return \"\"\n }\n }\n // anything else\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n\nfunction useDefault(version: string | undefined, name: string) {\n return version === \"true\" || (version === undefined && name in DefaultVersions)\n}\n\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n for (let i = 0; i < tools.length; i++) {\n // tools excluding i_tool\n const otherTools = tools.slice(0, i).concat(tools.slice(i + 1))\n\n const tool = tools[i]\n\n if (!useDefault(opts[tool], tool)) {\n for (let i_other = 0; i_other < otherTools.length; i_other++) {\n const otherTool = otherTools[i_other]\n const useDefaultOtherTool = useDefault(opts[otherTool], otherTools[i_other])\n if (useDefaultOtherTool) {\n // use the same version if the other tool was requested with the default\n opts[otherTool] = opts[tool]\n } else if (opts[tool] !== opts[otherTools[i_other]]) {\n // error if different from the other given versions\n return false\n }\n }\n }\n }\n return true\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\nimport { getVersion } from \"../../default_versions\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\n\nlet python: string | undefined\nlet binDir: string | undefined\n\nlet tried = false\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pip`)\n\n // setup python and pip if needed\n if (python === undefined) {\n if (which.sync(\"python3\", { nothrow: true }) !== null) {\n python = \"python3\"\n } else if (which.sync(\"python\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n python = \"python\"\n } else {\n info(\"python3 was not found. Installing python\")\n await setupPython(getVersion(\"python\", undefined), \"\", process.arch)\n // try again\n if (tried) {\n throw new Error(\"Failed to install python\")\n }\n tried = true\n return setupPipPack(name, version)\n }\n if (process.platform === \"win32\") {\n // downgrade pip on Windows\n // https://github.com/pypa/pip/issues/10875#issuecomment-1030293005\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"pip==21.3.1\"], { stdio: \"inherit\" })\n } else if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if (isArch()) {\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n await setupAptPack(\"python3-pip\")\n }\n }\n\n // install wheel (required for Conan, Meson, etc.)\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"wheel\"], { stdio: \"inherit\" })\n }\n\n execa.sync(python, [\"-m\", \"pip\", \"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name], {\n stdio: \"inherit\",\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 // windows or others\n try {\n binDir = join(\n (await getExecOutput(`${python} -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 await addPath(binDir)\n }\n\n return { binDir }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"graphviz\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"graphviz\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { notice } from \"../utils/io/io\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../default_versions\"\nimport { existsSync } from \"fs\"\nimport { join } from \"path\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n const installationInfo = setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"doxygen\", version)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack(\"doxygen\", version)\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n await setupAptPack(\"libclang-cpp9\")\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack(\"doxygen\", undefined)\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n if (existsSync(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"../utils/io/io\"\n\nexport async function setupMacOSSDK() {\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 (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport path from \"path\"\nimport { warning, info } from \"../utils/io/io\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addBinExtension } from \"extension-tools\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"12\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-msvcrt-r2\", fileSuffix: \"12.1.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = setupDnfPack(\"gcc\", version)\n setupDnfPack(\"gcc-c++\", version)\n setupDnfPack(\"libstdc++-devel\", undefined)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n installationInfo = await setupAptPack(\"g++\", version, [])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc-multilib\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\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 (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (existsSync(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string) {\n const promises: Promise[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addBinExtension(`${binDir}/gcc`)), addEnv(\"CXX\", addBinExtension(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`)\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`)\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (ciDetect() === \"github-actions\") {\n addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nfunction addGccLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"gcc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * 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 {\n getSpecificVersionAndUrl,\n getSpecificVersions,\n getVersions,\n semverCoerceIfInvalid,\n} from \"../utils/setup/version\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addBinExtension } from \"extension-tools\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { setOutput } from \"@actions/core\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { info, warning } from \"../utils/io/io\"\nimport { existsSync } from \"fs\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { getVersion } from \"../default_versions\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\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 \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\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()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [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\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"14.0.0\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function 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 const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n ubuntu = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n ubuntu = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${ubuntu} for the 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// Exports\n//================================================\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addBinExtension(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await _setupLLVM(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir, version)\n return installationInfo\n}\n\nlet didInit = false\nasync function _setupLLVM(version: string, setupDir: string, arch: string) {\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n if (!didInit) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await setupGcc(getVersion(\"gcc\", undefined), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n if (isArch()) {\n // setupPacmanPack(\"ncurses\")\n // TODO: install libtinfo ?\n } else if (isUbuntu()) {\n await setupAptPack(\"libtinfo-dev\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n return installationInfo\n}\n\nexport async function activateLLVM(directory: string, versionGiven: string) {\n const version = semverCoerceIfInvalid(versionGiven)\n\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 const promises = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addBinExtension(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addBinExtension(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // windows builds fail with llvm's CPATH\n if (process.platform !== \"win32\") {\n const llvmMajor = semverMajor(version)\n if (existsSync(`${directory}/lib/clang/${version}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n } else if (existsSync(`${directory}/lib/clang/${llvmMajor}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n }\n }\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`)\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`)\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`)\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`)\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`)\n }\n\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\n/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string): Promise {\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n return _setupLLVM(version, setupDir, arch)\n}\n\nfunction addLLVMLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"llvm_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n",null,null,"const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, { shell: \"cmd\" }).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd","import { existsSync } from \"fs\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"../utils/io/io\"\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 setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport path from \"path\"\nimport { existsSync } from \"fs\"\nimport { error, info, warning } from \"../utils/io/io\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (ciDetect() === \"github-actions\") {\n addMSVCLoggingMatcher()\n }\n}\n\nfunction addMSVCLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"msvc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\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 */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\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","import execa from \"execa\"\nimport { join } from \"path\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../default_versions\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"../utils/io/io\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n setupPacmanPack(\"libdwarf\")\n setupPacmanPack(\"libcurl-openssl\")\n } else if (hasDnf()) {\n setupDnfPack(\"libdwarf-devel\")\n setupDnfPack(\"libcurl-devel\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libdw-dev\")\n await setupAptPack(\"libcurl4-openssl-dev\")\n }\n }\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(getVersion(\"cmake\", undefined), join(untildifyUser(\"\"), \"cmake\"), \"\")\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined), join(untildifyUser(\"\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n setupDnfPack(\"binutils\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libbinutils\")\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { getInput, endGroup, startGroup, notice } from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupMake } from \"./make/make\"\nimport { setupTask } from \"./task/task\"\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, setupClangTools } 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\"\nimport { untildifyUser } from \"untildify-user\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport * as timeDelta from \"time-delta\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport * as numerous from \"numerous\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport numerousLocale from \"numerous/locales/en.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion, syncVersions } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, info, success, warning } from \"./utils/io/io\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { join } from \"path\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupBazel } from \"./bazel/bazel\"\n\n/** The setup functions */\nconst setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\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 graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangTools,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"nala\",\n \"choco\",\n \"brew\",\n \"python\",\n \"vcpkg\",\n \"bazel\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"graphviz\",\n \"cppcheck\",\n \"clangtidy\",\n \"clangformat\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n \"vcvarsall\",\n \"kcov\",\n \"make\",\n \"task\",\n \"sevenzip\",\n]\n\n/** The possible inputs to the program */\nexport type 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 if (ciDetect() !== \"github-actions\") {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\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 ?? untildifyUser(\"\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n let osVersion: number[] | null = null\n try {\n // get the version if not already done\n osVersion = await ubuntuVersion()\n } catch (err) {\n warning((err as Error).toString())\n }\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\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 version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n startGroup(`Installing ${tool} ${version}`)\n try {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(\n getVersion(tool, version, osVersion),\n undefined,\n arch,\n undefined,\n undefined,\n false,\n false\n )\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool) ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n time1 = Date.now()\n try {\n if (maybeCompiler !== undefined) {\n const { compiler, version } = getCompilerInfo(maybeCompiler)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const installationInfo = await setupGcc(getVersion(\"gcc\", version, osVersion), join(setupCppDir, \"gcc\"), arch)\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\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 const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup_cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup_cpp finished\")\n\n if (ciDetect() !== \"github-actions\") {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\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((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n }\n>\n\nexport function parseArgs(args: string[]): Opts {\n return 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\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(maybeCompiler: string) {\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\nfunction printHelp() {\n info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = 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 | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n","import { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\n\nexport async function ubuntuVersion(): Promise {\n if (isUbuntu()) {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack(\"lsb-release\")\n }\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n throw new Error(\"Failed to get the ubuntu major version.\")\n }\n\n return versionSplitted\n } else {\n return null\n }\n}\n",null,null,null,null,null,null,null,"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",null,null,null,"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","import * as core from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\n\nexport function error(err: string | Error) {\n return ciDetect() === \"github-actions\" ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return ciDetect() === \"github-actions\" ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return ciDetect() === \"github-actions\" ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return ciDetect() === \"github-actions\" ? core.info(msg) : console.log(msg)\n}\n","module.exports = () =>\n process.env.GERRIT_PROJECT ? 'gerrit'\n : process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI ? 'azure-pipelines'\n : process.env.BITRISE_IO ? 'bitrise'\n : process.env.BUDDY_WORKSPACE_ID ? 'buddy'\n : process.env.BUILDKITE ? 'buildkite'\n : process.env.CIRRUS_CI ? 'cirrus'\n : process.env.GITLAB_CI ? 'gitlab'\n : process.env.APPVEYOR ? 'appveyor'\n : process.env.CIRCLECI ? 'circle-ci'\n : process.env.SEMAPHORE ? 'semaphore'\n : process.env.DRONE ? 'drone'\n : process.env.DSARI ? 'dsari'\n : process.env.GITHUB_ACTION ? 'github-actions'\n : process.env.TDDIUM ? 'tddium'\n : process.env.SCREWDRIVER ? 'screwdriver'\n : process.env.STRIDER ? 'strider'\n : process.env.TASKCLUSTER_ROOT_URL ? 'taskcluster'\n : process.env.JENKINS_URL ? 'jenkins'\n : process.env['bamboo.buildKey'] ? 'bamboo'\n : process.env.GO_PIPELINE_NAME ? 'gocd'\n : process.env.HUDSON_URL ? 'hudson'\n : process.env.WERCKER ? 'wercker'\n : process.env.NETLIFY ? 'netlify'\n : process.env.NOW_GITHUB_DEPLOYMENT ? 'now-github'\n : process.env.GITLAB_DEPLOYMENT ? 'now-gitlab'\n : process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket'\n : process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines'\n : process.env.NOW_BUILDER ? 'now'\n : process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github'\n : process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab'\n : process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket'\n : process.env.VERCEL_URL ? 'vercel'\n : process.env.MAGNUM ? 'magnum'\n : process.env.NEVERCODE ? 'nevercode'\n : process.env.RENDER ? 'render'\n : process.env.SAIL_CI ? 'sail'\n : process.env.SHIPPABLE ? 'shippable'\n : process.env.TEAMCITY_VERSION ? 'teamcity'\n // codeship and a few others\n : process.env.CI_NAME ? process.env.CI_NAME\n // heroku doesn't set envs other than node in a heroku-specific location\n : /\\/\\.heroku\\/node\\/bin\\/node$/.test(process.env.NODE || '') ? 'heroku'\n // test travis after the others, since several CI systems mimic it\n : process.env.TRAVIS ? 'travis-ci'\n // aws CodeBuild/CodePipeline\n : process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'\n : process.env.CI === 'true' || process.env.CI === '1' ? 'custom'\n // Google Cloud Build - it sets almost nothing\n : process.env.BUILDER_OUTPUT ? 'builder'\n : false\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n",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(name, 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 (compareIdentifiers(this.prerelease[0], identifier) === 0) {\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((o, k) => {\n o[k] = true\n return o\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(\n version instanceof SemVer ? version.version : version,\n options\n ).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 }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\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\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\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('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.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\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)\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 let 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\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\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 rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\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((c) => {\n return replaceTilde(c, 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((c) => {\n return replaceCaret(c, 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((c) => {\n return replaceXRange(c, 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\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","const perf = typeof performance === 'object' && performance &&\n typeof performance.now === 'function' ? performance : Date\n\nconst hasAbortController = typeof AbortController !== 'undefined'\n\n// minimal backwards-compatibility polyfill\nconst AC = hasAbortController ? AbortController : Object.assign(\n class AbortController {\n constructor () { this.signal = new AC.AbortSignal }\n abort () { this.signal.aborted = true }\n },\n { AbortSignal: class AbortSignal { constructor () { this.aborted = false }}}\n)\n\nconst warned = new Set()\nconst deprecatedOption = (opt, instead) => {\n const code = `LRU_CACHE_OPTION_${opt}`\n if (shouldWarn(code)) {\n warn(code, `${opt} option`, `options.${instead}`, LRUCache)\n }\n}\nconst deprecatedMethod = (method, instead) => {\n const code = `LRU_CACHE_METHOD_${method}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, method)\n warn(code, `${method} method`, `cache.${instead}()`, get)\n }\n}\nconst deprecatedProperty = (field, instead) => {\n const code = `LRU_CACHE_PROPERTY_${field}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, field)\n warn(code, `${field} property`, `cache.${instead}`, get)\n }\n}\n\nconst emitWarning = (...a) => {\n typeof process === 'object' &&\n process &&\n typeof process.emitWarning === 'function'\n ? process.emitWarning(...a)\n : console.error(...a)\n}\n\nconst shouldWarn = code => !warned.has(code)\n\nconst warn = (code, what, instead, fn) => {\n warned.add(code)\n const msg = `The ${what} is deprecated. Please use ${instead} instead.`\n emitWarning(msg, 'DeprecationWarning', code, fn)\n}\n\nconst isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)\n\n/* istanbul ignore next - This is a little bit ridiculous, tbh.\n * The maximum array length is 2^32-1 or thereabouts on most JS impls.\n * And well before that point, you're caching the entire world, I mean,\n * that's ~32GB of just integers for the next/prev links, plus whatever\n * else to hold that many keys and values. Just filling the memory with\n * zeroes at init time is brutal when you get that big.\n * But why not be complete?\n * Maybe in the future, these limits will have expanded. */\nconst getUintArray = max => !isPosInt(max) ? null\n: max <= Math.pow(2, 8) ? Uint8Array\n: max <= Math.pow(2, 16) ? Uint16Array\n: max <= Math.pow(2, 32) ? Uint32Array\n: max <= Number.MAX_SAFE_INTEGER ? ZeroArray\n: null\n\nclass ZeroArray extends Array {\n constructor (size) {\n super(size)\n this.fill(0)\n }\n}\n\nclass Stack {\n constructor (max) {\n if (max === 0) {\n return []\n }\n const UintArray = getUintArray(max)\n this.heap = new UintArray(max)\n this.length = 0\n }\n push (n) {\n this.heap[this.length++] = n\n }\n pop () {\n return this.heap[--this.length]\n }\n}\n\nclass LRUCache {\n constructor (options = {}) {\n const {\n max = 0,\n ttl,\n ttlResolution = 1,\n ttlAutopurge,\n updateAgeOnGet,\n updateAgeOnHas,\n allowStale,\n dispose,\n disposeAfter,\n noDisposeOnSet,\n noUpdateTTL,\n maxSize = 0,\n sizeCalculation,\n fetchMethod,\n } = options\n\n // deprecated options, don't trigger a warning for getting them if\n // the thing being passed in is another LRUCache we're copying.\n const {\n length,\n maxAge,\n stale,\n } = options instanceof LRUCache ? {} : options\n\n if (max !== 0 && !isPosInt(max)) {\n throw new TypeError('max option must be a nonnegative integer')\n }\n\n const UintArray = max ? getUintArray(max) : Array\n if (!UintArray) {\n throw new Error('invalid max value: ' + max)\n }\n\n this.max = max\n this.maxSize = maxSize\n this.sizeCalculation = sizeCalculation || length\n if (this.sizeCalculation) {\n if (!this.maxSize) {\n throw new TypeError('cannot set sizeCalculation without setting maxSize')\n }\n if (typeof this.sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation set to non-function')\n }\n }\n\n this.fetchMethod = fetchMethod || null\n if (this.fetchMethod && typeof this.fetchMethod !== 'function') {\n throw new TypeError('fetchMethod must be a function if specified')\n }\n\n this.keyMap = new Map()\n this.keyList = new Array(max).fill(null)\n this.valList = new Array(max).fill(null)\n this.next = new UintArray(max)\n this.prev = new UintArray(max)\n this.head = 0\n this.tail = 0\n this.free = new Stack(max)\n this.initialFill = 1\n this.size = 0\n\n if (typeof dispose === 'function') {\n this.dispose = dispose\n }\n if (typeof disposeAfter === 'function') {\n this.disposeAfter = disposeAfter\n this.disposed = []\n } else {\n this.disposeAfter = null\n this.disposed = null\n }\n this.noDisposeOnSet = !!noDisposeOnSet\n this.noUpdateTTL = !!noUpdateTTL\n\n if (this.maxSize !== 0) {\n if (!isPosInt(this.maxSize)) {\n throw new TypeError('maxSize must be a positive integer if specified')\n }\n this.initializeSizeTracking()\n }\n\n this.allowStale = !!allowStale || !!stale\n this.updateAgeOnGet = !!updateAgeOnGet\n this.updateAgeOnHas = !!updateAgeOnHas\n this.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0\n ? ttlResolution : 1\n this.ttlAutopurge = !!ttlAutopurge\n this.ttl = ttl || maxAge || 0\n if (this.ttl) {\n if (!isPosInt(this.ttl)) {\n throw new TypeError('ttl must be a positive integer if specified')\n }\n this.initializeTTLTracking()\n }\n\n // do not allow completely unbounded caches\n if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {\n throw new TypeError('At least one of max, maxSize, or ttl is required')\n }\n if (!this.ttlAutopurge && !this.max && !this.maxSize) {\n const code = 'LRU_CACHE_UNBOUNDED'\n if (shouldWarn(code)) {\n warned.add(code)\n const msg = 'TTL caching without ttlAutopurge, max, or maxSize can ' +\n 'result in unbounded memory consumption.'\n emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)\n }\n }\n\n if (stale) {\n deprecatedOption('stale', 'allowStale')\n }\n if (maxAge) {\n deprecatedOption('maxAge', 'ttl')\n }\n if (length) {\n deprecatedOption('length', 'sizeCalculation')\n }\n }\n\n getRemainingTTL (key) {\n return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0\n }\n\n initializeTTLTracking () {\n this.ttls = new ZeroArray(this.max)\n this.starts = new ZeroArray(this.max)\n\n this.setItemTTL = (index, ttl) => {\n this.starts[index] = ttl !== 0 ? perf.now() : 0\n this.ttls[index] = ttl\n if (ttl !== 0 && this.ttlAutopurge) {\n const t = setTimeout(() => {\n if (this.isStale(index)) {\n this.delete(this.keyList[index])\n }\n }, ttl + 1)\n /* istanbul ignore else - unref() not supported on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n }\n\n this.updateItemAge = (index) => {\n this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0\n }\n\n // debounce calls to perf.now() to 1s so we're not hitting\n // that costly call repeatedly.\n let cachedNow = 0\n const getNow = () => {\n const n = perf.now()\n if (this.ttlResolution > 0) {\n cachedNow = n\n const t = setTimeout(() => cachedNow = 0, this.ttlResolution)\n /* istanbul ignore else - not available on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n return n\n }\n\n this.getRemainingTTL = (key) => {\n const index = this.keyMap.get(key)\n if (index === undefined) {\n return 0\n }\n return this.ttls[index] === 0 || this.starts[index] === 0 ? Infinity\n : ((this.starts[index] + this.ttls[index]) - (cachedNow || getNow()))\n }\n\n this.isStale = (index) => {\n return this.ttls[index] !== 0 && this.starts[index] !== 0 &&\n ((cachedNow || getNow()) - this.starts[index] > this.ttls[index])\n }\n }\n updateItemAge (index) {}\n setItemTTL (index, ttl) {}\n isStale (index) { return false }\n\n initializeSizeTracking () {\n this.calculatedSize = 0\n this.sizes = new ZeroArray(this.max)\n this.removeItemSize = index => this.calculatedSize -= this.sizes[index]\n this.requireSize = (k, v, size, sizeCalculation) => {\n if (!isPosInt(size)) {\n if (sizeCalculation) {\n if (typeof sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation must be a function')\n }\n size = sizeCalculation(v, k)\n if (!isPosInt(size)) {\n throw new TypeError('sizeCalculation return invalid (expect positive integer)')\n }\n } else {\n throw new TypeError('invalid size value (must be positive integer)')\n }\n }\n return size\n }\n this.addItemSize = (index, v, k, size) => {\n this.sizes[index] = size\n const maxSize = this.maxSize - this.sizes[index]\n while (this.calculatedSize > maxSize) {\n this.evict(true)\n }\n this.calculatedSize += this.sizes[index]\n }\n this.delete = k => {\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n this.calculatedSize -= this.sizes[index]\n }\n }\n return LRUCache.prototype.delete.call(this, k)\n }\n }\n removeItemSize (index) {}\n addItemSize (index, v, k, size) {}\n requireSize (k, v, size, sizeCalculation) {\n if (size || sizeCalculation) {\n throw new TypeError('cannot set size without setting maxSize on cache')\n }\n }\n\n *indexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.tail; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.head) {\n break\n } else {\n i = this.prev[i]\n }\n }\n }\n }\n\n *rindexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.head; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.tail) {\n break\n } else {\n i = this.next[i]\n }\n }\n }\n }\n\n isValidIndex (index) {\n return this.keyMap.get(this.keyList[index]) === index\n }\n\n *entries () {\n for (const i of this.indexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n *rentries () {\n for (const i of this.rindexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n\n *keys () {\n for (const i of this.indexes()) {\n yield this.keyList[i]\n }\n }\n *rkeys () {\n for (const i of this.rindexes()) {\n yield this.keyList[i]\n }\n }\n\n *values () {\n for (const i of this.indexes()) {\n yield this.valList[i]\n }\n }\n *rvalues () {\n for (const i of this.rindexes()) {\n yield this.valList[i]\n }\n }\n\n [Symbol.iterator] () {\n return this.entries()\n }\n\n find (fn, getOptions = {}) {\n for (const i of this.indexes()) {\n if (fn(this.valList[i], this.keyList[i], this)) {\n return this.get(this.keyList[i], getOptions)\n }\n }\n }\n\n forEach (fn, thisp = this) {\n for (const i of this.indexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n rforEach (fn, thisp = this) {\n for (const i of this.rindexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n get prune () {\n deprecatedMethod('prune', 'purgeStale')\n return this.purgeStale\n }\n\n purgeStale () {\n let deleted = false\n for (const i of this.rindexes({ allowStale: true })) {\n if (this.isStale(i)) {\n this.delete(this.keyList[i])\n deleted = true\n }\n }\n return deleted\n }\n\n dump () {\n const arr = []\n for (const i of this.indexes()) {\n const key = this.keyList[i]\n const value = this.valList[i]\n const entry = { value }\n if (this.ttls) {\n entry.ttl = this.ttls[i]\n }\n if (this.sizes) {\n entry.size = this.sizes[i]\n }\n arr.unshift([key, entry])\n }\n return arr\n }\n\n load (arr) {\n this.clear()\n for (const [key, entry] of arr) {\n this.set(key, entry.value, entry)\n }\n }\n\n dispose (v, k, reason) {}\n\n set (k, v, {\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n size = this.requireSize(k, v, size, sizeCalculation)\n let index = this.size === 0 ? undefined : this.keyMap.get(k)\n if (index === undefined) {\n // addition\n index = this.newIndex()\n this.keyList[index] = k\n this.valList[index] = v\n this.keyMap.set(k, index)\n this.next[this.tail] = index\n this.prev[index] = this.tail\n this.tail = index\n this.size ++\n this.addItemSize(index, v, k, size)\n noUpdateTTL = false\n } else {\n // update\n const oldVal = this.valList[index]\n if (v !== oldVal) {\n if (this.isBackgroundFetch(oldVal)) {\n oldVal.__abortController.abort()\n } else {\n if (!noDisposeOnSet) {\n this.dispose(oldVal, k, 'set')\n if (this.disposeAfter) {\n this.disposed.push([oldVal, k, 'set'])\n }\n }\n }\n this.removeItemSize(index)\n this.valList[index] = v\n this.addItemSize(index, v, k, size)\n }\n this.moveToTail(index)\n }\n if (ttl !== 0 && this.ttl === 0 && !this.ttls) {\n this.initializeTTLTracking()\n }\n if (!noUpdateTTL) {\n this.setItemTTL(index, ttl)\n }\n if (this.disposeAfter) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return this\n }\n\n newIndex () {\n if (this.size === 0) {\n return this.tail\n }\n if (this.size === this.max && this.max !== 0) {\n return this.evict(false)\n }\n if (this.free.length !== 0) {\n return this.free.pop()\n }\n // initial fill, just keep writing down the list\n return this.initialFill++\n }\n\n pop () {\n if (this.size) {\n const val = this.valList[this.head]\n this.evict(true)\n return val\n }\n }\n\n evict (free) {\n const head = this.head\n const k = this.keyList[head]\n const v = this.valList[head]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'evict')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'evict'])\n }\n }\n this.removeItemSize(head)\n // if we aren't about to use the index, then null these out\n if (free) {\n this.keyList[head] = null\n this.valList[head] = null\n this.free.push(head)\n }\n this.head = this.next[head]\n this.keyMap.delete(k)\n this.size --\n return head\n }\n\n has (k, { updateAgeOnHas = this.updateAgeOnHas } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n if (!this.isStale(index)) {\n if (updateAgeOnHas) {\n this.updateItemAge(index)\n }\n return true\n }\n }\n return false\n }\n\n // like get(), but without any LRU updating or TTL expiration\n peek (k, { allowStale = this.allowStale } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined && (allowStale || !this.isStale(index))) {\n return this.valList[index]\n }\n }\n\n backgroundFetch (k, index, options) {\n const v = index === undefined ? undefined : this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return v\n }\n const ac = new AC()\n const fetchOpts = {\n signal: ac.signal,\n options,\n }\n const p = Promise.resolve(this.fetchMethod(k, v, fetchOpts)).then(v => {\n if (!ac.signal.aborted) {\n this.set(k, v, fetchOpts.options)\n }\n return v\n })\n p.__abortController = ac\n p.__staleWhileFetching = v\n if (index === undefined) {\n this.set(k, p, fetchOpts.options)\n index = this.keyMap.get(k)\n } else {\n this.valList[index] = p\n }\n return p\n }\n\n isBackgroundFetch (p) {\n return p && typeof p === 'object' && typeof p.then === 'function' &&\n Object.prototype.hasOwnProperty.call(p, '__staleWhileFetching')\n }\n\n // this takes the union of get() and set() opts, because it does both\n async fetch (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n if (!this.fetchMethod) {\n return this.get(k, {allowStale, updateAgeOnGet})\n }\n\n const options = {\n allowStale,\n updateAgeOnGet,\n ttl,\n noDisposeOnSet,\n size,\n sizeCalculation,\n noUpdateTTL,\n }\n\n let index = this.keyMap.get(k)\n if (index === undefined) {\n return this.backgroundFetch(k, index, options)\n } else {\n // in cache, maybe already fetching\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return allowStale && v.__staleWhileFetching !== undefined\n ? v.__staleWhileFetching : v\n }\n\n if (!this.isStale(index)) {\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return v\n }\n\n // ok, it is stale, and not already fetching\n // refresh the cache.\n const p = this.backgroundFetch(k, index, options)\n return allowStale && p.__staleWhileFetching !== undefined\n ? p.__staleWhileFetching : p\n }\n }\n\n get (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n const value = this.valList[index]\n const fetching = this.isBackgroundFetch(value)\n if (this.isStale(index)) {\n // delete only if not an in-flight background fetch\n if (!fetching) {\n this.delete(k)\n return allowStale ? value : undefined\n } else {\n return allowStale ? value.__staleWhileFetching : undefined\n }\n } else {\n // if we're currently fetching it, we don't actually have it yet\n // it's not stale, which means this isn't a staleWhileRefetching,\n // so we just return undefined\n if (fetching) {\n return undefined\n }\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return value\n }\n }\n }\n\n connect (p, n) {\n this.prev[n] = p\n this.next[p] = n\n }\n\n moveToTail (index) {\n // if tail already, nothing to do\n // if head, move head to next[index]\n // else\n // move next[prev[index]] to next[index] (head has no prev)\n // move prev[next[index]] to prev[index]\n // prev[index] = tail\n // next[tail] = index\n // tail = index\n if (index !== this.tail) {\n if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.connect(this.prev[index], this.next[index])\n }\n this.connect(this.tail, index)\n this.tail = index\n }\n }\n\n get del () {\n deprecatedMethod('del', 'delete')\n return this.delete\n }\n delete (k) {\n let deleted = false\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n deleted = true\n if (this.size === 1) {\n this.clear()\n } else {\n this.removeItemSize(index)\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n this.keyMap.delete(k)\n this.keyList[index] = null\n this.valList[index] = null\n if (index === this.tail) {\n this.tail = this.prev[index]\n } else if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.next[this.prev[index]] = this.next[index]\n this.prev[this.next[index]] = this.prev[index]\n }\n this.size --\n this.free.push(index)\n }\n }\n }\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return deleted\n }\n\n clear () {\n for (const index of this.rindexes({ allowStale: true })) {\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n const k = this.keyList[index]\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n }\n\n this.keyMap.clear()\n this.valList.fill(null)\n this.keyList.fill(null)\n if (this.ttls) {\n this.ttls.fill(0)\n this.starts.fill(0)\n }\n if (this.sizes) {\n this.sizes.fill(0)\n }\n this.head = 0\n this.tail = 0\n this.initialFill = 1\n this.free.length = 0\n this.calculatedSize = 0\n this.size = 0\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n }\n get reset () {\n deprecatedMethod('reset', 'clear')\n return this.clear\n }\n\n get length () {\n deprecatedProperty('length', 'size')\n return this.size\n }\n}\n\nmodule.exports = LRUCache\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\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 first = 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 (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\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 }\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\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 }\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 }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\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\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\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\n if (eqSet.size > 1) {\n return null\n }\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\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\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\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 }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\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 }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\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\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\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\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 }\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 }\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","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,null,"module.exports = (__parcel__import__(\"./\" + \"actions_python.dfab21e0.js\")).then(() => parcelRequire('doiKQ'));","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","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","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n","import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n","/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n","// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'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 {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n","const os = require(\"os\");\n\n// to detect on with os user had used path.resolve(...)\nconst is_posix_os = (os.platform() !== \"win32\");\nconst version = os.release();\n\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n\nmodule.exports = function (given_path) {\n return (is_posix_os)\n // for posix path, escape is simple\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\n // for windows, it depend of the build\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\n // on major version, no need to escape anymore\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\n ? given_path\n // on older version, replace space with symbol %20\n : given_path.replace(/(\\s+)/g, '%20');\n};",null,null,null,"\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname, join } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { addShellExtension, addShellHere } from \"extension-tools\"\nimport { notice } from \"../utils/io/io\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { giveUserAccess } from \"user-access\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"curl\")\n setupPacmanPack(\"zip\")\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"git\")\n setupPacmanPack(\"pkg-config\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n setupDnfPack(\"zip\")\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"git\")\n setupDnfPack(\"pkg-config\")\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n await setupAptPack(\"zip\")\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"git\")\n await setupAptPack(\"pkg-config\")\n }\n }\n\n if (!existsSync(join(setupDir, addShellExtension(\"bootstrap-vcpkg\")))) {\n execa.sync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execa.sync(addShellExtension(addShellHere(\"bootstrap-vcpkg\")), { cwd: setupDir, shell: true, stdio: \"inherit\" })\n\n giveUserAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { dirname } from \"path\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\"\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack(\"nala\", undefined, [], true)\n } else {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n } catch (err) {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n setupDnfPack(\"dnf-plugins-core\", undefined)\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack(\"bazel4\", undefined)\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\"\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack(\"bazel\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n await setupPipPack(\"setuptools\", \"\")\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, _setupDir: 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, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: 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 if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"ccache\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"cppcheck\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"make\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"make\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$7b9209944aaaa76d$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$7b9209944aaaa76d$var$core","code","ignoreErrors","$cf4e1c210ca26295$export$c5eeb9c87a610a0e","_version","_setupDir","_arch","includes","process","platform","$cf4e1c210ca26295$var$binDir","maybeBinDir","$parcel$interopDefault","$ee50b93f35d1d045$exports","sync","nothrow","$gCrli$dirname","$gCrli$execFileSync","stdio","$13876d63a1d769ba$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$0d499e77a65c6243$exports","pathExt","$gCrli$delimiter","e","$gCrli$resolve","$9653863791c871cf$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$9653863791c871cf$var$verifyENOENT","status","$9653863791c871cf$var$isWin","file","$3d4add3ad29c5f63$var$spawn","$6c97148d68b1e108$exports","spawned","$gCrli$spawn","$9653863791c871cf$exports","hookChildProcess","async","$b66d4b39a4b6d666$var$getStream","inputStream","maxBuffer","Infinity","stream1","$e221f82cbd79e937$exports","rejectPromise","error","getBufferedLength","$b66d4b39a4b6d666$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$b66d4b39a4b6d666$var$streamPipelinePromisified","on","$b66d4b39a4b6d666$var$MaxBufferError","$f5d4aa828adcef03$export$316200228f28b8ce","CI","ref","getuid","call","$f5d4aa828adcef03$export$58f152936f209932","program","execOptions","shell","$78a9a46c46452123$exports","commandSync","map","arg","join","$e58590dcd68a5bb4$export$8312d9eeba321950","SUDO_USER","$gCrli$join","$b6801b6bd01e6394$exports","$8c6d8d466be1e003$export$43324456a02f71b0","startupFlags","$8c6d8d466be1e003$var$powershell","maybePwsh","maybePowerShell","$8c6d8d466be1e003$export$4dfdd3964d242d20","$7df98a59b6cda272$export$f63d3080ce25e0fd","name","valGiven","shouldEscapeSpace","val","$4d5f494194aaccf5$exports","$ywN2f","$gF2Jd","exportVariable","$81ovw","$7df98a59b6cda272$var$addEnvSystem","setFailed","$7df98a59b6cda272$export$4c25481b843feb0b","PATH","addPath","$7df98a59b6cda272$var$addPathSystem","info","$7df98a59b6cda272$export$bd1dffd792f43c41","$gCrli$appendFileSync","$7df98a59b6cda272$export$1bbbc3a810c5799d","$7df98a59b6cda272$var$setupCppInProfile_called","source_cpprc_str","$gCrli$existsSync","$gCrli$readFileSync","source_cpprc_string","profile_path","bashrc_path","warning","$8dc48a0df4182e55$export$d73dc343f5abf26","version","repositories","update","apt","$8dc48a0df4182e55$var$getApt","DEBIAN_FRONTEND","$8dc48a0df4182e55$var$didUpdate","$8dc48a0df4182e55$var$updateRepos","$8dc48a0df4182e55$var$didInit","$8dc48a0df4182e55$export$11aa10c05ada0934","$8dc48a0df4182e55$var$initApt","Array","isArray","length","repo","binDir","$8dc48a0df4182e55$var$initGpg","keys","server","fileName","key","$8dc48a0df4182e55$export$7fb1a688af1305f0","url","$8dc48a0df4182e55$export$6fe6436bd9f53d02","$341dc468efaea0e8$export$cfa75578ee2d6e6c","aur","pacman","$341dc468efaea0e8$var$didUpdate","$341dc468efaea0e8$var$didInit","$9c8780e70e45392a$export$ce5d13d8a85cb784","$9c8780e70e45392a$var$hasBrew","$9673de8e5b109fdc$export$b804d731cdad7ef9","$9673de8e5b109fdc$var$binDir","powershell","SystemRoot","chocoPath","ALLUSERSPROFILE","maybeChoco","_ChocolateyInstall","ChocolateyInstall","$ae125dfe1d8c6517$export$9f6912bc890040b2","$ae125dfe1d8c6517$var$hasChoco","TMP","TEMP","Path","extendEnv","message","notice","$0064ffc7a9258f2e$export$d415ddb6702ec3a2","$0064ffc7a9258f2e$var$isArchCache","$d2761e35f27d9347$export$8ce8b4b22331a8c7","$d2761e35f27d9347$var$hasDnfCache","$a985b62b448f1220$export$49d4f9ba8e0dd34f","dnf","$2c51dff9e067076b$export$da8baf1d6c6802b6","$2c51dff9e067076b$var$isUbuntuCache","$521895b306840a5a$export$e88210974180936f","win_ext","unix_ext","$521895b306840a5a$export$eae120f0e5838f32","$8ddba0eda1584d62$export$5fc39629e14c8173","$408e5c7710e3a3ac$export$f9a3d10eb7c735af","$050bf27eb9b74231$var$findAllVersions","toolName","arch","versions","$050bf27eb9b74231$var$os","toolPath","$050bf27eb9b74231$var$path","$050bf27eb9b74231$var$_getCacheDirectory","$050bf27eb9b74231$var$fs","existsSync","children","readdirSync","child","$050bf27eb9b74231$var$isExplicitVersion","fullPath","push","$050bf27eb9b74231$var$_createExtractFolder","dest","$050bf27eb9b74231$var$_getTempDirectory","$050bf27eb9b74231$var$v4_1","default","$050bf27eb9b74231$var$io","mkdirP","$050bf27eb9b74231$var$_createToolPath","tool","folderPath","$050bf27eb9b74231$var$semver","clean","$050bf27eb9b74231$var$core","debug","markerPath","rmRF","$050bf27eb9b74231$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$050bf27eb9b74231$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$gCrli$ok","tempDirectory","$050bf27eb9b74231$var$_getGlobal","defaultValue","value","$parcel$global","$4806f3517e2790ac$export$eecfe186811d4a20","$4806f3517e2790ac$var$sevenZip","$4806f3517e2790ac$var$getSevenZip","$4806f3517e2790ac$export$7949938b2681a4f0","$4806f3517e2790ac$export$6411c5cbab21135b","$4806f3517e2790ac$export$2ab07ac150064014","flags","$2fNe7","$47eb08dd23d40b94$export$334f77c9844c21f6","getPackageInfo","setupDir","_RUNNER_TEMP","_RUNNER_TOOL_CACHE","RUNNER_TEMP","$gCrli$tmpdir","RUNNER_TOOL_CACHE","binRelativeDir","binFileName","extractedFolderName","extractFunction","dir","$050bf27eb9b74231$exports","find","installDir","binFile","$47eb08dd23d40b94$var$didInit","downloaded","downloadTool","cacheDir","$af41b2eb086f75df$var$getTaskPackageInfo","taskPlatform","$af41b2eb086f75df$var$getTaskPlatform","taskArch","$af41b2eb086f75df$var$getTaskArch","isZip","extension","$846d2db31756a5f1$var$getCmakePackageInfo","semVersion","$3wKw1","isOld","$kNWZ7","osArchStr","folderName","extractTar","$846d2db31756a5f1$export$c28663a621f418ce","$58fb2ba5d4eaabfd$export$2b0b68e9df3d4a02","$58fb2ba5d4eaabfd$export$33cd96f062979ce0","setupActionsPython","parcelRequire","ref1","pythonBinPath","pythonSetupDir","$58fb2ba5d4eaabfd$var$activateWinPython","installInfo","$3e28919a4f09deea$export$bef94a5618bf18bf","$gCrli$get","res","statusCode","$790ff57fcb06130d$export$deb1064c8260c54c","semversion","from","filter","v","test","startsWith","reverse","$3677b80f3674c7fd$export$c506eb22e615ba4a","osVersion","$3677b80f3674c7fd$var$useDefault","$3677b80f3674c7fd$var$DefaultUbuntuVersion","osVersionMaj","parseInt","$3677b80f3674c7fd$var$DefaultVersions","$bb1819ad9d8078c5$export$4020cb77ffa3ffac","$bb1819ad9d8078c5$var$python","givenFile","targetVersion","versionRegex","$790ff57fcb06130d$export$d7ab5e2d33b06cd5","givenVersion","execout","$eGKv1","getExecOutput","stdout","stderr","trim","match","console","$790ff57fcb06130d$export$5b54ecc7386538f","$odmNz","$bb1819ad9d8078c5$var$tried","$bb1819ad9d8078c5$var$binDir","$94f77cc296162005$export$b885bd977caaafb9","$94f77cc296162005$var$activateGraphviz","$09f0776ac5e57c1d$var$getDoxygenPackageInfo","$1bef5d52b7eec4ce$export$28f5fd35e3005b7a","xcrun","sdkroot","$3a6223ec43316a0a$var$getGccPackageInfo","mingwInfo","$3a6223ec43316a0a$var$GccToMingwInfo","mingwArch","exceptionModel","releaseName","fileSuffix","$3a6223ec43316a0a$export$405fab3de79b77b","installationInfo","_ChocolateyInstall1","$3a6223ec43316a0a$var$setupChocoMingw","promises","majorVersion","$ehbTi","matcherPath","$gCrli$path1","$3a6223ec43316a0a$var$__dirname1","$3a6223ec43316a0a$var$addGccLoggingMatcher","all","$3a6223ec43316a0a$var$activateGcc","$b027b2b1c81cdfa5$var$getGitHubUrl","prefix","suffix","$b027b2b1c81cdfa5$var$getReleaseUrl","$b027b2b1c81cdfa5$export$94df0e59ebebf4a7","$b027b2b1c81cdfa5$var$DARWIN_MISSING","has","$b027b2b1c81cdfa5$var$getDarwinUrl","versionGiven","rc","$b027b2b1c81cdfa5$var$UBUNTU_RC","get","ubuntu","givenUbuntuVersion","replace","$b027b2b1c81cdfa5$export$aa5307f1aca77413","$b027b2b1c81cdfa5$var$UBUNTU_SUFFIX_MAP","$b027b2b1c81cdfa5$export$ae24f9682a44836b","$b027b2b1c81cdfa5$var$WIN32_MISSING","olderThan9_1","fallback","$b027b2b1c81cdfa5$var$getWin32Url","$b027b2b1c81cdfa5$var$getLLVMPackageInfo","specificVersion","getUrl","setOutput","$b027b2b1c81cdfa5$export$3016de7ae9d14988","$b027b2b1c81cdfa5$var$_setupLLVM","_installDir","directory","$kULaE","coercedVersion","lib","_LD_LIBRARY_PATH","ld","LD_LIBRARY_PATH","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$b027b2b1c81cdfa5$var$addLLVMLoggingMatcher","$b027b2b1c81cdfa5$export$6238b5ebfd6640e7","$b027b2b1c81cdfa5$var$didInit","$b027b2b1c81cdfa5$export$814ccfc953503728","$b027b2b1c81cdfa5$var$__dirname1","$c112f7dc4a6d1792$var$issueCommand","properties","cmd","$c112f7dc4a6d1792$var$Command","write","$c112f7dc4a6d1792$var$os","EOL","$0da1435a5673ff4a$var$error","$c112f7dc4a6d1792$exports","issue","$0da1435a5673ff4a$var$startGroup","$0da1435a5673ff4a$var$endGroup","$03fa2bac94687fac$var$vsversion_to_versionnumber","vsversion","values","$03fa2bac94687fac$var$VsYearVersion","$03fa2bac94687fac$var$vsversion_to_year","year","ver","entries","$03fa2bac94687fac$var$findVcvarsall","vsversion_number","version_pattern","upper_bound","split","path1","pattern","$gCrli$execSync","installationPath","$0da1435a5673ff4a$exports","$03fa2bac94687fac$var$findWithVswhere","years","$03fa2bac94687fac$var$YEARS","prog_files","$03fa2bac94687fac$var$PROGRAM_FILES","ed","$03fa2bac94687fac$var$EDITIONS","$03fa2bac94687fac$var$PROGRAM_FILES_X86","$03fa2bac94687fac$var$isPathVariable","indexOf","toUpperCase","$3bc36fe80bba3989$export$5dcf571c91fc8369","VCTargetsPath","toolset","sdk","uwp","spectre","$03fa2bac94687fac$export$443b8bb890f5027e","$3bc36fe80bba3989$var$getArch","$7039d147efcacce1$export$a91ef0362c1a7298","$03fa2bac94687fac$export$3c7cae5a162b1458","installed","vcvarsall_path","$03fa2bac94687fac$export$a6a3bfb882356813","$7039d147efcacce1$var$__dirname1","$7039d147efcacce1$var$addMSVCLoggingMatcher","$2c8be0433aa63082$var$getNinjaPackageInfo","ninjaPlatform","$2c8be0433aa63082$var$getNinjaPlatform","$2c8be0433aa63082$export$e6190f4bfe2ef71","$aeaaa5f722f62c97$var$toArr","any","$aeaaa5f722f62c97$var$toVal","out","opts","x","old","nxt","string","String","boolean","_","concat","$3b7100cc0a379b6a$var$getDownloadKcovPackageInfo","$3b7100cc0a379b6a$var$getBuildKcovPackageInfo","$3b7100cc0a379b6a$var$buildKcov","cmake","$3b7100cc0a379b6a$var$getCmake","buildDir","$71ec725eca131b9e$export$f22da7240b7add18","ACTIONS_ALLOW_UNSECURE_COMMANDS","$71ec725eca131b9e$export$7300a92932ee17a3","_architecture","help","architecture","_SETUP_CPP_DIR","setupCppDir","SETUP_CPP_DIR","successMessages","errorMessages","timeFormatter","$05e9e6b3660f8f7d$exports","create","autoloadLocales","time1","time2","addLocale","$a3d9ceb2b0adad84$exports","$xu1bL","$02af6f06b93afca7$exports","versionSplitted","$c02e4f88a510f864$exports","getUbuntuVersion","tools","otherTools","slice","i_other","otherTool","tool1","$71ec725eca131b9e$var$tools","Date","now","startGroup","setupFunction","$71ec725eca131b9e$var$setups","$71ec725eca131b9e$var$getSuccessMessage","endGroup","format","maybeCompiler","compiler","$71ec725eca131b9e$export$588248dee5258836","forEach","success","k","arr","j","idx","len","alibi","alias","strict","unknown","defaults","splice","charCodeAt","substring","repeat","shift","$71ec725eca131b9e$var$inputs","fromEntries","inp","$71ec725eca131b9e$var$maybeGetInput","h","compilerAndMaybeVersion","maybeVersion","getInput","toLowerCase","msg","$c212977669ffc7b9$var$getInput","required","trimWhitespace","$c212977669ffc7b9$var$error","$CzUPq","issueCommand","$7u2Mm","toCommandProperties","$c212977669ffc7b9$var$startGroup","$c212977669ffc7b9$var$endGroup","$c212977669ffc7b9$var$os","$c212977669ffc7b9$var$__importStar","$gCrli$os","$c212977669ffc7b9$var$path","$gCrli$path","$c212977669ffc7b9$var$ExitCode","ExitCode1","module","exports","ExitCode","convertedVal","toCommandValue","delimiter","$a92Us","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","setCommandEcho","enabled","exitCode","Failure","isDebug","group","fn","result","saveState","getState","getIDToken","aud","$aKUUy","OidcClient","defineProperty","enumerable","$f0qw2","summary","markdownSummary","$gzMJ3","toPosixPath","toWin32Path","toPlatformPath","$073f68cfe983618f$var$issueCommand","$073f68cfe983618f$var$Command","$073f68cfe983618f$var$os","$073f68cfe983618f$var$__importStar","constructor","this","toString","cmdStr","first","hasOwnProperty","s","$073f68cfe983618f$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$762d007442c364ca$var$fs","$762d007442c364ca$var$__importStar","$gCrli$fs","$762d007442c364ca$var$os","filePath","appendFileSync","encoding","$7d4a589cbda69547$var$OidcClient","static","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","$9kh6d","HttpClient","$bynPH","BearerCredentialHandler","getRequestToken","token","runtimeUrl","id_token_url","httpclient","createHttpClient","getJson","catch","id_token","_a","audience","getIDTokenUrl","encodeURIComponent","getCall","$6ca33ede3d67c352$var$http","$6ca33ede3d67c352$var$__importStar","$gCrli$http","$6ca33ede3d67c352$var$https","$gCrli$https","$6ca33ede3d67c352$var$pm","$6ca33ede3d67c352$var$tunnel","$6ca33ede3d67c352$var$HttpCodes","HttpCodes1","$6ca33ede3d67c352$var$Headers","Headers1","$6ca33ede3d67c352$var$MediaTypes","HttpCodes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","URL","href","$6ca33ede3d67c352$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$6ca33ede3d67c352$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$6ca33ede3d67c352$var$RetryableHttpVerbs","$6ca33ede3d67c352$var$HttpClientError","super","setPrototypeOf","prototype","HttpClientError","$6ca33ede3d67c352$var$HttpClientResponse","readBody","$6ca33ede3d67c352$var$__awaiter","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","protocol","userAgent","handlers","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","additionalHeaders","request","del","post","data","patch","put","head","sendStream","verb","stream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","postJson","obj","ContentType","putJson","patchJson","headers","parsedUrl","_prepareRequest","maxTries","response","numTries","requestRaw","Unauthorized","authenticationHandler","handler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","onResult","handleResult","callbackCalled","byteLength","req","httpModule","socket","sock","setTimeout","end","pipe","getAgent","_getAgent","method","usingSsl","defaultPort","host","port","pathname","search","_mergeHeaders","agent","prepareRequest","$6ca33ede3d67c352$var$lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","min","contents","NotFound","deserializeDates","parse","isNaN","valueOf","reduce","$d15ca64227d39f30$var$checkBypass","reqUrl","noProxy","reqPort","upperReqHosts","upperNoProxyItem","some","proxyVar","checkBypass","$3044be9be8a68e81$var$TunnelingAgent","options1","self","proxyOptions","$gCrli$Agent","defaultMaxSockets","requests","sockets","localAddress","$3044be9be8a68e81$var$toOptions","pending","onSocket","removeSocket","$3044be9be8a68e81$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$3044be9be8a68e81$var$mergeOptions","servername","secureSocket","$gCrli$connect","target","arguments","overrides","keyLen","$3044be9be8a68e81$export$25cbd437c61a3835","$3044be9be8a68e81$export$c06e3df7111bae43","$3044be9be8a68e81$export$5d50e36ef656139f","$3044be9be8a68e81$export$212d6605025321cc","$3044be9be8a68e81$export$1c9f709888824e05","$3044be9be8a68e81$var$debug","$gCrli$request","$gCrli$request1","$gCrli$inherits","$gCrli$EventEmitter","addRequest","onFree","emit","onCloseOrRemove","removeListener","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","socket1","pos","BasicCredentialHandler","PersonalAccessTokenCredentialHandler","access","$aecb6c990ae3e90d$var$access","appendFile","$aecb6c990ae3e90d$var$appendFile","writeFile","$aecb6c990ae3e90d$var$writeFile","$gCrli$promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","$aecb6c990ae3e90d$var$_summary","_buffer","_filePath","pathFromEnv","$gCrli$constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","overwrite","writeFunc","emptyBuffer","clear","isEmptyBuffer","addRaw","text","addEOL","$gCrli$EOL","addCodeBlock","lang","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","$031d40df77afb21f$var$path","$031d40df77afb21f$var$__importStar","pth","sep","$03bd9c2eb1055186$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","substr","$03bd9c2eb1055186$var$checkPathExt","$03bd9c2eb1055186$var$isexe","$gCrli$stat","$gCrli$statSync","$fddc3ef8185065f0$var$isexe","$fddc3ef8185065f0$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","g","ug","$fddc3ef8185065f0$var$checkMode","$f76427e29b649494$export$a3bc9b8ed74fc","log","$f76427e29b649494$export$fe7c49d056ea1d88","$f76427e29b649494$export$491112666e282270","$f76427e29b649494$export$b31f6ae88848cf15","$f76427e29b649494$export$a80b3bd66acc52ff","GERRIT_PROJECT","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITRISE_IO","BUDDY_WORKSPACE_ID","BUILDKITE","CIRRUS_CI","GITLAB_CI","APPVEYOR","CIRCLECI","SEMAPHORE","DRONE","DSARI","GITHUB_ACTION","TDDIUM","SCREWDRIVER","STRIDER","TASKCLUSTER_ROOT_URL","JENKINS_URL","GO_PIPELINE_NAME","HUDSON_URL","WERCKER","NETLIFY","NOW_GITHUB_DEPLOYMENT","GITLAB_DEPLOYMENT","BITBUCKET_DEPLOYMENT","BITBUCKET_BUILD_NUMBER","NOW_BUILDER","VERCEL_GITHUB_DEPLOYMENT","VERCEL_GITLAB_DEPLOYMENT","VERCEL_BITBUCKET_DEPLOYMENT","VERCEL_URL","MAGNUM","NEVERCODE","RENDER","SAIL_CI","SHIPPABLE","TEAMCITY_VERSION","CI_NAME","NODE","TRAVIS","CODEBUILD_SRC_DIR","BUILDER_OUTPUT","$1a432ae5df7c9fc5$var$rmRF","$1a432ae5df7c9fc5$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$1a432ae5df7c9fc5$var$exec","unlink","err1","isDir","$1a432ae5df7c9fc5$var$execFile","$1a432ae5df7c9fc5$var$mkdirP","fsPath","mkdir","recursive","$1a432ae5df7c9fc5$var$findInPath","extensions","$1a432ae5df7c9fc5$var$path","isRooted","tryGetExecutablePath","directories","matches","$1a432ae5df7c9fc5$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","files","readdir","srcFile","destFile","lstat","$1a432ae5df7c9fc5$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$1a432ae5df7c9fc5$var$childProcess","$1a432ae5df7c9fc5$var$__importStar","$gCrli$child_process","$gCrli$promisify","exec","execFile","cp","source","copySourceDirectory","$1a432ae5df7c9fc5$var$readCopyOptions","destStat","newDest","basename","relative","mv","destExists","dirname","rename","which","$1a432ae5df7c9fc5$var$which","check","findInPath","$002c9b206c81b529$var$isUnixExecutable","stats","$002c9b206c81b529$var$fs","$002c9b206c81b529$var$__importStar","$002c9b206c81b529$var$path","$002c9b206c81b529$var$_a","rmdir","useStat","$002c9b206c81b529$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a1","$839618916b261156$var$semver","$839618916b261156$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","$gCrli$platform","candidate","chk","platform_version","_getOsVersion","plat","lsbContents","_readLinuxVersionFile","lines","parts","lsbReleaseFile","osReleaseFile","$e9hBm","re","tokens","t","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$36nrx","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$a4cf8f46fd58533a$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$24241defe03a56e8$var$debug","$4Y6QE","$a933169cf37428ec$var$SemVer","$kQXIc","loose","includePrerelease","$a933169cf37428ec$require$MAX_LENGTH","m","$a933169cf37428ec$require$re","$a933169cf37428ec$require$t","LOOSE","FULL","raw","$a933169cf37428ec$require$MAX_SAFE_INTEGER","id","num","build","other","compareMain","comparePre","$a933169cf37428ec$require$compareIdentifiers","release","identifier","$f2e6fb8416d028ea$var$opts","o","$3e9da70389122fde$var$numeric","$3e9da70389122fde$var$compareIdentifiers","anum","bnum","$ewE0y","$6da50047f029b6ec$require$MAX_LENGTH","$6da50047f029b6ec$require$re","$6da50047f029b6ec$require$t","$9pDo3","version1","version2","$13Au1","v1","v2","hasPre","defaultResult","versionA","versionB","$34MvR","list","op","$lMg40","$fMkbf","$kdktp","$KbgdS","rtl","next","$2918713db77b48d4$require$re","$2918713db77b48d4$require$t","COERCERTL","lastIndex","$6fd10eb44bc1053f$var$ANY","Symbol","$6fd10eb44bc1053f$var$Comparator","ANY","comp","semver","operator","$6fd10eb44bc1053f$require$re","$6fd10eb44bc1053f$require$t","COMPARATORLOOSE","COMPARATOR","$hYtJM","$kEeqW","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$f082bd4895a2884d$var$Range","range","$9Bceq","set","r","parseRange","$f082bd4895a2884d$var$isNullSet","$f082bd4895a2884d$var$isAny","comps","memoKey","cached","$f082bd4895a2884d$var$cache","$f082bd4895a2884d$require$re","$f082bd4895a2884d$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$f082bd4895a2884d$var$hyphenReplace","COMPARATORTRIM","$f082bd4895a2884d$require$comparatorTrimReplace","rangeList","TILDETRIM","$f082bd4895a2884d$require$tildeTrimReplace","CARETTRIM","$f082bd4895a2884d$require$caretTrimReplace","$f082bd4895a2884d$var$parseComparator","$f082bd4895a2884d$var$replaceGTE0","rangeMap","Map","comparators","comp1","size","delete","thisComparators","$f082bd4895a2884d$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$f082bd4895a2884d$var$testSet","remainingComparators","testComparator","pop","otherComparator","$f082bd4895a2884d$var$replaceCarets","$f082bd4895a2884d$var$replaceTildes","$f082bd4895a2884d$var$replaceXRanges","$f082bd4895a2884d$var$replaceStars","$f082bd4895a2884d$var$isX","$f082bd4895a2884d$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$f082bd4895a2884d$var$replaceCaret","z","CARETLOOSE","CARET","$f082bd4895a2884d$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","allowed","$820f241dd15ba23c$var$perf","performance","$820f241dd15ba23c$var$AC","AbortController","signal","AbortSignal","abort","aborted","$820f241dd15ba23c$var$warned","Set","$820f241dd15ba23c$var$deprecatedOption","opt","instead","$820f241dd15ba23c$var$shouldWarn","$820f241dd15ba23c$var$warn","$820f241dd15ba23c$var$LRUCache","$820f241dd15ba23c$var$deprecatedMethod","getOwnPropertyDescriptor","$820f241dd15ba23c$var$emitWarning","emitWarning","what","add","$820f241dd15ba23c$var$isPosInt","n","floor","isFinite","$820f241dd15ba23c$var$getUintArray","$820f241dd15ba23c$var$ZeroArray","Uint32Array","Uint16Array","Uint8Array","fill","$820f241dd15ba23c$var$Stack","UintArray","heap","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","disposeAfter","noDisposeOnSet","noUpdateTTL","maxSize","sizeCalculation","fetchMethod","maxAge","stale","keyMap","keyList","valList","prev","tail","free","initialFill","disposed","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","ttls","starts","setItemTTL","isStale","unref","updateItemAge","cachedNow","getNow","calculatedSize","sizes","removeItemSize","requireSize","addItemSize","evict","indexes","isValidIndex","rindexes","rentries","rkeys","rvalues","iterator","getOptions","thisp","rforEach","prune","purgeStale","deleted","dump","entry","unshift","load","reason","newIndex","oldVal","isBackgroundFetch","__abortController","moveToTail","peek","backgroundFetch","ac","fetchOpts","then","__staleWhileFetching","fetching","connect","reset","field","$820f241dd15ba23c$var$deprecatedProperty","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","$44984a2886386c55$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$fThUd","high","low","$5T7ZF","r1","r2","ranges","simplified","$28e7bcc4b2b66496$var$ANY","$28e7bcc4b2b66496$var$simpleSubset","sub","dom","eqSet","gtltComp","higher","lower","hasDomLT","hasDomGT","$28e7bcc4b2b66496$var$higherGT","$28e7bcc4b2b66496$var$lowerLT","needDomLTPre","needDomGTPre","c1","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$7tyCH","buf","offset","rnds","random","rng","ii","$cyw4a","$gCrli$randomBytes","$924188b3e0448444$var$byteToHex","$924188b3e0448444$var$i","i1","$ab190eb82299eef6$var$exec","commandLine","commandArgs","$ab190eb82299eef6$var$tr","argStringToArray","ToolRunner","$ab190eb82299eef6$var$__importStar","stdoutDecoder","$gCrli$StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","_b","$b6b01ca0ac6a61d6$var$os","$b6b01ca0ac6a61d6$var$__importStar","$b6b01ca0ac6a61d6$var$events","$gCrli$events","$b6b01ca0ac6a61d6$var$child","$b6b01ca0ac6a61d6$var$path","$b6b01ca0ac6a61d6$var$io","$b6b01ca0ac6a61d6$var$ioUtil","$b6b01ca0ac6a61d6$var$IS_WINDOWS","EventEmitter","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","endsWith","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$b6b01ca0ac6a61d6$var$__awaiter","optionsNonNull","state","$b6b01ca0ac6a61d6$var$ExecState","spawn","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argString","append","escaped","inQuotes","charAt","done","timeout","_setResult","$gCrli$setTimeout","HandleTimeout","clearTimeout","import","$c2590d837d224815$var$addLocale","localeData","$c2590d837d224815$var$locales","$c2590d837d224815$var$pluralize","unit","config","unitTypeData","locale","lookupOrder","unitTypeLookupOrder","unitType","$c2590d837d224815$var$getLocaleDataForUnitType","pluralize","$c2590d837d224815$var$timeUnits","$c2590d837d224815$var$defaultConfig","span","firstDate","secondDate","autoload","$7IZzv","localeId","require","$c2590d837d224815$var$requireLocale","$c2590d837d224815$var$ensureLocaleLoadedOrThrow","difference","results","divider","$c2590d837d224815$var$getDifference","$c2590d837d224815$var$format","variants","checkLocale","locales","hasLocale","$f7e860cde5315f5f$var$__dirname1","requireLocale","moduleDefinition","callable","numerous","node","$ee50b93f35d1d045$var$isWindows","OSTYPE","$ee50b93f35d1d045$var$COLON","TESTING_WINDOWS","$7b9209944aaaa76d$exports","$ee50b93f35d1d045$var$getNotFoundError","$ee50b93f35d1d045$var$getPathInfo","colon","pathEnv","pathExtExe","$ee50b93f35d1d045$var$which","found","step","ppRaw","pathPart","pCmd","subStep","ext","cur","ex","$0d499e77a65c6243$var$pathKey","environment","$7dd3fa4e75bca08d$export$ae50443ffc990749","$7dd3fa4e75bca08d$export$6ea29ee575e3f5ff","$13876d63a1d769ba$exports","$7dd3fa4e75bca08d$var$metaCharsRegExp","doubleEscapeMetaChars","$0d00fbf54931595d$exports","$29c07e94897d7a59$exports","argument","binary","$36323010904bb25a$exports","buffer","fd","$gCrli$openSync","$gCrli$readSync","$gCrli$closeSync","$6c97148d68b1e108$var$isWin","$6c97148d68b1e108$var$isExecutableRegExp","$6c97148d68b1e108$var$isCmdShimRegExp","commandFile","shebang","$6c97148d68b1e108$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","$gCrli$normalize","shellCommand","comspec","$6c97148d68b1e108$var$parseNonShell","originalEmit","arg1","apply","$3d4add3ad29c5f63$exports","$gCrli$spawnSync","verifyENOENTSync","_parse","_enoent","$6c65bf76ed80beb1$exports","CR","$3c40ebeb795180e6$var$npmRunPath","previous","execPath","cwdPath","execPathDir","$3c40ebeb795180e6$exports","$083c094d5f322ea4$var$mimicFn","prop","Reflect","ownKeys","$083c094d5f322ea4$exports","$4744e4dfe63f8573$var$calledFunctions","WeakMap","$4744e4dfe63f8573$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime1","arguments_","throw","$4744e4dfe63f8573$exports","$5ef0bba32a11c1bd$exports","signalsByNumber","signalsByName","$67476999bf5eecc7$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","$ce3780d380f6d6d2$var$SIGRTMAX","realtimeSignals","$ce3780d380f6d6d2$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","constants","supported","signalByNameMemo","$5ef0bba32a11c1bd$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$5ef0bba32a11c1bd$var$signalsByNumber","$22ce991938258c2c$exports","escapedCommand","timedOut","isCanceled","killed","signalDescription","$22ce991938258c2c$require$signalsByName","errorCode","$22ce991938258c2c$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$25226dd4913ac96b$var$aliases","$25226dd4913ac96b$var$normalizeStdio","$25226dd4913ac96b$var$hasAlias","$25226dd4913ac96b$exports","$7324ecdc22917825$var$process","$7324ecdc22917825$var$processOk","process1","reallyExit","kill","pid","$7324ecdc22917825$var$emitter","$7324ecdc22917825$var$assert","$gCrli$assert","$7324ecdc22917825$var$signals","$7324ecdc22917825$var$isWin","$7324ecdc22917825$var$EE","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","$7324ecdc22917825$exports","equal","$7324ecdc22917825$var$loaded","$7324ecdc22917825$var$load","ev","alwaysLast","$7324ecdc22917825$var$unload","sig","$7324ecdc22917825$var$sigListeners","$7324ecdc22917825$var$originalProcessEmit","$7324ecdc22917825$var$originalProcessReallyExit","unload","$7324ecdc22917825$var$emit","event","$7324ecdc22917825$var$processEmit","$7324ecdc22917825$var$processReallyExit","$2a9d5cede3e23a86$var$isSigterm","$gCrli$constants1","SIGTERM","$2a9d5cede3e23a86$exports","killResult","forceKillAfterTimeout","$2a9d5cede3e23a86$var$shouldForceKill","$2a9d5cede3e23a86$var$getForceKillAfterTimeout","$2a9d5cede3e23a86$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$2a9d5cede3e23a86$var$timeoutKill","safeSpawnedPromise","finally","race","cleanup","detached","timedPromise","removeExitHandler","spawnedKill","spawnedCancel","setupTimeout","validateTimeout","setExitHandler","$444c55d8cc7400c1$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$444c55d8cc7400c1$exports","$gCrli$constants2","$gCrli$PassThrough","array","isBuffer","objectMode","$e221f82cbd79e937$require$PassThroughStream","setEncoding","chunks","$b66d4b39a4b6d666$require$promisify","$gCrli$pipeline","$b66d4b39a4b6d666$exports","stream2","stream3","MaxBufferError","$247e371530aaf2c8$exports","sources","remove","bind","isEmpty","it","$247e371530aaf2c8$require$PassThrough","$06125db202b43402$var$getBufferedData","streamPromise","$06125db202b43402$var$getStreamPromise","$06125db202b43402$exports","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","getSpawnedResult","makeAllStream","validateInputSync","$cd1d4b7bf0a885f7$var$nativePromisePrototype","$cd1d4b7bf0a885f7$var$descriptors","property","$cd1d4b7bf0a885f7$exports","promise","descriptor","mergePromise","getSpawnedPromise","$7f1ae7744e01347b$var$normalizeArgs","$7f1ae7744e01347b$var$NO_ESCAPE_REGEXP","$7f1ae7744e01347b$var$DOUBLE_QUOTES_REGEXP","$7f1ae7744e01347b$var$SPACES_REGEXP","$7f1ae7744e01347b$exports","$7f1ae7744e01347b$var$escapeArg","previousToken","joinCommand","parseCommand","getEscapedCommand","$78a9a46c46452123$var$handleArguments","stripFinalNewline","preferLocal","localDir","windowsHide","envOption","$78a9a46c46452123$var$getEnv","$gCrli$basename","$78a9a46c46452123$var$handleOutput","$78a9a46c46452123$var$execa","$78a9a46c46452123$require$joinCommand","$78a9a46c46452123$require$getEscapedCommand","$78a9a46c46452123$require$validateTimeout","error1","dummySpawned","$gCrli$ChildProcess","errorPromise","$78a9a46c46452123$require$mergePromise","$78a9a46c46452123$require$getSpawnedPromise","$78a9a46c46452123$require$setupTimeout","$78a9a46c46452123$require$setExitHandler","$78a9a46c46452123$require$spawnedKill","cancel","$78a9a46c46452123$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$78a9a46c46452123$require$getSpawnedResult","returnedError","$78a9a46c46452123$require$handleInput","$78a9a46c46452123$require$makeAllStream","$78a9a46c46452123$require$validateInputSync","$78a9a46c46452123$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$b6801b6bd01e6394$var$homeDirectory","$gCrli$homedir","pathWithTilde","$4d5f494194aaccf5$var$is_posix_os","$4d5f494194aaccf5$var$version","$gCrli$release","$4d5f494194aaccf5$var$windows_version_regex","given_path","major_release","os_build","$4d5f494194aaccf5$var$should_not_escape","$050bf27eb9b74231$var$__importStar","$050bf27eb9b74231$var$mm","$050bf27eb9b74231$var$httpm","$050bf27eb9b74231$var$stream","$gCrli$stream","$050bf27eb9b74231$var$util","$gCrli$util","$050bf27eb9b74231$var$__importDefault","$0720ed162241c7ef$var$core","$0720ed162241c7ef$var$__importStar","$0720ed162241c7ef$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$050bf27eb9b74231$var$HTTPError","httpStatusCode","HTTPError","$050bf27eb9b74231$var$IS_WINDOWS","$050bf27eb9b74231$var$IS_MAC","auth","retryHelper","$050bf27eb9b74231$var$__awaiter","http","authorization","statusMessage","pipeline","promisify","readStream","responseMessageFactory","succeeded","createWriteStream","$050bf27eb9b74231$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","$050bf27eb9b74231$var$__dirname1","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","extractZip","escapedFile","escapedDest","pwshPath","$050bf27eb9b74231$var$extractZipWin","unzipPath","$050bf27eb9b74231$var$extractZipNix","statSync","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","getManifestFromRepo","owner","branch","releases","treeUrl","manifestUrl","tree","versionsRaw","findFromManifest","manifest","isExplicitVersion","evaluateVersions","llvm","clangtidy","clangformat","ninja","gcovr","conan","meson","kcov","task","doxygen","gcc","nala","specific","$c112f7dc4a6d1792$var$__importStar","$7104a8b219ab06be$exports","$c112f7dc4a6d1792$var$escapeData","$419fd15dcc891459$var$fs","$419fd15dcc891459$var$__importStar","$419fd15dcc891459$var$os","$419fd15dcc891459$exports","$0da1435a5673ff4a$var$os","$0da1435a5673ff4a$var$__importStar","$0da1435a5673ff4a$var$path","$0da1435a5673ff4a$var$ExitCode","$gCrli$env","$03fa2bac94687fac$var$VSWHERE_PATH","$gCrli$platform1","arch_aliases","win32","win64","x86_64","vcvars","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","long","one","months","weeks","days","hours","minutes","narrow","short","abs","exe","$gCrli$execFile","reDistributor","reDescription","reRelease","distributorFound","desc","rel","ss","$afd14d39247c0f30$var$binDir","$ce54bf56b9f5521e$var$hasVCPKG","python","vcpkg","bazel","opencppcoverage","$4072dd4cc3873d73$var$activateOpencppcoverage","choco","brew","ccache","$09f0776ac5e57c1d$var$activateWinDoxygen","graphviz","cppcheck","$758d288127dc92bf$var$activateWinCppcheck","msvc","vcvarsall","versionSplit","installMethod","version_number","make","sevenzip","argv"],"version":3,"file":"setup_cpp.mjs.map","sourceRoot":"../"} \ No newline at end of file +{"mappings":"4IAWA,SAASA,EAAOC,EAAMC,EAASC,GAM7B,GALuB,mBAAZD,IACTC,EAAKD,EACLA,EAAU,KAGPC,EAAI,CACP,GAAuB,mBAAZC,QACT,MAAM,IAAIC,UAAU,yBAGtB,OAAO,IAAID,SAAQ,CAAUE,EAASC,KACpCP,EAAMC,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,E,OAMhBC,GAAKT,EAAMC,GAAW,IAAI,CAAUM,EAAIC,KAElCD,IACc,WAAZA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,E,IClCJ,SAASI,EAAUC,EAAkBC,EAAmBC,GAC7D,IAAK,CAAC,SAAU,SAASC,SAASC,QAAQC,UACxC,OAEF,GAAsB,iBAAXC,GACT,MAAO,C,OAAEA,IAGX,MAAMC,EAAcC,E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,YACA,OACA,OACA,OACA,YAOI2B,GAAwB,CAAC,WAAY,kBAAmB3B,IAgM9D9B,GAAKniB,QAAQmpE,MACVrrB,MAAMlI,IACL51C,QAAQooB,SAAWwtB,CAAG,IAEvBppB,OAAOnrB,KACN,EAAA6E,GAAA1C,OAAM,qBACN,EAAA0C,GAAA1C,OAAMnC,GACNrB,QAAQooB,SAAW,CAAC,W","sources":["node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/index.js","src/brew/brew.ts","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/resolveCommand.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/enoent.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","packages/root-tools/src/index.ts","packages/untildify-user/src/index.ts","packages/exec-powershell/src/index.ts","src/utils/env/addEnv.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupPacmanPack.ts","src/utils/setup/setupBrewPack.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","src/utils/env/isArch.ts","src/utils/env/hasDnf.ts","src/utils/setup/setupDnfPack.ts","src/utils/env/isUbuntu.ts","packages/extension-tools/src/index.ts","src/sevenzip/sevenzip.ts","packages/user-access/src/index.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/setup/extract.ts","src/utils/setup/setupBin.ts","src/task/task.ts","src/cmake/cmake.ts","src/python/python.ts","node_modules/.pnpm/destr@1.1.1/node_modules/destr/dist/index.mjs","node_modules/.pnpm/ufo@0.8.5/node_modules/ufo/dist/index.mjs","node_modules/.pnpm/ohmyfetch@0.4.18/node_modules/ohmyfetch/dist/chunks/fetch.mjs","src/utils/setup/version.ts","src/default_versions.ts","src/utils/setup/setupPipPack.ts","src/graphviz/graphviz.ts","src/doxygen/doxygen.ts","src/macos-sdk/macos-sdk.ts","src/gcc/gcc.ts","src/llvm/llvm.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/lib.js","src/vcvarsall/vcvarsall.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/kcov/kcov.ts","src/main.ts","src/utils/env/ubuntu_version.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/oidc-utils.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/index.ts","node_modules/.pnpm/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/proxy.ts","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/@actions+http-client@2.0.1/node_modules/@actions/http-client/src/auth.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/summary.ts","node_modules/.pnpm/@actions+core@1.9.0/node_modules/@actions/core/src/path-utils.ts","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","src/utils/io/io.ts","node_modules/.pnpm/github.com+aminya+ci-detect@37fe40075bebec96794ba0a7c4a6d5c70cbea00d/node_modules/@npmcli/ci-detect/lib/index.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/signals.js","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.2/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.7/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@7.8.1/node_modules/lru-cache/index.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.7/node_modules/semver/ranges/subset.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+exec@1.1.1/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+exec@1.1.1/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@parcel+runtime-js@2.6.2_@parcel+core@2.6.2/node_modules/@parcel/runtime-js/lib/runtime-8fa2e9236252370d.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/lib/time-delta.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/index.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/lib/numerous.js","node_modules/.pnpm/is-node@1.0.2/node_modules/is-node/index.js","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/path-key@3.1.1/node_modules/path-key/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/escape.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/index.js","node_modules/.pnpm/shebang-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/util/readShebang.js","node_modules/.pnpm/cross-spawn@7.0.3/node_modules/cross-spawn/lib/parse.js","node_modules/.pnpm/strip-final-newline@2.0.0/node_modules/strip-final-newline/index.js","node_modules/.pnpm/npm-run-path@4.0.1/node_modules/npm-run-path/index.js","node_modules/.pnpm/mimic-fn@2.1.0/node_modules/mimic-fn/index.js","node_modules/.pnpm/onetime@5.1.2/node_modules/onetime/index.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/main.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/signals.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/core.js","node_modules/.pnpm/human-signals@2.1.0/node_modules/human-signals/src/realtime.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/error.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stdio.js","node_modules/.pnpm/signal-exit@3.0.7/node_modules/signal-exit/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/kill.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/index.js","node_modules/.pnpm/is-stream@2.0.1/node_modules/is-stream/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/buffer-stream.js","node_modules/.pnpm/merge-stream@2.0.0/node_modules/merge-stream/index.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/stream.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/promise.js","node_modules/.pnpm/execa@5.1.1/node_modules/execa/lib/command.js","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","node_modules/.pnpm/github.com+aminya+escape-path-with-spaces@d9f81ee649203ddc55783a2f96ada59df06118e3/node_modules/escape-path-with-spaces/index.js","node_modules/.pnpm/@actions+tool-cache@2.0.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/ohmyfetch@0.4.18/node_modules/ohmyfetch/dist/index.mjs","node_modules/.pnpm/is-url-online@1.4.0/node_modules/is-url-online/src/modules/isUrlString.ts","node_modules/.pnpm/is-url-online@1.4.0/node_modules/is-url-online/src/modules/isUrlOnline.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/github.com+aminya+msvc-dev-cmd@9f672c1/node_modules/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/index.js","node_modules/.pnpm/github.com+aminya+time-delta@69d91a41cef28e569be9a2991129f5f7d1f0d00e/node_modules/time-delta/locales/en.js","node_modules/.pnpm/numerous@1.0.3/node_modules/numerous/locales/en.js","node_modules/.pnpm/ubuntu-version@2.0.0/node_modules/ubuntu-version/index.js","src/vcpkg/vcpkg.ts","src/nala/nala.ts","src/bazel/bazel.ts","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/cppcheck/cppcheck.ts","src/make/make.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, _setupDir: 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","'use strict';\n\nconst path = require('path');\nconst which = require('which');\nconst getPathKey = require('path-key');\n\nfunction resolveCommandAttempt(parsed, withoutPathExt) {\n const env = parsed.options.env || process.env;\n const cwd = process.cwd();\n const hasCustomCwd = parsed.options.cwd != null;\n // Worker threads do not have process.chdir()\n const shouldSwitchCwd = hasCustomCwd && process.chdir !== undefined && !process.chdir.disabled;\n\n // If a custom `cwd` was specified, we need to change the process cwd\n // because `which` will do stat calls but does not support a custom cwd\n if (shouldSwitchCwd) {\n try {\n process.chdir(parsed.options.cwd);\n } catch (err) {\n /* Empty */\n }\n }\n\n let resolved;\n\n try {\n resolved = which.sync(parsed.command, {\n path: env[getPathKey({ env })],\n pathExt: withoutPathExt ? path.delimiter : undefined,\n });\n } catch (e) {\n /* Empty */\n } finally {\n if (shouldSwitchCwd) {\n process.chdir(cwd);\n }\n }\n\n // If we successfully resolved, ensure that an absolute path is returned\n // Note that when a custom `cwd` was used, we need to resolve to an absolute path based on it\n if (resolved) {\n resolved = path.resolve(hasCustomCwd ? parsed.options.cwd : '', resolved);\n }\n\n return resolved;\n}\n\nfunction resolveCommand(parsed) {\n return resolveCommandAttempt(parsed) || resolveCommandAttempt(parsed, true);\n}\n\nmodule.exports = resolveCommand;\n","'use strict';\n\nconst isWin = process.platform === 'win32';\n\nfunction notFoundError(original, syscall) {\n return Object.assign(new Error(`${syscall} ${original.command} ENOENT`), {\n code: 'ENOENT',\n errno: 'ENOENT',\n syscall: `${syscall} ${original.command}`,\n path: original.command,\n spawnargs: original.args,\n });\n}\n\nfunction hookChildProcess(cp, parsed) {\n if (!isWin) {\n return;\n }\n\n const originalEmit = cp.emit;\n\n cp.emit = function (name, arg1) {\n // If emitting \"exit\" event and exit code is 1, we need to check if\n // the command exists and emit an \"error\" instead\n // See https://github.com/IndigoUnited/node-cross-spawn/issues/16\n if (name === 'exit') {\n const err = verifyENOENT(arg1, parsed, 'spawn');\n\n if (err) {\n return originalEmit.call(cp, 'error', err);\n }\n }\n\n return originalEmit.apply(cp, arguments); // eslint-disable-line prefer-rest-params\n };\n}\n\nfunction verifyENOENT(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawn');\n }\n\n return null;\n}\n\nfunction verifyENOENTSync(status, parsed) {\n if (isWin && status === 1 && !parsed.file) {\n return notFoundError(parsed.original, 'spawnSync');\n }\n\n return null;\n}\n\nmodule.exports = {\n hookChildProcess,\n verifyENOENT,\n verifyENOENTSync,\n notFoundError,\n};\n","'use strict';\n\nconst cp = require('child_process');\nconst parse = require('./lib/parse');\nconst enoent = require('./lib/enoent');\n\nfunction spawn(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);\n\n // Hook into child process \"exit\" event to emit an error if the command\n // does not exists, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n enoent.hookChildProcess(spawned, parsed);\n\n return spawned;\n}\n\nfunction spawnSync(command, args, options) {\n // Parse the arguments\n const parsed = parse(command, args, options);\n\n // Spawn the child process\n const result = cp.spawnSync(parsed.command, parsed.args, parsed.options);\n\n // Analyze if the command does not exist, see: https://github.com/IndigoUnited/node-cross-spawn/issues/16\n result.error = result.error || enoent.verifyENOENTSync(result.status, parsed);\n\n return result;\n}\n\nmodule.exports = spawn;\nmodule.exports.spawn = spawn;\nmodule.exports.sync = spawnSync;\n\nmodule.exports._parse = parse;\nmodule.exports._enoent = enoent;\n","'use strict';\nconst {constants: BufferConstants} = require('buffer');\nconst stream = require('stream');\nconst {promisify} = require('util');\nconst bufferStream = require('./buffer-stream');\n\nconst streamPipelinePromisified = promisify(stream.pipeline);\n\nclass MaxBufferError extends Error {\n\tconstructor() {\n\t\tsuper('maxBuffer exceeded');\n\t\tthis.name = 'MaxBufferError';\n\t}\n}\n\nasync function getStream(inputStream, options) {\n\tif (!inputStream) {\n\t\tthrow new Error('Expected a stream');\n\t}\n\n\toptions = {\n\t\tmaxBuffer: Infinity,\n\t\t...options\n\t};\n\n\tconst {maxBuffer} = options;\n\tconst stream = bufferStream(options);\n\n\tawait new Promise((resolve, reject) => {\n\t\tconst rejectPromise = error => {\n\t\t\t// Don't retrieve an oversized buffer.\n\t\t\tif (error && stream.getBufferedLength() <= BufferConstants.MAX_LENGTH) {\n\t\t\t\terror.bufferedData = stream.getBufferedValue();\n\t\t\t}\n\n\t\t\treject(error);\n\t\t};\n\n\t\t(async () => {\n\t\t\ttry {\n\t\t\t\tawait streamPipelinePromisified(inputStream, stream);\n\t\t\t\tresolve();\n\t\t\t} catch (error) {\n\t\t\t\trejectPromise(error);\n\t\t\t}\n\t\t})();\n\n\t\tstream.on('data', () => {\n\t\t\tif (stream.getBufferedLength() > maxBuffer) {\n\t\t\t\trejectPromise(new MaxBufferError());\n\t\t\t}\n\t\t});\n\t});\n\n\treturn stream.getBufferedValue();\n}\n\nmodule.exports = getStream;\nmodule.exports.buffer = (stream, options) => getStream(stream, {...options, encoding: 'buffer'});\nmodule.exports.array = (stream, options) => getStream(stream, {...options, array: true});\nmodule.exports.MaxBufferError = MaxBufferError;\n","import which from \"which\"\nimport execa from \"execa\"\n\n/** Detect if sudo is available and the user has root privileges */\nexport function isSudo(): boolean {\n return (Boolean(process.env.CI) || isRoot()) && which.sync(\"sudo\", { nothrow: true }) !== null\n}\n\n/** Detect if the process has root privileges */\nexport function isRoot(): boolean {\n return process.getuid?.() === 0\n}\n\n/** Prepend `sudo` to the command if sudo is available */\nexport function prependSudo(command: string) {\n if (isSudo()) {\n return `sudo ${command}`\n }\n return command\n}\n\n/**\n * Execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns The execution result\n */\nexport function execRootSync(\n program: string,\n args: string[] = [],\n execOptions: execa.SyncOptions = { stdio: \"inherit\", shell: true }\n): execa.ExecaSyncReturnValue {\n if (isSudo()) {\n return execa.commandSync(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa.sync(program, args, execOptions)\n }\n}\n\n/**\n * Asynchronously execute a command as root if sudo is available. Otherwise executes the command normally without sudo.\n *\n * @param program The program to spawn\n * @param args The command arguments\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\", shell: true }`\n * @returns A promise to the execution result\n */\nexport function execRoot(\n program: string,\n args: string[] = [],\n execOptions: execa.Options = { stdio: \"inherit\", shell: true }\n): execa.ExecaChildProcess {\n if (isSudo()) {\n return execa.command(`sudo ${[program, ...args].map((arg) => `'${arg}'`).join(\" \")}`, execOptions)\n } else {\n return execa(program, args, execOptions)\n }\n}\n","import { join } from \"path\"\nimport untildify from \"untildify\"\nimport { isSudo } from \"root-tools\"\n\nexport function untildifyUser(path: string) {\n if (isSudo() && typeof process.env.SUDO_USER === \"string\") {\n // use the user profile even if root\n if (process.platform === \"darwin\") {\n return join(\"/Users/\", process.env.SUDO_USER, path)\n } else {\n return join(\"/home/\", process.env.SUDO_USER, path)\n }\n } else {\n return untildify(`~/${path}`)\n }\n}\n","import execa from \"execa\"\nimport which from \"which\"\n\n/** The cached powershell path */\nlet powershell: string | undefined\n\n/**\n * Asynchronously execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns A promise to the execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershell(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.Options = { stdio: \"inherit\" }\n): execa.ExecaChildProcess {\n return execa(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Execute a powershell command.\n *\n * @param command The powershell command to execute\n * @param startupFlags The optional startup flags to be passed to powershell. Defaults to `[\"-NoProfile\", \"-NoLogo\",\n * \"-NonInteractive\"]`. This means that the Powershell profile is not sourced first.\n * @param execOptions The options passed to `execa`. Defaults to `{ stdio: \"inherit\" }`\n * @returns The execution result\n * @note It prefers `pwsh` over `powershell`\n */\nexport function execPowershellSync(\n command: string,\n startupFlags: string[] = [\"-NoProfile\", \"-NoLogo\", \"-NonInteractive\"],\n execOptions: execa.SyncOptions = { stdio: \"inherit\" }\n): execa.ExecaSyncReturnValue {\n return execa.sync(getPowerShell(), [...startupFlags, \"-c\", command], execOptions)\n}\n\n/**\n * Get the path to the powershell executable.\n *\n * @note It prefers `pwsh` over `powershell`\n * @note It caches the path for the subsequent calls to this function\n */\nexport function getPowerShell() {\n if (powershell === undefined) {\n const maybePwsh = which.sync(\"pwsh\", { nothrow: true })\n if (maybePwsh !== null) {\n powershell = maybePwsh\n }\n const maybePowerShell = which.sync(\"powershell\", { nothrow: true })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n }\n if (powershell === undefined) {\n throw new Error(\"Could not find powershell\")\n }\n return powershell\n}\n","import { exportVariable, addPath as ghAddPath, info, setFailed } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { untildifyUser } from \"untildify-user\"\nimport { appendFileSync, existsSync, readFileSync } from \"fs\"\nimport { error, warning } from \"../io/io\"\nimport { execPowershell } from \"exec-powershell\"\nimport { delimiter } from \"path\"\nimport escapeSpace from \"escape-path-with-spaces\"\n\n/**\n * Add an environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addEnv(name: string, valGiven: string | undefined, shouldEscapeSpace: boolean = false) {\n const val = shouldEscapeSpace ? escapeSpace(valGiven ?? \"\") : valGiven\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n exportVariable(name, val)\n } catch (err) {\n error(err as Error)\n await addEnvSystem(name, val)\n }\n } else {\n await addEnvSystem(name, val)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to export environment variable ${name}=${val}. You should add it manually.`)\n }\n}\n\n/**\n * Add a path to the PATH environment variable.\n *\n * This function is cross-platforms and works in all the local or CI systems.\n */\nexport async function addPath(path: string) {\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n try {\n if (ciDetect() === \"github-actions\") {\n try {\n ghAddPath(path)\n } catch (err) {\n error(err as Error)\n await addPathSystem(path)\n }\n } else {\n await addPathSystem(path)\n }\n } catch (err) {\n error(err as Error)\n setFailed(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n }\n}\n\nexport const cpprc_path = untildifyUser(\".cpprc\")\n\nasync function addEnvSystem(name: string, valGiven: string | undefined) {\n const val = valGiven ?? \"\"\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit\n await execPowershell(`[Environment]::SetEnvironmentVariable('${name}', '${val}', \"User\")`)\n info(`${name}='${val}' was set in the environment.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport ${name}=\"${val}\"\\n`)\n info(`${name}=\"${val}\" was added to \"${cpprc_path}`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n process.env[name] = val\n}\n\nasync function addPathSystem(path: string) {\n switch (process.platform) {\n case \"win32\": {\n // We do not use `execa.sync(`setx PATH \"${path};%PATH%\"`)` because of its character limit and also because %PATH% is different for user and system\n await execPowershell(\n `$USER_PATH=([Environment]::GetEnvironmentVariable(\"PATH\", \"User\")); [Environment]::SetEnvironmentVariable(\"PATH\", \"${path};$USER_PATH\", \"User\")`\n )\n info(`\"${path}\" was added to the PATH.`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n setupCppInProfile()\n appendFileSync(cpprc_path, `\\nexport PATH=\"${path}:$PATH\"\\n`)\n info(`\"${path}\" was added to \"${cpprc_path}\"`)\n return\n }\n default: {\n return\n }\n }\n}\n\nlet setupCppInProfile_called = false\n\n/// handles adding conditions to source .cpprc file from .bashrc and .profile\nexport function setupCppInProfile() {\n if (setupCppInProfile_called) {\n return\n }\n\n // a variable that prevents source_cpprc from being called from .bashrc and .profile\n const source_cpprc_str = \"export SOURCE_CPPRC=0\"\n\n if (existsSync(cpprc_path)) {\n const cpprc_content = readFileSync(cpprc_path, \"utf8\")\n if (cpprc_content.includes(source_cpprc_str)) {\n // already executed setupCppInProfile\n return\n }\n }\n\n appendFileSync(cpprc_path, `\\n${source_cpprc_str}\\n`)\n info(`Added ${source_cpprc_str} to ${cpprc_path}`)\n\n const source_cpprc_string = `\\n# source .cpprc if SOURCE_CPPRC is not set to 0\\nif [[ \"$SOURCE_CPPRC\" != 0 && -f \"${cpprc_path}\" ]]; then source \"${cpprc_path}\"; fi\\n`\n\n try {\n // source cpprc in .profile\n const profile_path = untildifyUser(\".profile\")\n appendFileSync(profile_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${profile_path}`)\n\n // source cpprc in .bashrc too\n const bashrc_path = untildifyUser(\".bashrc\")\n appendFileSync(bashrc_path, source_cpprc_string)\n info(`${source_cpprc_string} was added to ${bashrc_path}`)\n } catch (err) {\n warning(`Failed to add ${source_cpprc_string} to .profile or .bashrc. You should add it manually: ${err}`)\n }\n\n setupCppInProfile_called = true\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addEnv, cpprc_path, setupCppInProfile } from \"../env/addEnv\"\nimport { appendFileSync, existsSync } from \"fs\"\nimport which from \"which\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repositories: string[] = [],\n update = false\n): Promise {\n const apt: string = getApt()\n\n info(`Installing ${name} ${version ?? \"\"} via ${apt}`)\n\n process.env.DEBIAN_FRONTEND = \"noninteractive\"\n\n if (!didUpdate || update) {\n updateRepos(apt)\n didUpdate = true\n }\n\n if (!didInit) {\n await initApt(apt)\n didInit = true\n }\n\n if (Array.isArray(repositories) && repositories.length !== 0) {\n for (const repo of repositories) {\n // eslint-disable-next-line no-await-in-loop\n execRootSync(\"add-apt-repository\", [\"--update\", \"-y\", repo])\n }\n updateRepos(apt)\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}=${version}`])\n } catch {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", `${name}-${version}`])\n }\n } else {\n execRootSync(apt, [\"install\", \"--fix-broken\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n\nfunction getApt() {\n let apt: string\n if (which.sync(\"nala\", { nothrow: true }) !== null) {\n apt = \"nala\"\n } else {\n apt = \"apt-get\"\n }\n return apt\n}\n\nfunction updateRepos(apt: string) {\n execRootSync(apt, apt !== \"nala\" ? [\"update\", \"-y\"] : [\"update\"])\n}\n\n/** Install apt utils and certificates (usually missing from docker containers) */\nasync function initApt(apt: string) {\n execRootSync(apt, [\n \"install\",\n \"--fix-broken\",\n \"-y\",\n \"software-properties-common\",\n \"apt-utils\",\n \"ca-certificates\",\n \"gnupg\",\n ])\n addAptKeyViaServer([\"3B4FE6ACC0B21F32\", \"40976EAF437D05B5\"], \"setup-cpp-ubuntu-archive.gpg\")\n addAptKeyViaServer([\"1E9377A2BA9EF27F\"], \"launchpad-toolchain.gpg\")\n if (apt === \"nala\") {\n // enable utf8 otherwise it fails because of the usage of ASCII encoding\n await addEnv(\"LANG\", \"C.UTF-8\")\n await addEnv(\"LC_ALL\", \"C.UTF-8\")\n }\n}\n\nfunction initGpg() {\n execRootSync(\"gpg\", [\"-k\"])\n}\n\nexport function addAptKeyViaServer(keys: string[], name: string, server = \"keyserver.ubuntu.com\") {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n for (const key of keys) {\n execRootSync(\"gpg\", [\n \"--no-default-keyring\",\n \"--keyring\",\n `gnupg-ring:${fileName}`,\n \"--keyserver\",\n server,\n \"--recv-keys\",\n key,\n ])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n }\n return fileName\n}\n\nexport async function addAptKeyViaDownload(name: string, url: string) {\n const fileName = `/etc/apt/trusted.gpg.d/${name}`\n if (!existsSync(fileName)) {\n initGpg()\n await setupAptPack(\"curl\", undefined)\n execRootSync(\"bash\", [\"-c\", `curl -s ${url} | gpg --no-default-keyring --keyring gnupg-ring:${fileName} --import`])\n execRootSync(\"chmod\", [\"644\", fileName])\n }\n return fileName\n}\n\nexport function updateAptAlternatives(name: string, path: string) {\n if (ciDetect() === \"github-actions\") {\n return execRootSync(\"update-alternatives\", [\"--install\", `/usr/bin/${name}`, name, path, \"40\"])\n } else {\n setupCppInProfile()\n return appendFileSync(\n cpprc_path,\n `\\nif [ $UID -eq 0 ]; then update-alternatives --install /usr/bin/${name} ${name} ${path} 40; fi\\n`\n )\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info } from \"../io/io\"\n\nlet didUpdate: boolean = false\nlet didInit: boolean = false\n\n/** A function that installs a package using pacman */\nexport function setupPacmanPack(name: string, version?: string, aur?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via pacman`)\n\n const pacman = \"pacman\"\n\n if (!didUpdate) {\n execRootSync(pacman, [\"-Syuu\", \"--noconfirm\"])\n didUpdate = true\n }\n\n if (!didInit) {\n // install base-devel\n execRootSync(pacman, [\"-Sy\", \"--noconfirm\", \"base-devel\"])\n didInit = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}=${version}`])\n } catch {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", `${name}${version}`])\n }\n } else {\n execRootSync(aur ?? pacman, [\"-S\", \"--noconfirm\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\nimport { info } from \"@actions/core\"\nimport execa from \"execa\"\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 info(`Installing ${name} ${version ?? \"\"} via brew`)\n\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 execa.sync(\"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 execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\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 _setupDir: 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 let powershell = \"powershell.exe\"\n const maybePowerShell = which.sync(`${process.env.SystemRoot}\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe`, {\n nothrow: true,\n })\n if (maybePowerShell !== null) {\n powershell = maybePowerShell\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.sync(\n powershell,\n [\n \"-NoProfile\",\n \"-InputFormat\",\n \"None\",\n \"-ExecutionPolicy\",\n \"Bypass\",\n \"-Command\",\n \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\",\n ],\n { stdio: \"inherit\" }\n )\n\n const chocoPath = `${process.env.ALLUSERSPROFILE}\\\\chocolatey\\\\bin`\n await addPath(chocoPath)\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = `${process.env.ChocolateyInstall ?? \"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 \"../env/addEnv\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\nimport { info } from \"@actions/core\"\nimport { notice } from \"../io/io\"\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 info(`Installing ${name} ${version ?? \"\"} via chocolatey`)\n\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n await setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n // https://github.com/jberezanski/ChocolateyPackages/issues/97#issuecomment-986825694\n const PATH = process.env.PATH\n const env = { ...process.env }\n delete env.TMP\n delete env.TEMP\n delete env.Path\n env.PATH = PATH\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args], {\n env,\n extendEnv: false,\n stdio: \"inherit\",\n })\n } else {\n try {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args], { env, extendEnv: false, stdio: \"inherit\" })\n } catch (err) {\n // if the package requires a reboot, downgrade the error to a notice\n if ((err as Error).message.includes(\"exit code 3010\")) {\n notice(`${name} might require a reboot for the completion of the installation.`)\n } else {\n throw err\n }\n }\n }\n\n const binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n await addPath(binDir)\n\n return { binDir }\n}\n","import which from \"which\"\n\nlet isArchCache: undefined | boolean = undefined\n\nexport function isArch(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isArchCache === undefined) {\n // detect arch by checking if pacman exists\n isArchCache = which.sync(\"pacman\", { nothrow: true }) !== null\n }\n\n return isArchCache\n}\n","import which from \"which\"\n\nlet hasDnfCache: undefined | boolean = undefined\n\nexport function hasDnf(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (hasDnfCache === undefined) {\n hasDnfCache = which.sync(\"dnf\", { nothrow: true }) !== null\n }\n\n return hasDnfCache\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execRootSync } from \"root-tools\"\nimport { info, warning } from \"../io/io\"\n\n// let didUpdate: boolean = false\n\n/** A function that installs a package using dnf */\nexport function setupDnfPack(name: string, version?: string): InstallationInfo {\n info(`Installing ${name} ${version ?? \"\"} via dnf`)\n\n const dnf = \"dnf\"\n\n // if (!didUpdate) {\n // execRootSync(dnf, [\"-y\", \"check-update\"])\n // didUpdate = true\n // }\n\n if (version !== undefined && version !== \"\") {\n try {\n execRootSync(dnf, [\"-y\", \"install\", `${name}-${version}`])\n } catch (err) {\n warning(`${(err as Error).toString()}\\nInstalling the default version available via dnf`)\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n } else {\n execRootSync(dnf, [\"-y\", \"install\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","import which from \"which\"\n\nlet isUbuntuCache: undefined | boolean = undefined\n\nexport function isUbuntu(): boolean {\n if (process.platform !== \"linux\") {\n return false\n }\n if (isUbuntuCache === undefined) {\n const apt = \"apt-get\"\n isUbuntuCache = which.sync(apt, { nothrow: true }) !== null\n }\n\n return isUbuntuCache\n}\n","/**\n * Add bin extension to the given binary name.\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.exe` on Windows\n * @param unix_ext `\"\"` On unix.\n */\nexport function addBinExtension(name: string, win_ext = \".exe\", unix_ext = \"\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/**\n * Add native shell extension to the given name\n *\n * @param name The name you want to add the shell extension to\n * @param win_ext `.bat` on Windows\n * @param unix_ext `.sh` On unix.\n */\nexport function addShellExtension(name: string, win_ext = \".bat\", unix_ext = \".sh\") {\n if (process.platform === \"win32\") {\n return `${name}${win_ext}`\n }\n return `${name}${unix_ext}`\n}\n\n/** Prefix a `./` for unix shell and nothing for the cmd shell */\nexport function addShellHere(name: string) {\n if (process.platform === \"win32\") {\n return name\n }\n return `./${name}`\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupSevenZip(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"7zip\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"p7zip\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"p7zip\", version)\n } else if (hasDnf()) {\n setupDnfPack(\"p7zip\", version)\n return setupDnfPack(\"p7zip-plugins\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"p7zip-full\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { isSudo, execRootSync } from \"root-tools\"\n\n/**\n * Give the user access to the given path and its sub-directories. It changes the owner to the SUDO_USER. This allows\n * the user to use the folder without sudo\n *\n * @param path The path to give the user access to\n */\nexport function giveUserAccess(path: string) {\n if (\n (process.platform === \"linux\" || process.platform === \"darwin\") &&\n isSudo() &&\n process.env.SUDO_USER !== undefined\n ) {\n execRootSync(\"chown\", [\"-R\", process.env.SUDO_USER, path], { cwd: path, stdio: \"inherit\", shell: true })\n }\n}\n",null,"import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nimport which from \"which\"\nimport { setupSevenZip } from \"../../sevenzip/sevenzip\"\nimport { warning } from \"../io/io\"\nimport { giveUserAccess } from \"user-access\"\nexport { extractTar, extractXar } from \"@actions/tool-cache\"\n\nlet sevenZip: string | undefined\n\n/// Extract 7z using 7z\nexport async function extract7Zip(file: string, dest: string) {\n await execa(await getSevenZip(), [\"x\", file, `-o${dest}`, \"-y\"], { stdio: \"inherit\" })\n giveUserAccess(dest)\n return dest\n}\n\n/// install 7z if needed\nasync function getSevenZip() {\n if (sevenZip === undefined) {\n if (which.sync(\"7z\", { nothrow: true }) === null) {\n await setupSevenZip(\"\", \"\", process.arch)\n }\n // eslint-disable-next-line require-atomic-updates\n sevenZip = \"7z\"\n }\n return sevenZip\n}\n\n/// Extract Exe using 7z\nexport function extractExe(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\n/// Extract Zip using 7z\nexport function extractZip(file: string, dest: string) {\n return extract7Zip(file, dest)\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=0\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n\n // TODO windows fails to create symlinks\n // https://github.com/heroku/heroku-slugs/issues/3\n\n try {\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags], { stdio: \"inherit\" })\n } catch (e) {\n if (process.platform === \"win32\" && (e as Error).message.includes(\"Can't create '\\\\\\\\?\\\\C:\")) {\n warning(`Failed to extract symlink ${file} to ${dest}. Ignoring this symlink.`)\n }\n }\n\n giveUserAccess(dest)\n return dest\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport { tmpdir } from \"os\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\nimport { isUbuntu } from \"../env/isUbuntu\"\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 main binary file. */\n binFileName: 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\nlet didInit: boolean = false\n\n/**\n * A function that:\n *\n * - Downloads and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the downloaded 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, arch: string) => PackageInfo | Promise,\n setupDir: string,\n arch: string\n): Promise {\n info(`Installing ${name} ${version} ${arch} via direct downloading`)\n\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACHE ?? join(tmpdir(), \"setup-cpp\", \"hostedtoolcache\")\n\n const { url, binRelativeDir, binFileName, extractedFolderName, extractFunction } = await getPackageInfo(\n version,\n process.platform,\n arch\n )\n\n // Restore from cache (if found).\n if (ciDetect() === \"github-actions\") {\n try {\n const dir = find(name, version)\n if (dir) {\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n if (existsSync(binDir) && existsSync(join(binDir, binFileName))) {\n info(`${name} ${version} was found in the cache at ${binDir}.`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n const installDir = join(setupDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n const binFile = join(binDir, binFileName)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(binDir) || !existsSync(binFile)) {\n info(`Download and extract ${name} ${version}`)\n\n if (!didInit) {\n if (process.platform === \"linux\") {\n // extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"xz\")\n } else if (hasDnf()) {\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"xz\")\n } else if (isUbuntu()) {\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"xz-utils\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n\n try {\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, setupDir)\n // if (typeof extractedBinDir === \"string\") {\n // binDir = extractedBinDir\n // installDir = extractedBinDir\n // }\n } catch (err) {\n throw new Error(`Failed to download ${name} ${version} ${arch} from ${url}: ${err}`)\n }\n }\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 await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (ciDetect() === \"github-actions\" && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(setupDir, name, version)\n }\n\n return { installDir, binDir }\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe, extractZip } from \"../utils/setup/extract\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name task uses in their download links */\nfunction getTaskPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"windows\"\n default:\n return platform\n }\n}\n\n/** Get the arch name task uses in their download links */\nfunction getTaskArch(arch: string) {\n switch (arch) {\n case \"x64\":\n return \"amd64\"\n case \"ia32\":\n case \"x86\":\n case \"i386\":\n case \"x32\":\n return \"386\"\n default:\n return arch\n }\n}\n\n/** Get the platform data for task */\nfunction getTaskPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const taskPlatform = getTaskPlatform(platform)\n const taskArch = getTaskArch(arch)\n const isZip = platform === \"win32\"\n const extension = isZip ? \"zip\" : \"tar.gz\"\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"task\"),\n extractedFolderName: \"\",\n extractFunction: isZip ? extractZip : extractTarByExe,\n url: `https://github.com/go-task/task/releases/download/v${version}/task_${taskPlatform}_${taskArch}.${extension}`,\n }\n}\n\nexport function setupTask(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"task\", version, getTaskPackageInfo, setupDir, arch)\n}\n","import { extractTar } from \"@actions/tool-cache\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n switch (platform) {\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 binFileName: addBinExtension(\"cmake\"),\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 '${platform}'`)\n }\n}\n\n/** Setup cmake */\nexport function setupCmake(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupDir, arch)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { warning, info } from \"../utils/io/io\"\nimport { isArch } from \"../utils/env/isArch\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { dirname, join } from \"path\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\nexport async function setupPython(version: string, setupDir: string, arch: string) {\n if (ciDetect() !== \"github-actions\") {\n // TODO parse version\n return setupPythonViaSystem(version, setupDir, arch)\n }\n try {\n info(\"Installing python in GitHub Actions\")\n const { setupActionsPython } = await import(\"./actions_python\")\n return setupActionsPython(version, setupDir, arch)\n } catch (err) {\n warning((err as Error).toString())\n return setupPythonViaSystem(version, setupDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(\n version: string,\n setupDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n switch (process.platform) {\n case \"win32\": {\n if (setupDir) {\n await setupChocoPack(\"python3\", version, [`--params=/InstallDir:${setupDir}`])\n } else {\n await setupChocoPack(\"python3\", version)\n }\n // Adding the bin dir to the path\n const pythonBinPath =\n which.sync(\"python3.exe\", { nothrow: true }) ??\n which.sync(\"python.exe\", { nothrow: true }) ??\n join(setupDir, \"python.exe\")\n const pythonSetupDir = dirname(pythonBinPath)\n /** The directory which the tool is installed to */\n await activateWinPython(pythonSetupDir)\n return { installDir: pythonSetupDir, binDir: pythonSetupDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n let installInfo: InstallationInfo\n if (isArch()) {\n installInfo = setupPacmanPack(\"python\", version)\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n installInfo = setupDnfPack(\"python3\", version)\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinPython(binDir: string) {\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n}\n","const suspectProtoRx = /\"(?:_|\\\\u005[Ff])(?:_|\\\\u005[Ff])(?:p|\\\\u0070)(?:r|\\\\u0072)(?:o|\\\\u006[Ff])(?:t|\\\\u0074)(?:o|\\\\u006[Ff])(?:_|\\\\u005[Ff])(?:_|\\\\u005[Ff])\"\\s*:/;\nconst suspectConstructorRx = /\"(?:c|\\\\u0063)(?:o|\\\\u006[Ff])(?:n|\\\\u006[Ee])(?:s|\\\\u0073)(?:t|\\\\u0074)(?:r|\\\\u0072)(?:u|\\\\u0075)(?:c|\\\\u0063)(?:t|\\\\u0074)(?:o|\\\\u006[Ff])(?:r|\\\\u0072)\"\\s*:/;\nconst JsonSigRx = /^[\"{[]|^-?[0-9][0-9.]{0,14}$/;\nfunction jsonParseTransform(key, value) {\n if (key === \"__proto__\" || key === \"constructor\") {\n return;\n }\n return value;\n}\nfunction destr(val) {\n if (typeof val !== \"string\") {\n return val;\n }\n const _lval = val.toLowerCase();\n if (_lval === \"true\") {\n return true;\n }\n if (_lval === \"false\") {\n return false;\n }\n if (_lval === \"null\") {\n return null;\n }\n if (_lval === \"nan\") {\n return NaN;\n }\n if (_lval === \"infinity\") {\n return Infinity;\n }\n if (_lval === \"undefined\") {\n return void 0;\n }\n if (!JsonSigRx.test(val)) {\n return val;\n }\n try {\n if (suspectProtoRx.test(val) || suspectConstructorRx.test(val)) {\n return JSON.parse(val, jsonParseTransform);\n }\n return JSON.parse(val);\n } catch (_e) {\n return val;\n }\n}\n\nexport { destr as default };\n","const n = /[^\\0-\\x7E]/;\nconst t = /[\\x2E\\u3002\\uFF0E\\uFF61]/g;\nconst o = { overflow: \"Overflow Error\", \"not-basic\": \"Illegal Input\", \"invalid-input\": \"Invalid Input\" };\nconst e = Math.floor;\nconst r = String.fromCharCode;\nfunction s(n2) {\n throw new RangeError(o[n2]);\n}\nconst c = function(n2, t2) {\n return n2 + 22 + 75 * (n2 < 26) - ((t2 != 0) << 5);\n};\nconst u = function(n2, t2, o2) {\n let r2 = 0;\n for (n2 = o2 ? e(n2 / 700) : n2 >> 1, n2 += e(n2 / t2); n2 > 455; r2 += 36) {\n n2 = e(n2 / 35);\n }\n return e(r2 + 36 * n2 / (n2 + 38));\n};\nfunction toASCII(o2) {\n return function(n2, o3) {\n const e2 = n2.split(\"@\");\n let r2 = \"\";\n e2.length > 1 && (r2 = e2[0] + \"@\", n2 = e2[1]);\n const s2 = function(n3, t2) {\n const o4 = [];\n let e3 = n3.length;\n for (; e3--; ) {\n o4[e3] = t2(n3[e3]);\n }\n return o4;\n }((n2 = n2.replace(t, \".\")).split(\".\"), o3).join(\".\");\n return r2 + s2;\n }(o2, function(t2) {\n return n.test(t2) ? \"xn--\" + function(n2) {\n const t3 = [];\n const o3 = (n2 = function(n3) {\n const t4 = [];\n let o4 = 0;\n const e2 = n3.length;\n for (; o4 < e2; ) {\n const r2 = n3.charCodeAt(o4++);\n if (r2 >= 55296 && r2 <= 56319 && o4 < e2) {\n const e3 = n3.charCodeAt(o4++);\n (64512 & e3) == 56320 ? t4.push(((1023 & r2) << 10) + (1023 & e3) + 65536) : (t4.push(r2), o4--);\n } else {\n t4.push(r2);\n }\n }\n return t4;\n }(n2)).length;\n let f = 128;\n let i = 0;\n let l = 72;\n for (const o4 of n2) {\n o4 < 128 && t3.push(r(o4));\n }\n const h = t3.length;\n let p = h;\n for (h && t3.push(\"-\"); p < o3; ) {\n let o4 = 2147483647;\n for (const t4 of n2) {\n t4 >= f && t4 < o4 && (o4 = t4);\n }\n const a = p + 1;\n o4 - f > e((2147483647 - i) / a) && s(\"overflow\"), i += (o4 - f) * a, f = o4;\n for (const o5 of n2) {\n if (o5 < f && ++i > 2147483647 && s(\"overflow\"), o5 == f) {\n let n3 = i;\n for (let o6 = 36; ; o6 += 36) {\n const s2 = o6 <= l ? 1 : o6 >= l + 26 ? 26 : o6 - l;\n if (n3 < s2) {\n break;\n }\n const u2 = n3 - s2;\n const f2 = 36 - s2;\n t3.push(r(c(s2 + u2 % f2, 0))), n3 = e(u2 / f2);\n }\n t3.push(r(c(n3, 0))), l = u(i, a, p == h), i = 0, ++p;\n }\n }\n ++i, ++f;\n }\n return t3.join(\"\");\n }(t2) : t2;\n });\n}\n\nconst HASH_RE = /#/g;\nconst AMPERSAND_RE = /&/g;\nconst SLASH_RE = /\\//g;\nconst EQUAL_RE = /=/g;\nconst IM_RE = /\\?/g;\nconst PLUS_RE = /\\+/g;\nconst ENC_BRACKET_OPEN_RE = /%5B/gi;\nconst ENC_BRACKET_CLOSE_RE = /%5D/gi;\nconst ENC_CARET_RE = /%5E/gi;\nconst ENC_BACKTICK_RE = /%60/gi;\nconst ENC_CURLY_OPEN_RE = /%7B/gi;\nconst ENC_PIPE_RE = /%7C/gi;\nconst ENC_CURLY_CLOSE_RE = /%7D/gi;\nconst ENC_SPACE_RE = /%20/gi;\nconst ENC_SLASH_RE = /%2F/gi;\nconst ENC_ENC_SLASH_RE = /%252F/gi;\nfunction encode(text) {\n return encodeURI(\"\" + text).replace(ENC_PIPE_RE, \"|\").replace(ENC_BRACKET_OPEN_RE, \"[\").replace(ENC_BRACKET_CLOSE_RE, \"]\");\n}\nfunction encodeHash(text) {\n return encode(text).replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\nfunction encodeQueryValue(text) {\n return encode(text).replace(PLUS_RE, \"%2B\").replace(ENC_SPACE_RE, \"+\").replace(HASH_RE, \"%23\").replace(AMPERSAND_RE, \"%26\").replace(ENC_BACKTICK_RE, \"`\").replace(ENC_CURLY_OPEN_RE, \"{\").replace(ENC_CURLY_CLOSE_RE, \"}\").replace(ENC_CARET_RE, \"^\");\n}\nfunction encodeQueryKey(text) {\n return encodeQueryValue(text).replace(EQUAL_RE, \"%3D\");\n}\nfunction encodePath(text) {\n return encode(text).replace(HASH_RE, \"%23\").replace(IM_RE, \"%3F\").replace(ENC_ENC_SLASH_RE, \"%2F\").replace(AMPERSAND_RE, \"%26\").replace(PLUS_RE, \"%2B\");\n}\nfunction encodeParam(text) {\n return encodePath(text).replace(SLASH_RE, \"%2F\");\n}\nfunction decode(text = \"\") {\n try {\n return decodeURIComponent(\"\" + text);\n } catch (_err) {\n return \"\" + text;\n }\n}\nfunction decodePath(text) {\n return decode(text.replace(ENC_SLASH_RE, \"%252F\"));\n}\nfunction decodeQueryValue(text) {\n return decode(text.replace(PLUS_RE, \" \"));\n}\nfunction encodeHost(name = \"\") {\n return toASCII(name);\n}\n\nfunction parseQuery(paramsStr = \"\") {\n const obj = {};\n if (paramsStr[0] === \"?\") {\n paramsStr = paramsStr.substr(1);\n }\n for (const param of paramsStr.split(\"&\")) {\n const s = param.match(/([^=]+)=?(.*)/) || [];\n if (s.length < 2) {\n continue;\n }\n const key = decode(s[1]);\n if (key === \"__proto__\" || key === \"constructor\") {\n continue;\n }\n const value = decodeQueryValue(s[2] || \"\");\n if (obj[key]) {\n if (Array.isArray(obj[key])) {\n obj[key].push(value);\n } else {\n obj[key] = [obj[key], value];\n }\n } else {\n obj[key] = value;\n }\n }\n return obj;\n}\nfunction encodeQueryItem(key, val) {\n if (typeof val === \"number\" || typeof val === \"boolean\") {\n val = String(val);\n }\n if (!val) {\n return encodeQueryKey(key);\n }\n if (Array.isArray(val)) {\n return val.map((_val) => `${encodeQueryKey(key)}=${encodeQueryValue(_val)}`).join(\"&\");\n }\n return `${encodeQueryKey(key)}=${encodeQueryValue(val)}`;\n}\nfunction stringifyQuery(query) {\n return Object.keys(query).map((k) => encodeQueryItem(k, query[k])).join(\"&\");\n}\n\nclass $URL {\n constructor(input = \"\") {\n this.query = {};\n if (typeof input !== \"string\") {\n throw new TypeError(`URL input should be string received ${typeof input} (${input})`);\n }\n const parsed = parseURL(input);\n this.protocol = decode(parsed.protocol);\n this.host = decode(parsed.host);\n this.auth = decode(parsed.auth);\n this.pathname = decodePath(parsed.pathname);\n this.query = parseQuery(parsed.search);\n this.hash = decode(parsed.hash);\n }\n get hostname() {\n return parseHost(this.host).hostname;\n }\n get port() {\n return parseHost(this.host).port || \"\";\n }\n get username() {\n return parseAuth(this.auth).username;\n }\n get password() {\n return parseAuth(this.auth).password || \"\";\n }\n get hasProtocol() {\n return this.protocol.length;\n }\n get isAbsolute() {\n return this.hasProtocol || this.pathname[0] === \"/\";\n }\n get search() {\n const q = stringifyQuery(this.query);\n return q.length ? \"?\" + q : \"\";\n }\n get searchParams() {\n const p = new URLSearchParams();\n for (const name in this.query) {\n const value = this.query[name];\n if (Array.isArray(value)) {\n value.forEach((v) => p.append(name, v));\n } else {\n p.append(name, value || \"\");\n }\n }\n return p;\n }\n get origin() {\n return (this.protocol ? this.protocol + \"//\" : \"\") + encodeHost(this.host);\n }\n get fullpath() {\n return encodePath(this.pathname) + this.search + encodeHash(this.hash);\n }\n get encodedAuth() {\n if (!this.auth) {\n return \"\";\n }\n const { username, password } = parseAuth(this.auth);\n return encodeURIComponent(username) + (password ? \":\" + encodeURIComponent(password) : \"\");\n }\n get href() {\n const auth = this.encodedAuth;\n const originWithAuth = (this.protocol ? this.protocol + \"//\" : \"\") + (auth ? auth + \"@\" : \"\") + encodeHost(this.host);\n return this.hasProtocol && this.isAbsolute ? originWithAuth + this.fullpath : this.fullpath;\n }\n append(url) {\n if (url.hasProtocol) {\n throw new Error(\"Cannot append a URL with protocol\");\n }\n Object.assign(this.query, url.query);\n if (url.pathname) {\n this.pathname = withTrailingSlash(this.pathname) + withoutLeadingSlash(url.pathname);\n }\n if (url.hash) {\n this.hash = url.hash;\n }\n }\n toJSON() {\n return this.href;\n }\n toString() {\n return this.href;\n }\n}\n\nfunction isRelative(inputStr) {\n return [\"./\", \"../\"].some((str) => inputStr.startsWith(str));\n}\nconst PROTOCOL_REGEX = /^\\w+:(\\/\\/)?/;\nconst PROTOCOL_RELATIVE_REGEX = /^\\/\\/[^/]+/;\nfunction hasProtocol(inputStr, acceptProtocolRelative = false) {\n return PROTOCOL_REGEX.test(inputStr) || acceptProtocolRelative && PROTOCOL_RELATIVE_REGEX.test(inputStr);\n}\nconst TRAILING_SLASH_RE = /\\/$|\\/\\?/;\nfunction hasTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return input.endsWith(\"/\");\n }\n return TRAILING_SLASH_RE.test(input);\n}\nfunction withoutTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return (hasTrailingSlash(input) ? input.slice(0, -1) : input) || \"/\";\n }\n if (!hasTrailingSlash(input, true)) {\n return input || \"/\";\n }\n const [s0, ...s] = input.split(\"?\");\n return (s0.slice(0, -1) || \"/\") + (s.length ? `?${s.join(\"?\")}` : \"\");\n}\nfunction withTrailingSlash(input = \"\", queryParams = false) {\n if (!queryParams) {\n return input.endsWith(\"/\") ? input : input + \"/\";\n }\n if (hasTrailingSlash(input, true)) {\n return input || \"/\";\n }\n const [s0, ...s] = input.split(\"?\");\n return s0 + \"/\" + (s.length ? `?${s.join(\"?\")}` : \"\");\n}\nfunction hasLeadingSlash(input = \"\") {\n return input.startsWith(\"/\");\n}\nfunction withoutLeadingSlash(input = \"\") {\n return (hasLeadingSlash(input) ? input.substr(1) : input) || \"/\";\n}\nfunction withLeadingSlash(input = \"\") {\n return hasLeadingSlash(input) ? input : \"/\" + input;\n}\nfunction cleanDoubleSlashes(input = \"\") {\n return input.split(\"://\").map((str) => str.replace(/\\/{2,}/g, \"/\")).join(\"://\");\n}\nfunction withBase(input, base) {\n if (isEmptyURL(base)) {\n return input;\n }\n const _base = withoutTrailingSlash(base);\n if (input.startsWith(_base)) {\n return input;\n }\n return joinURL(_base, input);\n}\nfunction withoutBase(input, base) {\n if (isEmptyURL(base)) {\n return input;\n }\n const _base = withoutTrailingSlash(base);\n if (!input.startsWith(_base)) {\n return input;\n }\n const trimmed = input.substring(_base.length);\n return trimmed[0] === \"/\" ? trimmed : \"/\" + trimmed;\n}\nfunction withQuery(input, query) {\n const parsed = parseURL(input);\n const mergedQuery = { ...parseQuery(parsed.search), ...query };\n parsed.search = stringifyQuery(mergedQuery);\n return stringifyParsedURL(parsed);\n}\nfunction getQuery(input) {\n return parseQuery(parseURL(input).search);\n}\nfunction isEmptyURL(url) {\n return !url || url === \"/\";\n}\nfunction isNonEmptyURL(url) {\n return url && url !== \"/\";\n}\nfunction joinURL(base, ...input) {\n let url = base || \"\";\n for (const i of input.filter(isNonEmptyURL)) {\n url = url ? withTrailingSlash(url) + withoutLeadingSlash(i) : i;\n }\n return url;\n}\nfunction withHttp(input) {\n return withProtocol(input, \"http://\");\n}\nfunction withHttps(input) {\n return withProtocol(input, \"https://\");\n}\nfunction withoutProtocol(input) {\n return withProtocol(input, \"\");\n}\nfunction withProtocol(input, protocol) {\n const match = input.match(PROTOCOL_REGEX);\n if (!match) {\n return protocol + input;\n }\n return protocol + input.substring(match[0].length);\n}\nfunction createURL(input) {\n return new $URL(input);\n}\nfunction normalizeURL(input) {\n return createURL(input).toString();\n}\nfunction resolveURL(base, ...input) {\n const url = createURL(base);\n for (const i of input.filter(isNonEmptyURL)) {\n url.append(createURL(i));\n }\n return url.toString();\n}\nfunction isSamePath(p1, p2) {\n return decode(withoutTrailingSlash(p1)) === decode(withoutTrailingSlash(p2));\n}\nfunction isEqual(a, b, opts = {}) {\n if (!opts.trailingSlash) {\n a = withTrailingSlash(a);\n b = withTrailingSlash(b);\n }\n if (!opts.leadingSlash) {\n a = withLeadingSlash(a);\n b = withLeadingSlash(b);\n }\n if (!opts.encoding) {\n a = decode(a);\n b = decode(b);\n }\n return a === b;\n}\n\nfunction parseURL(input = \"\", defaultProto) {\n if (!hasProtocol(input, true)) {\n return defaultProto ? parseURL(defaultProto + input) : parsePath(input);\n }\n const [protocol = \"\", auth, hostAndPath = \"\"] = (input.replace(/\\\\/g, \"/\").match(/([^:/]+:)?\\/\\/([^/@]+@)?(.*)/) || []).splice(1);\n const [host = \"\", path = \"\"] = (hostAndPath.match(/([^/?#]*)(.*)?/) || []).splice(1);\n const { pathname, search, hash } = parsePath(path);\n return {\n protocol,\n auth: auth ? auth.substr(0, auth.length - 1) : \"\",\n host,\n pathname,\n search,\n hash\n };\n}\nfunction parsePath(input = \"\") {\n const [pathname = \"\", search = \"\", hash = \"\"] = (input.match(/([^#?]*)(\\?[^#]*)?(#.*)?/) || []).splice(1);\n return {\n pathname,\n search,\n hash\n };\n}\nfunction parseAuth(input = \"\") {\n const [username, password] = input.split(\":\");\n return {\n username: decode(username),\n password: decode(password)\n };\n}\nfunction parseHost(input = \"\") {\n const [hostname, port] = (input.match(/([^/]*)(:0-9+)?/) || []).splice(1);\n return {\n hostname: decode(hostname),\n port\n };\n}\nfunction stringifyParsedURL(parsed) {\n const fullpath = parsed.pathname + (parsed.search ? (parsed.search.startsWith(\"?\") ? \"\" : \"?\") + parsed.search : \"\") + parsed.hash;\n if (!parsed.protocol) {\n return fullpath;\n }\n return parsed.protocol + \"//\" + (parsed.auth ? parsed.auth + \"@\" : \"\") + parsed.host + fullpath;\n}\n\nexport { $URL, cleanDoubleSlashes, createURL, decode, decodePath, decodeQueryValue, encode, encodeHash, encodeHost, encodeParam, encodePath, encodeQueryItem, encodeQueryKey, encodeQueryValue, getQuery, hasLeadingSlash, hasProtocol, hasTrailingSlash, isEmptyURL, isEqual, isNonEmptyURL, isRelative, isSamePath, joinURL, normalizeURL, parseAuth, parseHost, parsePath, parseQuery, parseURL, resolveURL, stringifyParsedURL, stringifyQuery, withBase, withHttp, withHttps, withLeadingSlash, withProtocol, withQuery, withTrailingSlash, withoutBase, withoutLeadingSlash, withoutProtocol, withoutTrailingSlash };\n","import destr from 'destr';\nimport { withBase, withQuery } from 'ufo';\n\nclass FetchError extends Error {\n constructor() {\n super(...arguments);\n this.name = \"FetchError\";\n }\n}\nfunction createFetchError(request, error, response) {\n let message = \"\";\n if (request && response) {\n message = `${response.status} ${response.statusText} (${request.toString()})`;\n }\n if (error) {\n message = `${error.message} (${message})`;\n }\n const fetchError = new FetchError(message);\n Object.defineProperty(fetchError, \"request\", { get() {\n return request;\n } });\n Object.defineProperty(fetchError, \"response\", { get() {\n return response;\n } });\n Object.defineProperty(fetchError, \"data\", { get() {\n return response && response._data;\n } });\n return fetchError;\n}\n\nconst payloadMethods = new Set(Object.freeze([\"PATCH\", \"POST\", \"PUT\", \"DELETE\"]));\nfunction isPayloadMethod(method = \"GET\") {\n return payloadMethods.has(method.toUpperCase());\n}\nfunction isJSONSerializable(val) {\n if (val === void 0) {\n return false;\n }\n const t = typeof val;\n if (t === \"string\" || t === \"number\" || t === \"boolean\" || t === null) {\n return true;\n }\n if (t !== \"object\") {\n return false;\n }\n if (Array.isArray(val)) {\n return true;\n }\n return val.constructor && val.constructor.name === \"Object\" || typeof val.toJSON === \"function\";\n}\nconst textTypes = /* @__PURE__ */ new Set([\n \"image/svg\",\n \"application/xml\",\n \"application/xhtml\",\n \"application/html\"\n]);\nconst JSON_RE = /^application\\/(?:[\\w!#$%&*`\\-.^~]*\\+)?json(;.+)?$/i;\nfunction detectResponseType(_contentType = \"\") {\n if (!_contentType) {\n return \"json\";\n }\n const contentType = _contentType.split(\";\").shift();\n if (JSON_RE.test(contentType)) {\n return \"json\";\n }\n if (textTypes.has(contentType) || contentType.startsWith(\"text/\")) {\n return \"text\";\n }\n return \"blob\";\n}\n\nconst retryStatusCodes = /* @__PURE__ */ new Set([\n 408,\n 409,\n 425,\n 429,\n 500,\n 502,\n 503,\n 504\n]);\nfunction createFetch(globalOptions) {\n const { fetch, Headers } = globalOptions;\n function onError(ctx) {\n if (ctx.options.retry !== false) {\n const retries = typeof ctx.options.retry === \"number\" ? ctx.options.retry : isPayloadMethod(ctx.options.method) ? 0 : 1;\n const responseCode = ctx.response && ctx.response.status || 500;\n if (retries > 0 && retryStatusCodes.has(responseCode)) {\n return $fetchRaw(ctx.request, {\n ...ctx.options,\n retry: retries - 1\n });\n }\n }\n const err = createFetchError(ctx.request, ctx.error, ctx.response);\n if (Error.captureStackTrace) {\n Error.captureStackTrace(err, $fetchRaw);\n }\n throw err;\n }\n const $fetchRaw = async function $fetchRaw2(_request, _opts = {}) {\n const ctx = {\n request: _request,\n options: { ...globalOptions.defaults, ..._opts },\n response: void 0,\n error: void 0\n };\n if (ctx.options.onRequest) {\n await ctx.options.onRequest(ctx);\n }\n if (typeof ctx.request === \"string\") {\n if (ctx.options.baseURL) {\n ctx.request = withBase(ctx.request, ctx.options.baseURL);\n }\n if (ctx.options.params) {\n ctx.request = withQuery(ctx.request, ctx.options.params);\n }\n if (ctx.options.body && isPayloadMethod(ctx.options.method)) {\n if (isJSONSerializable(ctx.options.body)) {\n ctx.options.body = typeof ctx.options.body === \"string\" ? ctx.options.body : JSON.stringify(ctx.options.body);\n ctx.options.headers = new Headers(ctx.options.headers);\n if (!ctx.options.headers.has(\"content-type\")) {\n ctx.options.headers.set(\"content-type\", \"application/json\");\n }\n if (!ctx.options.headers.has(\"accept\")) {\n ctx.options.headers.set(\"accept\", \"application/json\");\n }\n }\n }\n }\n ctx.response = await fetch(ctx.request, ctx.options).catch(async (error) => {\n ctx.error = error;\n if (ctx.options.onRequestError) {\n await ctx.options.onRequestError(ctx);\n }\n return onError(ctx);\n });\n const responseType = (ctx.options.parseResponse ? \"json\" : ctx.options.responseType) || detectResponseType(ctx.response.headers.get(\"content-type\") || \"\");\n if (responseType === \"json\") {\n const data = await ctx.response.text();\n const parseFn = ctx.options.parseResponse || destr;\n ctx.response._data = parseFn(data);\n } else {\n ctx.response._data = await ctx.response[responseType]();\n }\n if (ctx.options.onResponse) {\n await ctx.options.onResponse(ctx);\n }\n if (!ctx.response.ok) {\n if (ctx.options.onResponseError) {\n await ctx.options.onResponseError(ctx);\n }\n }\n return ctx.response.ok ? ctx.response : onError(ctx);\n };\n const $fetch = function $fetch2(request, opts) {\n return $fetchRaw(request, opts).then((r) => r._data);\n };\n $fetch.raw = $fetchRaw;\n $fetch.create = (defaultOptions = {}) => createFetch({\n ...globalOptions,\n defaults: {\n ...globalOptions.defaults,\n ...defaultOptions\n }\n });\n return $fetch;\n}\n\nexport { FetchError as F, createFetchError as a, createFetch as c };\n","import { isUrlOnline } from \"is-url-online\"\nimport semverCompare from \"semver/functions/compare\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport semverValid from \"semver/functions/valid\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { info } from \"../io/io\"\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 // specific ubuntu version\n if (platform === \"linux\" && version.includes(\"ubuntu\")) {\n const url = await getUrl(platform, version)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isUrlOnline(url))) {\n return [version, url]\n }\n }\n\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 isUrlOnline(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 execout = await getExecOutput(file, [\"--version\"])\n const version_output = execout.stdout || execout.stderr || \"\"\n const version = version_output.trim().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\n/** Coerce the given version if it is invalid */\nexport function semverCoerceIfInvalid(version: string) {\n if (semverValid(version) === null) {\n // version coercion\n try {\n // find the semver version of an integer\n const coercedVersion = semverCoerce(version)\n if (coercedVersion !== null) {\n info(`Coerced version '${version}' to '${coercedVersion}'`)\n return coercedVersion.version\n }\n } catch (err) {\n // handled below\n }\n }\n return version\n}\n\nexport function removeVPrefix(version: string) {\n return parseInt(version.replace(/^v/, \"\"), 10)\n}\n\nexport function addVPrefix(version: string) {\n if (!version.match(/^v/)) {\n return `v${version}`\n }\n return version\n}\n","import { Inputs, Opts } from \"./main\"\nimport { isArch } from \"./utils/env/isArch\"\n\n// passing \"\" to a tool installed by a package manager (apt, brew, choco) will result in the default version of that package manager.\n// the directly downloaded tools require a given version (\"\" doesn't work).\n\nconst DefaultVersions: Record = {\n llvm: \"13.0.0\", // https://github.com/llvm/llvm-project/releases\n clangtidy: \"13.0.0\",\n clangformat: \"13.0.0\",\n ninja: \"1.11.0\", // https://github.com/ninja-build/ninja/releases\n cmake: \"3.23.2\", // https://github.com/Kitware/CMake/releases\n gcovr: \"5.1\", // https://pypi.org/project/gcovr/\n conan: \"1.50.0\", // https://github.com/conan-io/conan/releases\n meson: \"0.63.0\", // https://github.com/mesonbuild/meson/releases\n kcov: \"40\", // https://github.com/SimonKagstrom/kcov/releases\n task: \"3.14.0\", // https://github.com/go-task/task/releases\n doxygen: isArch() ? \"1.9.3-1\" : \"1.9.4\", // https://www.doxygen.nl/download.html // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=doxygen // https://formulae.brew.sh/formula/doxygen // https://archlinux.org/packages/extra/x86_64/doxygen/\n gcc: \"11\", // https://github.com/brechtsanders/winlibs_mingw/releases and // https://packages.ubuntu.com/search?suite=all&arch=any&searchon=names&keywords=gcc\n}\n\n/// If an ubuntu versions is not in this map:\n// - the newer ubuntu versions use the first entry (e.g. v20),\n// - the older ones use \"\"\nconst DefaultUbuntuVersion: Record> = {\n llvm: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangtidy: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n clangformat: {\n 22: \"13.0.0-ubuntu-20.04\",\n 20: \"13.0.0-ubuntu-20.04\",\n 18: \"13.0.1-ubuntu-18.04\",\n 16: \"13.0.0-ubuntu-16.04\",\n 14: \"13.0.0-ubuntu-16.04\",\n },\n gcovr: {\n 20: \"5.1\",\n 18: \"5.0\",\n },\n meson: {\n 20: \"0.63.0\",\n 18: \"0.61.4\",\n },\n doxygen: {\n 20: \"1.9.4\",\n },\n nala: {\n 22: \"\",\n 21: \"legacy\",\n 20: \"legacy\",\n 18: \"legacy\",\n 16: \"legacy\",\n 14: \"legacy\",\n },\n kcov: {\n 22: \"40\",\n 20: \"40-binary\", // https://github.com/SimonKagstrom/kcov/releases\n 18: \"40\",\n 16: \"40\",\n 14: \"40\",\n },\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, osVersion: number[] | null = null) {\n if (useDefault(version, name)) {\n // choose the default linux version based on ubuntu version\n if (process.platform === \"linux\" && osVersion !== null && name in DefaultUbuntuVersion) {\n const osVersionMaj = osVersion[0]\n const newest = parseInt(Object.keys(DefaultUbuntuVersion[name])[0], 10) // newest version with the default\n if (osVersionMaj >= newest) {\n return DefaultUbuntuVersion[name][osVersionMaj]\n } else {\n return \"\"\n }\n }\n // anything else\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n\nfunction useDefault(version: string | undefined, name: string) {\n return version === \"true\" || (version === undefined && name in DefaultVersions)\n}\n\nexport function syncVersions(opts: Opts, tools: Inputs[]): boolean {\n for (let i = 0; i < tools.length; i++) {\n // tools excluding i_tool\n const otherTools = tools.slice(0, i).concat(tools.slice(i + 1))\n\n const tool = tools[i]\n\n if (!useDefault(opts[tool], tool)) {\n for (let i_other = 0; i_other < otherTools.length; i_other++) {\n const otherTool = otherTools[i_other]\n const useDefaultOtherTool = useDefault(opts[otherTool], otherTools[i_other])\n if (useDefaultOtherTool) {\n // use the same version if the other tool was requested with the default\n opts[otherTool] = opts[tool]\n } else if (opts[tool] !== opts[otherTools[i_other]]) {\n // error if different from the other given versions\n return false\n }\n }\n }\n }\n return true\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../env/addEnv\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\nimport { getVersion } from \"../../default_versions\"\nimport { InstallationInfo } from \"./setupBin\"\nimport { setupAptPack } from \"./setupAptPack\"\nimport { setupPacmanPack } from \"./setupPacmanPack\"\nimport { isArch } from \"../env/isArch\"\nimport { isUbuntu } from \"../env/isUbuntu\"\nimport { hasDnf } from \"../env/hasDnf\"\nimport { setupDnfPack } from \"./setupDnfPack\"\n\nlet python: string | undefined\nlet binDir: string | undefined\n\nlet tried = false\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string): Promise {\n info(`Installing ${name} ${version ?? \"\"} via pip`)\n\n // setup python and pip if needed\n if (python === undefined) {\n if (which.sync(\"python3\", { nothrow: true }) !== null) {\n python = \"python3\"\n } else if (which.sync(\"python\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n python = \"python\"\n } else {\n info(\"python3 was not found. Installing python\")\n await setupPython(getVersion(\"python\", undefined), \"\", process.arch)\n // try again\n if (tried) {\n throw new Error(\"Failed to install python\")\n }\n tried = true\n return setupPipPack(name, version)\n }\n if (process.platform === \"win32\") {\n // downgrade pip on Windows\n // https://github.com/pypa/pip/issues/10875#issuecomment-1030293005\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"pip==21.3.1\"], { stdio: \"inherit\" })\n } else if (process.platform === \"linux\") {\n // ensure that pip is installed on Linux (happens when python is found but pip not installed)\n if (isArch()) {\n setupPacmanPack(\"python-pip\")\n } else if (hasDnf()) {\n setupDnfPack(\"python3-pip\")\n } else if (isUbuntu()) {\n await setupAptPack(\"python3-pip\")\n }\n }\n\n // install wheel (required for Conan, Meson, etc.)\n execa.sync(python, [\"-m\", \"pip\", \"install\", \"-U\", \"wheel\"], { stdio: \"inherit\" })\n }\n\n execa.sync(python, [\"-m\", \"pip\", \"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name], {\n stdio: \"inherit\",\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 // windows or others\n try {\n binDir = join(\n (await getExecOutput(`${python} -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 await addPath(binDir)\n }\n\n return { binDir }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGraphviz(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"graphviz\", version)\n return activateGraphviz()\n }\n case \"darwin\": {\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"graphviz\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"graphviz\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"graphviz\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateGraphviz(): Promise {\n switch (process.platform) {\n case \"win32\": {\n const binDir = \"C:/Program Files/Graphviz/bin\"\n await addPath(binDir)\n return { binDir }\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTar, extractZip } from \"../utils/setup/extract\"\nimport { notice } from \"../utils/io/io\"\nimport { setupGraphviz } from \"../graphviz/graphviz\"\nimport { getVersion } from \"../default_versions\"\nimport { existsSync } from \"fs\"\nimport { join } from \"path\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n/** Get the platform data for cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getDoxygenPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n switch (platform) {\n case \"linux\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://www.doxygen.nl/files/${folderName}.linux.bin.tar.gz`,\n }\n }\n case \"win32\": {\n const folderName = `doxygen-${version}`\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"doxygen\"),\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://www.doxygen.nl/files/${folderName}.windows.x64.bin.zip`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\nexport async function setupDoxygen(version: string, setupDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n const binDir = await activateWinDoxygen()\n const installationInfo = { binDir }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"darwin\": {\n const installationInfo = setupBrewPack(\"doxygen\", undefined)\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n case \"linux\": {\n let installationInfo: InstallationInfo\n if (version === \"\" || isArch() || hasDnf()) {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"doxygen\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"doxygen\", version)\n } else if (isUbuntu()) {\n installationInfo = await setupAptPack(\"doxygen\", version)\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n } else if (isUbuntu()) {\n try {\n // doxygen on stable Ubuntu repositories is very old. So, we use get the binary from the website itself\n installationInfo = await setupBin(\"doxygen\", version, getDoxygenPackageInfo, setupDir, arch)\n await setupAptPack(\"libclang-cpp9\")\n } catch (err) {\n notice(`Failed to download doxygen binary. ${err}. Falling back to apt-get.`)\n installationInfo = await setupAptPack(\"doxygen\", undefined)\n }\n } else {\n throw new Error(`Unsupported linux distributions`)\n }\n await setupGraphviz(getVersion(\"graphviz\", undefined), \"\", arch)\n return installationInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinDoxygen() {\n switch (process.platform) {\n case \"win32\": {\n for (const binDir of [\n \"C:/ProgramData/chocolatey/bin\",\n \"C:/Program Files/doxygen/bin\",\n \"C:/Program Files (x86)/doxygen\",\n ]) {\n if (existsSync(join(binDir, \"doxygen.exe\"))) {\n // eslint-disable-next-line no-await-in-loop\n await addPath(binDir)\n return binDir\n }\n }\n throw new Error(\"Failed to find doxygen binary\")\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { getExecOutput } from \"@actions/exec\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { error } from \"../utils/io/io\"\n\nexport async function setupMacOSSDK() {\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 (sdkroot) {\n await addEnv(\"SDKROOT\", sdkroot.trim())\n } else {\n error(`SDKROOT not set`)\n }\n } catch (e) {\n error(e as Error | string)\n }\n }\n}\n","import { addPath, addEnv } from \"../utils/env/addEnv\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport path from \"path\"\nimport { warning, info } from \"../utils/io/io\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { addBinExtension } from \"extension-tools\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extract7Zip } from \"../utils/setup/extract\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\n\ninterface MingwInfo {\n releaseName: string\n fileSuffix: string\n}\n\n// https://github.com/brechtsanders/winlibs_mingw/releases\nconst GccToMingwInfo = {\n \"12\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-ucrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-ucrt-r2\", fileSuffix: \"12.1.0-mingw-w64ucrt-10.0.0-r2\" },\n \"12.1.0-msvcrt\": { releaseName: \"12.1.0-14.0.4-10.0.0-msvcrt-r2\", fileSuffix: \"12.1.0-mingw-w64msvcrt-10.0.0-r2\" },\n \"11\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-ucrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-ucrt-r3\", fileSuffix: \"11.3.0-mingw-w64ucrt-10.0.0-r3\" },\n \"11.3.0-msvcrt\": { releaseName: \"11.3.0-14.0.3-10.0.0-msvcrt-r3\", fileSuffix: \"11.3.0-mingw-w64msvcrt-10.0.0-r3\" },\n \"11.2.0-ucrt\": { releaseName: \"11.2.0-9.0.0-ucrt-r5\", fileSuffix: \"11.2.0-mingw-w64ucrt-9.0.0-r5\" },\n \"11.2.0-msvcrt\": { releaseName: \"11.2.0-9.0.0-msvcrt-r5\", fileSuffix: \"11.2.0-mingw-w64msvcrt-9.0.0-r5\" },\n \"10\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.3.0\": { releaseName: \"10.3.0-12.0.0-9.0.0-r2\", fileSuffix: \"10.3.0-llvm-12.0.0-mingw-w64-9.0.0-r2\" },\n \"10.2.0\": { releaseName: \"10.2.0-7.0.0-r4\", fileSuffix: \"10.2.0-llvm-10.0.1-mingw-w64-7.0.0-r4\" },\n \"9\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n \"9.4.0\": { releaseName: \"9.4.0-9.0.0-r1\", fileSuffix: \"9.4.0-mingw-w64-9.0.0-r1\" },\n} as Record\n\nfunction getGccPackageInfo(version: string, platform: NodeJS.Platform, arch: string): PackageInfo {\n switch (platform) {\n case \"win32\": {\n const mingwInfo = GccToMingwInfo[version]\n if (mingwInfo === undefined) {\n throw new Error(`mingw version ${version} is not supported`)\n }\n const mingwArch = arch === \"ia32\" ? \"i686\" : \"x86_64\"\n const exceptionModel: \"seh\" | \"dwarf\" = \"seh\" // SEH is native windows exception model https://github.com/brechtsanders/winlibs_mingw/issues/4#issuecomment-599296483\n return {\n binRelativeDir: \"bin/\",\n binFileName: addBinExtension(\"g++\"),\n extractedFolderName: \"mingw64\",\n extractFunction: extract7Zip,\n url: `https://github.com/brechtsanders/winlibs_mingw/releases/download/${mingwInfo.releaseName}/winlibs-${mingwArch}-posix-${exceptionModel}-gcc-${mingwInfo.fileSuffix}.7z`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, setupDir: string, arch: string) {\n let installationInfo: InstallationInfo | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n try {\n installationInfo = await setupBin(\"g++\", version, getGccPackageInfo, setupDir, arch)\n } catch (err) {\n info(`Failed to download g++ binary. ${err}. Falling back to chocolatey.`)\n installationInfo = await setupChocoMingw(version, arch)\n }\n break\n }\n case \"darwin\": {\n installationInfo = setupBrewPack(\"gcc\", version)\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n if (isArch()) {\n installationInfo = setupPacmanPack(\"gcc\", version)\n } else if (hasDnf()) {\n installationInfo = setupDnfPack(\"gcc\", version)\n setupDnfPack(\"gcc-c++\", version)\n setupDnfPack(\"libstdc++-devel\", undefined)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n installationInfo = await setupAptPack(\"g++\", version, [])\n }\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n if (isArch()) {\n setupPacmanPack(\"gcc-multilib\", version)\n } else if (isUbuntu()) {\n await setupAptPack(\"gcc-multilib\", version, [\"ppa:ubuntu-toolchain-r/test\"])\n }\n }\n break\n }\n // TODO support bare-metal (need to support passing it as the input)\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, [\n // \"ppa:ubuntu-toolchain-r/test\",\n // ])\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 (installationInfo !== undefined) {\n await activateGcc(version, installationInfo.binDir)\n return installationInfo\n }\n return undefined\n}\n\nasync function setupChocoMingw(version: string, arch: string): Promise {\n await setupChocoPack(\"mingw\", version)\n let binDir: string | undefined\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n await addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n await addPath(binDir)\n } else if (existsSync(`${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin/g++.exe`)) {\n binDir = `${process.env.ChocolateyInstall ?? \"C:/ProgramData/chocolatey\"}/bin`\n }\n if (binDir !== undefined) {\n return { binDir }\n }\n return undefined\n}\n\nasync function activateGcc(version: string, binDir: string) {\n const promises: Promise[] = []\n // Setup gcc as the compiler\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n // promises.push(\n // addEnv(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`),\n // addEnv(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`),\n // addEnv(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`),\n // addEnv(\"LDFLAGS\", `-L${installDir}/lib`),\n // addEnv(\"CPPFLAGS\", `-I${installDir}/include`)\n // )\n\n if (process.platform === \"win32\") {\n promises.push(addEnv(\"CC\", addBinExtension(`${binDir}/gcc`)), addEnv(\"CXX\", addBinExtension(`${binDir}/g++`)))\n } else {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n if (majorVersion >= 5) {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${majorVersion}`), addEnv(\"CXX\", `${binDir}/g++-${majorVersion}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${majorVersion}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${majorVersion}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${majorVersion}`)\n }\n } else {\n promises.push(addEnv(\"CC\", `${binDir}/gcc-${version}`), addEnv(\"CXX\", `${binDir}/g++-${version}`))\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"cxx\", `${binDir}/g++-${version}`)\n updateAptAlternatives(\"gcc\", `${binDir}/gcc-${version}`)\n updateAptAlternatives(\"g++\", `${binDir}/g++-${version}`)\n }\n }\n }\n\n promises.push(setupMacOSSDK())\n\n if (ciDetect() === \"github-actions\") {\n addGccLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\nfunction addGccLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"gcc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the gcc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import * as path from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isUrlOnline } from \"is-url-online\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport {\n getSpecificVersionAndUrl,\n getSpecificVersions,\n getVersions,\n semverCoerceIfInvalid,\n} from \"../utils/setup/version\"\nimport { setupMacOSSDK } from \"../macos-sdk/macos-sdk\"\nimport { addBinExtension } from \"extension-tools\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { setOutput } from \"@actions/core\"\nimport { setupAptPack, updateAptAlternatives } from \"../utils/setup/setupAptPack\"\nimport { info, warning } from \"../utils/io/io\"\nimport { existsSync } from \"fs\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport { setupGcc } from \"../gcc/gcc\"\nimport { getVersion } from \"../default_versions\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\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 \"13.0.0\",\n \"13.0.1\",\n \"14.0.0\",\n \"14.0.1\",\n \"14.0.2\",\n \"14.0.3\",\n \"14.0.4\",\n \"14.0.5\",\n \"14.0.6\",\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()\n\n/**\n * The (latest) Ubuntu versions for each LLVM version.\n *\n * https://github.com/llvm/llvm-project/releases/tag/llvmorg-14.0.1 or https://releases.llvm.org/14.0.1\n */\n// TODO change based on ubuntu version\nconst UBUNTU_SUFFIX_MAP: { [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\": \"-ubuntu-16.04\",\n \"13.0.0\": \"-ubuntu-20.04\",\n \"13.0.0-ubuntu-16.04\": \"-ubuntu-16.04\",\n \"13.0.0-ubuntu-20.04\": \"-ubuntu-20.04\",\n \"13.0.1\": \"-ubuntu-18.04\",\n \"13.0.1-ubuntu-18.04\": \"-ubuntu-18.04\",\n \"14.0.0\": \"-ubuntu-18.04\",\n // \"14.0.1\": \"-ubuntu-18.04\", // only available for powerpc64le\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"14.0.0\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nexport function 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 const givenUbuntuVersion = version.replace(/-ubuntu-.*/, \"\")\n if (!VERSIONS.has(givenUbuntuVersion)) {\n throw new Error(`Unsupported Ubuntu version: ${givenUbuntuVersion}`)\n }\n ubuntu = version.replace(givenUbuntuVersion, \"\")\n version = getSpecificVersions(VERSIONS, givenUbuntuVersion)[0]\n } else if (version !== \"\" && version in UBUNTU_SUFFIX_MAP) {\n ubuntu = UBUNTU_SUFFIX_MAP[version]\n } else {\n // default to the maximum version\n ubuntu = UBUNTU_SUFFIX_MAP[MAX_UBUNTU]\n warning(`Falling back to LLVM version ${MAX_UBUNTU} ${ubuntu} for the 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 isUrlOnline(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// Exports\n//================================================\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n binFileName: addBinExtension(\"clang\"),\n extractFunction:\n platform === \"win32\"\n ? extractExe\n : (file: string, dest: string) => {\n return extractTarByExe(file, dest, [\"--strip-components=1\"])\n },\n }\n}\n\nexport async function setupLLVM(version: string, setupDir: string, arch: string): Promise {\n const installationInfo = await _setupLLVM(version, setupDir, arch)\n await activateLLVM(installationInfo.installDir ?? setupDir, version)\n return installationInfo\n}\n\nlet didInit = false\nasync function _setupLLVM(version: string, setupDir: string, arch: string) {\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, setupDir, arch)\n if (!didInit) {\n if (process.platform === \"linux\") {\n // install llvm build dependencies\n await setupGcc(getVersion(\"gcc\", undefined), \"\", arch) // using llvm requires ld, an up to date libstdc++, etc. So, install gcc first\n if (isArch()) {\n // setupPacmanPack(\"ncurses\")\n // TODO: install libtinfo ?\n } else if (isUbuntu()) {\n await setupAptPack(\"libtinfo-dev\")\n }\n }\n // eslint-disable-next-line require-atomic-updates\n didInit = true\n }\n return installationInfo\n}\n\nexport async function activateLLVM(directory: string, versionGiven: string) {\n const version = semverCoerceIfInvalid(versionGiven)\n\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 const promises = [\n // the output of this action\n addEnv(\"LLVM_PATH\", directory),\n\n // Setup LLVM as the compiler\n addEnv(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`),\n addEnv(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`),\n\n // compiler flags\n addEnv(\"LDFLAGS\", `-L\"${directory}/lib\"`),\n addEnv(\"CPPFLAGS\", `-I\"${directory}/include\"`),\n\n // compiler paths\n addEnv(\"CC\", addBinExtension(`${directory}/bin/clang`)),\n addEnv(\"CXX\", addBinExtension(`${directory}/bin/clang++`)),\n\n addEnv(\"LIBRARY_PATH\", `${directory}/lib`),\n\n // os sdks\n setupMacOSSDK(),\n ]\n\n // windows builds fail with llvm's CPATH\n if (process.platform !== \"win32\") {\n const llvmMajor = semverMajor(version)\n if (existsSync(`${directory}/lib/clang/${version}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${version}/include`))\n } else if (existsSync(`${directory}/lib/clang/${llvmMajor}/include`)) {\n promises.push(addEnv(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`))\n }\n }\n\n if (isUbuntu()) {\n updateAptAlternatives(\"cc\", `${directory}/bin/clang`)\n updateAptAlternatives(\"cxx\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"clang\", `${directory}/bin/clang`)\n updateAptAlternatives(\"clang++\", `${directory}/bin/clang++`)\n updateAptAlternatives(\"lld\", `${directory}/bin/lld`)\n updateAptAlternatives(\"ld.lld\", `${directory}/bin/ld.lld`)\n updateAptAlternatives(\"llvm-ar\", `${directory}/bin/llvm-ar`)\n }\n\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n\n await Promise.all(promises)\n}\n\n/** Setup llvm tools (clang tidy, clang format, etc) without activating llvm and using it as the compiler */\nexport function setupClangTools(version: string, setupDir: string, arch: string): Promise {\n if (ciDetect() === \"github-actions\") {\n addLLVMLoggingMatcher()\n }\n return _setupLLVM(version, setupDir, arch)\n}\n\nfunction addLLVMLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"llvm_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the llvm_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n",null,null,"const core = require('@actions/core')\nconst child_process = require('child_process')\nconst fs = require('fs')\nconst path = require('path')\nconst process = require('process')\n\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\nconst PROGRAM_FILES = [process.env['ProgramFiles(x86)'], process.env['ProgramFiles']]\n\n\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\nconst YEARS = ['2022', '2019', '2017']\n\nconst VsYearVersion = {\n '2022': '17.0',\n '2019': '16.0',\n '2017': '15.0',\n '2015': '14.0',\n '2013': '12.0',\n}\n\nfunction vsversion_to_versionnumber(vsversion) {\n if (Object.values(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n if (vsversion in VsYearVersion) {\n return VsYearVersion[vsversion]\n }\n }\n return vsversion\n}\nexports.vsversion_to_versionnumber = vsversion_to_versionnumber\n\nfunction vsversion_to_year(vsversion) {\n if (Object.keys(VsYearVersion).includes(vsversion)) {\n return vsversion\n } else {\n for (const [year, ver] of Object.entries(VsYearVersion)) {\n if (ver === vsversion) {\n return year\n }\n }\n }\n return vsversion\n}\nexports.vsversion_to_year = vsversion_to_year\n\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\n\nfunction findWithVswhere(pattern, version_pattern) {\n try {\n let installationPath = child_process.execSync(`vswhere -products * ${version_pattern} -prerelease -property installationPath`).toString().trim()\n return installationPath + '\\\\' + pattern\n } catch (e) {\n core.warning(`vswhere failed: ${e}`)\n }\n return null\n}\nexports.findWithVswhere = findWithVswhere\n\nfunction findVcvarsall(vsversion) {\n const vsversion_number = vsversion_to_versionnumber(vsversion)\n let version_pattern\n if (vsversion_number) {\n const upper_bound = vsversion_number.split('.')[0] + '.9'\n version_pattern = `-version \"${vsversion_number},${upper_bound}\"`\n } else {\n version_pattern = \"-latest\"\n }\n\n // If vswhere is available, ask it about the location of the latest Visual Studio.\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat', version_pattern)\n if (path && fs.existsSync(path)) {\n core.info(`Found with vswhere: ${path}`)\n return path\n }\n core.info(\"Not found with vswhere\")\n\n // If that does not work, try the standard installation locations,\n // starting with the latest and moving to the oldest.\n const years = vsversion ? [vsversion_to_year(vsversion)] : YEARS\n for (const prog_files of PROGRAM_FILES) {\n for (const ver of years) {\n for (const ed of EDITIONS) {\n path = `${prog_files}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\n core.info(`Trying standard location: ${path}`)\n if (fs.existsSync(path)) {\n core.info(`Found standard location: ${path}`)\n return path\n }\n }\n }\n }\n core.info(\"Not found in standard locations\")\n\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\n if (fs.existsSync(path)) {\n core.info(`Found VS 2015: ${path}`)\n return path\n }\n core.info(`Not found in VS 2015 location: ${path}`)\n\n throw new Error('Microsoft Visual Studio not found')\n}\nexports.findVcvarsall = findVcvarsall\n\nfunction isPathVariable(name) {\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\n}\n\nfunction filterPathValue(path) {\n let paths = path.split(';')\n // Remove duplicates by keeping the first occurance and preserving order.\n // This keeps path shadowing working as intended.\n function unique(value, index, self) {\n return self.indexOf(value) === index\n }\n return paths.filter(unique).join(';')\n}\n\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre, vsversion) {\n if (process.platform != 'win32') {\n core.info('This is not a Windows virtual environment, bye!')\n return\n }\n\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\n process.env.PATH += path.delimiter + VSWHERE_PATH\n\n // There are all sorts of way the architectures are called. In addition to\n // values supported by Microsoft Visual C++, recognize some common aliases.\n let arch_aliases = {\n \"win32\": \"x86\",\n \"win64\": \"x64\",\n \"x86_64\": \"x64\",\n \"x86-64\": \"x64\",\n }\n // Ignore case when matching as that's what humans expect.\n if (arch.toLowerCase() in arch_aliases) {\n arch = arch_aliases[arch.toLowerCase()]\n }\n\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\n // Call the configuration batch file and then output *all* the environment variables.\n\n var args = [arch]\n if (uwp == 'true') {\n args.push('uwp')\n }\n if (sdk) {\n args.push(sdk)\n }\n if (toolset) {\n args.push(`-vcvars_ver=${toolset}`)\n }\n if (spectre == 'true') {\n args.push('-vcvars_spectre_libs=spectre')\n }\n\n const vcvars = `\"${findVcvarsall(vsversion)}\" ${args.join(' ')}`\n core.debug(`vcvars command-line: ${vcvars}`)\n\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, { shell: \"cmd\" }).toString()\n const cmd_output_parts = cmd_output_string.split('\\f')\n\n const old_environment = cmd_output_parts[0].split('\\r\\n')\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\n const new_environment = cmd_output_parts[2].split('\\r\\n')\n\n // If vsvars.bat is given an incorrect command line, it will print out\n // an error and *still* exit successfully. Parse out errors from output\n // which don't look like environment variables, and fail if appropriate.\n const error_messages = vcvars_output.filter((line) => {\n if (line.match(/^\\[ERROR.*\\]/)) {\n // Don't print this particular line which will be confusing in output.\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\n return true\n }\n }\n return false\n })\n if (error_messages.length > 0) {\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\n }\n\n // Convert old environment lines into a dictionary for easier lookup.\n let old_env_vars = {}\n for (let string of old_environment) {\n const [name, value] = string.split('=')\n old_env_vars[name] = value\n }\n\n // Now look at the new environment and export everything that changed.\n // These are the variables set by vsvars.bat. Also export everything\n // that was not there during the first sweep: those are new variables.\n core.startGroup('Environment variables')\n for (let string of new_environment) {\n // vsvars.bat likes to print some fluff at the beginning.\n // Skip lines that don't look like environment variables.\n if (!string.includes('=')) {\n continue;\n }\n let [name, new_value] = string.split('=')\n let old_value = old_env_vars[name]\n // For new variables \"old_value === undefined\".\n if (new_value !== old_value) {\n core.info(`Setting ${name}`)\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\n // just prepends its stuff without checking if its already there.\n // This makes repeated invocations of this action fail after some\n // point, when the environment variable overflows. Avoid that.\n if (isPathVariable(name)) {\n new_value = filterPathValue(new_value)\n }\n core.exportVariable(name, new_value)\n }\n }\n core.endGroup()\n\n core.info(`Configured Developer Command Prompt`)\n}\nexports.setupMSVCDevCmd = setupMSVCDevCmd","import { existsSync } from \"fs\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { setupMSVCDevCmd } from \"msvc-dev-cmd/lib.js\"\nimport { addEnv } from \"../utils/env/addEnv\"\nimport { info } from \"../utils/io/io\"\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 setupVCVarsall(\n vsversion: string,\n VCTargetsPath: string | undefined,\n arch: string,\n toolset: string | undefined,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n info(`Adding ${VCTargetsPath} to PATH`)\n await addEnv(\"VCTargetsPath\", VCTargetsPath)\n }\n\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre, vsversion)\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { setupVCVarsall } from \"../vcvarsall/vcvarsall\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport { vsversion_to_versionnumber, findVcvarsall } from \"msvc-dev-cmd/lib.js\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport path from \"path\"\nimport { existsSync } from \"fs\"\nimport { error, info, warning } from \"../utils/io/io\"\n\ntype MSVCVersion = \"2022\" | \"17.0\" | \"2019\" | \"16.0\" | \"2017\" | \"15.0\" | \"2015\" | \"14.0\" | \"2013\" | \"12.0\" | string\n\nexport async function setupMSVC(\n versionGiven: MSVCVersion,\n _setupDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n) {\n if (process.platform !== \"win32\") {\n return\n }\n const version = vsversion_to_versionnumber(versionGiven) as string\n\n // check if the given version is already installed\n info(`Checking if MSVC ${version} is already installed`)\n let installed = false\n try {\n const vcvarsall_path = findVcvarsall(version) as string\n installed = true\n info(`Found the pre-installed version of MSVC at ${vcvarsall_path}`)\n } catch {\n // not installed, try installing\n }\n\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n // https://github.com/aminya/setup-cpp/issues/1\n if (!installed) {\n try {\n if (version === \"14.0\") {\n toolset = \"14.0\"\n await setupChocoPack(\"visualcpp-build-tools\", \"14.0.25420.1\", [\"--ignore-dependencies\"])\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n } else if (version === \"15.0\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.41.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"16.0\") {\n toolset = \"14.29\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.7.0\", [])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n } else if (version === \"17.0\") {\n toolset = undefined\n await setupChocoPack(\"visualstudio2022buildtools\", \"117.0.5.0\", [])\n VCTargetsPath = undefined\n } else {\n error(`The given MSVC versions ${versionGiven} is not supported yet.`)\n }\n } catch (e) {\n error(e as string | Error)\n }\n }\n // run vcvarsall.bat environment variables\n await setupVCVarsall(version, VCTargetsPath, arch, toolset, sdk, uwp, spectre)\n\n if (ciDetect() === \"github-actions\") {\n addMSVCLoggingMatcher()\n }\n}\n\nfunction addMSVCLoggingMatcher() {\n const matcherPath = path.join(__dirname, \"msvc_matcher.json\")\n if (!existsSync(matcherPath)) {\n return warning(\"the msvc_matcher.json file does not exist in the same folder as setup_cpp.js\")\n }\n info(`::add-matcher::${matcherPath}`)\n}\n","import { addBinExtension } from \"extension-tools\"\nimport { extractZip } from \"../utils/setup/extract\"\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 */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform, _arch: string): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n binFileName: addBinExtension(\"ninja\"),\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\nexport function setupNinja(version: string, setupDir: string, arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupDir, arch)\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","import execa from \"execa\"\nimport { join } from \"path\"\nimport which from \"which\"\nimport { setupCmake } from \"../cmake/cmake\"\nimport { getVersion } from \"../default_versions\"\nimport { addBinExtension } from \"extension-tools\"\nimport { extractTarByExe } from \"../utils/setup/extract\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { addVPrefix, removeVPrefix } from \"../utils/setup/version\"\nimport { info } from \"../utils/io/io\"\nimport { untildifyUser } from \"untildify-user\"\nimport { setupNinja } from \"../ninja/ninja\"\n\nfunction getDownloadKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/releases/download/${version}/kcov-amd64.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"usr/local/bin\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: extractTarByExe,\n }\n}\n\nfunction getBuildKcovPackageInfo(version: string): PackageInfo {\n return {\n url: `https://github.com/SimonKagstrom/kcov/archive/refs/tags/${version}.tar.gz`,\n extractedFolderName: \"\",\n binRelativeDir: \"build/src\",\n binFileName: addBinExtension(\"kcov\"),\n extractFunction: buildKcov,\n }\n}\n\nasync function buildKcov(file: string, dest: string) {\n const out = await extractTarByExe(file, dest, [\"--strip-components=1\"])\n\n // build after extraction using CMake\n const cmake = await getCmake()\n\n if (process.platform === \"linux\") {\n if (isArch()) {\n setupPacmanPack(\"libdwarf\")\n setupPacmanPack(\"libcurl-openssl\")\n } else if (hasDnf()) {\n setupDnfPack(\"libdwarf-devel\")\n setupDnfPack(\"libcurl-devel\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libdw-dev\")\n await setupAptPack(\"libcurl4-openssl-dev\")\n }\n }\n const buildDir = join(out, \"build\")\n await execa(cmake, [\"-S\", out, \"-B\", buildDir, \"-DCMAKE_BUILD_TYPE=Release\", \"-G\", \"Ninja\"], {\n cwd: out,\n stdio: \"inherit\",\n })\n await execa(cmake, [\"--build\", buildDir, \"--config\", \"Release\"], { cwd: out, stdio: \"inherit\" })\n // execRootSync(cmake, [\"--install\", buildDir], out)\n // return \"user/local/bin\" // the cmake install prefix\n return out\n}\n\nasync function getCmake() {\n let cmake = which.sync(\"cmake\", { nothrow: true })\n if (cmake === null) {\n const { binDir } = await setupCmake(getVersion(\"cmake\", undefined), join(untildifyUser(\"\"), \"cmake\"), \"\")\n cmake = join(binDir, \"cmake\")\n }\n const ninja = which.sync(\"ninja\", { nothrow: true })\n if (ninja === null) {\n await setupNinja(getVersion(\"ninja\", undefined), join(untildifyUser(\"\"), \"ninja\"), \"\")\n }\n return cmake\n}\n\nexport async function setupKcov(versionGiven: string, setupDir: string, arch: string) {\n if (process.platform !== \"linux\") {\n info(\"Kcov is not supported on non-linux\")\n return\n }\n\n // parse version\n const versionSplit = versionGiven.split(\"-\")\n let version = addVPrefix(versionSplit[0])\n const installMethod = versionSplit[1] as \"binary\" | undefined\n const version_number = removeVPrefix(version)\n // fix inconsistency in tagging\n if (version_number === 38) {\n version = \"v38\"\n }\n\n let installationInfo: InstallationInfo\n if (installMethod === \"binary\" && version_number >= 39) {\n installationInfo = await setupBin(\"kcov\", version, getDownloadKcovPackageInfo, setupDir, arch)\n if (isArch()) {\n setupPacmanPack(\"binutils\")\n } else if (hasDnf()) {\n setupDnfPack(\"binutils\")\n } else if (isUbuntu()) {\n await setupAptPack(\"libbinutils\")\n }\n return installationInfo\n } else {\n installationInfo = await setupBin(\"kcov\", version, getBuildKcovPackageInfo, setupDir, arch)\n }\n return installationInfo\n}\n","import { getInput, endGroup, startGroup, notice } from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupMake } from \"./make/make\"\nimport { setupTask } from \"./task/task\"\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, setupClangTools } 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\"\nimport { untildifyUser } from \"untildify-user\"\nimport ciDetect from \"@npmcli/ci-detect\"\nimport * as timeDelta from \"time-delta\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport timeDeltaLocale from \"time-delta/locales/en.js\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport * as numerous from \"numerous\"\n// eslint-disable-next-line @typescript-eslint/ban-ts-comment\n// @ts-ignore\nimport numerousLocale from \"numerous/locales/en.js\"\nimport { ubuntuVersion } from \"./utils/env/ubuntu_version\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion, syncVersions } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, info, success, warning } from \"./utils/io/io\"\nimport { setupVcpkg } from \"./vcpkg/vcpkg\"\nimport { join } from \"path\"\nimport { setupVCVarsall } from \"./vcvarsall/vcvarsall\"\nimport { setupKcov } from \"./kcov/kcov\"\nimport { addEnv } from \"./utils/env/addEnv\"\nimport { setupSevenZip } from \"./sevenzip/sevenzip\"\nimport { setupGraphviz } from \"./graphviz/graphviz\"\nimport { setupNala } from \"./nala/nala\"\nimport { setupBazel } from \"./bazel/bazel\"\n\n/** The setup functions */\nconst setups = {\n nala: setupNala,\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n vcpkg: setupVcpkg,\n bazel: setupBazel,\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 graphviz: setupGraphviz,\n cppcheck: setupCppcheck,\n clangtidy: setupClangTools,\n clangformat: setupClangTools,\n msvc: setupMSVC,\n vcvarsall: setupVCVarsall,\n kcov: setupKcov,\n make: setupMake,\n task: setupTask,\n sevenzip: setupSevenZip,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"nala\",\n \"choco\",\n \"brew\",\n \"python\",\n \"vcpkg\",\n \"bazel\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"graphviz\",\n \"cppcheck\",\n \"clangtidy\",\n \"clangformat\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n \"vcvarsall\",\n \"kcov\",\n \"make\",\n \"task\",\n \"sevenzip\",\n]\n\n/** The possible inputs to the program */\nexport type 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 if (ciDetect() !== \"github-actions\") {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = parseArgs(args)\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 ?? untildifyUser(\"\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n const timeFormatter = timeDelta.create({ autoloadLocales: true })\n timeDelta.addLocale(timeDeltaLocale as timeDelta.Locale)\n numerous.addLocale(numerousLocale)\n let time1: number\n let time2: number\n\n // installing the specified tools\n\n let osVersion: number[] | null = null\n try {\n // get the version if not already done\n osVersion = await ubuntuVersion()\n } catch (err) {\n warning((err as Error).toString())\n }\n\n // sync the version for the llvm tools\n if (!syncVersions(opts, [\"llvm\", \"clangtidy\", \"clangformat\"])) {\n error(\"The same version must be used for llvm, clangformat and clangtidy\")\n return 1\n }\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 version = opts[tool]\n\n // skip if undefined\n if (version !== undefined) {\n // running the setup function for this tool\n time1 = Date.now()\n startGroup(`Installing ${tool} ${version}`)\n try {\n let installationInfo: InstallationInfo | undefined | void\n if (tool === \"vcvarsall\") {\n // eslint-disable-next-line no-await-in-loop\n await setupVCVarsall(\n getVersion(tool, version, osVersion),\n undefined,\n arch,\n undefined,\n undefined,\n false,\n false\n )\n } else {\n // get the setup function\n const setupFunction = setups[tool]\n\n // the tool installation directory (for the functions that ue it)\n const setupDir = join(setupCppDir, [\"llvm\", \"clangformat\", \"clangtidy\"].includes(tool) ? \"llvm\" : tool)\n\n // eslint-disable-next-line no-await-in-loop\n installationInfo = await setupFunction(getVersion(tool, version, osVersion), setupDir, arch)\n }\n // preparing a report string\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n time1 = Date.now()\n try {\n if (maybeCompiler !== undefined) {\n const { compiler, version } = getCompilerInfo(maybeCompiler)\n\n // install the compiler. We allow some aliases for the compiler name\n startGroup(`Installing ${compiler} ${version ?? \"\"}`)\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n const installationInfo = await setupLLVM(\n getVersion(\"llvm\", version, osVersion),\n join(setupCppDir, \"llvm\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"llvm\", installationInfo))\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n const installationInfo = await setupGcc(getVersion(\"gcc\", version, osVersion), join(setupCppDir, \"gcc\"), arch)\n successMessages.push(getSuccessMessage(\"gcc\", installationInfo))\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 const installationInfo = await setupMSVC(\n getVersion(\"msvc\", version, osVersion),\n join(setupCppDir, \"msvc\"),\n arch\n )\n successMessages.push(getSuccessMessage(\"msvc\", installationInfo))\n break\n }\n case \"appleclang\":\n case \"applellvm\": {\n notice(\"Assuming apple-clang is already installed\")\n await Promise.all([addEnv(\"CC\", \"clang\"), addEnv(\"CXX\", \"clang++\")])\n successMessages.push(getSuccessMessage(\"apple-clang\", undefined))\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n endGroup()\n time2 = Date.now()\n info(`took ${timeFormatter.format(time1, time2) || \"0 seconds\"}`)\n }\n\n if (successMessages.length === 0 && errorMessages.length === 0) {\n warning(\"setup_cpp was called without any arguments. Nothing to do.\")\n return 0\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n info(\"setup_cpp finished\")\n\n if (ciDetect() !== \"github-actions\") {\n switch (process.platform) {\n case \"win32\": {\n warning(\"Run `RefreshEnv.cmd` or restart your shell to update the environment.\")\n break\n }\n case \"linux\":\n case \"darwin\": {\n warning(\"Run `source ~/.cpprc` or restart your shell to update the environment.\")\n break\n }\n default: {\n // nothing\n }\n }\n }\n\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((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nexport type Opts = mri.Argv<\n Record & {\n help: boolean\n }\n>\n\nexport function parseArgs(args: string[]): Opts {\n return 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\n/** Detecting the compiler version. Divide the given string by `-` and use the second element as the version */\nexport function getCompilerInfo(maybeCompiler: string) {\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n return { compiler, version: maybeVersion }\n } else {\n info(`Invalid semver version ${maybeVersion} used for the compiler.`)\n return { compiler, version: maybeVersion }\n }\n }\n return { compiler, version: undefined }\n}\n\nfunction printHelp() {\n info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --vcpkg true\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-13.0.0'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool. e.g. --conan true or --conan \"1.42.1\"\n\nAll the available tools:\n--llvm\n--gcc\n--vcvarsall\n--cmake\n--ninja\n--vcpkg\n--bazel\n--meson\n--conan\n--make\n--task\n--ccache\n--cppcheck\n--clangformat\n--clangtidy\n--doxygen\n--gcovr\n--opencppcoverage\n--kcov\n\n--python\n--choco\n--brew\n--nala\n--sevenzip\n--graphviz\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = 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 | undefined | void) {\n let msg = `✅ ${tool} was installed successfully:`\n if (installationInfo === undefined) {\n return msg\n }\n if (\"installDir\" in installationInfo) {\n msg += `\\n- The installation directory is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\n- The binary directory is ${installationInfo.binDir}`\n }\n return msg\n}\n","import { getUbuntuVersion } from \"ubuntu-version\"\nimport which from \"which\"\nimport { setupAptPack } from \"../setup/setupAptPack\"\nimport { isUbuntu } from \"./isUbuntu\"\n\nexport async function ubuntuVersion(): Promise {\n if (isUbuntu()) {\n if (which.sync(\"lsb_release\", { nothrow: true }) === null) {\n await setupAptPack(\"lsb-release\")\n }\n const versionSplitted = await getUbuntuVersion()\n\n if (versionSplitted.length === 0) {\n throw new Error(\"Failed to get the ubuntu major version.\")\n }\n\n return versionSplitted\n } else {\n return null\n }\n}\n",null,null,null,null,null,null,null,"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",null,null,null,"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","import * as core from \"@actions/core\"\nimport ciDetect from \"@npmcli/ci-detect\"\n\nexport function error(err: string | Error) {\n return ciDetect() === \"github-actions\" ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n\nexport function warning(msg: string) {\n return ciDetect() === \"github-actions\" ? core.warning(msg) : console.log(`\\x1b[33m${msg}\\x1b[0m`)\n}\n\nexport function notice(msg: string) {\n return ciDetect() === \"github-actions\" ? core.notice(msg) : console.log(`\\x1b[94m${msg}\\x1b[0m`)\n}\n\nexport function info(msg: string) {\n return ciDetect() === \"github-actions\" ? core.info(msg) : console.log(msg)\n}\n","module.exports = () =>\n process.env.GERRIT_PROJECT ? 'gerrit'\n : process.env.SYSTEM_TEAMFOUNDATIONCOLLECTIONURI ? 'azure-pipelines'\n : process.env.BITRISE_IO ? 'bitrise'\n : process.env.BUDDY_WORKSPACE_ID ? 'buddy'\n : process.env.BUILDKITE ? 'buildkite'\n : process.env.CIRRUS_CI ? 'cirrus'\n : process.env.GITLAB_CI ? 'gitlab'\n : process.env.APPVEYOR ? 'appveyor'\n : process.env.CIRCLECI ? 'circle-ci'\n : process.env.SEMAPHORE ? 'semaphore'\n : process.env.DRONE ? 'drone'\n : process.env.DSARI ? 'dsari'\n : process.env.GITHUB_ACTION ? 'github-actions'\n : process.env.TDDIUM ? 'tddium'\n : process.env.SCREWDRIVER ? 'screwdriver'\n : process.env.STRIDER ? 'strider'\n : process.env.TASKCLUSTER_ROOT_URL ? 'taskcluster'\n : process.env.JENKINS_URL ? 'jenkins'\n : process.env['bamboo.buildKey'] ? 'bamboo'\n : process.env.GO_PIPELINE_NAME ? 'gocd'\n : process.env.HUDSON_URL ? 'hudson'\n : process.env.WERCKER ? 'wercker'\n : process.env.NETLIFY ? 'netlify'\n : process.env.NOW_GITHUB_DEPLOYMENT ? 'now-github'\n : process.env.GITLAB_DEPLOYMENT ? 'now-gitlab'\n : process.env.BITBUCKET_DEPLOYMENT ? 'now-bitbucket'\n : process.env.BITBUCKET_BUILD_NUMBER ? 'bitbucket-pipelines'\n : process.env.NOW_BUILDER ? 'now'\n : process.env.VERCEL_GITHUB_DEPLOYMENT ? 'vercel-github'\n : process.env.VERCEL_GITLAB_DEPLOYMENT ? 'vercel-gitlab'\n : process.env.VERCEL_BITBUCKET_DEPLOYMENT ? 'vercel-bitbucket'\n : process.env.VERCEL_URL ? 'vercel'\n : process.env.MAGNUM ? 'magnum'\n : process.env.NEVERCODE ? 'nevercode'\n : process.env.RENDER ? 'render'\n : process.env.SAIL_CI ? 'sail'\n : process.env.SHIPPABLE ? 'shippable'\n : process.env.TEAMCITY_VERSION ? 'teamcity'\n // codeship and a few others\n : process.env.CI_NAME ? process.env.CI_NAME\n // heroku doesn't set envs other than node in a heroku-specific location\n : /\\/\\.heroku\\/node\\/bin\\/node$/.test(process.env.NODE || '') ? 'heroku'\n // test travis after the others, since several CI systems mimic it\n : process.env.TRAVIS ? 'travis-ci'\n // aws CodeBuild/CodePipeline\n : process.env.CODEBUILD_SRC_DIR ? 'aws-codebuild'\n : process.env.CI === 'true' || process.env.CI === '1' ? 'custom'\n // Google Cloud Build - it sets almost nothing\n : process.env.BUILDER_OUTPUT ? 'builder'\n : false\n","// This is not the set of all possible signals.\n//\n// It IS, however, the set of all signals that trigger\n// an exit on either Linux or BSD systems. Linux is a\n// superset of the signal names supported on BSD, and\n// the unknown signals just fail to register, so we can\n// catch that easily enough.\n//\n// Don't bother with SIGKILL. It's uncatchable, which\n// means that we can't fire any callbacks anyway.\n//\n// If a user does happen to register a handler on a non-\n// fatal signal like SIGWINCH or something, and then\n// exit, it'll end up firing `process.emit('exit')`, so\n// the handler will be fired anyway.\n//\n// SIGBUS, SIGFPE, SIGSEGV and SIGILL, when not raised\n// artificially, inherently leave the process in a\n// state from which it is not safe to try and enter JS\n// listeners.\nmodule.exports = [\n 'SIGABRT',\n 'SIGALRM',\n 'SIGHUP',\n 'SIGINT',\n 'SIGTERM'\n]\n\nif (process.platform !== 'win32') {\n module.exports.push(\n 'SIGVTALRM',\n 'SIGXCPU',\n 'SIGXFSZ',\n 'SIGUSR2',\n 'SIGTRAP',\n 'SIGSYS',\n 'SIGQUIT',\n 'SIGIOT'\n // should detect profiler and enable/disable accordingly.\n // see #21\n // 'SIGPROF'\n )\n}\n\nif (process.platform === 'linux') {\n module.exports.push(\n 'SIGIO',\n 'SIGPOLL',\n 'SIGPWR',\n 'SIGSTKFLT',\n 'SIGUNUSED'\n )\n}\n",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(name, 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 (compareIdentifiers(this.prerelease[0], identifier) === 0) {\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((o, k) => {\n o[k] = true\n return o\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(\n version instanceof SemVer ? version.version : version,\n options\n ).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 }\n if (typeof b === 'object') {\n b = b.version\n }\n return a === b\n\n case '!==':\n if (typeof a === 'object') {\n a = a.version\n }\n if (typeof b === 'object') {\n b = b.version\n }\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\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\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('||')\n // map the range to a 2d array of comparators\n .map(r => this.parseRange(r.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\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)\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 let 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\n if (loose) {\n // in loose mode, throw out any that are not valid comparators\n rangeList = rangeList.filter(comp => {\n debug('loose invalid filter', comp, this.options)\n return !!comp.match(re[t.COMPARATORLOOSE])\n })\n }\n debug('range list', rangeList)\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 rangeMap = new Map()\n const comparators = rangeList.map(comp => new Comparator(comp, this.options))\n for (const comp of comparators) {\n if (isNullSet(comp)) {\n return [comp]\n }\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has('')) {\n rangeMap.delete('')\n }\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((c) => {\n return replaceTilde(c, 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((c) => {\n return replaceCaret(c, 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((c) => {\n return replaceXRange(c, 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\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","const perf = typeof performance === 'object' && performance &&\n typeof performance.now === 'function' ? performance : Date\n\nconst hasAbortController = typeof AbortController !== 'undefined'\n\n// minimal backwards-compatibility polyfill\nconst AC = hasAbortController ? AbortController : Object.assign(\n class AbortController {\n constructor () { this.signal = new AC.AbortSignal }\n abort () { this.signal.aborted = true }\n },\n { AbortSignal: class AbortSignal { constructor () { this.aborted = false }}}\n)\n\nconst warned = new Set()\nconst deprecatedOption = (opt, instead) => {\n const code = `LRU_CACHE_OPTION_${opt}`\n if (shouldWarn(code)) {\n warn(code, `${opt} option`, `options.${instead}`, LRUCache)\n }\n}\nconst deprecatedMethod = (method, instead) => {\n const code = `LRU_CACHE_METHOD_${method}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, method)\n warn(code, `${method} method`, `cache.${instead}()`, get)\n }\n}\nconst deprecatedProperty = (field, instead) => {\n const code = `LRU_CACHE_PROPERTY_${field}`\n if (shouldWarn(code)) {\n const { prototype } = LRUCache\n const { get } = Object.getOwnPropertyDescriptor(prototype, field)\n warn(code, `${field} property`, `cache.${instead}`, get)\n }\n}\n\nconst emitWarning = (...a) => {\n typeof process === 'object' &&\n process &&\n typeof process.emitWarning === 'function'\n ? process.emitWarning(...a)\n : console.error(...a)\n}\n\nconst shouldWarn = code => !warned.has(code)\n\nconst warn = (code, what, instead, fn) => {\n warned.add(code)\n const msg = `The ${what} is deprecated. Please use ${instead} instead.`\n emitWarning(msg, 'DeprecationWarning', code, fn)\n}\n\nconst isPosInt = n => n && n === Math.floor(n) && n > 0 && isFinite(n)\n\n/* istanbul ignore next - This is a little bit ridiculous, tbh.\n * The maximum array length is 2^32-1 or thereabouts on most JS impls.\n * And well before that point, you're caching the entire world, I mean,\n * that's ~32GB of just integers for the next/prev links, plus whatever\n * else to hold that many keys and values. Just filling the memory with\n * zeroes at init time is brutal when you get that big.\n * But why not be complete?\n * Maybe in the future, these limits will have expanded. */\nconst getUintArray = max => !isPosInt(max) ? null\n: max <= Math.pow(2, 8) ? Uint8Array\n: max <= Math.pow(2, 16) ? Uint16Array\n: max <= Math.pow(2, 32) ? Uint32Array\n: max <= Number.MAX_SAFE_INTEGER ? ZeroArray\n: null\n\nclass ZeroArray extends Array {\n constructor (size) {\n super(size)\n this.fill(0)\n }\n}\n\nclass Stack {\n constructor (max) {\n if (max === 0) {\n return []\n }\n const UintArray = getUintArray(max)\n this.heap = new UintArray(max)\n this.length = 0\n }\n push (n) {\n this.heap[this.length++] = n\n }\n pop () {\n return this.heap[--this.length]\n }\n}\n\nclass LRUCache {\n constructor (options = {}) {\n const {\n max = 0,\n ttl,\n ttlResolution = 1,\n ttlAutopurge,\n updateAgeOnGet,\n updateAgeOnHas,\n allowStale,\n dispose,\n disposeAfter,\n noDisposeOnSet,\n noUpdateTTL,\n maxSize = 0,\n sizeCalculation,\n fetchMethod,\n } = options\n\n // deprecated options, don't trigger a warning for getting them if\n // the thing being passed in is another LRUCache we're copying.\n const {\n length,\n maxAge,\n stale,\n } = options instanceof LRUCache ? {} : options\n\n if (max !== 0 && !isPosInt(max)) {\n throw new TypeError('max option must be a nonnegative integer')\n }\n\n const UintArray = max ? getUintArray(max) : Array\n if (!UintArray) {\n throw new Error('invalid max value: ' + max)\n }\n\n this.max = max\n this.maxSize = maxSize\n this.sizeCalculation = sizeCalculation || length\n if (this.sizeCalculation) {\n if (!this.maxSize) {\n throw new TypeError('cannot set sizeCalculation without setting maxSize')\n }\n if (typeof this.sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation set to non-function')\n }\n }\n\n this.fetchMethod = fetchMethod || null\n if (this.fetchMethod && typeof this.fetchMethod !== 'function') {\n throw new TypeError('fetchMethod must be a function if specified')\n }\n\n this.keyMap = new Map()\n this.keyList = new Array(max).fill(null)\n this.valList = new Array(max).fill(null)\n this.next = new UintArray(max)\n this.prev = new UintArray(max)\n this.head = 0\n this.tail = 0\n this.free = new Stack(max)\n this.initialFill = 1\n this.size = 0\n\n if (typeof dispose === 'function') {\n this.dispose = dispose\n }\n if (typeof disposeAfter === 'function') {\n this.disposeAfter = disposeAfter\n this.disposed = []\n } else {\n this.disposeAfter = null\n this.disposed = null\n }\n this.noDisposeOnSet = !!noDisposeOnSet\n this.noUpdateTTL = !!noUpdateTTL\n\n if (this.maxSize !== 0) {\n if (!isPosInt(this.maxSize)) {\n throw new TypeError('maxSize must be a positive integer if specified')\n }\n this.initializeSizeTracking()\n }\n\n this.allowStale = !!allowStale || !!stale\n this.updateAgeOnGet = !!updateAgeOnGet\n this.updateAgeOnHas = !!updateAgeOnHas\n this.ttlResolution = isPosInt(ttlResolution) || ttlResolution === 0\n ? ttlResolution : 1\n this.ttlAutopurge = !!ttlAutopurge\n this.ttl = ttl || maxAge || 0\n if (this.ttl) {\n if (!isPosInt(this.ttl)) {\n throw new TypeError('ttl must be a positive integer if specified')\n }\n this.initializeTTLTracking()\n }\n\n // do not allow completely unbounded caches\n if (this.max === 0 && this.ttl === 0 && this.maxSize === 0) {\n throw new TypeError('At least one of max, maxSize, or ttl is required')\n }\n if (!this.ttlAutopurge && !this.max && !this.maxSize) {\n const code = 'LRU_CACHE_UNBOUNDED'\n if (shouldWarn(code)) {\n warned.add(code)\n const msg = 'TTL caching without ttlAutopurge, max, or maxSize can ' +\n 'result in unbounded memory consumption.'\n emitWarning(msg, 'UnboundedCacheWarning', code, LRUCache)\n }\n }\n\n if (stale) {\n deprecatedOption('stale', 'allowStale')\n }\n if (maxAge) {\n deprecatedOption('maxAge', 'ttl')\n }\n if (length) {\n deprecatedOption('length', 'sizeCalculation')\n }\n }\n\n getRemainingTTL (key) {\n return this.has(key, { updateAgeOnHas: false }) ? Infinity : 0\n }\n\n initializeTTLTracking () {\n this.ttls = new ZeroArray(this.max)\n this.starts = new ZeroArray(this.max)\n\n this.setItemTTL = (index, ttl) => {\n this.starts[index] = ttl !== 0 ? perf.now() : 0\n this.ttls[index] = ttl\n if (ttl !== 0 && this.ttlAutopurge) {\n const t = setTimeout(() => {\n if (this.isStale(index)) {\n this.delete(this.keyList[index])\n }\n }, ttl + 1)\n /* istanbul ignore else - unref() not supported on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n }\n\n this.updateItemAge = (index) => {\n this.starts[index] = this.ttls[index] !== 0 ? perf.now() : 0\n }\n\n // debounce calls to perf.now() to 1s so we're not hitting\n // that costly call repeatedly.\n let cachedNow = 0\n const getNow = () => {\n const n = perf.now()\n if (this.ttlResolution > 0) {\n cachedNow = n\n const t = setTimeout(() => cachedNow = 0, this.ttlResolution)\n /* istanbul ignore else - not available on all platforms */\n if (t.unref) {\n t.unref()\n }\n }\n return n\n }\n\n this.getRemainingTTL = (key) => {\n const index = this.keyMap.get(key)\n if (index === undefined) {\n return 0\n }\n return this.ttls[index] === 0 || this.starts[index] === 0 ? Infinity\n : ((this.starts[index] + this.ttls[index]) - (cachedNow || getNow()))\n }\n\n this.isStale = (index) => {\n return this.ttls[index] !== 0 && this.starts[index] !== 0 &&\n ((cachedNow || getNow()) - this.starts[index] > this.ttls[index])\n }\n }\n updateItemAge (index) {}\n setItemTTL (index, ttl) {}\n isStale (index) { return false }\n\n initializeSizeTracking () {\n this.calculatedSize = 0\n this.sizes = new ZeroArray(this.max)\n this.removeItemSize = index => this.calculatedSize -= this.sizes[index]\n this.requireSize = (k, v, size, sizeCalculation) => {\n if (!isPosInt(size)) {\n if (sizeCalculation) {\n if (typeof sizeCalculation !== 'function') {\n throw new TypeError('sizeCalculation must be a function')\n }\n size = sizeCalculation(v, k)\n if (!isPosInt(size)) {\n throw new TypeError('sizeCalculation return invalid (expect positive integer)')\n }\n } else {\n throw new TypeError('invalid size value (must be positive integer)')\n }\n }\n return size\n }\n this.addItemSize = (index, v, k, size) => {\n this.sizes[index] = size\n const maxSize = this.maxSize - this.sizes[index]\n while (this.calculatedSize > maxSize) {\n this.evict(true)\n }\n this.calculatedSize += this.sizes[index]\n }\n this.delete = k => {\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n this.calculatedSize -= this.sizes[index]\n }\n }\n return LRUCache.prototype.delete.call(this, k)\n }\n }\n removeItemSize (index) {}\n addItemSize (index, v, k, size) {}\n requireSize (k, v, size, sizeCalculation) {\n if (size || sizeCalculation) {\n throw new TypeError('cannot set size without setting maxSize on cache')\n }\n }\n\n *indexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.tail; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.head) {\n break\n } else {\n i = this.prev[i]\n }\n }\n }\n }\n\n *rindexes ({ allowStale = this.allowStale } = {}) {\n if (this.size) {\n for (let i = this.head; true; ) {\n if (!this.isValidIndex(i)) {\n break\n }\n if (allowStale || !this.isStale(i)) {\n yield i\n }\n if (i === this.tail) {\n break\n } else {\n i = this.next[i]\n }\n }\n }\n }\n\n isValidIndex (index) {\n return this.keyMap.get(this.keyList[index]) === index\n }\n\n *entries () {\n for (const i of this.indexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n *rentries () {\n for (const i of this.rindexes()) {\n yield [this.keyList[i], this.valList[i]]\n }\n }\n\n *keys () {\n for (const i of this.indexes()) {\n yield this.keyList[i]\n }\n }\n *rkeys () {\n for (const i of this.rindexes()) {\n yield this.keyList[i]\n }\n }\n\n *values () {\n for (const i of this.indexes()) {\n yield this.valList[i]\n }\n }\n *rvalues () {\n for (const i of this.rindexes()) {\n yield this.valList[i]\n }\n }\n\n [Symbol.iterator] () {\n return this.entries()\n }\n\n find (fn, getOptions = {}) {\n for (const i of this.indexes()) {\n if (fn(this.valList[i], this.keyList[i], this)) {\n return this.get(this.keyList[i], getOptions)\n }\n }\n }\n\n forEach (fn, thisp = this) {\n for (const i of this.indexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n rforEach (fn, thisp = this) {\n for (const i of this.rindexes()) {\n fn.call(thisp, this.valList[i], this.keyList[i], this)\n }\n }\n\n get prune () {\n deprecatedMethod('prune', 'purgeStale')\n return this.purgeStale\n }\n\n purgeStale () {\n let deleted = false\n for (const i of this.rindexes({ allowStale: true })) {\n if (this.isStale(i)) {\n this.delete(this.keyList[i])\n deleted = true\n }\n }\n return deleted\n }\n\n dump () {\n const arr = []\n for (const i of this.indexes()) {\n const key = this.keyList[i]\n const value = this.valList[i]\n const entry = { value }\n if (this.ttls) {\n entry.ttl = this.ttls[i]\n }\n if (this.sizes) {\n entry.size = this.sizes[i]\n }\n arr.unshift([key, entry])\n }\n return arr\n }\n\n load (arr) {\n this.clear()\n for (const [key, entry] of arr) {\n this.set(key, entry.value, entry)\n }\n }\n\n dispose (v, k, reason) {}\n\n set (k, v, {\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n size = this.requireSize(k, v, size, sizeCalculation)\n let index = this.size === 0 ? undefined : this.keyMap.get(k)\n if (index === undefined) {\n // addition\n index = this.newIndex()\n this.keyList[index] = k\n this.valList[index] = v\n this.keyMap.set(k, index)\n this.next[this.tail] = index\n this.prev[index] = this.tail\n this.tail = index\n this.size ++\n this.addItemSize(index, v, k, size)\n noUpdateTTL = false\n } else {\n // update\n const oldVal = this.valList[index]\n if (v !== oldVal) {\n if (this.isBackgroundFetch(oldVal)) {\n oldVal.__abortController.abort()\n } else {\n if (!noDisposeOnSet) {\n this.dispose(oldVal, k, 'set')\n if (this.disposeAfter) {\n this.disposed.push([oldVal, k, 'set'])\n }\n }\n }\n this.removeItemSize(index)\n this.valList[index] = v\n this.addItemSize(index, v, k, size)\n }\n this.moveToTail(index)\n }\n if (ttl !== 0 && this.ttl === 0 && !this.ttls) {\n this.initializeTTLTracking()\n }\n if (!noUpdateTTL) {\n this.setItemTTL(index, ttl)\n }\n if (this.disposeAfter) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return this\n }\n\n newIndex () {\n if (this.size === 0) {\n return this.tail\n }\n if (this.size === this.max && this.max !== 0) {\n return this.evict(false)\n }\n if (this.free.length !== 0) {\n return this.free.pop()\n }\n // initial fill, just keep writing down the list\n return this.initialFill++\n }\n\n pop () {\n if (this.size) {\n const val = this.valList[this.head]\n this.evict(true)\n return val\n }\n }\n\n evict (free) {\n const head = this.head\n const k = this.keyList[head]\n const v = this.valList[head]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'evict')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'evict'])\n }\n }\n this.removeItemSize(head)\n // if we aren't about to use the index, then null these out\n if (free) {\n this.keyList[head] = null\n this.valList[head] = null\n this.free.push(head)\n }\n this.head = this.next[head]\n this.keyMap.delete(k)\n this.size --\n return head\n }\n\n has (k, { updateAgeOnHas = this.updateAgeOnHas } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n if (!this.isStale(index)) {\n if (updateAgeOnHas) {\n this.updateItemAge(index)\n }\n return true\n }\n }\n return false\n }\n\n // like get(), but without any LRU updating or TTL expiration\n peek (k, { allowStale = this.allowStale } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined && (allowStale || !this.isStale(index))) {\n return this.valList[index]\n }\n }\n\n backgroundFetch (k, index, options) {\n const v = index === undefined ? undefined : this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return v\n }\n const ac = new AC()\n const fetchOpts = {\n signal: ac.signal,\n options,\n }\n const p = Promise.resolve(this.fetchMethod(k, v, fetchOpts)).then(v => {\n if (!ac.signal.aborted) {\n this.set(k, v, fetchOpts.options)\n }\n return v\n })\n p.__abortController = ac\n p.__staleWhileFetching = v\n if (index === undefined) {\n this.set(k, p, fetchOpts.options)\n index = this.keyMap.get(k)\n } else {\n this.valList[index] = p\n }\n return p\n }\n\n isBackgroundFetch (p) {\n return p && typeof p === 'object' && typeof p.then === 'function' &&\n Object.prototype.hasOwnProperty.call(p, '__staleWhileFetching')\n }\n\n // this takes the union of get() and set() opts, because it does both\n async fetch (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n ttl = this.ttl,\n noDisposeOnSet = this.noDisposeOnSet,\n size = 0,\n sizeCalculation = this.sizeCalculation,\n noUpdateTTL = this.noUpdateTTL,\n } = {}) {\n if (!this.fetchMethod) {\n return this.get(k, {allowStale, updateAgeOnGet})\n }\n\n const options = {\n allowStale,\n updateAgeOnGet,\n ttl,\n noDisposeOnSet,\n size,\n sizeCalculation,\n noUpdateTTL,\n }\n\n let index = this.keyMap.get(k)\n if (index === undefined) {\n return this.backgroundFetch(k, index, options)\n } else {\n // in cache, maybe already fetching\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n return allowStale && v.__staleWhileFetching !== undefined\n ? v.__staleWhileFetching : v\n }\n\n if (!this.isStale(index)) {\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return v\n }\n\n // ok, it is stale, and not already fetching\n // refresh the cache.\n const p = this.backgroundFetch(k, index, options)\n return allowStale && p.__staleWhileFetching !== undefined\n ? p.__staleWhileFetching : p\n }\n }\n\n get (k, {\n allowStale = this.allowStale,\n updateAgeOnGet = this.updateAgeOnGet,\n } = {}) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n const value = this.valList[index]\n const fetching = this.isBackgroundFetch(value)\n if (this.isStale(index)) {\n // delete only if not an in-flight background fetch\n if (!fetching) {\n this.delete(k)\n return allowStale ? value : undefined\n } else {\n return allowStale ? value.__staleWhileFetching : undefined\n }\n } else {\n // if we're currently fetching it, we don't actually have it yet\n // it's not stale, which means this isn't a staleWhileRefetching,\n // so we just return undefined\n if (fetching) {\n return undefined\n }\n this.moveToTail(index)\n if (updateAgeOnGet) {\n this.updateItemAge(index)\n }\n return value\n }\n }\n }\n\n connect (p, n) {\n this.prev[n] = p\n this.next[p] = n\n }\n\n moveToTail (index) {\n // if tail already, nothing to do\n // if head, move head to next[index]\n // else\n // move next[prev[index]] to next[index] (head has no prev)\n // move prev[next[index]] to prev[index]\n // prev[index] = tail\n // next[tail] = index\n // tail = index\n if (index !== this.tail) {\n if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.connect(this.prev[index], this.next[index])\n }\n this.connect(this.tail, index)\n this.tail = index\n }\n }\n\n get del () {\n deprecatedMethod('del', 'delete')\n return this.delete\n }\n delete (k) {\n let deleted = false\n if (this.size !== 0) {\n const index = this.keyMap.get(k)\n if (index !== undefined) {\n deleted = true\n if (this.size === 1) {\n this.clear()\n } else {\n this.removeItemSize(index)\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n this.keyMap.delete(k)\n this.keyList[index] = null\n this.valList[index] = null\n if (index === this.tail) {\n this.tail = this.prev[index]\n } else if (index === this.head) {\n this.head = this.next[index]\n } else {\n this.next[this.prev[index]] = this.next[index]\n this.prev[this.next[index]] = this.prev[index]\n }\n this.size --\n this.free.push(index)\n }\n }\n }\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n return deleted\n }\n\n clear () {\n for (const index of this.rindexes({ allowStale: true })) {\n const v = this.valList[index]\n if (this.isBackgroundFetch(v)) {\n v.__abortController.abort()\n } else {\n const k = this.keyList[index]\n this.dispose(v, k, 'delete')\n if (this.disposeAfter) {\n this.disposed.push([v, k, 'delete'])\n }\n }\n }\n\n this.keyMap.clear()\n this.valList.fill(null)\n this.keyList.fill(null)\n if (this.ttls) {\n this.ttls.fill(0)\n this.starts.fill(0)\n }\n if (this.sizes) {\n this.sizes.fill(0)\n }\n this.head = 0\n this.tail = 0\n this.initialFill = 1\n this.free.length = 0\n this.calculatedSize = 0\n this.size = 0\n if (this.disposed) {\n while (this.disposed.length) {\n this.disposeAfter(...this.disposed.shift())\n }\n }\n }\n get reset () {\n deprecatedMethod('reset', 'clear')\n return this.clear\n }\n\n get length () {\n deprecatedProperty('length', 'size')\n return this.size\n }\n}\n\nmodule.exports = LRUCache\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\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 first = 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 (!first) {\n first = version\n }\n } else {\n if (prev) {\n set.push([first, prev])\n }\n prev = null\n first = null\n }\n }\n if (first) {\n set.push([first, null])\n }\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 }\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\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 }\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 }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom) {\n return true\n }\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\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\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\n if (eqSet.size > 1) {\n return null\n }\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\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\n if (lt && !satisfies(eq, String(lt), options)) {\n return null\n }\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options)) {\n return false\n }\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 }\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options)) {\n return false\n }\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 }\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options)) {\n return false\n }\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0) {\n return false\n }\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\n if (lt && hasDomGT && !gt && gtltComp !== 0) {\n return false\n }\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\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 }\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 }\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","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,null,"module.exports = (__parcel__import__(\"./\" + \"actions_python.dfab21e0.js\")).then(() => parcelRequire('doiKQ'));","\n//==============//\n// DEPENDENCIES //\n//==============//\n\nconst numerous = require('numerous');\nconst isNode = require('is-node');\n\n\n//================//\n// MODULE GLOBALS //\n//================//\n\n/**\n * Pre-calculating millisecond values for each time unit.\n */\nconst timeUnits = [\n ['years', 12 * 4 * 7 * 24 * 60 * 60 * 1000],\n ['months', 4 * 7 * 24 * 60 * 60 * 1000],\n ['weeks', 7 * 24 * 60 * 60 * 1000],\n ['days', 24 * 60 * 60 * 1000],\n ['hours', 60 * 60 * 1000],\n ['minutes', 60 * 1000],\n ['seconds', 1000],\n];\n\nconst defaultConfig = {\n locale: 'en',\n span: 2,\n delimiter: ', ',\n unitType: 'long',\n unitTypeLookupOrder: ['long', 'short', 'narrow'],\n autoloadLocales: true,\n};\n\n/**\n * Contains data of loaded locales.\n * @type {Object}\n */\nconst locales = {};\n\n\n//=========//\n// EXPORTS //\n//=========//\n\nmodule.exports = {\n create: timeDeltaFactory,\n addLocale,\n defaultConfig,\n};\n\n\n//===========//\n// FUNCTIONS //\n//===========//\n\n/**\n * Adds pluralization data for the specified locale.\n * Should be called in browser.\n *\n * @param {Object|Object[]} localeData\n */\nfunction addLocale(localeData) {\n\n // Normalizing input\n if (!Array.isArray(localeData)) {\n localeData = [localeData];\n }\n\n for (const item of localeData) {\n const { id, data } = item;\n locales[id] = data;\n }\n\n}\n\n\n/**\n * Creates new instance.\n *\n * @param {object?} config\n *\n * @returns {object}\n */\nfunction timeDeltaFactory(config) {\n\n // Initializing config by extending the default one\n config = Object.assign({}, defaultConfig, config || {});\n\n return {\n\n /**\n * Public proxy for internal format function.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object?} options\n *\n * @returns {string}\n */\n format: function (firstDate, secondDate, options) {\n\n // Allowing to override config with each individual call\n options = Object.assign({}, config, options || {});\n\n return format(firstDate, secondDate, options);\n\n }\n\n };\n\n}\n\n\n/**\n * Returns difference between two dates as a text string.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n * @param {object} config\n *\n * @returns {string}\n */\nfunction format(firstDate, secondDate, config) {\n\n ensureLocaleLoadedOrThrow(config.locale, {\n autoload: config.autoloadLocales,\n });\n\n // Handling input arguments\n // -----\n\n if (!firstDate) {\n throw new Error('Missing first date argument');\n }\n\n if (!secondDate) {\n throw new Error('Missing second date argument');\n }\n\n // Calculating\n // -----\n\n const difference = getDifference(firstDate, secondDate);\n const parts = [];\n\n for (const unit of difference) {\n const [name, value] = unit;\n if (value > 0) {\n parts.push(pluralize(name, value, config));\n }\n if (parts.length >= config.span) {\n break;\n }\n }\n\n // Returning the string value\n return parts.join(config.delimiter);\n\n}\n\n\n/**\n * Checks if locale is loaded. If not, tries to load it in Node.js,\n * or throws and error in Browser.\n *\n * @param {string} locale\n * @param {Object?} options\n */\nfunction ensureLocaleLoadedOrThrow(locale, options) {\n\n const { autoload } = options;\n\n if (hasLocale(locale)) {\n return;\n }\n\n if (isNode && autoload) {\n requireLocale(locale);\n\n } else {\n throw new Error(\n `Missing locale: ${locale}, you must load it manually before using it`\n );\n }\n\n}\n\n\n/**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} localeId\n *\n * @returns {boolean}\n */\nfunction hasLocale(localeId) {\n return Boolean(locales[localeId]);\n}\n\n/**\n * Tries to load the specified locale.\n *\n * @param {string} localeId\n */\nfunction requireLocale(localeId) {\n try {\n addLocale(\n require(`../locales/${localeId}.js`)\n );\n\n } catch (error) {\n throw Error(\n `Failed to load locale: ${localeId} from ../locales/${localeId}.js. If using a bundled time-delta, set 'autoloadLocales: false' in the config: ${error}`\n );\n\n }\n}\n\n\n/**\n * Returns difference as separate time units.\n *\n * @param {Date} firstDate\n * @param {Date} secondDate\n *\n * @returns {Array}\n */\nfunction getDifference(firstDate, secondDate) {\n let difference = (secondDate - firstDate);\n const results = [];\n timeUnits.some(function (unit) {\n const name = unit[0];\n const divider = unit[1];\n const value = Math.floor(difference / divider);\n difference -= value * divider;\n results.push([name, value]);\n if (difference <= 0) {\n // Breaking the loop.\n return true;\n }\n });\n return results;\n}\n\n/**\n * Returns localized and pluralized time unit.\n *\n * @param {string} unit\n * @param {int} value\n * @param {object} config\n *\n * @returns {string}\n */\nfunction pluralize(unit, value, config) {\n const unitTypeData = getLocaleDataForUnitType(config);\n const unitString = numerous.pluralize(\n config.locale,\n value,\n unitTypeData[unit]\n );\n return unitString.replace('{0}', value);\n}\n\n\n/**\n * Returns locale data for preferred unit type.\n *\n * @param {object} config\n *\n * @returns {Array}\n */\nfunction getLocaleDataForUnitType(config) {\n\n const localeData = locales[config.locale];\n\n // Making a copy of array from config.\n let lookupOrder = config.unitTypeLookupOrder.slice();\n\n // Adding interested type to the top.\n lookupOrder.unshift(config.unitType);\n\n // Making sure only unique items are present.\n lookupOrder = arrayUnique(lookupOrder);\n\n let unitTypeData = null;\n lookupOrder.some(function (unitType) {\n if ('undefined' !== typeof localeData[unitType]) {\n unitTypeData = localeData[unitType];\n // Breaking the loop.\n return true;\n }\n });\n\n if (null === unitTypeData) {\n throw new Error('Can not find any unit type data for locale: ' + config.locale);\n }\n\n return unitTypeData;\n}\n\n/**\n * Returns array with only unique items.\n *\n * @param {Array} array\n *\n * @returns {Array}\n */\nfunction arrayUnique(array) {\n return Array.from(\n new Set(array)\n );\n}\n","module.exports = require('./lib/numerous.js');\n","(function () {\n\n 'use strict';\n\n var root = this;\n\n\n //=========//\n // GLOBALS //\n //=========//\n\n var locales = {};\n\n\n //==========//\n // EXPOSING //\n //==========//\n\n var moduleDefinition = {\n create: factory,\n addLocale: addLocale,\n pluralize: pluralize\n };\n\n if ('undefined' !== typeof module && 'undefined' !== typeof module.exports) {\n module.exports = moduleDefinition;\n } else {\n root.numerous = moduleDefinition;\n }\n\n\n //==================//\n // PUBLIC FUNCTIONS //\n //==================//\n\n /**\n * Creates new instance of numerous.\n *\n * @param {string} locale\n * @returns {object}\n */\n function factory (locale) {\n\n checkLocale(locale);\n\n return {\n pluralize: function (value, variants) {\n return pluralize(locale, value, variants);\n }\n };\n }\n\n /**\n * Adds pluralization function for specified locale.\n * Usually externally called by locale itself.\n *\n * @param {string} locale\n * @param {function} callable\n */\n function addLocale (locale, callable) {\n locales[locale] = callable;\n }\n\n /**\n * Returns variant from the specified list of variants\n * according to the specified value and locale.\n *\n * @param {string} locale\n * @param {int} value\n * @param {object} variants\n */\n function pluralize (locale, value, variants) {\n\n checkLocale(locale);\n\n if ('object' !== typeof variants) {\n throw new Error('List of variants should be specified as an object');\n }\n\n var key = locales[locale](value);\n\n return ('undefined' !== typeof variants[key] ? variants[key] : null);\n }\n\n\n //===================//\n // PRIVATE FUNCTIONS //\n //===================//\n\n /**\n * Returns true if specified locale is loaded, false otherwise.\n *\n * @param {string} locale\n *\n * @returns {boolean}\n */\n function hasLocale (locale) {\n return ('undefined' !== typeof locales[locale]);\n }\n\n /**\n * Checks if locale is loaded. If not, tries to load it.\n *\n * @param {string} locale\n */\n function checkLocale (locale) {\n if (!hasLocale(locale)) {\n requireLocale(locale);\n }\n }\n\n /**\n * Tries to load the specified locale.\n *\n * @param {string} locale\n */\n function requireLocale (locale) {\n try {\n require(__dirname + '/../locales/' + locale + '.js');\n } catch (error) {\n throw Error('Failed to load the following locale: ' + locale);\n }\n }\n\n}).call(this);\n","// Coding standard for this project defined @ https://github.com/MatthewSH/standards/blob/master/JavaScript.md\n'use strict';\n\nexports = module.exports = !!(typeof process !== 'undefined' && process.versions && process.versions.node);\n","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","'use strict';\n\nconst pathKey = (options = {}) => {\n\tconst environment = options.env || process.env;\n\tconst platform = options.platform || process.platform;\n\n\tif (platform !== 'win32') {\n\t\treturn 'PATH';\n\t}\n\n\treturn Object.keys(environment).reverse().find(key => key.toUpperCase() === 'PATH') || 'Path';\n};\n\nmodule.exports = pathKey;\n// TODO: Remove this for the next major release\nmodule.exports.default = pathKey;\n","'use strict';\n\n// See http://www.robvanderwoude.com/escapechars.php\nconst metaCharsRegExp = /([()\\][%!^\"`<>&|;, *?])/g;\n\nfunction escapeCommand(arg) {\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n return arg;\n}\n\nfunction escapeArgument(arg, doubleEscapeMetaChars) {\n // Convert to string\n arg = `${arg}`;\n\n // Algorithm below is based on https://qntm.org/cmd\n\n // Sequence of backslashes followed by a double quote:\n // double up all the backslashes and escape the double quote\n arg = arg.replace(/(\\\\*)\"/g, '$1$1\\\\\"');\n\n // Sequence of backslashes followed by the end of the string\n // (which will become a double quote later):\n // double up all the backslashes\n arg = arg.replace(/(\\\\*)$/, '$1$1');\n\n // All other backslashes occur literally\n\n // Quote the whole thing:\n arg = `\"${arg}\"`;\n\n // Escape meta chars\n arg = arg.replace(metaCharsRegExp, '^$1');\n\n // Double escape meta chars if necessary\n if (doubleEscapeMetaChars) {\n arg = arg.replace(metaCharsRegExp, '^$1');\n }\n\n return arg;\n}\n\nmodule.exports.command = escapeCommand;\nmodule.exports.argument = escapeArgument;\n","'use strict';\nmodule.exports = /^#!(.*)/;\n","'use strict';\nconst shebangRegex = require('shebang-regex');\n\nmodule.exports = (string = '') => {\n\tconst match = string.match(shebangRegex);\n\n\tif (!match) {\n\t\treturn null;\n\t}\n\n\tconst [path, argument] = match[0].replace(/#! ?/, '').split(' ');\n\tconst binary = path.split('/').pop();\n\n\tif (binary === 'env') {\n\t\treturn argument;\n\t}\n\n\treturn argument ? `${binary} ${argument}` : binary;\n};\n","'use strict';\n\nconst fs = require('fs');\nconst shebangCommand = require('shebang-command');\n\nfunction readShebang(command) {\n // Read the first 150 bytes from the file\n const size = 150;\n const buffer = Buffer.alloc(size);\n\n let fd;\n\n try {\n fd = fs.openSync(command, 'r');\n fs.readSync(fd, buffer, 0, size, 0);\n fs.closeSync(fd);\n } catch (e) { /* Empty */ }\n\n // Attempt to extract shebang (null is returned if not a shebang)\n return shebangCommand(buffer.toString());\n}\n\nmodule.exports = readShebang;\n","'use strict';\n\nconst path = require('path');\nconst resolveCommand = require('./util/resolveCommand');\nconst escape = require('./util/escape');\nconst readShebang = require('./util/readShebang');\n\nconst isWin = process.platform === 'win32';\nconst isExecutableRegExp = /\\.(?:com|exe)$/i;\nconst isCmdShimRegExp = /node_modules[\\\\/].bin[\\\\/][^\\\\/]+\\.cmd$/i;\n\nfunction detectShebang(parsed) {\n parsed.file = resolveCommand(parsed);\n\n const shebang = parsed.file && readShebang(parsed.file);\n\n if (shebang) {\n parsed.args.unshift(parsed.file);\n parsed.command = shebang;\n\n return resolveCommand(parsed);\n }\n\n return parsed.file;\n}\n\nfunction parseNonShell(parsed) {\n if (!isWin) {\n return parsed;\n }\n\n // Detect & add support for shebangs\n const commandFile = detectShebang(parsed);\n\n // We don't need a shell if the command filename is an executable\n const needsShell = !isExecutableRegExp.test(commandFile);\n\n // If a shell is required, use cmd.exe and take care of escaping everything correctly\n // Note that `forceShell` is an hidden option used only in tests\n if (parsed.options.forceShell || needsShell) {\n // Need to double escape meta chars if the command is a cmd-shim located in `node_modules/.bin/`\n // The cmd-shim simply calls execute the package bin file with NodeJS, proxying any argument\n // Because the escape of metachars with ^ gets interpreted when the cmd.exe is first called,\n // we need to double escape them\n const needsDoubleEscapeMetaChars = isCmdShimRegExp.test(commandFile);\n\n // Normalize posix paths into OS compatible paths (e.g.: foo/bar -> foo\\bar)\n // This is necessary otherwise it will always fail with ENOENT in those cases\n parsed.command = path.normalize(parsed.command);\n\n // Escape command & arguments\n parsed.command = escape.command(parsed.command);\n parsed.args = parsed.args.map((arg) => escape.argument(arg, needsDoubleEscapeMetaChars));\n\n const shellCommand = [parsed.command].concat(parsed.args).join(' ');\n\n parsed.args = ['/d', '/s', '/c', `\"${shellCommand}\"`];\n parsed.command = process.env.comspec || 'cmd.exe';\n parsed.options.windowsVerbatimArguments = true; // Tell node's spawn that the arguments are already escaped\n }\n\n return parsed;\n}\n\nfunction parse(command, args, options) {\n // Normalize arguments, similar to nodejs\n if (args && !Array.isArray(args)) {\n options = args;\n args = null;\n }\n\n args = args ? args.slice(0) : []; // Clone array to avoid changing the original\n options = Object.assign({}, options); // Clone object to avoid changing the original\n\n // Build our parsed object\n const parsed = {\n command,\n args,\n options,\n file: undefined,\n original: {\n command,\n args,\n },\n };\n\n // Delegate further parsing to shell or non-shell\n return options.shell ? parsed : parseNonShell(parsed);\n}\n\nmodule.exports = parse;\n","'use strict';\n\nmodule.exports = input => {\n\tconst LF = typeof input === 'string' ? '\\n' : '\\n'.charCodeAt();\n\tconst CR = typeof input === 'string' ? '\\r' : '\\r'.charCodeAt();\n\n\tif (input[input.length - 1] === LF) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\tif (input[input.length - 1] === CR) {\n\t\tinput = input.slice(0, input.length - 1);\n\t}\n\n\treturn input;\n};\n","'use strict';\nconst path = require('path');\nconst pathKey = require('path-key');\n\nconst npmRunPath = options => {\n\toptions = {\n\t\tcwd: process.cwd(),\n\t\tpath: process.env[pathKey()],\n\t\texecPath: process.execPath,\n\t\t...options\n\t};\n\n\tlet previous;\n\tlet cwdPath = path.resolve(options.cwd);\n\tconst result = [];\n\n\twhile (previous !== cwdPath) {\n\t\tresult.push(path.join(cwdPath, 'node_modules/.bin'));\n\t\tprevious = cwdPath;\n\t\tcwdPath = path.resolve(cwdPath, '..');\n\t}\n\n\t// Ensure the running `node` binary is used\n\tconst execPathDir = path.resolve(options.cwd, options.execPath, '..');\n\tresult.push(execPathDir);\n\n\treturn result.concat(options.path).join(path.delimiter);\n};\n\nmodule.exports = npmRunPath;\n// TODO: Remove this for the next major release\nmodule.exports.default = npmRunPath;\n\nmodule.exports.env = options => {\n\toptions = {\n\t\tenv: process.env,\n\t\t...options\n\t};\n\n\tconst env = {...options.env};\n\tconst path = pathKey({env});\n\n\toptions.path = env[path];\n\tenv[path] = module.exports(options);\n\n\treturn env;\n};\n","'use strict';\n\nconst mimicFn = (to, from) => {\n\tfor (const prop of Reflect.ownKeys(from)) {\n\t\tObject.defineProperty(to, prop, Object.getOwnPropertyDescriptor(from, prop));\n\t}\n\n\treturn to;\n};\n\nmodule.exports = mimicFn;\n// TODO: Remove this for the next major release\nmodule.exports.default = mimicFn;\n","'use strict';\nconst mimicFn = require('mimic-fn');\n\nconst calledFunctions = new WeakMap();\n\nconst onetime = (function_, options = {}) => {\n\tif (typeof function_ !== 'function') {\n\t\tthrow new TypeError('Expected a function');\n\t}\n\n\tlet returnValue;\n\tlet callCount = 0;\n\tconst functionName = function_.displayName || function_.name || '';\n\n\tconst onetime = function (...arguments_) {\n\t\tcalledFunctions.set(onetime, ++callCount);\n\n\t\tif (callCount === 1) {\n\t\t\treturnValue = function_.apply(this, arguments_);\n\t\t\tfunction_ = null;\n\t\t} else if (options.throw === true) {\n\t\t\tthrow new Error(`Function \\`${functionName}\\` can only be called once`);\n\t\t}\n\n\t\treturn returnValue;\n\t};\n\n\tmimicFn(onetime, function_);\n\tcalledFunctions.set(onetime, callCount);\n\n\treturn onetime;\n};\n\nmodule.exports = onetime;\n// TODO: Remove this for the next major release\nmodule.exports.default = onetime;\n\nmodule.exports.callCount = function_ => {\n\tif (!calledFunctions.has(function_)) {\n\t\tthrow new Error(`The given function \\`${function_.name}\\` is not wrapped by the \\`onetime\\` package`);\n\t}\n\n\treturn calledFunctions.get(function_);\n};\n","import { constants } from 'os'\n\nimport { getSignals } from './signals.js'\nimport { SIGRTMAX } from './realtime.js'\n\n// Retrieve `signalsByName`, an object mapping signal name to signal properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByName = function() {\n const signals = getSignals()\n return signals.reduce(getSignalByName, {})\n}\n\nconst getSignalByName = function(\n signalByNameMemo,\n { name, number, description, supported, action, forced, standard },\n) {\n return {\n ...signalByNameMemo,\n [name]: { name, number, description, supported, action, forced, standard },\n }\n}\n\nexport const signalsByName = getSignalsByName()\n\n// Retrieve `signalsByNumber`, an object mapping signal number to signal\n// properties.\n// We make sure the object is sorted by `number`.\nconst getSignalsByNumber = function() {\n const signals = getSignals()\n const length = SIGRTMAX + 1\n const signalsA = Array.from({ length }, (value, number) =>\n getSignalByNumber(number, signals),\n )\n return Object.assign({}, ...signalsA)\n}\n\nconst getSignalByNumber = function(number, signals) {\n const signal = findSignalByNumber(number, signals)\n\n if (signal === undefined) {\n return {}\n }\n\n const { name, description, supported, action, forced, standard } = signal\n return {\n [number]: {\n name,\n number,\n description,\n supported,\n action,\n forced,\n standard,\n },\n }\n}\n\n// Several signals might end up sharing the same number because of OS-specific\n// numbers, in which case those prevail.\nconst findSignalByNumber = function(number, signals) {\n const signal = signals.find(({ name }) => constants.signals[name] === number)\n\n if (signal !== undefined) {\n return signal\n }\n\n return signals.find(signalA => signalA.number === number)\n}\n\nexport const signalsByNumber = getSignalsByNumber()\n","import { constants } from 'os'\n\nimport { SIGNALS } from './core.js'\nimport { getRealtimeSignals } from './realtime.js'\n\n// Retrieve list of know signals (including realtime) with information about\n// them\nexport const getSignals = function() {\n const realtimeSignals = getRealtimeSignals()\n const signals = [...SIGNALS, ...realtimeSignals].map(normalizeSignal)\n return signals\n}\n\n// Normalize signal:\n// - `number`: signal numbers are OS-specific. This is taken into account by\n// `os.constants.signals`. However we provide a default `number` since some\n// signals are not defined for some OS.\n// - `forced`: set default to `false`\n// - `supported`: set value\nconst normalizeSignal = function({\n name,\n number: defaultNumber,\n description,\n action,\n forced = false,\n standard,\n}) {\n const {\n signals: { [name]: constantSignal },\n } = constants\n const supported = constantSignal !== undefined\n const number = supported ? constantSignal : defaultNumber\n return { name, number, description, supported, action, forced, standard }\n}\n","/* eslint-disable max-lines */\n// List of known process signals with information about them\nexport const SIGNALS = [\n {\n name: 'SIGHUP',\n number: 1,\n action: 'terminate',\n description: 'Terminal closed',\n standard: 'posix',\n },\n {\n name: 'SIGINT',\n number: 2,\n action: 'terminate',\n description: 'User interruption with CTRL-C',\n standard: 'ansi',\n },\n {\n name: 'SIGQUIT',\n number: 3,\n action: 'core',\n description: 'User interruption with CTRL-\\\\',\n standard: 'posix',\n },\n {\n name: 'SIGILL',\n number: 4,\n action: 'core',\n description: 'Invalid machine instruction',\n standard: 'ansi',\n },\n {\n name: 'SIGTRAP',\n number: 5,\n action: 'core',\n description: 'Debugger breakpoint',\n standard: 'posix',\n },\n {\n name: 'SIGABRT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'ansi',\n },\n {\n name: 'SIGIOT',\n number: 6,\n action: 'core',\n description: 'Aborted',\n standard: 'bsd',\n },\n {\n name: 'SIGBUS',\n number: 7,\n action: 'core',\n description:\n 'Bus error due to misaligned, non-existing address or paging error',\n standard: 'bsd',\n },\n {\n name: 'SIGEMT',\n number: 7,\n action: 'terminate',\n description: 'Command should be emulated but is not implemented',\n standard: 'other',\n },\n {\n name: 'SIGFPE',\n number: 8,\n action: 'core',\n description: 'Floating point arithmetic error',\n standard: 'ansi',\n },\n {\n name: 'SIGKILL',\n number: 9,\n action: 'terminate',\n description: 'Forced termination',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGUSR1',\n number: 10,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGSEGV',\n number: 11,\n action: 'core',\n description: 'Segmentation fault',\n standard: 'ansi',\n },\n {\n name: 'SIGUSR2',\n number: 12,\n action: 'terminate',\n description: 'Application-specific signal',\n standard: 'posix',\n },\n {\n name: 'SIGPIPE',\n number: 13,\n action: 'terminate',\n description: 'Broken pipe or socket',\n standard: 'posix',\n },\n {\n name: 'SIGALRM',\n number: 14,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'posix',\n },\n {\n name: 'SIGTERM',\n number: 15,\n action: 'terminate',\n description: 'Termination',\n standard: 'ansi',\n },\n {\n name: 'SIGSTKFLT',\n number: 16,\n action: 'terminate',\n description: 'Stack is empty or overflowed',\n standard: 'other',\n },\n {\n name: 'SIGCHLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'posix',\n },\n {\n name: 'SIGCLD',\n number: 17,\n action: 'ignore',\n description: 'Child process terminated, paused or unpaused',\n standard: 'other',\n },\n {\n name: 'SIGCONT',\n number: 18,\n action: 'unpause',\n description: 'Unpaused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGSTOP',\n number: 19,\n action: 'pause',\n description: 'Paused',\n standard: 'posix',\n forced: true,\n },\n {\n name: 'SIGTSTP',\n number: 20,\n action: 'pause',\n description: 'Paused using CTRL-Z or \"suspend\"',\n standard: 'posix',\n },\n {\n name: 'SIGTTIN',\n number: 21,\n action: 'pause',\n description: 'Background process cannot read terminal input',\n standard: 'posix',\n },\n {\n name: 'SIGBREAK',\n number: 21,\n action: 'terminate',\n description: 'User interruption with CTRL-BREAK',\n standard: 'other',\n },\n {\n name: 'SIGTTOU',\n number: 22,\n action: 'pause',\n description: 'Background process cannot write to terminal output',\n standard: 'posix',\n },\n {\n name: 'SIGURG',\n number: 23,\n action: 'ignore',\n description: 'Socket received out-of-band data',\n standard: 'bsd',\n },\n {\n name: 'SIGXCPU',\n number: 24,\n action: 'core',\n description: 'Process timed out',\n standard: 'bsd',\n },\n {\n name: 'SIGXFSZ',\n number: 25,\n action: 'core',\n description: 'File too big',\n standard: 'bsd',\n },\n {\n name: 'SIGVTALRM',\n number: 26,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGPROF',\n number: 27,\n action: 'terminate',\n description: 'Timeout or timer',\n standard: 'bsd',\n },\n {\n name: 'SIGWINCH',\n number: 28,\n action: 'ignore',\n description: 'Terminal window size changed',\n standard: 'bsd',\n },\n {\n name: 'SIGIO',\n number: 29,\n action: 'terminate',\n description: 'I/O is available',\n standard: 'other',\n },\n {\n name: 'SIGPOLL',\n number: 29,\n action: 'terminate',\n description: 'Watched event',\n standard: 'other',\n },\n {\n name: 'SIGINFO',\n number: 29,\n action: 'ignore',\n description: 'Request for process information',\n standard: 'other',\n },\n {\n name: 'SIGPWR',\n number: 30,\n action: 'terminate',\n description: 'Device running out of power',\n standard: 'systemv',\n },\n {\n name: 'SIGSYS',\n number: 31,\n action: 'core',\n description: 'Invalid system call',\n standard: 'other',\n },\n {\n name: 'SIGUNUSED',\n number: 31,\n action: 'terminate',\n description: 'Invalid system call',\n standard: 'other',\n },\n]\n/* eslint-enable max-lines */\n","// List of realtime signals with information about them\nexport const getRealtimeSignals = function() {\n const length = SIGRTMAX - SIGRTMIN + 1\n return Array.from({ length }, getRealtimeSignal)\n}\n\nconst getRealtimeSignal = function(value, index) {\n return {\n name: `SIGRT${index + 1}`,\n number: SIGRTMIN + index,\n action: 'terminate',\n description: 'Application-specific signal (realtime)',\n standard: 'posix',\n }\n}\n\nconst SIGRTMIN = 34\nexport const SIGRTMAX = 64\n","'use strict';\nconst {signalsByName} = require('human-signals');\n\nconst getErrorPrefix = ({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled}) => {\n\tif (timedOut) {\n\t\treturn `timed out after ${timeout} milliseconds`;\n\t}\n\n\tif (isCanceled) {\n\t\treturn 'was canceled';\n\t}\n\n\tif (errorCode !== undefined) {\n\t\treturn `failed with ${errorCode}`;\n\t}\n\n\tif (signal !== undefined) {\n\t\treturn `was killed with ${signal} (${signalDescription})`;\n\t}\n\n\tif (exitCode !== undefined) {\n\t\treturn `failed with exit code ${exitCode}`;\n\t}\n\n\treturn 'failed';\n};\n\nconst makeError = ({\n\tstdout,\n\tstderr,\n\tall,\n\terror,\n\tsignal,\n\texitCode,\n\tcommand,\n\tescapedCommand,\n\ttimedOut,\n\tisCanceled,\n\tkilled,\n\tparsed: {options: {timeout}}\n}) => {\n\t// `signal` and `exitCode` emitted on `spawned.on('exit')` event can be `null`.\n\t// We normalize them to `undefined`\n\texitCode = exitCode === null ? undefined : exitCode;\n\tsignal = signal === null ? undefined : signal;\n\tconst signalDescription = signal === undefined ? undefined : signalsByName[signal].description;\n\n\tconst errorCode = error && error.code;\n\n\tconst prefix = getErrorPrefix({timedOut, timeout, errorCode, signal, signalDescription, exitCode, isCanceled});\n\tconst execaMessage = `Command ${prefix}: ${command}`;\n\tconst isError = Object.prototype.toString.call(error) === '[object Error]';\n\tconst shortMessage = isError ? `${execaMessage}\\n${error.message}` : execaMessage;\n\tconst message = [shortMessage, stderr, stdout].filter(Boolean).join('\\n');\n\n\tif (isError) {\n\t\terror.originalMessage = error.message;\n\t\terror.message = message;\n\t} else {\n\t\terror = new Error(message);\n\t}\n\n\terror.shortMessage = shortMessage;\n\terror.command = command;\n\terror.escapedCommand = escapedCommand;\n\terror.exitCode = exitCode;\n\terror.signal = signal;\n\terror.signalDescription = signalDescription;\n\terror.stdout = stdout;\n\terror.stderr = stderr;\n\n\tif (all !== undefined) {\n\t\terror.all = all;\n\t}\n\n\tif ('bufferedData' in error) {\n\t\tdelete error.bufferedData;\n\t}\n\n\terror.failed = true;\n\terror.timedOut = Boolean(timedOut);\n\terror.isCanceled = isCanceled;\n\terror.killed = killed && !timedOut;\n\n\treturn error;\n};\n\nmodule.exports = makeError;\n","'use strict';\nconst aliases = ['stdin', 'stdout', 'stderr'];\n\nconst hasAlias = options => aliases.some(alias => options[alias] !== undefined);\n\nconst normalizeStdio = options => {\n\tif (!options) {\n\t\treturn;\n\t}\n\n\tconst {stdio} = options;\n\n\tif (stdio === undefined) {\n\t\treturn aliases.map(alias => options[alias]);\n\t}\n\n\tif (hasAlias(options)) {\n\t\tthrow new Error(`It's not possible to provide \\`stdio\\` in combination with one of ${aliases.map(alias => `\\`${alias}\\``).join(', ')}`);\n\t}\n\n\tif (typeof stdio === 'string') {\n\t\treturn stdio;\n\t}\n\n\tif (!Array.isArray(stdio)) {\n\t\tthrow new TypeError(`Expected \\`stdio\\` to be of type \\`string\\` or \\`Array\\`, got \\`${typeof stdio}\\``);\n\t}\n\n\tconst length = Math.max(stdio.length, aliases.length);\n\treturn Array.from({length}, (value, index) => stdio[index]);\n};\n\nmodule.exports = normalizeStdio;\n\n// `ipc` is pushed unless it is already present\nmodule.exports.node = options => {\n\tconst stdio = normalizeStdio(options);\n\n\tif (stdio === 'ipc') {\n\t\treturn 'ipc';\n\t}\n\n\tif (stdio === undefined || typeof stdio === 'string') {\n\t\treturn [stdio, stdio, stdio, 'ipc'];\n\t}\n\n\tif (stdio.includes('ipc')) {\n\t\treturn stdio;\n\t}\n\n\treturn [...stdio, 'ipc'];\n};\n","// Note: since nyc uses this module to output coverage, any lines\n// that are in the direct sync flow of nyc's outputCoverage are\n// ignored, since we can never get coverage for them.\n// grab a reference to node's real process object right away\nvar process = global.process\n\nconst processOk = function (process) {\n return process &&\n typeof process === 'object' &&\n typeof process.removeListener === 'function' &&\n typeof process.emit === 'function' &&\n typeof process.reallyExit === 'function' &&\n typeof process.listeners === 'function' &&\n typeof process.kill === 'function' &&\n typeof process.pid === 'number' &&\n typeof process.on === 'function'\n}\n\n// some kind of non-node environment, just no-op\n/* istanbul ignore if */\nif (!processOk(process)) {\n module.exports = function () {\n return function () {}\n }\n} else {\n var assert = require('assert')\n var signals = require('./signals.js')\n var isWin = /^win/i.test(process.platform)\n\n var EE = require('events')\n /* istanbul ignore if */\n if (typeof EE !== 'function') {\n EE = EE.EventEmitter\n }\n\n var emitter\n if (process.__signal_exit_emitter__) {\n emitter = process.__signal_exit_emitter__\n } else {\n emitter = process.__signal_exit_emitter__ = new EE()\n emitter.count = 0\n emitter.emitted = {}\n }\n\n // Because this emitter is a global, we have to check to see if a\n // previous version of this library failed to enable infinite listeners.\n // I know what you're about to say. But literally everything about\n // signal-exit is a compromise with evil. Get used to it.\n if (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n }\n\n module.exports = function (cb, opts) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return function () {}\n }\n assert.equal(typeof cb, 'function', 'a callback must be provided for exit handler')\n\n if (loaded === false) {\n load()\n }\n\n var ev = 'exit'\n if (opts && opts.alwaysLast) {\n ev = 'afterexit'\n }\n\n var remove = function () {\n emitter.removeListener(ev, cb)\n if (emitter.listeners('exit').length === 0 &&\n emitter.listeners('afterexit').length === 0) {\n unload()\n }\n }\n emitter.on(ev, cb)\n\n return remove\n }\n\n var unload = function unload () {\n if (!loaded || !processOk(global.process)) {\n return\n }\n loaded = false\n\n signals.forEach(function (sig) {\n try {\n process.removeListener(sig, sigListeners[sig])\n } catch (er) {}\n })\n process.emit = originalProcessEmit\n process.reallyExit = originalProcessReallyExit\n emitter.count -= 1\n }\n module.exports.unload = unload\n\n var emit = function emit (event, code, signal) {\n /* istanbul ignore if */\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n }\n\n // { : , ... }\n var sigListeners = {}\n signals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n // If there are no other listeners, an exit is coming!\n // Simplest way: remove us and then re-send the signal.\n // We know that this will kill the process, so we can\n // safely emit now.\n var listeners = process.listeners(sig)\n if (listeners.length === emitter.count) {\n unload()\n emit('exit', null, sig)\n /* istanbul ignore next */\n emit('afterexit', null, sig)\n /* istanbul ignore next */\n if (isWin && sig === 'SIGHUP') {\n // \"SIGHUP\" throws an `ENOSYS` error on Windows,\n // so use a supported signal instead\n sig = 'SIGINT'\n }\n /* istanbul ignore next */\n process.kill(process.pid, sig)\n }\n }\n })\n\n module.exports.signals = function () {\n return signals\n }\n\n var loaded = false\n\n var load = function load () {\n if (loaded || !processOk(global.process)) {\n return\n }\n loaded = true\n\n // This is the number of onSignalExit's that are in play.\n // It's important so that we can count the correct number of\n // listeners on signals, and don't wait for the other one to\n // handle it instead of us.\n emitter.count += 1\n\n signals = signals.filter(function (sig) {\n try {\n process.on(sig, sigListeners[sig])\n return true\n } catch (er) {\n return false\n }\n })\n\n process.emit = processEmit\n process.reallyExit = processReallyExit\n }\n module.exports.load = load\n\n var originalProcessReallyExit = process.reallyExit\n var processReallyExit = function processReallyExit (code) {\n /* istanbul ignore if */\n if (!processOk(global.process)) {\n return\n }\n process.exitCode = code || /* istanbul ignore next */ 0\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n originalProcessReallyExit.call(process, process.exitCode)\n }\n\n var originalProcessEmit = process.emit\n var processEmit = function processEmit (ev, arg) {\n if (ev === 'exit' && processOk(global.process)) {\n /* istanbul ignore else */\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n /* istanbul ignore next */\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n /* istanbul ignore next */\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n }\n}\n","'use strict';\nconst os = require('os');\nconst onExit = require('signal-exit');\n\nconst DEFAULT_FORCE_KILL_TIMEOUT = 1000 * 5;\n\n// Monkey-patches `childProcess.kill()` to add `forceKillAfterTimeout` behavior\nconst spawnedKill = (kill, signal = 'SIGTERM', options = {}) => {\n\tconst killResult = kill(signal);\n\tsetKillTimeout(kill, signal, options, killResult);\n\treturn killResult;\n};\n\nconst setKillTimeout = (kill, signal, options, killResult) => {\n\tif (!shouldForceKill(signal, options, killResult)) {\n\t\treturn;\n\t}\n\n\tconst timeout = getForceKillAfterTimeout(options);\n\tconst t = setTimeout(() => {\n\t\tkill('SIGKILL');\n\t}, timeout);\n\n\t// Guarded because there's no `.unref()` when `execa` is used in the renderer\n\t// process in Electron. This cannot be tested since we don't run tests in\n\t// Electron.\n\t// istanbul ignore else\n\tif (t.unref) {\n\t\tt.unref();\n\t}\n};\n\nconst shouldForceKill = (signal, {forceKillAfterTimeout}, killResult) => {\n\treturn isSigterm(signal) && forceKillAfterTimeout !== false && killResult;\n};\n\nconst isSigterm = signal => {\n\treturn signal === os.constants.signals.SIGTERM ||\n\t\t(typeof signal === 'string' && signal.toUpperCase() === 'SIGTERM');\n};\n\nconst getForceKillAfterTimeout = ({forceKillAfterTimeout = true}) => {\n\tif (forceKillAfterTimeout === true) {\n\t\treturn DEFAULT_FORCE_KILL_TIMEOUT;\n\t}\n\n\tif (!Number.isFinite(forceKillAfterTimeout) || forceKillAfterTimeout < 0) {\n\t\tthrow new TypeError(`Expected the \\`forceKillAfterTimeout\\` option to be a non-negative integer, got \\`${forceKillAfterTimeout}\\` (${typeof forceKillAfterTimeout})`);\n\t}\n\n\treturn forceKillAfterTimeout;\n};\n\n// `childProcess.cancel()`\nconst spawnedCancel = (spawned, context) => {\n\tconst killResult = spawned.kill();\n\n\tif (killResult) {\n\t\tcontext.isCanceled = true;\n\t}\n};\n\nconst timeoutKill = (spawned, signal, reject) => {\n\tspawned.kill(signal);\n\treject(Object.assign(new Error('Timed out'), {timedOut: true, signal}));\n};\n\n// `timeout` option handling\nconst setupTimeout = (spawned, {timeout, killSignal = 'SIGTERM'}, spawnedPromise) => {\n\tif (timeout === 0 || timeout === undefined) {\n\t\treturn spawnedPromise;\n\t}\n\n\tlet timeoutId;\n\tconst timeoutPromise = new Promise((resolve, reject) => {\n\t\ttimeoutId = setTimeout(() => {\n\t\t\ttimeoutKill(spawned, killSignal, reject);\n\t\t}, timeout);\n\t});\n\n\tconst safeSpawnedPromise = spawnedPromise.finally(() => {\n\t\tclearTimeout(timeoutId);\n\t});\n\n\treturn Promise.race([timeoutPromise, safeSpawnedPromise]);\n};\n\nconst validateTimeout = ({timeout}) => {\n\tif (timeout !== undefined && (!Number.isFinite(timeout) || timeout < 0)) {\n\t\tthrow new TypeError(`Expected the \\`timeout\\` option to be a non-negative integer, got \\`${timeout}\\` (${typeof timeout})`);\n\t}\n};\n\n// `cleanup` option handling\nconst setExitHandler = async (spawned, {cleanup, detached}, timedPromise) => {\n\tif (!cleanup || detached) {\n\t\treturn timedPromise;\n\t}\n\n\tconst removeExitHandler = onExit(() => {\n\t\tspawned.kill();\n\t});\n\n\treturn timedPromise.finally(() => {\n\t\tremoveExitHandler();\n\t});\n};\n\nmodule.exports = {\n\tspawnedKill,\n\tspawnedCancel,\n\tsetupTimeout,\n\tvalidateTimeout,\n\tsetExitHandler\n};\n","'use strict';\nconst path = require('path');\nconst childProcess = require('child_process');\nconst crossSpawn = require('cross-spawn');\nconst stripFinalNewline = require('strip-final-newline');\nconst npmRunPath = require('npm-run-path');\nconst onetime = require('onetime');\nconst makeError = require('./lib/error');\nconst normalizeStdio = require('./lib/stdio');\nconst {spawnedKill, spawnedCancel, setupTimeout, validateTimeout, setExitHandler} = require('./lib/kill');\nconst {handleInput, getSpawnedResult, makeAllStream, validateInputSync} = require('./lib/stream');\nconst {mergePromise, getSpawnedPromise} = require('./lib/promise');\nconst {joinCommand, parseCommand, getEscapedCommand} = require('./lib/command');\n\nconst DEFAULT_MAX_BUFFER = 1000 * 1000 * 100;\n\nconst getEnv = ({env: envOption, extendEnv, preferLocal, localDir, execPath}) => {\n\tconst env = extendEnv ? {...process.env, ...envOption} : envOption;\n\n\tif (preferLocal) {\n\t\treturn npmRunPath.env({env, cwd: localDir, execPath});\n\t}\n\n\treturn env;\n};\n\nconst handleArguments = (file, args, options = {}) => {\n\tconst parsed = crossSpawn._parse(file, args, options);\n\tfile = parsed.command;\n\targs = parsed.args;\n\toptions = parsed.options;\n\n\toptions = {\n\t\tmaxBuffer: DEFAULT_MAX_BUFFER,\n\t\tbuffer: true,\n\t\tstripFinalNewline: true,\n\t\textendEnv: true,\n\t\tpreferLocal: false,\n\t\tlocalDir: options.cwd || process.cwd(),\n\t\texecPath: process.execPath,\n\t\tencoding: 'utf8',\n\t\treject: true,\n\t\tcleanup: true,\n\t\tall: false,\n\t\twindowsHide: true,\n\t\t...options\n\t};\n\n\toptions.env = getEnv(options);\n\n\toptions.stdio = normalizeStdio(options);\n\n\tif (process.platform === 'win32' && path.basename(file, '.exe') === 'cmd') {\n\t\t// #116\n\t\targs.unshift('/q');\n\t}\n\n\treturn {file, args, options, parsed};\n};\n\nconst handleOutput = (options, value, error) => {\n\tif (typeof value !== 'string' && !Buffer.isBuffer(value)) {\n\t\t// When `execa.sync()` errors, we normalize it to '' to mimic `execa()`\n\t\treturn error === undefined ? undefined : '';\n\t}\n\n\tif (options.stripFinalNewline) {\n\t\treturn stripFinalNewline(value);\n\t}\n\n\treturn value;\n};\n\nconst execa = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateTimeout(parsed.options);\n\n\tlet spawned;\n\ttry {\n\t\tspawned = childProcess.spawn(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\t// Ensure the returned error is always both a promise and a child process\n\t\tconst dummySpawned = new childProcess.ChildProcess();\n\t\tconst errorPromise = Promise.reject(makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t}));\n\t\treturn mergePromise(dummySpawned, errorPromise);\n\t}\n\n\tconst spawnedPromise = getSpawnedPromise(spawned);\n\tconst timedPromise = setupTimeout(spawned, parsed.options, spawnedPromise);\n\tconst processDone = setExitHandler(spawned, parsed.options, timedPromise);\n\n\tconst context = {isCanceled: false};\n\n\tspawned.kill = spawnedKill.bind(null, spawned.kill.bind(spawned));\n\tspawned.cancel = spawnedCancel.bind(null, spawned, context);\n\n\tconst handlePromise = async () => {\n\t\tconst [{error, exitCode, signal, timedOut}, stdoutResult, stderrResult, allResult] = await getSpawnedResult(spawned, parsed.options, processDone);\n\t\tconst stdout = handleOutput(parsed.options, stdoutResult);\n\t\tconst stderr = handleOutput(parsed.options, stderrResult);\n\t\tconst all = handleOutput(parsed.options, allResult);\n\n\t\tif (error || exitCode !== 0 || signal !== null) {\n\t\t\tconst returnedError = makeError({\n\t\t\t\terror,\n\t\t\t\texitCode,\n\t\t\t\tsignal,\n\t\t\t\tstdout,\n\t\t\t\tstderr,\n\t\t\t\tall,\n\t\t\t\tcommand,\n\t\t\t\tescapedCommand,\n\t\t\t\tparsed,\n\t\t\t\ttimedOut,\n\t\t\t\tisCanceled: context.isCanceled,\n\t\t\t\tkilled: spawned.killed\n\t\t\t});\n\n\t\t\tif (!parsed.options.reject) {\n\t\t\t\treturn returnedError;\n\t\t\t}\n\n\t\t\tthrow returnedError;\n\t\t}\n\n\t\treturn {\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\texitCode: 0,\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\tall,\n\t\t\tfailed: false,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t};\n\t};\n\n\tconst handlePromiseOnce = onetime(handlePromise);\n\n\thandleInput(spawned, parsed.options.input);\n\n\tspawned.all = makeAllStream(spawned, parsed.options);\n\n\treturn mergePromise(spawned, handlePromiseOnce);\n};\n\nmodule.exports = execa;\n\nmodule.exports.sync = (file, args, options) => {\n\tconst parsed = handleArguments(file, args, options);\n\tconst command = joinCommand(file, args);\n\tconst escapedCommand = getEscapedCommand(file, args);\n\n\tvalidateInputSync(parsed.options);\n\n\tlet result;\n\ttry {\n\t\tresult = childProcess.spawnSync(parsed.file, parsed.args, parsed.options);\n\t} catch (error) {\n\t\tthrow makeError({\n\t\t\terror,\n\t\t\tstdout: '',\n\t\t\tstderr: '',\n\t\t\tall: '',\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: false,\n\t\t\tisCanceled: false,\n\t\t\tkilled: false\n\t\t});\n\t}\n\n\tconst stdout = handleOutput(parsed.options, result.stdout, result.error);\n\tconst stderr = handleOutput(parsed.options, result.stderr, result.error);\n\n\tif (result.error || result.status !== 0 || result.signal !== null) {\n\t\tconst error = makeError({\n\t\t\tstdout,\n\t\t\tstderr,\n\t\t\terror: result.error,\n\t\t\tsignal: result.signal,\n\t\t\texitCode: result.status,\n\t\t\tcommand,\n\t\t\tescapedCommand,\n\t\t\tparsed,\n\t\t\ttimedOut: result.error && result.error.code === 'ETIMEDOUT',\n\t\t\tisCanceled: false,\n\t\t\tkilled: result.signal !== null\n\t\t});\n\n\t\tif (!parsed.options.reject) {\n\t\t\treturn error;\n\t\t}\n\n\t\tthrow error;\n\t}\n\n\treturn {\n\t\tcommand,\n\t\tescapedCommand,\n\t\texitCode: 0,\n\t\tstdout,\n\t\tstderr,\n\t\tfailed: false,\n\t\ttimedOut: false,\n\t\tisCanceled: false,\n\t\tkilled: false\n\t};\n};\n\nmodule.exports.command = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa(file, args, options);\n};\n\nmodule.exports.commandSync = (command, options) => {\n\tconst [file, ...args] = parseCommand(command);\n\treturn execa.sync(file, args, options);\n};\n\nmodule.exports.node = (scriptPath, args, options = {}) => {\n\tif (args && !Array.isArray(args) && typeof args === 'object') {\n\t\toptions = args;\n\t\targs = [];\n\t}\n\n\tconst stdio = normalizeStdio.node(options);\n\tconst defaultExecArgv = process.execArgv.filter(arg => !arg.startsWith('--inspect'));\n\n\tconst {\n\t\tnodePath = process.execPath,\n\t\tnodeOptions = defaultExecArgv\n\t} = options;\n\n\treturn execa(\n\t\tnodePath,\n\t\t[\n\t\t\t...nodeOptions,\n\t\t\tscriptPath,\n\t\t\t...(Array.isArray(args) ? args : [])\n\t\t],\n\t\t{\n\t\t\t...options,\n\t\t\tstdin: undefined,\n\t\t\tstdout: undefined,\n\t\t\tstderr: undefined,\n\t\t\tstdio,\n\t\t\tshell: false\n\t\t}\n\t);\n};\n","'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 {PassThrough: PassThroughStream} = require('stream');\n\nmodule.exports = options => {\n\toptions = {...options};\n\n\tconst {array} = options;\n\tlet {encoding} = options;\n\tconst isBuffer = encoding === 'buffer';\n\tlet objectMode = false;\n\n\tif (array) {\n\t\tobjectMode = !(encoding || isBuffer);\n\t} else {\n\t\tencoding = encoding || 'utf8';\n\t}\n\n\tif (isBuffer) {\n\t\tencoding = null;\n\t}\n\n\tconst stream = new PassThroughStream({objectMode});\n\n\tif (encoding) {\n\t\tstream.setEncoding(encoding);\n\t}\n\n\tlet length = 0;\n\tconst chunks = [];\n\n\tstream.on('data', chunk => {\n\t\tchunks.push(chunk);\n\n\t\tif (objectMode) {\n\t\t\tlength = chunks.length;\n\t\t} else {\n\t\t\tlength += chunk.length;\n\t\t}\n\t});\n\n\tstream.getBufferedValue = () => {\n\t\tif (array) {\n\t\t\treturn chunks;\n\t\t}\n\n\t\treturn isBuffer ? Buffer.concat(chunks, length) : chunks.join('');\n\t};\n\n\tstream.getBufferedLength = () => length;\n\n\treturn stream;\n};\n","'use strict';\n\nconst { PassThrough } = require('stream');\n\nmodule.exports = function (/*streams...*/) {\n var sources = []\n var output = new PassThrough({objectMode: true})\n\n output.setMaxListeners(0)\n\n output.add = add\n output.isEmpty = isEmpty\n\n output.on('unpipe', remove)\n\n Array.prototype.slice.call(arguments).forEach(add)\n\n return output\n\n function add (source) {\n if (Array.isArray(source)) {\n source.forEach(add)\n return this\n }\n\n sources.push(source);\n source.once('end', remove.bind(null, source))\n source.once('error', output.emit.bind(output, 'error'))\n source.pipe(output, {end: false})\n return this\n }\n\n function isEmpty () {\n return sources.length == 0;\n }\n\n function remove (source) {\n sources = sources.filter(function (it) { return it !== source })\n if (!sources.length && output.readable) { output.end() }\n }\n}\n","'use strict';\nconst isStream = require('is-stream');\nconst getStream = require('get-stream');\nconst mergeStream = require('merge-stream');\n\n// `input` option\nconst handleInput = (spawned, input) => {\n\t// Checking for stdin is workaround for https://github.com/nodejs/node/issues/26852\n\t// @todo remove `|| spawned.stdin === undefined` once we drop support for Node.js <=12.2.0\n\tif (input === undefined || spawned.stdin === undefined) {\n\t\treturn;\n\t}\n\n\tif (isStream(input)) {\n\t\tinput.pipe(spawned.stdin);\n\t} else {\n\t\tspawned.stdin.end(input);\n\t}\n};\n\n// `all` interleaves `stdout` and `stderr`\nconst makeAllStream = (spawned, {all}) => {\n\tif (!all || (!spawned.stdout && !spawned.stderr)) {\n\t\treturn;\n\t}\n\n\tconst mixed = mergeStream();\n\n\tif (spawned.stdout) {\n\t\tmixed.add(spawned.stdout);\n\t}\n\n\tif (spawned.stderr) {\n\t\tmixed.add(spawned.stderr);\n\t}\n\n\treturn mixed;\n};\n\n// On failure, `result.stdout|stderr|all` should contain the currently buffered stream\nconst getBufferedData = async (stream, streamPromise) => {\n\tif (!stream) {\n\t\treturn;\n\t}\n\n\tstream.destroy();\n\n\ttry {\n\t\treturn await streamPromise;\n\t} catch (error) {\n\t\treturn error.bufferedData;\n\t}\n};\n\nconst getStreamPromise = (stream, {encoding, buffer, maxBuffer}) => {\n\tif (!stream || !buffer) {\n\t\treturn;\n\t}\n\n\tif (encoding) {\n\t\treturn getStream(stream, {encoding, maxBuffer});\n\t}\n\n\treturn getStream.buffer(stream, {maxBuffer});\n};\n\n// Retrieve result of child process: exit code, signal, error, streams (stdout/stderr/all)\nconst getSpawnedResult = async ({stdout, stderr, all}, {encoding, buffer, maxBuffer}, processDone) => {\n\tconst stdoutPromise = getStreamPromise(stdout, {encoding, buffer, maxBuffer});\n\tconst stderrPromise = getStreamPromise(stderr, {encoding, buffer, maxBuffer});\n\tconst allPromise = getStreamPromise(all, {encoding, buffer, maxBuffer: maxBuffer * 2});\n\n\ttry {\n\t\treturn await Promise.all([processDone, stdoutPromise, stderrPromise, allPromise]);\n\t} catch (error) {\n\t\treturn Promise.all([\n\t\t\t{error, signal: error.signal, timedOut: error.timedOut},\n\t\t\tgetBufferedData(stdout, stdoutPromise),\n\t\t\tgetBufferedData(stderr, stderrPromise),\n\t\t\tgetBufferedData(all, allPromise)\n\t\t]);\n\t}\n};\n\nconst validateInputSync = ({input}) => {\n\tif (isStream(input)) {\n\t\tthrow new TypeError('The `input` option cannot be a stream in sync mode');\n\t}\n};\n\nmodule.exports = {\n\thandleInput,\n\tmakeAllStream,\n\tgetSpawnedResult,\n\tvalidateInputSync\n};\n\n","'use strict';\n\nconst nativePromisePrototype = (async () => {})().constructor.prototype;\nconst descriptors = ['then', 'catch', 'finally'].map(property => [\n\tproperty,\n\tReflect.getOwnPropertyDescriptor(nativePromisePrototype, property)\n]);\n\n// The return value is a mixin of `childProcess` and `Promise`\nconst mergePromise = (spawned, promise) => {\n\tfor (const [property, descriptor] of descriptors) {\n\t\t// Starting the main `promise` is deferred to avoid consuming streams\n\t\tconst value = typeof promise === 'function' ?\n\t\t\t(...args) => Reflect.apply(descriptor.value, promise(), args) :\n\t\t\tdescriptor.value.bind(promise);\n\n\t\tReflect.defineProperty(spawned, property, {...descriptor, value});\n\t}\n\n\treturn spawned;\n};\n\n// Use promises instead of `child_process` events\nconst getSpawnedPromise = spawned => {\n\treturn new Promise((resolve, reject) => {\n\t\tspawned.on('exit', (exitCode, signal) => {\n\t\t\tresolve({exitCode, signal});\n\t\t});\n\n\t\tspawned.on('error', error => {\n\t\t\treject(error);\n\t\t});\n\n\t\tif (spawned.stdin) {\n\t\t\tspawned.stdin.on('error', error => {\n\t\t\t\treject(error);\n\t\t\t});\n\t\t}\n\t});\n};\n\nmodule.exports = {\n\tmergePromise,\n\tgetSpawnedPromise\n};\n\n","'use strict';\nconst normalizeArgs = (file, args = []) => {\n\tif (!Array.isArray(args)) {\n\t\treturn [file];\n\t}\n\n\treturn [file, ...args];\n};\n\nconst NO_ESCAPE_REGEXP = /^[\\w.-]+$/;\nconst DOUBLE_QUOTES_REGEXP = /\"/g;\n\nconst escapeArg = arg => {\n\tif (typeof arg !== 'string' || NO_ESCAPE_REGEXP.test(arg)) {\n\t\treturn arg;\n\t}\n\n\treturn `\"${arg.replace(DOUBLE_QUOTES_REGEXP, '\\\\\"')}\"`;\n};\n\nconst joinCommand = (file, args) => {\n\treturn normalizeArgs(file, args).join(' ');\n};\n\nconst getEscapedCommand = (file, args) => {\n\treturn normalizeArgs(file, args).map(arg => escapeArg(arg)).join(' ');\n};\n\nconst SPACES_REGEXP = / +/g;\n\n// Handle `execa.command()`\nconst parseCommand = command => {\n\tconst tokens = [];\n\tfor (const token of command.trim().split(SPACES_REGEXP)) {\n\t\t// Allow spaces to be escaped by a backslash if not meant as a delimiter\n\t\tconst previousToken = tokens[tokens.length - 1];\n\t\tif (previousToken && previousToken.endsWith('\\\\')) {\n\t\t\t// Merge previous token with current one\n\t\t\ttokens[tokens.length - 1] = `${previousToken.slice(0, -1)} ${token}`;\n\t\t} else {\n\t\t\ttokens.push(token);\n\t\t}\n\t}\n\n\treturn tokens;\n};\n\nmodule.exports = {\n\tjoinCommand,\n\tgetEscapedCommand,\n\tparseCommand\n};\n","'use strict';\nconst os = require('os');\n\nconst homeDirectory = os.homedir();\n\nmodule.exports = pathWithTilde => {\n\tif (typeof pathWithTilde !== 'string') {\n\t\tthrow new TypeError(`Expected a string, got ${typeof pathWithTilde}`);\n\t}\n\n\treturn homeDirectory ? pathWithTilde.replace(/^~(?=$|\\/|\\\\)/, homeDirectory) : pathWithTilde;\n};\n","const os = require(\"os\");\n\n// to detect on with os user had used path.resolve(...)\nconst is_posix_os = (os.platform() !== \"win32\");\nconst version = os.release();\n\n// For some windows version (Windows 10 v1803), it is not useful to escape spaces in path\n// https://docs.microsoft.com/en-us/windows/release-information/\nconst windows_version_regex = /(\\d+\\.\\d+)\\.(\\d+)/;\nconst should_not_escape = (major_release = \"\", os_build = \"\") =>\n /1\\d+\\.\\d+/.test(major_release) && Number(os_build) >= 17134.1184;\n\nmodule.exports = function (given_path) {\n return (is_posix_os)\n // for posix path, escape is simple\n ? given_path.replace(/(\\s+)/g, '\\\\$1')\n // for windows, it depend of the build\n : (should_not_escape(...windows_version_regex.exec(version).splice(1)))\n // on major version, no need to escape anymore\n // https://support.microsoft.com/en-us/help/4467268/url-encoded-unc-paths-not-url-decoded-in-windows-10-version-1803-later\n ? given_path\n // on older version, replace space with symbol %20\n : given_path.replace(/(\\s+)/g, '%20');\n};",null,"import { c as createFetch } from './chunks/fetch.mjs';\nexport { F as FetchError, c as createFetch, a as createFetchError } from './chunks/fetch.mjs';\nimport 'destr';\nimport 'ufo';\n\nconst _globalThis = function() {\n if (typeof globalThis !== \"undefined\") {\n return globalThis;\n }\n if (typeof self !== \"undefined\") {\n return self;\n }\n if (typeof window !== \"undefined\") {\n return window;\n }\n if (typeof global !== \"undefined\") {\n return global;\n }\n throw new Error(\"unable to locate global object\");\n}();\nconst fetch = _globalThis.fetch || (() => Promise.reject(new Error(\"[ohmyfetch] global.fetch is not supported!\")));\nconst Headers = _globalThis.Headers;\nconst $fetch = createFetch({ fetch, Headers });\n\nexport { $fetch, Headers, fetch };\n","/**\n * @param {string} url\n * @returns boolean\n * @description Check if a string is a URL.\n */\n\nimport { URL } from \"url\";\n\nexport const isUrlString = (url: string): boolean => {\n if (typeof url !== \"string\") {\n return false;\n }\n const trimmedUrl = url.trim();\n if (trimmedUrl.includes(\" \")) {\n return false;\n }\n\n try {\n // eslint-disable-next-line no-new\n new URL(trimmedUrl);\n\n return true;\n } catch {\n return false;\n }\n};\n","import { fetch } from \"ohmyfetch\";\nimport { isUrlString } from \"./isUrlString\";\n/**\n * @param {string} url\n * @returns Promise\n * @description Checks whether the URL is online or not by doing a request to the mentioned site.\n */\nexport const isUrlOnline = async (url: string): Promise => {\n const isString = isUrlString(url);\n\n if (!isString) {\n return false;\n }\n let response;\n try {\n response = await fetch(url, { method: \"HEAD\" });\n } catch {\n return false;\n }\n if (response.ok) {\n return true;\n }\n if (!response) {\n try {\n response = await fetch(url, { method: \"GET\" });\n } catch {\n return false;\n }\n }\n if (response.ok) {\n return true;\n }\n\n if (response.status > 400 && response.status < 500) {\n return false;\n }\n return true;\n};\n",null,null,"\nmodule.exports = require('./lib/time-delta.js');\n","module.exports = {\n \"id\": \"en\",\n \"data\": {\n \"long\": {\n \"years\": {\n \"one\": \"{0} year\",\n \"other\": \"{0} years\"\n },\n \"months\": {\n \"one\": \"{0} month\",\n \"other\": \"{0} months\"\n },\n \"weeks\": {\n \"one\": \"{0} week\",\n \"other\": \"{0} weeks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hour\",\n \"other\": \"{0} hours\"\n },\n \"minutes\": {\n \"one\": \"{0} minute\",\n \"other\": \"{0} minutes\"\n },\n \"seconds\": {\n \"one\": \"{0} second\",\n \"other\": \"{0} seconds\"\n }\n },\n \"narrow\": {\n \"years\": {\n \"one\": \"{0}y\",\n \"other\": \"{0}y\"\n },\n \"months\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"weeks\": {\n \"one\": \"{0}w\",\n \"other\": \"{0}w\"\n },\n \"days\": {\n \"one\": \"{0}d\",\n \"other\": \"{0}d\"\n },\n \"hours\": {\n \"one\": \"{0}h\",\n \"other\": \"{0}h\"\n },\n \"minutes\": {\n \"one\": \"{0}m\",\n \"other\": \"{0}m\"\n },\n \"seconds\": {\n \"one\": \"{0}s\",\n \"other\": \"{0}s\"\n }\n },\n \"short\": {\n \"years\": {\n \"one\": \"{0} yr\",\n \"other\": \"{0} yrs\"\n },\n \"months\": {\n \"one\": \"{0} mth\",\n \"other\": \"{0} mths\"\n },\n \"weeks\": {\n \"one\": \"{0} wk\",\n \"other\": \"{0} wks\"\n },\n \"days\": {\n \"one\": \"{0} day\",\n \"other\": \"{0} days\"\n },\n \"hours\": {\n \"one\": \"{0} hr\",\n \"other\": \"{0} hr\"\n },\n \"minutes\": {\n \"one\": \"{0} min\",\n \"other\": \"{0} min\"\n },\n \"seconds\": {\n \"one\": \"{0} sec\",\n \"other\": \"{0} sec\"\n }\n }\n }\n};\n","(function () {\n var root = this;\n var numerous;\n if ('function' === typeof require) {\n numerous = require('../lib/numerous.js');\n } else {\n numerous = root.numerous;\n }\n numerous.addLocale('en', function pluralize_en(n /*``*/ ) {\n var i = Math.floor(Math.abs(n)),\n v = n.toString().replace(/^[^.]*\\.?/, \"\").length;\n if (typeof n === \"string\") n = parseInt(n, 10);\n if (i === 1 && v === 0) return \"one\";\n return \"other\"\n });\n}).call(this);","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUbuntuVersion = void 0;\nconst child_process_1 = require(\"child_process\");\nfunction isSystemError(e) {\n return 'errno' in e;\n}\nfunction command(exe, args) {\n return new Promise((resolve, reject) => {\n child_process_1.execFile(exe, args, { encoding: 'utf8', shell: false }, (error, stdout, stderr) => {\n if (error) {\n if (isSystemError(error) && error.code === 'ENOENT') {\n resolve(null); // When lsb_release is not found\n return;\n }\n reject(new Error(`Could not execute \\`${exe} ${args.join(' ')}\\`: ${error} (stderr=${stderr})`));\n return;\n }\n resolve(stdout);\n });\n });\n}\nasync function getUbuntuVersion() {\n if (process.platform !== 'linux') {\n return [];\n }\n const stdout = await command('lsb_release', ['-a']);\n if (stdout === null) {\n return [];\n }\n const reDistributor = /^Distributor ID:\\s*(.+)$/;\n const reDescription = /^Description:\\s*Ubuntu\\s+(\\d+)\\.(\\d+)(?:\\.(\\d+))?/;\n const reRelease = /^Release:\\s*(\\d+)\\.(\\d+)(?:\\.(\\d+))?$/;\n let description = null;\n let release = null;\n let distributorFound = false;\n for (const line of stdout.split('\\n')) {\n const m = line.match(reDistributor);\n if (m !== null) {\n const distributor = m[1];\n if (distributor !== 'Ubuntu') {\n return [];\n }\n distributorFound = true;\n }\n const desc = line.match(reDescription);\n if (desc) {\n description = desc;\n }\n const rel = line.match(reRelease);\n if (rel) {\n release = rel;\n }\n if (distributorFound && description && release) {\n break;\n }\n }\n if (!distributorFound) {\n return [];\n }\n for (const m of [description, release]) {\n if (m) {\n const ss = [m[1], m[2]];\n if (m[3]) {\n ss.push(m[3]);\n }\n return ss.map(s => parseInt(s, 10));\n }\n }\n return [];\n}\nexports.getUbuntuVersion = getUbuntuVersion;\n//# sourceMappingURL=index.js.map","import execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname, join } from \"path\"\nimport which from \"which\"\nimport { addPath } from \"../utils/env/addEnv\"\nimport { addShellExtension, addShellHere } from \"extension-tools\"\nimport { notice } from \"../utils/io/io\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { giveUserAccess } from \"user-access\"\n\nlet hasVCPKG = false\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupVcpkg(_version: string, setupDir: string, _arch: string): Promise {\n if (!hasVCPKG || which.sync(\"vcpkg\", { nothrow: true }) === null) {\n if (process.platform === \"linux\") {\n // vcpkg download and extraction dependencies\n if (isArch()) {\n setupPacmanPack(\"curl\")\n setupPacmanPack(\"zip\")\n setupPacmanPack(\"unzip\")\n setupPacmanPack(\"tar\")\n setupPacmanPack(\"git\")\n setupPacmanPack(\"pkg-config\")\n } else if (hasDnf()) {\n setupDnfPack(\"curl\")\n setupDnfPack(\"zip\")\n setupDnfPack(\"unzip\")\n setupDnfPack(\"tar\")\n setupDnfPack(\"git\")\n setupDnfPack(\"pkg-config\")\n } else if (isUbuntu()) {\n await setupAptPack(\"curl\")\n await setupAptPack(\"zip\")\n await setupAptPack(\"unzip\")\n await setupAptPack(\"tar\")\n await setupAptPack(\"git\")\n await setupAptPack(\"pkg-config\")\n }\n }\n\n if (!existsSync(join(setupDir, addShellExtension(\"bootstrap-vcpkg\")))) {\n execa.sync(\"git\", [\"clone\", \"https://github.com/microsoft/vcpkg\"], { cwd: dirname(setupDir), stdio: \"inherit\" })\n } else {\n notice(`Vcpkg folder already exists at ${setupDir}. This might mean that ~/vcpkg is restored from the cache.`)\n }\n\n execa.sync(addShellExtension(addShellHere(\"bootstrap-vcpkg\")), { cwd: setupDir, shell: true, stdio: \"inherit\" })\n\n giveUserAccess(setupDir)\n\n await addPath(setupDir)\n // eslint-disable-next-line require-atomic-updates\n hasVCPKG = true\n return { binDir: setupDir }\n }\n\n return { binDir: dirname(which.sync(\"vcpkg\")) }\n}\n","import { dirname } from \"path\"\nimport which from \"which\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\nimport { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupNala(version: string, _setupDir: string, _arch: string) {\n if (!isUbuntu()) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"nala\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://github.com/volitank/nala#-installation\n const keyFileName = await addAptKeyViaDownload(\n \"volian-archive-scar-unstable.gpg\",\n \"https://deb.volian.org/volian/scar.key\"\n )\n execRootSync(\"/bin/bash\", [\n \"-c\",\n `echo \"deb [signed-by=${keyFileName}] http://deb.volian.org/volian/ scar main\" | tee /etc/apt/sources.list.d/volian-archive-scar-unstable.list`,\n ])\n\n try {\n if (version !== \"legacy\") {\n await setupAptPack(\"nala\", undefined, [], true)\n } else {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n } catch (err) {\n await setupAptPack(\"nala-legacy\", undefined, [], true)\n }\n\n binDir = \"/usr/bin\" // eslint-disable-line require-atomic-updates\n\n return { binDir }\n}\n","import { addAptKeyViaDownload, setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\nimport { execRootSync } from \"root-tools\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupBazel(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // install bazelisk because it contains both\n return setupChocoPack(\"bazelisk\", version)\n }\n case \"darwin\": {\n // install bazelisk because it contains both\n return setupBrewPack(\"bazelisk\", version)\n }\n case \"linux\": {\n if (isArch()) {\n throw new Error(\"installing bazel on Arch linux is not supported yet\")\n } else if (hasDnf()) {\n // https://bazel.build/install/redhat\n setupDnfPack(\"dnf-plugins-core\", undefined)\n execRootSync(\"dnf\", [\"copr\", \"enable\", \"vbatts/bazel\"])\n return setupDnfPack(\"bazel4\", undefined)\n } else if (isUbuntu()) {\n // https://bazel.build/install/ubuntu\n const keyFileName = await addAptKeyViaDownload(\n \"bazel-archive-keyring.gpg\",\n \"https://bazel.build/bazel-release.pub.gpg\"\n )\n execRootSync(\"bash\", [\n \"-c\",\n `echo \"deb [arch=amd64 signed-by=${keyFileName}] https://storage.googleapis.com/bazel-apt stable jdk1.8\" | tee /etc/apt/sources.list.d/bazel.list`,\n ])\n return setupAptPack(\"bazel\", version, [], true)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupConan(version: string | undefined, _setupDir: string, _arch: string) {\n await setupPipPack(\"setuptools\", \"\")\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, _setupDir: 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, _setupDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = await activateOpencppcoverage()\n return { binDir }\n}\n\nasync function activateOpencppcoverage() {\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return binDir\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupDir: 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 if (isArch()) {\n return setupPacmanPack(\"ccache\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"ccache\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = await activateWinCppcheck()\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"cppcheck\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"ccache\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"cppcheck\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n\nasync function activateWinCppcheck() {\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return binDir\n}\n","import { addPath } from \"../utils/env/addEnv\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupPacmanPack } from \"../utils/setup/setupPacmanPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { isArch } from \"../utils/env/isArch\"\nimport { hasDnf } from \"../utils/env/hasDnf\"\nimport { setupDnfPack } from \"../utils/setup/setupDnfPack\"\nimport { isUbuntu } from \"../utils/env/isUbuntu\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupMake(version: string, _setupDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"make\", version)\n }\n case \"darwin\": {\n setupBrewPack(\"make\", version)\n await addPath(\"/usr/local/opt/make/libexec/gnubin\")\n return { binDir: \"/usr/local/opt/make/libexec/gnubin\" }\n }\n case \"linux\": {\n if (isArch()) {\n return setupPacmanPack(\"make\", version)\n } else if (hasDnf()) {\n return setupDnfPack(\"make\", version)\n } else if (isUbuntu()) {\n return setupAptPack(\"make\", version)\n }\n throw new Error(`Unsupported linux distribution`)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$7b9209944aaaa76d$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$7b9209944aaaa76d$var$core","code","ignoreErrors","$cf4e1c210ca26295$export$c5eeb9c87a610a0e","_version","_setupDir","_arch","includes","process","platform","$cf4e1c210ca26295$var$binDir","maybeBinDir","$parcel$interopDefault","$ee50b93f35d1d045$exports","sync","nothrow","$gCrli$dirname","$gCrli$execFileSync","stdio","$13876d63a1d769ba$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$0d499e77a65c6243$exports","pathExt","$gCrli$delimiter","e","$gCrli$resolve","$9653863791c871cf$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$9653863791c871cf$var$verifyENOENT","status","$9653863791c871cf$var$isWin","file","$3d4add3ad29c5f63$var$spawn","$6c97148d68b1e108$exports","spawned","$gCrli$spawn","$9653863791c871cf$exports","hookChildProcess","async","$b66d4b39a4b6d666$var$getStream","inputStream","maxBuffer","Infinity","stream1","$e221f82cbd79e937$exports","rejectPromise","error","getBufferedLength","$b66d4b39a4b6d666$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$b66d4b39a4b6d666$var$streamPipelinePromisified","on","$b66d4b39a4b6d666$var$MaxBufferError","$f5d4aa828adcef03$export$316200228f28b8ce","CI","ref","getuid","call","$f5d4aa828adcef03$export$58f152936f209932","program","execOptions","shell","$78a9a46c46452123$exports","commandSync","map","arg","join","$e58590dcd68a5bb4$export$8312d9eeba321950","SUDO_USER","$gCrli$join","$b6801b6bd01e6394$exports","$8c6d8d466be1e003$export$43324456a02f71b0","startupFlags","$8c6d8d466be1e003$var$powershell","maybePwsh","maybePowerShell","$8c6d8d466be1e003$export$4dfdd3964d242d20","$7df98a59b6cda272$export$f63d3080ce25e0fd","name","valGiven","shouldEscapeSpace","val","$4d5f494194aaccf5$exports","$ywN2f","$gF2Jd","exportVariable","$81ovw","$7df98a59b6cda272$var$addEnvSystem","setFailed","$7df98a59b6cda272$export$4c25481b843feb0b","PATH","addPath","$7df98a59b6cda272$var$addPathSystem","info","$7df98a59b6cda272$export$bd1dffd792f43c41","$gCrli$appendFileSync","$7df98a59b6cda272$export$1bbbc3a810c5799d","$7df98a59b6cda272$var$setupCppInProfile_called","source_cpprc_str","$gCrli$existsSync","$gCrli$readFileSync","source_cpprc_string","profile_path","bashrc_path","warning","$8dc48a0df4182e55$export$d73dc343f5abf26","version","repositories","update","apt","$8dc48a0df4182e55$var$getApt","DEBIAN_FRONTEND","$8dc48a0df4182e55$var$didUpdate","$8dc48a0df4182e55$var$updateRepos","$8dc48a0df4182e55$var$didInit","$8dc48a0df4182e55$export$11aa10c05ada0934","$8dc48a0df4182e55$var$initApt","Array","isArray","length","repo","binDir","$8dc48a0df4182e55$var$initGpg","keys","server","fileName","key","$8dc48a0df4182e55$export$7fb1a688af1305f0","url","$8dc48a0df4182e55$export$6fe6436bd9f53d02","$341dc468efaea0e8$export$cfa75578ee2d6e6c","aur","pacman","$341dc468efaea0e8$var$didUpdate","$341dc468efaea0e8$var$didInit","$9c8780e70e45392a$export$ce5d13d8a85cb784","$9c8780e70e45392a$var$hasBrew","$9673de8e5b109fdc$export$b804d731cdad7ef9","$9673de8e5b109fdc$var$binDir","powershell","SystemRoot","chocoPath","ALLUSERSPROFILE","maybeChoco","_ChocolateyInstall","ChocolateyInstall","$ae125dfe1d8c6517$export$9f6912bc890040b2","$ae125dfe1d8c6517$var$hasChoco","TMP","TEMP","Path","extendEnv","message","notice","$0064ffc7a9258f2e$export$d415ddb6702ec3a2","$0064ffc7a9258f2e$var$isArchCache","$d2761e35f27d9347$export$8ce8b4b22331a8c7","$d2761e35f27d9347$var$hasDnfCache","$a985b62b448f1220$export$49d4f9ba8e0dd34f","dnf","$2c51dff9e067076b$export$da8baf1d6c6802b6","$2c51dff9e067076b$var$isUbuntuCache","$521895b306840a5a$export$e88210974180936f","win_ext","unix_ext","$521895b306840a5a$export$eae120f0e5838f32","$8ddba0eda1584d62$export$5fc39629e14c8173","$408e5c7710e3a3ac$export$f9a3d10eb7c735af","$050bf27eb9b74231$var$findAllVersions","toolName","arch","versions","$050bf27eb9b74231$var$os","toolPath","$050bf27eb9b74231$var$path","$050bf27eb9b74231$var$_getCacheDirectory","$050bf27eb9b74231$var$fs","existsSync","children","readdirSync","child","$050bf27eb9b74231$var$isExplicitVersion","fullPath","push","$050bf27eb9b74231$var$_createExtractFolder","dest","$050bf27eb9b74231$var$_getTempDirectory","$050bf27eb9b74231$var$v4_1","default","$050bf27eb9b74231$var$io","mkdirP","$050bf27eb9b74231$var$_createToolPath","tool","folderPath","$050bf27eb9b74231$var$semver","clean","$050bf27eb9b74231$var$core","debug","markerPath","rmRF","$050bf27eb9b74231$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$050bf27eb9b74231$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$gCrli$ok","tempDirectory","$050bf27eb9b74231$var$_getGlobal","defaultValue","value","$parcel$global","$4806f3517e2790ac$export$eecfe186811d4a20","$4806f3517e2790ac$var$sevenZip","$4806f3517e2790ac$var$getSevenZip","$4806f3517e2790ac$export$7949938b2681a4f0","$4806f3517e2790ac$export$6411c5cbab21135b","$4806f3517e2790ac$export$2ab07ac150064014","flags","$2fNe7","$47eb08dd23d40b94$export$334f77c9844c21f6","getPackageInfo","setupDir","_RUNNER_TEMP","_RUNNER_TOOL_CACHE","RUNNER_TEMP","$gCrli$tmpdir","RUNNER_TOOL_CACHE","binRelativeDir","binFileName","extractedFolderName","extractFunction","dir","$050bf27eb9b74231$exports","find","installDir","binFile","$47eb08dd23d40b94$var$didInit","downloaded","downloadTool","cacheDir","$af41b2eb086f75df$var$getTaskPackageInfo","taskPlatform","$af41b2eb086f75df$var$getTaskPlatform","taskArch","$af41b2eb086f75df$var$getTaskArch","isZip","extension","$846d2db31756a5f1$var$getCmakePackageInfo","semVersion","$3wKw1","isOld","$kNWZ7","osArchStr","folderName","extractTar","$846d2db31756a5f1$export$c28663a621f418ce","$58fb2ba5d4eaabfd$export$2b0b68e9df3d4a02","$58fb2ba5d4eaabfd$export$33cd96f062979ce0","setupActionsPython","parcelRequire","ref1","pythonBinPath","pythonSetupDir","$58fb2ba5d4eaabfd$var$activateWinPython","installInfo","$fafff3f6e5908d52$var$jsonParseTransform","$fafff3f6e5908d52$export$2e2bcd8739ae039","_lval","toLowerCase","NaN","$fafff3f6e5908d52$var$JsonSigRx","test","$fafff3f6e5908d52$var$suspectProtoRx","$fafff3f6e5908d52$var$suspectConstructorRx","JSON","parse","_e","$00ef19692b550fb9$export$97f8b03fabfc7ccb","text","encodeURI","replace","$00ef19692b550fb9$var$ENC_PIPE_RE","$00ef19692b550fb9$var$ENC_BRACKET_OPEN_RE","$00ef19692b550fb9$var$ENC_BRACKET_CLOSE_RE","$00ef19692b550fb9$export$c564cdbbe6da493","$00ef19692b550fb9$var$PLUS_RE","$00ef19692b550fb9$var$ENC_SPACE_RE","$00ef19692b550fb9$var$HASH_RE","$00ef19692b550fb9$var$AMPERSAND_RE","$00ef19692b550fb9$var$ENC_BACKTICK_RE","$00ef19692b550fb9$var$ENC_CURLY_OPEN_RE","$00ef19692b550fb9$var$ENC_CURLY_CLOSE_RE","$00ef19692b550fb9$var$ENC_CARET_RE","$00ef19692b550fb9$export$9c3f15ec9b02995a","$00ef19692b550fb9$var$EQUAL_RE","$00ef19692b550fb9$export$2f872c0f2117be69","decodeURIComponent","_err","$00ef19692b550fb9$export$1e8473eaf75b0d10","paramsStr","obj","substr","param","split","s1","match","$00ef19692b550fb9$export$ea421c814b82d531","input","queryParams","$00ef19692b550fb9$var$TRAILING_SLASH_RE","endsWith","$00ef19692b550fb9$export$3449c5b1ed5fd46e","s0","s4","$00ef19692b550fb9$export$a787c5c8c05654e2","startsWith","$00ef19692b550fb9$export$146a4964640d4f","$00ef19692b550fb9$export$e0f4c6d2a1e99ce0","query","$00ef19692b550fb9$export$4b3d9a5bae55976","mergedQuery","search","k","$00ef19692b550fb9$export$d95a1c84512dea01","String","_val","$00ef19692b550fb9$export$d33b45a8f796a30","fullpath","pathname","hash","protocol","auth","host","$00ef19692b550fb9$export$b813765174ec5b48","$00ef19692b550fb9$export$5c282e6e7403ddc5","defaultProto","inputStr","acceptProtocolRelative","$00ef19692b550fb9$var$PROTOCOL_REGEX","$00ef19692b550fb9$var$PROTOCOL_RELATIVE_REGEX","$00ef19692b550fb9$export$d1682ba7a069e55f","$00ef19692b550fb9$export$8ccf933b0513f8d0","hostAndPath","splice","$036c9aa33d982581$var$isPayloadMethod","method","$036c9aa33d982581$var$payloadMethods","has","toUpperCase","$790ff57fcb06130d$export$deb1064c8260c54c","semversion","from","filter","v","reverse","$3677b80f3674c7fd$export$c506eb22e615ba4a","osVersion","$3677b80f3674c7fd$var$useDefault","$3677b80f3674c7fd$var$DefaultUbuntuVersion","osVersionMaj","parseInt","$3677b80f3674c7fd$var$DefaultVersions","$bb1819ad9d8078c5$export$4020cb77ffa3ffac","$bb1819ad9d8078c5$var$python","givenFile","targetVersion","versionRegex","$790ff57fcb06130d$export$d7ab5e2d33b06cd5","givenVersion","execout","$eGKv1","getExecOutput","stdout","stderr","trim","console","$790ff57fcb06130d$export$5b54ecc7386538f","$odmNz","$bb1819ad9d8078c5$var$tried","$bb1819ad9d8078c5$var$binDir","$94f77cc296162005$export$b885bd977caaafb9","$94f77cc296162005$var$activateGraphviz","$09f0776ac5e57c1d$var$getDoxygenPackageInfo","$1bef5d52b7eec4ce$export$28f5fd35e3005b7a","xcrun","sdkroot","$3a6223ec43316a0a$var$getGccPackageInfo","mingwInfo","$3a6223ec43316a0a$var$GccToMingwInfo","mingwArch","exceptionModel","releaseName","fileSuffix","$3a6223ec43316a0a$export$405fab3de79b77b","installationInfo","_ChocolateyInstall1","$3a6223ec43316a0a$var$setupChocoMingw","promises","majorVersion","$ehbTi","matcherPath","$gCrli$path1","$3a6223ec43316a0a$var$__dirname1","$3a6223ec43316a0a$var$addGccLoggingMatcher","all","$3a6223ec43316a0a$var$activateGcc","$b027b2b1c81cdfa5$var$getGitHubUrl","prefix","suffix","$b027b2b1c81cdfa5$var$getReleaseUrl","$b027b2b1c81cdfa5$export$94df0e59ebebf4a7","$b027b2b1c81cdfa5$var$DARWIN_MISSING","$b027b2b1c81cdfa5$var$getDarwinUrl","versionGiven","rc","$b027b2b1c81cdfa5$var$UBUNTU_RC","get","ubuntu","givenUbuntuVersion","$b027b2b1c81cdfa5$export$aa5307f1aca77413","$b027b2b1c81cdfa5$var$UBUNTU_SUFFIX_MAP","$b027b2b1c81cdfa5$export$ae24f9682a44836b","$b027b2b1c81cdfa5$var$WIN32_MISSING","olderThan9_1","fallback","$8f3d5036151a3155$export$61e6a71eee2b02f9","$b027b2b1c81cdfa5$var$getWin32Url","$b027b2b1c81cdfa5$var$getLLVMPackageInfo","specificVersion","getUrl","setOutput","$b027b2b1c81cdfa5$export$3016de7ae9d14988","$b027b2b1c81cdfa5$var$_setupLLVM","_installDir","directory","$kULaE","coercedVersion","lib","_LD_LIBRARY_PATH","ld","LD_LIBRARY_PATH","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$b027b2b1c81cdfa5$var$addLLVMLoggingMatcher","$b027b2b1c81cdfa5$export$6238b5ebfd6640e7","$b027b2b1c81cdfa5$var$didInit","$b027b2b1c81cdfa5$export$814ccfc953503728","$b027b2b1c81cdfa5$var$__dirname1","$c112f7dc4a6d1792$var$issueCommand","properties","cmd","$c112f7dc4a6d1792$var$Command","write","$c112f7dc4a6d1792$var$os","EOL","$0da1435a5673ff4a$var$error","$c112f7dc4a6d1792$exports","issue","$0da1435a5673ff4a$var$startGroup","$0da1435a5673ff4a$var$endGroup","$03fa2bac94687fac$var$vsversion_to_versionnumber","vsversion","values","$03fa2bac94687fac$var$VsYearVersion","$03fa2bac94687fac$var$vsversion_to_year","year","ver","entries","$03fa2bac94687fac$var$findVcvarsall","vsversion_number","version_pattern","upper_bound","path1","pattern","$gCrli$execSync","installationPath","$0da1435a5673ff4a$exports","$03fa2bac94687fac$var$findWithVswhere","years","$03fa2bac94687fac$var$YEARS","prog_files","$03fa2bac94687fac$var$PROGRAM_FILES","ed","$03fa2bac94687fac$var$EDITIONS","$03fa2bac94687fac$var$PROGRAM_FILES_X86","$03fa2bac94687fac$var$isPathVariable","indexOf","$3bc36fe80bba3989$export$5dcf571c91fc8369","VCTargetsPath","toolset","sdk","uwp","spectre","$03fa2bac94687fac$export$443b8bb890f5027e","$3bc36fe80bba3989$var$getArch","$7039d147efcacce1$export$a91ef0362c1a7298","$03fa2bac94687fac$export$3c7cae5a162b1458","installed","vcvarsall_path","$03fa2bac94687fac$export$a6a3bfb882356813","$7039d147efcacce1$var$__dirname1","$7039d147efcacce1$var$addMSVCLoggingMatcher","$2c8be0433aa63082$var$getNinjaPackageInfo","ninjaPlatform","$2c8be0433aa63082$var$getNinjaPlatform","$2c8be0433aa63082$export$e6190f4bfe2ef71","$aeaaa5f722f62c97$var$toArr","any","$aeaaa5f722f62c97$var$toVal","out","opts","x","old","nxt","string","boolean","_","concat","$3b7100cc0a379b6a$var$getDownloadKcovPackageInfo","$3b7100cc0a379b6a$var$getBuildKcovPackageInfo","$3b7100cc0a379b6a$var$buildKcov","cmake","$3b7100cc0a379b6a$var$getCmake","buildDir","$71ec725eca131b9e$export$f22da7240b7add18","ACTIONS_ALLOW_UNSECURE_COMMANDS","$71ec725eca131b9e$export$7300a92932ee17a3","_architecture","help","architecture","_SETUP_CPP_DIR","setupCppDir","SETUP_CPP_DIR","successMessages","errorMessages","timeFormatter","$05e9e6b3660f8f7d$exports","create","autoloadLocales","time1","time2","addLocale","$a3d9ceb2b0adad84$exports","$xu1bL","$02af6f06b93afca7$exports","versionSplitted","$c02e4f88a510f864$exports","getUbuntuVersion","tools","otherTools","slice","i_other","otherTool","tool1","$71ec725eca131b9e$var$tools","Date","now","startGroup","setupFunction","$71ec725eca131b9e$var$setups","$71ec725eca131b9e$var$getSuccessMessage","endGroup","format","maybeCompiler","compiler","$71ec725eca131b9e$export$588248dee5258836","forEach","success","arr","j","idx","len","alibi","alias","strict","unknown","defaults","charCodeAt","substring","repeat","shift","$71ec725eca131b9e$var$inputs","fromEntries","inp","$71ec725eca131b9e$var$maybeGetInput","h","compilerAndMaybeVersion","maybeVersion","getInput","msg","$c212977669ffc7b9$var$getInput","required","trimWhitespace","$c212977669ffc7b9$var$error","$CzUPq","issueCommand","$7u2Mm","toCommandProperties","$c212977669ffc7b9$var$startGroup","$c212977669ffc7b9$var$endGroup","$c212977669ffc7b9$var$os","$c212977669ffc7b9$var$__importStar","$gCrli$os","$c212977669ffc7b9$var$path","$gCrli$path","$c212977669ffc7b9$var$ExitCode","ExitCode1","module","exports","ExitCode","convertedVal","toCommandValue","delimiter","$a92Us","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","setCommandEcho","enabled","exitCode","Failure","isDebug","group","fn","result","saveState","getState","getIDToken","aud","$aKUUy","OidcClient","defineProperty","enumerable","$f0qw2","summary","markdownSummary","$gzMJ3","toPosixPath","toWin32Path","toPlatformPath","$073f68cfe983618f$var$issueCommand","$073f68cfe983618f$var$Command","$073f68cfe983618f$var$os","$073f68cfe983618f$var$__importStar","constructor","this","toString","cmdStr","first","hasOwnProperty","s","$073f68cfe983618f$var$escapeData","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$762d007442c364ca$var$fs","$762d007442c364ca$var$__importStar","$gCrli$fs","$762d007442c364ca$var$os","filePath","appendFileSync","encoding","$7d4a589cbda69547$var$OidcClient","static","allowRetry","maxRetry","requestOptions","allowRetries","maxRetries","$9kh6d","HttpClient","$bynPH","BearerCredentialHandler","getRequestToken","token","runtimeUrl","id_token_url","httpclient","createHttpClient","res","getJson","catch","statusCode","id_token","_a","audience","getIDTokenUrl","encodeURIComponent","getCall","$6ca33ede3d67c352$var$http","$6ca33ede3d67c352$var$__importStar","$gCrli$http","$6ca33ede3d67c352$var$https","$gCrli$https","$6ca33ede3d67c352$var$pm","$6ca33ede3d67c352$var$tunnel","$6ca33ede3d67c352$var$HttpCodes","HttpCodes1","$6ca33ede3d67c352$var$Headers","Headers1","$6ca33ede3d67c352$var$MediaTypes","HttpCodes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","URL","href","$6ca33ede3d67c352$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$6ca33ede3d67c352$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$6ca33ede3d67c352$var$RetryableHttpVerbs","$6ca33ede3d67c352$var$HttpClientError","super","setPrototypeOf","prototype","HttpClientError","$6ca33ede3d67c352$var$HttpClientResponse","readBody","$6ca33ede3d67c352$var$__awaiter","output","Buffer","alloc","chunk","HttpClientResponse","isHttps","requestUrl","userAgent","handlers","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","Math","max","keepAlive","additionalHeaders","request","del","post","data","patch","put","head","sendStream","verb","stream","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","postJson","ContentType","putJson","patchJson","headers","parsedUrl","_prepareRequest","maxTries","response","numTries","requestRaw","Unauthorized","authenticationHandler","handler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","dispose","_agent","destroy","requestRawWithCallback","onResult","handleResult","callbackCalled","byteLength","req","httpModule","socket","sock","setTimeout","end","pipe","getAgent","_getAgent","usingSsl","defaultPort","port","_mergeHeaders","agent","prepareRequest","$6ca33ede3d67c352$var$lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","min","contents","NotFound","deserializeDates","isNaN","valueOf","reduce","$d15ca64227d39f30$var$checkBypass","reqUrl","noProxy","reqPort","upperReqHosts","upperNoProxyItem","some","proxyVar","checkBypass","$3044be9be8a68e81$var$TunnelingAgent","options1","self","proxyOptions","$gCrli$Agent","defaultMaxSockets","requests","sockets","localAddress","$3044be9be8a68e81$var$toOptions","pending","onSocket","removeSocket","$3044be9be8a68e81$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$3044be9be8a68e81$var$mergeOptions","servername","secureSocket","$gCrli$connect","target","arguments","overrides","keyLen","$3044be9be8a68e81$export$25cbd437c61a3835","$3044be9be8a68e81$export$c06e3df7111bae43","$3044be9be8a68e81$export$5d50e36ef656139f","$3044be9be8a68e81$export$212d6605025321cc","$3044be9be8a68e81$export$1c9f709888824e05","$3044be9be8a68e81$var$debug","$gCrli$request","$gCrli$request1","$gCrli$inherits","$gCrli$EventEmitter","addRequest","onFree","emit","onCloseOrRemove","removeListener","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","once","upgrade","nextTick","cause","stack","socket1","pos","BasicCredentialHandler","PersonalAccessTokenCredentialHandler","access","$aecb6c990ae3e90d$var$access","appendFile","$aecb6c990ae3e90d$var$appendFile","writeFile","$aecb6c990ae3e90d$var$writeFile","$gCrli$promises","SUMMARY_ENV_VAR","SUMMARY_DOCS_URL","$aecb6c990ae3e90d$var$_summary","_buffer","_filePath","pathFromEnv","$gCrli$constants","R_OK","W_OK","wrap","tag","content","attrs","htmlAttrs","overwrite","writeFunc","emptyBuffer","clear","isEmptyBuffer","addRaw","addEOL","$gCrli$EOL","addCodeBlock","lang","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","level","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","$031d40df77afb21f$var$path","$031d40df77afb21f$var$__importStar","pth","sep","$03bd9c2eb1055186$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","$03bd9c2eb1055186$var$checkPathExt","$03bd9c2eb1055186$var$isexe","$gCrli$stat","$gCrli$statSync","$fddc3ef8185065f0$var$isexe","$fddc3ef8185065f0$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","g","ug","$fddc3ef8185065f0$var$checkMode","$f76427e29b649494$export$a3bc9b8ed74fc","log","$f76427e29b649494$export$fe7c49d056ea1d88","$f76427e29b649494$export$491112666e282270","$f76427e29b649494$export$b31f6ae88848cf15","$f76427e29b649494$export$a80b3bd66acc52ff","GERRIT_PROJECT","SYSTEM_TEAMFOUNDATIONCOLLECTIONURI","BITRISE_IO","BUDDY_WORKSPACE_ID","BUILDKITE","CIRRUS_CI","GITLAB_CI","APPVEYOR","CIRCLECI","SEMAPHORE","DRONE","DSARI","GITHUB_ACTION","TDDIUM","SCREWDRIVER","STRIDER","TASKCLUSTER_ROOT_URL","JENKINS_URL","GO_PIPELINE_NAME","HUDSON_URL","WERCKER","NETLIFY","NOW_GITHUB_DEPLOYMENT","GITLAB_DEPLOYMENT","BITBUCKET_DEPLOYMENT","BITBUCKET_BUILD_NUMBER","NOW_BUILDER","VERCEL_GITHUB_DEPLOYMENT","VERCEL_GITLAB_DEPLOYMENT","VERCEL_BITBUCKET_DEPLOYMENT","VERCEL_URL","MAGNUM","NEVERCODE","RENDER","SAIL_CI","SHIPPABLE","TEAMCITY_VERSION","CI_NAME","NODE","TRAVIS","CODEBUILD_SRC_DIR","BUILDER_OUTPUT","$1a432ae5df7c9fc5$var$rmRF","$1a432ae5df7c9fc5$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$1a432ae5df7c9fc5$var$exec","unlink","err1","isDir","$1a432ae5df7c9fc5$var$execFile","$1a432ae5df7c9fc5$var$mkdirP","fsPath","mkdir","recursive","$1a432ae5df7c9fc5$var$findInPath","extensions","$1a432ae5df7c9fc5$var$path","isRooted","tryGetExecutablePath","directories","matches","$1a432ae5df7c9fc5$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","files","readdir","srcFile","destFile","lstat","$1a432ae5df7c9fc5$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$1a432ae5df7c9fc5$var$childProcess","$1a432ae5df7c9fc5$var$__importStar","$gCrli$child_process","$gCrli$promisify","exec","execFile","cp","source","copySourceDirectory","$1a432ae5df7c9fc5$var$readCopyOptions","destStat","newDest","basename","relative","mv","destExists","dirname","rename","which","$1a432ae5df7c9fc5$var$which","check","findInPath","$002c9b206c81b529$var$isUnixExecutable","stats","$002c9b206c81b529$var$fs","$002c9b206c81b529$var$__importStar","$002c9b206c81b529$var$path","$002c9b206c81b529$var$_a","rmdir","useStat","$002c9b206c81b529$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a1","$839618916b261156$var$semver","$839618916b261156$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","$gCrli$platform","candidate","chk","platform_version","_getOsVersion","plat","lsbContents","_readLinuxVersionFile","lines","parts","lsbReleaseFile","osReleaseFile","$e9hBm","re","tokens","t","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","inc","diff","major","minor","prerelease","compare","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","coerce","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","index","$36nrx","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$a4cf8f46fd58533a$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","Number","MAX_SAFE_INTEGER","$24241defe03a56e8$var$debug","$4Y6QE","$a933169cf37428ec$var$SemVer","$kQXIc","loose","includePrerelease","$a933169cf37428ec$require$MAX_LENGTH","m","$a933169cf37428ec$require$re","$a933169cf37428ec$require$t","LOOSE","FULL","raw","$a933169cf37428ec$require$MAX_SAFE_INTEGER","id","num","build","other","compareMain","comparePre","$a933169cf37428ec$require$compareIdentifiers","release","identifier","$f2e6fb8416d028ea$var$opts","o","$3e9da70389122fde$var$numeric","$3e9da70389122fde$var$compareIdentifiers","anum","bnum","$ewE0y","$6da50047f029b6ec$require$MAX_LENGTH","$6da50047f029b6ec$require$re","$6da50047f029b6ec$require$t","$9pDo3","version1","version2","$13Au1","v1","v2","hasPre","defaultResult","versionA","versionB","$34MvR","list","op","$lMg40","$fMkbf","$kdktp","$KbgdS","rtl","next","$2918713db77b48d4$require$re","$2918713db77b48d4$require$t","COERCERTL","lastIndex","$6fd10eb44bc1053f$var$ANY","Symbol","$6fd10eb44bc1053f$var$Comparator","ANY","comp","semver","operator","$6fd10eb44bc1053f$require$re","$6fd10eb44bc1053f$require$t","COMPARATORLOOSE","COMPARATOR","$hYtJM","$kEeqW","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$f082bd4895a2884d$var$Range","range","$9Bceq","set","r","parseRange","$f082bd4895a2884d$var$isNullSet","$f082bd4895a2884d$var$isAny","comps","memoKey","cached","$f082bd4895a2884d$var$cache","$f082bd4895a2884d$require$re","$f082bd4895a2884d$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$f082bd4895a2884d$var$hyphenReplace","COMPARATORTRIM","$f082bd4895a2884d$require$comparatorTrimReplace","rangeList","TILDETRIM","$f082bd4895a2884d$require$tildeTrimReplace","CARETTRIM","$f082bd4895a2884d$require$caretTrimReplace","$f082bd4895a2884d$var$parseComparator","$f082bd4895a2884d$var$replaceGTE0","rangeMap","Map","comparators","comp1","size","delete","thisComparators","$f082bd4895a2884d$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$f082bd4895a2884d$var$testSet","remainingComparators","testComparator","pop","otherComparator","$f082bd4895a2884d$var$replaceCarets","$f082bd4895a2884d$var$replaceTildes","$f082bd4895a2884d$var$replaceXRanges","$f082bd4895a2884d$var$replaceStars","$f082bd4895a2884d$var$isX","$f082bd4895a2884d$var$replaceTilde","TILDELOOSE","TILDE","M","pr","ret","$f082bd4895a2884d$var$replaceCaret","z","CARETLOOSE","CARET","$f082bd4895a2884d$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","to","tM","tm","tp","tpr","tb","allowed","$820f241dd15ba23c$var$perf","performance","$820f241dd15ba23c$var$AC","AbortController","signal","AbortSignal","abort","aborted","$820f241dd15ba23c$var$warned","Set","$820f241dd15ba23c$var$deprecatedOption","opt","instead","$820f241dd15ba23c$var$shouldWarn","$820f241dd15ba23c$var$warn","$820f241dd15ba23c$var$LRUCache","$820f241dd15ba23c$var$deprecatedMethod","getOwnPropertyDescriptor","$820f241dd15ba23c$var$emitWarning","emitWarning","what","add","$820f241dd15ba23c$var$isPosInt","n","floor","isFinite","$820f241dd15ba23c$var$getUintArray","$820f241dd15ba23c$var$ZeroArray","Uint32Array","Uint16Array","Uint8Array","fill","$820f241dd15ba23c$var$Stack","UintArray","heap","ttl","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","disposeAfter","noDisposeOnSet","noUpdateTTL","maxSize","sizeCalculation","fetchMethod","maxAge","stale","keyMap","keyList","valList","prev","tail","free","initialFill","disposed","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","ttls","starts","setItemTTL","isStale","unref","updateItemAge","cachedNow","getNow","calculatedSize","sizes","removeItemSize","requireSize","addItemSize","evict","indexes","isValidIndex","rindexes","rentries","rkeys","rvalues","iterator","getOptions","thisp","rforEach","prune","purgeStale","deleted","dump","entry","unshift","load","reason","newIndex","oldVal","isBackgroundFetch","__abortController","moveToTail","peek","backgroundFetch","ac","fetchOpts","then","__staleWhileFetching","fetching","connect","reset","field","$820f241dd15ba23c$var$deprecatedProperty","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","$44984a2886386c55$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$fThUd","high","low","$5T7ZF","r1","r2","ranges","simplified","$28e7bcc4b2b66496$var$ANY","$28e7bcc4b2b66496$var$simpleSubset","sub","dom","eqSet","gtltComp","higher","lower","hasDomLT","hasDomGT","$28e7bcc4b2b66496$var$higherGT","$28e7bcc4b2b66496$var$lowerLT","needDomLTPre","needDomGTPre","c1","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$7tyCH","buf","offset","rnds","random","rng","ii","$cyw4a","$gCrli$randomBytes","$924188b3e0448444$var$byteToHex","$924188b3e0448444$var$i","i1","$ab190eb82299eef6$var$exec","commandLine","commandArgs","$ab190eb82299eef6$var$tr","argStringToArray","ToolRunner","$ab190eb82299eef6$var$__importStar","stdoutDecoder","$gCrli$StringDecoder","stderrDecoder","originalStdoutListener","listeners","originalStdErrListener","_b","$b6b01ca0ac6a61d6$var$os","$b6b01ca0ac6a61d6$var$__importStar","$b6b01ca0ac6a61d6$var$events","$gCrli$events","$b6b01ca0ac6a61d6$var$child","$b6b01ca0ac6a61d6$var$path","$b6b01ca0ac6a61d6$var$io","$b6b01ca0ac6a61d6$var$ioUtil","$b6b01ca0ac6a61d6$var$IS_WINDOWS","EventEmitter","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","silent","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$b6b01ca0ac6a61d6$var$__awaiter","optionsNonNull","state","$b6b01ca0ac6a61d6$var$ExecState","spawn","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","stdin","argString","append","escaped","inQuotes","charAt","done","timeout","_setResult","$gCrli$setTimeout","HandleTimeout","clearTimeout","import","$c2590d837d224815$var$addLocale","localeData","$c2590d837d224815$var$locales","$c2590d837d224815$var$pluralize","unit","config","unitTypeData","locale","lookupOrder","unitTypeLookupOrder","unitType","$c2590d837d224815$var$getLocaleDataForUnitType","pluralize","$c2590d837d224815$var$timeUnits","$c2590d837d224815$var$defaultConfig","span","firstDate","secondDate","autoload","$7IZzv","localeId","require","$c2590d837d224815$var$requireLocale","$c2590d837d224815$var$ensureLocaleLoadedOrThrow","difference","results","divider","$c2590d837d224815$var$getDifference","$c2590d837d224815$var$format","variants","checkLocale","locales","hasLocale","$f7e860cde5315f5f$var$__dirname1","requireLocale","moduleDefinition","callable","numerous","node","$ee50b93f35d1d045$var$isWindows","OSTYPE","$ee50b93f35d1d045$var$COLON","TESTING_WINDOWS","$7b9209944aaaa76d$exports","$ee50b93f35d1d045$var$getNotFoundError","$ee50b93f35d1d045$var$getPathInfo","colon","pathEnv","pathExtExe","$ee50b93f35d1d045$var$which","found","step","ppRaw","pathPart","pCmd","subStep","ext","cur","ex","$0d499e77a65c6243$var$pathKey","environment","$7dd3fa4e75bca08d$export$ae50443ffc990749","$7dd3fa4e75bca08d$export$6ea29ee575e3f5ff","$13876d63a1d769ba$exports","$7dd3fa4e75bca08d$var$metaCharsRegExp","doubleEscapeMetaChars","$0d00fbf54931595d$exports","$29c07e94897d7a59$exports","argument","binary","$36323010904bb25a$exports","buffer","fd","$gCrli$openSync","$gCrli$readSync","$gCrli$closeSync","$6c97148d68b1e108$var$isWin","$6c97148d68b1e108$var$isExecutableRegExp","$6c97148d68b1e108$var$isCmdShimRegExp","commandFile","shebang","$6c97148d68b1e108$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","$gCrli$normalize","shellCommand","comspec","$6c97148d68b1e108$var$parseNonShell","originalEmit","arg1","apply","$3d4add3ad29c5f63$exports","$gCrli$spawnSync","verifyENOENTSync","_parse","_enoent","$6c65bf76ed80beb1$exports","CR","$3c40ebeb795180e6$var$npmRunPath","previous","execPath","cwdPath","execPathDir","$3c40ebeb795180e6$exports","$083c094d5f322ea4$var$mimicFn","prop","Reflect","ownKeys","$083c094d5f322ea4$exports","$4744e4dfe63f8573$var$calledFunctions","WeakMap","$4744e4dfe63f8573$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime1","arguments_","throw","$4744e4dfe63f8573$exports","$5ef0bba32a11c1bd$exports","signalsByNumber","signalsByName","$67476999bf5eecc7$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","$ce3780d380f6d6d2$var$SIGRTMAX","realtimeSignals","$ce3780d380f6d6d2$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","constants","supported","signalByNameMemo","$5ef0bba32a11c1bd$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$5ef0bba32a11c1bd$var$signalsByNumber","$22ce991938258c2c$exports","escapedCommand","timedOut","isCanceled","killed","signalDescription","$22ce991938258c2c$require$signalsByName","errorCode","$22ce991938258c2c$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$25226dd4913ac96b$var$aliases","$25226dd4913ac96b$var$normalizeStdio","$25226dd4913ac96b$var$hasAlias","$25226dd4913ac96b$exports","$7324ecdc22917825$var$process","$7324ecdc22917825$var$processOk","process1","reallyExit","kill","pid","$7324ecdc22917825$var$emitter","$7324ecdc22917825$var$assert","$gCrli$assert","$7324ecdc22917825$var$signals","$7324ecdc22917825$var$isWin","$7324ecdc22917825$var$EE","__signal_exit_emitter__","count","emitted","infinite","setMaxListeners","$7324ecdc22917825$exports","equal","$7324ecdc22917825$var$loaded","$7324ecdc22917825$var$load","ev","alwaysLast","$7324ecdc22917825$var$unload","sig","$7324ecdc22917825$var$sigListeners","$7324ecdc22917825$var$originalProcessEmit","$7324ecdc22917825$var$originalProcessReallyExit","unload","$7324ecdc22917825$var$emit","event","$7324ecdc22917825$var$processEmit","$7324ecdc22917825$var$processReallyExit","$2a9d5cede3e23a86$var$isSigterm","$gCrli$constants1","SIGTERM","$2a9d5cede3e23a86$exports","killResult","forceKillAfterTimeout","$2a9d5cede3e23a86$var$shouldForceKill","$2a9d5cede3e23a86$var$getForceKillAfterTimeout","$2a9d5cede3e23a86$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$2a9d5cede3e23a86$var$timeoutKill","safeSpawnedPromise","finally","race","cleanup","detached","timedPromise","removeExitHandler","spawnedKill","spawnedCancel","setupTimeout","validateTimeout","setExitHandler","$444c55d8cc7400c1$var$isStream","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$444c55d8cc7400c1$exports","$gCrli$constants2","$gCrli$PassThrough","array","isBuffer","objectMode","$e221f82cbd79e937$require$PassThroughStream","setEncoding","chunks","$b66d4b39a4b6d666$require$promisify","$gCrli$pipeline","$b66d4b39a4b6d666$exports","stream2","stream3","MaxBufferError","$247e371530aaf2c8$exports","sources","remove","bind","isEmpty","it","$247e371530aaf2c8$require$PassThrough","$06125db202b43402$var$getBufferedData","streamPromise","$06125db202b43402$var$getStreamPromise","$06125db202b43402$exports","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","getSpawnedResult","makeAllStream","validateInputSync","$cd1d4b7bf0a885f7$var$nativePromisePrototype","$cd1d4b7bf0a885f7$var$descriptors","property","$cd1d4b7bf0a885f7$exports","promise","descriptor","mergePromise","getSpawnedPromise","$7f1ae7744e01347b$var$normalizeArgs","$7f1ae7744e01347b$var$NO_ESCAPE_REGEXP","$7f1ae7744e01347b$var$DOUBLE_QUOTES_REGEXP","$7f1ae7744e01347b$var$SPACES_REGEXP","$7f1ae7744e01347b$exports","$7f1ae7744e01347b$var$escapeArg","previousToken","joinCommand","parseCommand","getEscapedCommand","$78a9a46c46452123$var$handleArguments","stripFinalNewline","preferLocal","localDir","windowsHide","envOption","$78a9a46c46452123$var$getEnv","$gCrli$basename","$78a9a46c46452123$var$handleOutput","$78a9a46c46452123$var$execa","$78a9a46c46452123$require$joinCommand","$78a9a46c46452123$require$getEscapedCommand","$78a9a46c46452123$require$validateTimeout","error1","dummySpawned","$gCrli$ChildProcess","errorPromise","$78a9a46c46452123$require$mergePromise","$78a9a46c46452123$require$getSpawnedPromise","$78a9a46c46452123$require$setupTimeout","$78a9a46c46452123$require$setExitHandler","$78a9a46c46452123$require$spawnedKill","cancel","$78a9a46c46452123$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$78a9a46c46452123$require$getSpawnedResult","returnedError","$78a9a46c46452123$require$handleInput","$78a9a46c46452123$require$makeAllStream","$78a9a46c46452123$require$validateInputSync","$78a9a46c46452123$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$b6801b6bd01e6394$var$homeDirectory","$gCrli$homedir","pathWithTilde","$4d5f494194aaccf5$var$is_posix_os","$4d5f494194aaccf5$var$version","$gCrli$release","$4d5f494194aaccf5$var$windows_version_regex","given_path","major_release","os_build","$4d5f494194aaccf5$var$should_not_escape","$050bf27eb9b74231$var$__importStar","$050bf27eb9b74231$var$mm","$050bf27eb9b74231$var$httpm","$050bf27eb9b74231$var$stream","$gCrli$stream","$050bf27eb9b74231$var$util","$gCrli$util","$050bf27eb9b74231$var$__importDefault","$0720ed162241c7ef$var$core","$0720ed162241c7ef$var$__importStar","$0720ed162241c7ef$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$050bf27eb9b74231$var$HTTPError","httpStatusCode","HTTPError","$050bf27eb9b74231$var$IS_WINDOWS","$050bf27eb9b74231$var$IS_MAC","retryHelper","$050bf27eb9b74231$var$__awaiter","http","authorization","statusMessage","pipeline","promisify","readStream","responseMessageFactory","succeeded","createWriteStream","$050bf27eb9b74231$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","$050bf27eb9b74231$var$__dirname1","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","extractZip","escapedFile","escapedDest","pwshPath","$050bf27eb9b74231$var$extractZipWin","unzipPath","$050bf27eb9b74231$var$extractZipNix","statSync","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","getManifestFromRepo","owner","branch","releases","treeUrl","manifestUrl","tree","versionsRaw","findFromManifest","manifest","isExplicitVersion","evaluateVersions","$036c9aa33d982581$export$d66501df72047452","freeze","$036c9aa33d982581$var$textTypes","$036c9aa33d982581$var$JSON_RE","$036c9aa33d982581$var$retryStatusCodes","$f9897fc9288b183c$var$_globalThis","globalThis","window","$f9897fc9288b183c$export$e7aa7bc5c1b3cfb3","fetch","$036c9aa33d982581$export$db3b6bfb95261072","globalOptions","onError","ctx","retry","retries","responseCode","$fetchRaw","statusText","fetchError","_data","$036c9aa33d982581$export$407448d2b89b1813","captureStackTrace","_request","_opts","onRequest","baseURL","base","_base","s3","$00ef19692b550fb9$export$9dda8e63e09c0c5f","$00ef19692b550fb9$export$4c785ca4fdb0013c","params","body","toJSON","$036c9aa33d982581$var$isJSONSerializable","onRequestError","responseType","parseResponse","_contentType","contentType","$036c9aa33d982581$var$detectResponseType","onResponse","ok","onResponseError","$fetch","defaultOptions","$gCrli$URL","$8f3d5036151a3155$export$8092cb61b2731942","llvm","clangtidy","clangformat","ninja","gcovr","conan","meson","kcov","task","doxygen","gcc","nala","specific","$c112f7dc4a6d1792$var$__importStar","$7104a8b219ab06be$exports","$c112f7dc4a6d1792$var$escapeData","$419fd15dcc891459$var$fs","$419fd15dcc891459$var$__importStar","$419fd15dcc891459$var$os","$419fd15dcc891459$exports","$0da1435a5673ff4a$var$os","$0da1435a5673ff4a$var$__importStar","$0da1435a5673ff4a$var$path","$0da1435a5673ff4a$var$ExitCode","$gCrli$env","$03fa2bac94687fac$var$VSWHERE_PATH","$gCrli$platform1","arch_aliases","win32","win64","x86_64","vcvars","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","long","one","months","weeks","days","hours","minutes","narrow","short","abs","exe","$gCrli$execFile","reDistributor","reDescription","reRelease","distributorFound","desc","rel","ss","$afd14d39247c0f30$var$binDir","$ce54bf56b9f5521e$var$hasVCPKG","python","vcpkg","bazel","opencppcoverage","$4072dd4cc3873d73$var$activateOpencppcoverage","choco","brew","ccache","$09f0776ac5e57c1d$var$activateWinDoxygen","graphviz","cppcheck","$758d288127dc92bf$var$activateWinCppcheck","msvc","vcvarsall","versionSplit","installMethod","version_number","make","sevenzip","argv"],"version":3,"file":"setup_cpp.mjs.map","sourceRoot":"../"} \ No newline at end of file diff --git a/package.json b/package.json index 7cce4c24..707000bd 100644 --- a/package.json +++ b/package.json @@ -60,6 +60,7 @@ "exec-powershell": "workspace:*", "execa": "^5.1.1", "extension-tools": "workspace:*", + "is-url-online": "^1.4.0", "mri": "^1.2.0", "msvc-dev-cmd": "github:aminya/msvc-dev-cmd#9f672c1", "numerous": "1.0.3", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 60eb575b..803428e4 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -34,6 +34,7 @@ importers: execa: ^5.1.1 extension-tools: workspace:* gen-readme: ^1.6.0 + is-url-online: ^1.4.0 jest: ^28.1.3 loose-ts-check: ^1.2.0 mri: ^1.2.0 @@ -68,6 +69,7 @@ importers: exec-powershell: link:packages/exec-powershell execa: 5.1.1 extension-tools: link:packages/extension-tools + is-url-online: 1.4.0 mri: 1.2.0 msvc-dev-cmd: github.com/aminya/msvc-dev-cmd/9f672c1 numerous: 1.0.3 @@ -3899,6 +3901,10 @@ packages: engines: {node: '>=6'} dev: true + /destr/1.1.1: + resolution: {integrity: sha512-QqkneF8LrYmwATMdnuD2MLI3GHQIcBnG6qFC2q9bSH430VTCDAVjcspPmUaKhPGtAtPAftIUFqY1obQYQuwmbg==} + dev: false + /detect-indent/6.1.0: resolution: {integrity: sha512-reYkTUJAZb9gUuZ2RvVCNhVHdg62RHnJ7WJl8ftMi4diZ6NWlciOzQN88pUhSELEwflJht4oQDv0F0BMlwaYtA==} engines: {node: '>=8'} @@ -5748,6 +5754,12 @@ packages: resolution: {integrity: sha512-cyA56iCMHAh5CdzjJIa4aohJyeO1YbwLi3Jc35MmRU6poroFjIGZzUzupGiRPOjgHg9TLu43xbpwXk523fMxKA==} dev: true + /is-url-online/1.4.0: + resolution: {integrity: sha512-p61eygpIlCshn3f4yOYwng4EkuQ+EAi5/B27p8Qp1BKkqfQMohnpMEx6LX8MG7QKHRppDQt5drwlqMOrRt5eBA==} + dependencies: + ohmyfetch: 0.4.18 + dev: false + /is-url/1.2.4: resolution: {integrity: sha512-ITvGim8FhRiYe4IQ5uHSkj7pVaPDrCTkNd3yq3cV7iZAcJdHTUMPMEHcqSOy9xZ9qFenQCvi+2wjH9a1nXqHww==} dev: true @@ -7060,6 +7072,10 @@ packages: resolution: {integrity: sha512-73sE9+3UaLYYFmDsFZnqCInzPyh3MqIwZO9cw58yIqAZhONrrabrYyYe3TuIqtIiOuTXVhsGau8hcrhhwSsDIQ==} dev: true + /node-fetch-native/0.1.4: + resolution: {integrity: sha512-10EKpOCQPXwZVFh3U1ptOMWBgKTbsN7Vvo6WVKt5pw4hp8zbv6ZVBZPlXw+5M6Tyi1oc1iD4/sNPd71KYA16tQ==} + dev: false + /node-fetch/2.6.7: resolution: {integrity: sha512-ZjMPFEfVx5j+y2yF35Kzx5sF7kDzxuDj6ziH4FFbOp87zKDZNx8yExJIb05OGF4Nlt9IHFIMBkRl41VdvcNdbQ==} engines: {node: 4.x || >=6.0.0} @@ -7354,6 +7370,15 @@ packages: es-abstract: 1.20.1 dev: true + /ohmyfetch/0.4.18: + resolution: {integrity: sha512-MslzNrQzBLtZHmiZBI8QMOcMpdNFlK61OJ34nFNFynZ4v+4BonfCQ7VIN4EGXvGGq5zhDzgdJoY3o9S1l2T7KQ==} + dependencies: + destr: 1.1.1 + node-fetch-native: 0.1.4 + ufo: 0.8.5 + undici: 5.8.1 + dev: false + /once/1.4.0: resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} dependencies: @@ -8916,6 +8941,10 @@ packages: resolution: {integrity: sha512-/IZMqVoMJ0Wl+vRJBlsIhbkpFlXnO9GdOk6zAiy0s4CyDJqpB/qp5T/ah4eoH1OL7ctNJN65nITtRIcbPCoU/w==} dev: false + /ufo/0.8.5: + resolution: {integrity: sha512-e4+UtA5IRO+ha6hYklwj6r7BjiGMxS0O+UaSg9HbaTefg4kMkzj4tXzEBajRR+wkxf+golgAWKzLbytCUDMJAA==} + dev: false + /uglify-js/3.16.3: resolution: {integrity: sha512-uVbFqx9vvLhQg0iBaau9Z75AxWJ8tqM9AV890dIZCLApF4rTcyHwmAvLeEdYRs+BzYWu8Iw81F79ah0EfTXbaw==} engines: {node: '>=0.8.0'} @@ -8933,6 +8962,11 @@ packages: which-boxed-primitive: 1.0.2 dev: true + /undici/5.8.1: + resolution: {integrity: sha512-iDRmWX4Zar/4A/t+1LrKQRm102zw2l9Wgat3LtTlTn8ykvMZmAmpq9tjyHEigx18FsY7IfATvyN3xSw9BDz0eA==} + engines: {node: '>=12.18'} + dev: false + /unique-filename/1.1.1: resolution: {integrity: sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==} dependencies: diff --git a/src/llvm/__tests__/llvm.test.ts b/src/llvm/__tests__/llvm.test.ts index 5579df69..2fab48e0 100644 --- a/src/llvm/__tests__/llvm.test.ts +++ b/src/llvm/__tests__/llvm.test.ts @@ -1,6 +1,6 @@ import { setupLLVM, VERSIONS, getUrl, setupClangTools, getLinuxUrl } from "../llvm" import { getSpecificVersionAndUrl } from "../../utils/setup/version" -import { isValidUrl } from "../../utils/http/validate_url" +import { isUrlOnline } from "is-url-online" import { setupTmpDir, cleanupTmpDir, testBin } from "../../utils/tests/test-helpers" import ciDetect from "@npmcli/ci-detect" import execa from "execa" @@ -14,7 +14,7 @@ jest.setTimeout(400000) async function testUrl(version: string) { const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, process.platform, version, getUrl) - if (!(await isValidUrl(url))) { + if (!(await isUrlOnline(url))) { throw new Error(`Failed to install Version: ${version} => ${specificVersion} \n URL: ${url}`) } } diff --git a/src/llvm/llvm.ts b/src/llvm/llvm.ts index 277a03bb..72481f24 100644 --- a/src/llvm/llvm.ts +++ b/src/llvm/llvm.ts @@ -1,7 +1,7 @@ import * as path from "path" import semverLte from "semver/functions/lte" import semverMajor from "semver/functions/major" -import { isValidUrl } from "../utils/http/validate_url" +import { isUrlOnline } from "is-url-online" import { InstallationInfo, PackageInfo, setupBin } from "../utils/setup/setupBin" import { extractExe, extractTarByExe } from "../utils/setup/extract" import { @@ -231,7 +231,7 @@ async function getWin32Url(version: string): Promise { let fallback = false if (olderThan9_1) { url = getReleaseUrl(version, prefix, suffix) - if (!(await isValidUrl(url))) { + if (!(await isUrlOnline(url))) { fallback = true // fallback to github } } diff --git a/src/utils/http/validate_url.ts b/src/utils/http/validate_url.ts deleted file mode 100644 index 4848c3cb..00000000 --- a/src/utils/http/validate_url.ts +++ /dev/null @@ -1,13 +0,0 @@ -import * as https from "https" - -export function isValidUrl(url: string) { - return new Promise((resolve) => { - https.get(url, (res) => { - if (res.statusCode !== undefined && res.statusCode >= 200 && res.statusCode <= 399) { - resolve(true) - } else { - resolve(false) - } - }) - }) -} diff --git a/src/utils/setup/version.ts b/src/utils/setup/version.ts index df2e3692..8ea5ec18 100644 --- a/src/utils/setup/version.ts +++ b/src/utils/setup/version.ts @@ -1,4 +1,4 @@ -import { isValidUrl } from "../http/validate_url" +import { isUrlOnline } from "is-url-online" import semverCompare from "semver/functions/compare" import semverCoerce from "semver/functions/coerce" import semverValid from "semver/functions/valid" @@ -42,7 +42,7 @@ export async function getSpecificVersionAndUrl( if (platform === "linux" && version.includes("ubuntu")) { const url = await getUrl(platform, version) // eslint-disable-next-line no-await-in-loop - if (url !== null && (await isValidUrl(url))) { + if (url !== null && (await isUrlOnline(url))) { return [version, url] } } @@ -55,7 +55,7 @@ export async function getSpecificVersionAndUrl( // eslint-disable-next-line no-await-in-loop const url = await getUrl(platform, specificVersion) // eslint-disable-next-line no-await-in-loop - if (url !== null && (await isValidUrl(url))) { + if (url !== null && (await isUrlOnline(url))) { return [specificVersion, url] } }