diff --git a/dist/setup_cpp.js b/dist/setup_cpp.js index fcfdda00..c1c16d64 100644 --- a/dist/setup_cpp.js +++ b/dist/setup_cpp.js @@ -1,2 +1,2 @@ -function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,o){Object.defineProperty(e,t,{get:r,set:o,enumerable:!0,configurable:!0})}function r(e,t,o){if("function"==typeof t&&(o=t,t={}),!o){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((o,n)=>{r(e,t||{},((e,t)=>{e?n(e):o(t)}))}))}Ne(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),o(e,r)}))}function o(t,r,o){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof Me)return{binDir:Me};const n=e(Te).sync("brew",{nothrow:!0});return null!==n?(Me=ue.dirname(n),{binDir:Me}):(de.execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),Me="/usr/local/bin/",{binDir:Me})}function n(e,t){const r=e.options.env||process.env,o=process.cwd(),n=null!=e.options.cwd,s=n&&void 0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd)}catch(e){}let i;try{i=Te.sync(e.command,{path:r[Ve({env:r})],pathExt:t?ue.delimiter:void 0})}catch(e){}finally{s&&process.chdir(o)}return i&&(i=ue.resolve(n?e.options.cwd:"",i)),i}function s(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 i(e,t){return Qe&&1===e&&!t.file?s(t.original,"spawn"):null}function a(e,t,r){const o=Be(e,t,r),n=de.spawn(o.command,o.args,o.options);return Ke.hookChildProcess(n,o),n}function c(){At&&(At=!1,$t.forEach((e=>{try{process.removeListener(e,Tt[e])}catch(e){}})),process.emit=Nt,process.reallyExit=It,_t.count-=1)}function l(e,t,r){_t.emitted[e]||(_t.emitted[e]=!0,_t.emit(e,t,r))}function u(){At||(At=!0,_t.count+=1,$t=$t.filter((e=>{try{return process.on(e,Tt[e]),!0}catch(e){return!1}})),process.emit=d,process.reallyExit=p)}function p(e){process.exitCode=e||0,l("exit",process.exitCode,null),l("afterexit",process.exitCode,null),It.call(process,process.exitCode)}function d(e,t){if("exit"===e){void 0!==t&&(process.exitCode=t);var r=Nt.apply(this,arguments);return l("exit",process.exitCode,null),l("afterexit",process.exitCode,null),r}return Nt.apply(this,arguments)}async function h(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,o=Vt(t);return await new Promise(((t,n)=>{const s=e=>{e&&o.getBufferedLength()<=Ht.MAX_LENGTH&&(e.bufferedData=o.getBufferedValue()),n(e)};(async()=>{try{await Wt(e,o),t()}catch(e){s(e)}})(),o.on("data",(()=>{o.getBufferedLength()>r&&s(new Yt)}))})),o.getBufferedValue()}function f(t,r){return void 0!==gr||(gr=(!!process.env.CI||0===(null===(o=process.getuid)||void 0===o?void 0:o.call(process)))&&null!==e(Te).sync("sudo",{nothrow:!0})),gr?e(Ge).command("sudo "+[t,...r].join(" "),{shell:!0}):e(Ge)(t,r);var o}async function m(e,t,r=!0){const o="apt-get";if("string"==typeof r&&await f("add-apt-repository",["--update","-y",r]),yr&&!0!==r||(await f(o,["update","-y"]),yr=!0),void 0!==t&&""!==t)try{await f(o,["install","-y",`${e}=${t}`])}catch{await f(o,["install","-y",`${e}-${t}`])}else await f(o,["install","-y",e]);return{binDir:"/usr/bin/"}}function v(t,r){return xr&&null!==e(Te).sync("brew",{nothrow:!0})||(o(0,0,process),xr=!0),e(Ge).sync("brew",["install",void 0!==r&&""!==r?`${t}@${r}`:t]),{binDir:"/usr/local/bin/"}}async function g(t){try{Ce.addPath(t)}catch(r){try{switch(Ce.error(r),process.platform){case"win32":return void await e(Ge)(`setx PATH=${t};%PATH%`);case"linux":case"darwin":return await e(Ge).command(`echo "export PATH=${t}:$PATH" >> ~/.profile`),await e(Ge).command("source ~/.profile"),void Ce.info(t+" was added to ~/.profile")}}catch(e){Ce.error(e)}Ce.error(`Failed to add ${t} to the percistent PATH. You should add it manually.`),process.env.PATH=`${t}${ue.delimiter}${process.env.PATH}`}}function y(t,r,o){if("win32"!==process.platform)return;if("string"==typeof wr)return{binDir:wr};const n=e(Te).sync("choco",{nothrow:!0});if(null!==n)return wr=ue.dirname(n),{binDir:wr};e(Ge).commandSync('@"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString(\'https://community.chocolatey.org/install.ps1\'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin"');const s=e(Te).sync("choco",{nothrow:!0});return wr=null!==s?ue.dirname(s):"C:/ProgramData/Chocolatey/bin/",pe.existsSync(wr)?{binDir:wr}:void 0}async function x(t,r,o=[]){Er&&null!==e(Te).sync("choco",{nothrow:!0})||(y(0,0,process),Er=!0),e(Ge).sync("choco",void 0!==r&&""!==r?["install","-y",t,"--version="+r,...o]:["install","-y",t,...o]);const n="C:/ProgramData/Chocolatey/bin/";return await g(n),{binDir:n}}function w(e,t,r){return Vr(this,void 0,void 0,(function*(){const o=qr.argStringToArray(e);if(0===o.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const n=o[0];return t=o.slice(1).concat(t||[]),new qr.ToolRunner(n,t,r).exec()}))}function E(e,t){const r=[];t=t||Ir.arch();const o=Nr.join($(),e);if(Tr.existsSync(o)){const e=Tr.readdirSync(o);for(const n of e)if(O(n)){const e=Nr.join(o,n,t||"");Tr.existsSync(e)&&Tr.existsSync(e+".complete")&&r.push(n)}}return r}function b(e){return _r(this,void 0,void 0,(function*(){return e||(e=Nr.join(R(),Mr.default())),yield Cr.mkdirP(e),e}))}function S(e,t,r){return _r(this,void 0,void 0,(function*(){const o=Nr.join($(),e,jr.clean(t)||t,r||"");Rr.debug("destination "+o);const n=o+".complete";return yield Cr.rmRF(o),yield Cr.rmRF(n),yield Cr.mkdirP(o),o}))}function P(e,t,r){const o=Nr.join($(),e,jr.clean(t)||t,r||"");Tr.writeFileSync(o+".complete",""),Rr.debug("finished caching tool")}function O(e){const t=jr.clean(e)||"";Rr.debug("isExplicit: "+t);const r=null!=jr.valid(t);return Rr.debug("explicit? "+r),r}function _(e,t){let r="";Rr.debug(`evaluating ${e.length} versions`);for(let o=(e=e.sort(((e,t)=>jr.gt(e,t)?1:-1))).length-1;o>=0;o--){const n=e[o];if(jr.satisfies(n,t)){r=n;break}}return Rr.debug(r?"matched: "+r:"match not found"),r}function $(){const e=process.env.RUNNER_TOOL_CACHE||"";return he.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function R(){const e=process.env.RUNNER_TEMP||"";return he.ok(e,"Expected RUNNER_TEMP to be defined"),e}function C(e,t){const r=Oe[e];return void 0!==r?r:t}function T(){return!(void 0===process.env.CI||""===process.env.CI||"false"===process.env.CI)}async function A(e,t,r,o){var n,s;process.env.RUNNER_TEMP=null!==(n=process.env.RUNNER_TEMP)&&void 0!==n?n:le.tmpdir(),process.env.RUNNER_TOOL_CACHE=null!==(s=process.env.RUNNER_TOOL_CACH)&&void 0!==s?s:ue.join(le.tmpdir(),"setup_cpp","ToolCache");const{url:i,binRelativeDir:a,extractedFolderName:c,extractFunction:l}=await r(t,process.platform);if(T())try{const r=br.find(e,t);if(r){Ce.info(`${e} ${t} was found in the cache.`);const o=ue.join(r,c),n=ue.join(o,a);return await g(n),{installDir:o,binDir:n}}}catch{}const u=await ro.async(i,{algorithm:"md5"}),p=ue.join(o,u);if(!pe.existsSync(p)){Ce.info(`Download and extract ${e} ${t}`);const r=await br.downloadTool(i);await(null==l?void 0:l(r,p))}const d=ue.join(p,c),h=ue.join(d,a);return Ce.info(`Add ${h} to PATH`),await g(h),T()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await br.cacheDir(p,e,t),{installDir:d,binDir:h}}function I(t,r){var o;const n=null!==(o=e(to)(t))&&void 0!==o?o:t,s=null!=r?r:process.platform,i=Ce.getInput("architecture")||process.arch;switch(s){case"win32":{const r=e(eo)(n,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(i)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const s=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:s,extractFunction:br.extractZip,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${s}.zip`}}case"darwin":{const r=`cmake-${t}-${e(eo)(n,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",extractedFolderName:r,extractFunction:br.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${r}.tar.gz`}}case"linux":{const r=e(eo)(n,"v3.19.8");let o;o=["aarch64"].includes(i)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const s=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:s,extractFunction:br.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${s}.tar.gz`}}default:throw Error(`Unsupported platform '${s}'`)}}function N(t,r,o,n=!1){const s=ue.join(t,r),i=ue.join(t,o);e(pe).existsSync(i)||(e(pe).symlinkSync(s,i),!uo&&n&&e(pe).chmodSync(i,"755"))}function L(e){return j(e)||!!lo.validRange(e)}function j(e){return"nightly"===e}function D(e,t){const r=br.find.bind(void 0,"PyPy",e);let o=r(t);if(!o&&uo&&(o=r("x86")),!o)throw Error(`PyPy ${e} not found`);const n=ue.join(o,"bin");Ce.exportVariable("pythonLocation",uo?o:n),Ce.addPath(o),Ce.addPath(n),uo&&Ce.addPath(ue.join(o,"Scripts"));const s="pypy"+e;return Ce.setOutput("python-version",s),{impl:s,version:k(o)}}function k(e){const t=e.split(ue.sep),r=t.findIndex((e=>"PyPy"===e||"Python"===e));return t[r+1]||""}function M(e){const t=ue.join(e,"bin");return uo?e:t}function F(e){return e.replace(/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g,"$1-$2.$3")}function G(e){return e.files.find((e=>ho.includes(e.arch)&&fo.includes(e.platform)))}function U(e,t,r){return e.files.find((e=>e.arch===t&&e.platform===r))}async function B(t,r,o){if(!T())return V("",r,o);try{if(t.startsWith("pypy-")){const r=await async function(t,r){let o,n="",s="";const i=(e=>{const t=e.split("-").filter((e=>!!e));if(2>t.length||"pypy"!=t[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.");const r=t[1];let o;if(o=t.length>2?F(t[2]):"x",!L(r)||!L(o))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!/^\d+\.\d+$/.test(r))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:o,pythonVersion:r}})(t);({installDir:o,resolvedPythonVersion:s,resolvedPyPyVersion:n}=((t,r,o)=>{let n="",s="",i=uo?(e=>{let t="";return ho.forEach((r=>t=t||br.find("PyPy",e,r))),t})(t):br.find("PyPy",t,o);return i&&(s=(e=>ue.basename(ue.dirname(e)))(i),n=(t=>{let r="",o=ue.join(t,"PYPY_VERSION");return e(pe).existsSync(o)&&(r=""+e(pe).readFileSync(o)),r})(i),lo.satisfies(n,r)||(i=null,n="",s="")),i||Ce.info(`PyPy version ${t} (${r}) was not found in the local cache`),{installDir:i,resolvedPythonVersion:s,resolvedPyPyVersion:n}})(i.pythonVersion,i.pypyVersion,r)),o||({installDir:o,resolvedPythonVersion:s,resolvedPyPyVersion:n}=await(async(t,r,o)=>{let n;const s=await(async()=>{const e="https://downloads.python.org/pypy/versions.json",t=new yo.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result})();if(!s||0===s.length)throw Error("No release was found in PyPy version.json");const i=((e,t,r,o)=>{const n=e.filter((e=>{const n=lo.satisfies(lo.coerce(e.python_version),t),s=j(r)&&j(e.pypy_version)||lo.satisfies(F(e.pypy_version),r),i=e.files&&(uo?(e=>e.files.some((e=>ho.includes(e.arch)&&fo.includes(e.platform))))(e):((e,t,r)=>e.files.some((e=>e.arch===t&&e.platform===r)))(e,o,process.platform));return n&&s&&i}));if(0===n.length)return null;const s=n.sort(((e,t)=>lo.compare(lo.coerce(F(t.pypy_version)),lo.coerce(F(e.pypy_version)))||lo.compare(lo.coerce(t.python_version),lo.coerce(e.python_version))))[0];return{foundAsset:uo?G(s):U(s,o,process.platform),resolvedPythonVersion:s.python_version,resolvedPyPyVersion:s.pypy_version}})(s,r,t,o);if(!i||!i.foundAsset)throw Error(`PyPy version ${r} (${t}) with arch ${o} not found`);const{foundAsset:a,resolvedPythonVersion:c,resolvedPyPyVersion:l}=i;let u=""+a.download_url;Ce.info(`Downloading PyPy from "${u}" ...`);const p=await br.downloadTool(u);Ce.info("Extracting downloaded archive..."),n=uo?await br.extractZip(p):await br.extractTar(p,void 0,"x");const d=e(pe).readdirSync(n)[0],h=ue.join(n,d);let f=h;j(l)||(f=await br.cacheDir(h,"PyPy",c,o)),((t,r)=>{const o=ue.join(t,"PYPY_VERSION");e(pe).writeFileSync(o,r)})(f,l);const m=M(f);return await(async(e,t)=>{const r=lo.coerce(t),o=lo.major(r),n=2===o?"":"3";let s=uo?".exe":"";Ce.info("Creating symlinks..."),N(e,`pypy${n}${s}`,`python${o}${s}`,!0),N(e,`pypy${n}${s}`,"python"+s,!0)})(m,c),await(async e=>{Ce.info("Installing and updating pip");const t=ue.join(e,"python");await Fr.exec(t+" -m ensurepip"),await Fr.exec(e+"/python -m pip install --ignore-installed pip")})(m),{installDir:f,resolvedPythonVersion:c,resolvedPyPyVersion:l}})(i.pypyVersion,i.pythonVersion,r));const a=ue.join(o,uo?"Scripts":"bin"),c=M(o);return Ce.exportVariable("pythonLocation",c),Ce.addPath(c),Ce.addPath(a),{resolvedPyPyVersion:n,resolvedPythonVersion:s}}(t,o);Ce.info(`Successfully setup PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`)}else{const e=await(async(e,t)=>{switch(e.toUpperCase()){case"PYPY2":return D("2",t);case"PYPY3":return D("3.6",t);default:return await async function(e,t){const r=((o=e).endsWith("-dev")?`>= ${o.slice(0,-4)}.0-a0`:o).replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2");var o;Ce.debug(`Semantic version spec of ${e} is ${r}`);let n=br.find("Python",r,t);if(!n){Ce.info(`Version ${r} was not found in the local cache`);const e=await(async(e,t)=>{const r=await br.getManifestFromRepo("actions","python-versions",vo,"main");return await br.findFromManifest(e,!1,r,t)})(r,t);e&&e.files&&e.files.length>0&&(Ce.info(`Version ${r} is available for downloading`),await(async e=>{const t=e.files[0].download_url;Ce.info(`Download from "${t}"`);const r=await br.downloadTool(t,void 0,vo);let o;Ce.info("Extract downloaded archive"),o=uo?await br.extractZip(r):await br.extractTar(r),Ce.info("Execute installation script"),await(async e=>{const t={cwd:e,env:{...process.env,...po&&{LD_LIBRARY_PATH:ue.join(e,"lib")}},silent:!0,listeners:{stdout(e){Ce.info((""+e).trim())},stderr(e){Ce.error((""+e).trim())}}};uo?await Fr.exec("powershell",["./setup.ps1"],t):await Fr.exec("bash",["./setup.sh"],t)})(o)})(e),n=br.find("Python",r,t))}if(!n)throw Error([`Version ${e} with arch ${t} not found`,"The list of all available versions can be found here: "+go].join(le.EOL));if(Ce.exportVariable("pythonLocation",n),po){const e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=ue.join(n,"lib");e.split(":").includes(t)||Ce.exportVariable("LD_LIBRARY_PATH",t+e)}if(Ce.addPath(n),Ce.addPath((e=>ue.join(e,uo?"Scripts":"bin"))(n)),uo){const e=ue.basename(ue.dirname(n)),t=lo.major(e),r=lo.minor(e),o=ue.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");Ce.addPath(o)}const s=k(n);return Ce.setOutput("python-version",s),{impl:"CPython",version:s}}(e,t)}})(t,o);Ce.info(`Successfully setup ${e.impl} (${e.version})`)}const r=ue.join("setup-pthon",".github");return void Ce.info("##[add-matcher]"+ue.join(r,"python.json"))}catch(e){return V(t,r,o)}}async function V(t,r,o){switch(process.platform){case"win32":{const n=await e(ro).async(t+o,{algorithm:"md5"}),s=ue.join(r,n,"python"),i=s;return await x("python3",t,["/InstallDir:"+s]),Ce.info(`Add ${i} to PATH`),await g(i),{installDir:s,binDir:i}}case"darwin":return v("python3",t);case"linux":{const e=await m("python3",t);return await m("python3-pip"),e}default:throw Error("Unsupported platform")}}function q(e){return new Promise((t=>{xe.get(e,(e=>{t(void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)}))}))}async function H(t,r){if(void 0===wo&&(null!==e(Te).sync("pip3",{nothrow:!0})?wo="pip3":null!==e(Te).sync("pip",{nothrow:!0})&&await(async(t,r,o=/v?(\d\S*)/)=>{const n=await(async(e,t=/v?(\d\S*)/)=>{try{var r,o;const{stderr:s,stdout:i}=await Fr.getExecOutput(e,["--version"]);var n;return null!==(n=null===(r=i.match(t))||void 0===r?void 0:r[1])&&void 0!==n?n:null===(o=s.match(t))||void 0===o?void 0:o[1]}catch(e){return void console.error(e)}})(t,o);return"string"==typeof n&&"string"==typeof r&&""!==n&&""!==r&&-1!==e(xo)(n,r)})("python","3.0.0")?wo="pip":(await B("3.x","",process.arch),wo="pip3")),e(Ge).sync(wo,["install",void 0!==r&&""!==r?`${t}==${r}`:t]),void 0===Eo){if("linux"===process.platform)Eo="/home/runner/.local/bin/";else if("darwin"===process.platform)Eo="/usr/local/bin/";else try{Eo=ue.join((await Fr.getExecOutput('python3 -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{Eo=ue.join((await Fr.getExecOutput('python -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}Ce.info(Eo+" to PATH"),await g(Eo)}return{binDir:Eo}}async function X(t,r){return await e(Ge)("7z",["x",t,"-o"+r]),r}async function W(t,r,o=["--strip-components=1"]){try{await So.mkdirP(r)}catch{}return await e(Ge)("tar",["xf",t,"-C",r,...o]),r}function Y(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function Z(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function z(t,r){switch(t){case"darwin":return(t=>{if(Oo.has(t))return null;const r="clang+llvm-",o=`-x86_64${"9.0.0"===t?"-darwin-apple":"-apple-darwin"}.tar.xz`;return e(eo)(t,"9.0.1")?Z(t,r,o):Y(t,r,o)})(r);case"linux":return(t=>{let r=t;const o=_o.get(r);let n;void 0!==o&&(r=o),n=r.includes("ubuntu")?r:""!==r&&r in $o?$o[r]:$o["12.0.1-rc4"];const s="clang+llvm-",i="5.0.0"===r?`-linux-x86_64${n}.tar.xz`:`-x86_64-linux-gnu${n}.tar.xz`;return e(eo)(r,"9.0.1")?Z(r,s,i):Y(r,s,i)})(r);case"win32":return(async t=>{if(Ro.has(t))return null;const r="LLVM-",o=e(eo)(t,"3.7.0")?"-win32.exe":"-win64.exe",n=e(eo)(t,"9.0.1");let s,i=!1;return n&&(s=Z(t,r,o),await q(s)||(i=!0)),!i&&n||(s=Y(t,r,o)),s})(r);default:return null}}async function J(e,t){const[r,o]=await(async(e,t,r,o)=>{if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const n of((e,t)=>Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse())(e,r)){const e=await o(t,n);if(null!==e&&await q(e))return[n,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(Po,t,e,z);return Ce.setOutput("version",r),{url:o,extractedFolderName:"",binRelativeDir:"bin",extractFunction:"win32"===t?X:W}}async function K(t,r,o){let n=r;""!==n&&void 0!==n||(n="win32"===process.platform?"C:/Program Files/LLVM":"./llvm"),n=ue.resolve(n);const s=await A("llvm",t,J,n),i=ue.join(n,"lib");var a;const c=null!==(a=process.env.LD_LIBRARY_PATH)&&void 0!==a?a:"";var l;const u=null!==(l=process.env.DYLD_LIBRARY_PATH)&&void 0!==l?l:"";Ce.exportVariable("LLVM_PATH",n);const p=e(bo)(t);if(Ce.exportVariable("LD_LIBRARY_PATH",`${i}${ue.delimiter}${c}`),Ce.exportVariable("DYLD_LIBRARY_PATH",`${i}${ue.delimiter}${u}`),Ce.exportVariable("CPATH",`${n}/lib/clang/${p}/include`),Ce.exportVariable("LDFLAGS",`-L${n}/lib`),Ce.exportVariable("CPPFLAGS",`-I${n}/include`),Ce.exportVariable("CC",n+"/bin/clang"),Ce.exportVariable("CXX",n+"/bin/clang++"),Ce.exportVariable("LIBRARY_PATH",n+"/lib"),"darwin"===process.platform)try{const e=await Fr.getExecOutput("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;pe.existsSync(t)&&Ce.exportVariable("SDKROOT",t)}catch(e){Ce.error(e)}return s}async function Q(e,t,r,o,n,s){if("win32"!==process.platform)return;let i,a;try{"2015"===e?(i="14.0.25420.1",await x("visualcpp-build-tools",i,["--ignore-dependencies","--params","'/IncludeRequired'"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140",pe.existsSync(a)&&Ce.exportVariable("VCTargetsPath",a)):"2017"===e?(i="14.16",await x("visualstudio2017buildtools","15.9.38.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"2019"===e&&(i="14.29.30133",await x("visualstudio2019buildtools","16.11.2.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133")}catch(e){Ce.error(e)}void 0!==a&&pe.existsSync(a)&&Ce.exportVariable("VCTargetsPath",a);const{setupMSVCDevCmd:c}=Re("jJT7R");c((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,i,n,s)}function ee(e,t){const r=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",extractedFolderName:"",extractFunction:br.extractZip,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${r}.zip`}}function te(e){return null==e?[]:Array.isArray(e)?e:[e]}function re(e,t,r,o){var n,s=e[t],i=~o.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~o.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(n=+r)==0?n:r),!!r)):0*(n=+r)==0?n:r;e[t]=null==s?i:Array.isArray(s)?s.concat(i):[s,i]}function oe(e,t){return"true"===t||void 0===t&&e in Io?Io[e]:null!=t?t:""}async function ne(t,r,o){let n;switch(process.platform){case"win32":"arm"!==o&&"arm64"!==o||await x("gcc-arm-embedded",t),await x("mingw",t),"x64"===o&&pe.existsSync("C:/tools/mingw64/bin")?(n="C:/tools/mingw64/bin",await g(n)):"ia32"===o&&pe.existsSync("C:/tools/mingw32/bin")?(n="C:/tools/mingw32/bin",await g(n)):pe.existsSync("C:/ProgramData/Chocolatey/bin/g++.exe")&&(n="C:/ProgramData/Chocolatey/bin/");break;case"darwin":n=v("gcc",t).binDir;break;case"linux":"x64"===o?n=(await m("g++",t,"ppa:ubuntu-toolchain-r/test")).binDir:(Ce.info(`Install g++-multilib because gcc for ${o} was requested`),n=(await m("g++-multilib",t,"ppa:ubuntu-toolchain-r/test")).binDir);break;default:throw Error("Unsupported platform for "+o)}if(void 0!==n){var s;const r=e(bo)(null!==(s=e(to)(t))&&void 0!==s?s:t);return"win32"===process.platform?(Ce.exportVariable("CC",n+"/gcc"),Ce.exportVariable("CXX",n+"/g++")):(Ce.exportVariable("CC",`${n}/gcc-${r}`),Ce.exportVariable("CXX",`${n}/g++-${r}`)),{binDir:n}}}function se(e){return T()?Ce.error(e):console.log(`${e}`)}async function ie(t){T()||(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=((e,t)=>{var r,o,n,s,i,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=te(t.string),t.boolean=te(t.boolean),d)for(r in t.alias)for(o=t.alias[r]=te(t.alias[r]),c=0;o.length>c;c++)(t.alias[o[c]]=o.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(l=(o=t.alias[t.boolean[c]]||[]).length;l-- >0;)t.boolean.push(o[l]);for(c=t.string.length;c-- >0;)for(l=(o=t.alias[t.string[c]]||[]).length;l-- >0;)t.string.push(o[l]);if(f)for(r in t.default)if(s=typeof t.default[r],o=t.alias[r]=t.alias[r]||[],void 0!==t[s])for(t[s].push(r),c=0;o.length>c;c++)t[s].push(o[c]);const m=h?Object.keys(t.alias):[];for(c=0;p>c;c++){if("--"===(n=e[c])){a._=a._.concat(e.slice(++c));break}for(l=0;n.length>l&&45===n.charCodeAt(l);l++);if(0===l)a._.push(n);else if("no-"===n.substring(l,l+3)){if(s=n.substring(l+3),h&&!~m.indexOf(s))return t.unknown(n);a[s]=!1}else{for(u=l+1;n.length>u&&61!==n.charCodeAt(u);u++);for(s=n.substring(l,u),i=n.substring(++u)||c+1===p||45===(""+e[c+1]).charCodeAt(0)||e[++c],o=2===l?[s]:s,u=0;o.length>u;u++){if(s=o[u],h&&!~m.indexOf(s))return t.unknown("-".repeat(l)+s);re(a,s,o.length>u+1||i,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(d)for(r in a)for(o=t.alias[r]||[];o.length>0;)a[o.shift()]=a[r];return a})(t,{string:jo,default:Object.fromEntries(jo.map((e=>[e,ae(e)]))),alias:{h:"help"},boolean:"help"});var o;r.help&&Ce.info('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\t the to install.\n \t You can specify the version instead of specifying just the name e.g: --compiler \'llvm-11\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n ');const n=null!==(o=r.architecture)&&void 0!==o?o:process.arch;var s;const i=null!==(s=process.env.SETUP_CPP_DIR)&&void 0!==s?s:e(Co)("~/setup_cpp"),a=[],c=[];for(const e of Lo){const t=r[e];if(void 0!==t){const r=No[e];try{const o=await r(oe(e,t),i,n);a.push(void 0!==o?ce(e,o):e+" was successfully installed")}catch(t){se(t),c.push(e+" failed to install")}}}const l=r.compiler;try{if(void 0!==l){const t=l.split("-"),r=t[0];let o;if(1 in t){const r=t[1];null!==e(Ao)(r)?o=r:se(`Invalid version ${r} used for the compiler. Using the default version...`)}switch(r){case"llvm":case"clang":case"clang++":await K(oe("llvm",o),i);break;case"gcc":case"mingw":case"cygwin":case"msys":await ne(oe("gcc",o),0,n);break;case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":await Q(oe("msvc",o),0,n);break;default:c.push("Unsupported compiler "+r)}}}catch(e){se(e),c.push("Failed to install the "+l)}return a.forEach((e=>{return t=e,T()?Ce.info(t):console.log(`${t}`);var t})),c.forEach((e=>se(e))),Ce.info("setup_cpp finished"),0===c.length?0:1}function ae(e){const t=Ce.getInput(e.toLowerCase());if("false"!==t&&""!==t)return t}function ce(e,t){let r=e+" was successfully installed";return"installDir"in t&&(r+="\nThe installation direcotry is "+t.installDir),""!==t.binDir&&(r+="\nThe binary direcotry is "+t.binDir),r}var le=require("os"),ue=require("path"),pe=require("fs"),de=require("child_process"),he=require("assert"),fe=require("events"),me=require("buffer"),ve=require("stream"),ge=require("util"),ye=require("http"),xe=require("https");require("net");var we=require("tls"),Ee=require("crypto"),be=require("string_decoder"),Se=require("timers"),Pe=require("process"),Oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},_e={},$e={},Re=Oe.parcelRequire810d;null==Re&&((Re=e=>{if(e in _e)return _e[e].exports;if(e in $e){var t=$e[e];delete $e[e];var r={id:e,exports:{}};return _e[e]=r,t.call(r.exports,r,r.exports),r.exports}var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}).register=(e,t)=>{$e[e]=t},Oe.parcelRequire810d=Re),t(module.exports,"main",(()=>ie)),Re.register("6FGZZ",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function o(e,t={}){u.issueCommand("error",d.toCommandProperties(t),e instanceof Error?""+e:e)}function n(e){u.issue("group",e)}function s(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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)&&i(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=Re("eOxkI"),p=Re("85a1M"),d=Re("lK3O3");const h=c(le),f=c(ue);var m,v;(v=m=e.exports.ExitCode||(e.exports.ExitCode={}))[v.Success=0]="Success",v[v.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=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 o=r(e,t);if(["true","True","TRUE"].includes(o))return!0;if(["false","False","FALSE"].includes(o))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(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,o(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=o,e.exports.warning=(e,t={})=>{u.issueCommand("warning",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=n,e.exports.endGroup=s,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;n(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),Re.register("eOxkI",(function(e,t){"use strict";function r(e,t,r){const o=new c(e,t,r);process.stdout.write(""+o+i.EOL)}var o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),n=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 n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=s(le);var a=Re("lK3O3");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 o in this.properties)if(this.properties.hasOwnProperty(o)){const n=this.properties[o];n&&(r?r=!1:e+=",",e+=`${o}=${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}}})),Re.register("lK3O3",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),Re.register("85a1M",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const s=n(pe),i=n(le);var a=Re("lK3O3");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}}));var Ce=Re("6FGZZ"),Te={};const Ae="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,Ie=Ae?";":":";var Ne,Le={};Re.register("5vEMD",((e,t)=>{function r(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&((e,t)=>{var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var o=0;r.length>o;o++){var n=r[o].toLowerCase();if(n&&e.substr(-n.length).toLowerCase()===n)return!0}return!1})(t,r)}function o(e,t,o){pe.stat(e,((n,s)=>{o(n,!n&&r(s,e,t))}))}e.exports=o,o.sync=(e,t)=>r(pe.statSync(e),e,t)})),Re.register("kam8f",((e,t)=>{function r(e,t,r){pe.stat(e,((e,n)=>{r(e,!e&&o(n,t))}))}function o(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,o=e.uid,n=e.gid,s=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),i=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=a|c;return r&parseInt("001",8)||r&c&&n===i||r&a&&o===s||r&l&&0===s})(e,t)}e.exports=r,r.sync=(e,t)=>o(pe.statSync(e),t)})),Ne="win32"===process.platform||Oe.TESTING_WINDOWS?Re("5vEMD"):Re("kam8f"),Le=r,r.sync=(e,t)=>{try{return Ne.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const je=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),De=(e,t)=>{const r=t.colon||Ie,o=e.match(/\//)||Ae&&e.match(/\\/)?[""]:[...Ae?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],n=Ae?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Ae?n.split(r):[""];return Ae&&-1!==e.indexOf(".")&&""!==s[0]&&s.unshift(""),{pathEnv:o,pathExt:s,pathExtExe:n}},ke=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:o,pathExt:n,pathExtExe:s}=De(e,t),i=[],a=r=>new Promise(((n,s)=>{if(r===o.length)return t.all&&i.length?n(i):s(je(e));const a=o[r],l=/^".*"$/.test(a)?a.slice(1,-1):a,u=ue.join(l,e),p=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;n(c(p,r,0))})),c=(e,r,o)=>new Promise(((l,u)=>{if(o===n.length)return l(a(r+1));const p=n[o];Le(e+p,{pathExt:s},((n,s)=>{if(!n&&s){if(!t.all)return l(e+p);i.push(e+p)}return l(c(e,r,o+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let Me;Te=ke,ke.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:o,pathExtExe:n}=De(e,t),s=[];for(let i=0;r.length>i;i++){const a=r[i],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=ue.join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;o.length>e;e++){const r=u+o[e];try{if(Le.sync(r,{pathExt:n})){if(!t.all)return r;s.push(r)}}catch(e){}}}if(t.all&&s.length)return s;if(t.nothrow)return null;throw je(e)};var Fe,Ge={},Ue={},Be={},Ve={};const qe=(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 He,Xe;(Ve=qe).default=qe,Fe=e=>n(e)||n(e,!0),Xe=e=>e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),He=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),t&&(e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),e);var We,Ye;We=(e="")=>{const t=e.match(/^#!(.*)/);if(!t)return null;const[r,o]=t[0].replace(/#! ?/,"").split(" "),n=r.split("/").pop();return"env"===n?o:o?`${n} ${o}`:n},Ye=e=>{const t=Buffer.alloc(150);let r;try{r=pe.openSync(e,"r"),pe.readSync(r,t,0,150,0),pe.closeSync(r)}catch(e){}return We(""+t)};const Ze="win32"===process.platform,ze=/\.(?:com|exe)$/i,Je=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;Be=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const o={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?o:(e=>{if(!Ze)return e;const t=(e=>{e.file=Fe(e);const t=e.file&&Ye(e.file);return t?(e.args.unshift(e.file),e.command=t,Fe(e)):e.file})(e),r=!ze.test(t);if(e.options.forceShell||r){const r=Je.test(t);e.command=ue.normalize(e.command),e.command=Xe(e.command),e.args=e.args.map((e=>He(e,r)));const o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(o)};var Ke={};const Qe="win32"===process.platform;var et;Ke={hookChildProcess(e,t){if(!Qe)return;const r=e.emit;e.emit=function(o,n){if("exit"===o){const o=i(n,t);if(o)return r.call(e,"error",o)}return r.apply(e,arguments)}},verifyENOENT:i,verifyENOENTSync(e,t){return Qe&&1===e&&!t.file?s(t.original,"spawnSync"):null},notFoundError:s},(Ue=a).spawn=a,Ue.sync=(e,t,r)=>{const o=Be(e,t,r),n=de.spawnSync(o.command,o.args,o.options);return n.error=n.error||Ke.verifyENOENTSync(n.status,o),n},Ue._parse=Be,Ue._enoent=Ke,et=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 tt={};const rt=e=>{let t;e={cwd:process.cwd(),path:process.env[Ve()],execPath:process.execPath,...e};let r=ue.resolve(e.cwd);const o=[];for(;t!==r;)o.push(ue.join(r,"node_modules/.bin")),t=r,r=ue.resolve(r,"..");const n=ue.resolve(e.cwd,e.execPath,"..");return o.push(n),o.concat(e.path).join(ue.delimiter)};(tt=rt).default=rt,tt.env=e=>{const t={...(e={env:process.env,...e}).env},r=Ve({env:t});return e.path=t[r],t[r]=tt(e),t};var ot={},nt={};const st=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(nt=st).default=st;const it=new WeakMap,at=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,o=0;const n=e.displayName||e.name||"",s=function(...i){if(it.set(s,++o),1===o)r=e.apply(this,i),e=null;else if(!0===t.throw)throw Error(`Function \`${n}\` can only be called once`);return r};return nt(s,e),it.set(s,o),s};(ot=at).default=at,ot.callCount=e=>{if(!it.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return it.get(e)};var ct,lt={};Object.defineProperty(lt,"__esModule",{value:!0}),lt.signalsByNumber=lt.signalsByName=void 0;var ut={};Object.defineProperty(ut,"__esModule",{value:!0}),ut.getSignals=void 0;var pt={};Object.defineProperty(pt,"__esModule",{value:!0}),pt.SIGNALS=void 0,pt.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 dt={};Object.defineProperty(dt,"__esModule",{value:!0}),dt.SIGRTMAX=dt.getRealtimeSignals=void 0,dt.getRealtimeSignals=()=>Array.from({length:mt-ft+1},ht);const ht=(e,t)=>({name:"SIGRT"+(t+1),number:ft+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),ft=34,mt=64;dt.SIGRTMAX=mt,ut.getSignals=()=>{const e=dt.getRealtimeSignals();return[...pt.SIGNALS,...e].map(vt)};const vt=({name:e,number:t,description:r,action:o,forced:n=!1,standard:s})=>{const{signals:{[e]:i}}=le.constants,a=void 0!==i;return{name:e,number:a?i:t,description:r,supported:a,action:o,forced:n,standard:s}},gt=ut.getSignals().reduce(((e,{name:t,number:r,description:o,supported:n,action:s,forced:i,standard:a})=>({...e,[t]:{name:t,number:r,description:o,supported:n,action:s,forced:i,standard:a}})),{});lt.signalsByName=gt;const yt=(()=>{const e=ut.getSignals(),t=Array.from({length:dt.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>le.constants.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:o,description:n,supported:s,action:i,forced:a,standard:c}=r;return{[e]:{name:o,number:e,description:n,supported:s,action:i,forced:a,standard:c}}})(r,e)));return Object.assign({},...t)})();lt.signalsByNumber=yt;var xt=lt.signalsByName;ct=({stdout:e,stderr:t,all:r,error:o,signal:n,exitCode:s,command:i,escapedCommand:a,timedOut:c,isCanceled:l,killed:u,parsed:{options:{timeout:p}}})=>{const d=void 0===(n=null===n?void 0:n)?void 0:xt[n].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:o,signalDescription:n,exitCode:s,isCanceled:i})=>e?`timed out after ${t} milliseconds`:i?"was canceled":void 0!==r?"failed with "+r:void 0!==o?`was killed with ${o} (${n})`:void 0!==s?"failed with exit code "+s:"failed")({timedOut:c,timeout:p,errorCode:o&&o.code,signal:n,signalDescription:d,exitCode:s=null===s?void 0:s,isCanceled:l}),f=`Command ${h}: ${i}`,m="[object Error]"==={}.toString.call(o),v=m?`${f}\n${o.message}`:f,g=[v,t,e].filter(Boolean).join("\n");return m?(o.originalMessage=o.message,o.message=g):o=Error(g),o.shortMessage=v,o.command=i,o.escapedCommand=a,o.exitCode=s,o.signal=n,o.signalDescription=d,o.stdout=e,o.stderr=t,void 0!==r&&(o.all=r),"bufferedData"in o&&delete o.bufferedData,o.failed=!0,o.timedOut=!!c,o.isCanceled=l,o.killed=u&&!c,o};var wt={};const Et=["stdin","stdout","stderr"],bt=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return Et.map((t=>e[t]));if((e=>Et.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+Et.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,Et.length)},((e,r)=>t[r]))};(wt=bt).node=e=>{const t=bt(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var St,Pt,Ot={};Ot=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&Ot.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&Ot.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");var _t,$t=Ot,Rt=/^win/i.test(process.platform),Ct=fe;"function"!=typeof Ct&&(Ct=Ct.EventEmitter),process.__signal_exit_emitter__?_t=process.__signal_exit_emitter__:((_t=process.__signal_exit_emitter__=new Ct).count=0,_t.emitted={}),_t.infinite||(_t.setMaxListeners(1/0),_t.infinite=!0),(Pt=(e,t)=>{he.equal(typeof e,"function","a callback must be provided for exit handler"),!1===At&&u();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),_t.on(r,e),()=>{_t.removeListener(r,e),0===_t.listeners("exit").length&&0===_t.listeners("afterexit").length&&c()}}).unload=c;var Tt={};$t.forEach((e=>{Tt[e]=()=>{process.listeners(e).length===_t.count&&(c(),l("exit",null,e),l("afterexit",null,e),Rt&&"SIGHUP"===e&&(e="SIGINT"),process.kill(process.pid,e))}})),Pt.signals=()=>$t,Pt.load=u;var At=!1,It=process.reallyExit,Nt=process.emit;const Lt=e=>e===le.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var jt,Dt=(St={spawnedKill(e,t="SIGTERM",r={}){const o=e(t);return((e,t,r,o)=>{if(!((e,{forceKillAfterTimeout:t},r)=>Lt(e)&&!1!==t&&r)(t,r,o))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),s=setTimeout((()=>{e("SIGKILL")}),n);s.unref&&s.unref()})(e,t,r,o),o},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},o){if(0===t||void 0===t)return o;let n;const s=new Promise(((o,s)=>{n=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,s)}),t)})),i=o.finally((()=>{clearTimeout(n)}));return Promise.race([s,i])},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},o){if(!t||r)return o;const n=Pt((()=>{e.kill()}));return o.finally((()=>{n()}))}}).validateTimeout,kt=St.setExitHandler,Mt=St.spawnedCancel,Ft=St.setupTimeout,Gt=St.spawnedKill,Ut={};const Bt=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;Bt.writable=e=>Bt(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,Bt.readable=e=>Bt(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,Bt.duplex=e=>Bt.writable(e)&&Bt.readable(e),Bt.transform=e=>Bt.duplex(e)&&"function"==typeof e._transform,Ut=Bt;var Vt,qt={},Ht=me.constants,Xt=ve.PassThrough;Vt=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const o="buffer"===r;let n=!1;t?n=!(r||o):r=r||"utf8",o&&(r=null);const s=new Xt({objectMode:n});r&&s.setEncoding(r);let i=0;const a=[];return s.on("data",(e=>{a.push(e),n?i=a.length:i+=e.length})),s.getBufferedValue=()=>t?a:o?Buffer.concat(a,i):a.join(""),s.getBufferedLength=()=>i,s};const Wt=(0,ge.promisify)(ve.pipeline);class Yt extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(qt=h).buffer=(e,t)=>h(e,{...t,encoding:"buffer"}),qt.array=(e,t)=>h(e,{...t,array:!0}),qt.MaxBufferError=Yt;var Zt,zt=ve.PassThrough;Zt=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(o.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==o.length}function r(e){!(o=o.filter((t=>t!==e))).length&&n.readable&&n.end()}var o=[],n=new zt({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=t,n.on("unpipe",r),[].slice.call(arguments).forEach(e),n};const Jt=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},Kt=(e,{encoding:t,buffer:r,maxBuffer:o})=>{if(e&&r)return t?qt(e,{encoding:t,maxBuffer:o}):qt.buffer(e,{maxBuffer:o})};var Qt,er=(jt={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(Ut(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=Zt();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:o,buffer:n,maxBuffer:s},i){const a=Kt(e,{encoding:o,buffer:n,maxBuffer:s}),c=Kt(t,{encoding:o,buffer:n,maxBuffer:s}),l=Kt(r,{encoding:o,buffer:n,maxBuffer:2*s});try{return await Promise.all([i,a,c,l])}catch(o){return Promise.all([{error:o,signal:o.signal,timedOut:o.timedOut},Jt(e,a),Jt(t,c),Jt(r,l)])}},validateInputSync({input:e}){if(Ut(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,tr=jt.makeAllStream,rr=jt.getSpawnedResult,or=jt.validateInputSync;const nr=(async()=>{})().constructor.prototype,sr=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(nr,e)]));var ir,ar=(Qt={mergePromise(e,t){for(const[r,o]of sr){const n="function"==typeof t?(...e)=>Reflect.apply(o.value,t(),e):o.value.bind(t);Reflect.defineProperty(e,r,{...o,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)}))}))}}).getSpawnedPromise,cr=Qt.mergePromise;const lr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],ur=/^[\w.-]+$/;var pr=(ir={joinCommand(e,t){return lr(e,t).join(" ")},getEscapedCommand(e,t){return lr(e,t).map((e=>(e=>"string"!=typeof e||ur.test(e)?e:`"${e.replace(/"/g,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(/ +/g)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,dr=ir.parseCommand,hr=ir.getEscapedCommand;const fr=(e,t,r={})=>{const o=Ue._parse(e,t,r);return e=o.command,t=o.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=o.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:o,execPath:n})=>{const s=t?{...process.env,...e}:e;return r?tt.env({env:s,cwd:o,execPath:n}):s})(r),r.stdio=wt(r),"win32"===process.platform&&"cmd"===ue.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:o}},mr=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?et(t):t:void 0===r?void 0:"",vr=(e,t,r)=>{const o=fr(e,t,r),n=pr(e,t),s=hr(e,t);let i;Dt(o.options);try{i=de.spawn(o.file,o.args,o.options)}catch(e){const t=new de.ChildProcess,r=Promise.reject(ct({error:e,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:o,timedOut:!1,isCanceled:!1,killed:!1}));return cr(t,r)}const a=ar(i),c=Ft(i,o.options,a),l=kt(i,o.options,c),u={isCanceled:!1};i.kill=Gt.bind(null,i.kill.bind(i)),i.cancel=Mt.bind(null,i,u);const p=ot((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,p,d]=await rr(i,o.options,l),h=mr(o.options,c),f=mr(o.options,p),m=mr(o.options,d);if(e||0!==t||null!==r){const c=ct({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:n,escapedCommand:s,parsed:o,timedOut:a,isCanceled:u.isCanceled,killed:i.killed});if(!o.options.reject)return c;throw c}return{command:n,escapedCommand:s,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return er(i,o.options.input),i.all=tr(i,o.options),cr(i,p)};let gr;(Ge=vr).sync=(e,t,r)=>{const o=fr(e,t,r),n=pr(e,t),s=hr(e,t);let i;or(o.options);try{i=de.spawnSync(o.file,o.args,o.options)}catch(e){throw ct({error:e,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:o,timedOut:!1,isCanceled:!1,killed:!1})}const a=mr(o.options,i.stdout,i.error),c=mr(o.options,i.stderr,i.error);if(i.error||0!==i.status||null!==i.signal){const e=ct({stdout:a,stderr:c,error:i.error,signal:i.signal,exitCode:i.status,command:n,escapedCommand:s,parsed:o,timedOut:i.error&&"ETIMEDOUT"===i.error.code,isCanceled:!1,killed:null!==i.signal});if(!o.options.reject)return e;throw e}return{command:n,escapedCommand:s,exitCode:0,stdout:a,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},Ge.command=(e,t)=>{const[r,...o]=dr(e);return vr(r,o,t)},Ge.commandSync=(e,t)=>{const[r,...o]=dr(e);return vr.sync(r,o,t)},Ge.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const o=wt.node(r),n=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:s=process.execPath,nodeOptions:i=n}=r;return vr(s,[...i,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:o,shell:!1})};let yr=!1,xr=!1;Ce=Re("6FGZZ"),Ce=Re("6FGZZ");let wr,Er=!1;var br={},Sr=br&&br.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),Pr=br&&br.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Or=br&&br.__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)&&Sr(t,e,r);return Pr(t,e),t}),_r=br&&br.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))),$r=br&&br.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(br,"__esModule",{value:!0}),br.evaluateVersions=br.isExplicitVersion=br.findFromManifest=br.getManifestFromRepo=br.findAllVersions=br.find=br.cacheFile=br.cacheDir=br.extractZip=br.extractXar=br.extractTar=br.extract7z=br.downloadTool=br.HTTPError=void 0;const Rr=Or(Re("6FGZZ"));Re.register("q05Mr",(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 o(e){return u(this,void 0,void 0,(function*(){he.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(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 o=[];for(const n of r){const r=yield h.tryGetExecutablePath(d.join(n,e),t);r&&o.push(r)}return o}))}function s(e,t,r,n){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield o(t);const a=yield h.readdir(e);for(const o of a){const a=`${e}/${o}`,c=`${t}/${o}`;(yield h.lstat(a)).isDirectory()?yield s(a,c,r,n):yield i(a,c,n)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function i(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,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),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,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;const p=l(de),d=l(ue),h=l(Re("fyhIP")),f=ge.promisify(p.exec),m=ge.promisify(p.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:o,recursive:n,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()&&!o)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(!n)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield s(e,l,0,o)}else{if(""===d.relative(e,l))throw Error(`'${l}' and '${e}' are the same file`);yield i(e,l,o)}}))},e.exports.mv=function(e,t,n={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let o=!0;if((yield h.isDirectory(t))&&(t=d.join(t,d.basename(e)),o=yield h.exists(t)),o){if(null!=n.force&&!n.force)throw Error("Destination already exists");yield r(t)}}yield o(d.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=o,e.exports.which=function e(t,r){return u(this,void 0,void 0,(function*(){if(!t)throw Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw Error(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 o=yield n(t);return o&&o.length>0?o[0]:""}))},e.exports.findInPath=n})),Re.register("fyhIP",(function(e,t){"use strict";function r(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}var o,n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),s=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 s(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;const c=i(pe),l=i(ue);e.exports.chmod=(o=c.promises).chmod,e.exports.copyFile=o.copyFile,e.exports.lstat=o.lstat,e.exports.mkdir=o.mkdir,e.exports.readdir=o.readdir,e.exports.readlink=o.readlink,e.exports.rename=o.rename,e.exports.rmdir=o.rmdir,e.exports.stat=o.stat,e.exports.symlink=o.symlink,e.exports.unlink=o.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.exists=function(t){return a(this,void 0,void 0,(function*(){try{yield e.exports.stat(t)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},e.exports.isDirectory=function(t,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory()}))},e.exports.isRooted=t=>{if(!(t=(t=>(t=t||"",e.exports.IS_WINDOWS?(t=t.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):t.replace(/\/\/+/g,"/")))(t)))throw Error('isRooted() parameter "p" cannot be empty');return e.exports.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")},e.exports.tryGetExecutablePath=function(t,o){return a(this,void 0,void 0,(function*(){let 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=l.extname(t).toUpperCase();if(o.some((t=>t.toUpperCase()===e)))return t}else if(r(n))return t;const s=t;for(const i of o){t=s+i,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=l.dirname(t),o=l.basename(t).toUpperCase();for(const n of yield e.exports.readdir(r))if(o===n.toUpperCase()){t=l.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"}}));const Cr=Or(Re("q05Mr")),Tr=Or(pe);Re.register("1Hds5",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 o(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const i=n(Re("hBwzM"));var a=Re("6FGZZ");e.exports._findMatch=function(t,r,o,n){return s(this,void 0,void 0,(function*(){const s=le.platform();let c,l,u;for(const c of o){const o=c.version;if(a.debug(`check ${o} satisfies ${t}`),i.satisfies(o,t)&&(!r||c.stable===r)&&(u=c.files.find((t=>{a.debug(`${t.arch}===${n} && ${t.platform}===${s}`);let r=t.arch===n&&t.platform===s;if(r&&t.platform_version){const o=e.exports._getOsVersion();r=o===t.platform_version||i.satisfies(o,t.platform_version)}return r})),u)){a.debug("matched "+c.version),l=c;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},e.exports._getOsVersion=()=>{const t=le.platform();let r="";if("darwin"===t)r=""+de.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 pe.existsSync(e)?r=""+pe.readFileSync(e):pe.existsSync(t)&&(r=""+pe.readFileSync(t)),r}})),Re.register("hBwzM",((e,t)=>{var r=Re("j1nFx");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:Re("9PnyI").SEMVER_SPEC_VERSION,SemVer:Re("j4Bpm"),compareIdentifiers:Re("9vPNp").compareIdentifiers,rcompareIdentifiers:Re("9vPNp").rcompareIdentifiers,parse:Re("bd0kF"),valid:Re("1JJDJ"),clean:Re("6mLCu"),inc:Re("1Orzu"),diff:Re("kGDR5"),major:Re("k3zcS"),minor:Re("e8NKK"),patch:Re("3Fhst"),prerelease:Re("6elLy"),compare:Re("1wyqe"),rcompare:Re("las47"),compareLoose:Re("dQlWE"),compareBuild:Re("7REgF"),sort:Re("3U0ar"),rsort:Re("98o3F"),gt:Re("6bYo1"),lt:Re("98Pyg"),eq:Re("4eeum"),neq:Re("a0PPD"),gte:Re("kRrXd"),lte:Re("ju11K"),cmp:Re("cITzi"),coerce:Re("5M2Mq"),Comparator:Re("hDCF3"),Range:Re("8YuUE"),satisfies:Re("6rO9c"),toComparators:Re("fx4Sd"),maxSatisfying:Re("bMVW7"),minSatisfying:Re("g5aoW"),minVersion:Re("hO4RL"),validRange:Re("hXGf0"),outside:Re("2MRaB"),gtr:Re("bqGrY"),ltr:Re("3AeSM"),intersects:Re("2Lyoi"),simplifyRange:Re("5pzc6"),subset:Re("2XGoS")}})),Re.register("j1nFx",((e,t)=>{var r=Re("9PnyI").MAX_SAFE_COMPONENT_LENGTH,o=Re("8eni4");const n=(t=e.exports={}).re=[],s=t.src=[],i=t.t={};let a=0;const c=(e,t,r)=>{const c=a++;o(c,t),i[e]=c,s[c]=t,n[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",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),c("FULL",`^${s[i.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),c("LOOSE",`^${s[i.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",s[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",s[i.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),c("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",s[i.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),Re.register("9PnyI",((e,t)=>{e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}})),Re.register("8eni4",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),Re.register("j4Bpm",(function(e,t){var r=Re("8eni4"),o=Re("9PnyI"),n=o.MAX_SAFE_INTEGER,s=o.MAX_LENGTH,i=Re("j1nFx"),a=i.t,c=i.re,l=Re("26eGk"),u=Re("9vPNp").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>s)throw new TypeError(`version is longer than ${s} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const o=e.trim().match(t.loose?c[a.LOOSE]:c[a.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>n||0>this.major)throw new TypeError("Invalid major version");if(this.minor>n||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>n||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=o[4]?o[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&n>t)return t}return e})):[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof p)){if("string"==typeof e&&e===this.version)return 0;e=new p(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof p||(e=new p(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof p||(e=new p(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const o=this.prerelease[t],n=e.prerelease[t];if(r("prerelease compare",t,o,n),void 0===o&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===o)return-1;if(o!==n)return u(o,n)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const o=this.build[t],n=e.build[t];if(r("prerelease compare",t,o,n),void 0===o&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===o)return-1;if(o!==n)return u(o,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&&(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})),Re.register("26eGk",((e,t)=>{const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}})),Re.register("9vPNp",((e,t)=>{const r=/^[0-9]+$/,o=(e,t)=>{const o=r.test(e),n=r.test(t);return o&&n&&(e=+e,t=+t),e===t?0:o&&!n?-1:n&&!o?1:t>e?-1:1};e.exports={compareIdentifiers:o,rcompareIdentifiers(e,t){return o(t,e)}}})),Re.register("bd0kF",((e,t)=>{var r=Re("9PnyI").MAX_LENGTH,o=Re("j1nFx"),n=o.t,s=o.re,i=Re("j4Bpm"),a=Re("26eGk");e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?s[n.LOOSE]:s[n.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}})),Re.register("1JJDJ",((e,t)=>{var r=Re("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o?o.version:null}})),Re.register("6mLCu",((e,t)=>{var r=Re("bd0kF");e.exports=(e,t)=>{const o=r(e.trim().replace(/^[=v]+/,""),t);return o?o.version:null}})),Re.register("1Orzu",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t,o,n)=>{"string"==typeof o&&(n=o,o=void 0);try{return new r(e,o).inc(t,n).version}catch(e){return null}}})),Re.register("kGDR5",((e,t)=>{var r=Re("bd0kF"),o=Re("4eeum");e.exports=(e,t)=>{if(o(e,t))return null;{const o=r(e),n=r(t),s=o.prerelease.length||n.prerelease.length,i=s?"pre":"",a=s?"prerelease":"";for(const e in o)if(("major"===e||"minor"===e||"patch"===e)&&o[e]!==n[e])return i+e;return a}}})),Re.register("4eeum",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0===r(e,t,o)})),Re.register("1wyqe",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t,o)=>new r(e,o).compare(new r(t,o))})),Re.register("k3zcS",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t)=>new r(e,t).major})),Re.register("e8NKK",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t)=>new r(e,t).minor})),Re.register("3Fhst",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t)=>new r(e,t).patch})),Re.register("6elLy",((e,t)=>{var r=Re("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o&&o.prerelease.length?o.prerelease:null}})),Re.register("las47",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>r(t,e,o)})),Re.register("dQlWE",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t)=>r(e,t,!0)})),Re.register("7REgF",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t,o)=>{const n=new r(e,o),s=new r(t,o);return n.compare(s)||n.compareBuild(s)}})),Re.register("3U0ar",((e,t)=>{var r=Re("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(e,o,t)))})),Re.register("98o3F",((e,t)=>{var r=Re("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(o,e,t)))})),Re.register("6bYo1",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>0})),Re.register("98Pyg",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0>r(e,t,o)})),Re.register("a0PPD",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0!==r(e,t,o)})),Re.register("kRrXd",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>=0})),Re.register("ju11K",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0>=r(e,t,o)})),Re.register("cITzi",((e,t)=>{var r=Re("4eeum"),o=Re("a0PPD"),n=Re("6bYo1"),s=Re("kRrXd"),i=Re("98Pyg"),a=Re("ju11K");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 o(e,c,l);case">":return n(e,c,l);case">=":return s(e,c,l);case"<":return i(e,c,l);case"<=":return a(e,c,l);default:throw new TypeError("Invalid operator: "+t)}}})),Re.register("5M2Mq",((e,t)=>{var r=Re("j4Bpm"),o=Re("bd0kF"),n=Re("j1nFx"),s=n.t,i=n.re;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=i[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),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else n=e.match(i[s.COERCE]);return null===n?null:o(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}})),Re.register("hDCF3",(function(e,t){const r=Symbol();class o{static get ANY(){return r}constructor(e,t){if(t=n(t),e instanceof o){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?a[i.COMPARATORLOOSE]:a[i.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new u(t[2],this.options.loose):r}toString(){return this.value}test(e){if(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 o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,i=!(">="!==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||n||s&&i||a||l}}e.exports=o;var n=Re("26eGk"),s=Re("j1nFx"),i=s.t,a=s.re,c=Re("cITzi"),l=Re("8eni4"),u=Re("j4Bpm"),p=Re("8YuUE")})),Re.register("8YuUE",(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 s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose;e=e.replace(n?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE],$(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),i("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],h)).replace(l[u.CARETTRIM],p)).split(/\s+/).join(" ");const a=n?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],c=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options))).filter(this.options.loose?e=>!!e.match(a):()=>!0).map((e=>new s(e,this.options))),m=new Map;for(const e of c){if(f(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const v=[...m.values()];return o.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(e){return!1}for(let t=0;this.set.length>t;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(Re("hqS6J"))({max:1e3});var n=Re("26eGk"),s=Re("hDCF3"),i=Re("8eni4"),a=Re("j4Bpm"),c=Re("j1nFx"),l=c.re,u=c.t,p=c.caretTrimReplace,d=c.comparatorTrimReplace,h=c.tildeTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,v=(e,t)=>{let r=!0;const o=e.slice();let n=o.pop();for(;r&&o.length;)r=o.every((e=>n.intersects(e,t))),n=o.pop();return r},g=(e,t)=>(i("comp",e,t),e=E(e,t),i("caret",e),e=x(e,t),i("tildes",e),e=S(e,t),i("xrange",e),e=O(e,t),i("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>e.replace(t.loose?l[u.TILDELOOSE]:l[u.TILDE],((t,r,o,n,s)=>{let a;return i("tilde",e,t,r,o,n,s),y(r)?a="":y(o)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(n)?a=`>=${r}.${o}.0 <${r}.${+o+1}.0-0`:s?(i("replaceTilde pr",s),a=`>=${r}.${o}.${n}-${s} <${r}.${+o+1}.0-0`):a=`>=${r}.${o}.${n} <${r}.${+o+1}.0-0`,i("tilde return",a),a})),E=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{i("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?l[u.CARETLOOSE]:l[u.CARET],((t,o,n,s,a)=>{let c;return i("caret",e,t,o,n,s,a),y(o)?c="":y(n)?c=`>=${o}.0.0${r} <${+o+1}.0.0-0`:y(s)?c="0"===o?`>=${o}.${n}.0${r} <${o}.${+n+1}.0-0`:`>=${o}.${n}.0${r} <${+o+1}.0.0-0`:a?(i("replaceCaret pr",a),c="0"===o?"0"===n?`>=${o}.${n}.${s}-${a} <${o}.${n}.${+s+1}-0`:`>=${o}.${n}.${s}-${a} <${o}.${+n+1}.0-0`:`>=${o}.${n}.${s}-${a} <${+o+1}.0.0-0`):(i("no pr"),c="0"===o?"0"===n?`>=${o}.${n}.${s}${r} <${o}.${n}.${+s+1}-0`:`>=${o}.${n}.${s}${r} <${o}.${+n+1}.0-0`:`>=${o}.${n}.${s} <${+o+1}.0.0-0`),i("caret return",c),c}))},S=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>P(e,t))).join(" ")),P=(e,t)=>(e=e.trim()).replace(t.loose?l[u.XRANGELOOSE]:l[u.XRANGE],((r,o,n,s,a,c)=>{i("xRange",e,r,o,n,s,a,c);const l=y(n),u=l||y(s),p=u||y(a);return"="===o&&p&&(o=""),c=t.includePrerelease?"-0":"",l?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(s=0),a=0,">"===o?(o=">=",u?(n=+n+1,s=0,a=0):(s=+s+1,a=0)):"<="===o&&(o="<",u?n=+n+1:s=+s+1),"<"===o&&(c="-0"),r=`${o+n}.${s}.${a}${c}`):u?r=`>=${n}.0.0${c} <${+n+1}.0.0-0`:p&&(r=`>=${n}.${s}.0${c} <${n}.${+s+1}.0-0`),i("xRange return",r),r})),O=(e,t)=>(i("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),_=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),$=e=>(t,r,o,n,s,i,a,c,l,u,p,d,h)=>`${r=y(o)?"":y(n)?`>=${o}.0.0${e?"-0":""}`:y(s)?`>=${o}.${n}.0${e?"-0":""}`:i?">="+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(i(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const o=e[r].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}})),Re.register("hqS6J",(function(e,t){"use strict";var r=Re("9ShIP");const o=Symbol(),n=Symbol(),s=Symbol(),i=Symbol(),a=Symbol(),c=Symbol(),l=Symbol(),u=Symbol(),p=Symbol(),d=Symbol(),h=()=>1,f=(e,t,r)=>{const o=e[p].get(t);if(o){const t=o.value;if(m(e,t)){if(g(e,o),!e[i])return}else r&&(e[d]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]},v=e=>{if(e[n]>e[o])for(let t=e[u].tail;e[n]>e[o]&&null!==t;){const r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[n]-=r.length,e[p].delete(r.key),e[u].removeNode(t)}};class y{constructor(e,t,r,o,n){this.key=e,this.value=t,this.length=r,this.now=o,this.maxAge=n||0}}const x=(e,t,r,o)=>{let n=r.value;m(e,n)&&(g(e,r),e[i]||(n=void 0)),n&&t.call(o,n.value,n.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||0>e.max))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||h;if(this[s]="function"!=typeof t?h:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[c]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||0>e)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,v(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[a]=e,v(this)}get maxAge(){return this[a]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[s]&&(this[s]=e,this[n]=0,this[u].forEach((e=>{e.length=this[s](e.value,e.key),this[n]+=e.length}))),v(this)}get lengthCalculator(){return this[s]}get length(){return this[n]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){const o=r.prev;x(this,e,r,t),r=o}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){const o=r.next;x(this,e,r,t),r=o}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[u]=new r,this[n]=0}dump(){return this[u].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const i=r?Date.now():0,d=this[s](t,e);if(this[p].has(e)){if(d>this[o])return g(this,this[p].get(e)),!1;const s=this[p].get(e).value;return this[c]&&(this[l]||this[c](e,s.value)),s.now=i,s.maxAge=r,s.value=t,this[n]+=d-s.length,s.length=d,this.get(e),v(this),!0}const h=new y(e,t,d,i,r);return h.length>this[o]?(this[c]&&this[c](e,t),!1):(this[n]+=h.length,this[u].unshift(h),this[p].set(e,this[u].head),v(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[u].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const o=e[r],n=o.e||0;if(0===n)this.set(o.k,o.v);else{const e=n-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[p].forEach(((e,t)=>f(this,t,!1)))}}})),Re.register("9ShIP",(function(e,t){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((e=>{t.push(e)}));else if(arguments.length>0)for(var o=0,n=arguments.length;n>o;o++)t.push(arguments[o]);return t}function o(e,t,r){var o=t===e.head?new i(r,null,t,e):new i(r,t,t.next,e);return null===o.next&&(e.tail=o),null===o.prev&&(e.head=o),e.length++,o}function n(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function s(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,r,o){if(!(this instanceof i))return new i(e,t,r,o);this.list=o,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=r,r.Node=i,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)n(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;t>e;e++)s(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,o=0;null!==r;o++)e.call(t,r.value,o,this),r=r.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,o=this.length-1;null!==r;o--)e.call(t,r.value,o,this),r=r.prev},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value},r.prototype.map=function(e,t){t=t||this;for(var o=new r,n=this.head;null!==n;)o.push(e.call(t,n.value,this)),n=n.next;return o},r.prototype.mapReverse=function(e,t){t=t||this;for(var o=new r,n=this.tail;null!==n;)o.push(e.call(t,n.value,this)),n=n.prev;return o},r.prototype.reduce=function(e,t){var r,o=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,r=this.head.value}for(var n=0;null!==o;n++)r=e(r,o.value,n),o=o.next;return r},r.prototype.reduceReverse=function(e,t){var r,o=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,r=this.tail.value}for(var n=this.length-1;null!==o;n--)r=e(r,o.value,n),o=o.prev;return r},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},r.prototype.slice=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var n=0,s=this.head;null!==s&&e>n;n++)s=s.next;for(;null!==s&&t>n;n++,s=s.next)o.push(s.value);return o},r.prototype.sliceReverse=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,s=this.tail;null!==s&&n>t;n--)s=s.prev;for(;null!==s&&n>e;n--,s=s.prev)o.push(s.value);return o},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),0>e&&(e=this.length+e);for(var n=0,s=this.head;null!==s&&e>n;n++)s=s.next;var i=[];for(n=0;s&&t>n;n++)i.push(s.value),s=this.removeNode(s);for(null===s&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev),n=0;r.length>n;n++)s=o(this,s,r[n]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var o=r.prev;r.prev=r.next,r.next=o}return this.head=t,this.tail=e,this};try{Re("bdwRA")(r)}catch(e){}})),Re.register("bdwRA",(function(e,t){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}})),Re.register("6rO9c",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t,o)=>{try{t=new r(t,o)}catch(e){return!1}return t.test(e)}})),Re.register("fx4Sd",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),Re.register("bMVW7",((e,t)=>{var r=Re("j4Bpm"),o=Re("8YuUE");e.exports=(e,t,n)=>{let s=null,i=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new r(s,n)))})),s}})),Re.register("g5aoW",((e,t)=>{var r=Re("j4Bpm"),o=Re("8YuUE");e.exports=(e,t,n)=>{let s=null,i=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new r(s,n)))})),s}})),Re.register("hO4RL",((e,t)=>{var r=Re("j4Bpm"),o=Re("8YuUE"),n=Re("6bYo1");e.exports=(e,t)=>{e=new o(e,t);let s=new r("0.0.0");if(e.test(s))return s;if(s=new r("0.0.0-0"),e.test(s))return s;s=null;for(let t=0;e.set.length>t;++t){let o=null;e.set[t].forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!n(t,o)||(o=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!o||s&&!n(s,o)||(s=o)}return s&&e.test(s)?s:null}})),Re.register("hXGf0",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),Re.register("2MRaB",((e,t)=>{var r=Re("j4Bpm"),o=Re("hDCF3");const{ANY:n}=o;var s=Re("8YuUE"),i=Re("6rO9c"),a=Re("6bYo1"),c=Re("98Pyg"),l=Re("ju11K"),u=Re("kRrXd");e.exports=(e,t,p,d)=>{let h,f,m,v,g;switch(e=new r(e,d),t=new s(t,d),p){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(i(e,t,d))return!1;for(let r=0;t.set.length>r;++r){let s=null,i=null;if(t.set[r].forEach((e=>{e.semver===n&&(e=new o(">=0.0.0")),s=s||e,i=i||e,h(e.semver,s.semver,d)?s=e:m(e.semver,i.semver,d)&&(i=e)})),s.operator===v||s.operator===g)return!1;if((!i.operator||i.operator===v)&&f(e,i.semver))return!1;if(i.operator===g&&m(e,i.semver))return!1}return!0}})),Re.register("bqGrY",((e,t)=>{var r=Re("2MRaB");e.exports=(e,t,o)=>r(e,t,">",o)})),Re.register("3AeSM",((e,t)=>{var r=Re("2MRaB");e.exports=(e,t,o)=>r(e,t,"<",o)})),Re.register("2Lyoi",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t,o)=>(e=new r(e,o),t=new r(t,o),e.intersects(t))})),Re.register("5pzc6",((e,t)=>{var r=Re("6rO9c"),o=Re("1wyqe");e.exports=(e,t,n)=>{const s=[];let i=null,a=null;const c=e.sort(((e,t)=>o(e,t,n)));for(const e of c)r(e,t,n)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null);i&&s.push([i,null]);const l=[];for(const[e,t]of s)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}})),Re.register("2XGoS",((e,t)=>{var r=Re("8YuUE"),o=Re("hDCF3");const{ANY:n}=o;var s=Re("6rO9c"),i=Re("1wyqe");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 o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const a=new Set;let u,p,d,h,f,m,v;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=i(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&&!s(e,u+"",r))return null;if(p&&!s(e,p+"",r))return null;for(const o of t)if(!s(e,o+"",r))return!1;return!0}let g=!(!p||r.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;g&&1===g.prerelease.length&&"<"===p.operator&&0===g.prerelease[0]&&(g=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,u)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(h=c(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!s(u.semver,e+"",r))return!1;if(p)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if(f=l(p,e,r),f===e&&f!==p)return!1}else if("<="===p.operator&&!s(p.semver,e+"",r))return!1;if(!e.operator&&(p||u)&&0!==d)return!1}return!(u&&m&&!p&&0!==d||p&&v&&!u&&0!==d||y||g)},c=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return o>0?e:0>o||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return 0>o?e:o>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,o={})=>{if(e===t)return!0;e=new r(e,o),t=new r(t,o);let n=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,o);if(n=n||null!==t,t)continue e}if(n)return!1}return!0}}));const Ar=Or(Re("1Hds5")),Ir=Or(le),Nr=Or(ue);Re.register("9AGbw",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Re("cEfL5");let o;var n,s,i,a,c;(s=n=e.exports.HttpCodes||(e.exports.HttpCodes={}))[s.OK=200]="OK",s[s.MultipleChoices=300]="MultipleChoices",s[s.MovedPermanently=301]="MovedPermanently",s[s.ResourceMoved=302]="ResourceMoved",s[s.SeeOther=303]="SeeOther",s[s.NotModified=304]="NotModified",s[s.UseProxy=305]="UseProxy",s[s.SwitchProxy=306]="SwitchProxy",s[s.TemporaryRedirect=307]="TemporaryRedirect",s[s.PermanentRedirect=308]="PermanentRedirect",s[s.BadRequest=400]="BadRequest",s[s.Unauthorized=401]="Unauthorized",s[s.PaymentRequired=402]="PaymentRequired",s[s.Forbidden=403]="Forbidden",s[s.NotFound=404]="NotFound",s[s.MethodNotAllowed=405]="MethodNotAllowed",s[s.NotAcceptable=406]="NotAcceptable",s[s.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",s[s.RequestTimeout=408]="RequestTimeout",s[s.Conflict=409]="Conflict",s[s.Gone=410]="Gone",s[s.TooManyRequests=429]="TooManyRequests",s[s.InternalServerError=500]="InternalServerError",s[s.NotImplemented=501]="NotImplemented",s[s.BadGateway=502]="BadGateway",s[s.ServiceUnavailable=503]="ServiceUnavailable",s[s.GatewayTimeout=504]="GatewayTimeout",(a=i=e.exports.Headers||(e.exports.Headers={})).Accept="accept",a.ContentType="content-type",(c=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{let t=r.getProxyUrl(new URL(e));return t?t.href:""};const l=[n.MovedPermanently,n.ResourceMoved,n.SeeOther,n.TemporaryRedirect,n.PermanentRedirect],u=[n.BadGateway,n.ServiceUnavailable,n.GatewayTimeout],p=["OPTIONS","GET","DELETE","HEAD"];class d extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,d.prototype)}}e.exports.HttpClientError=d;class h{constructor(e){this.message=e}readBody(){return new Promise((async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",(e=>{r=Buffer.concat([r,e])})),this.message.on("end",(()=>{e(""+r)}))}))}}e.exports.HttpClientResponse=h,e.exports.isHttps=e=>"https:"===new URL(e).protocol;class f{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,r){return this.request("POST",e,t,r||{})}patch(e,t,r){return this.request("PATCH",e,t,r||{})}put(e,t,r){return this.request("PUT",e,t,r||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,r,o){return this.request(e,t,r,o)}async getJson(e,t={}){t[i.Accept]=this._getExistingOrDefaultHeader(t,i.Accept,c.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,c.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,c.ApplicationJson);let n=await this.post(e,o,r);return this._processResponse(n,this.requestOptions)}async putJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,c.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,c.ApplicationJson);let n=await this.put(e,o,r);return this._processResponse(n,this.requestOptions)}async patchJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,c.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,c.ApplicationJson);let n=await this.patch(e,o,r);return this._processResponse(n,this.requestOptions)}async request(e,t,r,o){if(this._disposed)throw Error("Client has already been disposed.");let s,i=new URL(t),a=this._prepareRequest(e,i,o),c=this._allowRetries&&-1!=p.indexOf(e)?this._maxRetries+1:1,d=0;for(;c>d;){if(s=await this.requestRaw(a,r),s&&s.message&&s.message.statusCode===n.Unauthorized){let e;for(let t=0;this.handlers.length>t;t++)if(this.handlers[t].canHandleAuthentication(s)){e=this.handlers[t];break}return e?e.handleAuthentication(this,a,r):s}let t=this._maxRedirects;for(;-1!=l.indexOf(s.message.statusCode)&&this._allowRedirects&&t>0;){const n=s.message.headers.location;if(!n)break;let c=new URL(n);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(await s.readBody(),c.hostname!==i.hostname)for(let e in o)"authorization"===e.toLowerCase()&&delete o[e];a=this._prepareRequest(e,c,o),s=await this.requestRaw(a,r),t--}if(-1==u.indexOf(s.message.statusCode))return s;d+=1,c>d&&(await s.readBody(),await this._performExponentialBackoff(d))}return s}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return new Promise(((r,o)=>{this.requestRawWithCallback(e,t,((e,t)=>{e&&o(e),r(t)}))}))}requestRawWithCallback(e,t,r){let o;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let n=!1,s=(e,t)=>{n||(n=!0,r(e,t))},i=e.httpModule.request(e.options,(e=>{let t=new h(e);s(null,t)}));i.on("socket",(e=>{o=e})),i.setTimeout(this._socketTimeout||18e4,(()=>{o&&o.end(),s(Error("Request timeout: "+e.options.path),null)})),i.on("error",(e=>{s(e,null)})),t&&"string"==typeof t&&i.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{i.end()})),t.pipe(i)):i.end()}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const o={};o.parsedUrl=t;const n="https:"===o.parsedUrl.protocol;o.httpModule=n?xe:ye;const s=n?443:80;return o.options={},o.options.host=o.parsedUrl.hostname,o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):s,o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||""),o.options.method=e,o.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(o.options.headers["user-agent"]=this.userAgent),o.options.agent=this._getAgent(o.parsedUrl),this.handlers&&this.handlers.forEach((e=>{e.prepareRequest(o.options)})),o}_mergeHeaders(e){const t=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});return this.requestOptions&&this.requestOptions.headers?Object.assign({},t(this.requestOptions.headers),t(e)):t(e||{})}_getExistingOrDefaultHeader(e,t,r){let o;var n;return this.requestOptions&&this.requestOptions.headers&&(o=(n=this.requestOptions.headers,Object.keys(n).reduce(((e,t)=>(e[t.toLowerCase()]=n[t],e)),{}))[t]),e[t]||o||r}_getAgent(e){let t,n=r.getProxyUrl(e),s=n&&n.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;const i="https:"===e.protocol;let a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||ye.globalAgent.maxSockets),s){o||(o=Re("hEhmi"));const e={maxSockets:a,keepAlive:this._keepAlive,proxy:{...(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`},host:n.hostname,port:n.port}};let r;const s="https:"===n.protocol;r=i?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp,t=r(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:a};t=i?new xe.Agent(e):new ye.Agent(e),this._agent=t}return t||(t=i?xe.globalAgent:ye.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}static dateTimeDeserializer(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e}return t}async _processResponse(e,t){return new Promise((async(r,o)=>{const s=e.message.statusCode,i={statusCode:s,result:null,headers:{}};let a,c;s==n.NotFound&&r(i);try{c=await e.readBody(),c&&c.length>0&&(a=t&&t.deserializeDates?JSON.parse(c,f.dateTimeDeserializer):JSON.parse(c),i.result=a),i.headers=e.message.headers}catch(e){}if(s>299){let e;e=a&&a.message?a.message:c&&c.length>0?c:"Failed request: ("+s+")";let t=new d(e,s);t.result=i.result,o(t)}else r(i)}))}}e.exports.HttpClient=f})),Re.register("cEfL5",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;let t,r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let o=[e.hostname.toUpperCase()];"number"==typeof t&&o.push(`${o[0]}:${t}`);for(let e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(o.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=e=>{let t,o,n="https:"===e.protocol;return r(e)||(o=n?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY,o&&(t=new URL(o))),t},e.exports.checkBypass=r})),Re.register("hEhmi",((e,t)=>{e.exports=Re("88ZfI")})),Re.register("88ZfI",(function(e,r){function o(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||ye.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,o,n)=>{for(var i=s(r,o,n),a=0,c=t.requests.length;c>a;++a){var l=t.requests[a];if(l.host===i.host&&l.port===i.port)return t.requests.splice(a,1),void l.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function n(e,t){var r=this;o.prototype.createSocket.call(r,e,(o=>{var n=e.request.getHeader("host"),s=i({},r.options,{socket:o,servername:n?n.replace(/:.*$/,""):e.host}),a=we.connect(0,s);r.sockets[r.sockets.indexOf(o)]=a,t(a)}))}function s(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function i(e){for(var t=1,r=arguments.length;r>t;++t){var o=arguments[t];if("object"==typeof o)for(var n=Object.keys(o),s=0,i=n.length;i>s;++s){var a=n[s];void 0!==o[a]&&(e[a]=o[a])}}return e}var a,c,l,u,p,d;t(e.exports,"httpOverHttps",(()=>u),(e=>u=e)),t(e.exports,"httpOverHttp",(()=>l),(e=>l=e)),t(e.exports,"httpsOverHttps",(()=>c),(e=>c=e)),t(e.exports,"debug",(()=>p),(e=>p=e)),t(e.exports,"httpsOverHttp",(()=>a),(e=>a=e)),l=e=>{var t=new o(e);return t.request=ye.request,t},a=e=>{var t=new o(e);return t.request=ye.request,t.createSocket=n,t.defaultPort=443,t},u=e=>{var t=new o(e);return t.request=xe.request,t},c=e=>{var t=new o(e);return t.request=xe.request,t.createSocket=n,t.defaultPort=443,t},ge.inherits(o,fe.EventEmitter),o.prototype.addRequest=function(e,t,r,o){var n=this,a=i({request:e},n.options,s(t,r,o));this.maxSockets>n.sockets.length?n.createSocket(a,(t=>{function r(){n.emit("free",t,a)}function o(e){n.removeSocket(t),t.removeListener("free",r),t.removeListener("close",o),t.removeListener("agentRemove",o)}t.on("free",r),t.on("close",o),t.on("agentRemove",o),e.onSocket(t)})):n.requests.push(a)},o.prototype.createSocket=function(e,t){function r(r,s,i){var c;return a.removeAllListeners(),s.removeAllListeners(),200!==r.statusCode?(d("tunneling socket could not be established, statusCode=%d",r.statusCode),s.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void o.removeSocket(n)):i.length>0?(d("got illegal response body from proxy"),s.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void o.removeSocket(n)):(d("tunneling connection has established"),o.sockets[o.sockets.indexOf(n)]=s,t(s))}var o=this,n={};o.sockets.push(n);var s=i({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),d("making CONNECT request");var a=o.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,o)=>{process.nextTick((()=>{r(e,t,o)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),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),o.removeSocket(n)})),a.end()},o.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(e=>{r.request.onSocket(e)}))}},p=d=()=>{}}));const Lr=Or(Re("9AGbw")),jr=Or(Re("hBwzM")),Dr=Or(ve),kr=Or(ge);Re.register("kceBH",((e,t)=>{var r=Re("diWfV"),o=Re("8n3PT");e.exports=(e,t,n)=>{var s=t&&n||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;16>a;++a)t[s+a]=i[a];return t||o(i)}})),Re.register("diWfV",((e,t)=>{e.exports=()=>Ee.randomBytes(16)})),Re.register("8n3PT",((e,t)=>{for(var r=[],o=0;256>o;++o)r[o]=(o+256).toString(16).substr(1);e.exports=(e,t)=>{var o=t||0;return""+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]}}));const Mr=$r(Re("kceBH"));var Fr={},Gr=Fr&&Fr.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),Ur=Fr&&Fr.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Br=Fr&&Fr.__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)&&Gr(t,e,r);return Ur(t,e),t}),Vr=Fr&&Fr.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.getExecOutput=Fr.exec=void 0,Re.register("fk1Ma",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 o(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const i=n(le),a=n(fe),c=n(de),l=n(ue),u=n(Re("q05Mr")),p=n(Re("fyhIP")),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(),o=this._getSpawnArgs(e);let n=t?"":"[command]";if(d)if(this._isCmdFile()){n+=r;for(const e of o)n+=" "+e}else if(e.windowsVerbatimArguments){n+=`"${r}"`;for(const e of o)n+=" "+e}else{n+=this._windowsQuoteCmdArg(r);for(const e of o)n+=" "+this._windowsQuoteCmdArg(e)}else{n+=r;for(const e of o)n+=" "+e}return n}_processLineBuffer(e,t,r){try{let o=t+""+e,n=o.indexOf(i.EOL);for(;n>-1;)r(o.substring(0,n)),o=o.substring(n+i.EOL.length),n=o.indexOf(i.EOL);return o}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 o of e)if(t.some((e=>e===o))){r=!0;break}if(!r)return e;let o='"',n=!0;for(let t=e.length;t>0;t--)o+=e[t-1],n&&"\\"===e[t-1]?o+="\\":'"'===e[t-1]?(n=!0,o+='"'):n=!1;return o+='"',o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let o=e.length;o>0;o--)t+=e[o-1],r&&"\\"===e[o-1]?t+="\\":'"'===e[o-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){const r={};return r.cwd=(e=e||{}).cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return s(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)=>s(this,void 0,void 0,(function*(){this._debug("exec tool: "+this.toolPath),this._debug("arguments:");for(const e of this.args)this._debug(" "+e);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+i.EOL);const o=new h(r,this.toolPath);if(o.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const n=this._getSpawnFileName(),s=c.spawn(n,this._getSpawnArgs(r),this._getSpawnOptions(this.options,n));let a="";s.stdout&&s.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(s.stderr&&s.stderr.on("data",(e=>{o.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),l=this._processLineBuffer(e,l,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),s.on("error",(e=>{o.processError=e.message,o.processExited=!0,o.processClosed=!0,o.CheckComplete()})),s.on("exit",(e=>{o.processExitCode=e,o.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),o.CheckComplete()})),s.on("close",(e=>{o.processExitCode=e,o.processExited=!0,o.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),o.CheckComplete()})),o.on("done",((r,o)=>{a.length>0&&this.emit("stdline",a),l.length>0&&this.emit("errline",l),s.removeAllListeners(),r?t(r):e(o)})),this.options.input){if(!s.stdin)throw Error("child process missing stdin");s.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){n&&'"'!==e&&(s+="\\"),s+=e,n=!1}const r=[];let o=!1,n=!1,s="";for(let i=0;e.length>i;i++){const a=e.charAt(i);'"'!==a?"\\"===a&&n?t(a):"\\"===a&&o?n=!0:" "!==a||o?t(a):s.length>0&&(r.push(s),s=""):n?t(a):o=!o}return s.length>0&&r.push(s.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=Se.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())}}}));const qr=Br(Re("fk1Ma"));Fr.exec=w,Fr.getExecOutput=function(e,t,r){var o,n;return Vr(this,void 0,void 0,(function*(){let s="",i="";const a=new be.StringDecoder("utf8"),c=new be.StringDecoder("utf8"),l=null===(o=null==r?void 0:r.listeners)||void 0===o?void 0:o.stdout,u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stderr,p=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){s+=a.write(e),l&&l(e)},stderr(e){i+=c.write(e),u&&u(e)}}),d=yield w(e,t,Object.assign(Object.assign({},r),{listeners:p}));return s+=a.end(),i+=c.end(),{exitCode:d,stdout:s,stderr:i}}))};var Hr={},Xr=Hr&&Hr.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),Wr=Hr&&Hr.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Yr=Hr&&Hr.__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)&&Xr(t,e,r);return Wr(t,e),t}),Zr=Hr&&Hr.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.RetryHelper=void 0;const zr=Yr(Re("6FGZZ"));Hr.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 Zr(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;zr.info(e.message)}const o=this.getSleepAmount();zr.info(`Waiting ${o} seconds before trying again`),yield this.sleep(o),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Zr(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class Jr extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}br.HTTPError=Jr;const Kr="win32"===process.platform,Qr="darwin"===process.platform;br.downloadTool=function(e,t,r,o){return _r(this,void 0,void 0,(function*(){t=t||Nr.join(R(),Mr.default()),yield Cr.mkdirP(Nr.dirname(t)),Rr.debug("Downloading "+e),Rr.debug("Destination "+t);const n=C("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),s=C("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),i=new Hr.RetryHelper(3,n,s);return yield i.execute((()=>_r(this,void 0,void 0,(function*(){return yield function(e,t,r,o){return _r(this,void 0,void 0,(function*(){if(Tr.existsSync(t))throw Error(`Destination file path ${t} already exists`);const n=new Lr.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Rr.debug("set auth"),void 0===o&&(o={}),o.authorization=r);const s=yield n.get(e,o);if(200!==s.message.statusCode){const t=new Jr(s.message.statusCode);throw Rr.debug(`Failed to download from "${e}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),t}const i=kr.promisify(Dr.pipeline),a=C("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>s.message))();let c=!1;try{return yield i(a,Tr.createWriteStream(t)),Rr.debug("download complete"),c=!0,t}finally{if(!c){Rr.debug("download failed");try{yield Cr.rmRF(t)}catch(e){Rr.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,o)}))),(e=>!(e instanceof Jr&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},br.extract7z=function(e,t,r){return _r(this,void 0,void 0,(function*(){he.ok(Kr,"extract7z() not supported on current OS"),he.ok(e,'parameter "file" is required'),t=yield b(t);const o=process.cwd();if(process.chdir(t),r)try{const t=["x",Rr.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],n={silent:!0};yield Fr.exec(`"${r}"`,t,n)}finally{process.chdir(o)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Nr.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],n={silent:!0};try{const e=yield Cr.which("powershell",!0);yield Fr.exec(`"${e}"`,r,n)}finally{process.chdir(o)}}return t}))},br.extractTar=function(e,t,r="xz"){return _r(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield b(t),Rr.debug("Checking tar --version");let o="";yield Fr.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return o+=""+e},stderr(e){return o+=""+e}}}),Rr.debug(o.trim());const n=o.toUpperCase().includes("GNU TAR");let s;s=r instanceof Array?r:[r],Rr.isDebug()&&!r.includes("v")&&s.push("-v");let i=t,a=e;return Kr&&n&&(s.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(s.push("--warning=no-unknown-keyword"),s.push("--overwrite")),s.push("-C",i,"-f",a),yield Fr.exec("tar",s),t}))},br.extractXar=function(e,t,r=[]){return _r(this,void 0,void 0,(function*(){let o;he.ok(Qr,"extractXar() not supported on current OS"),he.ok(e,'parameter "file" is required'),t=yield b(t),o=r instanceof Array?r:[r],o.push("-x","-C",t,"-f",e),Rr.isDebug()&&o.push("-v");const n=yield Cr.which("xar",!0);var s;return yield Fr.exec(`"${n}"`,(s=o,Array.from(new Set(s)))),t}))},br.extractZip=function(e,t){return _r(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield b(t),Kr?yield function(e,t){return _r(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield Cr.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}', '${o}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${o}' -Force } else { throw $_ } } ;`].join(" ")];Rr.debug("Using pwsh at path: "+n),yield Fr.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 '${o}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${o}', $true) }`].join(" ")],t=yield Cr.which("powershell",!0);Rr.debug("Using powershell at path: "+t),yield Fr.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return _r(this,void 0,void 0,(function*(){const r=yield Cr.which("unzip",!0),o=[e];Rr.isDebug()||o.unshift("-q"),o.unshift("-o"),yield Fr.exec(`"${r}"`,o,{cwd:t})}))}(e,t),t}))},br.cacheDir=function(e,t,r,o){return _r(this,void 0,void 0,(function*(){if(r=jr.clean(r)||r,o=o||Ir.arch(),Rr.debug(`Caching tool ${t} ${r} ${o}`),Rr.debug("source dir: "+e),!Tr.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const n=yield S(t,r,o);for(const t of Tr.readdirSync(e)){const r=Nr.join(e,t);yield Cr.cp(r,n,{recursive:!0})}return P(t,r,o),n}))},br.cacheFile=function(e,t,r,o,n){return _r(this,void 0,void 0,(function*(){if(o=jr.clean(o)||o,n=n||Ir.arch(),Rr.debug(`Caching tool ${r} ${o} ${n}`),Rr.debug("source file: "+e),!Tr.statSync(e).isFile())throw Error("sourceFile is not a file");const s=yield S(r,o,n),i=Nr.join(s,t);return Rr.debug("destination file "+i),yield Cr.cp(e,i),P(r,o,n),s}))},br.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||Ir.arch(),O(t)||(t=_(E(e,r),t));let o="";if(t){t=jr.clean(t)||"";const n=Nr.join($(),e,t,r);Rr.debug("checking cache: "+n),Tr.existsSync(n)&&Tr.existsSync(n+".complete")?(Rr.debug(`Found tool in cache ${e} ${t} ${r}`),o=n):Rr.debug("not found")}return o},br.findAllVersions=E,br.getManifestFromRepo=function(e,t,r,o="master"){return _r(this,void 0,void 0,(function*(){let n=[];const s=`https://api.github.com/repos/${e}/${t}/git/trees/${o}`,i=new Lr.HttpClient("tool-cache"),a={};r&&(Rr.debug("set auth"),a.authorization=r);const c=yield i.getJson(s,a);if(!c.result)return n;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 i.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{n=JSON.parse(u)}catch(e){Rr.debug("Invalid json")}}return n}))},br.findFromManifest=function(e,t,r,o=Ir.arch()){return _r(this,void 0,void 0,(function*(){return yield Ar._findMatch(e,t,r,o)}))},br.isExplicitVersion=O,br.evaluateVersions=_,Ce=Re("6FGZZ");var eo=Re("ju11K"),to=Re("5M2Mq"),ro=(Ce=Re("6FGZZ"),{});const{Worker:oo}=(()=>{try{return $e68279e3338bc371$import$ad18b0afc1a10da7}catch(e){return{}}})();let no,so=0;const io=new Map,ao=(e,t,r)=>new Promise(((o,n)=>{const s=so++;io.set(s,{resolve:o,reject:n}),void 0===no&&(no=new oo(ue.join(__dirname,"thread.js")),no.on("message",(e=>{const t=io.get(e.id);io.delete(e.id),0===io.size&&no.unref(),void 0===e.error?t.resolve(e.value):t.reject((e=>{const t=Error(e.message);for(const[r,o]of Object.entries(e))"message"!==r&&(t[r]=o);return t})(e.error))})),no.on("error",(e=>{throw e}))),no.ref(),no.postMessage({id:s,method:e,args:t},r)})),co=(e,t={})=>{let r=t.encoding||"hex";"buffer"===r&&(r=void 0);const o=Ee.createHash(t.algorithm||"sha512"),n=e=>{o.update(e,"string"==typeof e?"utf8":void 0)};return Array.isArray(e)?e.forEach(n):n(e),o.digest(r)};co.stream=(e={})=>{let t=e.encoding||"hex";"buffer"===t&&(t=void 0);const r=Ee.createHash(e.algorithm||"sha512");return r.setEncoding(t),r},co.fromStream=async(e,t={})=>{if(!Ut(e))throw new TypeError("Expected a stream");return new Promise(((r,o)=>{e.on("error",o).pipe(co.stream(t)).on("error",o).on("finish",(function(){r(this.read())}))}))},void 0===oo?(co.fromFile=async(e,t)=>co.fromStream(pe.createReadStream(e),t),co.async=async(e,t)=>co(e,t)):(co.fromFile=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{const o=await ao("hashFile",[t,e]);return"buffer"===r?Buffer.from(o):Buffer.from(o).toString(r)},co.async=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{"buffer"===r&&(r=void 0);const o=await ao("hash",[t,e]);return void 0===r?Buffer.from(o):Buffer.from(o).toString(r)}),co.fromFileSync=(e,t)=>co(pe.readFileSync(e),t),ro=co,Ce=Re("6FGZZ"),Ce=Re("6FGZZ");var lo=Re("hBwzM");const uo="win32"===process.platform,po="linux"===process.platform,ho=["x86","x64"],fo=["win32","win64"];lo=Re("hBwzM");const mo=(Ce=Re("6FGZZ")).getInput("token"),vo=mo&&"GITHUB.COM"===new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.toUpperCase()?"token "+mo:void 0,go="https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json";Ce=Re("6FGZZ"),Ce=Re("6FGZZ"),lo=Re("hBwzM");var yo=Re("9AGbw"),xo=(lo=Re("hBwzM"),Ce=Re("6FGZZ"),Re("1wyqe"));let wo,Eo;Ce=Re("6FGZZ"),eo=Re("ju11K");var bo=Re("k3zcS"),So=Re("q05Mr");const Po=(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"]),Oo=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"]),_o=new Map([["12.0.1","12.0.1-rc4"]]),$o={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1-rc4":"-ubuntu-21.04"},Ro=new Set(["10.0.1"]);var Co;Ce=Re("6FGZZ"),Re.register("jJT7R",((e,r)=>{function o(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}function n(e,t,r,n,s){if("win32"!=Pe.platform)return void i.info("This is not a Windows virtual environment, bye!");Pe.env.PATH+=ue.delimiter+u;let p={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in p&&(e=p[e.toLowerCase()]);var d=[e];"true"==n&&d.push("uwp"),t&&d.push(t),r&&d.push("-vcvars_ver="+r),"true"==s&&d.push("-vcvars_spectre_libs=spectre");const h=`"${(()=>{let e=(e=>{try{return(""+de.execSync("vswhere -products * -latest -prerelease -property installationPath")).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){i.warning("vswhere failed: "+e)}return null})();if(e&&pe.existsSync(e))return i.info("Found with vswhere: "+e),e;i.info("Not found with vswhere");for(const t of l)for(const r of c)if(e=`${a}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,i.info("Trying standard location: "+e),pe.existsSync(e))return i.info("Found standard location: "+e),e;if(i.info("Not found in standard locations"),e=a+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",pe.existsSync(e))return i.info("Found VS 2015: "+e),e;throw i.info("Not found in VS 2015 location: "+e),Error("Microsoft Visual Studio not found")})()}" ${d.join(" ")}`;i.debug("vcvars command-line: "+h);const f=(""+de.execSync(`set && cls && ${h} && cls && set`,{shell:"cmd"})).split("\f"),m=f[0].split("\r\n"),v=f[1].split("\r\n"),g=f[2].split("\r\n"),y=v.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(y.length>0)throw Error("invalid parameters\r\n"+y.join("\r\n"));let x={};for(let e of m){const[t,r]=e.split("=");x[t]=r}i.startGroup("Environment variables");for(let e of g){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==x[t]&&(i.info("Setting "+t),o(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),i.exportVariable(t,r))}i.endGroup(),i.info("Configured Developer Command Prompt")}var s;t(e.exports,"setupMSVCDevCmd",(()=>s),(e=>s=e));var i=Re("k2PtG");const a=Pe.env["ProgramFiles(x86)"],c=["Enterprise","Professional","Community"],l=["2019","2017"],u=a+"\\Microsoft Visual Studio\\Installer";s=n;try{n(i.getInput("arch"),i.getInput("sdk"),i.getInput("toolset"),i.getInput("uwp"),i.getInput("spectre"))}catch(e){i.setFailed("Could not setup Developer Command Prompt: "+e.message)}})),Re.register("k2PtG",(function(e,t){"use strict";function r(e){a.issue("error",e instanceof Error?""+e:e)}function o(e){a.issue("group",e)}function n(){a.issue("endgroup")}var s=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});var a=Re("lTVmt"),c=Re("48DC3"),l=Re("3tRAC");const u=i(le),p=i(ue);var d,h;(h=d=e.exports.ExitCode||(e.exports.ExitCode={}))[h.Success=0]="Success",h[h.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";c.issueCommand("ENV",`${e}<<${t}${u.EOL}${r}${u.EOL}${t}`)}else a.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{a.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?c.issueCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${p.delimiter}${process.env.PATH}`},e.exports.getInput=(e,t)=>{const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return r.trim()},e.exports.setOutput=(e,t)=>{a.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{a.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=d.Failure,r(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{a.issueCommand("debug",{},e)},e.exports.error=r,e.exports.warning=e=>{a.issue("warning",e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+u.EOL)},e.exports.startGroup=o,e.exports.endGroup=n,e.exports.group=function(e,t){return s(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{n()}return r}))},e.exports.saveState=(e,t)=>{a.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),Re.register("lTVmt",(function(e,t){"use strict";function r(e,t,r){const o=new i(e,t,r);process.stdout.write(""+o+n.EOL)}var o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const n=o(le);var s=Re("3tRAC");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class i{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const o in this.properties)if(this.properties.hasOwnProperty(o)){const n=this.properties[o];n&&(r?r=!1:e+=",",e+=`${o}=${t=n,s.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>s.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),Re.register("3tRAC",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)})),Re.register("48DC3",((e,t)=>{"use strict";var r=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const o=r(pe),n=r(le);var s=Re("3tRAC");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!o.existsSync(r))throw Error("Missing file at path: "+r);o.appendFileSync(r,`${s.toCommandValue(t)}${n.EOL}`,{encoding:"utf8"})}}));const To=le.homedir();Co=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return To?e.replace(/^~(?=$|\/|\\)/,To):e};var Ao=Re("1JJDJ");const Io={msvc:"2019",llvm:"11.1.0",ninja:"1.10.2",cmake:"3.20.2",gcovr:"5.0",conan:"1.40.1",meson:"0.59.1",python:"3.9.7",gcc:"win32"===process.platform?"11.2.0":"11"};Ce=Re("6FGZZ"),bo=Re("k3zcS"),to=Re("5M2Mq"),Ce=Re("6FGZZ");const No={cmake(e,t,r){return A("cmake",e,I,t)},ninja(e,t,r){return A("ninja",e,ee,t)},python:B,conan(e,t,r){return H("conan",e)},meson(e,t,r){return H("meson",e)},gcovr(e,t,r){return H("gcovr",e)},async opencppcoverage(e,t,r){if("win32"!==process.platform)return;await x("opencppcoverage",e);const o="C:/Program Files/OpenCppCoverage";return await g(o),{binDir:o}},llvm:K,gcc:ne,choco:y,brew:o,ccache(e,t,r){switch(process.platform){case"win32":return x("ccache",e);case"darwin":return v("ccache",e);case"linux":return m("ccache",e);default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await x("doxygen.install",e),await x("graphviz",e),await g("C:/Program Files/Graphviz/bin");const t="C:/Program Files/doxygen/bin";return await g(t),{binDir:t}}case"darwin":return v("doxygen",e),v("graphviz",e);case"linux":return await m("doxygen",e),m("graphviz",e);default:throw Error("Unsupported platform")}},async cppcheck(e,t,r){switch(process.platform){case"win32":{await x("cppcheck",e);const t="C:/Program Files/Cppcheck";return await g(t),{binDir:t}}case"darwin":return v("cppcheck",e);case"linux":return m("cppcheck",e);default:throw Error("Unsupported platform")}},msvc:Q},Lo=["choco","brew","python","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","cppcheck","llvm","gcc","msvc"],jo=["compiler","architecture",...Lo];ie(process.argv).then((e=>{process.exitCode=e})).catch((e=>{se("main() panicked!"),se(e),process.exitCode=1})); +function e(e){return e&&e.__esModule?e.default:e}function t(e,t,r,o){Object.defineProperty(e,t,{get:r,set:o,enumerable:!0,configurable:!0})}function r(e,t,o){if("function"==typeof t&&(o=t,t={}),!o){if("function"!=typeof Promise)throw new TypeError("callback not provided");return new Promise(((o,n)=>{r(e,t||{},((e,t)=>{e?n(e):o(t)}))}))}Ne(e,t||{},((e,r)=>{e&&("EACCES"===e.code||t&&t.ignoreErrors)&&(e=null,r=!1),o(e,r)}))}function o(t,r,o){if(!["darwin","linux"].includes(process.platform))return;if("string"==typeof Me)return{binDir:Me};const n=e(Te).sync("brew",{nothrow:!0});return null!==n?(Me=ue.dirname(n),{binDir:Me}):(de.execFileSync('/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"',{stdio:"inherit"}),Me="/usr/local/bin/",{binDir:Me})}function n(e,t){const r=e.options.env||process.env,o=process.cwd(),n=null!=e.options.cwd,s=n&&void 0!==process.chdir&&!process.chdir.disabled;if(s)try{process.chdir(e.options.cwd)}catch(e){}let i;try{i=Te.sync(e.command,{path:r[Ve({env:r})],pathExt:t?ue.delimiter:void 0})}catch(e){}finally{s&&process.chdir(o)}return i&&(i=ue.resolve(n?e.options.cwd:"",i)),i}function s(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 i(e,t){return Qe&&1===e&&!t.file?s(t.original,"spawn"):null}function a(e,t,r){const o=Be(e,t,r),n=de.spawn(o.command,o.args,o.options);return Ke.hookChildProcess(n,o),n}function c(){At&&(At=!1,$t.forEach((e=>{try{process.removeListener(e,Tt[e])}catch(e){}})),process.emit=Nt,process.reallyExit=It,_t.count-=1)}function l(e,t,r){_t.emitted[e]||(_t.emitted[e]=!0,_t.emit(e,t,r))}function u(){At||(At=!0,_t.count+=1,$t=$t.filter((e=>{try{return process.on(e,Tt[e]),!0}catch(e){return!1}})),process.emit=d,process.reallyExit=p)}function p(e){process.exitCode=e||0,l("exit",process.exitCode,null),l("afterexit",process.exitCode,null),It.call(process,process.exitCode)}function d(e,t){if("exit"===e){void 0!==t&&(process.exitCode=t);var r=Nt.apply(this,arguments);return l("exit",process.exitCode,null),l("afterexit",process.exitCode,null),r}return Nt.apply(this,arguments)}async function h(e,t){if(!e)throw Error("Expected a stream");t={maxBuffer:1/0,...t};const{maxBuffer:r}=t,o=Vt(t);return await new Promise(((t,n)=>{const s=e=>{e&&o.getBufferedLength()<=Ht.MAX_LENGTH&&(e.bufferedData=o.getBufferedValue()),n(e)};(async()=>{try{await Wt(e,o),t()}catch(e){s(e)}})(),o.on("data",(()=>{o.getBufferedLength()>r&&s(new Yt)}))})),o.getBufferedValue()}function f(t,r){return void 0!==gr||(gr=(!!process.env.CI||0===(null===(o=process.getuid)||void 0===o?void 0:o.call(process)))&&null!==e(Te).sync("sudo",{nothrow:!0})),gr?e(Ge).command("sudo "+[t,...r].join(" "),{shell:!0}):e(Ge)(t,r);var o}async function m(e,t,r=!0){const o="apt-get";if("string"==typeof r&&await f("add-apt-repository",["--update","-y",r]),yr&&!0!==r||(await f(o,["update","-y"]),yr=!0),void 0!==t&&""!==t)try{await f(o,["install","-y",`${e}=${t}`])}catch{await f(o,["install","-y",`${e}-${t}`])}else await f(o,["install","-y",e]);return{binDir:"/usr/bin/"}}function v(t,r){return xr&&null!==e(Te).sync("brew",{nothrow:!0})||(o(0,0,process),xr=!0),e(Ge).sync("brew",["install",void 0!==r&&""!==r?`${t}@${r}`:t]),{binDir:"/usr/local/bin/"}}function g(t){try{Ce.addPath(t)}catch(r){try{switch(Ce.error(r),process.platform){case"win32":return void e(Ge).sync(`setx PATH=${t};%PATH%`);case"linux":case"darwin":return e(Ge).commandSync(`echo "export PATH=${t}:$PATH" >> ~/.profile`),e(Ge).commandSync("source ~/.profile"),void Ce.info(t+" was added to ~/.profile")}}catch(e){Ce.error(e)}Ce.error(`Failed to add ${t} to the percistent PATH. You should add it manually.`),process.env.PATH=`${t}${ue.delimiter}${process.env.PATH}`}}function y(t,r,o){if("win32"!==process.platform)return;if("string"==typeof wr)return{binDir:wr};const n=e(Te).sync("choco",{nothrow:!0});if(null!==n)return wr=ue.dirname(n),{binDir:wr};e(Ge).commandSync('@"%SystemRoot%\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString(\'https://community.chocolatey.org/install.ps1\'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\\chocolatey\\bin"');const s=e(Te).sync("choco",{nothrow:!0});return wr=null!==s?ue.dirname(s):"C:/ProgramData/Chocolatey/bin/",pe.existsSync(wr)?{binDir:wr}:void 0}async function x(t,r,o=[]){Er&&null!==e(Te).sync("choco",{nothrow:!0})||(y(0,0,process),Er=!0),e(Ge).sync("choco",void 0!==r&&""!==r?["install","-y",t,"--version="+r,...o]:["install","-y",t,...o]);const n="C:/ProgramData/Chocolatey/bin/";return g(n),{binDir:n}}function w(e,t,r){return Vr(this,void 0,void 0,(function*(){const o=qr.argStringToArray(e);if(0===o.length)throw Error("Parameter 'commandLine' cannot be null or empty.");const n=o[0];return t=o.slice(1).concat(t||[]),new qr.ToolRunner(n,t,r).exec()}))}function E(e,t){const r=[];t=t||Ir.arch();const o=Nr.join($(),e);if(Tr.existsSync(o)){const e=Tr.readdirSync(o);for(const n of e)if(O(n)){const e=Nr.join(o,n,t||"");Tr.existsSync(e)&&Tr.existsSync(e+".complete")&&r.push(n)}}return r}function b(e){return _r(this,void 0,void 0,(function*(){return e||(e=Nr.join(R(),Mr.default())),yield Cr.mkdirP(e),e}))}function S(e,t,r){return _r(this,void 0,void 0,(function*(){const o=Nr.join($(),e,jr.clean(t)||t,r||"");Rr.debug("destination "+o);const n=o+".complete";return yield Cr.rmRF(o),yield Cr.rmRF(n),yield Cr.mkdirP(o),o}))}function P(e,t,r){const o=Nr.join($(),e,jr.clean(t)||t,r||"");Tr.writeFileSync(o+".complete",""),Rr.debug("finished caching tool")}function O(e){const t=jr.clean(e)||"";Rr.debug("isExplicit: "+t);const r=null!=jr.valid(t);return Rr.debug("explicit? "+r),r}function _(e,t){let r="";Rr.debug(`evaluating ${e.length} versions`);for(let o=(e=e.sort(((e,t)=>jr.gt(e,t)?1:-1))).length-1;o>=0;o--){const n=e[o];if(jr.satisfies(n,t)){r=n;break}}return Rr.debug(r?"matched: "+r:"match not found"),r}function $(){const e=process.env.RUNNER_TOOL_CACHE||"";return he.ok(e,"Expected RUNNER_TOOL_CACHE to be defined"),e}function R(){const e=process.env.RUNNER_TEMP||"";return he.ok(e,"Expected RUNNER_TEMP to be defined"),e}function C(e,t){const r=Oe[e];return void 0!==r?r:t}function T(){return!(void 0===process.env.CI||""===process.env.CI||"false"===process.env.CI)}async function A(e,t,r,o){var n,s;process.env.RUNNER_TEMP=null!==(n=process.env.RUNNER_TEMP)&&void 0!==n?n:le.tmpdir(),process.env.RUNNER_TOOL_CACHE=null!==(s=process.env.RUNNER_TOOL_CACH)&&void 0!==s?s:ue.join(le.tmpdir(),"setup_cpp","ToolCache");const{url:i,binRelativeDir:a,extractedFolderName:c,extractFunction:l}=await r(t,process.platform);if(T())try{const r=br.find(e,t);if(r){Ce.info(`${e} ${t} was found in the cache.`);const o=ue.join(r,c),n=ue.join(o,a);return g(n),{installDir:o,binDir:n}}}catch{}const u=await ro.async(i,{algorithm:"md5"}),p=ue.join(o,u);if(!pe.existsSync(p)){Ce.info(`Download and extract ${e} ${t}`);const r=await br.downloadTool(i);await(null==l?void 0:l(r,p))}const d=ue.join(p,c),h=ue.join(d,a);return Ce.info(`Add ${h} to PATH`),g(h),T()&&"string"==typeof process.env.RUNNER_TOOL_CACHE&&await br.cacheDir(p,e,t),{installDir:d,binDir:h}}function I(t,r){var o;const n=null!==(o=e(to)(t))&&void 0!==o?o:t,s=null!=r?r:process.platform,i=Ce.getInput("architecture")||process.arch;switch(s){case"win32":{const r=e(eo)(n,"v3.19.6");let o;o=["ia32","x86","i386","x32"].includes(i)?r?"win32-x86":"windows-i386":r?"win64-x64":"windows-x86_64";const s=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:s,extractFunction:br.extractZip,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${s}.zip`}}case"darwin":{const r=`cmake-${t}-${e(eo)(n,"v3.19.1")?"Darwin-x86_64":"macos-universal"}`;return{binRelativeDir:"CMake.app/Contents/bin/",extractedFolderName:r,extractFunction:br.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${r}.tar.gz`}}case"linux":{const r=e(eo)(n,"v3.19.8");let o;o=["aarch64"].includes(i)?r?"Linux-aarch64":"linux-aarch64":r?"Linux-x86_64":"linux-x86_64";const s=`cmake-${t}-${o}`;return{binRelativeDir:"bin/",extractedFolderName:s,extractFunction:br.extractTar,url:`https://github.com/Kitware/CMake/releases/download/v${t}/${s}.tar.gz`}}default:throw Error(`Unsupported platform '${s}'`)}}function N(t,r,o,n=!1){const s=ue.join(t,r),i=ue.join(t,o);e(pe).existsSync(i)||(e(pe).symlinkSync(s,i),!uo&&n&&e(pe).chmodSync(i,"755"))}function L(e){return j(e)||!!lo.validRange(e)}function j(e){return"nightly"===e}function D(e,t){const r=br.find.bind(void 0,"PyPy",e);let o=r(t);if(!o&&uo&&(o=r("x86")),!o)throw Error(`PyPy ${e} not found`);const n=ue.join(o,"bin");Ce.exportVariable("pythonLocation",uo?o:n),Ce.addPath(o),Ce.addPath(n),uo&&Ce.addPath(ue.join(o,"Scripts"));const s="pypy"+e;return Ce.setOutput("python-version",s),{impl:s,version:k(o)}}function k(e){const t=e.split(ue.sep),r=t.findIndex((e=>"PyPy"===e||"Python"===e));return t[r+1]||""}function M(e){const t=ue.join(e,"bin");return uo?e:t}function F(e){return e.replace(/(\d+\.\d+\.\d+)((?:a|b|rc))(\d*)/g,"$1-$2.$3")}function G(e){return e.files.find((e=>ho.includes(e.arch)&&fo.includes(e.platform)))}function U(e,t,r){return e.files.find((e=>e.arch===t&&e.platform===r))}async function B(t,r,o){if(!T())return V("",r,o);try{if(t.startsWith("pypy-")){const r=await async function(t,r){let o,n="",s="";const i=(e=>{const t=e.split("-").filter((e=>!!e));if(2>t.length||"pypy"!=t[0])throw Error("Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.");const r=t[1];let o;if(o=t.length>2?F(t[2]):"x",!L(r)||!L(o))throw Error("Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.");if(!/^\d+\.\d+$/.test(r))throw Error("Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.");return{pypyVersion:o,pythonVersion:r}})(t);({installDir:o,resolvedPythonVersion:s,resolvedPyPyVersion:n}=((t,r,o)=>{let n="",s="",i=uo?(e=>{let t="";return ho.forEach((r=>t=t||br.find("PyPy",e,r))),t})(t):br.find("PyPy",t,o);return i&&(s=(e=>ue.basename(ue.dirname(e)))(i),n=(t=>{let r="",o=ue.join(t,"PYPY_VERSION");return e(pe).existsSync(o)&&(r=""+e(pe).readFileSync(o)),r})(i),lo.satisfies(n,r)||(i=null,n="",s="")),i||Ce.info(`PyPy version ${t} (${r}) was not found in the local cache`),{installDir:i,resolvedPythonVersion:s,resolvedPyPyVersion:n}})(i.pythonVersion,i.pypyVersion,r)),o||({installDir:o,resolvedPythonVersion:s,resolvedPyPyVersion:n}=await(async(t,r,o)=>{let n;const s=await(async()=>{const e="https://downloads.python.org/pypy/versions.json",t=new yo.HttpClient("tool-cache"),r=await t.getJson(e);if(!r.result)throw Error(`Unable to retrieve the list of available PyPy versions from '${e}'`);return r.result})();if(!s||0===s.length)throw Error("No release was found in PyPy version.json");const i=((e,t,r,o)=>{const n=e.filter((e=>{const n=lo.satisfies(lo.coerce(e.python_version),t),s=j(r)&&j(e.pypy_version)||lo.satisfies(F(e.pypy_version),r),i=e.files&&(uo?(e=>e.files.some((e=>ho.includes(e.arch)&&fo.includes(e.platform))))(e):((e,t,r)=>e.files.some((e=>e.arch===t&&e.platform===r)))(e,o,process.platform));return n&&s&&i}));if(0===n.length)return null;const s=n.sort(((e,t)=>lo.compare(lo.coerce(F(t.pypy_version)),lo.coerce(F(e.pypy_version)))||lo.compare(lo.coerce(t.python_version),lo.coerce(e.python_version))))[0];return{foundAsset:uo?G(s):U(s,o,process.platform),resolvedPythonVersion:s.python_version,resolvedPyPyVersion:s.pypy_version}})(s,r,t,o);if(!i||!i.foundAsset)throw Error(`PyPy version ${r} (${t}) with arch ${o} not found`);const{foundAsset:a,resolvedPythonVersion:c,resolvedPyPyVersion:l}=i;let u=""+a.download_url;Ce.info(`Downloading PyPy from "${u}" ...`);const p=await br.downloadTool(u);Ce.info("Extracting downloaded archive..."),n=uo?await br.extractZip(p):await br.extractTar(p,void 0,"x");const d=e(pe).readdirSync(n)[0],h=ue.join(n,d);let f=h;j(l)||(f=await br.cacheDir(h,"PyPy",c,o)),((t,r)=>{const o=ue.join(t,"PYPY_VERSION");e(pe).writeFileSync(o,r)})(f,l);const m=M(f);return await(async(e,t)=>{const r=lo.coerce(t),o=lo.major(r),n=2===o?"":"3";let s=uo?".exe":"";Ce.info("Creating symlinks..."),N(e,`pypy${n}${s}`,`python${o}${s}`,!0),N(e,`pypy${n}${s}`,"python"+s,!0)})(m,c),await(async e=>{Ce.info("Installing and updating pip");const t=ue.join(e,"python");await Fr.exec(t+" -m ensurepip"),await Fr.exec(e+"/python -m pip install --ignore-installed pip")})(m),{installDir:f,resolvedPythonVersion:c,resolvedPyPyVersion:l}})(i.pypyVersion,i.pythonVersion,r));const a=ue.join(o,uo?"Scripts":"bin"),c=M(o);return Ce.exportVariable("pythonLocation",c),Ce.addPath(c),Ce.addPath(a),{resolvedPyPyVersion:n,resolvedPythonVersion:s}}(t,o);Ce.info(`Successfully setup PyPy ${r.resolvedPyPyVersion} with Python (${r.resolvedPythonVersion})`)}else{const e=await(async(e,t)=>{switch(e.toUpperCase()){case"PYPY2":return D("2",t);case"PYPY3":return D("3.6",t);default:return await async function(e,t){const r=((o=e).endsWith("-dev")?`>= ${o.slice(0,-4)}.0-a0`:o).replace(/(\d+\.\d+\.\d+)((?:a|b|rc)\d*)/g,"$1-$2");var o;Ce.debug(`Semantic version spec of ${e} is ${r}`);let n=br.find("Python",r,t);if(!n){Ce.info(`Version ${r} was not found in the local cache`);const e=await(async(e,t)=>{const r=await br.getManifestFromRepo("actions","python-versions",vo,"main");return await br.findFromManifest(e,!1,r,t)})(r,t);e&&e.files&&e.files.length>0&&(Ce.info(`Version ${r} is available for downloading`),await(async e=>{const t=e.files[0].download_url;Ce.info(`Download from "${t}"`);const r=await br.downloadTool(t,void 0,vo);let o;Ce.info("Extract downloaded archive"),o=uo?await br.extractZip(r):await br.extractTar(r),Ce.info("Execute installation script"),await(async e=>{const t={cwd:e,env:{...process.env,...po&&{LD_LIBRARY_PATH:ue.join(e,"lib")}},silent:!0,listeners:{stdout(e){Ce.info((""+e).trim())},stderr(e){Ce.error((""+e).trim())}}};uo?await Fr.exec("powershell",["./setup.ps1"],t):await Fr.exec("bash",["./setup.sh"],t)})(o)})(e),n=br.find("Python",r,t))}if(!n)throw Error([`Version ${e} with arch ${t} not found`,"The list of all available versions can be found here: "+go].join(le.EOL));if(Ce.exportVariable("pythonLocation",n),po){const e=process.env.LD_LIBRARY_PATH?":"+process.env.LD_LIBRARY_PATH:"",t=ue.join(n,"lib");e.split(":").includes(t)||Ce.exportVariable("LD_LIBRARY_PATH",t+e)}if(Ce.addPath(n),Ce.addPath((e=>ue.join(e,uo?"Scripts":"bin"))(n)),uo){const e=ue.basename(ue.dirname(n)),t=lo.major(e),r=lo.minor(e),o=ue.join(process.env.APPDATA||"","Python",`Python${t}${r}`,"Scripts");Ce.addPath(o)}const s=k(n);return Ce.setOutput("python-version",s),{impl:"CPython",version:s}}(e,t)}})(t,o);Ce.info(`Successfully setup ${e.impl} (${e.version})`)}const r=ue.join("setup-pthon",".github");return void Ce.info("##[add-matcher]"+ue.join(r,"python.json"))}catch(e){return V(t,r,o)}}async function V(t,r,o){switch(process.platform){case"win32":{const n=await e(ro).async(t+o,{algorithm:"md5"}),s=ue.join(r,n,"python"),i=s;return await x("python3",t,["/InstallDir:"+s]),Ce.info(`Add ${i} to PATH`),g(i),{installDir:s,binDir:i}}case"darwin":return v("python3",t);case"linux":{const e=await m("python3",t);return await m("python3-pip"),e}default:throw Error("Unsupported platform")}}function q(e){return new Promise((t=>{xe.get(e,(e=>{t(void 0!==e.statusCode&&e.statusCode>=200&&399>=e.statusCode)}))}))}async function H(t,r){if(void 0===wo&&(null!==e(Te).sync("pip3",{nothrow:!0})?wo="pip3":null!==e(Te).sync("pip",{nothrow:!0})&&await(async(t,r,o=/v?(\d\S*)/)=>{const n=await(async(e,t=/v?(\d\S*)/)=>{try{var r,o;const{stderr:s,stdout:i}=await Fr.getExecOutput(e,["--version"]);var n;return null!==(n=null===(r=i.match(t))||void 0===r?void 0:r[1])&&void 0!==n?n:null===(o=s.match(t))||void 0===o?void 0:o[1]}catch(e){return void console.error(e)}})(t,o);return"string"==typeof n&&"string"==typeof r&&""!==n&&""!==r&&-1!==e(xo)(n,r)})("python","3.0.0")?wo="pip":(await B("3.x","",process.arch),wo="pip3")),e(Ge).sync(wo,["install",void 0!==r&&""!==r?`${t}==${r}`:t]),void 0===Eo){if("linux"===process.platform)Eo="/home/runner/.local/bin/";else if("darwin"===process.platform)Eo="/usr/local/bin/";else try{Eo=ue.join((await Fr.getExecOutput('python3 -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}catch{Eo=ue.join((await Fr.getExecOutput('python -c "import sys;print(sys.base_exec_prefix);"')).stdout.trim(),"Scripts")}Ce.info(Eo+" to PATH"),g(Eo)}return{binDir:Eo}}async function X(t,r){return await e(Ge)("7z",["x",t,"-o"+r]),r}async function W(t,r,o=["--strip-components=1"]){try{await So.mkdirP(r)}catch{}return await e(Ge)("tar",["xf",t,"-C",r,...o]),r}function Y(e,t,r){return`https://github.com/llvm/llvm-project/releases/download/llvmorg-${e}/${t}${e}${r}`}function Z(e,t,r){return`https://releases.llvm.org/${e}/${t}${e}${r}`}function z(t,r){switch(t){case"darwin":return(t=>{if(Oo.has(t))return null;const r="clang+llvm-",o=`-x86_64${"9.0.0"===t?"-darwin-apple":"-apple-darwin"}.tar.xz`;return e(eo)(t,"9.0.1")?Z(t,r,o):Y(t,r,o)})(r);case"linux":return(t=>{let r=t;const o=_o.get(r);let n;void 0!==o&&(r=o),n=r.includes("ubuntu")?r:""!==r&&r in $o?$o[r]:$o["12.0.1-rc4"];const s="clang+llvm-",i="5.0.0"===r?`-linux-x86_64${n}.tar.xz`:`-x86_64-linux-gnu${n}.tar.xz`;return e(eo)(r,"9.0.1")?Z(r,s,i):Y(r,s,i)})(r);case"win32":return(async t=>{if(Ro.has(t))return null;const r="LLVM-",o=e(eo)(t,"3.7.0")?"-win32.exe":"-win64.exe",n=e(eo)(t,"9.0.1");let s,i=!1;return n&&(s=Z(t,r,o),await q(s)||(i=!0)),!i&&n||(s=Y(t,r,o)),s})(r);default:return null}}async function J(e,t){const[r,o]=await(async(e,t,r,o)=>{if(!e.has(r))throw Error(`Unsupported target! (platform='${t}', version='${r}')`);for(const n of((e,t)=>Array.from(e).filter((e=>/^\d+\.\d+\.\d+$/.test(e)&&e.startsWith(t))).sort().reverse())(e,r)){const e=await o(t,n);if(null!==e&&await q(e))return[n,e]}throw Error(`Unsupported target! (platform='${t}', version='${r}')`)})(Po,t,e,z);return Ce.setOutput("version",r),{url:o,extractedFolderName:"",binRelativeDir:"bin",extractFunction:"win32"===t?X:W}}async function K(t,r,o){let n=r;""!==n&&void 0!==n||(n="win32"===process.platform?"C:/Program Files/LLVM":"./llvm"),n=ue.resolve(n);const s=await A("llvm",t,J,n),i=ue.join(n,"lib");var a;const c=null!==(a=process.env.LD_LIBRARY_PATH)&&void 0!==a?a:"";var l;const u=null!==(l=process.env.DYLD_LIBRARY_PATH)&&void 0!==l?l:"";Ce.exportVariable("LLVM_PATH",n);const p=e(bo)(t);if(Ce.exportVariable("LD_LIBRARY_PATH",`${i}${ue.delimiter}${c}`),Ce.exportVariable("DYLD_LIBRARY_PATH",`${i}${ue.delimiter}${u}`),Ce.exportVariable("CPATH",`${n}/lib/clang/${p}/include`),Ce.exportVariable("LDFLAGS",`-L${n}/lib`),Ce.exportVariable("CPPFLAGS",`-I${n}/include`),Ce.exportVariable("CC",n+"/bin/clang"),Ce.exportVariable("CXX",n+"/bin/clang++"),Ce.exportVariable("LIBRARY_PATH",n+"/lib"),"darwin"===process.platform)try{const e=await Fr.getExecOutput("xcrun --sdk macosx --show-sdk-path"),t=e.stdout||e.stderr;pe.existsSync(t)&&Ce.exportVariable("SDKROOT",t)}catch(e){Ce.error(e)}return s}async function Q(e,t,r,o,n,s){if("win32"!==process.platform)return;let i,a;try{"2015"===e?(i="14.0.25420.1",await x("visualcpp-build-tools",i,["--ignore-dependencies","--params","'/IncludeRequired'"]),a="C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140",pe.existsSync(a)&&Ce.exportVariable("VCTargetsPath",a)):"2017"===e?(i="14.16",await x("visualstudio2017buildtools","15.9.38.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16"):"2019"===e&&(i="14.29.30133",await x("visualstudio2019buildtools","16.11.2.0",["--package-parameters","'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'"]),a="C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133")}catch(e){Ce.error(e)}void 0!==a&&pe.existsSync(a)&&Ce.exportVariable("VCTargetsPath",a);const{setupMSVCDevCmd:c}=Re("jJT7R");c((e=>{switch(e){case"x32":case"32":case"ia32":return"x86";case"64":return"x64";default:return e}})(r),o,i,n,s)}function ee(e,t){const r=(e=>{switch(e){case"win32":return"win";case"darwin":return"mac";case"linux":return"linux";default:throw Error(`Unsupported platform '${e}'`)}})(t);return{binRelativeDir:"",extractedFolderName:"",extractFunction:br.extractZip,url:`https://github.com/ninja-build/ninja/releases/download/v${e}/ninja-${r}.zip`}}function te(e){return null==e?[]:Array.isArray(e)?e:[e]}function re(e,t,r,o){var n,s=e[t],i=~o.string.indexOf(t)?null==r||!0===r?"":r+"":"boolean"==typeof r?r:~o.boolean.indexOf(t)?"false"!==r&&("true"===r||(e._.push(0*(n=+r)==0?n:r),!!r)):0*(n=+r)==0?n:r;e[t]=null==s?i:Array.isArray(s)?s.concat(i):[s,i]}function oe(e,t){return"true"===t||void 0===t&&e in Io?Io[e]:null!=t?t:""}async function ne(t,r,o){let n;switch(process.platform){case"win32":"arm"!==o&&"arm64"!==o||await x("gcc-arm-embedded",t),await x("mingw",t),"x64"===o&&pe.existsSync("C:/tools/mingw64/bin")?(n="C:/tools/mingw64/bin",g(n)):"ia32"===o&&pe.existsSync("C:/tools/mingw32/bin")?(n="C:/tools/mingw32/bin",g(n)):pe.existsSync("C:/ProgramData/Chocolatey/bin/g++.exe")&&(n="C:/ProgramData/Chocolatey/bin/");break;case"darwin":n=v("gcc",t).binDir;break;case"linux":"x64"===o?n=(await m("g++",t,"ppa:ubuntu-toolchain-r/test")).binDir:(Ce.info(`Install g++-multilib because gcc for ${o} was requested`),n=(await m("g++-multilib",t,"ppa:ubuntu-toolchain-r/test")).binDir);break;default:throw Error("Unsupported platform for "+o)}if(void 0!==n){var s;const r=e(bo)(null!==(s=e(to)(t))&&void 0!==s?s:t);return"win32"===process.platform?(Ce.exportVariable("CC",n+"/gcc"),Ce.exportVariable("CXX",n+"/g++")):(Ce.exportVariable("CC",`${n}/gcc-${r}`),Ce.exportVariable("CXX",`${n}/g++-${r}`)),{binDir:n}}}function se(e){return T()?Ce.error(e):console.log(`${e}`)}async function ie(t){T()||(process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS="true");const r=((e,t)=>{var r,o,n,s,i,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=te(t.string),t.boolean=te(t.boolean),d)for(r in t.alias)for(o=t.alias[r]=te(t.alias[r]),c=0;o.length>c;c++)(t.alias[o[c]]=o.concat(r)).splice(c,1);for(c=t.boolean.length;c-- >0;)for(l=(o=t.alias[t.boolean[c]]||[]).length;l-- >0;)t.boolean.push(o[l]);for(c=t.string.length;c-- >0;)for(l=(o=t.alias[t.string[c]]||[]).length;l-- >0;)t.string.push(o[l]);if(f)for(r in t.default)if(s=typeof t.default[r],o=t.alias[r]=t.alias[r]||[],void 0!==t[s])for(t[s].push(r),c=0;o.length>c;c++)t[s].push(o[c]);const m=h?Object.keys(t.alias):[];for(c=0;p>c;c++){if("--"===(n=e[c])){a._=a._.concat(e.slice(++c));break}for(l=0;n.length>l&&45===n.charCodeAt(l);l++);if(0===l)a._.push(n);else if("no-"===n.substring(l,l+3)){if(s=n.substring(l+3),h&&!~m.indexOf(s))return t.unknown(n);a[s]=!1}else{for(u=l+1;n.length>u&&61!==n.charCodeAt(u);u++);for(s=n.substring(l,u),i=n.substring(++u)||c+1===p||45===(""+e[c+1]).charCodeAt(0)||e[++c],o=2===l?[s]:s,u=0;o.length>u;u++){if(s=o[u],h&&!~m.indexOf(s))return t.unknown("-".repeat(l)+s);re(a,s,o.length>u+1||i,t)}}}if(f)for(r in t.default)void 0===a[r]&&(a[r]=t.default[r]);if(d)for(r in a)for(o=t.alias[r]||[];o.length>0;)a[o.shift()]=a[r];return a})(t,{string:jo,default:Object.fromEntries(jo.map((e=>[e,ae(e)]))),alias:{h:"help"},boolean:"help"});var o;r.help&&Ce.info('\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan "1.40.1"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\t the to install.\n \t You can specify the version instead of specifying just the name e.g: --compiler \'llvm-11\'\n\n--tool_name\t pass "true" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n ');const n=null!==(o=r.architecture)&&void 0!==o?o:process.arch;var s;const i=null!==(s=process.env.SETUP_CPP_DIR)&&void 0!==s?s:e(Co)("~/setup_cpp"),a=[],c=[];for(const e of Lo){const t=r[e];if(void 0!==t){const r=No[e];try{const o=await r(oe(e,t),i,n);a.push(void 0!==o?ce(e,o):e+" was successfully installed")}catch(t){se(t),c.push(e+" failed to install")}}}const l=r.compiler;try{if(void 0!==l){const t=l.split("-"),r=t[0];let o;if(1 in t){const r=t[1];null!==e(Ao)(r)?o=r:se(`Invalid version ${r} used for the compiler. Using the default version...`)}switch(r){case"llvm":case"clang":case"clang++":await K(oe("llvm",o),i);break;case"gcc":case"mingw":case"cygwin":case"msys":await ne(oe("gcc",o),0,n);break;case"cl":case"msvc":case"msbuild":case"vs":case"visualstudio":case"visualcpp":case"visualc++":await Q(oe("msvc",o),0,n);break;default:c.push("Unsupported compiler "+r)}}}catch(e){se(e),c.push("Failed to install the "+l)}return a.forEach((e=>{return t=e,T()?Ce.info(t):console.log(`${t}`);var t})),c.forEach((e=>se(e))),Ce.info("setup_cpp finished"),0===c.length?0:1}function ae(e){const t=Ce.getInput(e.toLowerCase());if("false"!==t&&""!==t)return t}function ce(e,t){let r=e+" was successfully installed";return"installDir"in t&&(r+="\nThe installation direcotry is "+t.installDir),""!==t.binDir&&(r+="\nThe binary direcotry is "+t.binDir),r}var le=require("os"),ue=require("path"),pe=require("fs"),de=require("child_process"),he=require("assert"),fe=require("events"),me=require("buffer"),ve=require("stream"),ge=require("util"),ye=require("http"),xe=require("https");require("net");var we=require("tls"),Ee=require("crypto"),be=require("string_decoder"),Se=require("timers"),Pe=require("process"),Oe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{},_e={},$e={},Re=Oe.parcelRequire810d;null==Re&&((Re=e=>{if(e in _e)return _e[e].exports;if(e in $e){var t=$e[e];delete $e[e];var r={id:e,exports:{}};return _e[e]=r,t.call(r.exports,r,r.exports),r.exports}var o=Error("Cannot find module '"+e+"'");throw o.code="MODULE_NOT_FOUND",o}).register=(e,t)=>{$e[e]=t},Oe.parcelRequire810d=Re),t(module.exports,"main",(()=>ie)),Re.register("6FGZZ",(function(e,t){"use strict";function r(e,t){const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return t&&!1===t.trimWhitespace?r:r.trim()}function o(e,t={}){u.issueCommand("error",d.toCommandProperties(t),e instanceof Error?""+e:e)}function n(e){u.issue("group",e)}function s(){u.issue("endgroup")}var i=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),a=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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)&&i(t,e,r);return a(t,e),t}),l=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getState=e.exports.saveState=e.exports.group=e.exports.endGroup=e.exports.startGroup=e.exports.info=e.exports.notice=e.exports.warning=e.exports.error=e.exports.debug=e.exports.isDebug=e.exports.setFailed=e.exports.setCommandEcho=e.exports.setOutput=e.exports.getBooleanInput=e.exports.getMultilineInput=e.exports.getInput=e.exports.addPath=e.exports.setSecret=e.exports.exportVariable=e.exports.ExitCode=void 0;var u=Re("eOxkI"),p=Re("85a1M"),d=Re("lK3O3");const h=c(le),f=c(ue);var m,v;(v=m=e.exports.ExitCode||(e.exports.ExitCode={}))[v.Success=0]="Success",v[v.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=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 o=r(e,t);if(["true","True","TRUE"].includes(o))return!0;if(["false","False","FALSE"].includes(o))return!1;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${e}\nSupport boolean input list: \`true | True | TRUE | false | False | FALSE\``)},e.exports.setOutput=(e,t)=>{process.stdout.write(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,o(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{u.issueCommand("debug",{},e)},e.exports.error=o,e.exports.warning=(e,t={})=>{u.issueCommand("warning",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=n,e.exports.endGroup=s,e.exports.group=function(e,t){return l(this,void 0,void 0,(function*(){let r;n(e);try{r=yield t()}finally{s()}return r}))},e.exports.saveState=(e,t)=>{u.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),Re.register("eOxkI",(function(e,t){"use strict";function r(e,t,r){const o=new c(e,t,r);process.stdout.write(""+o+i.EOL)}var o=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),n=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 n(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issue=e.exports.issueCommand=void 0;const i=s(le);var a=Re("lK3O3");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 o in this.properties)if(this.properties.hasOwnProperty(o)){const n=this.properties[o];n&&(r?r=!1:e+=",",e+=`${o}=${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}}})),Re.register("lK3O3",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandProperties=e.exports.toCommandValue=void 0,e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e),e.exports.toCommandProperties=e=>Object.keys(e).length?{title:e.title,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}:{}})),Re.register("85a1M",((e,t)=>{"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 o(t,e),t});Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.issueCommand=void 0;const s=n(pe),i=n(le);var a=Re("lK3O3");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!s.existsSync(r))throw Error("Missing file at path: "+r);s.appendFileSync(r,`${a.toCommandValue(t)}${i.EOL}`,{encoding:"utf8"})}}));var Ce=Re("6FGZZ"),Te={};const Ae="win32"===process.platform||"cygwin"===process.env.OSTYPE||"msys"===process.env.OSTYPE,Ie=Ae?";":":";var Ne,Le={};Re.register("5vEMD",((e,t)=>{function r(e,t,r){return!(!e.isSymbolicLink()&&!e.isFile())&&((e,t)=>{var r=void 0!==t.pathExt?t.pathExt:process.env.PATHEXT;if(!r)return!0;if(-1!==(r=r.split(";")).indexOf(""))return!0;for(var o=0;r.length>o;o++){var n=r[o].toLowerCase();if(n&&e.substr(-n.length).toLowerCase()===n)return!0}return!1})(t,r)}function o(e,t,o){pe.stat(e,((n,s)=>{o(n,!n&&r(s,e,t))}))}e.exports=o,o.sync=(e,t)=>r(pe.statSync(e),e,t)})),Re.register("kam8f",((e,t)=>{function r(e,t,r){pe.stat(e,((e,n)=>{r(e,!e&&o(n,t))}))}function o(e,t){return e.isFile()&&((e,t)=>{var r=e.mode,o=e.uid,n=e.gid,s=void 0!==t.uid?t.uid:process.getuid&&process.getuid(),i=void 0!==t.gid?t.gid:process.getgid&&process.getgid(),a=parseInt("100",8),c=parseInt("010",8),l=a|c;return r&parseInt("001",8)||r&c&&n===i||r&a&&o===s||r&l&&0===s})(e,t)}e.exports=r,r.sync=(e,t)=>o(pe.statSync(e),t)})),Ne="win32"===process.platform||Oe.TESTING_WINDOWS?Re("5vEMD"):Re("kam8f"),Le=r,r.sync=(e,t)=>{try{return Ne.sync(e,t||{})}catch(e){if(t&&t.ignoreErrors||"EACCES"===e.code)return!1;throw e}};const je=e=>Object.assign(Error("not found: "+e),{code:"ENOENT"}),De=(e,t)=>{const r=t.colon||Ie,o=e.match(/\//)||Ae&&e.match(/\\/)?[""]:[...Ae?[process.cwd()]:[],...(t.path||process.env.PATH||"").split(r)],n=Ae?t.pathExt||process.env.PATHEXT||".EXE;.CMD;.BAT;.COM":"",s=Ae?n.split(r):[""];return Ae&&-1!==e.indexOf(".")&&""!==s[0]&&s.unshift(""),{pathEnv:o,pathExt:s,pathExtExe:n}},ke=(e,t,r)=>{"function"==typeof t&&(r=t,t={}),t||(t={});const{pathEnv:o,pathExt:n,pathExtExe:s}=De(e,t),i=[],a=r=>new Promise(((n,s)=>{if(r===o.length)return t.all&&i.length?n(i):s(je(e));const a=o[r],l=/^".*"$/.test(a)?a.slice(1,-1):a,u=ue.join(l,e),p=!l&&/^\.[\\\/]/.test(e)?e.slice(0,2)+u:u;n(c(p,r,0))})),c=(e,r,o)=>new Promise(((l,u)=>{if(o===n.length)return l(a(r+1));const p=n[o];Le(e+p,{pathExt:s},((n,s)=>{if(!n&&s){if(!t.all)return l(e+p);i.push(e+p)}return l(c(e,r,o+1))}))}));return r?a(0).then((e=>r(null,e)),r):a(0)};let Me;Te=ke,ke.sync=(e,t)=>{t=t||{};const{pathEnv:r,pathExt:o,pathExtExe:n}=De(e,t),s=[];for(let i=0;r.length>i;i++){const a=r[i],c=/^".*"$/.test(a)?a.slice(1,-1):a,l=ue.join(c,e),u=!c&&/^\.[\\\/]/.test(e)?e.slice(0,2)+l:l;for(let e=0;o.length>e;e++){const r=u+o[e];try{if(Le.sync(r,{pathExt:n})){if(!t.all)return r;s.push(r)}}catch(e){}}}if(t.all&&s.length)return s;if(t.nothrow)return null;throw je(e)};var Fe,Ge={},Ue={},Be={},Ve={};const qe=(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 He,Xe;(Ve=qe).default=qe,Fe=e=>n(e)||n(e,!0),Xe=e=>e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),He=(e,t)=>(e=(e=`"${e=(e=(e=""+e).replace(/(\\*)"/g,'$1$1\\"')).replace(/(\\*)$/,"$1$1")}"`).replace(/([()\][%!^"`<>&|;, *?])/g,"^$1"),t&&(e=e.replace(/([()\][%!^"`<>&|;, *?])/g,"^$1")),e);var We,Ye;We=(e="")=>{const t=e.match(/^#!(.*)/);if(!t)return null;const[r,o]=t[0].replace(/#! ?/,"").split(" "),n=r.split("/").pop();return"env"===n?o:o?`${n} ${o}`:n},Ye=e=>{const t=Buffer.alloc(150);let r;try{r=pe.openSync(e,"r"),pe.readSync(r,t,0,150,0),pe.closeSync(r)}catch(e){}return We(""+t)};const Ze="win32"===process.platform,ze=/\.(?:com|exe)$/i,Je=/node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;Be=(e,t,r)=>{t&&!Array.isArray(t)&&(r=t,t=null);const o={command:e,args:t=t?t.slice(0):[],options:r=Object.assign({},r),file:void 0,original:{command:e,args:t}};return r.shell?o:(e=>{if(!Ze)return e;const t=(e=>{e.file=Fe(e);const t=e.file&&Ye(e.file);return t?(e.args.unshift(e.file),e.command=t,Fe(e)):e.file})(e),r=!ze.test(t);if(e.options.forceShell||r){const r=Je.test(t);e.command=ue.normalize(e.command),e.command=Xe(e.command),e.args=e.args.map((e=>He(e,r)));const o=[e.command].concat(e.args).join(" ");e.args=["/d","/s","/c",`"${o}"`],e.command=process.env.comspec||"cmd.exe",e.options.windowsVerbatimArguments=!0}return e})(o)};var Ke={};const Qe="win32"===process.platform;var et;Ke={hookChildProcess(e,t){if(!Qe)return;const r=e.emit;e.emit=function(o,n){if("exit"===o){const o=i(n,t);if(o)return r.call(e,"error",o)}return r.apply(e,arguments)}},verifyENOENT:i,verifyENOENTSync(e,t){return Qe&&1===e&&!t.file?s(t.original,"spawnSync"):null},notFoundError:s},(Ue=a).spawn=a,Ue.sync=(e,t,r)=>{const o=Be(e,t,r),n=de.spawnSync(o.command,o.args,o.options);return n.error=n.error||Ke.verifyENOENTSync(n.status,o),n},Ue._parse=Be,Ue._enoent=Ke,et=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 tt={};const rt=e=>{let t;e={cwd:process.cwd(),path:process.env[Ve()],execPath:process.execPath,...e};let r=ue.resolve(e.cwd);const o=[];for(;t!==r;)o.push(ue.join(r,"node_modules/.bin")),t=r,r=ue.resolve(r,"..");const n=ue.resolve(e.cwd,e.execPath,"..");return o.push(n),o.concat(e.path).join(ue.delimiter)};(tt=rt).default=rt,tt.env=e=>{const t={...(e={env:process.env,...e}).env},r=Ve({env:t});return e.path=t[r],t[r]=tt(e),t};var ot={},nt={};const st=(e,t)=>{for(const r of Reflect.ownKeys(t))Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r));return e};(nt=st).default=st;const it=new WeakMap,at=(e,t={})=>{if("function"!=typeof e)throw new TypeError("Expected a function");let r,o=0;const n=e.displayName||e.name||"",s=function(...i){if(it.set(s,++o),1===o)r=e.apply(this,i),e=null;else if(!0===t.throw)throw Error(`Function \`${n}\` can only be called once`);return r};return nt(s,e),it.set(s,o),s};(ot=at).default=at,ot.callCount=e=>{if(!it.has(e))throw Error(`The given function \`${e.name}\` is not wrapped by the \`onetime\` package`);return it.get(e)};var ct,lt={};Object.defineProperty(lt,"__esModule",{value:!0}),lt.signalsByNumber=lt.signalsByName=void 0;var ut={};Object.defineProperty(ut,"__esModule",{value:!0}),ut.getSignals=void 0;var pt={};Object.defineProperty(pt,"__esModule",{value:!0}),pt.SIGNALS=void 0,pt.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 dt={};Object.defineProperty(dt,"__esModule",{value:!0}),dt.SIGRTMAX=dt.getRealtimeSignals=void 0,dt.getRealtimeSignals=()=>Array.from({length:mt-ft+1},ht);const ht=(e,t)=>({name:"SIGRT"+(t+1),number:ft+t,action:"terminate",description:"Application-specific signal (realtime)",standard:"posix"}),ft=34,mt=64;dt.SIGRTMAX=mt,ut.getSignals=()=>{const e=dt.getRealtimeSignals();return[...pt.SIGNALS,...e].map(vt)};const vt=({name:e,number:t,description:r,action:o,forced:n=!1,standard:s})=>{const{signals:{[e]:i}}=le.constants,a=void 0!==i;return{name:e,number:a?i:t,description:r,supported:a,action:o,forced:n,standard:s}},gt=ut.getSignals().reduce(((e,{name:t,number:r,description:o,supported:n,action:s,forced:i,standard:a})=>({...e,[t]:{name:t,number:r,description:o,supported:n,action:s,forced:i,standard:a}})),{});lt.signalsByName=gt;const yt=(()=>{const e=ut.getSignals(),t=Array.from({length:dt.SIGRTMAX+1},((t,r)=>((e,t)=>{const r=((e,t)=>{const r=t.find((({name:t})=>le.constants.signals[t]===e));return void 0!==r?r:t.find((t=>t.number===e))})(e,t);if(void 0===r)return{};const{name:o,description:n,supported:s,action:i,forced:a,standard:c}=r;return{[e]:{name:o,number:e,description:n,supported:s,action:i,forced:a,standard:c}}})(r,e)));return Object.assign({},...t)})();lt.signalsByNumber=yt;var xt=lt.signalsByName;ct=({stdout:e,stderr:t,all:r,error:o,signal:n,exitCode:s,command:i,escapedCommand:a,timedOut:c,isCanceled:l,killed:u,parsed:{options:{timeout:p}}})=>{const d=void 0===(n=null===n?void 0:n)?void 0:xt[n].description,h=(({timedOut:e,timeout:t,errorCode:r,signal:o,signalDescription:n,exitCode:s,isCanceled:i})=>e?`timed out after ${t} milliseconds`:i?"was canceled":void 0!==r?"failed with "+r:void 0!==o?`was killed with ${o} (${n})`:void 0!==s?"failed with exit code "+s:"failed")({timedOut:c,timeout:p,errorCode:o&&o.code,signal:n,signalDescription:d,exitCode:s=null===s?void 0:s,isCanceled:l}),f=`Command ${h}: ${i}`,m="[object Error]"==={}.toString.call(o),v=m?`${f}\n${o.message}`:f,g=[v,t,e].filter(Boolean).join("\n");return m?(o.originalMessage=o.message,o.message=g):o=Error(g),o.shortMessage=v,o.command=i,o.escapedCommand=a,o.exitCode=s,o.signal=n,o.signalDescription=d,o.stdout=e,o.stderr=t,void 0!==r&&(o.all=r),"bufferedData"in o&&delete o.bufferedData,o.failed=!0,o.timedOut=!!c,o.isCanceled=l,o.killed=u&&!c,o};var wt={};const Et=["stdin","stdout","stderr"],bt=e=>{if(!e)return;const{stdio:t}=e;if(void 0===t)return Et.map((t=>e[t]));if((e=>Et.some((t=>void 0!==e[t])))(e))throw Error("It's not possible to provide `stdio` in combination with one of "+Et.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,Et.length)},((e,r)=>t[r]))};(wt=bt).node=e=>{const t=bt(e);return"ipc"===t?"ipc":void 0===t||"string"==typeof t?[t,t,t,"ipc"]:t.includes("ipc")?t:[...t,"ipc"]};var St,Pt,Ot={};Ot=["SIGABRT","SIGALRM","SIGHUP","SIGINT","SIGTERM"],"win32"!==process.platform&&Ot.push("SIGVTALRM","SIGXCPU","SIGXFSZ","SIGUSR2","SIGTRAP","SIGSYS","SIGQUIT","SIGIOT"),"linux"===process.platform&&Ot.push("SIGIO","SIGPOLL","SIGPWR","SIGSTKFLT","SIGUNUSED");var _t,$t=Ot,Rt=/^win/i.test(process.platform),Ct=fe;"function"!=typeof Ct&&(Ct=Ct.EventEmitter),process.__signal_exit_emitter__?_t=process.__signal_exit_emitter__:((_t=process.__signal_exit_emitter__=new Ct).count=0,_t.emitted={}),_t.infinite||(_t.setMaxListeners(1/0),_t.infinite=!0),(Pt=(e,t)=>{he.equal(typeof e,"function","a callback must be provided for exit handler"),!1===At&&u();var r="exit";return t&&t.alwaysLast&&(r="afterexit"),_t.on(r,e),()=>{_t.removeListener(r,e),0===_t.listeners("exit").length&&0===_t.listeners("afterexit").length&&c()}}).unload=c;var Tt={};$t.forEach((e=>{Tt[e]=()=>{process.listeners(e).length===_t.count&&(c(),l("exit",null,e),l("afterexit",null,e),Rt&&"SIGHUP"===e&&(e="SIGINT"),process.kill(process.pid,e))}})),Pt.signals=()=>$t,Pt.load=u;var At=!1,It=process.reallyExit,Nt=process.emit;const Lt=e=>e===le.constants.signals.SIGTERM||"string"==typeof e&&"SIGTERM"===e.toUpperCase();var jt,Dt=(St={spawnedKill(e,t="SIGTERM",r={}){const o=e(t);return((e,t,r,o)=>{if(!((e,{forceKillAfterTimeout:t},r)=>Lt(e)&&!1!==t&&r)(t,r,o))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),s=setTimeout((()=>{e("SIGKILL")}),n);s.unref&&s.unref()})(e,t,r,o),o},spawnedCancel(e,t){e.kill()&&(t.isCanceled=!0)},setupTimeout(e,{timeout:t,killSignal:r="SIGTERM"},o){if(0===t||void 0===t)return o;let n;const s=new Promise(((o,s)=>{n=setTimeout((()=>{((e,t,r)=>{e.kill(t),r(Object.assign(Error("Timed out"),{timedOut:!0,signal:t}))})(e,r,s)}),t)})),i=o.finally((()=>{clearTimeout(n)}));return Promise.race([s,i])},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},o){if(!t||r)return o;const n=Pt((()=>{e.kill()}));return o.finally((()=>{n()}))}}).validateTimeout,kt=St.setExitHandler,Mt=St.spawnedCancel,Ft=St.setupTimeout,Gt=St.spawnedKill,Ut={};const Bt=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;Bt.writable=e=>Bt(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,Bt.readable=e=>Bt(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,Bt.duplex=e=>Bt.writable(e)&&Bt.readable(e),Bt.transform=e=>Bt.duplex(e)&&"function"==typeof e._transform,Ut=Bt;var Vt,qt={},Ht=me.constants,Xt=ve.PassThrough;Vt=e=>{e={...e};const{array:t}=e;let{encoding:r}=e;const o="buffer"===r;let n=!1;t?n=!(r||o):r=r||"utf8",o&&(r=null);const s=new Xt({objectMode:n});r&&s.setEncoding(r);let i=0;const a=[];return s.on("data",(e=>{a.push(e),n?i=a.length:i+=e.length})),s.getBufferedValue=()=>t?a:o?Buffer.concat(a,i):a.join(""),s.getBufferedLength=()=>i,s};const Wt=(0,ge.promisify)(ve.pipeline);class Yt extends Error{constructor(){super("maxBuffer exceeded"),this.name="MaxBufferError"}}(qt=h).buffer=(e,t)=>h(e,{...t,encoding:"buffer"}),qt.array=(e,t)=>h(e,{...t,array:!0}),qt.MaxBufferError=Yt;var Zt,zt=ve.PassThrough;Zt=function(){function e(t){return Array.isArray(t)?(t.forEach(e),this):(o.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==o.length}function r(e){!(o=o.filter((t=>t!==e))).length&&n.readable&&n.end()}var o=[],n=new zt({objectMode:!0});return n.setMaxListeners(0),n.add=e,n.isEmpty=t,n.on("unpipe",r),[].slice.call(arguments).forEach(e),n};const Jt=async(e,t)=>{if(e){e.destroy();try{return await t}catch(e){return e.bufferedData}}},Kt=(e,{encoding:t,buffer:r,maxBuffer:o})=>{if(e&&r)return t?qt(e,{encoding:t,maxBuffer:o}):qt.buffer(e,{maxBuffer:o})};var Qt,er=(jt={handleInput(e,t){void 0!==t&&void 0!==e.stdin&&(Ut(t)?t.pipe(e.stdin):e.stdin.end(t))},makeAllStream(e,{all:t}){if(!t||!e.stdout&&!e.stderr)return;const r=Zt();return e.stdout&&r.add(e.stdout),e.stderr&&r.add(e.stderr),r},async getSpawnedResult({stdout:e,stderr:t,all:r},{encoding:o,buffer:n,maxBuffer:s},i){const a=Kt(e,{encoding:o,buffer:n,maxBuffer:s}),c=Kt(t,{encoding:o,buffer:n,maxBuffer:s}),l=Kt(r,{encoding:o,buffer:n,maxBuffer:2*s});try{return await Promise.all([i,a,c,l])}catch(o){return Promise.all([{error:o,signal:o.signal,timedOut:o.timedOut},Jt(e,a),Jt(t,c),Jt(r,l)])}},validateInputSync({input:e}){if(Ut(e))throw new TypeError("The `input` option cannot be a stream in sync mode")}}).handleInput,tr=jt.makeAllStream,rr=jt.getSpawnedResult,or=jt.validateInputSync;const nr=(async()=>{})().constructor.prototype,sr=["then","catch","finally"].map((e=>[e,Reflect.getOwnPropertyDescriptor(nr,e)]));var ir,ar=(Qt={mergePromise(e,t){for(const[r,o]of sr){const n="function"==typeof t?(...e)=>Reflect.apply(o.value,t(),e):o.value.bind(t);Reflect.defineProperty(e,r,{...o,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)}))}))}}).getSpawnedPromise,cr=Qt.mergePromise;const lr=(e,t=[])=>Array.isArray(t)?[e,...t]:[e],ur=/^[\w.-]+$/;var pr=(ir={joinCommand(e,t){return lr(e,t).join(" ")},getEscapedCommand(e,t){return lr(e,t).map((e=>(e=>"string"!=typeof e||ur.test(e)?e:`"${e.replace(/"/g,'\\"')}"`)(e))).join(" ")},parseCommand(e){const t=[];for(const r of e.trim().split(/ +/g)){const e=t[t.length-1];e&&e.endsWith("\\")?t[t.length-1]=`${e.slice(0,-1)} ${r}`:t.push(r)}return t}}).joinCommand,dr=ir.parseCommand,hr=ir.getEscapedCommand;const fr=(e,t,r={})=>{const o=Ue._parse(e,t,r);return e=o.command,t=o.args,(r={maxBuffer:1e8,buffer:!0,stripFinalNewline:!0,extendEnv:!0,preferLocal:!1,localDir:(r=o.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:o,execPath:n})=>{const s=t?{...process.env,...e}:e;return r?tt.env({env:s,cwd:o,execPath:n}):s})(r),r.stdio=wt(r),"win32"===process.platform&&"cmd"===ue.basename(e,".exe")&&t.unshift("/q"),{file:e,args:t,options:r,parsed:o}},mr=(e,t,r)=>"string"==typeof t||Buffer.isBuffer(t)?e.stripFinalNewline?et(t):t:void 0===r?void 0:"",vr=(e,t,r)=>{const o=fr(e,t,r),n=pr(e,t),s=hr(e,t);let i;Dt(o.options);try{i=de.spawn(o.file,o.args,o.options)}catch(e){const t=new de.ChildProcess,r=Promise.reject(ct({error:e,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:o,timedOut:!1,isCanceled:!1,killed:!1}));return cr(t,r)}const a=ar(i),c=Ft(i,o.options,a),l=kt(i,o.options,c),u={isCanceled:!1};i.kill=Gt.bind(null,i.kill.bind(i)),i.cancel=Mt.bind(null,i,u);const p=ot((async()=>{const[{error:e,exitCode:t,signal:r,timedOut:a},c,p,d]=await rr(i,o.options,l),h=mr(o.options,c),f=mr(o.options,p),m=mr(o.options,d);if(e||0!==t||null!==r){const c=ct({error:e,exitCode:t,signal:r,stdout:h,stderr:f,all:m,command:n,escapedCommand:s,parsed:o,timedOut:a,isCanceled:u.isCanceled,killed:i.killed});if(!o.options.reject)return c;throw c}return{command:n,escapedCommand:s,exitCode:0,stdout:h,stderr:f,all:m,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}}));return er(i,o.options.input),i.all=tr(i,o.options),cr(i,p)};let gr;(Ge=vr).sync=(e,t,r)=>{const o=fr(e,t,r),n=pr(e,t),s=hr(e,t);let i;or(o.options);try{i=de.spawnSync(o.file,o.args,o.options)}catch(e){throw ct({error:e,stdout:"",stderr:"",all:"",command:n,escapedCommand:s,parsed:o,timedOut:!1,isCanceled:!1,killed:!1})}const a=mr(o.options,i.stdout,i.error),c=mr(o.options,i.stderr,i.error);if(i.error||0!==i.status||null!==i.signal){const e=ct({stdout:a,stderr:c,error:i.error,signal:i.signal,exitCode:i.status,command:n,escapedCommand:s,parsed:o,timedOut:i.error&&"ETIMEDOUT"===i.error.code,isCanceled:!1,killed:null!==i.signal});if(!o.options.reject)return e;throw e}return{command:n,escapedCommand:s,exitCode:0,stdout:a,stderr:c,failed:!1,timedOut:!1,isCanceled:!1,killed:!1}},Ge.command=(e,t)=>{const[r,...o]=dr(e);return vr(r,o,t)},Ge.commandSync=(e,t)=>{const[r,...o]=dr(e);return vr.sync(r,o,t)},Ge.node=(e,t,r={})=>{t&&!Array.isArray(t)&&"object"==typeof t&&(r=t,t=[]);const o=wt.node(r),n=process.execArgv.filter((e=>!e.startsWith("--inspect"))),{nodePath:s=process.execPath,nodeOptions:i=n}=r;return vr(s,[...i,e,...Array.isArray(t)?t:[]],{...r,stdin:void 0,stdout:void 0,stderr:void 0,stdio:o,shell:!1})};let yr=!1,xr=!1;Ce=Re("6FGZZ"),Ce=Re("6FGZZ");let wr,Er=!1;var br={},Sr=br&&br.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),Pr=br&&br.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Or=br&&br.__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)&&Sr(t,e,r);return Pr(t,e),t}),_r=br&&br.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))),$r=br&&br.__importDefault||(e=>e&&e.__esModule?e:{default:e});Object.defineProperty(br,"__esModule",{value:!0}),br.evaluateVersions=br.isExplicitVersion=br.findFromManifest=br.getManifestFromRepo=br.findAllVersions=br.find=br.cacheFile=br.cacheDir=br.extractZip=br.extractXar=br.extractTar=br.extract7z=br.downloadTool=br.HTTPError=void 0;const Rr=Or(Re("6FGZZ"));Re.register("q05Mr",(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 o(e){return u(this,void 0,void 0,(function*(){he.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(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 o=[];for(const n of r){const r=yield h.tryGetExecutablePath(d.join(n,e),t);r&&o.push(r)}return o}))}function s(e,t,r,n){return u(this,void 0,void 0,(function*(){if(r>=255)return;r++,yield o(t);const a=yield h.readdir(e);for(const o of a){const a=`${e}/${o}`,c=`${t}/${o}`;(yield h.lstat(a)).isDirectory()?yield s(a,c,r,n):yield i(a,c,n)}yield h.chmod(t,(yield h.stat(e)).mode)}))}function i(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,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),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,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.findInPath=e.exports.which=e.exports.mkdirP=e.exports.rmRF=e.exports.mv=e.exports.cp=void 0;const p=l(de),d=l(ue),h=l(Re("fyhIP")),f=ge.promisify(p.exec),m=ge.promisify(p.execFile);e.exports.cp=function(e,t,r={}){return u(this,void 0,void 0,(function*(){const{force:o,recursive:n,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()&&!o)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(!n)throw Error(`Failed to copy. ${e} is a directory, but tried to copy without recursive flag.`);yield s(e,l,0,o)}else{if(""===d.relative(e,l))throw Error(`'${l}' and '${e}' are the same file`);yield i(e,l,o)}}))},e.exports.mv=function(e,t,n={}){return u(this,void 0,void 0,(function*(){if(yield h.exists(t)){let o=!0;if((yield h.isDirectory(t))&&(t=d.join(t,d.basename(e)),o=yield h.exists(t)),o){if(null!=n.force&&!n.force)throw Error("Destination already exists");yield r(t)}}yield o(d.dirname(t)),yield h.rename(e,t)}))},e.exports.rmRF=r,e.exports.mkdirP=o,e.exports.which=function e(t,r){return u(this,void 0,void 0,(function*(){if(!t)throw Error("parameter 'tool' is required");if(r){const r=yield e(t,!1);if(!r)throw Error(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 o=yield n(t);return o&&o.length>0?o[0]:""}))},e.exports.findInPath=n})),Re.register("fyhIP",(function(e,t){"use strict";function r(e){return(1&e.mode)>0||(8&e.mode)>0&&e.gid===process.getgid()||(64&e.mode)>0&&e.uid===process.getuid()}var o,n=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),s=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 s(t,e),t}),a=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getCmdPath=e.exports.tryGetExecutablePath=e.exports.isRooted=e.exports.isDirectory=e.exports.exists=e.exports.IS_WINDOWS=e.exports.unlink=e.exports.symlink=e.exports.stat=e.exports.rmdir=e.exports.rename=e.exports.readlink=e.exports.readdir=e.exports.mkdir=e.exports.lstat=e.exports.copyFile=e.exports.chmod=void 0;const c=i(pe),l=i(ue);e.exports.chmod=(o=c.promises).chmod,e.exports.copyFile=o.copyFile,e.exports.lstat=o.lstat,e.exports.mkdir=o.mkdir,e.exports.readdir=o.readdir,e.exports.readlink=o.readlink,e.exports.rename=o.rename,e.exports.rmdir=o.rmdir,e.exports.stat=o.stat,e.exports.symlink=o.symlink,e.exports.unlink=o.unlink,e.exports.IS_WINDOWS="win32"===process.platform,e.exports.exists=function(t){return a(this,void 0,void 0,(function*(){try{yield e.exports.stat(t)}catch(e){if("ENOENT"===e.code)return!1;throw e}return!0}))},e.exports.isDirectory=function(t,r=!1){return a(this,void 0,void 0,(function*(){return(r?yield e.exports.stat(t):yield e.exports.lstat(t)).isDirectory()}))},e.exports.isRooted=t=>{if(!(t=(t=>(t=t||"",e.exports.IS_WINDOWS?(t=t.replace(/\//g,"\\")).replace(/\\\\+/g,"\\"):t.replace(/\/\/+/g,"/")))(t)))throw Error('isRooted() parameter "p" cannot be empty');return e.exports.IS_WINDOWS?t.startsWith("\\")||/^[A-Z]:/i.test(t):t.startsWith("/")},e.exports.tryGetExecutablePath=function(t,o){return a(this,void 0,void 0,(function*(){let 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=l.extname(t).toUpperCase();if(o.some((t=>t.toUpperCase()===e)))return t}else if(r(n))return t;const s=t;for(const i of o){t=s+i,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=l.dirname(t),o=l.basename(t).toUpperCase();for(const n of yield e.exports.readdir(r))if(o===n.toUpperCase()){t=l.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"}}));const Cr=Or(Re("q05Mr")),Tr=Or(pe);Re.register("1Hds5",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 o(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports._readLinuxVersionFile=e.exports._getOsVersion=e.exports._findMatch=void 0;const i=n(Re("hBwzM"));var a=Re("6FGZZ");e.exports._findMatch=function(t,r,o,n){return s(this,void 0,void 0,(function*(){const s=le.platform();let c,l,u;for(const c of o){const o=c.version;if(a.debug(`check ${o} satisfies ${t}`),i.satisfies(o,t)&&(!r||c.stable===r)&&(u=c.files.find((t=>{a.debug(`${t.arch}===${n} && ${t.platform}===${s}`);let r=t.arch===n&&t.platform===s;if(r&&t.platform_version){const o=e.exports._getOsVersion();r=o===t.platform_version||i.satisfies(o,t.platform_version)}return r})),u)){a.debug("matched "+c.version),l=c;break}}return l&&u&&(c=Object.assign({},l),c.files=[u]),c}))},e.exports._getOsVersion=()=>{const t=le.platform();let r="";if("darwin"===t)r=""+de.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 pe.existsSync(e)?r=""+pe.readFileSync(e):pe.existsSync(t)&&(r=""+pe.readFileSync(t)),r}})),Re.register("hBwzM",((e,t)=>{var r=Re("j1nFx");e.exports={re:r.re,src:r.src,tokens:r.t,SEMVER_SPEC_VERSION:Re("9PnyI").SEMVER_SPEC_VERSION,SemVer:Re("j4Bpm"),compareIdentifiers:Re("9vPNp").compareIdentifiers,rcompareIdentifiers:Re("9vPNp").rcompareIdentifiers,parse:Re("bd0kF"),valid:Re("1JJDJ"),clean:Re("6mLCu"),inc:Re("1Orzu"),diff:Re("kGDR5"),major:Re("k3zcS"),minor:Re("e8NKK"),patch:Re("3Fhst"),prerelease:Re("6elLy"),compare:Re("1wyqe"),rcompare:Re("las47"),compareLoose:Re("dQlWE"),compareBuild:Re("7REgF"),sort:Re("3U0ar"),rsort:Re("98o3F"),gt:Re("6bYo1"),lt:Re("98Pyg"),eq:Re("4eeum"),neq:Re("a0PPD"),gte:Re("kRrXd"),lte:Re("ju11K"),cmp:Re("cITzi"),coerce:Re("5M2Mq"),Comparator:Re("hDCF3"),Range:Re("8YuUE"),satisfies:Re("6rO9c"),toComparators:Re("fx4Sd"),maxSatisfying:Re("bMVW7"),minSatisfying:Re("g5aoW"),minVersion:Re("hO4RL"),validRange:Re("hXGf0"),outside:Re("2MRaB"),gtr:Re("bqGrY"),ltr:Re("3AeSM"),intersects:Re("2Lyoi"),simplifyRange:Re("5pzc6"),subset:Re("2XGoS")}})),Re.register("j1nFx",((e,t)=>{var r=Re("9PnyI").MAX_SAFE_COMPONENT_LENGTH,o=Re("8eni4");const n=(t=e.exports={}).re=[],s=t.src=[],i=t.t={};let a=0;const c=(e,t,r)=>{const c=a++;o(c,t),i[e]=c,s[c]=t,n[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",`(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})\\.(${s[i.NUMERICIDENTIFIER]})`),c("MAINVERSIONLOOSE",`(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})\\.(${s[i.NUMERICIDENTIFIERLOOSE]})`),c("PRERELEASEIDENTIFIER",`(?:${s[i.NUMERICIDENTIFIER]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASEIDENTIFIERLOOSE",`(?:${s[i.NUMERICIDENTIFIERLOOSE]}|${s[i.NONNUMERICIDENTIFIER]})`),c("PRERELEASE",`(?:-(${s[i.PRERELEASEIDENTIFIER]}(?:\\.${s[i.PRERELEASEIDENTIFIER]})*))`),c("PRERELEASELOOSE",`(?:-?(${s[i.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${s[i.PRERELEASEIDENTIFIERLOOSE]})*))`),c("BUILDIDENTIFIER","[0-9A-Za-z-]+"),c("BUILD",`(?:\\+(${s[i.BUILDIDENTIFIER]}(?:\\.${s[i.BUILDIDENTIFIER]})*))`),c("FULLPLAIN",`v?${s[i.MAINVERSION]}${s[i.PRERELEASE]}?${s[i.BUILD]}?`),c("FULL",`^${s[i.FULLPLAIN]}$`),c("LOOSEPLAIN",`[v=\\s]*${s[i.MAINVERSIONLOOSE]}${s[i.PRERELEASELOOSE]}?${s[i.BUILD]}?`),c("LOOSE",`^${s[i.LOOSEPLAIN]}$`),c("GTLT","((?:<|>)?=?)"),c("XRANGEIDENTIFIERLOOSE",s[i.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*"),c("XRANGEIDENTIFIER",s[i.NUMERICIDENTIFIER]+"|x|X|\\*"),c("XRANGEPLAIN",`[v=\\s]*(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:\\.(${s[i.XRANGEIDENTIFIER]})(?:${s[i.PRERELEASE]})?${s[i.BUILD]}?)?)?`),c("XRANGEPLAINLOOSE",`[v=\\s]*(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:\\.(${s[i.XRANGEIDENTIFIERLOOSE]})(?:${s[i.PRERELEASELOOSE]})?${s[i.BUILD]}?)?)?`),c("XRANGE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAIN]}$`),c("XRANGELOOSE",`^${s[i.GTLT]}\\s*${s[i.XRANGEPLAINLOOSE]}$`),c("COERCE",`(^|[^\\d])(\\d{1,${r}})(?:\\.(\\d{1,${r}}))?(?:\\.(\\d{1,${r}}))?(?:$|[^\\d])`),c("COERCERTL",s[i.COERCE],!0),c("LONETILDE","(?:~>?)"),c("TILDETRIM",`(\\s*)${s[i.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",c("TILDE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAIN]}$`),c("TILDELOOSE",`^${s[i.LONETILDE]}${s[i.XRANGEPLAINLOOSE]}$`),c("LONECARET","(?:\\^)"),c("CARETTRIM",`(\\s*)${s[i.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",c("CARET",`^${s[i.LONECARET]}${s[i.XRANGEPLAIN]}$`),c("CARETLOOSE",`^${s[i.LONECARET]}${s[i.XRANGEPLAINLOOSE]}$`),c("COMPARATORLOOSE",`^${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]})$|^$`),c("COMPARATOR",`^${s[i.GTLT]}\\s*(${s[i.FULLPLAIN]})$|^$`),c("COMPARATORTRIM",`(\\s*)${s[i.GTLT]}\\s*(${s[i.LOOSEPLAIN]}|${s[i.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",c("HYPHENRANGE",`^\\s*(${s[i.XRANGEPLAIN]})\\s+-\\s+(${s[i.XRANGEPLAIN]})\\s*$`),c("HYPHENRANGELOOSE",`^\\s*(${s[i.XRANGEPLAINLOOSE]})\\s+-\\s+(${s[i.XRANGEPLAINLOOSE]})\\s*$`),c("STAR","(<|>)?=?\\s*\\*"),c("GTE0","^\\s*>=\\s*0.0.0\\s*$"),c("GTE0PRE","^\\s*>=\\s*0.0.0-0\\s*$")})),Re.register("9PnyI",((e,t)=>{e.exports={SEMVER_SPEC_VERSION:"2.0.0",MAX_LENGTH:256,MAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER||9007199254740991,MAX_SAFE_COMPONENT_LENGTH:16}})),Re.register("8eni4",((e,t)=>{const r=("object"==typeof process&&process,()=>{});e.exports=r})),Re.register("j4Bpm",(function(e,t){var r=Re("8eni4"),o=Re("9PnyI"),n=o.MAX_SAFE_INTEGER,s=o.MAX_LENGTH,i=Re("j1nFx"),a=i.t,c=i.re,l=Re("26eGk"),u=Re("9vPNp").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>s)throw new TypeError(`version is longer than ${s} characters`);r("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;const o=e.trim().match(t.loose?c[a.LOOSE]:c[a.FULL]);if(!o)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+o[1],this.minor=+o[2],this.patch=+o[3],this.major>n||0>this.major)throw new TypeError("Invalid major version");if(this.minor>n||0>this.minor)throw new TypeError("Invalid minor version");if(this.patch>n||0>this.patch)throw new TypeError("Invalid patch version");this.prerelease=o[4]?o[4].split(".").map((e=>{if(/^[0-9]+$/.test(e)){const t=+e;if(t>=0&&n>t)return t}return e})):[],this.build=o[5]?o[5].split("."):[],this.format()}format(){return this.version=`${this.major}.${this.minor}.${this.patch}`,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version}toString(){return this.version}compare(e){if(r("SemVer.compare",this.version,this.options,e),!(e instanceof p)){if("string"==typeof e&&e===this.version)return 0;e=new p(e,this.options)}return e.version===this.version?0:this.compareMain(e)||this.comparePre(e)}compareMain(e){return e instanceof p||(e=new p(e,this.options)),u(this.major,e.major)||u(this.minor,e.minor)||u(this.patch,e.patch)}comparePre(e){if(e instanceof p||(e=new p(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;let t=0;do{const o=this.prerelease[t],n=e.prerelease[t];if(r("prerelease compare",t,o,n),void 0===o&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===o)return-1;if(o!==n)return u(o,n)}while(++t)}compareBuild(e){e instanceof p||(e=new p(e,this.options));let t=0;do{const o=this.build[t],n=e.build[t];if(r("prerelease compare",t,o,n),void 0===o&&void 0===n)return 0;if(void 0===n)return 1;if(void 0===o)return-1;if(o!==n)return u(o,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&&(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})),Re.register("26eGk",((e,t)=>{const r=["includePrerelease","loose","rtl"];e.exports=e=>e?"object"!=typeof e?{loose:!0}:r.filter((t=>e[t])).reduce(((e,t)=>(e[t]=!0,e)),{}):{}})),Re.register("9vPNp",((e,t)=>{const r=/^[0-9]+$/,o=(e,t)=>{const o=r.test(e),n=r.test(t);return o&&n&&(e=+e,t=+t),e===t?0:o&&!n?-1:n&&!o?1:t>e?-1:1};e.exports={compareIdentifiers:o,rcompareIdentifiers(e,t){return o(t,e)}}})),Re.register("bd0kF",((e,t)=>{var r=Re("9PnyI").MAX_LENGTH,o=Re("j1nFx"),n=o.t,s=o.re,i=Re("j4Bpm"),a=Re("26eGk");e.exports=(e,t)=>{if(t=a(t),e instanceof i)return e;if("string"!=typeof e)return null;if(e.length>r)return null;if(!(t.loose?s[n.LOOSE]:s[n.FULL]).test(e))return null;try{return new i(e,t)}catch(e){return null}}})),Re.register("1JJDJ",((e,t)=>{var r=Re("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o?o.version:null}})),Re.register("6mLCu",((e,t)=>{var r=Re("bd0kF");e.exports=(e,t)=>{const o=r(e.trim().replace(/^[=v]+/,""),t);return o?o.version:null}})),Re.register("1Orzu",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t,o,n)=>{"string"==typeof o&&(n=o,o=void 0);try{return new r(e,o).inc(t,n).version}catch(e){return null}}})),Re.register("kGDR5",((e,t)=>{var r=Re("bd0kF"),o=Re("4eeum");e.exports=(e,t)=>{if(o(e,t))return null;{const o=r(e),n=r(t),s=o.prerelease.length||n.prerelease.length,i=s?"pre":"",a=s?"prerelease":"";for(const e in o)if(("major"===e||"minor"===e||"patch"===e)&&o[e]!==n[e])return i+e;return a}}})),Re.register("4eeum",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0===r(e,t,o)})),Re.register("1wyqe",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t,o)=>new r(e,o).compare(new r(t,o))})),Re.register("k3zcS",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t)=>new r(e,t).major})),Re.register("e8NKK",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t)=>new r(e,t).minor})),Re.register("3Fhst",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t)=>new r(e,t).patch})),Re.register("6elLy",((e,t)=>{var r=Re("bd0kF");e.exports=(e,t)=>{const o=r(e,t);return o&&o.prerelease.length?o.prerelease:null}})),Re.register("las47",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>r(t,e,o)})),Re.register("dQlWE",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t)=>r(e,t,!0)})),Re.register("7REgF",((e,t)=>{var r=Re("j4Bpm");e.exports=(e,t,o)=>{const n=new r(e,o),s=new r(t,o);return n.compare(s)||n.compareBuild(s)}})),Re.register("3U0ar",((e,t)=>{var r=Re("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(e,o,t)))})),Re.register("98o3F",((e,t)=>{var r=Re("7REgF");e.exports=(e,t)=>e.sort(((e,o)=>r(o,e,t)))})),Re.register("6bYo1",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>0})),Re.register("98Pyg",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0>r(e,t,o)})),Re.register("a0PPD",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0!==r(e,t,o)})),Re.register("kRrXd",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>r(e,t,o)>=0})),Re.register("ju11K",((e,t)=>{var r=Re("1wyqe");e.exports=(e,t,o)=>0>=r(e,t,o)})),Re.register("cITzi",((e,t)=>{var r=Re("4eeum"),o=Re("a0PPD"),n=Re("6bYo1"),s=Re("kRrXd"),i=Re("98Pyg"),a=Re("ju11K");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 o(e,c,l);case">":return n(e,c,l);case">=":return s(e,c,l);case"<":return i(e,c,l);case"<=":return a(e,c,l);default:throw new TypeError("Invalid operator: "+t)}}})),Re.register("5M2Mq",((e,t)=>{var r=Re("j4Bpm"),o=Re("bd0kF"),n=Re("j1nFx"),s=n.t,i=n.re;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=i[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),i[s.COERCERTL].lastIndex=t.index+t[1].length+t[2].length;i[s.COERCERTL].lastIndex=-1}else n=e.match(i[s.COERCE]);return null===n?null:o(`${n[2]}.${n[3]||"0"}.${n[4]||"0"}`,t)}})),Re.register("hDCF3",(function(e,t){const r=Symbol();class o{static get ANY(){return r}constructor(e,t){if(t=n(t),e instanceof o){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?a[i.COMPARATORLOOSE]:a[i.COMPARATOR]);if(!t)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==t[1]?t[1]:"","="===this.operator&&(this.operator=""),this.semver=t[2]?new u(t[2],this.options.loose):r}toString(){return this.value}test(e){if(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 o))throw new TypeError("a Comparator is required");if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||new p(e.value,t).test(this.value);if(""===e.operator)return""===e.value||new p(this.value,t).test(e.semver);const r=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),n=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,i=!(">="!==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||n||s&&i||a||l}}e.exports=o;var n=Re("26eGk"),s=Re("j1nFx"),i=s.t,a=s.re,c=Re("cITzi"),l=Re("8eni4"),u=Re("j4Bpm"),p=Re("8YuUE")})),Re.register("8YuUE",(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 s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e,this.set=e.split(/\s*\|\|\s*/).map((e=>this.parseRange(e.trim()))).filter((e=>e.length)),!this.set.length)throw new TypeError("Invalid SemVer Range: "+e);if(this.set.length>1){const e=this.set[0];if(this.set=this.set.filter((e=>!f(e[0]))),0===this.set.length)this.set=[e];else if(this.set.length>1)for(const e of this.set)if(1===e.length&&m(e[0])){this.set=[e];break}}this.format()}format(){return this.range=this.set.map((e=>e.join(" ").trim())).join("||").trim(),this.range}toString(){return this.range}parseRange(e){e=e.trim();const t=`parseRange:${Object.keys(this.options).join(",")}:${e}`,r=o.get(t);if(r)return r;const n=this.options.loose;e=e.replace(n?l[u.HYPHENRANGELOOSE]:l[u.HYPHENRANGE],$(this.options.includePrerelease)),i("hyphen replace",e),e=e.replace(l[u.COMPARATORTRIM],d),i("comparator trim",e,l[u.COMPARATORTRIM]),e=(e=(e=e.replace(l[u.TILDETRIM],h)).replace(l[u.CARETTRIM],p)).split(/\s+/).join(" ");const a=n?l[u.COMPARATORLOOSE]:l[u.COMPARATOR],c=e.split(" ").map((e=>g(e,this.options))).join(" ").split(/\s+/).map((e=>_(e,this.options))).filter(this.options.loose?e=>!!e.match(a):()=>!0).map((e=>new s(e,this.options))),m=new Map;for(const e of c){if(f(e))return[e];m.set(e.value,e)}m.size>1&&m.has("")&&m.delete("");const v=[...m.values()];return o.set(t,v),v}intersects(e,t){if(!(e instanceof r))throw new TypeError("a Range is required");return this.set.some((r=>v(r,t)&&e.set.some((e=>v(e,t)&&r.every((r=>e.every((e=>r.intersects(e,t)))))))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new a(e,this.options)}catch(e){return!1}for(let t=0;this.set.length>t;t++)if(R(this.set[t],e,this.options))return!0;return!1}}e.exports=r;const o=new(Re("hqS6J"))({max:1e3});var n=Re("26eGk"),s=Re("hDCF3"),i=Re("8eni4"),a=Re("j4Bpm"),c=Re("j1nFx"),l=c.re,u=c.t,p=c.caretTrimReplace,d=c.comparatorTrimReplace,h=c.tildeTrimReplace;const f=e=>"<0.0.0-0"===e.value,m=e=>""===e.value,v=(e,t)=>{let r=!0;const o=e.slice();let n=o.pop();for(;r&&o.length;)r=o.every((e=>n.intersects(e,t))),n=o.pop();return r},g=(e,t)=>(i("comp",e,t),e=E(e,t),i("caret",e),e=x(e,t),i("tildes",e),e=S(e,t),i("xrange",e),e=O(e,t),i("stars",e),e),y=e=>!e||"x"===e.toLowerCase()||"*"===e,x=(e,t)=>e.trim().split(/\s+/).map((e=>w(e,t))).join(" "),w=(e,t)=>e.replace(t.loose?l[u.TILDELOOSE]:l[u.TILDE],((t,r,o,n,s)=>{let a;return i("tilde",e,t,r,o,n,s),y(r)?a="":y(o)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:y(n)?a=`>=${r}.${o}.0 <${r}.${+o+1}.0-0`:s?(i("replaceTilde pr",s),a=`>=${r}.${o}.${n}-${s} <${r}.${+o+1}.0-0`):a=`>=${r}.${o}.${n} <${r}.${+o+1}.0-0`,i("tilde return",a),a})),E=(e,t)=>e.trim().split(/\s+/).map((e=>b(e,t))).join(" "),b=(e,t)=>{i("caret",e,t);const r=t.includePrerelease?"-0":"";return e.replace(t.loose?l[u.CARETLOOSE]:l[u.CARET],((t,o,n,s,a)=>{let c;return i("caret",e,t,o,n,s,a),y(o)?c="":y(n)?c=`>=${o}.0.0${r} <${+o+1}.0.0-0`:y(s)?c="0"===o?`>=${o}.${n}.0${r} <${o}.${+n+1}.0-0`:`>=${o}.${n}.0${r} <${+o+1}.0.0-0`:a?(i("replaceCaret pr",a),c="0"===o?"0"===n?`>=${o}.${n}.${s}-${a} <${o}.${n}.${+s+1}-0`:`>=${o}.${n}.${s}-${a} <${o}.${+n+1}.0-0`:`>=${o}.${n}.${s}-${a} <${+o+1}.0.0-0`):(i("no pr"),c="0"===o?"0"===n?`>=${o}.${n}.${s}${r} <${o}.${n}.${+s+1}-0`:`>=${o}.${n}.${s}${r} <${o}.${+n+1}.0-0`:`>=${o}.${n}.${s} <${+o+1}.0.0-0`),i("caret return",c),c}))},S=(e,t)=>(i("replaceXRanges",e,t),e.split(/\s+/).map((e=>P(e,t))).join(" ")),P=(e,t)=>(e=e.trim()).replace(t.loose?l[u.XRANGELOOSE]:l[u.XRANGE],((r,o,n,s,a,c)=>{i("xRange",e,r,o,n,s,a,c);const l=y(n),u=l||y(s),p=u||y(a);return"="===o&&p&&(o=""),c=t.includePrerelease?"-0":"",l?r=">"===o||"<"===o?"<0.0.0-0":"*":o&&p?(u&&(s=0),a=0,">"===o?(o=">=",u?(n=+n+1,s=0,a=0):(s=+s+1,a=0)):"<="===o&&(o="<",u?n=+n+1:s=+s+1),"<"===o&&(c="-0"),r=`${o+n}.${s}.${a}${c}`):u?r=`>=${n}.0.0${c} <${+n+1}.0.0-0`:p&&(r=`>=${n}.${s}.0${c} <${n}.${+s+1}.0-0`),i("xRange return",r),r})),O=(e,t)=>(i("replaceStars",e,t),e.trim().replace(l[u.STAR],"")),_=(e,t)=>(i("replaceGTE0",e,t),e.trim().replace(l[t.includePrerelease?u.GTE0PRE:u.GTE0],"")),$=e=>(t,r,o,n,s,i,a,c,l,u,p,d,h)=>`${r=y(o)?"":y(n)?`>=${o}.0.0${e?"-0":""}`:y(s)?`>=${o}.${n}.0${e?"-0":""}`:i?">="+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(i(e[r].semver),e[r].semver!==s.ANY&&e[r].semver.prerelease.length>0){const o=e[r].semver;if(o.major===t.major&&o.minor===t.minor&&o.patch===t.patch)return!0}return!1}return!0}})),Re.register("hqS6J",(function(e,t){"use strict";var r=Re("9ShIP");const o=Symbol(),n=Symbol(),s=Symbol(),i=Symbol(),a=Symbol(),c=Symbol(),l=Symbol(),u=Symbol(),p=Symbol(),d=Symbol(),h=()=>1,f=(e,t,r)=>{const o=e[p].get(t);if(o){const t=o.value;if(m(e,t)){if(g(e,o),!e[i])return}else r&&(e[d]&&(o.value.now=Date.now()),e[u].unshiftNode(o));return t.value}},m=(e,t)=>{if(!t||!t.maxAge&&!e[a])return!1;const r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[a]&&r>e[a]},v=e=>{if(e[n]>e[o])for(let t=e[u].tail;e[n]>e[o]&&null!==t;){const r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){const r=t.value;e[c]&&e[c](r.key,r.value),e[n]-=r.length,e[p].delete(r.key),e[u].removeNode(t)}};class y{constructor(e,t,r,o,n){this.key=e,this.value=t,this.length=r,this.now=o,this.maxAge=n||0}}const x=(e,t,r,o)=>{let n=r.value;m(e,n)&&(g(e,r),e[i]||(n=void 0)),n&&t.call(o,n.value,n.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||0>e.max))throw new TypeError("max must be a non-negative number");this[o]=e.max||1/0;const t=e.length||h;if(this[s]="function"!=typeof t?h:t,this[i]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw new TypeError("maxAge must be a number");this[a]=e.maxAge||0,this[c]=e.dispose,this[l]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||0>e)throw new TypeError("max must be a non-negative number");this[o]=e||1/0,v(this)}get max(){return this[o]}set allowStale(e){this[i]=!!e}get allowStale(){return this[i]}set maxAge(e){if("number"!=typeof e)throw new TypeError("maxAge must be a non-negative number");this[a]=e,v(this)}get maxAge(){return this[a]}set lengthCalculator(e){"function"!=typeof e&&(e=h),e!==this[s]&&(this[s]=e,this[n]=0,this[u].forEach((e=>{e.length=this[s](e.value,e.key),this[n]+=e.length}))),v(this)}get lengthCalculator(){return this[s]}get length(){return this[n]}get itemCount(){return this[u].length}rforEach(e,t){t=t||this;for(let r=this[u].tail;null!==r;){const o=r.prev;x(this,e,r,t),r=o}}forEach(e,t){t=t||this;for(let r=this[u].head;null!==r;){const o=r.next;x(this,e,r,t),r=o}}keys(){return this[u].toArray().map((e=>e.key))}values(){return this[u].toArray().map((e=>e.value))}reset(){this[c]&&this[u]&&this[u].length&&this[u].forEach((e=>this[c](e.key,e.value))),this[p]=new Map,this[u]=new r,this[n]=0}dump(){return this[u].map((e=>!m(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)})).toArray().filter((e=>e))}dumpLru(){return this[u]}set(e,t,r){if((r=r||this[a])&&"number"!=typeof r)throw new TypeError("maxAge must be a number");const i=r?Date.now():0,d=this[s](t,e);if(this[p].has(e)){if(d>this[o])return g(this,this[p].get(e)),!1;const s=this[p].get(e).value;return this[c]&&(this[l]||this[c](e,s.value)),s.now=i,s.maxAge=r,s.value=t,this[n]+=d-s.length,s.length=d,this.get(e),v(this),!0}const h=new y(e,t,d,i,r);return h.length>this[o]?(this[c]&&this[c](e,t),!1):(this[n]+=h.length,this[u].unshift(h),this[p].set(e,this[u].head),v(this),!0)}has(e){if(!this[p].has(e))return!1;const t=this[p].get(e).value;return!m(this,t)}get(e){return f(this,e,!0)}peek(e){return f(this,e,!1)}pop(){const e=this[u].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[p].get(e))}load(e){this.reset();const t=Date.now();for(let r=e.length-1;r>=0;r--){const o=e[r],n=o.e||0;if(0===n)this.set(o.k,o.v);else{const e=n-t;e>0&&this.set(o.k,o.v,e)}}}prune(){this[p].forEach(((e,t)=>f(this,t,!1)))}}})),Re.register("9ShIP",(function(e,t){"use strict";function r(e){var t=this;if(t instanceof r||(t=new r),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach((e=>{t.push(e)}));else if(arguments.length>0)for(var o=0,n=arguments.length;n>o;o++)t.push(arguments[o]);return t}function o(e,t,r){var o=t===e.head?new i(r,null,t,e):new i(r,t,t.next,e);return null===o.next&&(e.tail=o),null===o.prev&&(e.head=o),e.length++,o}function n(e,t){e.tail=new i(t,e.tail,null,e),e.head||(e.head=e.tail),e.length++}function s(e,t){e.head=new i(t,null,e.head,e),e.tail||(e.tail=e.head),e.length++}function i(e,t,r,o){if(!(this instanceof i))return new i(e,t,r,o);this.list=o,this.value=e,t?(t.next=this,this.prev=t):this.prev=null,r?(r.prev=this,this.next=r):this.next=null}e.exports=r,r.Node=i,r.create=r,r.prototype.removeNode=function(e){if(e.list!==this)throw Error("removing node which does not belong to this list");var t=e.next,r=e.prev;return t&&(t.prev=r),r&&(r.next=t),e===this.head&&(this.head=t),e===this.tail&&(this.tail=r),e.list.length--,e.next=null,e.prev=null,e.list=null,t},r.prototype.unshiftNode=function(e){if(e!==this.head){e.list&&e.list.removeNode(e);var t=this.head;e.list=this,e.next=t,t&&(t.prev=e),this.head=e,this.tail||(this.tail=e),this.length++}},r.prototype.pushNode=function(e){if(e!==this.tail){e.list&&e.list.removeNode(e);var t=this.tail;e.list=this,e.prev=t,t&&(t.next=e),this.tail=e,this.head||(this.head=e),this.length++}},r.prototype.push=function(){for(var e=0,t=arguments.length;t>e;e++)n(this,arguments[e]);return this.length},r.prototype.unshift=function(){for(var e=0,t=arguments.length;t>e;e++)s(this,arguments[e]);return this.length},r.prototype.pop=function(){if(this.tail){var e=this.tail.value;return this.tail=this.tail.prev,this.tail?this.tail.next=null:this.head=null,this.length--,e}},r.prototype.shift=function(){if(this.head){var e=this.head.value;return this.head=this.head.next,this.head?this.head.prev=null:this.tail=null,this.length--,e}},r.prototype.forEach=function(e,t){t=t||this;for(var r=this.head,o=0;null!==r;o++)e.call(t,r.value,o,this),r=r.next},r.prototype.forEachReverse=function(e,t){t=t||this;for(var r=this.tail,o=this.length-1;null!==r;o--)e.call(t,r.value,o,this),r=r.prev},r.prototype.get=function(e){for(var t=0,r=this.head;null!==r&&e>t;t++)r=r.next;if(t===e&&null!==r)return r.value},r.prototype.getReverse=function(e){for(var t=0,r=this.tail;null!==r&&e>t;t++)r=r.prev;if(t===e&&null!==r)return r.value},r.prototype.map=function(e,t){t=t||this;for(var o=new r,n=this.head;null!==n;)o.push(e.call(t,n.value,this)),n=n.next;return o},r.prototype.mapReverse=function(e,t){t=t||this;for(var o=new r,n=this.tail;null!==n;)o.push(e.call(t,n.value,this)),n=n.prev;return o},r.prototype.reduce=function(e,t){var r,o=this.head;if(arguments.length>1)r=t;else{if(!this.head)throw new TypeError("Reduce of empty list with no initial value");o=this.head.next,r=this.head.value}for(var n=0;null!==o;n++)r=e(r,o.value,n),o=o.next;return r},r.prototype.reduceReverse=function(e,t){var r,o=this.tail;if(arguments.length>1)r=t;else{if(!this.tail)throw new TypeError("Reduce of empty list with no initial value");o=this.tail.prev,r=this.tail.value}for(var n=this.length-1;null!==o;n--)r=e(r,o.value,n),o=o.prev;return r},r.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},r.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},r.prototype.slice=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var n=0,s=this.head;null!==s&&e>n;n++)s=s.next;for(;null!==s&&t>n;n++,s=s.next)o.push(s.value);return o},r.prototype.sliceReverse=function(e,t){0>(t=t||this.length)&&(t+=this.length),0>(e=e||0)&&(e+=this.length);var o=new r;if(e>t||0>t)return o;0>e&&(e=0),t>this.length&&(t=this.length);for(var n=this.length,s=this.tail;null!==s&&n>t;n--)s=s.prev;for(;null!==s&&n>e;n--,s=s.prev)o.push(s.value);return o},r.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),0>e&&(e=this.length+e);for(var n=0,s=this.head;null!==s&&e>n;n++)s=s.next;var i=[];for(n=0;s&&t>n;n++)i.push(s.value),s=this.removeNode(s);for(null===s&&(s=this.tail),s!==this.head&&s!==this.tail&&(s=s.prev),n=0;r.length>n;n++)s=o(this,s,r[n]);return i},r.prototype.reverse=function(){for(var e=this.head,t=this.tail,r=e;null!==r;r=r.prev){var o=r.prev;r.prev=r.next,r.next=o}return this.head=t,this.tail=e,this};try{Re("bdwRA")(r)}catch(e){}})),Re.register("bdwRA",(function(e,t){"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}})),Re.register("6rO9c",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t,o)=>{try{t=new r(t,o)}catch(e){return!1}return t.test(e)}})),Re.register("fx4Sd",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t)=>new r(e,t).set.map((e=>e.map((e=>e.value)).join(" ").trim().split(" ")))})),Re.register("bMVW7",((e,t)=>{var r=Re("j4Bpm"),o=Re("8YuUE");e.exports=(e,t,n)=>{let s=null,i=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&-1!==i.compare(e)||(s=e,i=new r(s,n)))})),s}})),Re.register("g5aoW",((e,t)=>{var r=Re("j4Bpm"),o=Re("8YuUE");e.exports=(e,t,n)=>{let s=null,i=null,a=null;try{a=new o(t,n)}catch(e){return null}return e.forEach((e=>{a.test(e)&&(s&&1!==i.compare(e)||(s=e,i=new r(s,n)))})),s}})),Re.register("hO4RL",((e,t)=>{var r=Re("j4Bpm"),o=Re("8YuUE"),n=Re("6bYo1");e.exports=(e,t)=>{e=new o(e,t);let s=new r("0.0.0");if(e.test(s))return s;if(s=new r("0.0.0-0"),e.test(s))return s;s=null;for(let t=0;e.set.length>t;++t){let o=null;e.set[t].forEach((e=>{const t=new r(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":o&&!n(t,o)||(o=t);break;case"<":case"<=":break;default:throw Error("Unexpected operation: "+e.operator)}})),!o||s&&!n(s,o)||(s=o)}return s&&e.test(s)?s:null}})),Re.register("hXGf0",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t)=>{try{return new r(e,t).range||"*"}catch(e){return null}}})),Re.register("2MRaB",((e,t)=>{var r=Re("j4Bpm"),o=Re("hDCF3");const{ANY:n}=o;var s=Re("8YuUE"),i=Re("6rO9c"),a=Re("6bYo1"),c=Re("98Pyg"),l=Re("ju11K"),u=Re("kRrXd");e.exports=(e,t,p,d)=>{let h,f,m,v,g;switch(e=new r(e,d),t=new s(t,d),p){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(i(e,t,d))return!1;for(let r=0;t.set.length>r;++r){let s=null,i=null;if(t.set[r].forEach((e=>{e.semver===n&&(e=new o(">=0.0.0")),s=s||e,i=i||e,h(e.semver,s.semver,d)?s=e:m(e.semver,i.semver,d)&&(i=e)})),s.operator===v||s.operator===g)return!1;if((!i.operator||i.operator===v)&&f(e,i.semver))return!1;if(i.operator===g&&m(e,i.semver))return!1}return!0}})),Re.register("bqGrY",((e,t)=>{var r=Re("2MRaB");e.exports=(e,t,o)=>r(e,t,">",o)})),Re.register("3AeSM",((e,t)=>{var r=Re("2MRaB");e.exports=(e,t,o)=>r(e,t,"<",o)})),Re.register("2Lyoi",((e,t)=>{var r=Re("8YuUE");e.exports=(e,t,o)=>(e=new r(e,o),t=new r(t,o),e.intersects(t))})),Re.register("5pzc6",((e,t)=>{var r=Re("6rO9c"),o=Re("1wyqe");e.exports=(e,t,n)=>{const s=[];let i=null,a=null;const c=e.sort(((e,t)=>o(e,t,n)));for(const e of c)r(e,t,n)?(a=e,i||(i=e)):(a&&s.push([i,a]),a=null,i=null);i&&s.push([i,null]);const l=[];for(const[e,t]of s)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}})),Re.register("2XGoS",((e,t)=>{var r=Re("8YuUE"),o=Re("hDCF3");const{ANY:n}=o;var s=Re("6rO9c"),i=Re("1wyqe");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 o(">=0.0.0-0")]:[new o(">=0.0.0")]}if(1===t.length&&t[0].semver===n){if(r.includePrerelease)return!0;t=[new o(">=0.0.0")]}const a=new Set;let u,p,d,h,f,m,v;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=i(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&&!s(e,u+"",r))return null;if(p&&!s(e,p+"",r))return null;for(const o of t)if(!s(e,o+"",r))return!1;return!0}let g=!(!p||r.includePrerelease||!p.semver.prerelease.length)&&p.semver,y=!(!u||r.includePrerelease||!u.semver.prerelease.length)&&u.semver;g&&1===g.prerelease.length&&"<"===p.operator&&0===g.prerelease[0]&&(g=!1);for(const e of t){if(v=v||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,u)if(y&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===y.major&&e.semver.minor===y.minor&&e.semver.patch===y.patch&&(y=!1),">"===e.operator||">="===e.operator){if(h=c(u,e,r),h===e&&h!==u)return!1}else if(">="===u.operator&&!s(u.semver,e+"",r))return!1;if(p)if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if(f=l(p,e,r),f===e&&f!==p)return!1}else if("<="===p.operator&&!s(p.semver,e+"",r))return!1;if(!e.operator&&(p||u)&&0!==d)return!1}return!(u&&m&&!p&&0!==d||p&&v&&!u&&0!==d||y||g)},c=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return o>0?e:0>o||">"===t.operator&&">="===e.operator?t:e},l=(e,t,r)=>{if(!e)return t;const o=i(e.semver,t.semver,r);return 0>o?e:o>0||"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,o={})=>{if(e===t)return!0;e=new r(e,o),t=new r(t,o);let n=!1;e:for(const r of e.set){for(const e of t.set){const t=a(r,e,o);if(n=n||null!==t,t)continue e}if(n)return!1}return!0}}));const Ar=Or(Re("1Hds5")),Ir=Or(le),Nr=Or(ue);Re.register("9AGbw",(function(e,t){"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0});var r=Re("cEfL5");let o;var n,s,i,a,c;(s=n=e.exports.HttpCodes||(e.exports.HttpCodes={}))[s.OK=200]="OK",s[s.MultipleChoices=300]="MultipleChoices",s[s.MovedPermanently=301]="MovedPermanently",s[s.ResourceMoved=302]="ResourceMoved",s[s.SeeOther=303]="SeeOther",s[s.NotModified=304]="NotModified",s[s.UseProxy=305]="UseProxy",s[s.SwitchProxy=306]="SwitchProxy",s[s.TemporaryRedirect=307]="TemporaryRedirect",s[s.PermanentRedirect=308]="PermanentRedirect",s[s.BadRequest=400]="BadRequest",s[s.Unauthorized=401]="Unauthorized",s[s.PaymentRequired=402]="PaymentRequired",s[s.Forbidden=403]="Forbidden",s[s.NotFound=404]="NotFound",s[s.MethodNotAllowed=405]="MethodNotAllowed",s[s.NotAcceptable=406]="NotAcceptable",s[s.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",s[s.RequestTimeout=408]="RequestTimeout",s[s.Conflict=409]="Conflict",s[s.Gone=410]="Gone",s[s.TooManyRequests=429]="TooManyRequests",s[s.InternalServerError=500]="InternalServerError",s[s.NotImplemented=501]="NotImplemented",s[s.BadGateway=502]="BadGateway",s[s.ServiceUnavailable=503]="ServiceUnavailable",s[s.GatewayTimeout=504]="GatewayTimeout",(a=i=e.exports.Headers||(e.exports.Headers={})).Accept="accept",a.ContentType="content-type",(c=e.exports.MediaTypes||(e.exports.MediaTypes={})).ApplicationJson="application/json",e.exports.getProxyUrl=e=>{let t=r.getProxyUrl(new URL(e));return t?t.href:""};const l=[n.MovedPermanently,n.ResourceMoved,n.SeeOther,n.TemporaryRedirect,n.PermanentRedirect],u=[n.BadGateway,n.ServiceUnavailable,n.GatewayTimeout],p=["OPTIONS","GET","DELETE","HEAD"];class d extends Error{constructor(e,t){super(e),this.name="HttpClientError",this.statusCode=t,Object.setPrototypeOf(this,d.prototype)}}e.exports.HttpClientError=d;class h{constructor(e){this.message=e}readBody(){return new Promise((async(e,t)=>{let r=Buffer.alloc(0);this.message.on("data",(e=>{r=Buffer.concat([r,e])})),this.message.on("end",(()=>{e(""+r)}))}))}}e.exports.HttpClientResponse=h,e.exports.isHttps=e=>"https:"===new URL(e).protocol;class f{constructor(e,t,r){this._ignoreSslError=!1,this._allowRedirects=!0,this._allowRedirectDowngrade=!1,this._maxRedirects=50,this._allowRetries=!1,this._maxRetries=1,this._keepAlive=!1,this._disposed=!1,this.userAgent=e,this.handlers=t||[],this.requestOptions=r,r&&(null!=r.ignoreSslError&&(this._ignoreSslError=r.ignoreSslError),this._socketTimeout=r.socketTimeout,null!=r.allowRedirects&&(this._allowRedirects=r.allowRedirects),null!=r.allowRedirectDowngrade&&(this._allowRedirectDowngrade=r.allowRedirectDowngrade),null!=r.maxRedirects&&(this._maxRedirects=Math.max(r.maxRedirects,0)),null!=r.keepAlive&&(this._keepAlive=r.keepAlive),null!=r.allowRetries&&(this._allowRetries=r.allowRetries),null!=r.maxRetries&&(this._maxRetries=r.maxRetries))}options(e,t){return this.request("OPTIONS",e,null,t||{})}get(e,t){return this.request("GET",e,null,t||{})}del(e,t){return this.request("DELETE",e,null,t||{})}post(e,t,r){return this.request("POST",e,t,r||{})}patch(e,t,r){return this.request("PATCH",e,t,r||{})}put(e,t,r){return this.request("PUT",e,t,r||{})}head(e,t){return this.request("HEAD",e,null,t||{})}sendStream(e,t,r,o){return this.request(e,t,r,o)}async getJson(e,t={}){t[i.Accept]=this._getExistingOrDefaultHeader(t,i.Accept,c.ApplicationJson);let r=await this.get(e,t);return this._processResponse(r,this.requestOptions)}async postJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,c.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,c.ApplicationJson);let n=await this.post(e,o,r);return this._processResponse(n,this.requestOptions)}async putJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,c.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,c.ApplicationJson);let n=await this.put(e,o,r);return this._processResponse(n,this.requestOptions)}async patchJson(e,t,r={}){let o=JSON.stringify(t,null,2);r[i.Accept]=this._getExistingOrDefaultHeader(r,i.Accept,c.ApplicationJson),r[i.ContentType]=this._getExistingOrDefaultHeader(r,i.ContentType,c.ApplicationJson);let n=await this.patch(e,o,r);return this._processResponse(n,this.requestOptions)}async request(e,t,r,o){if(this._disposed)throw Error("Client has already been disposed.");let s,i=new URL(t),a=this._prepareRequest(e,i,o),c=this._allowRetries&&-1!=p.indexOf(e)?this._maxRetries+1:1,d=0;for(;c>d;){if(s=await this.requestRaw(a,r),s&&s.message&&s.message.statusCode===n.Unauthorized){let e;for(let t=0;this.handlers.length>t;t++)if(this.handlers[t].canHandleAuthentication(s)){e=this.handlers[t];break}return e?e.handleAuthentication(this,a,r):s}let t=this._maxRedirects;for(;-1!=l.indexOf(s.message.statusCode)&&this._allowRedirects&&t>0;){const n=s.message.headers.location;if(!n)break;let c=new URL(n);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(await s.readBody(),c.hostname!==i.hostname)for(let e in o)"authorization"===e.toLowerCase()&&delete o[e];a=this._prepareRequest(e,c,o),s=await this.requestRaw(a,r),t--}if(-1==u.indexOf(s.message.statusCode))return s;d+=1,c>d&&(await s.readBody(),await this._performExponentialBackoff(d))}return s}dispose(){this._agent&&this._agent.destroy(),this._disposed=!0}requestRaw(e,t){return new Promise(((r,o)=>{this.requestRawWithCallback(e,t,((e,t)=>{e&&o(e),r(t)}))}))}requestRawWithCallback(e,t,r){let o;"string"==typeof t&&(e.options.headers["Content-Length"]=Buffer.byteLength(t,"utf8"));let n=!1,s=(e,t)=>{n||(n=!0,r(e,t))},i=e.httpModule.request(e.options,(e=>{let t=new h(e);s(null,t)}));i.on("socket",(e=>{o=e})),i.setTimeout(this._socketTimeout||18e4,(()=>{o&&o.end(),s(Error("Request timeout: "+e.options.path),null)})),i.on("error",(e=>{s(e,null)})),t&&"string"==typeof t&&i.write(t,"utf8"),t&&"string"!=typeof t?(t.on("close",(()=>{i.end()})),t.pipe(i)):i.end()}getAgent(e){let t=new URL(e);return this._getAgent(t)}_prepareRequest(e,t,r){const o={};o.parsedUrl=t;const n="https:"===o.parsedUrl.protocol;o.httpModule=n?xe:ye;const s=n?443:80;return o.options={},o.options.host=o.parsedUrl.hostname,o.options.port=o.parsedUrl.port?parseInt(o.parsedUrl.port):s,o.options.path=(o.parsedUrl.pathname||"")+(o.parsedUrl.search||""),o.options.method=e,o.options.headers=this._mergeHeaders(r),null!=this.userAgent&&(o.options.headers["user-agent"]=this.userAgent),o.options.agent=this._getAgent(o.parsedUrl),this.handlers&&this.handlers.forEach((e=>{e.prepareRequest(o.options)})),o}_mergeHeaders(e){const t=e=>Object.keys(e).reduce(((t,r)=>(t[r.toLowerCase()]=e[r],t)),{});return this.requestOptions&&this.requestOptions.headers?Object.assign({},t(this.requestOptions.headers),t(e)):t(e||{})}_getExistingOrDefaultHeader(e,t,r){let o;var n;return this.requestOptions&&this.requestOptions.headers&&(o=(n=this.requestOptions.headers,Object.keys(n).reduce(((e,t)=>(e[t.toLowerCase()]=n[t],e)),{}))[t]),e[t]||o||r}_getAgent(e){let t,n=r.getProxyUrl(e),s=n&&n.hostname;if(this._keepAlive&&s&&(t=this._proxyAgent),this._keepAlive&&!s&&(t=this._agent),t)return t;const i="https:"===e.protocol;let a=100;if(this.requestOptions&&(a=this.requestOptions.maxSockets||ye.globalAgent.maxSockets),s){o||(o=Re("hEhmi"));const e={maxSockets:a,keepAlive:this._keepAlive,proxy:{...(n.username||n.password)&&{proxyAuth:`${n.username}:${n.password}`},host:n.hostname,port:n.port}};let r;const s="https:"===n.protocol;r=i?s?o.httpsOverHttps:o.httpsOverHttp:s?o.httpOverHttps:o.httpOverHttp,t=r(e),this._proxyAgent=t}if(this._keepAlive&&!t){const e={keepAlive:this._keepAlive,maxSockets:a};t=i?new xe.Agent(e):new ye.Agent(e),this._agent=t}return t||(t=i?xe.globalAgent:ye.globalAgent),i&&this._ignoreSslError&&(t.options=Object.assign(t.options||{},{rejectUnauthorized:!1})),t}_performExponentialBackoff(e){const t=5*Math.pow(2,e=Math.min(10,e));return new Promise((e=>setTimeout((()=>e()),t)))}static dateTimeDeserializer(e,t){if("string"==typeof t){let e=new Date(t);if(!isNaN(e.valueOf()))return e}return t}async _processResponse(e,t){return new Promise((async(r,o)=>{const s=e.message.statusCode,i={statusCode:s,result:null,headers:{}};let a,c;s==n.NotFound&&r(i);try{c=await e.readBody(),c&&c.length>0&&(a=t&&t.deserializeDates?JSON.parse(c,f.dateTimeDeserializer):JSON.parse(c),i.result=a),i.headers=e.message.headers}catch(e){}if(s>299){let e;e=a&&a.message?a.message:c&&c.length>0?c:"Failed request: ("+s+")";let t=new d(e,s);t.result=i.result,o(t)}else r(i)}))}}e.exports.HttpClient=f})),Re.register("cEfL5",((e,t)=>{"use strict";function r(e){if(!e.hostname)return!1;let t,r=process.env.no_proxy||process.env.NO_PROXY||"";if(!r)return!1;e.port?t=+e.port:"http:"===e.protocol?t=80:"https:"===e.protocol&&(t=443);let o=[e.hostname.toUpperCase()];"number"==typeof t&&o.push(`${o[0]}:${t}`);for(let e of r.split(",").map((e=>e.trim().toUpperCase())).filter((e=>e)))if(o.some((t=>t===e)))return!0;return!1}Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.getProxyUrl=e=>{let t,o,n="https:"===e.protocol;return r(e)||(o=n?process.env.https_proxy||process.env.HTTPS_PROXY:process.env.http_proxy||process.env.HTTP_PROXY,o&&(t=new URL(o))),t},e.exports.checkBypass=r})),Re.register("hEhmi",((e,t)=>{e.exports=Re("88ZfI")})),Re.register("88ZfI",(function(e,r){function o(e){var t=this;t.options=e||{},t.proxyOptions=t.options.proxy||{},t.maxSockets=t.options.maxSockets||ye.Agent.defaultMaxSockets,t.requests=[],t.sockets=[],t.on("free",((e,r,o,n)=>{for(var i=s(r,o,n),a=0,c=t.requests.length;c>a;++a){var l=t.requests[a];if(l.host===i.host&&l.port===i.port)return t.requests.splice(a,1),void l.request.onSocket(e)}e.destroy(),t.removeSocket(e)}))}function n(e,t){var r=this;o.prototype.createSocket.call(r,e,(o=>{var n=e.request.getHeader("host"),s=i({},r.options,{socket:o,servername:n?n.replace(/:.*$/,""):e.host}),a=we.connect(0,s);r.sockets[r.sockets.indexOf(o)]=a,t(a)}))}function s(e,t,r){return"string"==typeof e?{host:e,port:t,localAddress:r}:e}function i(e){for(var t=1,r=arguments.length;r>t;++t){var o=arguments[t];if("object"==typeof o)for(var n=Object.keys(o),s=0,i=n.length;i>s;++s){var a=n[s];void 0!==o[a]&&(e[a]=o[a])}}return e}var a,c,l,u,p,d;t(e.exports,"httpOverHttps",(()=>u),(e=>u=e)),t(e.exports,"httpOverHttp",(()=>l),(e=>l=e)),t(e.exports,"httpsOverHttps",(()=>c),(e=>c=e)),t(e.exports,"debug",(()=>p),(e=>p=e)),t(e.exports,"httpsOverHttp",(()=>a),(e=>a=e)),l=e=>{var t=new o(e);return t.request=ye.request,t},a=e=>{var t=new o(e);return t.request=ye.request,t.createSocket=n,t.defaultPort=443,t},u=e=>{var t=new o(e);return t.request=xe.request,t},c=e=>{var t=new o(e);return t.request=xe.request,t.createSocket=n,t.defaultPort=443,t},ge.inherits(o,fe.EventEmitter),o.prototype.addRequest=function(e,t,r,o){var n=this,a=i({request:e},n.options,s(t,r,o));this.maxSockets>n.sockets.length?n.createSocket(a,(t=>{function r(){n.emit("free",t,a)}function o(e){n.removeSocket(t),t.removeListener("free",r),t.removeListener("close",o),t.removeListener("agentRemove",o)}t.on("free",r),t.on("close",o),t.on("agentRemove",o),e.onSocket(t)})):n.requests.push(a)},o.prototype.createSocket=function(e,t){function r(r,s,i){var c;return a.removeAllListeners(),s.removeAllListeners(),200!==r.statusCode?(d("tunneling socket could not be established, statusCode=%d",r.statusCode),s.destroy(),(c=Error("tunneling socket could not be established, statusCode="+r.statusCode)).code="ECONNRESET",e.request.emit("error",c),void o.removeSocket(n)):i.length>0?(d("got illegal response body from proxy"),s.destroy(),(c=Error("got illegal response body from proxy")).code="ECONNRESET",e.request.emit("error",c),void o.removeSocket(n)):(d("tunneling connection has established"),o.sockets[o.sockets.indexOf(n)]=s,t(s))}var o=this,n={};o.sockets.push(n);var s=i({},o.proxyOptions,{method:"CONNECT",path:e.host+":"+e.port,agent:!1,headers:{host:e.host+":"+e.port}});e.localAddress&&(s.localAddress=e.localAddress),s.proxyAuth&&(s.headers=s.headers||{},s.headers["Proxy-Authorization"]="Basic "+new Buffer(s.proxyAuth).toString("base64")),d("making CONNECT request");var a=o.request(s);a.useChunkedEncodingByDefault=!1,a.once("response",(e=>{e.upgrade=!0})),a.once("upgrade",((e,t,o)=>{process.nextTick((()=>{r(e,t,o)}))})),a.once("connect",r),a.once("error",(t=>{a.removeAllListeners(),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),o.removeSocket(n)})),a.end()},o.prototype.removeSocket=function(e){var t=this.sockets.indexOf(e);if(-1!==t){this.sockets.splice(t,1);var r=this.requests.shift();r&&this.createSocket(r,(e=>{r.request.onSocket(e)}))}},p=d=()=>{}}));const Lr=Or(Re("9AGbw")),jr=Or(Re("hBwzM")),Dr=Or(ve),kr=Or(ge);Re.register("kceBH",((e,t)=>{var r=Re("diWfV"),o=Re("8n3PT");e.exports=(e,t,n)=>{var s=t&&n||0;"string"==typeof e&&(t="binary"===e?Array(16):null,e=null);var i=(e=e||{}).random||(e.rng||r)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t)for(var a=0;16>a;++a)t[s+a]=i[a];return t||o(i)}})),Re.register("diWfV",((e,t)=>{e.exports=()=>Ee.randomBytes(16)})),Re.register("8n3PT",((e,t)=>{for(var r=[],o=0;256>o;++o)r[o]=(o+256).toString(16).substr(1);e.exports=(e,t)=>{var o=t||0;return""+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+"-"+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]+r[e[o++]]}}));const Mr=$r(Re("kceBH"));var Fr={},Gr=Fr&&Fr.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),Ur=Fr&&Fr.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Br=Fr&&Fr.__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)&&Gr(t,e,r);return Ur(t,e),t}),Vr=Fr&&Fr.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(Fr,"__esModule",{value:!0}),Fr.getExecOutput=Fr.exec=void 0,Re.register("fk1Ma",(function(e,t){"use strict";var r=e.exports&&e.exports.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),o=e.exports&&e.exports.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),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 o(t,e),t}),s=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.argStringToArray=e.exports.ToolRunner=void 0;const i=n(le),a=n(fe),c=n(de),l=n(ue),u=n(Re("q05Mr")),p=n(Re("fyhIP")),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(),o=this._getSpawnArgs(e);let n=t?"":"[command]";if(d)if(this._isCmdFile()){n+=r;for(const e of o)n+=" "+e}else if(e.windowsVerbatimArguments){n+=`"${r}"`;for(const e of o)n+=" "+e}else{n+=this._windowsQuoteCmdArg(r);for(const e of o)n+=" "+this._windowsQuoteCmdArg(e)}else{n+=r;for(const e of o)n+=" "+e}return n}_processLineBuffer(e,t,r){try{let o=t+""+e,n=o.indexOf(i.EOL);for(;n>-1;)r(o.substring(0,n)),o=o.substring(n+i.EOL.length),n=o.indexOf(i.EOL);return o}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 o of e)if(t.some((e=>e===o))){r=!0;break}if(!r)return e;let o='"',n=!0;for(let t=e.length;t>0;t--)o+=e[t-1],n&&"\\"===e[t-1]?o+="\\":'"'===e[t-1]?(n=!0,o+='"'):n=!1;return o+='"',o.split("").reverse().join("")}_uvQuoteCmdArg(e){if(!e)return'""';if(!e.includes(" ")&&!e.includes("\t")&&!e.includes('"'))return e;if(!e.includes('"')&&!e.includes("\\"))return`"${e}"`;let t='"',r=!0;for(let o=e.length;o>0;o--)t+=e[o-1],r&&"\\"===e[o-1]?t+="\\":'"'===e[o-1]?(r=!0,t+="\\"):r=!1;return t+='"',t.split("").reverse().join("")}_cloneExecOptions(e){const t={cwd:(e=e||{}).cwd||process.cwd(),env:e.env||process.env,silent:e.silent||!1,windowsVerbatimArguments:e.windowsVerbatimArguments||!1,failOnStdErr:e.failOnStdErr||!1,ignoreReturnCode:e.ignoreReturnCode||!1,delay:e.delay||1e4};return t.outStream=e.outStream||process.stdout,t.errStream=e.errStream||process.stderr,t}_getSpawnOptions(e,t){const r={};return r.cwd=(e=e||{}).cwd,r.env=e.env,r.windowsVerbatimArguments=e.windowsVerbatimArguments||this._isCmdFile(),e.windowsVerbatimArguments&&(r.argv0=`"${t}"`),r}exec(){return s(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)=>s(this,void 0,void 0,(function*(){this._debug("exec tool: "+this.toolPath),this._debug("arguments:");for(const e of this.args)this._debug(" "+e);const r=this._cloneExecOptions(this.options);!r.silent&&r.outStream&&r.outStream.write(this._getCommandString(r)+i.EOL);const o=new h(r,this.toolPath);if(o.on("debug",(e=>{this._debug(e)})),this.options.cwd&&!(yield p.exists(this.options.cwd)))return t(Error(`The cwd: ${this.options.cwd} does not exist!`));const n=this._getSpawnFileName(),s=c.spawn(n,this._getSpawnArgs(r),this._getSpawnOptions(this.options,n));let a="";s.stdout&&s.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(s.stderr&&s.stderr.on("data",(e=>{o.processStderr=!0,this.options.listeners&&this.options.listeners.stderr&&this.options.listeners.stderr(e),!r.silent&&r.errStream&&r.outStream&&(r.failOnStdErr?r.errStream:r.outStream).write(e),l=this._processLineBuffer(e,l,(e=>{this.options.listeners&&this.options.listeners.errline&&this.options.listeners.errline(e)}))})),s.on("error",(e=>{o.processError=e.message,o.processExited=!0,o.processClosed=!0,o.CheckComplete()})),s.on("exit",(e=>{o.processExitCode=e,o.processExited=!0,this._debug(`Exit code ${e} received from tool '${this.toolPath}'`),o.CheckComplete()})),s.on("close",(e=>{o.processExitCode=e,o.processExited=!0,o.processClosed=!0,this._debug(`STDIO streams have closed for tool '${this.toolPath}'`),o.CheckComplete()})),o.on("done",((r,o)=>{a.length>0&&this.emit("stdline",a),l.length>0&&this.emit("errline",l),s.removeAllListeners(),r?t(r):e(o)})),this.options.input){if(!s.stdin)throw Error("child process missing stdin");s.stdin.end(this.options.input)}}))))}))}},e.exports.argStringToArray=e=>{function t(e){n&&'"'!==e&&(s+="\\"),s+=e,n=!1}const r=[];let o=!1,n=!1,s="";for(let i=0;e.length>i;i++){const a=e.charAt(i);'"'!==a?"\\"===a&&n?t(a):"\\"===a&&o?n=!0:" "!==a||o?t(a):s.length>0&&(r.push(s),s=""):n?t(a):o=!o}return s.length>0&&r.push(s.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=Se.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())}}}));const qr=Br(Re("fk1Ma"));Fr.exec=w,Fr.getExecOutput=function(e,t,r){var o,n;return Vr(this,void 0,void 0,(function*(){let s="",i="";const a=new be.StringDecoder("utf8"),c=new be.StringDecoder("utf8"),l=null===(o=null==r?void 0:r.listeners)||void 0===o?void 0:o.stdout,u=null===(n=null==r?void 0:r.listeners)||void 0===n?void 0:n.stderr,p=Object.assign(Object.assign({},null==r?void 0:r.listeners),{stdout(e){s+=a.write(e),l&&l(e)},stderr(e){i+=c.write(e),u&&u(e)}}),d=yield w(e,t,Object.assign(Object.assign({},r),{listeners:p}));return s+=a.end(),i+=c.end(),{exitCode:d,stdout:s,stderr:i}}))};var Hr={},Xr=Hr&&Hr.__createBinding||(Object.create?(e,t,r,o)=>{void 0===o&&(o=r),Object.defineProperty(e,o,{enumerable:!0,get(){return t[r]}})}:(e,t,r,o)=>{void 0===o&&(o=r),e[o]=t[r]}),Wr=Hr&&Hr.__setModuleDefault||(Object.create?(e,t)=>{Object.defineProperty(e,"default",{enumerable:!0,value:t})}:(e,t)=>{e.default=t}),Yr=Hr&&Hr.__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)&&Xr(t,e,r);return Wr(t,e),t}),Zr=Hr&&Hr.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())})));Object.defineProperty(Hr,"__esModule",{value:!0}),Hr.RetryHelper=void 0;const zr=Yr(Re("6FGZZ"));Hr.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 Zr(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;zr.info(e.message)}const o=this.getSleepAmount();zr.info(`Waiting ${o} seconds before trying again`),yield this.sleep(o),r++}return yield e()}))}getSleepAmount(){return Math.floor(Math.random()*(this.maxSeconds-this.minSeconds+1))+this.minSeconds}sleep(e){return Zr(this,void 0,void 0,(function*(){return new Promise((t=>setTimeout(t,1e3*e)))}))}};class Jr extends Error{constructor(e){super("Unexpected HTTP response: "+e),this.httpStatusCode=e,Object.setPrototypeOf(this,new.target.prototype)}}br.HTTPError=Jr;const Kr="win32"===process.platform,Qr="darwin"===process.platform;br.downloadTool=function(e,t,r,o){return _r(this,void 0,void 0,(function*(){t=t||Nr.join(R(),Mr.default()),yield Cr.mkdirP(Nr.dirname(t)),Rr.debug("Downloading "+e),Rr.debug("Destination "+t);const n=C("TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS",10),s=C("TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS",20),i=new Hr.RetryHelper(3,n,s);return yield i.execute((()=>_r(this,void 0,void 0,(function*(){return yield function(e,t,r,o){return _r(this,void 0,void 0,(function*(){if(Tr.existsSync(t))throw Error(`Destination file path ${t} already exists`);const n=new Lr.HttpClient("actions/tool-cache",[],{allowRetries:!1});r&&(Rr.debug("set auth"),void 0===o&&(o={}),o.authorization=r);const s=yield n.get(e,o);if(200!==s.message.statusCode){const t=new Jr(s.message.statusCode);throw Rr.debug(`Failed to download from "${e}". Code(${s.message.statusCode}) Message(${s.message.statusMessage})`),t}const i=kr.promisify(Dr.pipeline),a=C("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>s.message))();let c=!1;try{return yield i(a,Tr.createWriteStream(t)),Rr.debug("download complete"),c=!0,t}finally{if(!c){Rr.debug("download failed");try{yield Cr.rmRF(t)}catch(e){Rr.debug(`Failed to delete '${t}'. ${e.message}`)}}}}))}(e,t||"",r,o)}))),(e=>!(e instanceof Jr&&e.httpStatusCode&&500>e.httpStatusCode&&408!==e.httpStatusCode&&429!==e.httpStatusCode)))}))},br.extract7z=function(e,t,r){return _r(this,void 0,void 0,(function*(){he.ok(Kr,"extract7z() not supported on current OS"),he.ok(e,'parameter "file" is required'),t=yield b(t);const o=process.cwd();if(process.chdir(t),r)try{const t=["x",Rr.isDebug()?"-bb1":"-bb0","-bd","-sccUTF-8",e],n={silent:!0};yield Fr.exec(`"${r}"`,t,n)}finally{process.chdir(o)}else{const r=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",`& '${Nr.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Source '${e.replace(/'/g,"''").replace(/"|\n|\r/g,"")}' -Target '${t.replace(/'/g,"''").replace(/"|\n|\r/g,"")}'`],n={silent:!0};try{const e=yield Cr.which("powershell",!0);yield Fr.exec(`"${e}"`,r,n)}finally{process.chdir(o)}}return t}))},br.extractTar=function(e,t,r="xz"){return _r(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");t=yield b(t),Rr.debug("Checking tar --version");let o="";yield Fr.exec("tar --version",[],{ignoreReturnCode:!0,silent:!0,listeners:{stdout(e){return o+=""+e},stderr(e){return o+=""+e}}}),Rr.debug(o.trim());const n=o.toUpperCase().includes("GNU TAR");let s;s=r instanceof Array?r:[r],Rr.isDebug()&&!r.includes("v")&&s.push("-v");let i=t,a=e;return Kr&&n&&(s.push("--force-local"),i=t.replace(/\\/g,"/"),a=e.replace(/\\/g,"/")),n&&(s.push("--warning=no-unknown-keyword"),s.push("--overwrite")),s.push("-C",i,"-f",a),yield Fr.exec("tar",s),t}))},br.extractXar=function(e,t,r=[]){return _r(this,void 0,void 0,(function*(){let o;he.ok(Qr,"extractXar() not supported on current OS"),he.ok(e,'parameter "file" is required'),t=yield b(t),o=r instanceof Array?r:[r],o.push("-x","-C",t,"-f",e),Rr.isDebug()&&o.push("-v");const n=yield Cr.which("xar",!0);var s;return yield Fr.exec(`"${n}"`,(s=o,Array.from(new Set(s)))),t}))},br.extractZip=function(e,t){return _r(this,void 0,void 0,(function*(){if(!e)throw Error("parameter 'file' is required");return t=yield b(t),Kr?yield function(e,t){return _r(this,void 0,void 0,(function*(){const r=e.replace(/'/g,"''").replace(/"|\n|\r/g,""),o=t.replace(/'/g,"''").replace(/"|\n|\r/g,""),n=yield Cr.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}', '${o}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${r}' -DestinationPath '${o}' -Force } else { throw $_ } } ;`].join(" ")];Rr.debug("Using pwsh at path: "+n),yield Fr.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 '${o}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${r}', '${o}', $true) }`].join(" ")],t=yield Cr.which("powershell",!0);Rr.debug("Using powershell at path: "+t),yield Fr.exec(`"${t}"`,e)}}))}(e,t):yield function(e,t){return _r(this,void 0,void 0,(function*(){const r=yield Cr.which("unzip",!0),o=[e];Rr.isDebug()||o.unshift("-q"),o.unshift("-o"),yield Fr.exec(`"${r}"`,o,{cwd:t})}))}(e,t),t}))},br.cacheDir=function(e,t,r,o){return _r(this,void 0,void 0,(function*(){if(r=jr.clean(r)||r,o=o||Ir.arch(),Rr.debug(`Caching tool ${t} ${r} ${o}`),Rr.debug("source dir: "+e),!Tr.statSync(e).isDirectory())throw Error("sourceDir is not a directory");const n=yield S(t,r,o);for(const t of Tr.readdirSync(e)){const r=Nr.join(e,t);yield Cr.cp(r,n,{recursive:!0})}return P(t,r,o),n}))},br.cacheFile=function(e,t,r,o,n){return _r(this,void 0,void 0,(function*(){if(o=jr.clean(o)||o,n=n||Ir.arch(),Rr.debug(`Caching tool ${r} ${o} ${n}`),Rr.debug("source file: "+e),!Tr.statSync(e).isFile())throw Error("sourceFile is not a file");const s=yield S(r,o,n),i=Nr.join(s,t);return Rr.debug("destination file "+i),yield Cr.cp(e,i),P(r,o,n),s}))},br.find=(e,t,r)=>{if(!e)throw Error("toolName parameter is required");if(!t)throw Error("versionSpec parameter is required");r=r||Ir.arch(),O(t)||(t=_(E(e,r),t));let o="";if(t){t=jr.clean(t)||"";const n=Nr.join($(),e,t,r);Rr.debug("checking cache: "+n),Tr.existsSync(n)&&Tr.existsSync(n+".complete")?(Rr.debug(`Found tool in cache ${e} ${t} ${r}`),o=n):Rr.debug("not found")}return o},br.findAllVersions=E,br.getManifestFromRepo=function(e,t,r,o="master"){return _r(this,void 0,void 0,(function*(){let n=[];const s=`https://api.github.com/repos/${e}/${t}/git/trees/${o}`,i=new Lr.HttpClient("tool-cache"),a={};r&&(Rr.debug("set auth"),a.authorization=r);const c=yield i.getJson(s,a);if(!c.result)return n;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 i.get(l,a)).readBody();if(u){u=u.replace(/^\uFEFF/,"");try{n=JSON.parse(u)}catch(e){Rr.debug("Invalid json")}}return n}))},br.findFromManifest=function(e,t,r,o=Ir.arch()){return _r(this,void 0,void 0,(function*(){return yield Ar._findMatch(e,t,r,o)}))},br.isExplicitVersion=O,br.evaluateVersions=_,Ce=Re("6FGZZ");var eo=Re("ju11K"),to=Re("5M2Mq"),ro=(Ce=Re("6FGZZ"),{});const{Worker:oo}=(()=>{try{return $e68279e3338bc371$import$ad18b0afc1a10da7}catch(e){return{}}})();let no,so=0;const io=new Map,ao=(e,t,r)=>new Promise(((o,n)=>{const s=so++;io.set(s,{resolve:o,reject:n}),void 0===no&&(no=new oo(ue.join(__dirname,"thread.js")),no.on("message",(e=>{const t=io.get(e.id);io.delete(e.id),0===io.size&&no.unref(),void 0===e.error?t.resolve(e.value):t.reject((e=>{const t=Error(e.message);for(const[r,o]of Object.entries(e))"message"!==r&&(t[r]=o);return t})(e.error))})),no.on("error",(e=>{throw e}))),no.ref(),no.postMessage({id:s,method:e,args:t},r)})),co=(e,t={})=>{let r=t.encoding||"hex";"buffer"===r&&(r=void 0);const o=Ee.createHash(t.algorithm||"sha512"),n=e=>{o.update(e,"string"==typeof e?"utf8":void 0)};return Array.isArray(e)?e.forEach(n):n(e),o.digest(r)};co.stream=(e={})=>{let t=e.encoding||"hex";"buffer"===t&&(t=void 0);const r=Ee.createHash(e.algorithm||"sha512");return r.setEncoding(t),r},co.fromStream=async(e,t={})=>{if(!Ut(e))throw new TypeError("Expected a stream");return new Promise(((r,o)=>{e.on("error",o).pipe(co.stream(t)).on("error",o).on("finish",(function(){r(this.read())}))}))},void 0===oo?(co.fromFile=async(e,t)=>co.fromStream(pe.createReadStream(e),t),co.async=async(e,t)=>co(e,t)):(co.fromFile=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{const o=await ao("hashFile",[t,e]);return"buffer"===r?Buffer.from(o):Buffer.from(o).toString(r)},co.async=async(e,{algorithm:t="sha512",encoding:r="hex"}={})=>{"buffer"===r&&(r=void 0);const o=await ao("hash",[t,e]);return void 0===r?Buffer.from(o):Buffer.from(o).toString(r)}),co.fromFileSync=(e,t)=>co(pe.readFileSync(e),t),ro=co,Ce=Re("6FGZZ"),Ce=Re("6FGZZ");var lo=Re("hBwzM");const uo="win32"===process.platform,po="linux"===process.platform,ho=["x86","x64"],fo=["win32","win64"];lo=Re("hBwzM");const mo=(Ce=Re("6FGZZ")).getInput("token"),vo=mo&&"GITHUB.COM"===new URL(process.env.GITHUB_SERVER_URL||"https://github.com").hostname.toUpperCase()?"token "+mo:void 0,go="https://raw.githubusercontent.com/actions/python-versions/main/versions-manifest.json";Ce=Re("6FGZZ"),Ce=Re("6FGZZ"),lo=Re("hBwzM");var yo=Re("9AGbw"),xo=(lo=Re("hBwzM"),Ce=Re("6FGZZ"),Re("1wyqe"));let wo,Eo;Ce=Re("6FGZZ"),eo=Re("ju11K");var bo=Re("k3zcS"),So=Re("q05Mr");const Po=(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"]),Oo=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"]),_o=new Map([["12.0.1","12.0.1-rc4"]]),$o={"3.5.0":"-ubuntu-14.04","3.5.1":"","3.5.2":"-ubuntu-14.04","3.6.0":"-ubuntu-14.04","3.6.1":"-ubuntu-14.04","3.6.2":"-ubuntu-14.04","3.7.0":"-ubuntu-14.04","3.7.1":"-ubuntu-14.04","3.8.0":"-ubuntu-16.04","3.8.1":"-ubuntu-16.04","3.9.0":"-ubuntu-16.04","3.9.1":"-ubuntu-16.04","4.0.0":"-ubuntu-16.04","5.0.0":"-ubuntu16.04","5.0.1":"-ubuntu-16.04","5.0.2":"-ubuntu-16.04","6.0.0":"-ubuntu-16.04","6.0.1":"-ubuntu-16.04","7.0.0":"-ubuntu-16.04","7.0.1":"-ubuntu-18.04","7.1.0":"-ubuntu-14.04","8.0.0":"-ubuntu-18.04","9.0.0":"-ubuntu-18.04","9.0.1":"-ubuntu-16.04","10.0.0":"-ubuntu-18.04","10.0.1":"-ubuntu-16.04","11.0.0":"-ubuntu-20.04","11.0.1":"-ubuntu-16.04","11.1.0":"-ubuntu-16.04","12.0.0":"-ubuntu-20.04","12.0.1-rc4":"-ubuntu-21.04"},Ro=new Set(["10.0.1"]);var Co;Ce=Re("6FGZZ"),Re.register("jJT7R",((e,r)=>{function o(e){return-1!=["PATH","INCLUDE","LIB","LIBPATH"].indexOf(e.toUpperCase())}function n(e,t,r,n,s){if("win32"!=Pe.platform)return void i.info("This is not a Windows virtual environment, bye!");Pe.env.PATH+=ue.delimiter+u;let p={win32:"x86",win64:"x64",x86_64:"x64","x86-64":"x64"};e.toLowerCase()in p&&(e=p[e.toLowerCase()]);var d=[e];"true"==n&&d.push("uwp"),t&&d.push(t),r&&d.push("-vcvars_ver="+r),"true"==s&&d.push("-vcvars_spectre_libs=spectre");const h=`"${(()=>{let e=(e=>{try{return(""+de.execSync("vswhere -products * -latest -prerelease -property installationPath")).trim()+"\\VC\\Auxiliary\\Build\\vcvarsall.bat"}catch(e){i.warning("vswhere failed: "+e)}return null})();if(e&&pe.existsSync(e))return i.info("Found with vswhere: "+e),e;i.info("Not found with vswhere");for(const t of l)for(const r of c)if(e=`${a}\\Microsoft Visual Studio\\${t}\\${r}\\VC\\Auxiliary\\Build\\vcvarsall.bat`,i.info("Trying standard location: "+e),pe.existsSync(e))return i.info("Found standard location: "+e),e;if(i.info("Not found in standard locations"),e=a+"\\Microsoft Visual C++ Build Tools\\vcbuildtools.bat",pe.existsSync(e))return i.info("Found VS 2015: "+e),e;throw i.info("Not found in VS 2015 location: "+e),Error("Microsoft Visual Studio not found")})()}" ${d.join(" ")}`;i.debug("vcvars command-line: "+h);const f=(""+de.execSync(`set && cls && ${h} && cls && set`,{shell:"cmd"})).split("\f"),m=f[0].split("\r\n"),v=f[1].split("\r\n"),g=f[2].split("\r\n"),y=v.filter((e=>!(!e.match(/^\[ERROR.*\]/)||e.match(/Error in script usage. The correct usage is:$/))));if(y.length>0)throw Error("invalid parameters\r\n"+y.join("\r\n"));let x={};for(let e of m){const[t,r]=e.split("=");x[t]=r}i.startGroup("Environment variables");for(let e of g){if(!e.includes("="))continue;let[t,r]=e.split("=");r!==x[t]&&(i.info("Setting "+t),o(t)&&(r=r.split(";").filter(((e,t,r)=>r.indexOf(e)===t)).join(";")),i.exportVariable(t,r))}i.endGroup(),i.info("Configured Developer Command Prompt")}var s;t(e.exports,"setupMSVCDevCmd",(()=>s),(e=>s=e));var i=Re("k2PtG");const a=Pe.env["ProgramFiles(x86)"],c=["Enterprise","Professional","Community"],l=["2019","2017"],u=a+"\\Microsoft Visual Studio\\Installer";s=n;try{n(i.getInput("arch"),i.getInput("sdk"),i.getInput("toolset"),i.getInput("uwp"),i.getInput("spectre"))}catch(e){i.setFailed("Could not setup Developer Command Prompt: "+e.message)}})),Re.register("k2PtG",(function(e,t){"use strict";function r(e){a.issue("error",e instanceof Error?""+e:e)}function o(e){a.issue("group",e)}function n(){a.issue("endgroup")}var s=e.exports&&e.exports.__awaiter||((e,t,r,o)=>new(r||(r=Promise))(((n,s)=>{function i(e){try{c(o.next(e))}catch(e){s(e)}}function a(e){try{c(o.throw(e))}catch(e){s(e)}}function c(e){var t;e.done?n(e.value):(t=e.value,t instanceof r?t:new r((e=>{e(t)}))).then(i,a)}c((o=o.apply(e,t||[])).next())}))),i=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});var a=Re("lTVmt"),c=Re("48DC3"),l=Re("3tRAC");const u=i(le),p=i(ue);var d,h;(h=d=e.exports.ExitCode||(e.exports.ExitCode={}))[h.Success=0]="Success",h[h.Failure=1]="Failure",e.exports.exportVariable=(e,t)=>{const r=l.toCommandValue(t);if(process.env[e]=r,process.env.GITHUB_ENV){const t="_GitHubActionsFileCommandDelimeter_";c.issueCommand("ENV",`${e}<<${t}${u.EOL}${r}${u.EOL}${t}`)}else a.issueCommand("set-env",{name:e},r)},e.exports.setSecret=e=>{a.issueCommand("add-mask",{},e)},e.exports.addPath=e=>{process.env.GITHUB_PATH?c.issueCommand("PATH",e):a.issueCommand("add-path",{},e),process.env.PATH=`${e}${p.delimiter}${process.env.PATH}`},e.exports.getInput=(e,t)=>{const r=process.env["INPUT_"+e.replace(/ /g,"_").toUpperCase()]||"";if(t&&t.required&&!r)throw Error("Input required and not supplied: "+e);return r.trim()},e.exports.setOutput=(e,t)=>{a.issueCommand("set-output",{name:e},t)},e.exports.setCommandEcho=e=>{a.issue("echo",e?"on":"off")},e.exports.setFailed=e=>{process.exitCode=d.Failure,r(e)},e.exports.isDebug=()=>"1"===process.env.RUNNER_DEBUG,e.exports.debug=e=>{a.issueCommand("debug",{},e)},e.exports.error=r,e.exports.warning=e=>{a.issue("warning",e instanceof Error?""+e:e)},e.exports.info=e=>{process.stdout.write(e+u.EOL)},e.exports.startGroup=o,e.exports.endGroup=n,e.exports.group=function(e,t){return s(this,void 0,void 0,(function*(){let r;o(e);try{r=yield t()}finally{n()}return r}))},e.exports.saveState=(e,t)=>{a.issueCommand("save-state",{name:e},t)},e.exports.getState=e=>process.env["STATE_"+e]||""})),Re.register("lTVmt",(function(e,t){"use strict";function r(e,t,r){const o=new i(e,t,r);process.stdout.write(""+o+n.EOL)}var o=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const n=o(le);var s=Re("3tRAC");e.exports.issueCommand=r,e.exports.issue=(e,t="")=>{r(e,{},t)};class i{constructor(e,t,r){e||(e="missing.command"),this.command=e,this.properties=t,this.message=r}toString(){let e="::"+this.command;if(this.properties&&Object.keys(this.properties).length>0){e+=" ";let r=!0;for(const o in this.properties)if(this.properties.hasOwnProperty(o)){const n=this.properties[o];n&&(r?r=!1:e+=",",e+=`${o}=${t=n,s.toCommandValue(t).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}`)}}var t;return e+="::"+(e=>s.toCommandValue(this.message).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A"))(),e}}})),Re.register("3tRAC",((e,t)=>{"use strict";Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports.toCommandValue=e=>null==e?"":"string"==typeof e||e instanceof String?e:JSON.stringify(e)})),Re.register("48DC3",((e,t)=>{"use strict";var r=e.exports&&e.exports.__importStar||(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t});Object.defineProperty(e.exports,"__esModule",{value:!0});const o=r(pe),n=r(le);var s=Re("3tRAC");e.exports.issueCommand=(e,t)=>{const r=process.env["GITHUB_"+e];if(!r)throw Error("Unable to find environment variable for file command "+e);if(!o.existsSync(r))throw Error("Missing file at path: "+r);o.appendFileSync(r,`${s.toCommandValue(t)}${n.EOL}`,{encoding:"utf8"})}}));const To=le.homedir();Co=e=>{if("string"!=typeof e)throw new TypeError("Expected a string, got "+typeof e);return To?e.replace(/^~(?=$|\/|\\)/,To):e};var Ao=Re("1JJDJ");const Io={msvc:"2019",llvm:"11.1.0",ninja:"1.10.2",cmake:"3.20.2",gcovr:"5.0",conan:"1.40.1",meson:"0.59.1",python:"3.9.7",gcc:"win32"===process.platform?"11.2.0":"11"};Ce=Re("6FGZZ"),bo=Re("k3zcS"),to=Re("5M2Mq"),Ce=Re("6FGZZ");const No={cmake(e,t,r){return A("cmake",e,I,t)},ninja(e,t,r){return A("ninja",e,ee,t)},python:B,conan(e,t,r){return H("conan",e)},meson(e,t,r){return H("meson",e)},gcovr(e,t,r){return H("gcovr",e)},async opencppcoverage(e,t,r){if("win32"!==process.platform)return;await x("opencppcoverage",e);const o="C:/Program Files/OpenCppCoverage";return g(o),{binDir:o}},llvm:K,gcc:ne,choco:y,brew:o,ccache(e,t,r){switch(process.platform){case"win32":return x("ccache",e);case"darwin":return v("ccache",e);case"linux":return m("ccache",e);default:throw Error("Unsupported platform")}},async doxygen(e,t,r){switch(process.platform){case"win32":{await x("doxygen.install",e),await x("graphviz",e),g("C:/Program Files/Graphviz/bin");const t="C:/Program Files/doxygen/bin";return g(t),{binDir:t}}case"darwin":return v("doxygen",e),v("graphviz",e);case"linux":return await m("doxygen",e),m("graphviz",e);default:throw Error("Unsupported platform")}},async cppcheck(e,t,r){switch(process.platform){case"win32":{await x("cppcheck",e);const t="C:/Program Files/Cppcheck";return g(t),{binDir:t}}case"darwin":return v("cppcheck",e);case"linux":return m("cppcheck",e);default:throw Error("Unsupported platform")}},msvc:Q},Lo=["choco","brew","python","cmake","ninja","conan","meson","gcovr","opencppcoverage","ccache","doxygen","cppcheck","llvm","gcc","msvc"],jo=["compiler","architecture",...Lo];ie(process.argv).then((e=>{process.exitCode=e})).catch((e=>{se("main() panicked!"),se(e),process.exitCode=1})); //# sourceMappingURL=setup_cpp.js.map diff --git a/dist/setup_cpp.js.map b/dist/setup_cpp.js.map index 2c780653..64fed387 100644 --- a/dist/setup_cpp.js.map +++ b/dist/setup_cpp.js.map @@ -1 +1 @@ -{"mappings":"qJAWSA,EAAOC,EAAMC,EAASC,GAM7B,GALkB,mBAAPD,IACTC,EAAKD,EACLA,EAAO,KAGJC,EAAI,CACP,GAAkB,mBAAPC,QACT,MAAM,IAAIC,UAAS,gCAGd,IAAID,SAAO,CAAWE,EAASC,KACpCP,EAAMC,EAAMC,GAAO,KAAkBM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,SAMhBC,GAAKT,EAAMC,GAAO,KAAkBM,EAAIC,KAElCD,IACS,WAAPA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,eClCKI,EAAUC,EAAkBC,EAAsBC,GAChE,IAAE,mBAAuBC,SAASC,QAAQC,UAAQ,OAGlD,GAAiB,iBAANC,GAAmB,MAAA,QACnBA,IAGX,MAAMC,EAAcC,EAAAC,IAAMC,KAAI,OAAO,CAAIC,SAAS,IAClD,OAAoB,OAAhBJ,GACFD,GAASM,GAAAC,QAAQN,WACRD,MAIXQ,GAAAC,aAAY,kGAAiG,CAC3GC,MAAK,YAEPV,GAAM,0BAEGA,cCrBFW,EAAsBC,EAAQC,GACnC,MAAMC,EAAMF,EAAO9B,QAAQgC,KAAOhB,QAAQgB,IACpCC,EAAMjB,QAAQiB,MACdC,EAAqC,MAAtBJ,EAAO9B,QAAQiC,IAE9BE,EAAkBD,QAAkCE,IAAlBpB,QAAQqB,QAAwBrB,QAAQqB,MAAMC,SAItF,GAAIH,EAAe,IAEXnB,QAAQqB,MAAMP,EAAO9B,QAAQiC,KAChC,MAAQM,IAKb,IAAIC,MAGAA,EAAWnB,GAAAC,KAAWQ,EAAOW,QAAO,CAChC1C,KAAMiC,EAAIU,G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BupD,OAAO1sD,IACNib,GAAK,oBACLA,GAAMjb,GACNvB,QAAQsE,SAAW","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/signal-exit@3.0.3/node_modules/signal-exit/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","src/utils/env/sudo.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupBrewPack.ts","src/utils/path/addPath.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/env/isci.ts","src/utils/setup/setupBin.ts","src/cmake/cmake.ts","src/python/setup-python/src/utils.ts","src/python/setup-python/src/find-python.ts","src/python/setup-python/src/install-pypy.ts","src/python/python.ts","src/python/setup-python/src/find-pypy.ts","src/python/setup-python/src/install-python.ts","src/utils/http/validate_url.ts","src/utils/setup/setupPipPack.ts","src/utils/setup/version.ts","src/utils/setup/extract.ts","src/llvm/llvm.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/default_versions.ts","src/gcc/gcc.ts","src/utils/io/io.ts","src/main.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","node_modules/.pnpm/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-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/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.3/node_modules/signal-exit/signals.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/@actions+io@1.1.1/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.5/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/subset.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/hasha@5.2.2/node_modules/hasha/index.js","src/msvc/msvc-dev-cmd/index.js","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/doxygen/doxygen.ts","src/cppcheck/cppcheck.ts"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","import { execFileSync } from \"child_process\"\nimport { dirname } from \"path\"\nimport which from \"which\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupBrew(_version: string, _setupCppDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n execFileSync(`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`, {\n stdio: \"inherit\",\n })\n binDir = \"/usr/local/bin/\"\n\n return { binDir }\n}\n","'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","// 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.\nvar assert = require('assert')\nvar signals = require('./signals.js')\nvar isWin = /^win/i.test(process.platform)\n\nvar EE = require('events')\n/* istanbul ignore if */\nif (typeof EE !== 'function') {\n EE = EE.EventEmitter\n}\n\nvar emitter\nif (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.\nif (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n}\n\nmodule.exports = function (cb, opts) {\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\nmodule.exports.unload = unload\nfunction unload () {\n if (!loaded) {\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\nfunction emit (event, code, signal) {\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n}\n\n// { : , ... }\nvar sigListeners = {}\nsignals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\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 process.kill(process.pid, sig)\n }\n }\n})\n\nmodule.exports.signals = function () {\n return signals\n}\n\nmodule.exports.load = load\n\nvar loaded = false\n\nfunction load () {\n if (loaded) {\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\nvar originalProcessReallyExit = process.reallyExit\nfunction processReallyExit (code) {\n process.exitCode = code || 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\nvar originalProcessEmit = process.emit\nfunction processEmit (ev, arg) {\n if (ev === 'exit') {\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n}\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 execa from \"execa\"\nimport which from \"which\"\n\nlet _issudo: boolean | undefined = undefined\n\nexport function isRoot(): boolean {\n if (_issudo !== undefined) {\n return _issudo\n }\n // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions, @typescript-eslint/no-unnecessary-condition\n _issudo = (Boolean(process.env.CI) || process.getuid?.() === 0) && which.sync(\"sudo\", { nothrow: true }) !== null\n return _issudo\n}\n\nexport function mightSudo(command: string) {\n if (isRoot()) {\n return `sudo ${command}`\n }\n return command\n}\n\nexport function execaSudo(file: string, args: string[]) {\n if (isRoot()) {\n return execa.command(`sudo ${[file, ...args].join(\" \")}`, { shell: true })\n } else {\n return execa(file, args)\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execaSudo } from \"../env/sudo\"\n\nlet didUpdate: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repository: boolean | string = true\n): Promise {\n const apt = \"apt-get\"\n\n if (typeof repository === \"string\") {\n await execaSudo(\"add-apt-repository\", [\"--update\", \"-y\", repository])\n }\n\n if (!didUpdate || repository === true) {\n await execaSudo(apt, [\"update\", \"-y\"])\n didUpdate = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n await execaSudo(apt, [\"install\", \"-y\", `${name}=${version}`])\n } catch {\n await execaSudo(apt, [\"install\", \"-y\", `${name}-${version}`])\n }\n } else {\n await execaSudo(apt, [\"install\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\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 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\n return { binDir: \"/usr/local/bin/\" }\n}\n","import { addPath as ghAddPath } from \"@actions/core\"\nimport { delimiter } from \"path\"\nimport * as core from \"@actions/core\"\nimport execa from \"execa\"\n\n/** An add path function that works locally or inside GitHub Actions */\nexport async function addPath(path: string) {\n try {\n ghAddPath(path)\n } catch (err) {\n try {\n core.error(err as Error)\n switch (process.platform) {\n case \"win32\": {\n await execa(`setx PATH=${path};%PATH%`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n await execa.command(`echo \"export PATH=${path}:$PATH\" >> ~/.profile`)\n await execa.command(`source ~/.profile`)\n core.info(`${path} was added to ~/.profile`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n } catch (err2) {\n core.error(err2 as Error)\n }\n core.error(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): InstallationInfo | undefined {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.commandSync(\n `@\"%SystemRoot%\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\" && SET \"PATH=%PATH%;%ALLUSERSPROFILE%\\\\chocolatey\\\\bin\"`\n )\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n\n if (existsSync(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"../path/addPath\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args])\n } else {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args])\n }\n\n const binDir = \"C:/ProgramData/Chocolatey/bin/\"\n await addPath(binDir)\n return { binDir }\n}\n",null,null,"export function isCI() {\n return !(process.env.CI === undefined || process.env.CI === \"\" || process.env.CI === \"false\")\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../path/addPath\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport * as hasha from \"hasha\"\nimport { tmpdir } from \"os\"\nimport { isCI } from \"../env/isci\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise | Promise\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n}\n\n/**\n * A function that:\n *\n * - Downlodas and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the dowloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform) => PackageInfo | Promise,\n setupCppDir: string\n): Promise {\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACH ?? join(tmpdir(), \"setup_cpp\", \"ToolCache\")\n\n const { url, binRelativeDir, extractedFolderName, extractFunction } = await getPackageInfo(version, process.platform)\n\n // Restore from cache (if found).\n if (isCI()) {\n try {\n const dir = find(name, version)\n if (dir) {\n info(`${name} ${version} was found in the cache.`)\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n await addPath(binDir)\n return { installDir, binDir }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n // Get an unique output directory name from the URL.\n const key: string = await hasha.async(url, { algorithm: \"md5\" })\n const rootDir = join(setupCppDir, key)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(rootDir)) {\n info(`Download and extract ${name} ${version}`)\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, rootDir)\n }\n\n const installDir = join(rootDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (isCI() && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(rootDir, name, version)\n }\n\n return { installDir, binDir }\n}\n/** Add bin extension to a binary. This will be `.exe` on Windows. */\nexport function addBinExtension(name: string) {\n if (process.platform === \"win32\") {\n return `${name}.exe`\n }\n return name\n}\n","import { extractZip, extractTar } from \"@actions/tool-cache\"\nimport { getInput } from \"@actions/core\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform?: NodeJS.Platform): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n const platformStr = platform ?? process.platform\n const arch = getInput(\"architecture\") || process.arch\n switch (platformStr) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platformStr}'`)\n }\n}\n\n/** Setup cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCmake(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupCppDir)\n}\n","import fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n let fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a seperate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\n// Note on the tool cache layout for PyPy:\n// PyPy has its own versioning scheme that doesn't follow the Python versioning scheme.\n// A particular version of PyPy may contain one or more versions of the Python interpreter.\n// For example, PyPy 7.0 contains Python 2.7, 3.5, and 3.6-alpha.\n// We only care about the Python version, so we don't use the PyPy version for the tool cache.\nfunction usePyPy(\n majorVersion: '2' | '3.6',\n architecture: string\n): InstalledVersion {\n const findPyPy = tc.find.bind(undefined, 'PyPy', majorVersion);\n let installDir: string | null = findPyPy(architecture);\n\n if (!installDir && IS_WINDOWS) {\n // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.\n // On our Windows virtual environments, we only install an x86 version.\n // Fall back to x86.\n installDir = findPyPy('x86');\n }\n\n if (!installDir) {\n // PyPy not installed in $(Agent.ToolsDirectory)\n throw new Error(`PyPy ${majorVersion} not found`);\n }\n\n // For PyPy, Windows uses 'bin', not 'Scripts'.\n const _binDir = path.join(installDir, 'bin');\n\n // On Linux and macOS, the Python interpreter is in 'bin'.\n // On Windows, it is in the installation root.\n const pythonLocation = IS_WINDOWS ? installDir : _binDir;\n core.exportVariable('pythonLocation', pythonLocation);\n\n core.addPath(installDir);\n core.addPath(_binDir);\n // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be \"Scripts\" on Windows.\n if (IS_WINDOWS) {\n core.addPath(path.join(installDir, 'Scripts'));\n }\n\n const impl = 'pypy' + majorVersion.toString();\n core.setOutput('python-version', impl);\n\n return {impl: impl, version: versionFromPath(installDir)};\n}\n\nasync function useCpythonVersion(\n version: string,\n architecture: string\n): Promise {\n const desugaredVersionSpec = desugarDevVersion(version);\n const semanticVersionSpec = pythonVersionToSemantic(desugaredVersionSpec);\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n throw new Error(\n [\n `Version ${version} with arch ${architecture} not found`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n core.exportVariable('pythonLocation', installDir);\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n\n core.addPath(installDir);\n core.addPath(binDir(installDir));\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `>= 3.8.0-a0`. */\nfunction desugarDevVersion(versionSpec: string) {\n if (versionSpec.endsWith('-dev')) {\n const versionRoot = versionSpec.slice(0, -'-dev'.length);\n return `>= ${versionRoot}.0-a0`;\n } else {\n return versionSpec;\n }\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n */\nexport function pythonVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2');\n}\n\nexport async function findPythonVersion(\n version: string,\n architecture: string\n): Promise {\n switch (version.toUpperCase()) {\n case 'PYPY2':\n return usePyPy('2', architecture);\n case 'PYPY3':\n // keep pypy3 pointing to 3.6 for backward compatibility\n return usePyPy('3.6', architecture);\n default:\n return await useCpythonVersion(version, architecture);\n }\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string\n) {\n let downloadDir;\n\n const releases = await getAvailablePyPyVersions();\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n const releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture\n );\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n let downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nasync function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n let binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(pypyVersionToSemantic(item.pypy_version), pypyVersion);\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any) {\n return item.files.some(\n (file: any) =>\n WINDOWS_ARCHS.includes(file.arch) &&\n WINDOWS_PLATFORMS.includes(file.platform)\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any) {\n return releases.files.find(\n (item: any) =>\n WINDOWS_ARCHS.includes(item.arch) &&\n WINDOWS_PLATFORMS.includes(item.platform)\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n","import * as core from \"@actions/core\"\nimport * as finder from \"./setup-python/src/find-python\"\nimport * as finderPyPy from \"./setup-python/src/find-pypy\"\nimport * as path from \"path\"\nimport { addPath } from \"../utils/path/addPath\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport hasha from \"hasha\"\nimport { join } from \"path\"\nimport { isCI } from \"../utils/env/isci\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy-\")\n}\n\nexport async function setupPython(version: string, setupCppDir: string, arch: string) {\n if (!isCI()) {\n // TODO parse versoin\n return setupPythonViaSystem(\"\", setupCppDir, arch)\n }\n\n try {\n if (isPyPyVersion(version)) {\n const installed = await finderPyPy.findPyPyVersion(version, arch)\n core.info(\n `Successfully setup PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`\n )\n } else {\n const installed = await finder.findPythonVersion(version, arch)\n core.info(`Successfully setup ${installed.impl} (${installed.version})`)\n }\n const matchersPath = path.join(\"setup-pthon\", \".github\")\n core.info(`##[add-matcher]${path.join(matchersPath, \"python.json\")}`)\n return undefined\n } catch (err) {\n return setupPythonViaSystem(version, setupCppDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(version: string, setupCppDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // Get an unique output directory name from the URL.\n const key: string = await hasha.async(version + arch, { algorithm: \"md5\" })\n const installDir = join(setupCppDir, key, \"python\")\n const binDir = installDir\n await setupChocoPack(\"python3\", version, [`/InstallDir:${installDir}`])\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n core.info(`Add ${binDir} to PATH`)\n await addPath(binDir)\n\n return { installDir, binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n const installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({\n installDir,\n resolvedPythonVersion,\n resolvedPyPyVersion\n } = await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n core.exportVariable('pythonLocation', pythonLocation);\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN || isGhes() ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string\n): Promise {\n const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n return await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n const pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n}\n\nfunction isGhes(): boolean {\n const ghUrl = new URL(\n process.env['GITHUB_SERVER_URL'] || 'https://github.com'\n );\n return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';\n}\n","import * as https from \"https\"\n\nexport function isValidUrl(url: string) {\n return new Promise((resolve) => {\n https.get(url, (res) => {\n if (res.statusCode !== undefined && res.statusCode >= 200 && res.statusCode <= 399) {\n resolve(true)\n } else {\n resolve(false)\n }\n })\n })\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../path/addPath\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\n\nlet pip: string | undefined\n\nlet binDir: string | undefined\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string) {\n // setup python and pip if needed\n if (pip === undefined) {\n if (which.sync(\"pip3\", { nothrow: true }) !== null) {\n pip = \"pip3\"\n } else if (which.sync(\"pip\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n pip = \"pip\"\n } else {\n await setupPython(\"3.x\", \"\", process.arch)\n pip = \"pip3\"\n }\n }\n\n execa.sync(pip, [\"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name])\n\n if (binDir === undefined) {\n if (process.platform === \"linux\") {\n binDir = \"/home/runner/.local/bin/\"\n } else if (process.platform === \"darwin\") {\n binDir = \"/usr/local/bin/\"\n } else {\n try {\n binDir = join(\n (await getExecOutput('python3 -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n } catch {\n binDir = join(\n (await getExecOutput('python -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n }\n }\n info(`${binDir} to PATH`)\n await addPath(binDir)\n }\n\n return { binDir }\n}\n","import { isValidUrl } from \"../http/validate_url\"\nimport semverCompare from \"semver/functions/compare\"\nimport { getExecOutput } from \"@actions/exec\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort()\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise\n): Promise<[string, string]> {\n if (!versions.has(version)) {\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n }\n\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isValidUrl(url))) {\n return [specificVersion, url]\n }\n }\n\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const { stderr, stdout } = await getExecOutput(file, [\"--version\"])\n const version = stdout.match(versionRegex)?.[1] ?? stderr.match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n","import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nexport { extractTar, extractXar, extract7z, extractZip } from \"@actions/tool-cache\"\n\nexport async function extractExe(file: string, dest: string) {\n await execa(\"7z\", [\"x\", file, `-o${dest}`])\n return dest\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=1\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags])\n return dest\n}\n","import * as core from \"@actions/core\"\nimport * as path from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isValidUrl } from \"../utils/http/validate_url\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport { getSpecificVersionAndUrl, getVersions } from \"../utils/setup/version\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { existsSync } from \"fs\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n])\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING: Set = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n])\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map([[\"12.0.1\", \"12.0.1-rc4\"]])\n\n/** The (latest) Ubuntu versions for each LLVM version. */\nconst UBUNTU: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1-rc4\": \"-ubuntu-21.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"12.0.1-rc4\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nfunction getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let ubuntu: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n ubuntu = version\n } else if (version !== \"\" && version in UBUNTU) {\n ubuntu = UBUNTU[version]\n } else {\n // default to the maximum vresion\n ubuntu = UBUNTU[MAX_UBUNTU]\n }\n\n const prefix = \"clang+llvm-\"\n const suffix = version === \"5.0.0\" ? `-linux-x86_64${ubuntu}.tar.xz` : `-x86_64-linux-gnu${ubuntu}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\"])\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isValidUrl(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\n//================================================\n// Action\n//================================================\n\nconst DEFAULT_NIX_DIRECTORY = \"./llvm\"\nconst DEFAULT_WIN32_DIRECTORY = \"C:/Program Files/LLVM\"\n\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n core.setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n extractFunction: platform === \"win32\" ? extractExe : extractTarByExe,\n }\n}\n\nexport async function setupLLVM(\n version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string | undefined,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n let directory = _setupCppDir\n if (directory === \"\" || directory === undefined) {\n directory = process.platform === \"win32\" ? DEFAULT_WIN32_DIRECTORY : DEFAULT_NIX_DIRECTORY\n }\n\n directory = path.resolve(directory)\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, directory)\n\n // Adding environment variables\n const lib = path.join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n core.exportVariable(\"LLVM_PATH\", directory) // the output of this action\n\n const llvmMajor = semverMajor(version)\n\n // Setup LLVM as the compiler\n core.exportVariable(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`)\n core.exportVariable(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`)\n\n core.exportVariable(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`)\n\n core.exportVariable(\"LDFLAGS\", `-L${directory}/lib`)\n core.exportVariable(\"CPPFLAGS\", `-I${directory}/include`)\n\n core.exportVariable(\"CC\", `${directory}/bin/clang`)\n core.exportVariable(\"CXX\", `${directory}/bin/clang++`)\n\n core.exportVariable(\"LIBRARY_PATH\", `${directory}/lib`)\n\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (existsSync(sdkroot)) {\n core.exportVariable(\"SDKROOT\", sdkroot)\n }\n } catch (e) {\n core.error(e as Error | string)\n }\n }\n\n return installationInfo\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { error, exportVariable } from \"@actions/core\"\nimport { existsSync } from \"fs\"\n\ntype MSVCVersion = \"2015\" | \"2017\" | \"2019\" | string\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupMSVC(\n version: MSVCVersion,\n _setupCppDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n): Promise {\n if (process.platform !== \"win32\") {\n return\n }\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n try {\n if (version === \"2015\") {\n toolset = \"14.0.25420.1\"\n await setupChocoPack(\"visualcpp-build-tools\", toolset, [\n \"--ignore-dependencies\",\n \"--params\",\n \"'/IncludeRequired'\",\n ])\n\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n if (existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n } else if (version === \"2017\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.38.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"2019\") {\n toolset = \"14.29.30133\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.2.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n }\n } catch (e) {\n error(e as string | Error)\n }\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n\n // lazy load the action so it is not executed\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const { setupMSVCDevCmd } = require(\"./msvc-dev-cmd/index\")\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre)\n}\n","import { extractZip } from \"@actions/tool-cache\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupNinja(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupCppDir)\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","const DefaultVersions: Record = {\n msvc: \"2019\",\n llvm: \"11.1.0\",\n ninja: \"1.10.2\",\n cmake: \"3.20.2\",\n gcovr: \"5.0\",\n conan: \"1.40.1\",\n meson: \"0.59.1\",\n python: \"3.9.7\",\n gcc: process.platform === \"win32\" ? \"11.2.0\" : \"11\",\n}\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined) {\n if (version === \"true\" || (version === undefined && name in DefaultVersions)) {\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n","import { exportVariable, info } from \"@actions/core\"\nimport { addPath } from \"../utils/path/addPath\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, _setupCppDir: string, arch: string) {\n let binDir: string | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n await setupChocoPack(\"mingw\", version)\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n 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(\"C:/ProgramData/Chocolatey/bin/g++.exe\")) {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n break\n }\n case \"darwin\": {\n binDir = setupBrewPack(\"gcc\", version).binDir\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n binDir = (await setupAptPack(\"g++\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n binDir = (await setupAptPack(\"g++-multilib\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n }\n break\n }\n // TODO support bare-metal\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, \"ppa:ubuntu-toolchain-r/test\")\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (binDir !== undefined) {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n // // Setup gcc as the compiler\n // exportVariable(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`)\n // exportVariable(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`)\n\n // exportVariable(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`)\n\n // exportVariable(\"LDFLAGS\", `-L${installDir}/lib`)\n // exportVariable(\"CPPFLAGS\", `-I${installDir}/include`)\n\n if (process.platform === \"win32\") {\n exportVariable(\"CC\", `${binDir}/gcc`)\n exportVariable(\"CXX\", `${binDir}/g++`)\n } else {\n exportVariable(\"CC\", `${binDir}/gcc-${majorVersion}`)\n exportVariable(\"CXX\", `${binDir}/g++-${majorVersion}`)\n }\n return { binDir }\n }\n return undefined\n}\n","import * as core from \"@actions/core\"\nimport { isCI } from \"../env/isci\"\n\nexport function error(err: string | Error) {\n return isCI() ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return isCI() ? core.info(msg) : console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n","import * as core from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPython } from \"./python/python\"\nimport mri from \"mri\"\nimport untildify from \"untildify\"\nimport { isCI } from \"./utils/env/isci\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, success } from \"./utils/io/io\"\n\n/** The setup functions */\nconst setups = {\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n ccache: setupCcache,\n doxygen: setupDoxygen,\n cppcheck: setupCppcheck,\n msvc: setupMSVC,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"choco\",\n \"brew\",\n \"python\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"cppcheck\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n]\n\n/** The possible inputs to the program */\ntype Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n\n// an array of possible inputs\nconst inputs: Array = [\"compiler\", \"architecture\", ...tools]\n\n/** The main entry function */\nexport async function main(args: string[]): Promise {\n if (!isCI()) {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = mri & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildify(\"~/setup_cpp\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n // installing the specified tools\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const value = opts[tool]\n\n // skip if undefined\n if (value !== undefined) {\n // get the setup function\n const setupFunction = setups[tool]\n\n // runnig the setup function for this tool\n try {\n // eslint-disable-next-line no-await-in-loop\n const installationInfo = await setupFunction(getVersion(tool, value), setupCppDir, arch)\n\n // preparing a report string\n if (installationInfo !== undefined) {\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } else {\n successMessages.push(`${tool} was successfully installed`)\n }\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n try {\n if (maybeCompiler !== undefined) {\n // detecting the compiler version. Devide the given string by `-` and use the second element as the version\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n let version: string | undefined\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n version = maybeVersion\n } else {\n error(`Invalid version ${maybeVersion} used for the compiler. Using the default version...`)\n }\n }\n\n // install the compiler. We allow some aliases for the compiler name\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n await setupLLVM(getVersion(\"llvm\", version) as string, setupCppDir, arch)\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n await setupGcc(getVersion(\"gcc\", version) as string, setupCppDir, arch)\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n await setupMSVC(getVersion(\"msvc\", version) as string, setupCppDir, arch)\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n core.info(\"setup_cpp finished\")\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nfunction printHelp() {\n core.info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan \"1.40.1\"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-11'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = core.getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\n\nfunction getSuccessMessage(tool: string, installationInfo: InstallationInfo) {\n let msg = `${tool} was successfully installed`\n if (\"installDir\" in installationInfo) {\n msg += `\\nThe installation direcotry is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\nThe binary direcotry is ${installationInfo.binDir}`\n }\n return msg\n}\n",null,null,null,null,"const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","'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';\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';\nmodule.exports = /^#!(.*)/;\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","// 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","'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",null,null,null,"// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nmodule.exports = {\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,\n SemVer: require('./classes/semver'),\n compareIdentifiers: require('./internal/identifiers').compareIdentifiers,\n rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,\n parse: require('./functions/parse'),\n valid: require('./functions/valid'),\n clean: require('./functions/clean'),\n inc: require('./functions/inc'),\n diff: require('./functions/diff'),\n major: require('./functions/major'),\n minor: require('./functions/minor'),\n patch: require('./functions/patch'),\n prerelease: require('./functions/prerelease'),\n compare: require('./functions/compare'),\n rcompare: require('./functions/rcompare'),\n compareLoose: require('./functions/compare-loose'),\n compareBuild: require('./functions/compare-build'),\n sort: require('./functions/sort'),\n rsort: require('./functions/rsort'),\n gt: require('./functions/gt'),\n lt: require('./functions/lt'),\n eq: require('./functions/eq'),\n neq: require('./functions/neq'),\n gte: require('./functions/gte'),\n lte: require('./functions/lte'),\n cmp: require('./functions/cmp'),\n coerce: require('./functions/coerce'),\n Comparator: require('./classes/comparator'),\n Range: require('./classes/range'),\n satisfies: require('./functions/satisfies'),\n toComparators: require('./ranges/to-comparators'),\n maxSatisfying: require('./ranges/max-satisfying'),\n minSatisfying: require('./ranges/min-satisfying'),\n minVersion: require('./ranges/min-version'),\n validRange: require('./ranges/valid'),\n outside: require('./ranges/outside'),\n gtr: require('./ranges/gtr'),\n ltr: require('./ranges/ltr'),\n intersects: require('./ranges/intersects'),\n simplifyRange: require('./ranges/simplify'),\n subset: require('./ranges/subset'),\n}\n","const { MAX_SAFE_COMPONENT_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst createToken = (name, value, isGlobal) => {\n const index = R++\n debug(index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*')\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\.0\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\.0\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\nmodule.exports = {\n SEMVER_SPEC_VERSION,\n MAX_LENGTH,\n MAX_SAFE_INTEGER,\n MAX_SAFE_COMPONENT_LENGTH\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.format()\n this.raw = this.version\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about so we always get a consistent\n// obj with keys in a consistent order.\nconst opts = ['includePrerelease', 'loose', 'rtl']\nconst parseOptions = options =>\n !options ? {}\n : typeof options !== 'object' ? { loose: true }\n : opts.filter(k => options[k]).reduce((options, k) => {\n options[k] = true\n return options\n }, {})\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers\n}\n","const {MAX_LENGTH} = require('../internal/constants')\nconst { re, t } = require('../internal/re')\nconst SemVer = require('../classes/semver')\n\nconst parseOptions = require('../internal/parse-options')\nconst parse = (version, options) => {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n const r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier) => {\n if (typeof (options) === 'string') {\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(version, options).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse')\nconst eq = require('./eq')\n\nconst diff = (version1, version2) => {\n if (eq(version1, version2)) {\n return null\n } else {\n const v1 = parse(version1)\n const v2 = parse(version2)\n const hasPre = v1.prerelease.length || v2.prerelease.length\n const prefix = hasPre ? 'pre' : ''\n const defaultResult = hasPre ? 'prerelease' : ''\n for (const key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst {re, t} = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null)\n return null\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n const sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n const sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n const sameSemVer = this.semver.version === comp.semver.version\n const differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n const oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<')\n const oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>')\n\n return (\n sameDirectionIncreasing ||\n sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan ||\n oppositeDirectionsGreaterThan\n )\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst {re, t} = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range\n .split(/\\s*\\|\\|\\s*/)\n // map the range to a 2d array of comparators\n .map(range => this.parseRange(range.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${range}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0)\n this.set = [first]\n else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => {\n return comps.join(' ').trim()\n })\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n range = range.trim()\n\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = Object.keys(this.options).join(',')\n const memoKey = `parseRange:${memoOpts}:${range}`\n const cached = cache.get(memoKey)\n if (cached)\n return cached\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, re[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n // in loose mode, throw out any that are not valid comparators\n .filter(this.options.loose ? comp => !!comp.match(compRe) : () => true)\n .map(comp => new Comparator(comp, this.options))\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const l = rangeList.length\n const rangeMap = new Map()\n for (const comp of rangeList) {\n if (isNullSet(comp))\n return [comp]\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has(''))\n rangeMap.delete('')\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace\n} = require('../internal/re')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\nconst replaceTildes = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceTilde(comp, options)\n }).join(' ')\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\nconst replaceCarets = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceCaret(comp, options)\n }).join(' ')\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map((comp) => {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<')\n pr = '-0'\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp.trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return (`${from} ${to}`).trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin)))\n minver = setMin\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst {ANY} = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let min = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!min)\n min = version\n } else {\n if (prev) {\n set.push([min, prev])\n }\n prev = null\n min = null\n }\n }\n if (min)\n set.push([min, null])\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max)\n ranges.push(min)\n else if (!max && min === v[0])\n ranges.push('*')\n else if (!max)\n ranges.push(`>=${min}`)\n else if (min === v[0])\n ranges.push(`<=${max}`)\n else\n ranges.push(`${min} - ${max}`)\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom)\n return true\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub)\n continue OUTER\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull)\n return false\n }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom)\n return true\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY)\n return true\n else if (options.includePrerelease)\n sub = [ new Comparator('>=0.0.0-0') ]\n else\n sub = [ new Comparator('>=0.0.0') ]\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease)\n return true\n else\n dom = [ new Comparator('>=0.0.0') ]\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=')\n gt = higherGT(gt, c, options)\n else if (c.operator === '<' || c.operator === '<=')\n lt = lowerLT(lt, c, options)\n else\n eqSet.add(c.semver)\n }\n\n if (eqSet.size > 1)\n return null\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0)\n return null\n else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<='))\n return null\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options))\n return null\n\n if (lt && !satisfies(eq, String(lt), options))\n return null\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options))\n return false\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt)\n return false\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options))\n return false\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt)\n return false\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options))\n return false\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0)\n return false\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0)\n return false\n\n if (lt && hasDomGT && !gt && gtltComp !== 0)\n return false\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre)\n return false\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,null,"'use strict';\nconst fs = require('fs');\nconst path = require('path');\nconst crypto = require('crypto');\nconst isStream = require('is-stream');\n\nconst {Worker} = (() => {\n\ttry {\n\t\treturn require('worker_threads');\n\t} catch (_) {\n\t\treturn {};\n\t}\n})();\n\nlet worker; // Lazy\nlet taskIdCounter = 0;\nconst tasks = new Map();\n\nconst recreateWorkerError = sourceError => {\n\tconst error = new Error(sourceError.message);\n\n\tfor (const [key, value] of Object.entries(sourceError)) {\n\t\tif (key !== 'message') {\n\t\t\terror[key] = value;\n\t\t}\n\t}\n\n\treturn error;\n};\n\nconst createWorker = () => {\n\tworker = new Worker(path.join(__dirname, 'thread.js'));\n\n\tworker.on('message', message => {\n\t\tconst task = tasks.get(message.id);\n\t\ttasks.delete(message.id);\n\n\t\tif (tasks.size === 0) {\n\t\t\tworker.unref();\n\t\t}\n\n\t\tif (message.error === undefined) {\n\t\t\ttask.resolve(message.value);\n\t\t} else {\n\t\t\ttask.reject(recreateWorkerError(message.error));\n\t\t}\n\t});\n\n\tworker.on('error', error => {\n\t\t// Any error here is effectively an equivalent of segfault, and have no scope, so we just throw it on callback level\n\t\tthrow error;\n\t});\n};\n\nconst taskWorker = (method, args, transferList) => new Promise((resolve, reject) => {\n\tconst id = taskIdCounter++;\n\ttasks.set(id, {resolve, reject});\n\n\tif (worker === undefined) {\n\t\tcreateWorker();\n\t}\n\n\tworker.ref();\n\tworker.postMessage({id, method, args}, transferList);\n});\n\nconst hasha = (input, options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst hash = crypto.createHash(options.algorithm || 'sha512');\n\n\tconst update = buffer => {\n\t\tconst inputEncoding = typeof buffer === 'string' ? 'utf8' : undefined;\n\t\thash.update(buffer, inputEncoding);\n\t};\n\n\tif (Array.isArray(input)) {\n\t\tinput.forEach(update);\n\t} else {\n\t\tupdate(input);\n\t}\n\n\treturn hash.digest(outputEncoding);\n};\n\nhasha.stream = (options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst stream = crypto.createHash(options.algorithm || 'sha512');\n\tstream.setEncoding(outputEncoding);\n\treturn stream;\n};\n\nhasha.fromStream = async (stream, options = {}) => {\n\tif (!isStream(stream)) {\n\t\tthrow new TypeError('Expected a stream');\n\t}\n\n\treturn new Promise((resolve, reject) => {\n\t\t// TODO: Use `stream.pipeline` and `stream.finished` when targeting Node.js 10\n\t\tstream\n\t\t\t.on('error', reject)\n\t\t\t.pipe(hasha.stream(options))\n\t\t\t.on('error', reject)\n\t\t\t.on('finish', function () {\n\t\t\t\tresolve(this.read());\n\t\t\t});\n\t});\n};\n\nif (Worker === undefined) {\n\thasha.fromFile = async (filePath, options) => hasha.fromStream(fs.createReadStream(filePath), options);\n\thasha.async = async (input, options) => hasha(input, options);\n} else {\n\thasha.fromFile = async (filePath, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tconst hash = await taskWorker('hashFile', [algorithm, filePath]);\n\n\t\tif (encoding === 'buffer') {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n\n\thasha.async = async (input, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tif (encoding === 'buffer') {\n\t\t\tencoding = undefined;\n\t\t}\n\n\t\tconst hash = await taskWorker('hash', [algorithm, input]);\n\n\t\tif (encoding === undefined) {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n}\n\nhasha.fromFileSync = (filePath, options) => hasha(fs.readFileSync(filePath), options);\n\nmodule.exports = hasha;\n","const core = require('@actions/core')\r\nconst child_process = require('child_process')\r\nconst fs = require('fs')\r\nconst path = require('path')\r\nconst process = require('process')\r\n\r\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\r\n\r\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\r\nconst VERSIONS = ['2019', '2017']\r\n\r\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\r\n\r\nfunction findWithVswhere(pattern) {\r\n try {\r\n let installationPath = child_process.execSync(`vswhere -products * -latest -prerelease -property installationPath`).toString().trim()\r\n return installationPath + '\\\\' + pattern\r\n } catch (e) {\r\n core.warning(`vswhere failed: ${e}`)\r\n }\r\n return null\r\n}\r\n\r\nfunction findVcvarsall() {\r\n // If vswhere is available, ask it about the location of the latest Visual Studio.\r\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat')\r\n if (path && fs.existsSync(path)) {\r\n core.info(`Found with vswhere: ${path}`)\r\n return path\r\n }\r\n core.info(\"Not found with vswhere\")\r\n\r\n // If that does not work, try the standard installation locations,\r\n // starting with the latest and moving to the oldest.\r\n for (const ver of VERSIONS) {\r\n for (const ed of EDITIONS) {\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\r\n core.info(`Trying standard location: ${path}`)\r\n if (fs.existsSync(path)) {\r\n core.info(`Found standard location: ${path}`)\r\n return path\r\n }\r\n }\r\n }\r\n core.info(\"Not found in standard locations\")\r\n\r\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\r\n if (fs.existsSync(path)) {\r\n core.info(`Found VS 2015: ${path}`)\r\n return path\r\n }\r\n core.info(`Not found in VS 2015 location: ${path}`)\r\n\r\n throw new Error('Microsoft Visual Studio not found')\r\n}\r\n\r\nfunction isPathVariable(name) {\r\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\r\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\r\n}\r\n\r\nfunction filterPathValue(path) {\r\n let paths = path.split(';')\r\n // Remove duplicates by keeping the first occurance and preserving order.\r\n // This keeps path shadowing working as intended.\r\n function unique(value, index, self) {\r\n return self.indexOf(value) === index\r\n }\r\n return paths.filter(unique).join(';')\r\n}\r\n\r\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\r\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre) {\r\n if (process.platform != 'win32') {\r\n core.info('This is not a Windows virtual environment, bye!')\r\n return\r\n }\r\n\r\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\r\n process.env.PATH += path.delimiter + VSWHERE_PATH\r\n\r\n // There are all sorts of way the architectures are called. In addition to\r\n // values supported by Microsoft Visual C++, recognize some common aliases.\r\n let arch_aliases = {\r\n \"win32\": \"x86\",\r\n \"win64\": \"x64\",\r\n \"x86_64\": \"x64\",\r\n \"x86-64\": \"x64\",\r\n }\r\n // Ignore case when matching as that's what humans expect.\r\n if (arch.toLowerCase() in arch_aliases) {\r\n arch = arch_aliases[arch.toLowerCase()]\r\n }\r\n\r\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\r\n // Call the configuration batch file and then output *all* the environment variables.\r\n\r\n var args = [arch]\r\n if (uwp == 'true') {\r\n args.push('uwp')\r\n }\r\n if (sdk) {\r\n args.push(sdk)\r\n }\r\n if (toolset) {\r\n args.push(`-vcvars_ver=${toolset}`)\r\n }\r\n if (spectre == 'true') {\r\n args.push('-vcvars_spectre_libs=spectre')\r\n }\r\n\r\n const vcvars = `\"${findVcvarsall()}\" ${args.join(' ')}`\r\n core.debug(`vcvars command-line: ${vcvars}`)\r\n\r\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\r\n const cmd_output_parts = cmd_output_string.split('\\f')\r\n\r\n const old_environment = cmd_output_parts[0].split('\\r\\n')\r\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\r\n const new_environment = cmd_output_parts[2].split('\\r\\n')\r\n\r\n // If vsvars.bat is given an incorrect command line, it will print out\r\n // an error and *still* exit successfully. Parse out errors from output\r\n // which don't look like environment variables, and fail if appropriate.\r\n const error_messages = vcvars_output.filter((line) => {\r\n if (line.match(/^\\[ERROR.*\\]/)) {\r\n // Don't print this particular line which will be confusing in output.\r\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\r\n return true\r\n }\r\n }\r\n return false\r\n })\r\n if (error_messages.length > 0) {\r\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\r\n }\r\n\r\n // Convert old environment lines into a dictionary for easier lookup.\r\n let old_env_vars = {}\r\n for (let string of old_environment) {\r\n const [name, value] = string.split('=')\r\n old_env_vars[name] = value\r\n }\r\n\r\n // Now look at the new environment and export everything that changed.\r\n // These are the variables set by vsvars.bat. Also export everything\r\n // that was not there during the first sweep: those are new variables.\r\n core.startGroup('Environment variables')\r\n for (let string of new_environment) {\r\n // vsvars.bat likes to print some fluff at the beginning.\r\n // Skip lines that don't look like environment variables.\r\n if (!string.includes('=')) {\r\n continue;\r\n }\r\n let [name, new_value] = string.split('=')\r\n let old_value = old_env_vars[name]\r\n // For new variables \"old_value === undefined\".\r\n if (new_value !== old_value) {\r\n core.info(`Setting ${name}`)\r\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\r\n // just prepends its stuff without checking if its already there.\r\n // This makes repeated invocations of this action fail after some\r\n // point, when the environment variable overflows. Avoid that.\r\n if (isPathVariable(name)) {\r\n new_value = filterPathValue(new_value)\r\n }\r\n core.exportVariable(name, new_value)\r\n }\r\n }\r\n core.endGroup()\r\n\r\n core.info(`Configured Developer Command Prompt`)\r\n}\r\nexports.setupMSVCDevCmd = setupMSVCDevCmd\r\n\r\nfunction main() {\r\n var arch = core.getInput('arch')\r\n const sdk = core.getInput('sdk')\r\n const toolset = core.getInput('toolset')\r\n const uwp = core.getInput('uwp')\r\n const spectre = core.getInput('spectre')\r\n\r\n setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre)\r\n}\r\n\r\ntry {\r\n main()\r\n}\r\ncatch (e) {\r\n core.setFailed('Could not setup Developer Command Prompt: ' + e.message)\r\n}\r\n",null,null,null,null,"'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","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/path/addPath\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupCppDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n await addPath(binDir)\n return { binDir }\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n return setupAptPack(\"ccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/path/addPath\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupDoxygen(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n await setupChocoPack(\"graphviz\", version)\n await addPath(\"C:/Program Files/Graphviz/bin\")\n const binDir = \"C:/Program Files/doxygen/bin\"\n await addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n setupBrewPack(\"doxygen\", version)\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n await setupAptPack(\"doxygen\", version)\n return setupAptPack(\"graphviz\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/path/addPath\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = \"C:/Program Files/Cppcheck\"\n await addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n return setupAptPack(\"cppcheck\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$f8af4289d8ca9e73$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$f8af4289d8ca9e73$var$core","code","ignoreErrors","$ee44094b0ce40db3$export$80e483d773064391","_version","_setupCppDir","_arch","includes","process","platform","$ee44094b0ce40db3$var$binDir","maybeBinDir","$parcel$interopDefault","$36da3a1038e77300$exports","sync","nothrow","$3U0nv$path","dirname","$3U0nv$child_process","execFileSync","stdio","$9c96c19a4bceb1f0$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$25914d0b552b8416$exports","pathExt","delimiter","e","$43e248ca34798005$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$43e248ca34798005$var$verifyENOENT","status","$43e248ca34798005$var$isWin","file","$41c6ec4dbf52b862$var$spawn","$cc3250f0d1cc3019$exports","spawned","spawn","$43e248ca34798005$exports","hookChildProcess","$1b016d3820a9e1fb$var$unload","$1b016d3820a9e1fb$var$loaded","forEach","sig","removeListener","$1b016d3820a9e1fb$var$sigListeners","emit","$1b016d3820a9e1fb$var$originalProcessEmit","reallyExit","$1b016d3820a9e1fb$var$originalProcessReallyExit","$1b016d3820a9e1fb$var$emitter","count","$1b016d3820a9e1fb$var$emit","event","signal","emitted","$1b016d3820a9e1fb$var$load","filter","on","$1b016d3820a9e1fb$var$processEmit","$1b016d3820a9e1fb$var$processReallyExit","exitCode","call","ev","arg","ret","apply","this","arguments","$aca27b1924527bc3$var$getStream","inputStream","maxBuffer","Infinity","stream","$d43cdcba2540f772$exports","rejectPromise","error","getBufferedLength","$aca27b1924527bc3$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$aca27b1924527bc3$var$streamPipelinePromisified","$aca27b1924527bc3$var$MaxBufferError","$17b14aa64fad5157$export$7a2afc14661ec6f","$17b14aa64fad5157$var$_issudo","CI","ref","getuid","$cc47f4e6f3d32c78$exports","join","shell","$13dd793dec60e501$export$3facfc9dd87fb850","name","version","repository","apt","$13dd793dec60e501$var$didUpdate","binDir","$1c9ab043a2b6cc59$export$698568e794d5249f","$1c9ab043a2b6cc59$var$hasBrew","$3f76876b48282571$export$82747387e53cecaa","$6FGZZ","addPath","info","err2","PATH","$a9f3b01a430d25e5$export$1e92c536ef588459","$a9f3b01a430d25e5$var$binDir","commandSync","maybeChoco","$3U0nv$fs","existsSync","$6b27956e33e7a968$export$50c32c11cefe4e9f","$6b27956e33e7a968$var$hasChoco","$8d6c57753101e07a$var$exec","commandLine","commandArgs","$8d6c57753101e07a$var$tr","argStringToArray","length","toolPath","slice","concat","ToolRunner","exec","$fbdecc6eadfe47c2$var$findAllVersions","toolName","arch","versions","$fbdecc6eadfe47c2$var$os","$fbdecc6eadfe47c2$var$path","$fbdecc6eadfe47c2$var$_getCacheDirectory","$fbdecc6eadfe47c2$var$fs","children","readdirSync","child","$fbdecc6eadfe47c2$var$isExplicitVersion","fullPath","push","$fbdecc6eadfe47c2$var$_createExtractFolder","dest","$fbdecc6eadfe47c2$var$_getTempDirectory","$fbdecc6eadfe47c2$var$v4_1","default","$fbdecc6eadfe47c2$var$io","mkdirP","$fbdecc6eadfe47c2$var$_createToolPath","tool","folderPath","$fbdecc6eadfe47c2$var$semver","clean","$fbdecc6eadfe47c2$var$core","debug","markerPath","rmRF","$fbdecc6eadfe47c2$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$fbdecc6eadfe47c2$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$3U0nv$assert","ok","tempDirectory","$fbdecc6eadfe47c2$var$_getGlobal","key","defaultValue","value","$parcel$global","$419624936a2d1758$export$ed762e2824bae281","$f5c161df7ab7d525$export$97748eae293469f0","getPackageInfo","setupCppDir","_RUNNER_TEMP","_RUNNER_TOOL_CACH","RUNNER_TEMP","$3U0nv$os","tmpdir","RUNNER_TOOL_CACHE","RUNNER_TOOL_CACH","url","binRelativeDir","extractedFolderName","extractFunction","dir","$fbdecc6eadfe47c2$exports","find","installDir","$e68279e3338bc371$exports","async","algorithm","rootDir","downloaded","downloadTool","cacheDir","$d40f2b84e4520e56$var$getCmakePackageInfo","semVersion","$5M2Mq","platformStr","getInput","isOld","$ju11K","osArchStr","folderName","extractZip","extractTar","$20ba577a744e9e96$export$ceb9c2d7a4f63acc","sourceName","targetName","setExecutable","sourcePath","targetPath","symlinkSync","$20ba577a744e9e96$export$b6afdf548cce3a42","chmodSync","$20ba577a744e9e96$export$9bc8f45691b95052","$20ba577a744e9e96$export$a8cf3209e098ef45","$hBwzM","validRange","pypyVersion","$f022661c7ba1f0db$var$usePyPy","majorVersion","architecture","findPyPy","bind","_binDir","exportVariable","impl","setOutput","$f022661c7ba1f0db$var$versionFromPath","parts","split","sep","idx","findIndex","part","$36577581e049d94c$export$8c67d7fc35de7958","$36577581e049d94c$export$acc94c5223ff25f0","replace","$36577581e049d94c$export$c6639e8493cb127","releases","files","item","$20ba577a744e9e96$export$9cadc82215ebe904","$20ba577a744e9e96$export$64a6690eaf7c329","$36577581e049d94c$export$d85e7c823fa73d0d","$ca400c34eccdb57a$export$44f2938a3d4c6806","$ca400c34eccdb57a$export$d395cd30fbb6736a","startsWith","installed","resolvedPyPyVersion","resolvedPythonVersion","pypyVersionSpec","pythonVersion","test","$588899e011391f63$export$2b5406d6a9a13bbc","$588899e011391f63$export$2da61456f93be513","basename","$20ba577a744e9e96$export$4b4f4b982a2ffe07","fileVersion","readFileSync","$20ba577a744e9e96$export$6f314ebc3b60c941","$588899e011391f63$export$34f0d1e2635db91b","downloadDir","http","$9AGbw","HttpClient","response","getJson","result","$36577581e049d94c$var$getAvailablePyPyVersions","releaseData","filterReleases","isPythonVersionSatisfied","coerce","python_version","isPyPyVersionSatisfied","pypy_version","isArchPresent","some","$36577581e049d94c$export$b4c35c3de1bb74e3","$36577581e049d94c$export$c8431f03a51e60bd","foundRelease","previous","current","compare","$36577581e049d94c$export$596d3412b21fc15f","foundAsset","downloadUrl","download_url","pypyPath","archiveName","toolDir","pypyFilePath","$20ba577a744e9e96$export$52096b3724e0cb70","binaryPath","pypyBinaryPath","pythonBinaryPostfix","major","pypyBinaryPostfix","binaryExtension","$36577581e049d94c$var$createPyPySymlink","pythonLocation","pythonBinary","$8d6c57753101e07a$exports","$36577581e049d94c$var$installPip","$36577581e049d94c$export$14ff1a21eed93571","$588899e011391f63$export$cba4b335bf603792","toUpperCase","semanticVersionSpec","endsWith","manifest","getManifestFromRepo","$655628f797e4869d$var$AUTH","findFromManifest","$655628f797e4869d$export$138d6544552d0d44","release","pythonPath","pythonExtractedFolder","workingDirectory","$20ba577a744e9e96$export$ce1daefa7994a9d0","LD_LIBRARY_PATH","silent","listeners","stdout","data","trim","stderr","$655628f797e4869d$var$installPython","$655628f797e4869d$export$2705050b37fec3c","$655628f797e4869d$export$4f76c28790455076","EOL","libPath","pyLibPath","$f022661c7ba1f0db$var$binDir","version1","minor","userScriptsDir","$f022661c7ba1f0db$var$useCpythonVersion","$f022661c7ba1f0db$export$1cecbd6a84583d9c","matchersPath","installInfo","$09efbe6c03c5e8c7$export$7a973c5043caaa2","$3U0nv$https","get","res","statusCode","$cc05105aff3c1e34$export$e258427b01a4f9","$cc05105aff3c1e34$var$pip","givenFile","targetVersion","versionRegex","givenVersion","ref1","getExecOutput","ref2","match","console","$1bd49ae4b85c403c$export$afe0511abe6ee3d2","$1wyqe","$1bd49ae4b85c403c$export$8c44dcfae252b9ed","$cc05105aff3c1e34$var$binDir","$a016715d3f18f117$export$8d5b126e4b80c6cb","$a016715d3f18f117$export$a18ed1c85be027cc","flags","$q05Mr","$ecc64fd197c4357d$var$getGitHubUrl","prefix","suffix","$ecc64fd197c4357d$var$getReleaseUrl","$ecc64fd197c4357d$export$18a6cfbf25963f89","$ecc64fd197c4357d$var$DARWIN_MISSING","has","$ecc64fd197c4357d$var$getDarwinUrl","versionGiven","rc","$ecc64fd197c4357d$var$UBUNTU_RC","ubuntu","$ecc64fd197c4357d$var$UBUNTU","$ecc64fd197c4357d$var$getLinuxUrl","$ecc64fd197c4357d$var$WIN32_MISSING","olderThan9_1","fallback","$ecc64fd197c4357d$var$getWin32Url","$ecc64fd197c4357d$var$getLLVMPackageInfo","specificVersion","getUrl","semversion","Array","from","v","reverse","$1bd49ae4b85c403c$export$e931c90ac13970ac","$1bd49ae4b85c403c$export$fa70b3b14f4c526f","$ecc64fd197c4357d$export$af592c7790e0a325","$ecc64fd197c4357d$export$3a1c6393858a80d7","directory","installationInfo","lib","_LD_LIBRARY_PATH","ld","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$k3zcS","xcrun","sdkroot","$4181a77ac5f8ec9b$export$966b4aa3adf6692d","sdk","uwp","spectre","toolset","VCTargetsPath","setupMSVCDevCmd","parcelRequire","$4181a77ac5f8ec9b$var$getArch","$427622416622ca4f$var$getNinjaPackageInfo","ninjaPlatform","$427622416622ca4f$var$getNinjaPlatform","$57aef85c779683b0$var$toArr","any","isArray","$57aef85c779683b0$var$toVal","out","val","opts","x","old","nxt","string","indexOf","String","boolean","_","$f66466a1fc9f3b2a$export$2763ddd825e0c80d","$f66466a1fc9f3b2a$var$DefaultVersions","$cc0d561bc6dacbdc$export$ee0e00e9eebd0473","$67e22ba8b9f0eedf$export$ee1d219d24aa76a7","log","$6e0c5961feb4ff1d$export$cc99187a73fc5866","ACTIONS_ALLOW_UNSECURE_COMMANDS","k","arr","j","len","alibi","alias","strict","unknown","defaults","splice","keys","charCodeAt","substring","repeat","shift","$57aef85c779683b0$export$9099ad97b570f7c","$6e0c5961feb4ff1d$var$inputs","fromEntries","map","inp","$6e0c5961feb4ff1d$var$maybeGetInput","h","_architecture","help","_SETUP_CPP_DIR","SETUP_CPP_DIR","$6db0685353f69c12$exports","successMessages","errorMessages","$6e0c5961feb4ff1d$var$tools","setupFunction","$6e0c5961feb4ff1d$var$setups","$6e0c5961feb4ff1d$var$getSuccessMessage","maybeCompiler","compiler","compilerAndMaybeVersion","maybeVersion","$1JJDJ","tool1","$67e22ba8b9f0eedf$export$e62dab7d9fa2e29e","msg","toLowerCase","$4db7ed1a4fdd712a$var$getInput","required","trimWhitespace","$4db7ed1a4fdd712a$var$error","message","properties","$eOxkI","issueCommand","$lK3O3","toCommandProperties","$4db7ed1a4fdd712a$var$startGroup","issue","$4db7ed1a4fdd712a$var$endGroup","$4db7ed1a4fdd712a$var$os","$4db7ed1a4fdd712a$var$__importStar","$4db7ed1a4fdd712a$var$path","$4db7ed1a4fdd712a$var$ExitCode","ExitCode","module","exports","convertedVal","toCommandValue","$85a1M","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","write","setCommandEcho","enabled","setFailed","Failure","isDebug","warning","notice","startGroup","endGroup","group","fn","saveState","getState","$ac8f977adbabca24$var$issueCommand","cmd","$ac8f977adbabca24$var$Command","$ac8f977adbabca24$var$os","$ac8f977adbabca24$var$__importStar","toString","cmdStr","first","hasOwnProperty","s","$ac8f977adbabca24$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$5e2691ad996aa9ad$var$fs","$5e2691ad996aa9ad$var$__importStar","$5e2691ad996aa9ad$var$os","filePath","appendFileSync","encoding","$36da3a1038e77300$var$isWindows","OSTYPE","$36da3a1038e77300$var$COLON","$402f7bbe371b7b24$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","substr","$402f7bbe371b7b24$var$checkPathExt","$402f7bbe371b7b24$var$isexe","statSync","$eae5e8c11b388e10$var$isexe","$eae5e8c11b388e10$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","parseInt","g","ug","$eae5e8c11b388e10$var$checkMode","TESTING_WINDOWS","$f8af4289d8ca9e73$exports","$36da3a1038e77300$var$getNotFoundError","$36da3a1038e77300$var$getPathInfo","opt","colon","pathEnv","pathExtExe","unshift","$36da3a1038e77300$var$which","found","step","all","ppRaw","pathPart","pCmd","subStep","ii","ext","then","cur","ex","$25914d0b552b8416$var$pathKey","environment","$94354d2cab6ec3bb$export$8763c7eee5203db","$94354d2cab6ec3bb$export$f2fa5ff1855a55aa","$9c96c19a4bceb1f0$exports","doubleEscapeMetaChars","$14af8c52f3b995d0$exports","argument","binary","pop","$0c9f218fc7700aad$exports","buffer","Buffer","alloc","fd","openSync","readSync","closeSync","$cc3250f0d1cc3019$var$isWin","$cc3250f0d1cc3019$var$isExecutableRegExp","$cc3250f0d1cc3019$var$isCmdShimRegExp","commandFile","shebang","$cc3250f0d1cc3019$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","windowsVerbatimArguments","$cc3250f0d1cc3019$var$parseNonShell","cp","originalEmit","arg1","$41c6ec4dbf52b862$exports","spawnSync","verifyENOENTSync","_parse","_enoent","$c6ee39b3affa8683$exports","CR","$759278668954c515$var$npmRunPath","execPath","cwdPath","execPathDir","$759278668954c515$exports","$0a664e467f796e7e$var$mimicFn","to","prop","Reflect","ownKeys","defineProperty","getOwnPropertyDescriptor","$0a664e467f796e7e$exports","$4c38ff914fe1d89a$var$calledFunctions","WeakMap","$4c38ff914fe1d89a$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime","arguments_","set","throw","$4c38ff914fe1d89a$exports","$23056d73879d6045$exports","signalsByNumber","signalsByName","$a5a917e3a5d932c3$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","index","$80655e6f773eb793$var$SIGRTMAX","realtimeSignals","$80655e6f773eb793$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","constants","supported","reduce","signalByNameMemo","$23056d73879d6045$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$23056d73879d6045$var$signalsByNumber","$9c02b87c81142eb9$exports","escapedCommand","timedOut","isCanceled","killed","timeout","signalDescription","$9c02b87c81142eb9$require$signalsByName","errorCode","$9c02b87c81142eb9$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$7c5d2b028d8c11a2$var$aliases","$7c5d2b028d8c11a2$var$normalizeStdio","$7c5d2b028d8c11a2$var$hasAlias","Math","max","$7c5d2b028d8c11a2$exports","node","$ec50826462d91d22$exports","$1b016d3820a9e1fb$var$isWin","$3U0nv$events","$1b016d3820a9e1fb$require$EE","EventEmitter","__signal_exit_emitter__","infinite","setMaxListeners","$1b016d3820a9e1fb$exports","equal","alwaysLast","unload","kill","pid","load","$32c0bb5df899f0ee$var$isSigterm","SIGTERM","$32c0bb5df899f0ee$exports","killResult","forceKillAfterTimeout","$32c0bb5df899f0ee$var$shouldForceKill","Number","isFinite","$32c0bb5df899f0ee$var$getForceKillAfterTimeout","t","setTimeout","unref","$32c0bb5df899f0ee$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$32c0bb5df899f0ee$var$timeoutKill","safeSpawnedPromise","finally","clearTimeout","race","cleanup","detached","timedPromise","removeExitHandler","validateTimeout","setExitHandler","spawnedCancel","setupTimeout","spawnedKill","$04f38251090bf040$var$isStream","pipe","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$04f38251090bf040$exports","$3U0nv$buffer","$3U0nv$stream","PassThrough","array","isBuffer","objectMode","$d43cdcba2540f772$require$PassThroughStream","setEncoding","chunks","chunk","$aca27b1924527bc3$require$promisify","$3U0nv$util","promisify","pipeline","super","$aca27b1924527bc3$exports","MaxBufferError","$08ebbe08125d6885$exports","add","source","sources","once","remove","output","end","isEmpty","it","$08ebbe08125d6885$require$PassThrough","$c27adbaa770b8d87$var$getBufferedData","streamPromise","destroy","$c27adbaa770b8d87$var$getStreamPromise","$c27adbaa770b8d87$exports","stdin","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","makeAllStream","getSpawnedResult","validateInputSync","$848bef379cd38ad7$var$nativePromisePrototype","constructor","prototype","$848bef379cd38ad7$var$descriptors","property","$848bef379cd38ad7$exports","promise","descriptor","getSpawnedPromise","mergePromise","$88ea719f29a64eb5$var$normalizeArgs","$88ea719f29a64eb5$var$NO_ESCAPE_REGEXP","$88ea719f29a64eb5$exports","$88ea719f29a64eb5$var$escapeArg","tokens","token","previousToken","joinCommand","parseCommand","getEscapedCommand","$cc47f4e6f3d32c78$var$handleArguments","stripFinalNewline","extendEnv","preferLocal","localDir","windowsHide","envOption","$cc47f4e6f3d32c78$var$getEnv","$cc47f4e6f3d32c78$var$handleOutput","$cc47f4e6f3d32c78$var$execa","$cc47f4e6f3d32c78$require$joinCommand","$cc47f4e6f3d32c78$require$getEscapedCommand","dummySpawned","ChildProcess","errorPromise","$cc47f4e6f3d32c78$require$getSpawnedPromise","$cc47f4e6f3d32c78$require$setupTimeout","$cc47f4e6f3d32c78$require$setExitHandler","$cc47f4e6f3d32c78$require$spawnedKill","cancel","$cc47f4e6f3d32c78$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$cc47f4e6f3d32c78$require$getSpawnedResult","returnedError","$cc47f4e6f3d32c78$require$makeAllStream","$cc47f4e6f3d32c78$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$fbdecc6eadfe47c2$var$__importStar","$04e280234287a6fa$var$rmRF","$04e280234287a6fa$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$04e280234287a6fa$var$exec","unlink","isDir","$04e280234287a6fa$var$execFile","$04e280234287a6fa$var$mkdirP","fsPath","mkdir","recursive","$04e280234287a6fa$var$findInPath","extensions","extension","$04e280234287a6fa$var$path","isRooted","tryGetExecutablePath","directories","matches","$04e280234287a6fa$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","readdir","fileName","srcFile","destFile","lstat","$04e280234287a6fa$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$04e280234287a6fa$var$childProcess","$04e280234287a6fa$var$__importStar","execFile","copySourceDirectory","$04e280234287a6fa$var$readCopyOptions","destStat","newDest","relative","mv","destExists","rename","which","$04e280234287a6fa$var$which","check","findInPath","$b527c73d129cd9df$var$isUnixExecutable","stats","$b527c73d129cd9df$var$fs","$b527c73d129cd9df$var$__importStar","$b527c73d129cd9df$var$path","$b527c73d129cd9df$var$_a","promises","rmdir","useStat","$b527c73d129cd9df$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a","$13c43de102a3b6d8$var$semver","$13c43de102a3b6d8$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","osVersion","_getOsVersion","plat","execSync","lsbContents","_readLinuxVersionFile","lines","lsbReleaseFile","osReleaseFile","contents","re","$j1nFx","src","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","parse","inc","diff","patch","prerelease","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","$8eni4","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$dd9078767aae0d77$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","$5fe1b2857782793b$var$debug","$9PnyI","$de2b687c79c82d4f$var$SemVer","$26eGk","loose","includePrerelease","$de2b687c79c82d4f$require$MAX_LENGTH","m","$de2b687c79c82d4f$require$re","$de2b687c79c82d4f$require$t","LOOSE","FULL","raw","$de2b687c79c82d4f$require$MAX_SAFE_INTEGER","id","num","build","format","other","compareMain","comparePre","$de2b687c79c82d4f$require$compareIdentifiers","identifier","isNaN","$187787c55101df84$var$opts","options1","$6ecf2feb48e2d485$var$numeric","$6ecf2feb48e2d485$var$compareIdentifiers","anum","bnum","$j4Bpm","$021b1d9719c3eaaf$require$MAX_LENGTH","$021b1d9719c3eaaf$require$re","$021b1d9719c3eaaf$require$t","$bd0kF","version2","$4eeum","v1","v2","hasPre","defaultResult","versionA","versionB","list","$7REgF","op","$a0PPD","$6bYo1","$kRrXd","$98Pyg","rtl","next","$434397839421ea8b$require$re","$434397839421ea8b$require$t","COERCERTL","lastIndex","$cd741182808e7a1f$var$ANY","Symbol","$cd741182808e7a1f$var$Comparator","ANY","comp1","semver","operator","comp","$cd741182808e7a1f$require$re","$cd741182808e7a1f$require$t","COMPARATORLOOSE","COMPARATOR","$cITzi","$8YuUE","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$688be7ed17017f41$var$Range","range1","$hDCF3","parseRange","$688be7ed17017f41$var$isNullSet","$688be7ed17017f41$var$isAny","range","comps","memoKey","cached","$688be7ed17017f41$var$cache","$688be7ed17017f41$require$re","$688be7ed17017f41$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$688be7ed17017f41$var$hyphenReplace","COMPARATORTRIM","$688be7ed17017f41$require$comparatorTrimReplace","TILDETRIM","$688be7ed17017f41$require$tildeTrimReplace","CARETTRIM","$688be7ed17017f41$require$caretTrimReplace","compRe","rangeList","$688be7ed17017f41$var$parseComparator","$688be7ed17017f41$var$replaceGTE0","rangeMap","Map","size","delete","values","thisComparators","$688be7ed17017f41$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$688be7ed17017f41$var$testSet","comparators","options2","remainingComparators","testComparator","otherComparator","$688be7ed17017f41$var$replaceCarets","$688be7ed17017f41$var$replaceTildes","$688be7ed17017f41$var$replaceXRanges","$688be7ed17017f41$var$replaceStars","$688be7ed17017f41$var$isX","$688be7ed17017f41$var$replaceTilde","TILDELOOSE","TILDE","M","pr","$688be7ed17017f41$var$replaceCaret","z","CARETLOOSE","CARET","$688be7ed17017f41$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","tM","tm","tp","tpr","tb","i1","allowed","$cb0ed5fe82fb4516$var$MAX","$cb0ed5fe82fb4516$var$LENGTH","$cb0ed5fe82fb4516$var$LENGTH_CALCULATOR","$cb0ed5fe82fb4516$var$ALLOW_STALE","$cb0ed5fe82fb4516$var$MAX_AGE","$cb0ed5fe82fb4516$var$DISPOSE","$cb0ed5fe82fb4516$var$NO_DISPOSE_ON_SET","$cb0ed5fe82fb4516$var$LRU_LIST","$cb0ed5fe82fb4516$var$CACHE","$cb0ed5fe82fb4516$var$UPDATE_AGE_ON_GET","$cb0ed5fe82fb4516$var$naiveLength","$cb0ed5fe82fb4516$var$get","self","doUse","hit","$cb0ed5fe82fb4516$var$isStale","$cb0ed5fe82fb4516$var$del","now","Date","unshiftNode","maxAge","$cb0ed5fe82fb4516$var$trim","walker","tail","prev","removeNode","$cb0ed5fe82fb4516$var$Entry","$cb0ed5fe82fb4516$var$forEachStep","thisp","lc","stale","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","allowStale","mA","lengthCalculator","lC","itemCount","rforEach","head","toArray","$9ShIP","dump","dumpLru","peek","del","l","expiresAt","prune","$7306e76b158eea44$var$Yallist","$7306e76b158eea44$var$insert","inserted","$7306e76b158eea44$var$Node","$7306e76b158eea44$var$push","$7306e76b158eea44$var$unshift","Node","create","pushNode","forEachReverse","n","getReverse","mapReverse","initial","acc","reduceReverse","toArrayReverse","sliceReverse","start","deleteCount","nodes","Yallist","iterator","maxSV","rangeObj","min","minSV","minver","setMin","comparator","compver","$20794eeb9cc8f6af$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$6rO9c","high","low","$2MRaB","r1","r2","ranges","min1","simplified","$2281fb43d3df183f$var$ANY","$2281fb43d3df183f$var$simpleSubset","sub","dom","eqSet","Set","gtltComp","higher","lower","hasDomLT","hasDomGT","$2281fb43d3df183f$var$higherGT","$2281fb43d3df183f$var$lowerLT","c1","needDomLTPre","needDomGTPre","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$fbdecc6eadfe47c2$var$mm","$6fb832e0570ffd7b$var$tunnel","$6fb832e0570ffd7b$var$HttpCodes","HttpCodes","$6fb832e0570ffd7b$var$Headers","Headers1","$6fb832e0570ffd7b$var$MediaTypes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","$cEfL5","URL","href","$6fb832e0570ffd7b$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$6fb832e0570ffd7b$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$6fb832e0570ffd7b$var$RetryableHttpVerbs","$6fb832e0570ffd7b$var$HttpClientError","setPrototypeOf","HttpClientError","$6fb832e0570ffd7b$var$HttpClientResponse","message1","readBody","HttpClientResponse","isHttps","requestUrl","protocol","$6fb832e0570ffd7b$var$HttpClient","userAgent","handlers","requestOptions","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","allowRetries","maxRetries","additionalHeaders","request","post","put","sendStream","verb","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","obj","ContentType","headers","parsedUrl","_prepareRequest","maxTries","numTries","requestRaw","Unauthorized","authenticationHandler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","_agent","requestRawWithCallback","onResult","socket","byteLength","callbackCalled","handleResult","req","httpModule","sock","getAgent","_getAgent","method","usingSsl","$3U0nv$http","defaultPort","host","port","pathname","search","_mergeHeaders","agent","handler","prepareRequest","lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","valueOf","statusCode1","NotFound","deserializeDates","dateTimeDeserializer","$935571c89a77cf35$var$checkBypass","reqUrl","reqPort","noProxy","upperReqHosts","upperNoProxyItem","proxyVar","checkBypass","$5ede95876def1093$var$TunnelingAgent","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$5ede95876def1093$var$toOptions","pending","onSocket","removeSocket","$5ede95876def1093$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$5ede95876def1093$var$mergeOptions","servername","secureSocket","$3U0nv$tls","connect","target","overrides","keyLen","$5ede95876def1093$export$cfea88b79fd3041","$5ede95876def1093$export$228ecc9aa21a9741","$5ede95876def1093$export$f44e217dbcda9c5a","$5ede95876def1093$export$25126787084ac1d3","$5ede95876def1093$export$5b6f1b09aafac70","$5ede95876def1093$var$debug","inherits","addRequest","onFree","onCloseOrRemove","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","upgrade","nextTick","cause","stack","pos","socket1","$fbdecc6eadfe47c2$var$httpm","$fbdecc6eadfe47c2$var$stream","$fbdecc6eadfe47c2$var$util","buf","offset","rnds","random","rng","$diWfV","$8n3PT","$3U0nv$crypto","randomBytes","$618372782be4d813$var$byteToHex","$618372782be4d813$var$i","$fbdecc6eadfe47c2$var$__importDefault","$b27a19eb94ad77fe$var$os","$b27a19eb94ad77fe$var$__importStar","$b27a19eb94ad77fe$var$events","$b27a19eb94ad77fe$var$child","$b27a19eb94ad77fe$var$path","$b27a19eb94ad77fe$var$io","$b27a19eb94ad77fe$var$ioUtil","$b27a19eb94ad77fe$var$IS_WINDOWS","toolPath1","_debug","_getCommandString","noPrefix","_getSpawnFileName","args1","_getSpawnArgs","_isCmdFile","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$b27a19eb94ad77fe$var$__awaiter","optionsNonNull","state","$b27a19eb94ad77fe$var$ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","argString","append","escaped","inQuotes","charAt","toolPath2","done","_setResult","$3U0nv$timers","HandleTimeout","$8d6c57753101e07a$var$__importStar","stdoutDecoder","$3U0nv$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","originalStdErrListener","_b","$e9cce2f397d0b5d7$var$core","$e9cce2f397d0b5d7$var$__importStar","$e9cce2f397d0b5d7$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","floor","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$fbdecc6eadfe47c2$var$HTTPError","httpStatusCode","HTTPError","$fbdecc6eadfe47c2$var$IS_WINDOWS","$fbdecc6eadfe47c2$var$IS_MAC","auth","retryHelper","$fbdecc6eadfe47c2$var$__awaiter","authorization","statusMessage","readStream","responseMessageFactory","succeeded","createWriteStream","$fbdecc6eadfe47c2$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","__dirname","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","escapedFile","escapedDest","pwshPath","$fbdecc6eadfe47c2$var$extractZipWin","unzipPath","$fbdecc6eadfe47c2$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","owner","repo","branch","treeUrl","manifestUrl","tree","versionsRaw","isExplicitVersion","evaluateVersions","Worker","$e68279e3338bc371$var$Worker","$e68279e3338bc371$import$ad18b0afc1a10da7","$e68279e3338bc371$var$worker","$e68279e3338bc371$var$taskIdCounter","$e68279e3338bc371$var$tasks","$e68279e3338bc371$var$taskWorker","transferList","task","sourceError","entries","$e68279e3338bc371$var$recreateWorkerError","postMessage","$e68279e3338bc371$var$hasha","outputEncoding","hash","createHash","update","digest","fromStream","read","fromFile","createReadStream","fromFileSync","$655628f797e4869d$var$TOKEN","specific","$1bd49ae4b85c403c$export$b00950e3fcb58399","$e5ecfb1ae2cd12fa$var$isPathVariable","$e5ecfb1ae2cd12fa$var$setupMSVCDevCmd","$3U0nv$process","$k2PtG","$e5ecfb1ae2cd12fa$var$VSWHERE_PATH","arch_aliases","vcvars","pattern","installationPath","$e5ecfb1ae2cd12fa$var$findWithVswhere","ver","$e5ecfb1ae2cd12fa$var$VERSIONS","ed","$e5ecfb1ae2cd12fa$var$EDITIONS","$e5ecfb1ae2cd12fa$var$PROGRAM_FILES_X86","$e5ecfb1ae2cd12fa$var$findVcvarsall","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","$e5ecfb1ae2cd12fa$export$1770a487615d61df","$e97becf723056cb8$var$error","$e97becf723056cb8$var$os","$e97becf723056cb8$var$__importStar","$e97becf723056cb8$var$path","$e97becf723056cb8$var$ExitCode","$3tRAC","$48DC3","$lTVmt","$ff1b3ad0e311f75c$var$issueCommand","$ff1b3ad0e311f75c$var$Command","$ff1b3ad0e311f75c$var$os","$ff1b3ad0e311f75c$var$__importStar","$ff1b3ad0e311f75c$var$escapeData","$3036a3108408bd21$var$fs","$3036a3108408bd21$var$__importStar","$3036a3108408bd21$var$os","$6db0685353f69c12$var$homeDirectory","homedir","pathWithTilde","msvc","llvm","ninja","cmake","gcovr","conan","meson","python","gcc","opencppcoverage","choco","brew","ccache","doxygen","cppcheck","argv","catch"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"} \ No newline at end of file +{"mappings":"qJAWSA,EAAOC,EAAMC,EAASC,GAM7B,GALkB,mBAAPD,IACTC,EAAKD,EACLA,EAAO,KAGJC,EAAI,CACP,GAAkB,mBAAPC,QACT,MAAM,IAAIC,UAAS,gCAGd,IAAID,SAAO,CAAWE,EAASC,KACpCP,EAAMC,EAAMC,GAAO,KAAkBM,EAAIC,KACnCD,EACFD,EAAOC,GAEPF,EAAQG,SAMhBC,GAAKT,EAAMC,GAAO,KAAkBM,EAAIC,KAElCD,IACS,WAAPA,EAAGG,MAAqBT,GAAWA,EAAQU,gBAC7CJ,EAAK,KACLC,GAAK,GAGTN,EAAGK,EAAIC,eClCKI,EAAUC,EAAkBC,EAAsBC,GAChE,IAAE,mBAAuBC,SAASC,QAAQC,UAAQ,OAGlD,GAAiB,iBAANC,GAAmB,MAAA,QACnBA,IAGX,MAAMC,EAAcC,EAAAC,IAAMC,KAAI,OAAO,CAAIC,SAAS,IAClD,OAAoB,OAAhBJ,GACFD,GAASM,GAAAC,QAAQN,WACRD,MAIXQ,GAAAC,aAAY,kGAAiG,CAC3GC,MAAK,YAEPV,GAAM,0BAEGA,cCrBFW,EAAsBC,EAAQC,GACnC,MAAMC,EAAMF,EAAO9B,QAAQgC,KAAOhB,QAAQgB,IACpCC,EAAMjB,QAAQiB,MACdC,EAAqC,MAAtBJ,EAAO9B,QAAQiC,IAE9BE,EAAkBD,QAAkCE,IAAlBpB,QAAQqB,QAAwBrB,QAAQqB,MAAMC,SAItF,GAAIH,EAAe,IAEXnB,QAAQqB,MAAMP,EAAO9B,QAAQiC,KAChC,MAAQM,IAKb,IAAIC,MAGAA,EAAWnB,GAAAC,KAAWQ,EAAOW,QAAO,CAChC1C,KA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sE,SAAWI,KAEpBupD,OAAO1sD,IACNib,GAAK,oBACLA,GAAMjb,GACNvB,QAAQsE,SAAW","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/signal-exit@3.0.3/node_modules/signal-exit/index.js","node_modules/.pnpm/get-stream@6.0.1/node_modules/get-stream/index.js","src/utils/env/sudo.ts","src/utils/setup/setupAptPack.ts","src/utils/setup/setupBrewPack.ts","src/utils/path/addPath.ts","src/chocolatey/chocolatey.ts","src/utils/setup/setupChocoPack.ts","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/exec.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/tool-cache.ts","src/utils/env/isci.ts","src/utils/setup/setupBin.ts","src/cmake/cmake.ts","src/python/setup-python/src/utils.ts","src/python/setup-python/src/find-python.ts","src/python/setup-python/src/install-pypy.ts","src/python/python.ts","src/python/setup-python/src/find-pypy.ts","src/python/setup-python/src/install-python.ts","src/utils/http/validate_url.ts","src/utils/setup/setupPipPack.ts","src/utils/setup/version.ts","src/utils/setup/extract.ts","src/llvm/llvm.ts","src/msvc/msvc.ts","src/ninja/ninja.ts","node_modules/.pnpm/mri@1.2.0/node_modules/mri/lib/index.mjs","src/default_versions.ts","src/gcc/gcc.ts","src/utils/io/io.ts","src/main.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/core.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/command.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/utils.ts","node_modules/.pnpm/@actions+core@1.5.0/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/which@2.0.2/node_modules/which/which.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/windows.js","node_modules/.pnpm/isexe@2.0.0/node_modules/isexe/mode.js","node_modules/.pnpm/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-command@2.0.0/node_modules/shebang-command/index.js","node_modules/.pnpm/shebang-regex@3.0.0/node_modules/shebang-regex/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.3/node_modules/signal-exit/signals.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/@actions+io@1.1.1/node_modules/@actions/io/src/io.ts","node_modules/.pnpm/@actions+io@1.1.1/node_modules/@actions/io/src/io-util.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/manifest.ts","node_modules/.pnpm/semver@7.3.5/node_modules/semver/index.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/re.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/constants.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/debug.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/semver.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/parse-options.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/internal/identifiers.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/parse.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/clean.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/inc.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/diff.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/eq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/major.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/minor.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/patch.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/prerelease.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rcompare.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-loose.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/compare-build.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/sort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/rsort.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lt.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/neq.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/gte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/lte.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/cmp.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/coerce.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/comparator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/classes/range.js","node_modules/.pnpm/lru-cache@6.0.0/node_modules/lru-cache/index.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/yallist.js","node_modules/.pnpm/yallist@4.0.0/node_modules/yallist/iterator.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/functions/satisfies.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/to-comparators.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/max-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-satisfying.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/min-version.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/valid.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/outside.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/gtr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/ltr.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/intersects.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/simplify.js","node_modules/.pnpm/semver@7.3.5/node_modules/semver/ranges/subset.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/index.js","node_modules/.pnpm/@actions+http-client@1.0.11/node_modules/@actions/http-client/proxy.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/index.js","node_modules/.pnpm/tunnel@0.0.6/node_modules/tunnel/lib/tunnel.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/v4.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/rng.js","node_modules/.pnpm/uuid@3.4.0/node_modules/uuid/lib/bytesToUuid.js","node_modules/.pnpm/@actions+exec@1.1.0/node_modules/@actions/exec/src/toolrunner.ts","node_modules/.pnpm/@actions+tool-cache@1.7.1/node_modules/@actions/tool-cache/src/retry-helper.ts","node_modules/.pnpm/hasha@5.2.2/node_modules/hasha/index.js","src/msvc/msvc-dev-cmd/index.js","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/core.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/command.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/utils.ts","src/msvc/msvc-dev-cmd/node_modules/@actions/core/src/file-command.ts","node_modules/.pnpm/untildify@4.0.0/node_modules/untildify/index.js","src/conan/conan.ts","src/meson/meson.ts","src/gcovr/gcovr.ts","src/opencppcoverage/opencppcoverage.ts","src/ccache/ccache.ts","src/doxygen/doxygen.ts","src/cppcheck/cppcheck.ts"],"sourcesContent":["var fs = require('fs')\nvar core\nif (process.platform === 'win32' || global.TESTING_WINDOWS) {\n core = require('./windows.js')\n} else {\n core = require('./mode.js')\n}\n\nmodule.exports = isexe\nisexe.sync = sync\n\nfunction isexe (path, options, cb) {\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n if (!cb) {\n if (typeof Promise !== 'function') {\n throw new TypeError('callback not provided')\n }\n\n return new Promise(function (resolve, reject) {\n isexe(path, options || {}, function (er, is) {\n if (er) {\n reject(er)\n } else {\n resolve(is)\n }\n })\n })\n }\n\n core(path, options || {}, function (er, is) {\n // ignore EACCES because that just means we aren't allowed to run it\n if (er) {\n if (er.code === 'EACCES' || options && options.ignoreErrors) {\n er = null\n is = false\n }\n }\n cb(er, is)\n })\n}\n\nfunction sync (path, options) {\n // my kingdom for a filtered catch\n try {\n return core.sync(path, options || {})\n } catch (er) {\n if (options && options.ignoreErrors || er.code === 'EACCES') {\n return false\n } else {\n throw er\n }\n }\n}\n","import { execFileSync } from \"child_process\"\nimport { dirname } from \"path\"\nimport which from \"which\"\n\nlet binDir: string | undefined\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupBrew(_version: string, _setupCppDir: string, _arch: string) {\n if (![\"darwin\", \"linux\"].includes(process.platform)) {\n return undefined\n }\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"brew\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // brew is not thread-safe\n execFileSync(`/bin/bash -c \"$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)\"`, {\n stdio: \"inherit\",\n })\n binDir = \"/usr/local/bin/\"\n\n return { binDir }\n}\n","'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","// 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.\nvar assert = require('assert')\nvar signals = require('./signals.js')\nvar isWin = /^win/i.test(process.platform)\n\nvar EE = require('events')\n/* istanbul ignore if */\nif (typeof EE !== 'function') {\n EE = EE.EventEmitter\n}\n\nvar emitter\nif (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.\nif (!emitter.infinite) {\n emitter.setMaxListeners(Infinity)\n emitter.infinite = true\n}\n\nmodule.exports = function (cb, opts) {\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\nmodule.exports.unload = unload\nfunction unload () {\n if (!loaded) {\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\nfunction emit (event, code, signal) {\n if (emitter.emitted[event]) {\n return\n }\n emitter.emitted[event] = true\n emitter.emit(event, code, signal)\n}\n\n// { : , ... }\nvar sigListeners = {}\nsignals.forEach(function (sig) {\n sigListeners[sig] = function listener () {\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 process.kill(process.pid, sig)\n }\n }\n})\n\nmodule.exports.signals = function () {\n return signals\n}\n\nmodule.exports.load = load\n\nvar loaded = false\n\nfunction load () {\n if (loaded) {\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\nvar originalProcessReallyExit = process.reallyExit\nfunction processReallyExit (code) {\n process.exitCode = code || 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\nvar originalProcessEmit = process.emit\nfunction processEmit (ev, arg) {\n if (ev === 'exit') {\n if (arg !== undefined) {\n process.exitCode = arg\n }\n var ret = originalProcessEmit.apply(this, arguments)\n emit('exit', process.exitCode, null)\n /* istanbul ignore next */\n emit('afterexit', process.exitCode, null)\n return ret\n } else {\n return originalProcessEmit.apply(this, arguments)\n }\n}\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 execa from \"execa\"\nimport which from \"which\"\n\nlet _issudo: boolean | undefined = undefined\n\nexport function isRoot(): boolean {\n if (_issudo !== undefined) {\n return _issudo\n }\n // eslint-disable-next-line @typescript-eslint/strict-boolean-expressions, @typescript-eslint/no-unnecessary-condition\n _issudo = (Boolean(process.env.CI) || process.getuid?.() === 0) && which.sync(\"sudo\", { nothrow: true }) !== null\n return _issudo\n}\n\nexport function mightSudo(command: string) {\n if (isRoot()) {\n return `sudo ${command}`\n }\n return command\n}\n\nexport function execaSudo(file: string, args: string[]) {\n if (isRoot()) {\n return execa.command(`sudo ${[file, ...args].join(\" \")}`, { shell: true })\n } else {\n return execa(file, args)\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport { InstallationInfo } from \"./setupBin\"\nimport { execaSudo } from \"../env/sudo\"\n\nlet didUpdate: boolean = false\n\n/** A function that installs a package using apt */\nexport async function setupAptPack(\n name: string,\n version?: string,\n repository: boolean | string = true\n): Promise {\n const apt = \"apt-get\"\n\n if (typeof repository === \"string\") {\n await execaSudo(\"add-apt-repository\", [\"--update\", \"-y\", repository])\n }\n\n if (!didUpdate || repository === true) {\n await execaSudo(apt, [\"update\", \"-y\"])\n didUpdate = true\n }\n\n if (version !== undefined && version !== \"\") {\n try {\n await execaSudo(apt, [\"install\", \"-y\", `${name}=${version}`])\n } catch {\n await execaSudo(apt, [\"install\", \"-y\", `${name}-${version}`])\n }\n } else {\n await execaSudo(apt, [\"install\", \"-y\", name])\n }\n\n return { binDir: \"/usr/bin/\" }\n}\n","/* eslint-disable require-atomic-updates */\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 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\n return { binDir: \"/usr/local/bin/\" }\n}\n","import { addPath as ghAddPath } from \"@actions/core\"\nimport { delimiter } from \"path\"\nimport * as core from \"@actions/core\"\nimport execa from \"execa\"\n\n/** An add path function that works locally or inside GitHub Actions */\nexport function addPath(path: string) {\n try {\n ghAddPath(path)\n } catch (err) {\n try {\n core.error(err as Error)\n switch (process.platform) {\n case \"win32\": {\n execa.sync(`setx PATH=${path};%PATH%`)\n return\n }\n case \"linux\":\n case \"darwin\": {\n execa.commandSync(`echo \"export PATH=${path}:$PATH\" >> ~/.profile`)\n execa.commandSync(`source ~/.profile`)\n core.info(`${path} was added to ~/.profile`)\n return\n }\n default: {\n // fall through shell path modification\n }\n }\n } catch (err2) {\n core.error(err2 as Error)\n }\n core.error(`Failed to add ${path} to the percistent PATH. You should add it manually.`)\n process.env.PATH = `${path}${delimiter}${process.env.PATH}`\n }\n}\n","/* eslint-disable require-atomic-updates */\nimport execa from \"execa\"\nimport { existsSync } from \"fs\"\nimport { dirname } from \"path\"\nimport which from \"which\"\nimport { InstallationInfo } from \"../utils/setup/setupBin\"\n\nlet binDir: string | undefined\n\nexport function setupChocolatey(\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): InstallationInfo | undefined {\n if (process.platform !== \"win32\") {\n return undefined\n }\n\n if (typeof binDir === \"string\") {\n return { binDir }\n }\n\n const maybeBinDir = which.sync(\"choco\", { nothrow: true })\n if (maybeBinDir !== null) {\n binDir = dirname(maybeBinDir)\n return { binDir }\n }\n\n // https://docs.chocolatey.org/en-us/choco/setup#install-with-cmd.exe\n execa.commandSync(\n `@\"%SystemRoot%\\\\System32\\\\WindowsPowerShell\\\\v1.0\\\\powershell.exe\" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command \"[System.Net.ServicePointManager]::SecurityProtocol = 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))\" && SET \"PATH=%PATH%;%ALLUSERSPROFILE%\\\\chocolatey\\\\bin\"`\n )\n\n const maybeChoco = which.sync(\"choco\", { nothrow: true })\n if (maybeChoco !== null) {\n binDir = dirname(maybeChoco)\n } else {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n\n if (existsSync(binDir)) {\n return { binDir }\n }\n return undefined\n}\n","/* eslint-disable require-atomic-updates */\nimport { addPath } from \"../path/addPath\"\nimport which from \"which\"\nimport { setupChocolatey } from \"../../chocolatey/chocolatey\"\nimport { InstallationInfo } from \"./setupBin\"\nimport execa from \"execa\"\n\nlet hasChoco = false\n\n/** A function that installs a package using choco */\nexport async function setupChocoPack(name: string, version?: string, args: string[] = []): Promise {\n if (!hasChoco || which.sync(\"choco\", { nothrow: true }) === null) {\n setupChocolatey(\"\", \"\", process.arch)\n hasChoco = true\n }\n\n if (version !== undefined && version !== \"\") {\n execa.sync(\"choco\", [\"install\", \"-y\", name, `--version=${version}`, ...args])\n } else {\n execa.sync(\"choco\", [\"install\", \"-y\", name, ...args])\n }\n\n const binDir = \"C:/ProgramData/Chocolatey/bin/\"\n addPath(binDir)\n return { binDir }\n}\n",null,null,"export function isCI() {\n return !(process.env.CI === undefined || process.env.CI === \"\" || process.env.CI === \"false\")\n}\n","import { find, downloadTool, cacheDir } from \"@actions/tool-cache\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../path/addPath\"\nimport { join } from \"path\"\nimport { existsSync } from \"fs\"\nimport * as hasha from \"hasha\"\nimport { tmpdir } from \"os\"\nimport { isCI } from \"../env/isci\"\n\n/** A type that describes a package */\nexport type PackageInfo = {\n /** Url to download the package */\n url: string\n /** The top folder name once it is extracted. It can be `\"\"` if there is no top folder */\n extractedFolderName: string\n /** The relative directory in which the binary is located. It can be `\"\"` if the exe is in the top folder */\n binRelativeDir: string\n /** The function to extract the downloaded archive. It can be `undefined`, if the binary itself is downloaded directly. */\n extractFunction?: {\n (file: string, dest: string): Promise | Promise\n }\n}\n\nexport type InstallationInfo = {\n /** The top install dir */\n installDir?: string\n binDir: string\n}\n\n/**\n * A function that:\n *\n * - Downlodas and extracts a package\n * - Adds the bin path of the package to PATH\n * - Caches the dowloaded directory into tool cache for usage from other sessions\n *\n * @returns The installation directory\n */\nexport async function setupBin(\n name: string,\n version: string,\n getPackageInfo: (version: string, platform: NodeJS.Platform) => PackageInfo | Promise,\n setupCppDir: string\n): Promise {\n process.env.RUNNER_TEMP = process.env.RUNNER_TEMP ?? tmpdir()\n process.env.RUNNER_TOOL_CACHE = process.env.RUNNER_TOOL_CACH ?? join(tmpdir(), \"setup_cpp\", \"ToolCache\")\n\n const { url, binRelativeDir, extractedFolderName, extractFunction } = await getPackageInfo(version, process.platform)\n\n // Restore from cache (if found).\n if (isCI()) {\n try {\n const dir = find(name, version)\n if (dir) {\n info(`${name} ${version} was found in the cache.`)\n const installDir = join(dir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n addPath(binDir)\n return { installDir, binDir }\n }\n } catch {\n // fails on a local machine?\n }\n }\n\n // Get an unique output directory name from the URL.\n const key: string = await hasha.async(url, { algorithm: \"md5\" })\n const rootDir = join(setupCppDir, key)\n\n // download ane extract the package into the installation directory.\n if (!existsSync(rootDir)) {\n info(`Download and extract ${name} ${version}`)\n const downloaded = await downloadTool(url)\n await extractFunction?.(downloaded, rootDir)\n }\n\n const installDir = join(rootDir, extractedFolderName)\n const binDir = join(installDir, binRelativeDir)\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n info(`Add ${binDir} to PATH`)\n addPath(binDir)\n\n // check if inside Github Actions. If so, cache the installation\n if (isCI() && typeof process.env.RUNNER_TOOL_CACHE === \"string\") {\n await cacheDir(rootDir, name, version)\n }\n\n return { installDir, binDir }\n}\n/** Add bin extension to a binary. This will be `.exe` on Windows. */\nexport function addBinExtension(name: string) {\n if (process.platform === \"win32\") {\n return `${name}.exe`\n }\n return name\n}\n","import { extractZip, extractTar } from \"@actions/tool-cache\"\nimport { getInput } from \"@actions/core\"\nimport semverLte from \"semver/functions/lte\"\nimport semverCoerce from \"semver/functions/coerce\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform data for cmake */\nfunction getCmakePackageInfo(version: string, platform?: NodeJS.Platform): PackageInfo {\n const semVersion = semverCoerce(version) ?? version\n const platformStr = platform ?? process.platform\n const arch = getInput(\"architecture\") || process.arch\n switch (platformStr) {\n case \"win32\": {\n const isOld = semverLte(semVersion, \"v3.19.6\")\n let osArchStr: string\n if ([\"ia32\", \"x86\", \"i386\", \"x32\"].includes(arch)) {\n osArchStr = isOld ? \"win32-x86\" : \"windows-i386\"\n } else {\n osArchStr = isOld ? \"win64-x64\" : \"windows-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractZip,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.zip`,\n }\n }\n case \"darwin\": {\n const isOld = semverLte(semVersion, \"v3.19.1\")\n const osArchStr = isOld ? \"Darwin-x86_64\" : \"macos-universal\"\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"CMake.app/Contents/bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n case \"linux\": {\n const isOld = semverLte(semVersion, \"v3.19.8\")\n let osArchStr: string\n if ([\"aarch64\"].includes(arch)) {\n osArchStr = isOld ? \"Linux-aarch64\" : \"linux-aarch64\"\n } else {\n osArchStr = isOld ? \"Linux-x86_64\" : \"linux-x86_64\"\n }\n const folderName = `cmake-${version}-${osArchStr}`\n return {\n binRelativeDir: \"bin/\",\n extractedFolderName: folderName,\n extractFunction: extractTar,\n url: `https://github.com/Kitware/CMake/releases/download/v${version}/${folderName}.tar.gz`,\n }\n }\n default:\n throw new Error(`Unsupported platform '${platformStr}'`)\n }\n}\n\n/** Setup cmake */\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCmake(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"cmake\", version, getCmakePackageInfo, setupCppDir)\n}\n","import fs from 'fs';\nimport * as path from 'path';\nimport * as semver from 'semver';\n\nexport const IS_WINDOWS = process.platform === 'win32';\nexport const IS_LINUX = process.platform === 'linux';\nexport const WINDOWS_ARCHS = ['x86', 'x64'];\nexport const WINDOWS_PLATFORMS = ['win32', 'win64'];\nconst PYPY_VERSION_FILE = 'PYPY_VERSION';\n\nexport interface IPyPyManifestAsset {\n filename: string;\n arch: string;\n platform: string;\n download_url: string;\n}\n\nexport interface IPyPyManifestRelease {\n pypy_version: string;\n python_version: string;\n stable: boolean;\n latest_pypy: boolean;\n files: IPyPyManifestAsset[];\n}\n\n/** create Symlinks for downloaded PyPy\n * It should be executed only for downloaded versions in runtime, because\n * toolcache versions have this setup.\n */\nexport function createSymlinkInFolder(\n folderPath: string,\n sourceName: string,\n targetName: string,\n setExecutable = false\n) {\n const sourcePath = path.join(folderPath, sourceName);\n const targetPath = path.join(folderPath, targetName);\n if (fs.existsSync(targetPath)) {\n return;\n }\n\n fs.symlinkSync(sourcePath, targetPath);\n if (!IS_WINDOWS && setExecutable) {\n fs.chmodSync(targetPath, '755');\n }\n}\n\nexport function validateVersion(version: string) {\n return isNightlyKeyword(version) || Boolean(semver.validRange(version));\n}\n\nexport function isNightlyKeyword(pypyVersion: string) {\n return pypyVersion === 'nightly';\n}\n\nexport function getPyPyVersionFromPath(installDir: string) {\n return path.basename(path.dirname(installDir));\n}\n\n/**\n * In tool-cache, we put PyPy to '/PyPy//x64'\n * There is no easy way to determine what PyPy version is located in specific folder\n * 'pypy --version' is not reliable enough since it is not set properly for preview versions\n * \"7.3.3rc1\" is marked as '7.3.3' in 'pypy --version'\n * so we put PYPY_VERSION file to PyPy directory when install it to VM and read it when we need to know version\n * PYPY_VERSION contains exact version from 'versions.json'\n */\nexport function readExactPyPyVersionFile(installDir: string) {\n let pypyVersion = '';\n let fileVersion = path.join(installDir, PYPY_VERSION_FILE);\n if (fs.existsSync(fileVersion)) {\n pypyVersion = fs.readFileSync(fileVersion).toString();\n }\n\n return pypyVersion;\n}\n\nexport function writeExactPyPyVersionFile(\n installDir: string,\n resolvedPyPyVersion: string\n) {\n const pypyFilePath = path.join(installDir, PYPY_VERSION_FILE);\n fs.writeFileSync(pypyFilePath, resolvedPyPyVersion);\n}\n\n/**\n * Python version should be specified explicitly like \"x.y\" (2.7, 3.6, 3.7)\n * \"3.x\" or \"3\" are not supported\n * because it could cause ambiguity when both PyPy version and Python version are not precise\n */\nexport function validatePythonVersionFormatForPyPy(version: string) {\n const re = /^\\d+\\.\\d+$/;\n return re.test(version);\n}\n","import * as os from 'os';\nimport * as path from 'path';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nimport * as semver from 'semver';\n\nimport * as installer from './install-python';\n\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\n// Python has \"scripts\" or \"bin\" directories where command-line tools that come with packages are installed.\n// This is where pip is, along with anything that pip installs.\n// There is a seperate directory for `pip install --user`.\n//\n// For reference, these directories are as follows:\n// macOS / Linux:\n// /bin (by default /usr/local/bin, but not on hosted agents -- see the `else`)\n// (--user) ~/.local/bin\n// Windows:\n// \\Scripts\n// (--user) %APPDATA%\\Python\\PythonXY\\Scripts\n// See https://docs.python.org/3/library/sysconfig.html\n\nfunction binDir(installDir: string): string {\n if (IS_WINDOWS) {\n return path.join(installDir, 'Scripts');\n } else {\n return path.join(installDir, 'bin');\n }\n}\n\n// Note on the tool cache layout for PyPy:\n// PyPy has its own versioning scheme that doesn't follow the Python versioning scheme.\n// A particular version of PyPy may contain one or more versions of the Python interpreter.\n// For example, PyPy 7.0 contains Python 2.7, 3.5, and 3.6-alpha.\n// We only care about the Python version, so we don't use the PyPy version for the tool cache.\nfunction usePyPy(\n majorVersion: '2' | '3.6',\n architecture: string\n): InstalledVersion {\n const findPyPy = tc.find.bind(undefined, 'PyPy', majorVersion);\n let installDir: string | null = findPyPy(architecture);\n\n if (!installDir && IS_WINDOWS) {\n // PyPy only precompiles binaries for x86, but the architecture parameter defaults to x64.\n // On our Windows virtual environments, we only install an x86 version.\n // Fall back to x86.\n installDir = findPyPy('x86');\n }\n\n if (!installDir) {\n // PyPy not installed in $(Agent.ToolsDirectory)\n throw new Error(`PyPy ${majorVersion} not found`);\n }\n\n // For PyPy, Windows uses 'bin', not 'Scripts'.\n const _binDir = path.join(installDir, 'bin');\n\n // On Linux and macOS, the Python interpreter is in 'bin'.\n // On Windows, it is in the installation root.\n const pythonLocation = IS_WINDOWS ? installDir : _binDir;\n core.exportVariable('pythonLocation', pythonLocation);\n\n core.addPath(installDir);\n core.addPath(_binDir);\n // Starting from PyPy 7.3.1, the folder that is used for pip and anything that pip installs should be \"Scripts\" on Windows.\n if (IS_WINDOWS) {\n core.addPath(path.join(installDir, 'Scripts'));\n }\n\n const impl = 'pypy' + majorVersion.toString();\n core.setOutput('python-version', impl);\n\n return {impl: impl, version: versionFromPath(installDir)};\n}\n\nasync function useCpythonVersion(\n version: string,\n architecture: string\n): Promise {\n const desugaredVersionSpec = desugarDevVersion(version);\n const semanticVersionSpec = pythonVersionToSemantic(desugaredVersionSpec);\n core.debug(`Semantic version spec of ${version} is ${semanticVersionSpec}`);\n\n let installDir: string | null = tc.find(\n 'Python',\n semanticVersionSpec,\n architecture\n );\n if (!installDir) {\n core.info(\n `Version ${semanticVersionSpec} was not found in the local cache`\n );\n const foundRelease = await installer.findReleaseFromManifest(\n semanticVersionSpec,\n architecture\n );\n\n if (foundRelease && foundRelease.files && foundRelease.files.length > 0) {\n core.info(`Version ${semanticVersionSpec} is available for downloading`);\n await installer.installCpythonFromRelease(foundRelease);\n\n installDir = tc.find('Python', semanticVersionSpec, architecture);\n }\n }\n\n if (!installDir) {\n throw new Error(\n [\n `Version ${version} with arch ${architecture} not found`,\n `The list of all available versions can be found here: ${installer.MANIFEST_URL}`\n ].join(os.EOL)\n );\n }\n\n core.exportVariable('pythonLocation', installDir);\n\n if (IS_LINUX) {\n const libPath = process.env.LD_LIBRARY_PATH\n ? `:${process.env.LD_LIBRARY_PATH}`\n : '';\n const pyLibPath = path.join(installDir, 'lib');\n\n if (!libPath.split(':').includes(pyLibPath)) {\n core.exportVariable('LD_LIBRARY_PATH', pyLibPath + libPath);\n }\n }\n\n core.addPath(installDir);\n core.addPath(binDir(installDir));\n\n if (IS_WINDOWS) {\n // Add --user directory\n // `installDir` from tool cache should look like $RUNNER_TOOL_CACHE/Python//x64/\n // So if `findLocalTool` succeeded above, we must have a conformant `installDir`\n const version = path.basename(path.dirname(installDir));\n const major = semver.major(version);\n const minor = semver.minor(version);\n\n const userScriptsDir = path.join(\n process.env['APPDATA'] || '',\n 'Python',\n `Python${major}${minor}`,\n 'Scripts'\n );\n core.addPath(userScriptsDir);\n }\n // On Linux and macOS, pip will create the --user directory and add it to PATH as needed.\n\n const installed = versionFromPath(installDir);\n core.setOutput('python-version', installed);\n\n return {impl: 'CPython', version: installed};\n}\n\n/** Convert versions like `3.8-dev` to a version like `>= 3.8.0-a0`. */\nfunction desugarDevVersion(versionSpec: string) {\n if (versionSpec.endsWith('-dev')) {\n const versionRoot = versionSpec.slice(0, -'-dev'.length);\n return `>= ${versionRoot}.0-a0`;\n } else {\n return versionSpec;\n }\n}\n\n/** Extracts python version from install path from hosted tool cache as described in README.md */\nfunction versionFromPath(installDir: string) {\n const parts = installDir.split(path.sep);\n const idx = parts.findIndex(part => part === 'PyPy' || part === 'Python');\n\n return parts[idx + 1] || '';\n}\n\ninterface InstalledVersion {\n impl: string;\n version: string;\n}\n\n/**\n * Python's prelease versions look like `3.7.0b2`.\n * This is the one part of Python versioning that does not look like semantic versioning, which specifies `3.7.0-b2`.\n * If the version spec contains prerelease versions, we need to convert them to the semantic version equivalent.\n */\nexport function pythonVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc)\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2');\n}\n\nexport async function findPythonVersion(\n version: string,\n architecture: string\n): Promise {\n switch (version.toUpperCase()) {\n case 'PYPY2':\n return usePyPy('2', architecture);\n case 'PYPY3':\n // keep pypy3 pointing to 3.6 for backward compatibility\n return usePyPy('3.6', architecture);\n default:\n return await useCpythonVersion(version, architecture);\n }\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as semver from 'semver';\nimport * as httpm from '@actions/http-client';\nimport * as exec from '@actions/exec';\nimport fs from 'fs';\n\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n WINDOWS_PLATFORMS,\n IPyPyManifestRelease,\n createSymlinkInFolder,\n isNightlyKeyword,\n writeExactPyPyVersionFile\n} from './utils';\n\nexport async function installPyPy(\n pypyVersion: string,\n pythonVersion: string,\n architecture: string\n) {\n let downloadDir;\n\n const releases = await getAvailablePyPyVersions();\n if (!releases || releases.length === 0) {\n throw new Error('No release was found in PyPy version.json');\n }\n\n const releaseData = findRelease(\n releases,\n pythonVersion,\n pypyVersion,\n architecture\n );\n\n if (!releaseData || !releaseData.foundAsset) {\n throw new Error(\n `PyPy version ${pythonVersion} (${pypyVersion}) with arch ${architecture} not found`\n );\n }\n\n const {foundAsset, resolvedPythonVersion, resolvedPyPyVersion} = releaseData;\n let downloadUrl = `${foundAsset.download_url}`;\n\n core.info(`Downloading PyPy from \"${downloadUrl}\" ...`);\n const pypyPath = await tc.downloadTool(downloadUrl);\n\n core.info('Extracting downloaded archive...');\n if (IS_WINDOWS) {\n downloadDir = await tc.extractZip(pypyPath);\n } else {\n downloadDir = await tc.extractTar(pypyPath, undefined, 'x');\n }\n\n // root folder in archive can have unpredictable name so just take the first folder\n // downloadDir is unique folder under TEMP and can't contain any other folders\n const archiveName = fs.readdirSync(downloadDir)[0];\n\n const toolDir = path.join(downloadDir, archiveName);\n let installDir = toolDir;\n if (!isNightlyKeyword(resolvedPyPyVersion)) {\n installDir = await tc.cacheDir(\n toolDir,\n 'PyPy',\n resolvedPythonVersion,\n architecture\n );\n }\n\n writeExactPyPyVersionFile(installDir, resolvedPyPyVersion);\n\n const binaryPath = getPyPyBinaryPath(installDir);\n await createPyPySymlink(binaryPath, resolvedPythonVersion);\n await installPip(binaryPath);\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nasync function getAvailablePyPyVersions() {\n const url = 'https://downloads.python.org/pypy/versions.json';\n const http: httpm.HttpClient = new httpm.HttpClient('tool-cache');\n\n const response = await http.getJson(url);\n if (!response.result) {\n throw new Error(\n `Unable to retrieve the list of available PyPy versions from '${url}'`\n );\n }\n\n return response.result;\n}\n\nasync function createPyPySymlink(\n pypyBinaryPath: string,\n pythonVersion: string\n) {\n const version = semver.coerce(pythonVersion)!;\n const pythonBinaryPostfix = semver.major(version);\n const pypyBinaryPostfix = pythonBinaryPostfix === 2 ? '' : '3';\n let binaryExtension = IS_WINDOWS ? '.exe' : '';\n\n core.info('Creating symlinks...');\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${pythonBinaryPostfix}${binaryExtension}`,\n true\n );\n\n createSymlinkInFolder(\n pypyBinaryPath,\n `pypy${pypyBinaryPostfix}${binaryExtension}`,\n `python${binaryExtension}`,\n true\n );\n}\n\nasync function installPip(pythonLocation: string) {\n core.info('Installing and updating pip');\n const pythonBinary = path.join(pythonLocation, 'python');\n await exec.exec(`${pythonBinary} -m ensurepip`);\n\n await exec.exec(\n `${pythonLocation}/python -m pip install --ignore-installed pip`\n );\n}\n\nexport function findRelease(\n releases: IPyPyManifestRelease[],\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n const filterReleases = releases.filter(item => {\n const isPythonVersionSatisfied = semver.satisfies(\n semver.coerce(item.python_version)!,\n pythonVersion\n );\n const isPyPyNightly =\n isNightlyKeyword(pypyVersion) && isNightlyKeyword(item.pypy_version);\n const isPyPyVersionSatisfied =\n isPyPyNightly ||\n semver.satisfies(pypyVersionToSemantic(item.pypy_version), pypyVersion);\n const isArchPresent =\n item.files &&\n (IS_WINDOWS\n ? isArchPresentForWindows(item)\n : isArchPresentForMacOrLinux(item, architecture, process.platform));\n return isPythonVersionSatisfied && isPyPyVersionSatisfied && isArchPresent;\n });\n\n if (filterReleases.length === 0) {\n return null;\n }\n\n const sortedReleases = filterReleases.sort((previous, current) => {\n return (\n semver.compare(\n semver.coerce(pypyVersionToSemantic(current.pypy_version))!,\n semver.coerce(pypyVersionToSemantic(previous.pypy_version))!\n ) ||\n semver.compare(\n semver.coerce(current.python_version)!,\n semver.coerce(previous.python_version)!\n )\n );\n });\n\n const foundRelease = sortedReleases[0];\n const foundAsset = IS_WINDOWS\n ? findAssetForWindows(foundRelease)\n : findAssetForMacOrLinux(foundRelease, architecture, process.platform);\n\n return {\n foundAsset,\n resolvedPythonVersion: foundRelease.python_version,\n resolvedPyPyVersion: foundRelease.pypy_version\n };\n}\n\n/** Get PyPy binary location from the tool of installation directory\n * - On Linux and macOS, the Python interpreter is in 'bin'.\n * - On Windows, it is in the installation root.\n */\nexport function getPyPyBinaryPath(installDir: string) {\n const _binDir = path.join(installDir, 'bin');\n return IS_WINDOWS ? installDir : _binDir;\n}\n\nexport function pypyVersionToSemantic(versionSpec: string) {\n const prereleaseVersion = /(\\d+\\.\\d+\\.\\d+)((?:a|b|rc))(\\d*)/g;\n return versionSpec.replace(prereleaseVersion, '$1-$2.$3');\n}\n\nexport function isArchPresentForWindows(item: any) {\n return item.files.some(\n (file: any) =>\n WINDOWS_ARCHS.includes(file.arch) &&\n WINDOWS_PLATFORMS.includes(file.platform)\n );\n}\n\nexport function isArchPresentForMacOrLinux(\n item: any,\n architecture: string,\n platform: string\n) {\n return item.files.some(\n (file: any) => file.arch === architecture && file.platform === platform\n );\n}\n\nexport function findAssetForWindows(releases: any) {\n return releases.files.find(\n (item: any) =>\n WINDOWS_ARCHS.includes(item.arch) &&\n WINDOWS_PLATFORMS.includes(item.platform)\n );\n}\n\nexport function findAssetForMacOrLinux(\n releases: any,\n architecture: string,\n platform: string\n) {\n return releases.files.find(\n (item: any) => item.arch === architecture && item.platform === platform\n );\n}\n","import * as core from \"@actions/core\"\nimport * as finder from \"./setup-python/src/find-python\"\nimport * as finderPyPy from \"./setup-python/src/find-pypy\"\nimport * as path from \"path\"\nimport { addPath } from \"../utils/path/addPath\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport hasha from \"hasha\"\nimport { join } from \"path\"\nimport { isCI } from \"../utils/env/isci\"\n\nfunction isPyPyVersion(versionSpec: string) {\n return versionSpec.startsWith(\"pypy-\")\n}\n\nexport async function setupPython(version: string, setupCppDir: string, arch: string) {\n if (!isCI()) {\n // TODO parse versoin\n return setupPythonViaSystem(\"\", setupCppDir, arch)\n }\n\n try {\n if (isPyPyVersion(version)) {\n const installed = await finderPyPy.findPyPyVersion(version, arch)\n core.info(\n `Successfully setup PyPy ${installed.resolvedPyPyVersion} with Python (${installed.resolvedPythonVersion})`\n )\n } else {\n const installed = await finder.findPythonVersion(version, arch)\n core.info(`Successfully setup ${installed.impl} (${installed.version})`)\n }\n const matchersPath = path.join(\"setup-pthon\", \".github\")\n core.info(`##[add-matcher]${path.join(matchersPath, \"python.json\")}`)\n return undefined\n } catch (err) {\n return setupPythonViaSystem(version, setupCppDir, arch)\n }\n}\n\nexport async function setupPythonViaSystem(version: string, setupCppDir: string, arch: string) {\n switch (process.platform) {\n case \"win32\": {\n // Get an unique output directory name from the URL.\n const key: string = await hasha.async(version + arch, { algorithm: \"md5\" })\n const installDir = join(setupCppDir, key, \"python\")\n const binDir = installDir\n await setupChocoPack(\"python3\", version, [`/InstallDir:${installDir}`])\n\n // Adding the bin dir to the path\n /** The directory which the tool is installed to */\n core.info(`Add ${binDir} to PATH`)\n addPath(binDir)\n\n return { installDir, binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"python3\", version)\n }\n case \"linux\": {\n const installInfo = await setupAptPack(\"python3\", version)\n await setupAptPack(\"python3-pip\")\n return installInfo\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import * as path from 'path';\nimport * as pypyInstall from './install-pypy';\nimport {\n IS_WINDOWS,\n WINDOWS_ARCHS,\n validateVersion,\n getPyPyVersionFromPath,\n readExactPyPyVersionFile,\n validatePythonVersionFormatForPyPy\n} from './utils';\n\nimport * as semver from 'semver';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\n\ninterface IPyPyVersionSpec {\n pypyVersion: string;\n pythonVersion: string;\n}\n\nexport async function findPyPyVersion(\n versionSpec: string,\n architecture: string\n): Promise<{resolvedPyPyVersion: string; resolvedPythonVersion: string}> {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null;\n\n const pypyVersionSpec = parsePyPyVersion(versionSpec);\n\n ({installDir, resolvedPythonVersion, resolvedPyPyVersion} = findPyPyToolCache(\n pypyVersionSpec.pythonVersion,\n pypyVersionSpec.pypyVersion,\n architecture\n ));\n\n if (!installDir) {\n ({\n installDir,\n resolvedPythonVersion,\n resolvedPyPyVersion\n } = await pypyInstall.installPyPy(\n pypyVersionSpec.pypyVersion,\n pypyVersionSpec.pythonVersion,\n architecture\n ));\n }\n\n const pipDir = IS_WINDOWS ? 'Scripts' : 'bin';\n const _binDir = path.join(installDir, pipDir);\n const pythonLocation = pypyInstall.getPyPyBinaryPath(installDir);\n core.exportVariable('pythonLocation', pythonLocation);\n core.addPath(pythonLocation);\n core.addPath(_binDir);\n\n return {resolvedPyPyVersion, resolvedPythonVersion};\n}\n\nexport function findPyPyToolCache(\n pythonVersion: string,\n pypyVersion: string,\n architecture: string\n) {\n let resolvedPyPyVersion = '';\n let resolvedPythonVersion = '';\n let installDir: string | null = IS_WINDOWS\n ? findPyPyInstallDirForWindows(pythonVersion)\n : tc.find('PyPy', pythonVersion, architecture);\n\n if (installDir) {\n // 'tc.find' finds tool based on Python version but we also need to check\n // whether PyPy version satisfies requested version.\n resolvedPythonVersion = getPyPyVersionFromPath(installDir);\n resolvedPyPyVersion = readExactPyPyVersionFile(installDir);\n\n const isPyPyVersionSatisfies = semver.satisfies(\n resolvedPyPyVersion,\n pypyVersion\n );\n if (!isPyPyVersionSatisfies) {\n installDir = null;\n resolvedPyPyVersion = '';\n resolvedPythonVersion = '';\n }\n }\n\n if (!installDir) {\n core.info(\n `PyPy version ${pythonVersion} (${pypyVersion}) was not found in the local cache`\n );\n }\n\n return {installDir, resolvedPythonVersion, resolvedPyPyVersion};\n}\n\nexport function parsePyPyVersion(versionSpec: string): IPyPyVersionSpec {\n const versions = versionSpec.split('-').filter(item => !!item);\n\n if (versions.length < 2 || versions[0] != 'pypy') {\n throw new Error(\n \"Invalid 'version' property for PyPy. PyPy version should be specified as 'pypy-'. See README for examples and documentation.\"\n );\n }\n\n const pythonVersion = versions[1];\n let pypyVersion: string;\n if (versions.length > 2) {\n pypyVersion = pypyInstall.pypyVersionToSemantic(versions[2]);\n } else {\n pypyVersion = 'x';\n }\n\n if (!validateVersion(pythonVersion) || !validateVersion(pypyVersion)) {\n throw new Error(\n \"Invalid 'version' property for PyPy. Both Python version and PyPy versions should satisfy SemVer notation. See README for examples and documentation.\"\n );\n }\n\n if (!validatePythonVersionFormatForPyPy(pythonVersion)) {\n throw new Error(\n \"Invalid format of Python version for PyPy. Python version should be specified in format 'x.y'. See README for examples and documentation.\"\n );\n }\n\n return {\n pypyVersion: pypyVersion,\n pythonVersion: pythonVersion\n };\n}\n\nexport function findPyPyInstallDirForWindows(pythonVersion: string): string {\n let installDir = '';\n\n WINDOWS_ARCHS.forEach(\n architecture =>\n (installDir = installDir || tc.find('PyPy', pythonVersion, architecture))\n );\n\n return installDir;\n}\n","import * as path from 'path';\nimport * as core from '@actions/core';\nimport * as tc from '@actions/tool-cache';\nimport * as exec from '@actions/exec';\nimport {ExecOptions} from '@actions/exec/lib/interfaces';\nimport {IS_WINDOWS, IS_LINUX} from './utils';\n\nconst TOKEN = core.getInput('token');\nconst AUTH = !TOKEN || isGhes() ? undefined : `token ${TOKEN}`;\nconst MANIFEST_REPO_OWNER = 'actions';\nconst MANIFEST_REPO_NAME = 'python-versions';\nconst MANIFEST_REPO_BRANCH = 'main';\nexport const MANIFEST_URL = `https://raw.githubusercontent.com/${MANIFEST_REPO_OWNER}/${MANIFEST_REPO_NAME}/${MANIFEST_REPO_BRANCH}/versions-manifest.json`;\n\nexport async function findReleaseFromManifest(\n semanticVersionSpec: string,\n architecture: string\n): Promise {\n const manifest: tc.IToolRelease[] = await tc.getManifestFromRepo(\n MANIFEST_REPO_OWNER,\n MANIFEST_REPO_NAME,\n AUTH,\n MANIFEST_REPO_BRANCH\n );\n return await tc.findFromManifest(\n semanticVersionSpec,\n false,\n manifest,\n architecture\n );\n}\n\nasync function installPython(workingDirectory: string) {\n const options: ExecOptions = {\n cwd: workingDirectory,\n env: {\n ...process.env,\n ...(IS_LINUX && {LD_LIBRARY_PATH: path.join(workingDirectory, 'lib')})\n },\n silent: true,\n listeners: {\n stdout: (data: Buffer) => {\n core.info(data.toString().trim());\n },\n stderr: (data: Buffer) => {\n core.error(data.toString().trim());\n }\n }\n };\n\n if (IS_WINDOWS) {\n await exec.exec('powershell', ['./setup.ps1'], options);\n } else {\n await exec.exec('bash', ['./setup.sh'], options);\n }\n}\n\nexport async function installCpythonFromRelease(release: tc.IToolRelease) {\n const downloadUrl = release.files[0].download_url;\n\n core.info(`Download from \"${downloadUrl}\"`);\n const pythonPath = await tc.downloadTool(downloadUrl, undefined, AUTH);\n core.info('Extract downloaded archive');\n let pythonExtractedFolder;\n if (IS_WINDOWS) {\n pythonExtractedFolder = await tc.extractZip(pythonPath);\n } else {\n pythonExtractedFolder = await tc.extractTar(pythonPath);\n }\n\n core.info('Execute installation script');\n await installPython(pythonExtractedFolder);\n}\n\nfunction isGhes(): boolean {\n const ghUrl = new URL(\n process.env['GITHUB_SERVER_URL'] || 'https://github.com'\n );\n return ghUrl.hostname.toUpperCase() !== 'GITHUB.COM';\n}\n","import * as https from \"https\"\n\nexport function isValidUrl(url: string) {\n return new Promise((resolve) => {\n https.get(url, (res) => {\n if (res.statusCode !== undefined && res.statusCode >= 200 && res.statusCode <= 399) {\n resolve(true)\n } else {\n resolve(false)\n }\n })\n })\n}\n","/* eslint-disable require-atomic-updates */\nimport { getExecOutput } from \"@actions/exec\"\nimport execa from \"execa\"\nimport which from \"which\"\nimport { info } from \"@actions/core\"\nimport { addPath } from \"../path/addPath\"\nimport { setupPython } from \"../../python/python\"\nimport { isBinUptoDate } from \"./version\"\nimport { join } from \"path\"\n\nlet pip: string | undefined\n\nlet binDir: string | undefined\n\n/** A function that installs a package using pip */\nexport async function setupPipPack(name: string, version?: string) {\n // setup python and pip if needed\n if (pip === undefined) {\n if (which.sync(\"pip3\", { nothrow: true }) !== null) {\n pip = \"pip3\"\n } else if (which.sync(\"pip\", { nothrow: true }) !== null && (await isBinUptoDate(\"python\", \"3.0.0\"))) {\n pip = \"pip\"\n } else {\n await setupPython(\"3.x\", \"\", process.arch)\n pip = \"pip3\"\n }\n }\n\n execa.sync(pip, [\"install\", version !== undefined && version !== \"\" ? `${name}==${version}` : name])\n\n if (binDir === undefined) {\n if (process.platform === \"linux\") {\n binDir = \"/home/runner/.local/bin/\"\n } else if (process.platform === \"darwin\") {\n binDir = \"/usr/local/bin/\"\n } else {\n try {\n binDir = join(\n (await getExecOutput('python3 -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n } catch {\n binDir = join(\n (await getExecOutput('python -c \"import sys;print(sys.base_exec_prefix);\"')).stdout.trim(),\n \"Scripts\"\n )\n }\n }\n info(`${binDir} to PATH`)\n addPath(binDir)\n }\n\n return { binDir }\n}\n","import { isValidUrl } from \"../http/validate_url\"\nimport semverCompare from \"semver/functions/compare\"\nimport { getExecOutput } from \"@actions/exec\"\n\n/**\n * Gets the specific versions supported by this action compatible with the supplied (specific or minimum) version in\n * descending order of release (e.g., `5.0.2`, `5.0.1`, and `5.0.0` for `5`).\n */\nexport function getSpecificVersions(versions: Set, semversion: string): string[] {\n return Array.from(versions)\n .filter((v) => /^\\d+\\.\\d+\\.\\d+$/.test(v) && v.startsWith(semversion))\n .sort()\n .reverse()\n}\n\n/**\n * Gets the specific and minimum versions that can be used to refer to the supplied specific versions (e.g., `3`, `3.5`,\n * `3.5.2` for `3.5.2`).\n */\nexport function getVersions(specific: string[]): Set {\n const versions = new Set(specific)\n\n for (const version of specific) {\n versions.add(/^\\d+/.exec(version)![0])\n versions.add(/^\\d+\\.\\d+/.exec(version)![0])\n }\n\n return versions\n}\n\n/** Gets the most recent specific version for which there is a valid download URL. */\nexport async function getSpecificVersionAndUrl(\n versions: Set,\n platform: string,\n version: string,\n getUrl: (platform: string, version: string) => string | null | Promise\n): Promise<[string, string]> {\n if (!versions.has(version)) {\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n }\n\n for (const specificVersion of getSpecificVersions(versions, version)) {\n // eslint-disable-next-line no-await-in-loop\n const url = await getUrl(platform, specificVersion)\n // eslint-disable-next-line no-await-in-loop\n if (url !== null && (await isValidUrl(url))) {\n return [specificVersion, url]\n }\n }\n\n throw new Error(`Unsupported target! (platform='${platform}', version='${version}')`)\n}\n\nexport const defaultVersionRegex = /v?(\\d\\S*)/\n\n/** Get the version of a binary */\nexport async function getBinVersion(file: string, versionRegex: RegExp = defaultVersionRegex) {\n try {\n const { stderr, stdout } = await getExecOutput(file, [\"--version\"])\n const version = stdout.match(versionRegex)?.[1] ?? stderr.match(versionRegex)?.[1]\n return version\n } catch (e) {\n console.error(e)\n return undefined\n }\n}\n\n/** Check if the given bin is up to date against the target version */\nexport async function isBinUptoDate(\n givenFile: string,\n targetVersion: string,\n versionRegex: RegExp = defaultVersionRegex\n) {\n const givenVersion = await getBinVersion(givenFile, versionRegex)\n if (\n typeof givenVersion === \"string\" &&\n typeof targetVersion === \"string\" &&\n givenVersion !== \"\" &&\n targetVersion !== \"\"\n ) {\n return semverCompare(givenVersion, targetVersion) !== -1\n } else {\n // assume given version is old\n return false\n }\n}\n","import execa from \"execa\"\nimport { mkdirP } from \"@actions/io\"\nexport { extractTar, extractXar, extract7z, extractZip } from \"@actions/tool-cache\"\n\nexport async function extractExe(file: string, dest: string) {\n await execa(\"7z\", [\"x\", file, `-o${dest}`])\n return dest\n}\n\nexport async function extractTarByExe(file: string, dest: string, flags = [\"--strip-components=1\"]) {\n try {\n await mkdirP(dest)\n } catch {\n // ignore\n }\n await execa(\"tar\", [\"xf\", file, \"-C\", dest, ...flags])\n return dest\n}\n","import * as core from \"@actions/core\"\nimport * as path from \"path\"\nimport semverLte from \"semver/functions/lte\"\nimport semverMajor from \"semver/functions/major\"\nimport { isValidUrl } from \"../utils/http/validate_url\"\nimport { InstallationInfo, PackageInfo, setupBin } from \"../utils/setup/setupBin\"\nimport { extractExe, extractTarByExe } from \"../utils/setup/extract\"\nimport { getSpecificVersionAndUrl, getVersions } from \"../utils/setup/version\"\nimport { getExecOutput } from \"@actions/exec\"\nimport { existsSync } from \"fs\"\n\n//================================================\n// Version\n//================================================\n\n/** The specific and minimum LLVM versions supported by this action. */\nexport const VERSIONS: Set = getVersions([\n \"3.5.0\",\n \"3.5.1\",\n \"3.5.2\",\n \"3.6.0\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.0\",\n \"3.7.1\",\n \"3.8.0\",\n \"3.8.1\",\n \"3.9.0\",\n \"3.9.1\",\n \"4.0.0\",\n \"4.0.1\",\n \"5.0.0\",\n \"5.0.1\",\n \"5.0.2\",\n \"6.0.0\",\n \"6.0.1\",\n \"7.0.0\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.0\",\n \"8.0.1\",\n \"9.0.0\",\n \"9.0.1\",\n \"10.0.0\",\n \"10.0.1\",\n \"11.0.0\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.0\",\n \"12.0.1\",\n])\n\n//================================================\n// URL\n//================================================\n\n/** Gets a LLVM download URL for GitHub. */\nfunction getGitHubUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://github.com/llvm/llvm-project/releases/download/llvmorg-${version}/${file}`\n}\n\n/** Gets a LLVM download URL for https://releases.llvm.org. */\nfunction getReleaseUrl(version: string, prefix: string, suffix: string): string {\n const file = `${prefix}${version}${suffix}`\n return `https://releases.llvm.org/${version}/${file}`\n}\n\n/** The LLVM versions that were never released for the Darwin platform. */\nconst DARWIN_MISSING: Set = new Set([\n \"3.5.1\",\n \"3.6.1\",\n \"3.6.2\",\n \"3.7.1\",\n \"3.8.1\",\n \"3.9.1\",\n \"6.0.1\",\n \"7.0.1\",\n \"7.1.0\",\n \"8.0.1\",\n \"11.0.1\",\n \"11.1.0\",\n \"12.0.1\",\n])\n\n/** Gets an LLVM download URL for the Darwin platform. */\nfunction getDarwinUrl(version: string): string | null {\n if (DARWIN_MISSING.has(version)) {\n return null\n }\n\n const darwin = version === \"9.0.0\" ? \"-darwin-apple\" : \"-apple-darwin\"\n const prefix = \"clang+llvm-\"\n const suffix = `-x86_64${darwin}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/**\n * The LLVM versions that should use the last RC version instead of the release version for the Linux (Ubuntu) platform.\n * This is useful when there were binaries released for the Linux (Ubuntu) platform for the last RC version but not for\n * the actual release version.\n */\nconst UBUNTU_RC: Map = new Map([[\"12.0.1\", \"12.0.1-rc4\"]])\n\n/** The (latest) Ubuntu versions for each LLVM version. */\nconst UBUNTU: { [key: string]: string } = {\n \"3.5.0\": \"-ubuntu-14.04\",\n \"3.5.1\": \"\",\n \"3.5.2\": \"-ubuntu-14.04\",\n \"3.6.0\": \"-ubuntu-14.04\",\n \"3.6.1\": \"-ubuntu-14.04\",\n \"3.6.2\": \"-ubuntu-14.04\",\n \"3.7.0\": \"-ubuntu-14.04\",\n \"3.7.1\": \"-ubuntu-14.04\",\n \"3.8.0\": \"-ubuntu-16.04\",\n \"3.8.1\": \"-ubuntu-16.04\",\n \"3.9.0\": \"-ubuntu-16.04\",\n \"3.9.1\": \"-ubuntu-16.04\",\n \"4.0.0\": \"-ubuntu-16.04\",\n \"5.0.0\": \"-ubuntu16.04\",\n \"5.0.1\": \"-ubuntu-16.04\",\n \"5.0.2\": \"-ubuntu-16.04\",\n \"6.0.0\": \"-ubuntu-16.04\",\n \"6.0.1\": \"-ubuntu-16.04\",\n \"7.0.0\": \"-ubuntu-16.04\",\n \"7.0.1\": \"-ubuntu-18.04\",\n \"7.1.0\": \"-ubuntu-14.04\",\n \"8.0.0\": \"-ubuntu-18.04\",\n \"9.0.0\": \"-ubuntu-18.04\",\n \"9.0.1\": \"-ubuntu-16.04\",\n \"10.0.0\": \"-ubuntu-18.04\",\n \"10.0.1\": \"-ubuntu-16.04\",\n \"11.0.0\": \"-ubuntu-20.04\",\n \"11.0.1\": \"-ubuntu-16.04\",\n \"11.1.0\": \"-ubuntu-16.04\",\n \"12.0.0\": \"-ubuntu-20.04\",\n \"12.0.1-rc4\": \"-ubuntu-21.04\",\n}\n\n/** The latest supported LLVM version for the Linux (Ubuntu) platform. */\nconst MAX_UBUNTU: string = \"12.0.1-rc4\"\n\n/** Gets an LLVM download URL for the Linux (Ubuntu) platform. */\nfunction getLinuxUrl(versionGiven: string): string {\n let version = versionGiven\n\n const rc = UBUNTU_RC.get(version)\n if (rc !== undefined) {\n version = rc\n }\n\n let ubuntu: string\n // ubuntu-version is specified\n if (version.includes(\"ubuntu\")) {\n ubuntu = version\n } else if (version !== \"\" && version in UBUNTU) {\n ubuntu = UBUNTU[version]\n } else {\n // default to the maximum vresion\n ubuntu = UBUNTU[MAX_UBUNTU]\n }\n\n const prefix = \"clang+llvm-\"\n const suffix = version === \"5.0.0\" ? `-linux-x86_64${ubuntu}.tar.xz` : `-x86_64-linux-gnu${ubuntu}.tar.xz`\n if (semverLte(version, \"9.0.1\")) {\n return getReleaseUrl(version, prefix, suffix)\n } else {\n return getGitHubUrl(version, prefix, suffix)\n }\n}\n\n/** The LLVM versions that were never released for the Windows platform. */\nconst WIN32_MISSING: Set = new Set([\"10.0.1\"])\n\n/** Gets an LLVM download URL for the Windows platform. */\nasync function getWin32Url(version: string): Promise {\n if (WIN32_MISSING.has(version)) {\n return null\n }\n\n const prefix = \"LLVM-\"\n const suffix = semverLte(version, \"3.7.0\") ? \"-win32.exe\" : \"-win64.exe\"\n\n const olderThan9_1 = semverLte(version, \"9.0.1\")\n let url: string\n let fallback = false\n if (olderThan9_1) {\n url = getReleaseUrl(version, prefix, suffix)\n if (!(await isValidUrl(url))) {\n fallback = true // fallback to github\n }\n }\n if (fallback || !olderThan9_1) {\n url = getGitHubUrl(version, prefix, suffix)\n }\n\n return url!\n}\n\n/** Gets an LLVM download URL. */\nexport function getUrl(platform: string, version: string): string | null | Promise {\n switch (platform) {\n case \"darwin\":\n return getDarwinUrl(version)\n case \"linux\":\n return getLinuxUrl(version)\n case \"win32\":\n return getWin32Url(version)\n default:\n return null\n }\n}\n\n//================================================\n// Action\n//================================================\n\nconst DEFAULT_NIX_DIRECTORY = \"./llvm\"\nconst DEFAULT_WIN32_DIRECTORY = \"C:/Program Files/LLVM\"\n\nasync function getLLVMPackageInfo(version: string, platform: NodeJS.Platform): Promise {\n const [specificVersion, url] = await getSpecificVersionAndUrl(VERSIONS, platform, version, getUrl)\n core.setOutput(\"version\", specificVersion)\n return {\n url,\n extractedFolderName: \"\",\n binRelativeDir: \"bin\",\n extractFunction: platform === \"win32\" ? extractExe : extractTarByExe,\n }\n}\n\nexport async function setupLLVM(\n version: string,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _setupCppDir: string | undefined,\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n _arch: string\n): Promise {\n let directory = _setupCppDir\n if (directory === \"\" || directory === undefined) {\n directory = process.platform === \"win32\" ? DEFAULT_WIN32_DIRECTORY : DEFAULT_NIX_DIRECTORY\n }\n\n directory = path.resolve(directory)\n\n const installationInfo = await setupBin(\"llvm\", version, getLLVMPackageInfo, directory)\n\n // Adding environment variables\n const lib = path.join(directory, \"lib\")\n\n const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n core.exportVariable(\"LLVM_PATH\", directory) // the output of this action\n\n const llvmMajor = semverMajor(version)\n\n // Setup LLVM as the compiler\n core.exportVariable(\"LD_LIBRARY_PATH\", `${lib}${path.delimiter}${ld}`)\n core.exportVariable(\"DYLD_LIBRARY_PATH\", `${lib}${path.delimiter}${dyld}`)\n\n core.exportVariable(\"CPATH\", `${directory}/lib/clang/${llvmMajor}/include`)\n\n core.exportVariable(\"LDFLAGS\", `-L${directory}/lib`)\n core.exportVariable(\"CPPFLAGS\", `-I${directory}/include`)\n\n core.exportVariable(\"CC\", `${directory}/bin/clang`)\n core.exportVariable(\"CXX\", `${directory}/bin/clang++`)\n\n core.exportVariable(\"LIBRARY_PATH\", `${directory}/lib`)\n\n if (process.platform === \"darwin\") {\n try {\n const xcrun = await getExecOutput(\"xcrun --sdk macosx --show-sdk-path\")\n const sdkroot = xcrun.stdout || xcrun.stderr\n if (existsSync(sdkroot)) {\n core.exportVariable(\"SDKROOT\", sdkroot)\n }\n } catch (e) {\n core.error(e as Error | string)\n }\n }\n\n return installationInfo\n}\n","import { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport { error, exportVariable } from \"@actions/core\"\nimport { existsSync } from \"fs\"\n\ntype MSVCVersion = \"2015\" | \"2017\" | \"2019\" | string\n\nfunction getArch(arch: string): string {\n switch (arch) {\n case \"x32\":\n case \"32\":\n case \"ia32\": {\n return \"x86\"\n }\n case \"64\": {\n return \"x64\"\n }\n default: {\n return arch\n }\n }\n}\n\nexport async function setupMSVC(\n version: MSVCVersion,\n _setupCppDir: string,\n arch: string,\n sdk?: string,\n uwp?: boolean,\n spectre?: boolean\n): Promise {\n if (process.platform !== \"win32\") {\n return\n }\n let toolset: string | undefined\n let VCTargetsPath: string | undefined\n try {\n if (version === \"2015\") {\n toolset = \"14.0.25420.1\"\n await setupChocoPack(\"visualcpp-build-tools\", toolset, [\n \"--ignore-dependencies\",\n \"--params\",\n \"'/IncludeRequired'\",\n ])\n\n VCTargetsPath = \"C:/Program Files (x86)/MSBuild/Microsoft.Cpp/v4.0/v140\"\n if (existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n } else if (version === \"2017\") {\n toolset = \"14.16\"\n await setupChocoPack(\"visualstudio2017buildtools\", \"15.9.38.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2017/BuildTools/VC/Tools/MSVC/14.16\" // TODO verify path\n } else if (version === \"2019\") {\n toolset = \"14.29.30133\"\n await setupChocoPack(\"visualstudio2019buildtools\", \"16.11.2.0\", [\n \"--package-parameters\",\n \"'--add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended --passive'\",\n ])\n VCTargetsPath = \"C:/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133\"\n }\n } catch (e) {\n error(e as string | Error)\n }\n if (VCTargetsPath !== undefined && existsSync(VCTargetsPath)) {\n exportVariable(\"VCTargetsPath\", VCTargetsPath)\n }\n\n // lazy load the action so it is not executed\n // eslint-disable-next-line @typescript-eslint/no-var-requires\n const { setupMSVCDevCmd } = require(\"./msvc-dev-cmd/index\")\n setupMSVCDevCmd(getArch(arch), sdk, toolset, uwp, spectre)\n}\n","import { extractZip } from \"@actions/tool-cache\"\nimport { setupBin, PackageInfo, InstallationInfo } from \"../utils/setup/setupBin\"\n\n/** Get the platform name Ninja uses in their download links */\nfunction getNinjaPlatform(platform: NodeJS.Platform) {\n switch (platform) {\n case \"win32\":\n return \"win\"\n case \"darwin\":\n return \"mac\"\n case \"linux\":\n return \"linux\"\n default:\n throw new Error(`Unsupported platform '${platform}'`)\n }\n}\n\n/** Get the platform data for ninja */\nfunction getNinjaPackageInfo(version: string, platform: NodeJS.Platform): PackageInfo {\n const ninjaPlatform = getNinjaPlatform(platform)\n return {\n binRelativeDir: \"\",\n extractedFolderName: \"\",\n extractFunction: extractZip,\n url: `https://github.com/ninja-build/ninja/releases/download/v${version}/ninja-${ninjaPlatform}.zip`,\n }\n}\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupNinja(version: string, setupCppDir: string, _arch: string): Promise {\n return setupBin(\"ninja\", version, getNinjaPackageInfo, setupCppDir)\n}\n","function toArr(any) {\n\treturn any == null ? [] : Array.isArray(any) ? any : [any];\n}\n\nfunction toVal(out, key, val, opts) {\n\tvar x, old=out[key], nxt=(\n\t\t!!~opts.string.indexOf(key) ? (val == null || val === true ? '' : String(val))\n\t\t: typeof val === 'boolean' ? val\n\t\t: !!~opts.boolean.indexOf(key) ? (val === 'false' ? false : val === 'true' || (out._.push((x = +val,x * 0 === 0) ? x : val),!!val))\n\t\t: (x = +val,x * 0 === 0) ? x : val\n\t);\n\tout[key] = old == null ? nxt : (Array.isArray(old) ? old.concat(nxt) : [old, nxt]);\n}\n\nexport default function (args, opts) {\n\targs = args || [];\n\topts = opts || {};\n\n\tvar k, arr, arg, name, val, out={ _:[] };\n\tvar i=0, j=0, idx=0, len=args.length;\n\n\tconst alibi = opts.alias !== void 0;\n\tconst strict = opts.unknown !== void 0;\n\tconst defaults = opts.default !== void 0;\n\n\topts.alias = opts.alias || {};\n\topts.string = toArr(opts.string);\n\topts.boolean = toArr(opts.boolean);\n\n\tif (alibi) {\n\t\tfor (k in opts.alias) {\n\t\t\tarr = opts.alias[k] = toArr(opts.alias[k]);\n\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t(opts.alias[arr[i]] = arr.concat(k)).splice(i, 1);\n\t\t\t}\n\t\t}\n\t}\n\n\tfor (i=opts.boolean.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.boolean[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.boolean.push(arr[j]);\n\t}\n\n\tfor (i=opts.string.length; i-- > 0;) {\n\t\tarr = opts.alias[opts.string[i]] || [];\n\t\tfor (j=arr.length; j-- > 0;) opts.string.push(arr[j]);\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tname = typeof opts.default[k];\n\t\t\tarr = opts.alias[k] = opts.alias[k] || [];\n\t\t\tif (opts[name] !== void 0) {\n\t\t\t\topts[name].push(k);\n\t\t\t\tfor (i=0; i < arr.length; i++) {\n\t\t\t\t\topts[name].push(arr[i]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\tconst keys = strict ? Object.keys(opts.alias) : [];\n\n\tfor (i=0; i < len; i++) {\n\t\targ = args[i];\n\n\t\tif (arg === '--') {\n\t\t\tout._ = out._.concat(args.slice(++i));\n\t\t\tbreak;\n\t\t}\n\n\t\tfor (j=0; j < arg.length; j++) {\n\t\t\tif (arg.charCodeAt(j) !== 45) break; // \"-\"\n\t\t}\n\n\t\tif (j === 0) {\n\t\t\tout._.push(arg);\n\t\t} else if (arg.substring(j, j + 3) === 'no-') {\n\t\t\tname = arg.substring(j + 3);\n\t\t\tif (strict && !~keys.indexOf(name)) {\n\t\t\t\treturn opts.unknown(arg);\n\t\t\t}\n\t\t\tout[name] = false;\n\t\t} else {\n\t\t\tfor (idx=j+1; idx < arg.length; idx++) {\n\t\t\t\tif (arg.charCodeAt(idx) === 61) break; // \"=\"\n\t\t\t}\n\n\t\t\tname = arg.substring(j, idx);\n\t\t\tval = arg.substring(++idx) || (i+1 === len || (''+args[i+1]).charCodeAt(0) === 45 || args[++i]);\n\t\t\tarr = (j === 2 ? [name] : name);\n\n\t\t\tfor (idx=0; idx < arr.length; idx++) {\n\t\t\t\tname = arr[idx];\n\t\t\t\tif (strict && !~keys.indexOf(name)) return opts.unknown('-'.repeat(j) + name);\n\t\t\t\ttoVal(out, name, (idx + 1 < arr.length) || val, opts);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (defaults) {\n\t\tfor (k in opts.default) {\n\t\t\tif (out[k] === void 0) {\n\t\t\t\tout[k] = opts.default[k];\n\t\t\t}\n\t\t}\n\t}\n\n\tif (alibi) {\n\t\tfor (k in out) {\n\t\t\tarr = opts.alias[k] || [];\n\t\t\twhile (arr.length > 0) {\n\t\t\t\tout[arr.shift()] = out[k];\n\t\t\t}\n\t\t}\n\t}\n\n\treturn out;\n}\n","const DefaultVersions: Record = {\n msvc: \"2019\",\n llvm: \"11.1.0\",\n ninja: \"1.10.2\",\n cmake: \"3.20.2\",\n gcovr: \"5.0\",\n conan: \"1.40.1\",\n meson: \"0.59.1\",\n python: \"3.9.7\",\n gcc: process.platform === \"win32\" ? \"11.2.0\" : \"11\",\n}\n\n/** Get the default version if passed true or undefined, otherwise return the version itself */\nexport function getVersion(name: string, version: string | undefined) {\n if (version === \"true\" || (version === undefined && name in DefaultVersions)) {\n return DefaultVersions[name]\n } else {\n return version ?? \"\"\n }\n}\n","import { exportVariable, info } from \"@actions/core\"\nimport { addPath } from \"../utils/path/addPath\"\nimport { existsSync } from \"fs\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\nimport semverMajor from \"semver/functions/major\"\nimport semverCoerce from \"semver/functions/coerce\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupGcc(version: string, _setupCppDir: string, arch: string) {\n let binDir: string | undefined\n switch (process.platform) {\n case \"win32\": {\n if (arch === \"arm\" || arch === \"arm64\") {\n await setupChocoPack(\"gcc-arm-embedded\", version)\n }\n await setupChocoPack(\"mingw\", version)\n if (arch === \"x64\" && existsSync(\"C:/tools/mingw64/bin\")) {\n binDir = \"C:/tools/mingw64/bin\"\n addPath(binDir)\n } else if (arch === \"ia32\" && existsSync(\"C:/tools/mingw32/bin\")) {\n binDir = \"C:/tools/mingw32/bin\"\n addPath(binDir)\n } else if (existsSync(\"C:/ProgramData/Chocolatey/bin/g++.exe\")) {\n binDir = \"C:/ProgramData/Chocolatey/bin/\"\n }\n break\n }\n case \"darwin\": {\n binDir = setupBrewPack(\"gcc\", version).binDir\n break\n }\n case \"linux\": {\n if (arch === \"x64\") {\n binDir = (await setupAptPack(\"g++\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n } else {\n info(`Install g++-multilib because gcc for ${arch} was requested`)\n binDir = (await setupAptPack(\"g++-multilib\", version, \"ppa:ubuntu-toolchain-r/test\")).binDir\n }\n break\n }\n // TODO support bare-metal\n // TODO support abi\n // case \"none\": {\n // if (arch === \"arm\" || arch === \"arm64\") {\n // return setupAptPack(\"gcc-arm-none-eabi\", version, \"ppa:ubuntu-toolchain-r/test\")\n // } else {\n // throw new Error(`Unsupported platform for ${arch}`)\n // }\n // }\n default: {\n throw new Error(`Unsupported platform for ${arch}`)\n }\n }\n if (binDir !== undefined) {\n const majorVersion = semverMajor(semverCoerce(version) ?? version)\n\n // TODO\n // const ld = process.env.LD_LIBRARY_PATH ?? \"\"\n // const dyld = process.env.DYLD_LIBRARY_PATH ?? \"\"\n\n // // Setup gcc as the compiler\n // exportVariable(\"LD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${ld}`)\n // exportVariable(\"DYLD_LIBRARY_PATH\", `${installDir}/lib${path.delimiter}${dyld}`)\n\n // exportVariable(\"CPATH\", `${installDir}/lib/gcc/${majorVersion}/include`)\n\n // exportVariable(\"LDFLAGS\", `-L${installDir}/lib`)\n // exportVariable(\"CPPFLAGS\", `-I${installDir}/include`)\n\n if (process.platform === \"win32\") {\n exportVariable(\"CC\", `${binDir}/gcc`)\n exportVariable(\"CXX\", `${binDir}/g++`)\n } else {\n exportVariable(\"CC\", `${binDir}/gcc-${majorVersion}`)\n exportVariable(\"CXX\", `${binDir}/g++-${majorVersion}`)\n }\n return { binDir }\n }\n return undefined\n}\n","import * as core from \"@actions/core\"\nimport { isCI } from \"../env/isci\"\n\nexport function error(err: string | Error) {\n return isCI() ? core.error(err) : console.log(`\\x1b[31m${err}\\x1b[0m`)\n}\n\nexport function success(msg: string) {\n return isCI() ? core.info(msg) : console.log(`\\x1b[32m${msg}\\x1b[0m`)\n}\n","import * as core from \"@actions/core\"\nimport { setupBrew } from \"./brew/brew\"\nimport { setupCcache } from \"./ccache/ccache\"\nimport { setupChocolatey } from \"./chocolatey/chocolatey\"\nimport { setupCmake } from \"./cmake/cmake\"\nimport { setupConan } from \"./conan/conan\"\nimport { setupCppcheck } from \"./cppcheck/cppcheck\"\nimport { setupDoxygen } from \"./doxygen/doxygen\"\nimport { setupGcovr } from \"./gcovr/gcovr\"\nimport { setupLLVM } from \"./llvm/llvm\"\nimport { setupMeson } from \"./meson/meson\"\nimport { setupMSVC } from \"./msvc/msvc\"\nimport { setupNinja } from \"./ninja/ninja\"\nimport { setupOpencppcoverage } from \"./opencppcoverage/opencppcoverage\"\nimport { setupPython } from \"./python/python\"\nimport mri from \"mri\"\nimport untildify from \"untildify\"\nimport { isCI } from \"./utils/env/isci\"\n\nimport semverValid from \"semver/functions/valid\"\nimport { getVersion } from \"./default_versions\"\nimport { setupGcc } from \"./gcc/gcc\"\nimport { InstallationInfo } from \"./utils/setup/setupBin\"\nimport { error, success } from \"./utils/io/io\"\n\n/** The setup functions */\nconst setups = {\n cmake: setupCmake,\n ninja: setupNinja,\n python: setupPython,\n conan: setupConan,\n meson: setupMeson,\n gcovr: setupGcovr,\n opencppcoverage: setupOpencppcoverage,\n llvm: setupLLVM,\n gcc: setupGcc,\n choco: setupChocolatey,\n brew: setupBrew,\n ccache: setupCcache,\n doxygen: setupDoxygen,\n cppcheck: setupCppcheck,\n msvc: setupMSVC,\n}\n\n/** The tools that can be installed */\nconst tools: Array = [\n \"choco\",\n \"brew\",\n \"python\",\n \"cmake\",\n \"ninja\",\n \"conan\",\n \"meson\",\n \"gcovr\",\n \"opencppcoverage\",\n \"ccache\",\n \"doxygen\",\n \"cppcheck\",\n \"llvm\",\n \"gcc\",\n \"msvc\",\n]\n\n/** The possible inputs to the program */\ntype Inputs = keyof typeof setups | \"compiler\" | \"architecture\"\n\n// an array of possible inputs\nconst inputs: Array = [\"compiler\", \"architecture\", ...tools]\n\n/** The main entry function */\nexport async function main(args: string[]): Promise {\n if (!isCI()) {\n process.env.ACTIONS_ALLOW_UNSECURE_COMMANDS = \"true\"\n }\n\n // parse options using mri or github actions\n const opts = mri & { help: boolean }>(args, {\n string: inputs,\n default: Object.fromEntries(inputs.map((inp) => [inp, maybeGetInput(inp)])),\n alias: { h: \"help\" },\n boolean: \"help\",\n })\n\n // print help\n if (opts.help) {\n printHelp()\n }\n\n // cpu architecture\n const arch = opts.architecture ?? process.arch\n\n // the installation dir for the tools that are downloaded directly\n const setupCppDir = process.env.SETUP_CPP_DIR ?? untildify(\"~/setup_cpp\")\n\n // report messages\n const successMessages: string[] = []\n const errorMessages: string[] = []\n\n // installing the specified tools\n\n // loop over the tools and run their setup function\n for (const tool of tools) {\n // get the version or \"true\" or undefined for this tool from the options\n const value = opts[tool]\n\n // skip if undefined\n if (value !== undefined) {\n // get the setup function\n const setupFunction = setups[tool]\n\n // runnig the setup function for this tool\n try {\n // eslint-disable-next-line no-await-in-loop\n const installationInfo = await setupFunction(getVersion(tool, value), setupCppDir, arch)\n\n // preparing a report string\n if (installationInfo !== undefined) {\n successMessages.push(getSuccessMessage(tool, installationInfo))\n } else {\n successMessages.push(`${tool} was successfully installed`)\n }\n } catch (e) {\n // push error message to the logger\n error(e as string | Error)\n errorMessages.push(`${tool} failed to install`)\n }\n }\n }\n\n // installing the specified compiler\n const maybeCompiler = opts.compiler\n try {\n if (maybeCompiler !== undefined) {\n // detecting the compiler version. Devide the given string by `-` and use the second element as the version\n const compilerAndMaybeVersion = maybeCompiler.split(\"-\")\n const compiler = compilerAndMaybeVersion[0]\n let version: string | undefined\n if (1 in compilerAndMaybeVersion) {\n const maybeVersion = compilerAndMaybeVersion[1]\n if (semverValid(maybeVersion) !== null) {\n version = maybeVersion\n } else {\n error(`Invalid version ${maybeVersion} used for the compiler. Using the default version...`)\n }\n }\n\n // install the compiler. We allow some aliases for the compiler name\n switch (compiler) {\n case \"llvm\":\n case \"clang\":\n case \"clang++\": {\n await setupLLVM(getVersion(\"llvm\", version) as string, setupCppDir, arch)\n break\n }\n case \"gcc\":\n case \"mingw\":\n case \"cygwin\":\n case \"msys\": {\n await setupGcc(getVersion(\"gcc\", version) as string, setupCppDir, arch)\n break\n }\n case \"cl\":\n case \"msvc\":\n case \"msbuild\":\n case \"vs\":\n case \"visualstudio\":\n case \"visualcpp\":\n case \"visualc++\": {\n await setupMSVC(getVersion(\"msvc\", version) as string, setupCppDir, arch)\n break\n }\n default: {\n errorMessages.push(`Unsupported compiler ${compiler}`)\n }\n }\n }\n } catch (e) {\n error(e as string | Error)\n errorMessages.push(`Failed to install the ${maybeCompiler}`)\n }\n\n // report the messages in the end\n successMessages.forEach((tool) => success(tool))\n errorMessages.forEach((tool) => error(tool))\n\n core.info(\"setup_cpp finished\")\n return errorMessages.length === 0 ? 0 : 1 // exit with non-zero if any error message\n}\n// Run main\nmain(process.argv)\n .then((ret) => {\n process.exitCode = ret\n })\n .catch((err) => {\n error(\"main() panicked!\")\n error(err as string | Error)\n process.exitCode = 1\n })\n\nfunction printHelp() {\n core.info(`\nsetup_cpp [options]\nsetup_cpp --compiler llvm --cmake true --ninja true --ccache true --conan \"1.40.1\"\n\nInstall all the tools required for building and testing C++/C projects.\n\n--architecture\\t the cpu architecture to install the tools for. By default it uses the current CPU architecture.\n--compiler\\t the to install.\n \\t You can specify the version instead of specifying just the name e.g: --compiler 'llvm-11'\n\n--tool_name\\t pass \"true\" or pass the you would like to install for this tool.\n\nAll the available tools:\n--llvm\n--gcc\n--cmake\n--ninja\n--meson\n--conan\n--ccache\n--cppcheck\n--doxygen\n--gcovr\n--opencppcoverage\n--python\n--choco\n--brew\n `)\n}\n\n/** Get an object from github actions */\nfunction maybeGetInput(key: string) {\n const value = core.getInput(key.toLowerCase())\n if (value !== \"false\" && value !== \"\") {\n return value\n }\n return undefined // skip installation\n}\n\nfunction getSuccessMessage(tool: string, installationInfo: InstallationInfo) {\n let msg = `${tool} was successfully installed`\n if (\"installDir\" in installationInfo) {\n msg += `\\nThe installation direcotry is ${installationInfo.installDir}`\n }\n if (installationInfo.binDir !== \"\") {\n msg += `\\nThe binary direcotry is ${installationInfo.binDir}`\n }\n return msg\n}\n",null,null,null,null,"const isWindows = process.platform === 'win32' ||\n process.env.OSTYPE === 'cygwin' ||\n process.env.OSTYPE === 'msys'\n\nconst path = require('path')\nconst COLON = isWindows ? ';' : ':'\nconst isexe = require('isexe')\n\nconst getNotFoundError = (cmd) =>\n Object.assign(new Error(`not found: ${cmd}`), { code: 'ENOENT' })\n\nconst getPathInfo = (cmd, opt) => {\n const colon = opt.colon || COLON\n\n // If it has a slash, then we don't bother searching the pathenv.\n // just check the file itself, and that's it.\n const pathEnv = cmd.match(/\\//) || isWindows && cmd.match(/\\\\/) ? ['']\n : (\n [\n // windows always checks the cwd first\n ...(isWindows ? [process.cwd()] : []),\n ...(opt.path || process.env.PATH ||\n /* istanbul ignore next: very unusual */ '').split(colon),\n ]\n )\n const pathExtExe = isWindows\n ? opt.pathExt || process.env.PATHEXT || '.EXE;.CMD;.BAT;.COM'\n : ''\n const pathExt = isWindows ? pathExtExe.split(colon) : ['']\n\n if (isWindows) {\n if (cmd.indexOf('.') !== -1 && pathExt[0] !== '')\n pathExt.unshift('')\n }\n\n return {\n pathEnv,\n pathExt,\n pathExtExe,\n }\n}\n\nconst which = (cmd, opt, cb) => {\n if (typeof opt === 'function') {\n cb = opt\n opt = {}\n }\n if (!opt)\n opt = {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n const step = i => new Promise((resolve, reject) => {\n if (i === pathEnv.length)\n return opt.all && found.length ? resolve(found)\n : reject(getNotFoundError(cmd))\n\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n resolve(subStep(p, i, 0))\n })\n\n const subStep = (p, i, ii) => new Promise((resolve, reject) => {\n if (ii === pathExt.length)\n return resolve(step(i + 1))\n const ext = pathExt[ii]\n isexe(p + ext, { pathExt: pathExtExe }, (er, is) => {\n if (!er && is) {\n if (opt.all)\n found.push(p + ext)\n else\n return resolve(p + ext)\n }\n return resolve(subStep(p, i, ii + 1))\n })\n })\n\n return cb ? step(0).then(res => cb(null, res), cb) : step(0)\n}\n\nconst whichSync = (cmd, opt) => {\n opt = opt || {}\n\n const { pathEnv, pathExt, pathExtExe } = getPathInfo(cmd, opt)\n const found = []\n\n for (let i = 0; i < pathEnv.length; i ++) {\n const ppRaw = pathEnv[i]\n const pathPart = /^\".*\"$/.test(ppRaw) ? ppRaw.slice(1, -1) : ppRaw\n\n const pCmd = path.join(pathPart, cmd)\n const p = !pathPart && /^\\.[\\\\\\/]/.test(cmd) ? cmd.slice(0, 2) + pCmd\n : pCmd\n\n for (let j = 0; j < pathExt.length; j ++) {\n const cur = p + pathExt[j]\n try {\n const is = isexe.sync(cur, { pathExt: pathExtExe })\n if (is) {\n if (opt.all)\n found.push(cur)\n else\n return cur\n }\n } catch (ex) {}\n }\n }\n\n if (opt.all && found.length)\n return found\n\n if (opt.nothrow)\n return null\n\n throw getNotFoundError(cmd)\n}\n\nmodule.exports = which\nwhich.sync = whichSync\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction checkPathExt (path, options) {\n var pathext = options.pathExt !== undefined ?\n options.pathExt : process.env.PATHEXT\n\n if (!pathext) {\n return true\n }\n\n pathext = pathext.split(';')\n if (pathext.indexOf('') !== -1) {\n return true\n }\n for (var i = 0; i < pathext.length; i++) {\n var p = pathext[i].toLowerCase()\n if (p && path.substr(-p.length).toLowerCase() === p) {\n return true\n }\n }\n return false\n}\n\nfunction checkStat (stat, path, options) {\n if (!stat.isSymbolicLink() && !stat.isFile()) {\n return false\n }\n return checkPathExt(path, options)\n}\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, path, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), path, options)\n}\n","module.exports = isexe\nisexe.sync = sync\n\nvar fs = require('fs')\n\nfunction isexe (path, options, cb) {\n fs.stat(path, function (er, stat) {\n cb(er, er ? false : checkStat(stat, options))\n })\n}\n\nfunction sync (path, options) {\n return checkStat(fs.statSync(path), options)\n}\n\nfunction checkStat (stat, options) {\n return stat.isFile() && checkMode(stat, options)\n}\n\nfunction checkMode (stat, options) {\n var mod = stat.mode\n var uid = stat.uid\n var gid = stat.gid\n\n var myUid = options.uid !== undefined ?\n options.uid : process.getuid && process.getuid()\n var myGid = options.gid !== undefined ?\n options.gid : process.getgid && process.getgid()\n\n var u = parseInt('100', 8)\n var g = parseInt('010', 8)\n var o = parseInt('001', 8)\n var ug = u | g\n\n var ret = (mod & o) ||\n (mod & g) && gid === myGid ||\n (mod & u) && uid === myUid ||\n (mod & ug) && myUid === 0\n\n return ret\n}\n","'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';\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';\nmodule.exports = /^#!(.*)/;\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","// 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","'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",null,null,null,"// just pre-load all the stuff that index.js lazily exports\nconst internalRe = require('./internal/re')\nmodule.exports = {\n re: internalRe.re,\n src: internalRe.src,\n tokens: internalRe.t,\n SEMVER_SPEC_VERSION: require('./internal/constants').SEMVER_SPEC_VERSION,\n SemVer: require('./classes/semver'),\n compareIdentifiers: require('./internal/identifiers').compareIdentifiers,\n rcompareIdentifiers: require('./internal/identifiers').rcompareIdentifiers,\n parse: require('./functions/parse'),\n valid: require('./functions/valid'),\n clean: require('./functions/clean'),\n inc: require('./functions/inc'),\n diff: require('./functions/diff'),\n major: require('./functions/major'),\n minor: require('./functions/minor'),\n patch: require('./functions/patch'),\n prerelease: require('./functions/prerelease'),\n compare: require('./functions/compare'),\n rcompare: require('./functions/rcompare'),\n compareLoose: require('./functions/compare-loose'),\n compareBuild: require('./functions/compare-build'),\n sort: require('./functions/sort'),\n rsort: require('./functions/rsort'),\n gt: require('./functions/gt'),\n lt: require('./functions/lt'),\n eq: require('./functions/eq'),\n neq: require('./functions/neq'),\n gte: require('./functions/gte'),\n lte: require('./functions/lte'),\n cmp: require('./functions/cmp'),\n coerce: require('./functions/coerce'),\n Comparator: require('./classes/comparator'),\n Range: require('./classes/range'),\n satisfies: require('./functions/satisfies'),\n toComparators: require('./ranges/to-comparators'),\n maxSatisfying: require('./ranges/max-satisfying'),\n minSatisfying: require('./ranges/min-satisfying'),\n minVersion: require('./ranges/min-version'),\n validRange: require('./ranges/valid'),\n outside: require('./ranges/outside'),\n gtr: require('./ranges/gtr'),\n ltr: require('./ranges/ltr'),\n intersects: require('./ranges/intersects'),\n simplifyRange: require('./ranges/simplify'),\n subset: require('./ranges/subset'),\n}\n","const { MAX_SAFE_COMPONENT_LENGTH } = require('./constants')\nconst debug = require('./debug')\nexports = module.exports = {}\n\n// The actual regexps go on exports.re\nconst re = exports.re = []\nconst src = exports.src = []\nconst t = exports.t = {}\nlet R = 0\n\nconst createToken = (name, value, isGlobal) => {\n const index = R++\n debug(index, value)\n t[name] = index\n src[index] = value\n re[index] = new RegExp(value, isGlobal ? 'g' : undefined)\n}\n\n// The following Regular Expressions can be used for tokenizing,\n// validating, and parsing SemVer version strings.\n\n// ## Numeric Identifier\n// A single `0`, or a non-zero digit followed by zero or more digits.\n\ncreateToken('NUMERICIDENTIFIER', '0|[1-9]\\\\d*')\ncreateToken('NUMERICIDENTIFIERLOOSE', '[0-9]+')\n\n// ## Non-numeric Identifier\n// Zero or more digits, followed by a letter or hyphen, and then zero or\n// more letters, digits, or hyphens.\n\ncreateToken('NONNUMERICIDENTIFIER', '\\\\d*[a-zA-Z-][a-zA-Z0-9-]*')\n\n// ## Main Version\n// Three dot-separated numeric identifiers.\n\ncreateToken('MAINVERSION', `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIER]})`)\n\ncreateToken('MAINVERSIONLOOSE', `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})\\\\.` +\n `(${src[t.NUMERICIDENTIFIERLOOSE]})`)\n\n// ## Pre-release Version Identifier\n// A numeric identifier, or a non-numeric identifier.\n\ncreateToken('PRERELEASEIDENTIFIER', `(?:${src[t.NUMERICIDENTIFIER]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\ncreateToken('PRERELEASEIDENTIFIERLOOSE', `(?:${src[t.NUMERICIDENTIFIERLOOSE]\n}|${src[t.NONNUMERICIDENTIFIER]})`)\n\n// ## Pre-release Version\n// Hyphen, followed by one or more dot-separated pre-release version\n// identifiers.\n\ncreateToken('PRERELEASE', `(?:-(${src[t.PRERELEASEIDENTIFIER]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIER]})*))`)\n\ncreateToken('PRERELEASELOOSE', `(?:-?(${src[t.PRERELEASEIDENTIFIERLOOSE]\n}(?:\\\\.${src[t.PRERELEASEIDENTIFIERLOOSE]})*))`)\n\n// ## Build Metadata Identifier\n// Any combination of digits, letters, or hyphens.\n\ncreateToken('BUILDIDENTIFIER', '[0-9A-Za-z-]+')\n\n// ## Build Metadata\n// Plus sign, followed by one or more period-separated build metadata\n// identifiers.\n\ncreateToken('BUILD', `(?:\\\\+(${src[t.BUILDIDENTIFIER]\n}(?:\\\\.${src[t.BUILDIDENTIFIER]})*))`)\n\n// ## Full Version String\n// A main version, followed optionally by a pre-release version and\n// build metadata.\n\n// Note that the only major, minor, patch, and pre-release sections of\n// the version string are capturing groups. The build metadata is not a\n// capturing group, because it should not ever be used in version\n// comparison.\n\ncreateToken('FULLPLAIN', `v?${src[t.MAINVERSION]\n}${src[t.PRERELEASE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('FULL', `^${src[t.FULLPLAIN]}$`)\n\n// like full, but allows v1.2.3 and =1.2.3, which people do sometimes.\n// also, 1.0.0alpha1 (prerelease without the hyphen) which is pretty\n// common in the npm registry.\ncreateToken('LOOSEPLAIN', `[v=\\\\s]*${src[t.MAINVERSIONLOOSE]\n}${src[t.PRERELEASELOOSE]}?${\n src[t.BUILD]}?`)\n\ncreateToken('LOOSE', `^${src[t.LOOSEPLAIN]}$`)\n\ncreateToken('GTLT', '((?:<|>)?=?)')\n\n// Something like \"2.*\" or \"1.2.x\".\n// Note that \"x.x\" is a valid xRange identifer, meaning \"any version\"\n// Only the first item is strictly required.\ncreateToken('XRANGEIDENTIFIERLOOSE', `${src[t.NUMERICIDENTIFIERLOOSE]}|x|X|\\\\*`)\ncreateToken('XRANGEIDENTIFIER', `${src[t.NUMERICIDENTIFIER]}|x|X|\\\\*`)\n\ncreateToken('XRANGEPLAIN', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIER]})` +\n `(?:${src[t.PRERELEASE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGEPLAINLOOSE', `[v=\\\\s]*(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:\\\\.(${src[t.XRANGEIDENTIFIERLOOSE]})` +\n `(?:${src[t.PRERELEASELOOSE]})?${\n src[t.BUILD]}?` +\n `)?)?`)\n\ncreateToken('XRANGE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAIN]}$`)\ncreateToken('XRANGELOOSE', `^${src[t.GTLT]}\\\\s*${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Coercion.\n// Extract anything that could conceivably be a part of a valid semver\ncreateToken('COERCE', `${'(^|[^\\\\d])' +\n '(\\\\d{1,'}${MAX_SAFE_COMPONENT_LENGTH}})` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:\\\\.(\\\\d{1,${MAX_SAFE_COMPONENT_LENGTH}}))?` +\n `(?:$|[^\\\\d])`)\ncreateToken('COERCERTL', src[t.COERCE], true)\n\n// Tilde ranges.\n// Meaning is \"reasonably at or greater than\"\ncreateToken('LONETILDE', '(?:~>?)')\n\ncreateToken('TILDETRIM', `(\\\\s*)${src[t.LONETILDE]}\\\\s+`, true)\nexports.tildeTrimReplace = '$1~'\n\ncreateToken('TILDE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('TILDELOOSE', `^${src[t.LONETILDE]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// Caret ranges.\n// Meaning is \"at least and backwards compatible with\"\ncreateToken('LONECARET', '(?:\\\\^)')\n\ncreateToken('CARETTRIM', `(\\\\s*)${src[t.LONECARET]}\\\\s+`, true)\nexports.caretTrimReplace = '$1^'\n\ncreateToken('CARET', `^${src[t.LONECARET]}${src[t.XRANGEPLAIN]}$`)\ncreateToken('CARETLOOSE', `^${src[t.LONECARET]}${src[t.XRANGEPLAINLOOSE]}$`)\n\n// A simple gt/lt/eq thing, or just \"\" to indicate \"any version\"\ncreateToken('COMPARATORLOOSE', `^${src[t.GTLT]}\\\\s*(${src[t.LOOSEPLAIN]})$|^$`)\ncreateToken('COMPARATOR', `^${src[t.GTLT]}\\\\s*(${src[t.FULLPLAIN]})$|^$`)\n\n// An expression to strip any whitespace between the gtlt and the thing\n// it modifies, so that `> 1.2.3` ==> `>1.2.3`\ncreateToken('COMPARATORTRIM', `(\\\\s*)${src[t.GTLT]\n}\\\\s*(${src[t.LOOSEPLAIN]}|${src[t.XRANGEPLAIN]})`, true)\nexports.comparatorTrimReplace = '$1$2$3'\n\n// Something like `1.2.3 - 1.2.4`\n// Note that these all use the loose form, because they'll be\n// checked against either the strict or loose comparator form\n// later.\ncreateToken('HYPHENRANGE', `^\\\\s*(${src[t.XRANGEPLAIN]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAIN]})` +\n `\\\\s*$`)\n\ncreateToken('HYPHENRANGELOOSE', `^\\\\s*(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s+-\\\\s+` +\n `(${src[t.XRANGEPLAINLOOSE]})` +\n `\\\\s*$`)\n\n// Star ranges basically just allow anything at all.\ncreateToken('STAR', '(<|>)?=?\\\\s*\\\\*')\n// >=0.0.0 is like a star\ncreateToken('GTE0', '^\\\\s*>=\\\\s*0\\.0\\.0\\\\s*$')\ncreateToken('GTE0PRE', '^\\\\s*>=\\\\s*0\\.0\\.0-0\\\\s*$')\n","// Note: this is the semver.org version of the spec that it implements\n// Not necessarily the package version of this code.\nconst SEMVER_SPEC_VERSION = '2.0.0'\n\nconst MAX_LENGTH = 256\nconst MAX_SAFE_INTEGER = Number.MAX_SAFE_INTEGER ||\n /* istanbul ignore next */ 9007199254740991\n\n// Max safe segment length for coercion.\nconst MAX_SAFE_COMPONENT_LENGTH = 16\n\nmodule.exports = {\n SEMVER_SPEC_VERSION,\n MAX_LENGTH,\n MAX_SAFE_INTEGER,\n MAX_SAFE_COMPONENT_LENGTH\n}\n","const debug = (\n typeof process === 'object' &&\n process.env &&\n process.env.NODE_DEBUG &&\n /\\bsemver\\b/i.test(process.env.NODE_DEBUG)\n) ? (...args) => console.error('SEMVER', ...args)\n : () => {}\n\nmodule.exports = debug\n","const debug = require('../internal/debug')\nconst { MAX_LENGTH, MAX_SAFE_INTEGER } = require('../internal/constants')\nconst { re, t } = require('../internal/re')\n\nconst parseOptions = require('../internal/parse-options')\nconst { compareIdentifiers } = require('../internal/identifiers')\nclass SemVer {\n constructor (version, options) {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n if (version.loose === !!options.loose &&\n version.includePrerelease === !!options.includePrerelease) {\n return version\n } else {\n version = version.version\n }\n } else if (typeof version !== 'string') {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n if (version.length > MAX_LENGTH) {\n throw new TypeError(\n `version is longer than ${MAX_LENGTH} characters`\n )\n }\n\n debug('SemVer', version, options)\n this.options = options\n this.loose = !!options.loose\n // this isn't actually relevant for versions, but keep it so that we\n // don't run into trouble passing this.options around.\n this.includePrerelease = !!options.includePrerelease\n\n const m = version.trim().match(options.loose ? re[t.LOOSE] : re[t.FULL])\n\n if (!m) {\n throw new TypeError(`Invalid Version: ${version}`)\n }\n\n this.raw = version\n\n // these are actually numbers\n this.major = +m[1]\n this.minor = +m[2]\n this.patch = +m[3]\n\n if (this.major > MAX_SAFE_INTEGER || this.major < 0) {\n throw new TypeError('Invalid major version')\n }\n\n if (this.minor > MAX_SAFE_INTEGER || this.minor < 0) {\n throw new TypeError('Invalid minor version')\n }\n\n if (this.patch > MAX_SAFE_INTEGER || this.patch < 0) {\n throw new TypeError('Invalid patch version')\n }\n\n // numberify any prerelease numeric ids\n if (!m[4]) {\n this.prerelease = []\n } else {\n this.prerelease = m[4].split('.').map((id) => {\n if (/^[0-9]+$/.test(id)) {\n const num = +id\n if (num >= 0 && num < MAX_SAFE_INTEGER) {\n return num\n }\n }\n return id\n })\n }\n\n this.build = m[5] ? m[5].split('.') : []\n this.format()\n }\n\n format () {\n this.version = `${this.major}.${this.minor}.${this.patch}`\n if (this.prerelease.length) {\n this.version += `-${this.prerelease.join('.')}`\n }\n return this.version\n }\n\n toString () {\n return this.version\n }\n\n compare (other) {\n debug('SemVer.compare', this.version, this.options, other)\n if (!(other instanceof SemVer)) {\n if (typeof other === 'string' && other === this.version) {\n return 0\n }\n other = new SemVer(other, this.options)\n }\n\n if (other.version === this.version) {\n return 0\n }\n\n return this.compareMain(other) || this.comparePre(other)\n }\n\n compareMain (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n return (\n compareIdentifiers(this.major, other.major) ||\n compareIdentifiers(this.minor, other.minor) ||\n compareIdentifiers(this.patch, other.patch)\n )\n }\n\n comparePre (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n // NOT having a prerelease is > having one\n if (this.prerelease.length && !other.prerelease.length) {\n return -1\n } else if (!this.prerelease.length && other.prerelease.length) {\n return 1\n } else if (!this.prerelease.length && !other.prerelease.length) {\n return 0\n }\n\n let i = 0\n do {\n const a = this.prerelease[i]\n const b = other.prerelease[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n compareBuild (other) {\n if (!(other instanceof SemVer)) {\n other = new SemVer(other, this.options)\n }\n\n let i = 0\n do {\n const a = this.build[i]\n const b = other.build[i]\n debug('prerelease compare', i, a, b)\n if (a === undefined && b === undefined) {\n return 0\n } else if (b === undefined) {\n return 1\n } else if (a === undefined) {\n return -1\n } else if (a === b) {\n continue\n } else {\n return compareIdentifiers(a, b)\n }\n } while (++i)\n }\n\n // preminor will bump the version up to the next minor release, and immediately\n // down to pre-release. premajor and prepatch work the same way.\n inc (release, identifier) {\n switch (release) {\n case 'premajor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor = 0\n this.major++\n this.inc('pre', identifier)\n break\n case 'preminor':\n this.prerelease.length = 0\n this.patch = 0\n this.minor++\n this.inc('pre', identifier)\n break\n case 'prepatch':\n // If this is already a prerelease, it will bump to the next version\n // drop any prereleases that might already exist, since they are not\n // relevant at this point.\n this.prerelease.length = 0\n this.inc('patch', identifier)\n this.inc('pre', identifier)\n break\n // If the input is a non-prerelease version, this acts the same as\n // prepatch.\n case 'prerelease':\n if (this.prerelease.length === 0) {\n this.inc('patch', identifier)\n }\n this.inc('pre', identifier)\n break\n\n case 'major':\n // If this is a pre-major version, bump up to the same major version.\n // Otherwise increment major.\n // 1.0.0-5 bumps to 1.0.0\n // 1.1.0 bumps to 2.0.0\n if (\n this.minor !== 0 ||\n this.patch !== 0 ||\n this.prerelease.length === 0\n ) {\n this.major++\n }\n this.minor = 0\n this.patch = 0\n this.prerelease = []\n break\n case 'minor':\n // If this is a pre-minor version, bump up to the same minor version.\n // Otherwise increment minor.\n // 1.2.0-5 bumps to 1.2.0\n // 1.2.1 bumps to 1.3.0\n if (this.patch !== 0 || this.prerelease.length === 0) {\n this.minor++\n }\n this.patch = 0\n this.prerelease = []\n break\n case 'patch':\n // If this is not a pre-release version, it will increment the patch.\n // If it is a pre-release it will bump up to the same patch version.\n // 1.2.0-5 patches to 1.2.0\n // 1.2.0 patches to 1.2.1\n if (this.prerelease.length === 0) {\n this.patch++\n }\n this.prerelease = []\n break\n // This probably shouldn't be used publicly.\n // 1.0.0 'pre' would become 1.0.0-0 which is the wrong direction.\n case 'pre':\n if (this.prerelease.length === 0) {\n this.prerelease = [0]\n } else {\n let i = this.prerelease.length\n while (--i >= 0) {\n if (typeof this.prerelease[i] === 'number') {\n this.prerelease[i]++\n i = -2\n }\n }\n if (i === -1) {\n // didn't increment anything\n this.prerelease.push(0)\n }\n }\n if (identifier) {\n // 1.2.0-beta.1 bumps to 1.2.0-beta.2,\n // 1.2.0-beta.fooblz or 1.2.0-beta bumps to 1.2.0-beta.0\n if (this.prerelease[0] === identifier) {\n if (isNaN(this.prerelease[1])) {\n this.prerelease = [identifier, 0]\n }\n } else {\n this.prerelease = [identifier, 0]\n }\n }\n break\n\n default:\n throw new Error(`invalid increment argument: ${release}`)\n }\n this.format()\n this.raw = this.version\n return this\n }\n}\n\nmodule.exports = SemVer\n","// parse out just the options we care about so we always get a consistent\n// obj with keys in a consistent order.\nconst opts = ['includePrerelease', 'loose', 'rtl']\nconst parseOptions = options =>\n !options ? {}\n : typeof options !== 'object' ? { loose: true }\n : opts.filter(k => options[k]).reduce((options, k) => {\n options[k] = true\n return options\n }, {})\nmodule.exports = parseOptions\n","const numeric = /^[0-9]+$/\nconst compareIdentifiers = (a, b) => {\n const anum = numeric.test(a)\n const bnum = numeric.test(b)\n\n if (anum && bnum) {\n a = +a\n b = +b\n }\n\n return a === b ? 0\n : (anum && !bnum) ? -1\n : (bnum && !anum) ? 1\n : a < b ? -1\n : 1\n}\n\nconst rcompareIdentifiers = (a, b) => compareIdentifiers(b, a)\n\nmodule.exports = {\n compareIdentifiers,\n rcompareIdentifiers\n}\n","const {MAX_LENGTH} = require('../internal/constants')\nconst { re, t } = require('../internal/re')\nconst SemVer = require('../classes/semver')\n\nconst parseOptions = require('../internal/parse-options')\nconst parse = (version, options) => {\n options = parseOptions(options)\n\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n if (version.length > MAX_LENGTH) {\n return null\n }\n\n const r = options.loose ? re[t.LOOSE] : re[t.FULL]\n if (!r.test(version)) {\n return null\n }\n\n try {\n return new SemVer(version, options)\n } catch (er) {\n return null\n }\n}\n\nmodule.exports = parse\n","const parse = require('./parse')\nconst valid = (version, options) => {\n const v = parse(version, options)\n return v ? v.version : null\n}\nmodule.exports = valid\n","const parse = require('./parse')\nconst clean = (version, options) => {\n const s = parse(version.trim().replace(/^[=v]+/, ''), options)\n return s ? s.version : null\n}\nmodule.exports = clean\n","const SemVer = require('../classes/semver')\n\nconst inc = (version, release, options, identifier) => {\n if (typeof (options) === 'string') {\n identifier = options\n options = undefined\n }\n\n try {\n return new SemVer(version, options).inc(release, identifier).version\n } catch (er) {\n return null\n }\n}\nmodule.exports = inc\n","const parse = require('./parse')\nconst eq = require('./eq')\n\nconst diff = (version1, version2) => {\n if (eq(version1, version2)) {\n return null\n } else {\n const v1 = parse(version1)\n const v2 = parse(version2)\n const hasPre = v1.prerelease.length || v2.prerelease.length\n const prefix = hasPre ? 'pre' : ''\n const defaultResult = hasPre ? 'prerelease' : ''\n for (const key in v1) {\n if (key === 'major' || key === 'minor' || key === 'patch') {\n if (v1[key] !== v2[key]) {\n return prefix + key\n }\n }\n }\n return defaultResult // may be undefined\n }\n}\nmodule.exports = diff\n","const compare = require('./compare')\nconst eq = (a, b, loose) => compare(a, b, loose) === 0\nmodule.exports = eq\n","const SemVer = require('../classes/semver')\nconst compare = (a, b, loose) =>\n new SemVer(a, loose).compare(new SemVer(b, loose))\n\nmodule.exports = compare\n","const SemVer = require('../classes/semver')\nconst major = (a, loose) => new SemVer(a, loose).major\nmodule.exports = major\n","const SemVer = require('../classes/semver')\nconst minor = (a, loose) => new SemVer(a, loose).minor\nmodule.exports = minor\n","const SemVer = require('../classes/semver')\nconst patch = (a, loose) => new SemVer(a, loose).patch\nmodule.exports = patch\n","const parse = require('./parse')\nconst prerelease = (version, options) => {\n const parsed = parse(version, options)\n return (parsed && parsed.prerelease.length) ? parsed.prerelease : null\n}\nmodule.exports = prerelease\n","const compare = require('./compare')\nconst rcompare = (a, b, loose) => compare(b, a, loose)\nmodule.exports = rcompare\n","const compare = require('./compare')\nconst compareLoose = (a, b) => compare(a, b, true)\nmodule.exports = compareLoose\n","const SemVer = require('../classes/semver')\nconst compareBuild = (a, b, loose) => {\n const versionA = new SemVer(a, loose)\n const versionB = new SemVer(b, loose)\n return versionA.compare(versionB) || versionA.compareBuild(versionB)\n}\nmodule.exports = compareBuild\n","const compareBuild = require('./compare-build')\nconst sort = (list, loose) => list.sort((a, b) => compareBuild(a, b, loose))\nmodule.exports = sort\n","const compareBuild = require('./compare-build')\nconst rsort = (list, loose) => list.sort((a, b) => compareBuild(b, a, loose))\nmodule.exports = rsort\n","const compare = require('./compare')\nconst gt = (a, b, loose) => compare(a, b, loose) > 0\nmodule.exports = gt\n","const compare = require('./compare')\nconst lt = (a, b, loose) => compare(a, b, loose) < 0\nmodule.exports = lt\n","const compare = require('./compare')\nconst neq = (a, b, loose) => compare(a, b, loose) !== 0\nmodule.exports = neq\n","const compare = require('./compare')\nconst gte = (a, b, loose) => compare(a, b, loose) >= 0\nmodule.exports = gte\n","const compare = require('./compare')\nconst lte = (a, b, loose) => compare(a, b, loose) <= 0\nmodule.exports = lte\n","const eq = require('./eq')\nconst neq = require('./neq')\nconst gt = require('./gt')\nconst gte = require('./gte')\nconst lt = require('./lt')\nconst lte = require('./lte')\n\nconst cmp = (a, op, b, loose) => {\n switch (op) {\n case '===':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a === b\n\n case '!==':\n if (typeof a === 'object')\n a = a.version\n if (typeof b === 'object')\n b = b.version\n return a !== b\n\n case '':\n case '=':\n case '==':\n return eq(a, b, loose)\n\n case '!=':\n return neq(a, b, loose)\n\n case '>':\n return gt(a, b, loose)\n\n case '>=':\n return gte(a, b, loose)\n\n case '<':\n return lt(a, b, loose)\n\n case '<=':\n return lte(a, b, loose)\n\n default:\n throw new TypeError(`Invalid operator: ${op}`)\n }\n}\nmodule.exports = cmp\n","const SemVer = require('../classes/semver')\nconst parse = require('./parse')\nconst {re, t} = require('../internal/re')\n\nconst coerce = (version, options) => {\n if (version instanceof SemVer) {\n return version\n }\n\n if (typeof version === 'number') {\n version = String(version)\n }\n\n if (typeof version !== 'string') {\n return null\n }\n\n options = options || {}\n\n let match = null\n if (!options.rtl) {\n match = version.match(re[t.COERCE])\n } else {\n // Find the right-most coercible string that does not share\n // a terminus with a more left-ward coercible string.\n // Eg, '1.2.3.4' wants to coerce '2.3.4', not '3.4' or '4'\n //\n // Walk through the string checking with a /g regexp\n // Manually set the index so as to pick up overlapping matches.\n // Stop when we get a match that ends at the string end, since no\n // coercible string can be more right-ward without the same terminus.\n let next\n while ((next = re[t.COERCERTL].exec(version)) &&\n (!match || match.index + match[0].length !== version.length)\n ) {\n if (!match ||\n next.index + next[0].length !== match.index + match[0].length) {\n match = next\n }\n re[t.COERCERTL].lastIndex = next.index + next[1].length + next[2].length\n }\n // leave it in a clean state\n re[t.COERCERTL].lastIndex = -1\n }\n\n if (match === null)\n return null\n\n return parse(`${match[2]}.${match[3] || '0'}.${match[4] || '0'}`, options)\n}\nmodule.exports = coerce\n","const ANY = Symbol('SemVer ANY')\n// hoisted class for cyclic dependency\nclass Comparator {\n static get ANY () {\n return ANY\n }\n constructor (comp, options) {\n options = parseOptions(options)\n\n if (comp instanceof Comparator) {\n if (comp.loose === !!options.loose) {\n return comp\n } else {\n comp = comp.value\n }\n }\n\n debug('comparator', comp, options)\n this.options = options\n this.loose = !!options.loose\n this.parse(comp)\n\n if (this.semver === ANY) {\n this.value = ''\n } else {\n this.value = this.operator + this.semver.version\n }\n\n debug('comp', this)\n }\n\n parse (comp) {\n const r = this.options.loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const m = comp.match(r)\n\n if (!m) {\n throw new TypeError(`Invalid comparator: ${comp}`)\n }\n\n this.operator = m[1] !== undefined ? m[1] : ''\n if (this.operator === '=') {\n this.operator = ''\n }\n\n // if it literally is just '>' or '' then allow anything.\n if (!m[2]) {\n this.semver = ANY\n } else {\n this.semver = new SemVer(m[2], this.options.loose)\n }\n }\n\n toString () {\n return this.value\n }\n\n test (version) {\n debug('Comparator.test', version, this.options.loose)\n\n if (this.semver === ANY || version === ANY) {\n return true\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n return cmp(version, this.operator, this.semver, this.options)\n }\n\n intersects (comp, options) {\n if (!(comp instanceof Comparator)) {\n throw new TypeError('a Comparator is required')\n }\n\n if (!options || typeof options !== 'object') {\n options = {\n loose: !!options,\n includePrerelease: false\n }\n }\n\n if (this.operator === '') {\n if (this.value === '') {\n return true\n }\n return new Range(comp.value, options).test(this.value)\n } else if (comp.operator === '') {\n if (comp.value === '') {\n return true\n }\n return new Range(this.value, options).test(comp.semver)\n }\n\n const sameDirectionIncreasing =\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '>=' || comp.operator === '>')\n const sameDirectionDecreasing =\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '<=' || comp.operator === '<')\n const sameSemVer = this.semver.version === comp.semver.version\n const differentDirectionsInclusive =\n (this.operator === '>=' || this.operator === '<=') &&\n (comp.operator === '>=' || comp.operator === '<=')\n const oppositeDirectionsLessThan =\n cmp(this.semver, '<', comp.semver, options) &&\n (this.operator === '>=' || this.operator === '>') &&\n (comp.operator === '<=' || comp.operator === '<')\n const oppositeDirectionsGreaterThan =\n cmp(this.semver, '>', comp.semver, options) &&\n (this.operator === '<=' || this.operator === '<') &&\n (comp.operator === '>=' || comp.operator === '>')\n\n return (\n sameDirectionIncreasing ||\n sameDirectionDecreasing ||\n (sameSemVer && differentDirectionsInclusive) ||\n oppositeDirectionsLessThan ||\n oppositeDirectionsGreaterThan\n )\n }\n}\n\nmodule.exports = Comparator\n\nconst parseOptions = require('../internal/parse-options')\nconst {re, t} = require('../internal/re')\nconst cmp = require('../functions/cmp')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst Range = require('./range')\n","// hoisted class for cyclic dependency\nclass Range {\n constructor (range, options) {\n options = parseOptions(options)\n\n if (range instanceof Range) {\n if (\n range.loose === !!options.loose &&\n range.includePrerelease === !!options.includePrerelease\n ) {\n return range\n } else {\n return new Range(range.raw, options)\n }\n }\n\n if (range instanceof Comparator) {\n // just put it in the set and return\n this.raw = range.value\n this.set = [[range]]\n this.format()\n return this\n }\n\n this.options = options\n this.loose = !!options.loose\n this.includePrerelease = !!options.includePrerelease\n\n // First, split based on boolean or ||\n this.raw = range\n this.set = range\n .split(/\\s*\\|\\|\\s*/)\n // map the range to a 2d array of comparators\n .map(range => this.parseRange(range.trim()))\n // throw out any comparator lists that are empty\n // this generally means that it was not a valid range, which is allowed\n // in loose mode, but will still throw if the WHOLE range is invalid.\n .filter(c => c.length)\n\n if (!this.set.length) {\n throw new TypeError(`Invalid SemVer Range: ${range}`)\n }\n\n // if we have any that are not the null set, throw out null sets.\n if (this.set.length > 1) {\n // keep the first one, in case they're all null sets\n const first = this.set[0]\n this.set = this.set.filter(c => !isNullSet(c[0]))\n if (this.set.length === 0)\n this.set = [first]\n else if (this.set.length > 1) {\n // if we have any that are *, then the range is just *\n for (const c of this.set) {\n if (c.length === 1 && isAny(c[0])) {\n this.set = [c]\n break\n }\n }\n }\n }\n\n this.format()\n }\n\n format () {\n this.range = this.set\n .map((comps) => {\n return comps.join(' ').trim()\n })\n .join('||')\n .trim()\n return this.range\n }\n\n toString () {\n return this.range\n }\n\n parseRange (range) {\n range = range.trim()\n\n // memoize range parsing for performance.\n // this is a very hot path, and fully deterministic.\n const memoOpts = Object.keys(this.options).join(',')\n const memoKey = `parseRange:${memoOpts}:${range}`\n const cached = cache.get(memoKey)\n if (cached)\n return cached\n\n const loose = this.options.loose\n // `1.2.3 - 1.2.4` => `>=1.2.3 <=1.2.4`\n const hr = loose ? re[t.HYPHENRANGELOOSE] : re[t.HYPHENRANGE]\n range = range.replace(hr, hyphenReplace(this.options.includePrerelease))\n debug('hyphen replace', range)\n // `> 1.2.3 < 1.2.5` => `>1.2.3 <1.2.5`\n range = range.replace(re[t.COMPARATORTRIM], comparatorTrimReplace)\n debug('comparator trim', range, re[t.COMPARATORTRIM])\n\n // `~ 1.2.3` => `~1.2.3`\n range = range.replace(re[t.TILDETRIM], tildeTrimReplace)\n\n // `^ 1.2.3` => `^1.2.3`\n range = range.replace(re[t.CARETTRIM], caretTrimReplace)\n\n // normalize spaces\n range = range.split(/\\s+/).join(' ')\n\n // At this point, the range is completely trimmed and\n // ready to be split into comparators.\n\n const compRe = loose ? re[t.COMPARATORLOOSE] : re[t.COMPARATOR]\n const rangeList = range\n .split(' ')\n .map(comp => parseComparator(comp, this.options))\n .join(' ')\n .split(/\\s+/)\n // >=0.0.0 is equivalent to *\n .map(comp => replaceGTE0(comp, this.options))\n // in loose mode, throw out any that are not valid comparators\n .filter(this.options.loose ? comp => !!comp.match(compRe) : () => true)\n .map(comp => new Comparator(comp, this.options))\n\n // if any comparators are the null set, then replace with JUST null set\n // if more than one comparator, remove any * comparators\n // also, don't include the same comparator more than once\n const l = rangeList.length\n const rangeMap = new Map()\n for (const comp of rangeList) {\n if (isNullSet(comp))\n return [comp]\n rangeMap.set(comp.value, comp)\n }\n if (rangeMap.size > 1 && rangeMap.has(''))\n rangeMap.delete('')\n\n const result = [...rangeMap.values()]\n cache.set(memoKey, result)\n return result\n }\n\n intersects (range, options) {\n if (!(range instanceof Range)) {\n throw new TypeError('a Range is required')\n }\n\n return this.set.some((thisComparators) => {\n return (\n isSatisfiable(thisComparators, options) &&\n range.set.some((rangeComparators) => {\n return (\n isSatisfiable(rangeComparators, options) &&\n thisComparators.every((thisComparator) => {\n return rangeComparators.every((rangeComparator) => {\n return thisComparator.intersects(rangeComparator, options)\n })\n })\n )\n })\n )\n })\n }\n\n // if ANY of the sets match ALL of its comparators, then pass\n test (version) {\n if (!version) {\n return false\n }\n\n if (typeof version === 'string') {\n try {\n version = new SemVer(version, this.options)\n } catch (er) {\n return false\n }\n }\n\n for (let i = 0; i < this.set.length; i++) {\n if (testSet(this.set[i], version, this.options)) {\n return true\n }\n }\n return false\n }\n}\nmodule.exports = Range\n\nconst LRU = require('lru-cache')\nconst cache = new LRU({ max: 1000 })\n\nconst parseOptions = require('../internal/parse-options')\nconst Comparator = require('./comparator')\nconst debug = require('../internal/debug')\nconst SemVer = require('./semver')\nconst {\n re,\n t,\n comparatorTrimReplace,\n tildeTrimReplace,\n caretTrimReplace\n} = require('../internal/re')\n\nconst isNullSet = c => c.value === '<0.0.0-0'\nconst isAny = c => c.value === ''\n\n// take a set of comparators and determine whether there\n// exists a version which can satisfy it\nconst isSatisfiable = (comparators, options) => {\n let result = true\n const remainingComparators = comparators.slice()\n let testComparator = remainingComparators.pop()\n\n while (result && remainingComparators.length) {\n result = remainingComparators.every((otherComparator) => {\n return testComparator.intersects(otherComparator, options)\n })\n\n testComparator = remainingComparators.pop()\n }\n\n return result\n}\n\n// comprised of xranges, tildes, stars, and gtlt's at this point.\n// already replaced the hyphen ranges\n// turn into a set of JUST comparators.\nconst parseComparator = (comp, options) => {\n debug('comp', comp, options)\n comp = replaceCarets(comp, options)\n debug('caret', comp)\n comp = replaceTildes(comp, options)\n debug('tildes', comp)\n comp = replaceXRanges(comp, options)\n debug('xrange', comp)\n comp = replaceStars(comp, options)\n debug('stars', comp)\n return comp\n}\n\nconst isX = id => !id || id.toLowerCase() === 'x' || id === '*'\n\n// ~, ~> --> * (any, kinda silly)\n// ~2, ~2.x, ~2.x.x, ~>2, ~>2.x ~>2.x.x --> >=2.0.0 <3.0.0-0\n// ~2.0, ~2.0.x, ~>2.0, ~>2.0.x --> >=2.0.0 <2.1.0-0\n// ~1.2, ~1.2.x, ~>1.2, ~>1.2.x --> >=1.2.0 <1.3.0-0\n// ~1.2.3, ~>1.2.3 --> >=1.2.3 <1.3.0-0\n// ~1.2.0, ~>1.2.0 --> >=1.2.0 <1.3.0-0\nconst replaceTildes = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceTilde(comp, options)\n }).join(' ')\n\nconst replaceTilde = (comp, options) => {\n const r = options.loose ? re[t.TILDELOOSE] : re[t.TILDE]\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('tilde', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0 <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n // ~1.2 == >=1.2.0 <1.3.0-0\n ret = `>=${M}.${m}.0 <${M}.${+m + 1}.0-0`\n } else if (pr) {\n debug('replaceTilde pr', pr)\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n } else {\n // ~1.2.3 == >=1.2.3 <1.3.0-0\n ret = `>=${M}.${m}.${p\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('tilde return', ret)\n return ret\n })\n}\n\n// ^ --> * (any, kinda silly)\n// ^2, ^2.x, ^2.x.x --> >=2.0.0 <3.0.0-0\n// ^2.0, ^2.0.x --> >=2.0.0 <3.0.0-0\n// ^1.2, ^1.2.x --> >=1.2.0 <2.0.0-0\n// ^1.2.3 --> >=1.2.3 <2.0.0-0\n// ^1.2.0 --> >=1.2.0 <2.0.0-0\nconst replaceCarets = (comp, options) =>\n comp.trim().split(/\\s+/).map((comp) => {\n return replaceCaret(comp, options)\n }).join(' ')\n\nconst replaceCaret = (comp, options) => {\n debug('caret', comp, options)\n const r = options.loose ? re[t.CARETLOOSE] : re[t.CARET]\n const z = options.includePrerelease ? '-0' : ''\n return comp.replace(r, (_, M, m, p, pr) => {\n debug('caret', comp, _, M, m, p, pr)\n let ret\n\n if (isX(M)) {\n ret = ''\n } else if (isX(m)) {\n ret = `>=${M}.0.0${z} <${+M + 1}.0.0-0`\n } else if (isX(p)) {\n if (M === '0') {\n ret = `>=${M}.${m}.0${z} <${M}.${+m + 1}.0-0`\n } else {\n ret = `>=${M}.${m}.0${z} <${+M + 1}.0.0-0`\n }\n } else if (pr) {\n debug('replaceCaret pr', pr)\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p}-${pr\n } <${+M + 1}.0.0-0`\n }\n } else {\n debug('no pr')\n if (M === '0') {\n if (m === '0') {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${m}.${+p + 1}-0`\n } else {\n ret = `>=${M}.${m}.${p\n }${z} <${M}.${+m + 1}.0-0`\n }\n } else {\n ret = `>=${M}.${m}.${p\n } <${+M + 1}.0.0-0`\n }\n }\n\n debug('caret return', ret)\n return ret\n })\n}\n\nconst replaceXRanges = (comp, options) => {\n debug('replaceXRanges', comp, options)\n return comp.split(/\\s+/).map((comp) => {\n return replaceXRange(comp, options)\n }).join(' ')\n}\n\nconst replaceXRange = (comp, options) => {\n comp = comp.trim()\n const r = options.loose ? re[t.XRANGELOOSE] : re[t.XRANGE]\n return comp.replace(r, (ret, gtlt, M, m, p, pr) => {\n debug('xRange', comp, ret, gtlt, M, m, p, pr)\n const xM = isX(M)\n const xm = xM || isX(m)\n const xp = xm || isX(p)\n const anyX = xp\n\n if (gtlt === '=' && anyX) {\n gtlt = ''\n }\n\n // if we're including prereleases in the match, then we need\n // to fix this to -0, the lowest possible prerelease value\n pr = options.includePrerelease ? '-0' : ''\n\n if (xM) {\n if (gtlt === '>' || gtlt === '<') {\n // nothing is allowed\n ret = '<0.0.0-0'\n } else {\n // nothing is forbidden\n ret = '*'\n }\n } else if (gtlt && anyX) {\n // we know patch is an x, because we have any x at all.\n // replace X with 0\n if (xm) {\n m = 0\n }\n p = 0\n\n if (gtlt === '>') {\n // >1 => >=2.0.0\n // >1.2 => >=1.3.0\n gtlt = '>='\n if (xm) {\n M = +M + 1\n m = 0\n p = 0\n } else {\n m = +m + 1\n p = 0\n }\n } else if (gtlt === '<=') {\n // <=0.7.x is actually <0.8.0, since any 0.7.x should\n // pass. Similarly, <=7.x is actually <8.0.0, etc.\n gtlt = '<'\n if (xm) {\n M = +M + 1\n } else {\n m = +m + 1\n }\n }\n\n if (gtlt === '<')\n pr = '-0'\n\n ret = `${gtlt + M}.${m}.${p}${pr}`\n } else if (xm) {\n ret = `>=${M}.0.0${pr} <${+M + 1}.0.0-0`\n } else if (xp) {\n ret = `>=${M}.${m}.0${pr\n } <${M}.${+m + 1}.0-0`\n }\n\n debug('xRange return', ret)\n\n return ret\n })\n}\n\n// Because * is AND-ed with everything else in the comparator,\n// and '' means \"any version\", just remove the *s entirely.\nconst replaceStars = (comp, options) => {\n debug('replaceStars', comp, options)\n // Looseness is ignored here. star is always as loose as it gets!\n return comp.trim().replace(re[t.STAR], '')\n}\n\nconst replaceGTE0 = (comp, options) => {\n debug('replaceGTE0', comp, options)\n return comp.trim()\n .replace(re[options.includePrerelease ? t.GTE0PRE : t.GTE0], '')\n}\n\n// This function is passed to string.replace(re[t.HYPHENRANGE])\n// M, m, patch, prerelease, build\n// 1.2 - 3.4.5 => >=1.2.0 <=3.4.5\n// 1.2.3 - 3.4 => >=1.2.0 <3.5.0-0 Any 3.4.x will do\n// 1.2 - 3.4 => >=1.2.0 <3.5.0-0\nconst hyphenReplace = incPr => ($0,\n from, fM, fm, fp, fpr, fb,\n to, tM, tm, tp, tpr, tb) => {\n if (isX(fM)) {\n from = ''\n } else if (isX(fm)) {\n from = `>=${fM}.0.0${incPr ? '-0' : ''}`\n } else if (isX(fp)) {\n from = `>=${fM}.${fm}.0${incPr ? '-0' : ''}`\n } else if (fpr) {\n from = `>=${from}`\n } else {\n from = `>=${from}${incPr ? '-0' : ''}`\n }\n\n if (isX(tM)) {\n to = ''\n } else if (isX(tm)) {\n to = `<${+tM + 1}.0.0-0`\n } else if (isX(tp)) {\n to = `<${tM}.${+tm + 1}.0-0`\n } else if (tpr) {\n to = `<=${tM}.${tm}.${tp}-${tpr}`\n } else if (incPr) {\n to = `<${tM}.${tm}.${+tp + 1}-0`\n } else {\n to = `<=${to}`\n }\n\n return (`${from} ${to}`).trim()\n}\n\nconst testSet = (set, version, options) => {\n for (let i = 0; i < set.length; i++) {\n if (!set[i].test(version)) {\n return false\n }\n }\n\n if (version.prerelease.length && !options.includePrerelease) {\n // Find the set of versions that are allowed to have prereleases\n // For example, ^1.2.3-pr.1 desugars to >=1.2.3-pr.1 <2.0.0\n // That should allow `1.2.3-pr.2` to pass.\n // However, `1.2.4-alpha.notready` should NOT be allowed,\n // even though it's within the range set by the comparators.\n for (let i = 0; i < set.length; i++) {\n debug(set[i].semver)\n if (set[i].semver === Comparator.ANY) {\n continue\n }\n\n if (set[i].semver.prerelease.length > 0) {\n const allowed = set[i].semver\n if (allowed.major === version.major &&\n allowed.minor === version.minor &&\n allowed.patch === version.patch) {\n return true\n }\n }\n }\n\n // Version has a -pre, but it's not one of the ones we like.\n return false\n }\n\n return true\n}\n","'use strict'\n\n// A linked list to keep track of recently-used-ness\nconst Yallist = require('yallist')\n\nconst MAX = Symbol('max')\nconst LENGTH = Symbol('length')\nconst LENGTH_CALCULATOR = Symbol('lengthCalculator')\nconst ALLOW_STALE = Symbol('allowStale')\nconst MAX_AGE = Symbol('maxAge')\nconst DISPOSE = Symbol('dispose')\nconst NO_DISPOSE_ON_SET = Symbol('noDisposeOnSet')\nconst LRU_LIST = Symbol('lruList')\nconst CACHE = Symbol('cache')\nconst UPDATE_AGE_ON_GET = Symbol('updateAgeOnGet')\n\nconst naiveLength = () => 1\n\n// lruList is a yallist where the head is the youngest\n// item, and the tail is the oldest. the list contains the Hit\n// objects as the entries.\n// Each Hit object has a reference to its Yallist.Node. This\n// never changes.\n//\n// cache is a Map (or PseudoMap) that matches the keys to\n// the Yallist.Node object.\nclass LRUCache {\n constructor (options) {\n if (typeof options === 'number')\n options = { max: options }\n\n if (!options)\n options = {}\n\n if (options.max && (typeof options.max !== 'number' || options.max < 0))\n throw new TypeError('max must be a non-negative number')\n // Kind of weird to have a default max of Infinity, but oh well.\n const max = this[MAX] = options.max || Infinity\n\n const lc = options.length || naiveLength\n this[LENGTH_CALCULATOR] = (typeof lc !== 'function') ? naiveLength : lc\n this[ALLOW_STALE] = options.stale || false\n if (options.maxAge && typeof options.maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n this[MAX_AGE] = options.maxAge || 0\n this[DISPOSE] = options.dispose\n this[NO_DISPOSE_ON_SET] = options.noDisposeOnSet || false\n this[UPDATE_AGE_ON_GET] = options.updateAgeOnGet || false\n this.reset()\n }\n\n // resize the cache when the max changes.\n set max (mL) {\n if (typeof mL !== 'number' || mL < 0)\n throw new TypeError('max must be a non-negative number')\n\n this[MAX] = mL || Infinity\n trim(this)\n }\n get max () {\n return this[MAX]\n }\n\n set allowStale (allowStale) {\n this[ALLOW_STALE] = !!allowStale\n }\n get allowStale () {\n return this[ALLOW_STALE]\n }\n\n set maxAge (mA) {\n if (typeof mA !== 'number')\n throw new TypeError('maxAge must be a non-negative number')\n\n this[MAX_AGE] = mA\n trim(this)\n }\n get maxAge () {\n return this[MAX_AGE]\n }\n\n // resize the cache when the lengthCalculator changes.\n set lengthCalculator (lC) {\n if (typeof lC !== 'function')\n lC = naiveLength\n\n if (lC !== this[LENGTH_CALCULATOR]) {\n this[LENGTH_CALCULATOR] = lC\n this[LENGTH] = 0\n this[LRU_LIST].forEach(hit => {\n hit.length = this[LENGTH_CALCULATOR](hit.value, hit.key)\n this[LENGTH] += hit.length\n })\n }\n trim(this)\n }\n get lengthCalculator () { return this[LENGTH_CALCULATOR] }\n\n get length () { return this[LENGTH] }\n get itemCount () { return this[LRU_LIST].length }\n\n rforEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].tail; walker !== null;) {\n const prev = walker.prev\n forEachStep(this, fn, walker, thisp)\n walker = prev\n }\n }\n\n forEach (fn, thisp) {\n thisp = thisp || this\n for (let walker = this[LRU_LIST].head; walker !== null;) {\n const next = walker.next\n forEachStep(this, fn, walker, thisp)\n walker = next\n }\n }\n\n keys () {\n return this[LRU_LIST].toArray().map(k => k.key)\n }\n\n values () {\n return this[LRU_LIST].toArray().map(k => k.value)\n }\n\n reset () {\n if (this[DISPOSE] &&\n this[LRU_LIST] &&\n this[LRU_LIST].length) {\n this[LRU_LIST].forEach(hit => this[DISPOSE](hit.key, hit.value))\n }\n\n this[CACHE] = new Map() // hash of items by key\n this[LRU_LIST] = new Yallist() // list of items in order of use recency\n this[LENGTH] = 0 // length of items in the list\n }\n\n dump () {\n return this[LRU_LIST].map(hit =>\n isStale(this, hit) ? false : {\n k: hit.key,\n v: hit.value,\n e: hit.now + (hit.maxAge || 0)\n }).toArray().filter(h => h)\n }\n\n dumpLru () {\n return this[LRU_LIST]\n }\n\n set (key, value, maxAge) {\n maxAge = maxAge || this[MAX_AGE]\n\n if (maxAge && typeof maxAge !== 'number')\n throw new TypeError('maxAge must be a number')\n\n const now = maxAge ? Date.now() : 0\n const len = this[LENGTH_CALCULATOR](value, key)\n\n if (this[CACHE].has(key)) {\n if (len > this[MAX]) {\n del(this, this[CACHE].get(key))\n return false\n }\n\n const node = this[CACHE].get(key)\n const item = node.value\n\n // dispose of the old one before overwriting\n // split out into 2 ifs for better coverage tracking\n if (this[DISPOSE]) {\n if (!this[NO_DISPOSE_ON_SET])\n this[DISPOSE](key, item.value)\n }\n\n item.now = now\n item.maxAge = maxAge\n item.value = value\n this[LENGTH] += len - item.length\n item.length = len\n this.get(key)\n trim(this)\n return true\n }\n\n const hit = new Entry(key, value, len, now, maxAge)\n\n // oversized objects fall out of cache automatically.\n if (hit.length > this[MAX]) {\n if (this[DISPOSE])\n this[DISPOSE](key, value)\n\n return false\n }\n\n this[LENGTH] += hit.length\n this[LRU_LIST].unshift(hit)\n this[CACHE].set(key, this[LRU_LIST].head)\n trim(this)\n return true\n }\n\n has (key) {\n if (!this[CACHE].has(key)) return false\n const hit = this[CACHE].get(key).value\n return !isStale(this, hit)\n }\n\n get (key) {\n return get(this, key, true)\n }\n\n peek (key) {\n return get(this, key, false)\n }\n\n pop () {\n const node = this[LRU_LIST].tail\n if (!node)\n return null\n\n del(this, node)\n return node.value\n }\n\n del (key) {\n del(this, this[CACHE].get(key))\n }\n\n load (arr) {\n // reset the cache\n this.reset()\n\n const now = Date.now()\n // A previous serialized cache has the most recent items first\n for (let l = arr.length - 1; l >= 0; l--) {\n const hit = arr[l]\n const expiresAt = hit.e || 0\n if (expiresAt === 0)\n // the item was created without expiration in a non aged cache\n this.set(hit.k, hit.v)\n else {\n const maxAge = expiresAt - now\n // dont add already expired items\n if (maxAge > 0) {\n this.set(hit.k, hit.v, maxAge)\n }\n }\n }\n }\n\n prune () {\n this[CACHE].forEach((value, key) => get(this, key, false))\n }\n}\n\nconst get = (self, key, doUse) => {\n const node = self[CACHE].get(key)\n if (node) {\n const hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n return undefined\n } else {\n if (doUse) {\n if (self[UPDATE_AGE_ON_GET])\n node.value.now = Date.now()\n self[LRU_LIST].unshiftNode(node)\n }\n }\n return hit.value\n }\n}\n\nconst isStale = (self, hit) => {\n if (!hit || (!hit.maxAge && !self[MAX_AGE]))\n return false\n\n const diff = Date.now() - hit.now\n return hit.maxAge ? diff > hit.maxAge\n : self[MAX_AGE] && (diff > self[MAX_AGE])\n}\n\nconst trim = self => {\n if (self[LENGTH] > self[MAX]) {\n for (let walker = self[LRU_LIST].tail;\n self[LENGTH] > self[MAX] && walker !== null;) {\n // We know that we're about to delete this one, and also\n // what the next least recently used key will be, so just\n // go ahead and set it now.\n const prev = walker.prev\n del(self, walker)\n walker = prev\n }\n }\n}\n\nconst del = (self, node) => {\n if (node) {\n const hit = node.value\n if (self[DISPOSE])\n self[DISPOSE](hit.key, hit.value)\n\n self[LENGTH] -= hit.length\n self[CACHE].delete(hit.key)\n self[LRU_LIST].removeNode(node)\n }\n}\n\nclass Entry {\n constructor (key, value, length, now, maxAge) {\n this.key = key\n this.value = value\n this.length = length\n this.now = now\n this.maxAge = maxAge || 0\n }\n}\n\nconst forEachStep = (self, fn, node, thisp) => {\n let hit = node.value\n if (isStale(self, hit)) {\n del(self, node)\n if (!self[ALLOW_STALE])\n hit = undefined\n }\n if (hit)\n fn.call(thisp, hit.value, hit.key, self)\n}\n\nmodule.exports = LRUCache\n","'use strict'\nmodule.exports = Yallist\n\nYallist.Node = Node\nYallist.create = Yallist\n\nfunction Yallist (list) {\n var self = this\n if (!(self instanceof Yallist)) {\n self = new Yallist()\n }\n\n self.tail = null\n self.head = null\n self.length = 0\n\n if (list && typeof list.forEach === 'function') {\n list.forEach(function (item) {\n self.push(item)\n })\n } else if (arguments.length > 0) {\n for (var i = 0, l = arguments.length; i < l; i++) {\n self.push(arguments[i])\n }\n }\n\n return self\n}\n\nYallist.prototype.removeNode = function (node) {\n if (node.list !== this) {\n throw new Error('removing node which does not belong to this list')\n }\n\n var next = node.next\n var prev = node.prev\n\n if (next) {\n next.prev = prev\n }\n\n if (prev) {\n prev.next = next\n }\n\n if (node === this.head) {\n this.head = next\n }\n if (node === this.tail) {\n this.tail = prev\n }\n\n node.list.length--\n node.next = null\n node.prev = null\n node.list = null\n\n return next\n}\n\nYallist.prototype.unshiftNode = function (node) {\n if (node === this.head) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var head = this.head\n node.list = this\n node.next = head\n if (head) {\n head.prev = node\n }\n\n this.head = node\n if (!this.tail) {\n this.tail = node\n }\n this.length++\n}\n\nYallist.prototype.pushNode = function (node) {\n if (node === this.tail) {\n return\n }\n\n if (node.list) {\n node.list.removeNode(node)\n }\n\n var tail = this.tail\n node.list = this\n node.prev = tail\n if (tail) {\n tail.next = node\n }\n\n this.tail = node\n if (!this.head) {\n this.head = node\n }\n this.length++\n}\n\nYallist.prototype.push = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n push(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.unshift = function () {\n for (var i = 0, l = arguments.length; i < l; i++) {\n unshift(this, arguments[i])\n }\n return this.length\n}\n\nYallist.prototype.pop = function () {\n if (!this.tail) {\n return undefined\n }\n\n var res = this.tail.value\n this.tail = this.tail.prev\n if (this.tail) {\n this.tail.next = null\n } else {\n this.head = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.shift = function () {\n if (!this.head) {\n return undefined\n }\n\n var res = this.head.value\n this.head = this.head.next\n if (this.head) {\n this.head.prev = null\n } else {\n this.tail = null\n }\n this.length--\n return res\n}\n\nYallist.prototype.forEach = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.head, i = 0; walker !== null; i++) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.next\n }\n}\n\nYallist.prototype.forEachReverse = function (fn, thisp) {\n thisp = thisp || this\n for (var walker = this.tail, i = this.length - 1; walker !== null; i--) {\n fn.call(thisp, walker.value, i, this)\n walker = walker.prev\n }\n}\n\nYallist.prototype.get = function (n) {\n for (var i = 0, walker = this.head; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.next\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.getReverse = function (n) {\n for (var i = 0, walker = this.tail; walker !== null && i < n; i++) {\n // abort out of the list early if we hit a cycle\n walker = walker.prev\n }\n if (i === n && walker !== null) {\n return walker.value\n }\n}\n\nYallist.prototype.map = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.head; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.next\n }\n return res\n}\n\nYallist.prototype.mapReverse = function (fn, thisp) {\n thisp = thisp || this\n var res = new Yallist()\n for (var walker = this.tail; walker !== null;) {\n res.push(fn.call(thisp, walker.value, this))\n walker = walker.prev\n }\n return res\n}\n\nYallist.prototype.reduce = function (fn, initial) {\n var acc\n var walker = this.head\n if (arguments.length > 1) {\n acc = initial\n } else if (this.head) {\n walker = this.head.next\n acc = this.head.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = 0; walker !== null; i++) {\n acc = fn(acc, walker.value, i)\n walker = walker.next\n }\n\n return acc\n}\n\nYallist.prototype.reduceReverse = function (fn, initial) {\n var acc\n var walker = this.tail\n if (arguments.length > 1) {\n acc = initial\n } else if (this.tail) {\n walker = this.tail.prev\n acc = this.tail.value\n } else {\n throw new TypeError('Reduce of empty list with no initial value')\n }\n\n for (var i = this.length - 1; walker !== null; i--) {\n acc = fn(acc, walker.value, i)\n walker = walker.prev\n }\n\n return acc\n}\n\nYallist.prototype.toArray = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.head; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.next\n }\n return arr\n}\n\nYallist.prototype.toArrayReverse = function () {\n var arr = new Array(this.length)\n for (var i = 0, walker = this.tail; walker !== null; i++) {\n arr[i] = walker.value\n walker = walker.prev\n }\n return arr\n}\n\nYallist.prototype.slice = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = 0, walker = this.head; walker !== null && i < from; i++) {\n walker = walker.next\n }\n for (; walker !== null && i < to; i++, walker = walker.next) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.sliceReverse = function (from, to) {\n to = to || this.length\n if (to < 0) {\n to += this.length\n }\n from = from || 0\n if (from < 0) {\n from += this.length\n }\n var ret = new Yallist()\n if (to < from || to < 0) {\n return ret\n }\n if (from < 0) {\n from = 0\n }\n if (to > this.length) {\n to = this.length\n }\n for (var i = this.length, walker = this.tail; walker !== null && i > to; i--) {\n walker = walker.prev\n }\n for (; walker !== null && i > from; i--, walker = walker.prev) {\n ret.push(walker.value)\n }\n return ret\n}\n\nYallist.prototype.splice = function (start, deleteCount, ...nodes) {\n if (start > this.length) {\n start = this.length - 1\n }\n if (start < 0) {\n start = this.length + start;\n }\n\n for (var i = 0, walker = this.head; walker !== null && i < start; i++) {\n walker = walker.next\n }\n\n var ret = []\n for (var i = 0; walker && i < deleteCount; i++) {\n ret.push(walker.value)\n walker = this.removeNode(walker)\n }\n if (walker === null) {\n walker = this.tail\n }\n\n if (walker !== this.head && walker !== this.tail) {\n walker = walker.prev\n }\n\n for (var i = 0; i < nodes.length; i++) {\n walker = insert(this, walker, nodes[i])\n }\n return ret;\n}\n\nYallist.prototype.reverse = function () {\n var head = this.head\n var tail = this.tail\n for (var walker = head; walker !== null; walker = walker.prev) {\n var p = walker.prev\n walker.prev = walker.next\n walker.next = p\n }\n this.head = tail\n this.tail = head\n return this\n}\n\nfunction insert (self, node, value) {\n var inserted = node === self.head ?\n new Node(value, null, node, self) :\n new Node(value, node, node.next, self)\n\n if (inserted.next === null) {\n self.tail = inserted\n }\n if (inserted.prev === null) {\n self.head = inserted\n }\n\n self.length++\n\n return inserted\n}\n\nfunction push (self, item) {\n self.tail = new Node(item, self.tail, null, self)\n if (!self.head) {\n self.head = self.tail\n }\n self.length++\n}\n\nfunction unshift (self, item) {\n self.head = new Node(item, null, self.head, self)\n if (!self.tail) {\n self.tail = self.head\n }\n self.length++\n}\n\nfunction Node (value, prev, next, list) {\n if (!(this instanceof Node)) {\n return new Node(value, prev, next, list)\n }\n\n this.list = list\n this.value = value\n\n if (prev) {\n prev.next = this\n this.prev = prev\n } else {\n this.prev = null\n }\n\n if (next) {\n next.prev = this\n this.next = next\n } else {\n this.next = null\n }\n}\n\ntry {\n // add if support for Symbol.iterator is present\n require('./iterator.js')(Yallist)\n} catch (er) {}\n","'use strict'\nmodule.exports = function (Yallist) {\n Yallist.prototype[Symbol.iterator] = function* () {\n for (let walker = this.head; walker; walker = walker.next) {\n yield walker.value\n }\n }\n}\n","const Range = require('../classes/range')\nconst satisfies = (version, range, options) => {\n try {\n range = new Range(range, options)\n } catch (er) {\n return false\n }\n return range.test(version)\n}\nmodule.exports = satisfies\n","const Range = require('../classes/range')\n\n// Mostly just for testing and legacy API reasons\nconst toComparators = (range, options) =>\n new Range(range, options).set\n .map(comp => comp.map(c => c.value).join(' ').trim().split(' '))\n\nmodule.exports = toComparators\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\n\nconst maxSatisfying = (versions, range, options) => {\n let max = null\n let maxSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!max || maxSV.compare(v) === -1) {\n // compare(max, v, true)\n max = v\n maxSV = new SemVer(max, options)\n }\n }\n })\n return max\n}\nmodule.exports = maxSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst minSatisfying = (versions, range, options) => {\n let min = null\n let minSV = null\n let rangeObj = null\n try {\n rangeObj = new Range(range, options)\n } catch (er) {\n return null\n }\n versions.forEach((v) => {\n if (rangeObj.test(v)) {\n // satisfies(v, range, options)\n if (!min || minSV.compare(v) === 1) {\n // compare(min, v, true)\n min = v\n minSV = new SemVer(min, options)\n }\n }\n })\n return min\n}\nmodule.exports = minSatisfying\n","const SemVer = require('../classes/semver')\nconst Range = require('../classes/range')\nconst gt = require('../functions/gt')\n\nconst minVersion = (range, loose) => {\n range = new Range(range, loose)\n\n let minver = new SemVer('0.0.0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = new SemVer('0.0.0-0')\n if (range.test(minver)) {\n return minver\n }\n\n minver = null\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let setMin = null\n comparators.forEach((comparator) => {\n // Clone to avoid manipulating the comparator's semver object.\n const compver = new SemVer(comparator.semver.version)\n switch (comparator.operator) {\n case '>':\n if (compver.prerelease.length === 0) {\n compver.patch++\n } else {\n compver.prerelease.push(0)\n }\n compver.raw = compver.format()\n /* fallthrough */\n case '':\n case '>=':\n if (!setMin || gt(compver, setMin)) {\n setMin = compver\n }\n break\n case '<':\n case '<=':\n /* Ignore maximum versions */\n break\n /* istanbul ignore next */\n default:\n throw new Error(`Unexpected operation: ${comparator.operator}`)\n }\n })\n if (setMin && (!minver || gt(minver, setMin)))\n minver = setMin\n }\n\n if (minver && range.test(minver)) {\n return minver\n }\n\n return null\n}\nmodule.exports = minVersion\n","const Range = require('../classes/range')\nconst validRange = (range, options) => {\n try {\n // Return '*' instead of '' so that truthiness works.\n // This will throw if it's invalid anyway\n return new Range(range, options).range || '*'\n } catch (er) {\n return null\n }\n}\nmodule.exports = validRange\n","const SemVer = require('../classes/semver')\nconst Comparator = require('../classes/comparator')\nconst {ANY} = Comparator\nconst Range = require('../classes/range')\nconst satisfies = require('../functions/satisfies')\nconst gt = require('../functions/gt')\nconst lt = require('../functions/lt')\nconst lte = require('../functions/lte')\nconst gte = require('../functions/gte')\n\nconst outside = (version, range, hilo, options) => {\n version = new SemVer(version, options)\n range = new Range(range, options)\n\n let gtfn, ltefn, ltfn, comp, ecomp\n switch (hilo) {\n case '>':\n gtfn = gt\n ltefn = lte\n ltfn = lt\n comp = '>'\n ecomp = '>='\n break\n case '<':\n gtfn = lt\n ltefn = gte\n ltfn = gt\n comp = '<'\n ecomp = '<='\n break\n default:\n throw new TypeError('Must provide a hilo val of \"<\" or \">\"')\n }\n\n // If it satisfies the range it is not outside\n if (satisfies(version, range, options)) {\n return false\n }\n\n // From now on, variable terms are as if we're in \"gtr\" mode.\n // but note that everything is flipped for the \"ltr\" function.\n\n for (let i = 0; i < range.set.length; ++i) {\n const comparators = range.set[i]\n\n let high = null\n let low = null\n\n comparators.forEach((comparator) => {\n if (comparator.semver === ANY) {\n comparator = new Comparator('>=0.0.0')\n }\n high = high || comparator\n low = low || comparator\n if (gtfn(comparator.semver, high.semver, options)) {\n high = comparator\n } else if (ltfn(comparator.semver, low.semver, options)) {\n low = comparator\n }\n })\n\n // If the edge version comparator has a operator then our version\n // isn't outside it\n if (high.operator === comp || high.operator === ecomp) {\n return false\n }\n\n // If the lowest version comparator has an operator and our version\n // is less than it then it isn't higher than the range\n if ((!low.operator || low.operator === comp) &&\n ltefn(version, low.semver)) {\n return false\n } else if (low.operator === ecomp && ltfn(version, low.semver)) {\n return false\n }\n }\n return true\n}\n\nmodule.exports = outside\n","// Determine if version is greater than all the versions possible in the range.\nconst outside = require('./outside')\nconst gtr = (version, range, options) => outside(version, range, '>', options)\nmodule.exports = gtr\n","const outside = require('./outside')\n// Determine if version is less than all the versions possible in the range\nconst ltr = (version, range, options) => outside(version, range, '<', options)\nmodule.exports = ltr\n","const Range = require('../classes/range')\nconst intersects = (r1, r2, options) => {\n r1 = new Range(r1, options)\n r2 = new Range(r2, options)\n return r1.intersects(r2)\n}\nmodule.exports = intersects\n","// given a set of versions and a range, create a \"simplified\" range\n// that includes the same versions that the original range does\n// If the original range is shorter than the simplified one, return that.\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\nmodule.exports = (versions, range, options) => {\n const set = []\n let min = null\n let prev = null\n const v = versions.sort((a, b) => compare(a, b, options))\n for (const version of v) {\n const included = satisfies(version, range, options)\n if (included) {\n prev = version\n if (!min)\n min = version\n } else {\n if (prev) {\n set.push([min, prev])\n }\n prev = null\n min = null\n }\n }\n if (min)\n set.push([min, null])\n\n const ranges = []\n for (const [min, max] of set) {\n if (min === max)\n ranges.push(min)\n else if (!max && min === v[0])\n ranges.push('*')\n else if (!max)\n ranges.push(`>=${min}`)\n else if (min === v[0])\n ranges.push(`<=${max}`)\n else\n ranges.push(`${min} - ${max}`)\n }\n const simplified = ranges.join(' || ')\n const original = typeof range.raw === 'string' ? range.raw : String(range)\n return simplified.length < original.length ? simplified : range\n}\n","const Range = require('../classes/range.js')\nconst Comparator = require('../classes/comparator.js')\nconst { ANY } = Comparator\nconst satisfies = require('../functions/satisfies.js')\nconst compare = require('../functions/compare.js')\n\n// Complex range `r1 || r2 || ...` is a subset of `R1 || R2 || ...` iff:\n// - Every simple range `r1, r2, ...` is a null set, OR\n// - Every simple range `r1, r2, ...` which is not a null set is a subset of\n// some `R1, R2, ...`\n//\n// Simple range `c1 c2 ...` is a subset of simple range `C1 C2 ...` iff:\n// - If c is only the ANY comparator\n// - If C is only the ANY comparator, return true\n// - Else if in prerelease mode, return false\n// - else replace c with `[>=0.0.0]`\n// - If C is only the ANY comparator\n// - if in prerelease mode, return true\n// - else replace C with `[>=0.0.0]`\n// - Let EQ be the set of = comparators in c\n// - If EQ is more than one, return true (null set)\n// - Let GT be the highest > or >= comparator in c\n// - Let LT be the lowest < or <= comparator in c\n// - If GT and LT, and GT.semver > LT.semver, return true (null set)\n// - If any C is a = range, and GT or LT are set, return false\n// - If EQ\n// - If GT, and EQ does not satisfy GT, return true (null set)\n// - If LT, and EQ does not satisfy LT, return true (null set)\n// - If EQ satisfies every C, return true\n// - Else return false\n// - If GT\n// - If GT.semver is lower than any > or >= comp in C, return false\n// - If GT is >=, and GT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the GT.semver tuple, return false\n// - If LT\n// - If LT.semver is greater than any < or <= comp in C, return false\n// - If LT is <=, and LT.semver does not satisfy every C, return false\n// - If GT.semver has a prerelease, and not in prerelease mode\n// - If no C has a prerelease and the LT.semver tuple, return false\n// - Else return true\n\nconst subset = (sub, dom, options = {}) => {\n if (sub === dom)\n return true\n\n sub = new Range(sub, options)\n dom = new Range(dom, options)\n let sawNonNull = false\n\n OUTER: for (const simpleSub of sub.set) {\n for (const simpleDom of dom.set) {\n const isSub = simpleSubset(simpleSub, simpleDom, options)\n sawNonNull = sawNonNull || isSub !== null\n if (isSub)\n continue OUTER\n }\n // the null set is a subset of everything, but null simple ranges in\n // a complex range should be ignored. so if we saw a non-null range,\n // then we know this isn't a subset, but if EVERY simple range was null,\n // then it is a subset.\n if (sawNonNull)\n return false\n }\n return true\n}\n\nconst simpleSubset = (sub, dom, options) => {\n if (sub === dom)\n return true\n\n if (sub.length === 1 && sub[0].semver === ANY) {\n if (dom.length === 1 && dom[0].semver === ANY)\n return true\n else if (options.includePrerelease)\n sub = [ new Comparator('>=0.0.0-0') ]\n else\n sub = [ new Comparator('>=0.0.0') ]\n }\n\n if (dom.length === 1 && dom[0].semver === ANY) {\n if (options.includePrerelease)\n return true\n else\n dom = [ new Comparator('>=0.0.0') ]\n }\n\n const eqSet = new Set()\n let gt, lt\n for (const c of sub) {\n if (c.operator === '>' || c.operator === '>=')\n gt = higherGT(gt, c, options)\n else if (c.operator === '<' || c.operator === '<=')\n lt = lowerLT(lt, c, options)\n else\n eqSet.add(c.semver)\n }\n\n if (eqSet.size > 1)\n return null\n\n let gtltComp\n if (gt && lt) {\n gtltComp = compare(gt.semver, lt.semver, options)\n if (gtltComp > 0)\n return null\n else if (gtltComp === 0 && (gt.operator !== '>=' || lt.operator !== '<='))\n return null\n }\n\n // will iterate one or zero times\n for (const eq of eqSet) {\n if (gt && !satisfies(eq, String(gt), options))\n return null\n\n if (lt && !satisfies(eq, String(lt), options))\n return null\n\n for (const c of dom) {\n if (!satisfies(eq, String(c), options))\n return false\n }\n\n return true\n }\n\n let higher, lower\n let hasDomLT, hasDomGT\n // if the subset has a prerelease, we need a comparator in the superset\n // with the same tuple and a prerelease, or it's not a subset\n let needDomLTPre = lt &&\n !options.includePrerelease &&\n lt.semver.prerelease.length ? lt.semver : false\n let needDomGTPre = gt &&\n !options.includePrerelease &&\n gt.semver.prerelease.length ? gt.semver : false\n // exception: <1.2.3-0 is the same as <1.2.3\n if (needDomLTPre && needDomLTPre.prerelease.length === 1 &&\n lt.operator === '<' && needDomLTPre.prerelease[0] === 0) {\n needDomLTPre = false\n }\n\n for (const c of dom) {\n hasDomGT = hasDomGT || c.operator === '>' || c.operator === '>='\n hasDomLT = hasDomLT || c.operator === '<' || c.operator === '<='\n if (gt) {\n if (needDomGTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomGTPre.major &&\n c.semver.minor === needDomGTPre.minor &&\n c.semver.patch === needDomGTPre.patch) {\n needDomGTPre = false\n }\n }\n if (c.operator === '>' || c.operator === '>=') {\n higher = higherGT(gt, c, options)\n if (higher === c && higher !== gt)\n return false\n } else if (gt.operator === '>=' && !satisfies(gt.semver, String(c), options))\n return false\n }\n if (lt) {\n if (needDomLTPre) {\n if (c.semver.prerelease && c.semver.prerelease.length &&\n c.semver.major === needDomLTPre.major &&\n c.semver.minor === needDomLTPre.minor &&\n c.semver.patch === needDomLTPre.patch) {\n needDomLTPre = false\n }\n }\n if (c.operator === '<' || c.operator === '<=') {\n lower = lowerLT(lt, c, options)\n if (lower === c && lower !== lt)\n return false\n } else if (lt.operator === '<=' && !satisfies(lt.semver, String(c), options))\n return false\n }\n if (!c.operator && (lt || gt) && gtltComp !== 0)\n return false\n }\n\n // if there was a < or >, and nothing in the dom, then must be false\n // UNLESS it was limited by another range in the other direction.\n // Eg, >1.0.0 <1.0.1 is still a subset of <2.0.0\n if (gt && hasDomLT && !lt && gtltComp !== 0)\n return false\n\n if (lt && hasDomGT && !gt && gtltComp !== 0)\n return false\n\n // we needed a prerelease range in a specific tuple, but didn't get one\n // then this isn't a subset. eg >=1.2.3-pre is not a subset of >=1.0.0,\n // because it includes prereleases in the 1.2.3 tuple\n if (needDomGTPre || needDomLTPre)\n return false\n\n return true\n}\n\n// >=1.2.3 is lower than >1.2.3\nconst higherGT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp > 0 ? a\n : comp < 0 ? b\n : b.operator === '>' && a.operator === '>=' ? b\n : a\n}\n\n// <=1.2.3 is higher than <1.2.3\nconst lowerLT = (a, b, options) => {\n if (!a)\n return b\n const comp = compare(a.semver, b.semver, options)\n return comp < 0 ? a\n : comp > 0 ? b\n : b.operator === '<' && a.operator === '<=' ? b\n : a\n}\n\nmodule.exports = subset\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst http = require(\"http\");\nconst https = require(\"https\");\nconst pm = require(\"./proxy\");\nlet tunnel;\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes = exports.HttpCodes || (exports.HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers = exports.Headers || (exports.Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes = exports.MediaTypes || (exports.MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n let proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return new Promise(async (resolve, reject) => {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n let parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n }\n get(requestUrl, additionalHeaders) {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n }\n del(requestUrl, additionalHeaders) {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n }\n post(requestUrl, data, additionalHeaders) {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n }\n patch(requestUrl, data, additionalHeaders) {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n }\n put(requestUrl, data, additionalHeaders) {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n }\n head(requestUrl, additionalHeaders) {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n async getJson(requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n let res = await this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async postJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async putJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n async patchJson(requestUrl, obj, additionalHeaders = {}) {\n let data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n let res = await this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n async request(verb, requestUrl, data, headers) {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n let parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n let maxTries = this._allowRetries && RetryableHttpVerbs.indexOf(verb) != -1\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n while (numTries < maxTries) {\n response = await this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (let i = 0; i < this.handlers.length; i++) {\n if (this.handlers[i].canHandleAuthentication(response)) {\n authenticationHandler = this.handlers[i];\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (HttpRedirectCodes.indexOf(response.message.statusCode) != -1 &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n let parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol == 'https:' &&\n parsedUrl.protocol != parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n throw new Error('Redirect from HTTPS to HTTP protocol. This downgrade is not allowed for security reasons. If you want to allow this behavior, set the allowRedirectDowngrade option to true.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n await response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (let header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = await this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (HttpResponseRetryCodes.indexOf(response.message.statusCode) == -1) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n await response.readBody();\n await this._performExponentialBackoff(numTries);\n }\n }\n return response;\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return new Promise((resolve, reject) => {\n let callbackForResult = function (err, res) {\n if (err) {\n reject(err);\n }\n resolve(res);\n };\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n let socket;\n if (typeof data === 'string') {\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n let handleResult = (err, res) => {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n };\n let req = info.httpModule.request(info.options, (msg) => {\n let res = new HttpClientResponse(msg);\n handleResult(null, res);\n });\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error('Request timeout: ' + info.options.path), null);\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err, null);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n let parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n this.handlers.forEach(handler => {\n handler.prepareRequest(info.options);\n });\n }\n return info;\n }\n _mergeHeaders(headers) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n const lowercaseKeys = obj => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n let proxyUrl = pm.getProxyUrl(parsedUrl);\n let useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (!!agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (!!this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n if (useProxy) {\n // If using proxy, need tunnel\n if (!tunnel) {\n tunnel = require('tunnel');\n }\n const agentOptions = {\n maxSockets: maxSockets,\n keepAlive: this._keepAlive,\n proxy: {\n ...((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n }),\n host: proxyUrl.hostname,\n port: proxyUrl.port\n }\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets: maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _performExponentialBackoff(retryNumber) {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n }\n static dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n let a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n async _processResponse(res, options) {\n return new Promise(async (resolve, reject) => {\n const statusCode = res.message.statusCode;\n const response = {\n statusCode: statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode == HttpCodes.NotFound) {\n resolve(response);\n }\n let obj;\n let contents;\n // get the result from the body\n try {\n contents = await res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, HttpClient.dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = 'Failed request: (' + statusCode + ')';\n }\n let err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n });\n }\n}\nexports.HttpClient = HttpClient;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction getProxyUrl(reqUrl) {\n let usingSsl = reqUrl.protocol === 'https:';\n let proxyUrl;\n if (checkBypass(reqUrl)) {\n return proxyUrl;\n }\n let proxyVar;\n if (usingSsl) {\n proxyVar = process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n proxyVar = process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n if (proxyVar) {\n proxyUrl = new URL(proxyVar);\n }\n return proxyUrl;\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n let noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n let upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (let upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperReqHosts.some(x => x === upperNoProxyItem)) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\n","module.exports = require('./lib/tunnel');\n","'use strict';\n\nvar net = require('net');\nvar tls = require('tls');\nvar http = require('http');\nvar https = require('https');\nvar events = require('events');\nvar assert = require('assert');\nvar util = require('util');\n\n\nexports.httpOverHttp = httpOverHttp;\nexports.httpsOverHttp = httpsOverHttp;\nexports.httpOverHttps = httpOverHttps;\nexports.httpsOverHttps = httpsOverHttps;\n\n\nfunction httpOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n return agent;\n}\n\nfunction httpsOverHttp(options) {\n var agent = new TunnelingAgent(options);\n agent.request = http.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\nfunction httpOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n return agent;\n}\n\nfunction httpsOverHttps(options) {\n var agent = new TunnelingAgent(options);\n agent.request = https.request;\n agent.createSocket = createSecureSocket;\n agent.defaultPort = 443;\n return agent;\n}\n\n\nfunction TunnelingAgent(options) {\n var self = this;\n self.options = options || {};\n self.proxyOptions = self.options.proxy || {};\n self.maxSockets = self.options.maxSockets || http.Agent.defaultMaxSockets;\n self.requests = [];\n self.sockets = [];\n\n self.on('free', function onFree(socket, host, port, localAddress) {\n var options = toOptions(host, port, localAddress);\n for (var i = 0, len = self.requests.length; i < len; ++i) {\n var pending = self.requests[i];\n if (pending.host === options.host && pending.port === options.port) {\n // Detect the request to connect same origin server,\n // reuse the connection.\n self.requests.splice(i, 1);\n pending.request.onSocket(socket);\n return;\n }\n }\n socket.destroy();\n self.removeSocket(socket);\n });\n}\nutil.inherits(TunnelingAgent, events.EventEmitter);\n\nTunnelingAgent.prototype.addRequest = function addRequest(req, host, port, localAddress) {\n var self = this;\n var options = mergeOptions({request: req}, self.options, toOptions(host, port, localAddress));\n\n if (self.sockets.length >= this.maxSockets) {\n // We are over limit so we'll add it to the queue.\n self.requests.push(options);\n return;\n }\n\n // If we are under maxSockets create a new one.\n self.createSocket(options, function(socket) {\n socket.on('free', onFree);\n socket.on('close', onCloseOrRemove);\n socket.on('agentRemove', onCloseOrRemove);\n req.onSocket(socket);\n\n function onFree() {\n self.emit('free', socket, options);\n }\n\n function onCloseOrRemove(err) {\n self.removeSocket(socket);\n socket.removeListener('free', onFree);\n socket.removeListener('close', onCloseOrRemove);\n socket.removeListener('agentRemove', onCloseOrRemove);\n }\n });\n};\n\nTunnelingAgent.prototype.createSocket = function createSocket(options, cb) {\n var self = this;\n var placeholder = {};\n self.sockets.push(placeholder);\n\n var connectOptions = mergeOptions({}, self.proxyOptions, {\n method: 'CONNECT',\n path: options.host + ':' + options.port,\n agent: false,\n headers: {\n host: options.host + ':' + options.port\n }\n });\n if (options.localAddress) {\n connectOptions.localAddress = options.localAddress;\n }\n if (connectOptions.proxyAuth) {\n connectOptions.headers = connectOptions.headers || {};\n connectOptions.headers['Proxy-Authorization'] = 'Basic ' +\n new Buffer(connectOptions.proxyAuth).toString('base64');\n }\n\n debug('making CONNECT request');\n var connectReq = self.request(connectOptions);\n connectReq.useChunkedEncodingByDefault = false; // for v0.6\n connectReq.once('response', onResponse); // for v0.6\n connectReq.once('upgrade', onUpgrade); // for v0.6\n connectReq.once('connect', onConnect); // for v0.7 or later\n connectReq.once('error', onError);\n connectReq.end();\n\n function onResponse(res) {\n // Very hacky. This is necessary to avoid http-parser leaks.\n res.upgrade = true;\n }\n\n function onUpgrade(res, socket, head) {\n // Hacky.\n process.nextTick(function() {\n onConnect(res, socket, head);\n });\n }\n\n function onConnect(res, socket, head) {\n connectReq.removeAllListeners();\n socket.removeAllListeners();\n\n if (res.statusCode !== 200) {\n debug('tunneling socket could not be established, statusCode=%d',\n res.statusCode);\n socket.destroy();\n var error = new Error('tunneling socket could not be established, ' +\n 'statusCode=' + res.statusCode);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n if (head.length > 0) {\n debug('got illegal response body from proxy');\n socket.destroy();\n var error = new Error('got illegal response body from proxy');\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n return;\n }\n debug('tunneling connection has established');\n self.sockets[self.sockets.indexOf(placeholder)] = socket;\n return cb(socket);\n }\n\n function onError(cause) {\n connectReq.removeAllListeners();\n\n debug('tunneling socket could not be established, cause=%s\\n',\n cause.message, cause.stack);\n var error = new Error('tunneling socket could not be established, ' +\n 'cause=' + cause.message);\n error.code = 'ECONNRESET';\n options.request.emit('error', error);\n self.removeSocket(placeholder);\n }\n};\n\nTunnelingAgent.prototype.removeSocket = function removeSocket(socket) {\n var pos = this.sockets.indexOf(socket)\n if (pos === -1) {\n return;\n }\n this.sockets.splice(pos, 1);\n\n var pending = this.requests.shift();\n if (pending) {\n // If we have pending requests and a socket gets closed a new one\n // needs to be created to take over in the pool for the one that closed.\n this.createSocket(pending, function(socket) {\n pending.request.onSocket(socket);\n });\n }\n};\n\nfunction createSecureSocket(options, cb) {\n var self = this;\n TunnelingAgent.prototype.createSocket.call(self, options, function(socket) {\n var hostHeader = options.request.getHeader('host');\n var tlsOptions = mergeOptions({}, self.options, {\n socket: socket,\n servername: hostHeader ? hostHeader.replace(/:.*$/, '') : options.host\n });\n\n // 0 is dummy port for v0.6\n var secureSocket = tls.connect(0, tlsOptions);\n self.sockets[self.sockets.indexOf(socket)] = secureSocket;\n cb(secureSocket);\n });\n}\n\n\nfunction toOptions(host, port, localAddress) {\n if (typeof host === 'string') { // since v0.10\n return {\n host: host,\n port: port,\n localAddress: localAddress\n };\n }\n return host; // for v0.11 or later\n}\n\nfunction mergeOptions(target) {\n for (var i = 1, len = arguments.length; i < len; ++i) {\n var overrides = arguments[i];\n if (typeof overrides === 'object') {\n var keys = Object.keys(overrides);\n for (var j = 0, keyLen = keys.length; j < keyLen; ++j) {\n var k = keys[j];\n if (overrides[k] !== undefined) {\n target[k] = overrides[k];\n }\n }\n }\n }\n return target;\n}\n\n\nvar debug;\nif (process.env.NODE_DEBUG && /\\btunnel\\b/.test(process.env.NODE_DEBUG)) {\n debug = function() {\n var args = Array.prototype.slice.call(arguments);\n if (typeof args[0] === 'string') {\n args[0] = 'TUNNEL: ' + args[0];\n } else {\n args.unshift('TUNNEL:');\n }\n console.error.apply(console, args);\n }\n} else {\n debug = function() {};\n}\nexports.debug = debug; // for test\n","var rng = require('./lib/rng');\nvar bytesToUuid = require('./lib/bytesToUuid');\n\nfunction v4(options, buf, offset) {\n var i = buf && offset || 0;\n\n if (typeof(options) == 'string') {\n buf = options === 'binary' ? new Array(16) : null;\n options = null;\n }\n options = options || {};\n\n var rnds = options.random || (options.rng || rng)();\n\n // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n rnds[6] = (rnds[6] & 0x0f) | 0x40;\n rnds[8] = (rnds[8] & 0x3f) | 0x80;\n\n // Copy bytes to buffer, if provided\n if (buf) {\n for (var ii = 0; ii < 16; ++ii) {\n buf[i + ii] = rnds[ii];\n }\n }\n\n return buf || bytesToUuid(rnds);\n}\n\nmodule.exports = v4;\n","// Unique ID creation requires a high quality random # generator. In node.js\n// this is pretty straight-forward - we use the crypto API.\n\nvar crypto = require('crypto');\n\nmodule.exports = function nodeRNG() {\n return crypto.randomBytes(16);\n};\n","/**\n * Convert array of 16 byte values to UUID string format of the form:\n * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n */\nvar byteToHex = [];\nfor (var i = 0; i < 256; ++i) {\n byteToHex[i] = (i + 0x100).toString(16).substr(1);\n}\n\nfunction bytesToUuid(buf, offset) {\n var i = offset || 0;\n var bth = byteToHex;\n // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n return ([\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]], '-',\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]],\n bth[buf[i++]], bth[buf[i++]]\n ]).join('');\n}\n\nmodule.exports = bytesToUuid;\n",null,null,"'use strict';\nconst fs = require('fs');\nconst path = require('path');\nconst crypto = require('crypto');\nconst isStream = require('is-stream');\n\nconst {Worker} = (() => {\n\ttry {\n\t\treturn require('worker_threads');\n\t} catch (_) {\n\t\treturn {};\n\t}\n})();\n\nlet worker; // Lazy\nlet taskIdCounter = 0;\nconst tasks = new Map();\n\nconst recreateWorkerError = sourceError => {\n\tconst error = new Error(sourceError.message);\n\n\tfor (const [key, value] of Object.entries(sourceError)) {\n\t\tif (key !== 'message') {\n\t\t\terror[key] = value;\n\t\t}\n\t}\n\n\treturn error;\n};\n\nconst createWorker = () => {\n\tworker = new Worker(path.join(__dirname, 'thread.js'));\n\n\tworker.on('message', message => {\n\t\tconst task = tasks.get(message.id);\n\t\ttasks.delete(message.id);\n\n\t\tif (tasks.size === 0) {\n\t\t\tworker.unref();\n\t\t}\n\n\t\tif (message.error === undefined) {\n\t\t\ttask.resolve(message.value);\n\t\t} else {\n\t\t\ttask.reject(recreateWorkerError(message.error));\n\t\t}\n\t});\n\n\tworker.on('error', error => {\n\t\t// Any error here is effectively an equivalent of segfault, and have no scope, so we just throw it on callback level\n\t\tthrow error;\n\t});\n};\n\nconst taskWorker = (method, args, transferList) => new Promise((resolve, reject) => {\n\tconst id = taskIdCounter++;\n\ttasks.set(id, {resolve, reject});\n\n\tif (worker === undefined) {\n\t\tcreateWorker();\n\t}\n\n\tworker.ref();\n\tworker.postMessage({id, method, args}, transferList);\n});\n\nconst hasha = (input, options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst hash = crypto.createHash(options.algorithm || 'sha512');\n\n\tconst update = buffer => {\n\t\tconst inputEncoding = typeof buffer === 'string' ? 'utf8' : undefined;\n\t\thash.update(buffer, inputEncoding);\n\t};\n\n\tif (Array.isArray(input)) {\n\t\tinput.forEach(update);\n\t} else {\n\t\tupdate(input);\n\t}\n\n\treturn hash.digest(outputEncoding);\n};\n\nhasha.stream = (options = {}) => {\n\tlet outputEncoding = options.encoding || 'hex';\n\n\tif (outputEncoding === 'buffer') {\n\t\toutputEncoding = undefined;\n\t}\n\n\tconst stream = crypto.createHash(options.algorithm || 'sha512');\n\tstream.setEncoding(outputEncoding);\n\treturn stream;\n};\n\nhasha.fromStream = async (stream, options = {}) => {\n\tif (!isStream(stream)) {\n\t\tthrow new TypeError('Expected a stream');\n\t}\n\n\treturn new Promise((resolve, reject) => {\n\t\t// TODO: Use `stream.pipeline` and `stream.finished` when targeting Node.js 10\n\t\tstream\n\t\t\t.on('error', reject)\n\t\t\t.pipe(hasha.stream(options))\n\t\t\t.on('error', reject)\n\t\t\t.on('finish', function () {\n\t\t\t\tresolve(this.read());\n\t\t\t});\n\t});\n};\n\nif (Worker === undefined) {\n\thasha.fromFile = async (filePath, options) => hasha.fromStream(fs.createReadStream(filePath), options);\n\thasha.async = async (input, options) => hasha(input, options);\n} else {\n\thasha.fromFile = async (filePath, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tconst hash = await taskWorker('hashFile', [algorithm, filePath]);\n\n\t\tif (encoding === 'buffer') {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n\n\thasha.async = async (input, {algorithm = 'sha512', encoding = 'hex'} = {}) => {\n\t\tif (encoding === 'buffer') {\n\t\t\tencoding = undefined;\n\t\t}\n\n\t\tconst hash = await taskWorker('hash', [algorithm, input]);\n\n\t\tif (encoding === undefined) {\n\t\t\treturn Buffer.from(hash);\n\t\t}\n\n\t\treturn Buffer.from(hash).toString(encoding);\n\t};\n}\n\nhasha.fromFileSync = (filePath, options) => hasha(fs.readFileSync(filePath), options);\n\nmodule.exports = hasha;\n","const core = require('@actions/core')\r\nconst child_process = require('child_process')\r\nconst fs = require('fs')\r\nconst path = require('path')\r\nconst process = require('process')\r\n\r\nconst PROGRAM_FILES_X86 = process.env['ProgramFiles(x86)']\r\n\r\nconst EDITIONS = ['Enterprise', 'Professional', 'Community']\r\nconst VERSIONS = ['2019', '2017']\r\n\r\nconst VSWHERE_PATH = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\Installer`\r\n\r\nfunction findWithVswhere(pattern) {\r\n try {\r\n let installationPath = child_process.execSync(`vswhere -products * -latest -prerelease -property installationPath`).toString().trim()\r\n return installationPath + '\\\\' + pattern\r\n } catch (e) {\r\n core.warning(`vswhere failed: ${e}`)\r\n }\r\n return null\r\n}\r\n\r\nfunction findVcvarsall() {\r\n // If vswhere is available, ask it about the location of the latest Visual Studio.\r\n let path = findWithVswhere('VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat')\r\n if (path && fs.existsSync(path)) {\r\n core.info(`Found with vswhere: ${path}`)\r\n return path\r\n }\r\n core.info(\"Not found with vswhere\")\r\n\r\n // If that does not work, try the standard installation locations,\r\n // starting with the latest and moving to the oldest.\r\n for (const ver of VERSIONS) {\r\n for (const ed of EDITIONS) {\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual Studio\\\\${ver}\\\\${ed}\\\\VC\\\\Auxiliary\\\\Build\\\\vcvarsall.bat`\r\n core.info(`Trying standard location: ${path}`)\r\n if (fs.existsSync(path)) {\r\n core.info(`Found standard location: ${path}`)\r\n return path\r\n }\r\n }\r\n }\r\n core.info(\"Not found in standard locations\")\r\n\r\n // Special case for Visual Studio 2015 (and maybe earlier), try it out too.\r\n path = `${PROGRAM_FILES_X86}\\\\Microsoft Visual C++ Build Tools\\\\vcbuildtools.bat`\r\n if (fs.existsSync(path)) {\r\n core.info(`Found VS 2015: ${path}`)\r\n return path\r\n }\r\n core.info(`Not found in VS 2015 location: ${path}`)\r\n\r\n throw new Error('Microsoft Visual Studio not found')\r\n}\r\n\r\nfunction isPathVariable(name) {\r\n const pathLikeVariables = ['PATH', 'INCLUDE', 'LIB', 'LIBPATH']\r\n return pathLikeVariables.indexOf(name.toUpperCase()) != -1\r\n}\r\n\r\nfunction filterPathValue(path) {\r\n let paths = path.split(';')\r\n // Remove duplicates by keeping the first occurance and preserving order.\r\n // This keeps path shadowing working as intended.\r\n function unique(value, index, self) {\r\n return self.indexOf(value) === index\r\n }\r\n return paths.filter(unique).join(';')\r\n}\r\n\r\n/** See https://github.com/ilammy/msvc-dev-cmd#inputs */\r\nfunction setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre) {\r\n if (process.platform != 'win32') {\r\n core.info('This is not a Windows virtual environment, bye!')\r\n return\r\n }\r\n\r\n // Add standard location of \"vswhere\" to PATH, in case it's not there.\r\n process.env.PATH += path.delimiter + VSWHERE_PATH\r\n\r\n // There are all sorts of way the architectures are called. In addition to\r\n // values supported by Microsoft Visual C++, recognize some common aliases.\r\n let arch_aliases = {\r\n \"win32\": \"x86\",\r\n \"win64\": \"x64\",\r\n \"x86_64\": \"x64\",\r\n \"x86-64\": \"x64\",\r\n }\r\n // Ignore case when matching as that's what humans expect.\r\n if (arch.toLowerCase() in arch_aliases) {\r\n arch = arch_aliases[arch.toLowerCase()]\r\n }\r\n\r\n // Due to the way Microsoft Visual C++ is configured, we have to resort to the following hack:\r\n // Call the configuration batch file and then output *all* the environment variables.\r\n\r\n var args = [arch]\r\n if (uwp == 'true') {\r\n args.push('uwp')\r\n }\r\n if (sdk) {\r\n args.push(sdk)\r\n }\r\n if (toolset) {\r\n args.push(`-vcvars_ver=${toolset}`)\r\n }\r\n if (spectre == 'true') {\r\n args.push('-vcvars_spectre_libs=spectre')\r\n }\r\n\r\n const vcvars = `\"${findVcvarsall()}\" ${args.join(' ')}`\r\n core.debug(`vcvars command-line: ${vcvars}`)\r\n\r\n const cmd_output_string = child_process.execSync(`set && cls && ${vcvars} && cls && set`, {shell: \"cmd\"}).toString()\r\n const cmd_output_parts = cmd_output_string.split('\\f')\r\n\r\n const old_environment = cmd_output_parts[0].split('\\r\\n')\r\n const vcvars_output = cmd_output_parts[1].split('\\r\\n')\r\n const new_environment = cmd_output_parts[2].split('\\r\\n')\r\n\r\n // If vsvars.bat is given an incorrect command line, it will print out\r\n // an error and *still* exit successfully. Parse out errors from output\r\n // which don't look like environment variables, and fail if appropriate.\r\n const error_messages = vcvars_output.filter((line) => {\r\n if (line.match(/^\\[ERROR.*\\]/)) {\r\n // Don't print this particular line which will be confusing in output.\r\n if (!line.match(/Error in script usage. The correct usage is:$/)) {\r\n return true\r\n }\r\n }\r\n return false\r\n })\r\n if (error_messages.length > 0) {\r\n throw new Error('invalid parameters' + '\\r\\n' + error_messages.join('\\r\\n'))\r\n }\r\n\r\n // Convert old environment lines into a dictionary for easier lookup.\r\n let old_env_vars = {}\r\n for (let string of old_environment) {\r\n const [name, value] = string.split('=')\r\n old_env_vars[name] = value\r\n }\r\n\r\n // Now look at the new environment and export everything that changed.\r\n // These are the variables set by vsvars.bat. Also export everything\r\n // that was not there during the first sweep: those are new variables.\r\n core.startGroup('Environment variables')\r\n for (let string of new_environment) {\r\n // vsvars.bat likes to print some fluff at the beginning.\r\n // Skip lines that don't look like environment variables.\r\n if (!string.includes('=')) {\r\n continue;\r\n }\r\n let [name, new_value] = string.split('=')\r\n let old_value = old_env_vars[name]\r\n // For new variables \"old_value === undefined\".\r\n if (new_value !== old_value) {\r\n core.info(`Setting ${name}`)\r\n // Special case for a bunch of PATH-like variables: vcvarsall.bat\r\n // just prepends its stuff without checking if its already there.\r\n // This makes repeated invocations of this action fail after some\r\n // point, when the environment variable overflows. Avoid that.\r\n if (isPathVariable(name)) {\r\n new_value = filterPathValue(new_value)\r\n }\r\n core.exportVariable(name, new_value)\r\n }\r\n }\r\n core.endGroup()\r\n\r\n core.info(`Configured Developer Command Prompt`)\r\n}\r\nexports.setupMSVCDevCmd = setupMSVCDevCmd\r\n\r\nfunction main() {\r\n var arch = core.getInput('arch')\r\n const sdk = core.getInput('sdk')\r\n const toolset = core.getInput('toolset')\r\n const uwp = core.getInput('uwp')\r\n const spectre = core.getInput('spectre')\r\n\r\n setupMSVCDevCmd(arch, sdk, toolset, uwp, spectre)\r\n}\r\n\r\ntry {\r\n main()\r\n}\r\ncatch (e) {\r\n core.setFailed('Could not setup Developer Command Prompt: ' + e.message)\r\n}\r\n",null,null,null,null,"'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","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupConan(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"conan\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupMeson(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"meson\", version)\n}\n","import { setupPipPack } from \"../utils/setup/setupPipPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupGcovr(version: string | undefined, _setupCppDir: string, _arch: string) {\n return setupPipPack(\"gcovr\", version)\n}\n","import { addPath } from \"../utils/path/addPath\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupOpencppcoverage(version: string | undefined, _setupCppDir: string, _arch: string) {\n if (process.platform !== \"win32\") {\n return\n }\n await setupChocoPack(\"opencppcoverage\", version)\n const binDir = \"C:/Program Files/OpenCppCoverage\"\n addPath(binDir)\n return { binDir }\n}\n","import { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport function setupCcache(version: string, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n return setupChocoPack(\"ccache\", version)\n }\n case \"darwin\": {\n return setupBrewPack(\"ccache\", version)\n }\n case \"linux\": {\n return setupAptPack(\"ccache\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/path/addPath\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupDoxygen(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"doxygen.install\", version)\n await setupChocoPack(\"graphviz\", version)\n addPath(\"C:/Program Files/Graphviz/bin\")\n const binDir = \"C:/Program Files/doxygen/bin\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n setupBrewPack(\"doxygen\", version)\n return setupBrewPack(\"graphviz\", version)\n }\n case \"linux\": {\n await setupAptPack(\"doxygen\", version)\n return setupAptPack(\"graphviz\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n","import { addPath } from \"../utils/path/addPath\"\nimport { setupAptPack } from \"../utils/setup/setupAptPack\"\nimport { setupBrewPack } from \"../utils/setup/setupBrewPack\"\nimport { setupChocoPack } from \"../utils/setup/setupChocoPack\"\n\n// eslint-disable-next-line @typescript-eslint/no-unused-vars\nexport async function setupCppcheck(version: string | undefined, _setupCppDir: string, _arch: string) {\n switch (process.platform) {\n case \"win32\": {\n await setupChocoPack(\"cppcheck\", version)\n const binDir = \"C:/Program Files/Cppcheck\"\n addPath(binDir)\n return { binDir }\n }\n case \"darwin\": {\n return setupBrewPack(\"cppcheck\", version)\n }\n case \"linux\": {\n return setupAptPack(\"cppcheck\", version)\n }\n default: {\n throw new Error(`Unsupported platform`)\n }\n }\n}\n"],"names":["$f8af4289d8ca9e73$var$isexe","path","options","cb","Promise","TypeError","resolve","reject","er","is","$f8af4289d8ca9e73$var$core","code","ignoreErrors","$ee44094b0ce40db3$export$80e483d773064391","_version","_setupCppDir","_arch","includes","process","platform","$ee44094b0ce40db3$var$binDir","maybeBinDir","$parcel$interopDefault","$36da3a1038e77300$exports","sync","nothrow","$3U0nv$path","dirname","$3U0nv$child_process","execFileSync","stdio","$9c96c19a4bceb1f0$var$resolveCommandAttempt","parsed","withoutPathExt","env","cwd","hasCustomCwd","shouldSwitchCwd","undefined","chdir","disabled","err","resolved","command","$25914d0b552b8416$exports","pathExt","delimiter","e","$43e248ca34798005$var$notFoundError","original","syscall","Object","assign","Error","errno","spawnargs","args","$43e248ca34798005$var$verifyENOENT","status","$43e248ca34798005$var$isWin","file","$41c6ec4dbf52b862$var$spawn","$cc3250f0d1cc3019$exports","spawned","spawn","$43e248ca34798005$exports","hookChildProcess","$1b016d3820a9e1fb$var$unload","$1b016d3820a9e1fb$var$loaded","forEach","sig","removeListener","$1b016d3820a9e1fb$var$sigListeners","emit","$1b016d3820a9e1fb$var$originalProcessEmit","reallyExit","$1b016d3820a9e1fb$var$originalProcessReallyExit","$1b016d3820a9e1fb$var$emitter","count","$1b016d3820a9e1fb$var$emit","event","signal","emitted","$1b016d3820a9e1fb$var$load","filter","on","$1b016d3820a9e1fb$var$processEmit","$1b016d3820a9e1fb$var$processReallyExit","exitCode","call","ev","arg","ret","apply","this","arguments","$aca27b1924527bc3$var$getStream","inputStream","maxBuffer","Infinity","stream","$d43cdcba2540f772$exports","rejectPromise","error","getBufferedLength","$aca27b1924527bc3$require$BufferConstants","MAX_LENGTH","bufferedData","getBufferedValue","$aca27b1924527bc3$var$streamPipelinePromisified","$aca27b1924527bc3$var$MaxBufferError","$17b14aa64fad5157$export$7a2afc14661ec6f","$17b14aa64fad5157$var$_issudo","CI","ref","getuid","$cc47f4e6f3d32c78$exports","join","shell","$13dd793dec60e501$export$3facfc9dd87fb850","name","version","repository","apt","$13dd793dec60e501$var$didUpdate","binDir","$1c9ab043a2b6cc59$export$698568e794d5249f","$1c9ab043a2b6cc59$var$hasBrew","$3f76876b48282571$export$82747387e53cecaa","$6FGZZ","addPath","commandSync","info","err2","PATH","$a9f3b01a430d25e5$export$1e92c536ef588459","$a9f3b01a430d25e5$var$binDir","maybeChoco","$3U0nv$fs","existsSync","$6b27956e33e7a968$export$50c32c11cefe4e9f","$6b27956e33e7a968$var$hasChoco","$8d6c57753101e07a$var$exec","commandLine","commandArgs","$8d6c57753101e07a$var$tr","argStringToArray","length","toolPath","slice","concat","ToolRunner","exec","$fbdecc6eadfe47c2$var$findAllVersions","toolName","arch","versions","$fbdecc6eadfe47c2$var$os","$fbdecc6eadfe47c2$var$path","$fbdecc6eadfe47c2$var$_getCacheDirectory","$fbdecc6eadfe47c2$var$fs","children","readdirSync","child","$fbdecc6eadfe47c2$var$isExplicitVersion","fullPath","push","$fbdecc6eadfe47c2$var$_createExtractFolder","dest","$fbdecc6eadfe47c2$var$_getTempDirectory","$fbdecc6eadfe47c2$var$v4_1","default","$fbdecc6eadfe47c2$var$io","mkdirP","$fbdecc6eadfe47c2$var$_createToolPath","tool","folderPath","$fbdecc6eadfe47c2$var$semver","clean","$fbdecc6eadfe47c2$var$core","debug","markerPath","rmRF","$fbdecc6eadfe47c2$var$_completeToolPath","writeFileSync","versionSpec","c","valid","$fbdecc6eadfe47c2$var$evaluateVersions","i","sort","a","b","gt","potential","satisfies","cacheDirectory","$3U0nv$assert","ok","tempDirectory","$fbdecc6eadfe47c2$var$_getGlobal","key","defaultValue","value","$parcel$global","$419624936a2d1758$export$ed762e2824bae281","$f5c161df7ab7d525$export$97748eae293469f0","getPackageInfo","setupCppDir","_RUNNER_TEMP","_RUNNER_TOOL_CACH","RUNNER_TEMP","$3U0nv$os","tmpdir","RUNNER_TOOL_CACHE","RUNNER_TOOL_CACH","url","binRelativeDir","extractedFolderName","extractFunction","dir","$fbdecc6eadfe47c2$exports","find","installDir","$e68279e3338bc371$exports","async","algorithm","rootDir","downloaded","downloadTool","cacheDir","$d40f2b84e4520e56$var$getCmakePackageInfo","semVersion","$5M2Mq","platformStr","getInput","isOld","$ju11K","osArchStr","folderName","extractZip","extractTar","$20ba577a744e9e96$export$ceb9c2d7a4f63acc","sourceName","targetName","setExecutable","sourcePath","targetPath","symlinkSync","$20ba577a744e9e96$export$b6afdf548cce3a42","chmodSync","$20ba577a744e9e96$export$9bc8f45691b95052","$20ba577a744e9e96$export$a8cf3209e098ef45","$hBwzM","validRange","pypyVersion","$f022661c7ba1f0db$var$usePyPy","majorVersion","architecture","findPyPy","bind","_binDir","exportVariable","impl","setOutput","$f022661c7ba1f0db$var$versionFromPath","parts","split","sep","idx","findIndex","part","$36577581e049d94c$export$8c67d7fc35de7958","$36577581e049d94c$export$acc94c5223ff25f0","replace","$36577581e049d94c$export$c6639e8493cb127","releases","files","item","$20ba577a744e9e96$export$9cadc82215ebe904","$20ba577a744e9e96$export$64a6690eaf7c329","$36577581e049d94c$export$d85e7c823fa73d0d","$ca400c34eccdb57a$export$44f2938a3d4c6806","$ca400c34eccdb57a$export$d395cd30fbb6736a","startsWith","installed","resolvedPyPyVersion","resolvedPythonVersion","pypyVersionSpec","pythonVersion","test","$588899e011391f63$export$2b5406d6a9a13bbc","$588899e011391f63$export$2da61456f93be513","basename","$20ba577a744e9e96$export$4b4f4b982a2ffe07","fileVersion","readFileSync","$20ba577a744e9e96$export$6f314ebc3b60c941","$588899e011391f63$export$34f0d1e2635db91b","downloadDir","http","$9AGbw","HttpClient","response","getJson","result","$36577581e049d94c$var$getAvailablePyPyVersions","releaseData","filterReleases","isPythonVersionSatisfied","coerce","python_version","isPyPyVersionSatisfied","pypy_version","isArchPresent","some","$36577581e049d94c$export$b4c35c3de1bb74e3","$36577581e049d94c$export$c8431f03a51e60bd","foundRelease","previous","current","compare","$36577581e049d94c$export$596d3412b21fc15f","foundAsset","downloadUrl","download_url","pypyPath","archiveName","toolDir","pypyFilePath","$20ba577a744e9e96$export$52096b3724e0cb70","binaryPath","pypyBinaryPath","pythonBinaryPostfix","major","pypyBinaryPostfix","binaryExtension","$36577581e049d94c$var$createPyPySymlink","pythonLocation","pythonBinary","$8d6c57753101e07a$exports","$36577581e049d94c$var$installPip","$36577581e049d94c$export$14ff1a21eed93571","$588899e011391f63$export$cba4b335bf603792","toUpperCase","semanticVersionSpec","endsWith","manifest","getManifestFromRepo","$655628f797e4869d$var$AUTH","findFromManifest","$655628f797e4869d$export$138d6544552d0d44","release","pythonPath","pythonExtractedFolder","workingDirectory","$20ba577a744e9e96$export$ce1daefa7994a9d0","LD_LIBRARY_PATH","silent","listeners","stdout","data","trim","stderr","$655628f797e4869d$var$installPython","$655628f797e4869d$export$2705050b37fec3c","$655628f797e4869d$export$4f76c28790455076","EOL","libPath","pyLibPath","$f022661c7ba1f0db$var$binDir","version1","minor","userScriptsDir","$f022661c7ba1f0db$var$useCpythonVersion","$f022661c7ba1f0db$export$1cecbd6a84583d9c","matchersPath","installInfo","$09efbe6c03c5e8c7$export$7a973c5043caaa2","$3U0nv$https","get","res","statusCode","$cc05105aff3c1e34$export$e258427b01a4f9","$cc05105aff3c1e34$var$pip","givenFile","targetVersion","versionRegex","givenVersion","ref1","getExecOutput","ref2","match","console","$1bd49ae4b85c403c$export$afe0511abe6ee3d2","$1wyqe","$1bd49ae4b85c403c$export$8c44dcfae252b9ed","$cc05105aff3c1e34$var$binDir","$a016715d3f18f117$export$8d5b126e4b80c6cb","$a016715d3f18f117$export$a18ed1c85be027cc","flags","$q05Mr","$ecc64fd197c4357d$var$getGitHubUrl","prefix","suffix","$ecc64fd197c4357d$var$getReleaseUrl","$ecc64fd197c4357d$export$18a6cfbf25963f89","$ecc64fd197c4357d$var$DARWIN_MISSING","has","$ecc64fd197c4357d$var$getDarwinUrl","versionGiven","rc","$ecc64fd197c4357d$var$UBUNTU_RC","ubuntu","$ecc64fd197c4357d$var$UBUNTU","$ecc64fd197c4357d$var$getLinuxUrl","$ecc64fd197c4357d$var$WIN32_MISSING","olderThan9_1","fallback","$ecc64fd197c4357d$var$getWin32Url","$ecc64fd197c4357d$var$getLLVMPackageInfo","specificVersion","getUrl","semversion","Array","from","v","reverse","$1bd49ae4b85c403c$export$e931c90ac13970ac","$1bd49ae4b85c403c$export$fa70b3b14f4c526f","$ecc64fd197c4357d$export$af592c7790e0a325","$ecc64fd197c4357d$export$3a1c6393858a80d7","directory","installationInfo","lib","_LD_LIBRARY_PATH","ld","_DYLD_LIBRARY_PATH","dyld","DYLD_LIBRARY_PATH","llvmMajor","$k3zcS","xcrun","sdkroot","$4181a77ac5f8ec9b$export$966b4aa3adf6692d","sdk","uwp","spectre","toolset","VCTargetsPath","setupMSVCDevCmd","parcelRequire","$4181a77ac5f8ec9b$var$getArch","$427622416622ca4f$var$getNinjaPackageInfo","ninjaPlatform","$427622416622ca4f$var$getNinjaPlatform","$57aef85c779683b0$var$toArr","any","isArray","$57aef85c779683b0$var$toVal","out","val","opts","x","old","nxt","string","indexOf","String","boolean","_","$f66466a1fc9f3b2a$export$2763ddd825e0c80d","$f66466a1fc9f3b2a$var$DefaultVersions","$cc0d561bc6dacbdc$export$ee0e00e9eebd0473","$67e22ba8b9f0eedf$export$ee1d219d24aa76a7","log","$6e0c5961feb4ff1d$export$cc99187a73fc5866","ACTIONS_ALLOW_UNSECURE_COMMANDS","k","arr","j","len","alibi","alias","strict","unknown","defaults","splice","keys","charCodeAt","substring","repeat","shift","$57aef85c779683b0$export$9099ad97b570f7c","$6e0c5961feb4ff1d$var$inputs","fromEntries","map","inp","$6e0c5961feb4ff1d$var$maybeGetInput","h","_architecture","help","_SETUP_CPP_DIR","SETUP_CPP_DIR","$6db0685353f69c12$exports","successMessages","errorMessages","$6e0c5961feb4ff1d$var$tools","setupFunction","$6e0c5961feb4ff1d$var$setups","$6e0c5961feb4ff1d$var$getSuccessMessage","maybeCompiler","compiler","compilerAndMaybeVersion","maybeVersion","$1JJDJ","tool1","$67e22ba8b9f0eedf$export$e62dab7d9fa2e29e","msg","toLowerCase","$4db7ed1a4fdd712a$var$getInput","required","trimWhitespace","$4db7ed1a4fdd712a$var$error","message","properties","$eOxkI","issueCommand","$lK3O3","toCommandProperties","$4db7ed1a4fdd712a$var$startGroup","issue","$4db7ed1a4fdd712a$var$endGroup","$4db7ed1a4fdd712a$var$os","$4db7ed1a4fdd712a$var$__importStar","$4db7ed1a4fdd712a$var$path","$4db7ed1a4fdd712a$var$ExitCode","ExitCode","module","exports","convertedVal","toCommandValue","$85a1M","setSecret","secret","inputPath","getMultilineInput","getBooleanInput","write","setCommandEcho","enabled","setFailed","Failure","isDebug","warning","notice","startGroup","endGroup","group","fn","saveState","getState","$ac8f977adbabca24$var$issueCommand","cmd","$ac8f977adbabca24$var$Command","$ac8f977adbabca24$var$os","$ac8f977adbabca24$var$__importStar","toString","cmdStr","first","hasOwnProperty","s","$ac8f977adbabca24$var$escapeData","input","JSON","stringify","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","$5e2691ad996aa9ad$var$fs","$5e2691ad996aa9ad$var$__importStar","$5e2691ad996aa9ad$var$os","filePath","appendFileSync","encoding","$36da3a1038e77300$var$isWindows","OSTYPE","$36da3a1038e77300$var$COLON","$402f7bbe371b7b24$var$checkStat","stat","isSymbolicLink","isFile","pathext","PATHEXT","p","substr","$402f7bbe371b7b24$var$checkPathExt","$402f7bbe371b7b24$var$isexe","statSync","$eae5e8c11b388e10$var$isexe","$eae5e8c11b388e10$var$checkStat","mod","mode","uid","gid","myUid","myGid","getgid","u","parseInt","g","ug","$eae5e8c11b388e10$var$checkMode","TESTING_WINDOWS","$f8af4289d8ca9e73$exports","$36da3a1038e77300$var$getNotFoundError","$36da3a1038e77300$var$getPathInfo","opt","colon","pathEnv","pathExtExe","unshift","$36da3a1038e77300$var$which","found","step","all","ppRaw","pathPart","pCmd","subStep","ii","ext","then","cur","ex","$25914d0b552b8416$var$pathKey","environment","$94354d2cab6ec3bb$export$8763c7eee5203db","$94354d2cab6ec3bb$export$f2fa5ff1855a55aa","$9c96c19a4bceb1f0$exports","doubleEscapeMetaChars","$14af8c52f3b995d0$exports","argument","binary","pop","$0c9f218fc7700aad$exports","buffer","Buffer","alloc","fd","openSync","readSync","closeSync","$cc3250f0d1cc3019$var$isWin","$cc3250f0d1cc3019$var$isExecutableRegExp","$cc3250f0d1cc3019$var$isCmdShimRegExp","commandFile","shebang","$cc3250f0d1cc3019$var$detectShebang","needsShell","forceShell","needsDoubleEscapeMetaChars","normalize","shellCommand","comspec","windowsVerbatimArguments","$cc3250f0d1cc3019$var$parseNonShell","cp","originalEmit","arg1","$41c6ec4dbf52b862$exports","spawnSync","verifyENOENTSync","_parse","_enoent","$c6ee39b3affa8683$exports","CR","$759278668954c515$var$npmRunPath","execPath","cwdPath","execPathDir","$759278668954c515$exports","$0a664e467f796e7e$var$mimicFn","to","prop","Reflect","ownKeys","defineProperty","getOwnPropertyDescriptor","$0a664e467f796e7e$exports","$4c38ff914fe1d89a$var$calledFunctions","WeakMap","$4c38ff914fe1d89a$var$onetime","function_","returnValue","callCount","functionName","displayName","onetime","arguments_","set","throw","$4c38ff914fe1d89a$exports","$23056d73879d6045$exports","signalsByNumber","signalsByName","$a5a917e3a5d932c3$exports","getSignals","standard","number","action","description","forced","getRealtimeSignals","SIGRTMAX","SIGRTMIN","getRealtimeSignal","index","$80655e6f773eb793$var$SIGRTMAX","realtimeSignals","$80655e6f773eb793$exports","SIGNALS","normalizeSignal","defaultNumber","signals","constantSignal","constants","supported","reduce","signalByNameMemo","$23056d73879d6045$var$signalsByName","signalsA","signalA","findSignalByNumber","getSignalByNumber","getSignalsByNumber","$23056d73879d6045$var$signalsByNumber","$9c02b87c81142eb9$exports","escapedCommand","timedOut","isCanceled","killed","timeout","signalDescription","$9c02b87c81142eb9$require$signalsByName","errorCode","$9c02b87c81142eb9$var$getErrorPrefix","execaMessage","isError","shortMessage","Boolean","originalMessage","failed","$7c5d2b028d8c11a2$var$aliases","$7c5d2b028d8c11a2$var$normalizeStdio","$7c5d2b028d8c11a2$var$hasAlias","Math","max","$7c5d2b028d8c11a2$exports","node","$ec50826462d91d22$exports","$1b016d3820a9e1fb$var$isWin","$3U0nv$events","$1b016d3820a9e1fb$require$EE","EventEmitter","__signal_exit_emitter__","infinite","setMaxListeners","$1b016d3820a9e1fb$exports","equal","alwaysLast","unload","kill","pid","load","$32c0bb5df899f0ee$var$isSigterm","SIGTERM","$32c0bb5df899f0ee$exports","killResult","forceKillAfterTimeout","$32c0bb5df899f0ee$var$shouldForceKill","Number","isFinite","$32c0bb5df899f0ee$var$getForceKillAfterTimeout","t","setTimeout","unref","$32c0bb5df899f0ee$var$setKillTimeout","context","killSignal","spawnedPromise","timeoutId","timeoutPromise","$32c0bb5df899f0ee$var$timeoutKill","safeSpawnedPromise","finally","clearTimeout","race","cleanup","detached","timedPromise","removeExitHandler","validateTimeout","setExitHandler","spawnedCancel","setupTimeout","spawnedKill","$04f38251090bf040$var$isStream","pipe","writable","_write","_writableState","readable","_read","_readableState","duplex","transform","_transform","$04f38251090bf040$exports","$3U0nv$buffer","$3U0nv$stream","PassThrough","array","isBuffer","objectMode","$d43cdcba2540f772$require$PassThroughStream","setEncoding","chunks","chunk","$aca27b1924527bc3$require$promisify","$3U0nv$util","promisify","pipeline","super","$aca27b1924527bc3$exports","MaxBufferError","$08ebbe08125d6885$exports","add","source","sources","once","remove","output","end","isEmpty","it","$08ebbe08125d6885$require$PassThrough","$c27adbaa770b8d87$var$getBufferedData","streamPromise","destroy","$c27adbaa770b8d87$var$getStreamPromise","$c27adbaa770b8d87$exports","stdin","mixed","processDone","stdoutPromise","stderrPromise","allPromise","handleInput","makeAllStream","getSpawnedResult","validateInputSync","$848bef379cd38ad7$var$nativePromisePrototype","constructor","prototype","$848bef379cd38ad7$var$descriptors","property","$848bef379cd38ad7$exports","promise","descriptor","getSpawnedPromise","mergePromise","$88ea719f29a64eb5$var$normalizeArgs","$88ea719f29a64eb5$var$NO_ESCAPE_REGEXP","$88ea719f29a64eb5$exports","$88ea719f29a64eb5$var$escapeArg","tokens","token","previousToken","joinCommand","parseCommand","getEscapedCommand","$cc47f4e6f3d32c78$var$handleArguments","stripFinalNewline","extendEnv","preferLocal","localDir","windowsHide","envOption","$cc47f4e6f3d32c78$var$getEnv","$cc47f4e6f3d32c78$var$handleOutput","$cc47f4e6f3d32c78$var$execa","$cc47f4e6f3d32c78$require$joinCommand","$cc47f4e6f3d32c78$require$getEscapedCommand","dummySpawned","ChildProcess","errorPromise","$cc47f4e6f3d32c78$require$getSpawnedPromise","$cc47f4e6f3d32c78$require$setupTimeout","$cc47f4e6f3d32c78$require$setExitHandler","$cc47f4e6f3d32c78$require$spawnedKill","cancel","$cc47f4e6f3d32c78$require$spawnedCancel","handlePromiseOnce","stdoutResult","stderrResult","allResult","$cc47f4e6f3d32c78$require$getSpawnedResult","returnedError","$cc47f4e6f3d32c78$require$makeAllStream","$cc47f4e6f3d32c78$require$parseCommand","scriptPath","defaultExecArgv","execArgv","nodePath","nodeOptions","$fbdecc6eadfe47c2$var$__importStar","$04e280234287a6fa$var$rmRF","$04e280234287a6fa$var$ioUtil","IS_WINDOWS","cmdPath","getCmdPath","isDirectory","$04e280234287a6fa$var$exec","unlink","isDir","$04e280234287a6fa$var$execFile","$04e280234287a6fa$var$mkdirP","fsPath","mkdir","recursive","$04e280234287a6fa$var$findInPath","extensions","extension","$04e280234287a6fa$var$path","isRooted","tryGetExecutablePath","directories","matches","$04e280234287a6fa$var$cpDirRecursive","sourceDir","destDir","currentDepth","force","readdir","fileName","srcFile","destFile","lstat","$04e280234287a6fa$var$copyFile","chmod","symlinkFull","readlink","symlink","exists","copyFile","$04e280234287a6fa$var$childProcess","$04e280234287a6fa$var$__importStar","execFile","copySourceDirectory","$04e280234287a6fa$var$readCopyOptions","destStat","newDest","relative","mv","destExists","rename","which","$04e280234287a6fa$var$which","check","findInPath","$b527c73d129cd9df$var$isUnixExecutable","stats","$b527c73d129cd9df$var$fs","$b527c73d129cd9df$var$__importStar","$b527c73d129cd9df$var$path","$b527c73d129cd9df$var$_a","promises","rmdir","useStat","$b527c73d129cd9df$var$normalizeSeparators","upperExt","extname","validExt","originalFilePath","upperName","actualName","_a","$13c43de102a3b6d8$var$semver","$13c43de102a3b6d8$var$__importStar","_findMatch","stable","candidates","archFilter","platFilter","candidate","chk","platform_version","osVersion","_getOsVersion","plat","execSync","lsbContents","_readLinuxVersionFile","lines","lsbReleaseFile","osReleaseFile","contents","re","$j1nFx","src","SEMVER_SPEC_VERSION","SemVer","compareIdentifiers","rcompareIdentifiers","parse","inc","diff","patch","prerelease","rcompare","compareLoose","compareBuild","rsort","lt","eq","neq","gte","lte","cmp","Comparator","Range","toComparators","maxSatisfying","minSatisfying","minVersion","outside","gtr","ltr","intersects","simplifyRange","subset","MAX_SAFE_COMPONENT_LENGTH","R","createToken","isGlobal","$8eni4","RegExp","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","PRERELEASE","BUILD","FULLPLAIN","MAINVERSIONLOOSE","PRERELEASELOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","$dd9078767aae0d77$require$MAX_SAFE_COMPONENT_LENGTH","COERCE","LONETILDE","tildeTrimReplace","LONECARET","caretTrimReplace","comparatorTrimReplace","MAX_SAFE_INTEGER","$5fe1b2857782793b$var$debug","$9PnyI","$de2b687c79c82d4f$var$SemVer","$26eGk","loose","includePrerelease","$de2b687c79c82d4f$require$MAX_LENGTH","m","$de2b687c79c82d4f$require$re","$de2b687c79c82d4f$require$t","LOOSE","FULL","raw","$de2b687c79c82d4f$require$MAX_SAFE_INTEGER","id","num","build","format","other","compareMain","comparePre","$de2b687c79c82d4f$require$compareIdentifiers","identifier","isNaN","$187787c55101df84$var$opts","options1","$6ecf2feb48e2d485$var$numeric","$6ecf2feb48e2d485$var$compareIdentifiers","anum","bnum","$j4Bpm","$021b1d9719c3eaaf$require$MAX_LENGTH","$021b1d9719c3eaaf$require$re","$021b1d9719c3eaaf$require$t","$bd0kF","version2","$4eeum","v1","v2","hasPre","defaultResult","versionA","versionB","list","$7REgF","op","$a0PPD","$6bYo1","$kRrXd","$98Pyg","rtl","next","$434397839421ea8b$require$re","$434397839421ea8b$require$t","COERCERTL","lastIndex","$cd741182808e7a1f$var$ANY","Symbol","$cd741182808e7a1f$var$Comparator","ANY","comp1","semver","operator","comp","$cd741182808e7a1f$require$re","$cd741182808e7a1f$require$t","COMPARATORLOOSE","COMPARATOR","$cITzi","$8YuUE","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","$688be7ed17017f41$var$Range","range1","$hDCF3","parseRange","$688be7ed17017f41$var$isNullSet","$688be7ed17017f41$var$isAny","range","comps","memoKey","cached","$688be7ed17017f41$var$cache","$688be7ed17017f41$require$re","$688be7ed17017f41$require$t","HYPHENRANGELOOSE","HYPHENRANGE","$688be7ed17017f41$var$hyphenReplace","COMPARATORTRIM","$688be7ed17017f41$require$comparatorTrimReplace","TILDETRIM","$688be7ed17017f41$require$tildeTrimReplace","CARETTRIM","$688be7ed17017f41$require$caretTrimReplace","compRe","rangeList","$688be7ed17017f41$var$parseComparator","$688be7ed17017f41$var$replaceGTE0","rangeMap","Map","size","delete","values","thisComparators","$688be7ed17017f41$var$isSatisfiable","rangeComparators","every","thisComparator","rangeComparator","$688be7ed17017f41$var$testSet","comparators","options2","remainingComparators","testComparator","otherComparator","$688be7ed17017f41$var$replaceCarets","$688be7ed17017f41$var$replaceTildes","$688be7ed17017f41$var$replaceXRanges","$688be7ed17017f41$var$replaceStars","$688be7ed17017f41$var$isX","$688be7ed17017f41$var$replaceTilde","TILDELOOSE","TILDE","M","pr","$688be7ed17017f41$var$replaceCaret","z","CARETLOOSE","CARET","$688be7ed17017f41$var$replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","tM","tm","tp","tpr","tb","i1","allowed","$cb0ed5fe82fb4516$var$MAX","$cb0ed5fe82fb4516$var$LENGTH","$cb0ed5fe82fb4516$var$LENGTH_CALCULATOR","$cb0ed5fe82fb4516$var$ALLOW_STALE","$cb0ed5fe82fb4516$var$MAX_AGE","$cb0ed5fe82fb4516$var$DISPOSE","$cb0ed5fe82fb4516$var$NO_DISPOSE_ON_SET","$cb0ed5fe82fb4516$var$LRU_LIST","$cb0ed5fe82fb4516$var$CACHE","$cb0ed5fe82fb4516$var$UPDATE_AGE_ON_GET","$cb0ed5fe82fb4516$var$naiveLength","$cb0ed5fe82fb4516$var$get","self","doUse","hit","$cb0ed5fe82fb4516$var$isStale","$cb0ed5fe82fb4516$var$del","now","Date","unshiftNode","maxAge","$cb0ed5fe82fb4516$var$trim","walker","tail","prev","removeNode","$cb0ed5fe82fb4516$var$Entry","$cb0ed5fe82fb4516$var$forEachStep","thisp","lc","stale","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","allowStale","mA","lengthCalculator","lC","itemCount","rforEach","head","toArray","$9ShIP","dump","dumpLru","peek","del","l","expiresAt","prune","$7306e76b158eea44$var$Yallist","$7306e76b158eea44$var$insert","inserted","$7306e76b158eea44$var$Node","$7306e76b158eea44$var$push","$7306e76b158eea44$var$unshift","Node","create","pushNode","forEachReverse","n","getReverse","mapReverse","initial","acc","reduceReverse","toArrayReverse","sliceReverse","start","deleteCount","nodes","Yallist","iterator","maxSV","rangeObj","min","minSV","minver","setMin","comparator","compver","$20794eeb9cc8f6af$var$ANY","hilo","gtfn","ltefn","ltfn","ecomp","$6rO9c","high","low","$2MRaB","r1","r2","ranges","min1","simplified","$2281fb43d3df183f$var$ANY","$2281fb43d3df183f$var$simpleSubset","sub","dom","eqSet","Set","gtltComp","higher","lower","hasDomLT","hasDomGT","$2281fb43d3df183f$var$higherGT","$2281fb43d3df183f$var$lowerLT","c1","needDomLTPre","needDomGTPre","sawNonNull","OUTER","simpleSub","simpleDom","isSub","$fbdecc6eadfe47c2$var$mm","$6fb832e0570ffd7b$var$tunnel","$6fb832e0570ffd7b$var$HttpCodes","HttpCodes","$6fb832e0570ffd7b$var$Headers","Headers1","$6fb832e0570ffd7b$var$MediaTypes","Headers","MediaTypes","getProxyUrl","serverUrl","proxyUrl","$cEfL5","URL","href","$6fb832e0570ffd7b$var$HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","$6fb832e0570ffd7b$var$HttpResponseRetryCodes","BadGateway","ServiceUnavailable","GatewayTimeout","$6fb832e0570ffd7b$var$RetryableHttpVerbs","$6fb832e0570ffd7b$var$HttpClientError","setPrototypeOf","HttpClientError","$6fb832e0570ffd7b$var$HttpClientResponse","message1","readBody","HttpClientResponse","isHttps","requestUrl","protocol","$6fb832e0570ffd7b$var$HttpClient","userAgent","handlers","requestOptions","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","keepAlive","allowRetries","maxRetries","additionalHeaders","request","post","put","sendStream","verb","Accept","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","obj","ContentType","headers","parsedUrl","_prepareRequest","maxTries","numTries","requestRaw","Unauthorized","authenticationHandler","canHandleAuthentication","handleAuthentication","redirectsRemaining","redirectUrl","parsedRedirectUrl","hostname","header","_performExponentialBackoff","_agent","requestRawWithCallback","onResult","socket","byteLength","callbackCalled","handleResult","req","httpModule","sock","getAgent","_getAgent","method","usingSsl","$3U0nv$http","defaultPort","host","port","pathname","search","_mergeHeaders","agent","handler","prepareRequest","lowercaseKeys","_default","clientHeader","useProxy","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","username","password","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","retryNumber","ms","pow","valueOf","statusCode1","NotFound","deserializeDates","dateTimeDeserializer","$935571c89a77cf35$var$checkBypass","reqUrl","reqPort","noProxy","upperReqHosts","upperNoProxyItem","proxyVar","checkBypass","$5ede95876def1093$var$TunnelingAgent","proxyOptions","defaultMaxSockets","requests","sockets","localAddress","$5ede95876def1093$var$toOptions","pending","onSocket","removeSocket","$5ede95876def1093$var$createSecureSocket","createSocket","hostHeader","getHeader","tlsOptions","$5ede95876def1093$var$mergeOptions","servername","secureSocket","$3U0nv$tls","connect","target","overrides","keyLen","$5ede95876def1093$export$cfea88b79fd3041","$5ede95876def1093$export$228ecc9aa21a9741","$5ede95876def1093$export$f44e217dbcda9c5a","$5ede95876def1093$export$25126787084ac1d3","$5ede95876def1093$export$5b6f1b09aafac70","$5ede95876def1093$var$debug","inherits","addRequest","onFree","onCloseOrRemove","onConnect","connectReq","removeAllListeners","placeholder","connectOptions","useChunkedEncodingByDefault","upgrade","nextTick","cause","stack","pos","socket1","$fbdecc6eadfe47c2$var$httpm","$fbdecc6eadfe47c2$var$stream","$fbdecc6eadfe47c2$var$util","buf","offset","rnds","random","rng","$diWfV","$8n3PT","$3U0nv$crypto","randomBytes","$618372782be4d813$var$byteToHex","$618372782be4d813$var$i","$fbdecc6eadfe47c2$var$__importDefault","$b27a19eb94ad77fe$var$os","$b27a19eb94ad77fe$var$__importStar","$b27a19eb94ad77fe$var$events","$b27a19eb94ad77fe$var$child","$b27a19eb94ad77fe$var$path","$b27a19eb94ad77fe$var$io","$b27a19eb94ad77fe$var$ioUtil","$b27a19eb94ad77fe$var$IS_WINDOWS","toolPath1","_debug","_getCommandString","noPrefix","_getSpawnFileName","args1","_getSpawnArgs","_isCmdFile","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","failOnStdErr","ignoreReturnCode","delay","outStream","errStream","_getSpawnOptions","argv0","$b27a19eb94ad77fe$var$__awaiter","optionsNonNull","state","$b27a19eb94ad77fe$var$ExecState","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","argString","append","escaped","inQuotes","charAt","toolPath2","done","_setResult","$3U0nv$timers","HandleTimeout","$8d6c57753101e07a$var$__importStar","stdoutDecoder","$3U0nv$string_decoder","StringDecoder","stderrDecoder","originalStdoutListener","originalStdErrListener","_b","$e9cce2f397d0b5d7$var$core","$e9cce2f397d0b5d7$var$__importStar","$e9cce2f397d0b5d7$exports","RetryHelper","maxAttempts","minSeconds","maxSeconds","floor","execute","isRetryable","attempt","seconds","getSleepAmount","sleep","$fbdecc6eadfe47c2$var$HTTPError","httpStatusCode","HTTPError","$fbdecc6eadfe47c2$var$IS_WINDOWS","$fbdecc6eadfe47c2$var$IS_MAC","auth","retryHelper","$fbdecc6eadfe47c2$var$__awaiter","authorization","statusMessage","readStream","responseMessageFactory","succeeded","createWriteStream","$fbdecc6eadfe47c2$var$downloadToolAttempt","extract7z","_7zPath","originalCwd","__dirname","powershellPath","versionOutput","isGnuTar","destArg","fileArg","extractXar","xarPath","escapedFile","escapedDest","pwshPath","$fbdecc6eadfe47c2$var$extractZipWin","unzipPath","$fbdecc6eadfe47c2$var$extractZipNix","destPath","itemName","cacheFile","sourceFile","targetFile","destFolder","cachePath","findAllVersions","owner","repo","branch","treeUrl","manifestUrl","tree","versionsRaw","isExplicitVersion","evaluateVersions","Worker","$e68279e3338bc371$var$Worker","$e68279e3338bc371$import$ad18b0afc1a10da7","$e68279e3338bc371$var$worker","$e68279e3338bc371$var$taskIdCounter","$e68279e3338bc371$var$tasks","$e68279e3338bc371$var$taskWorker","transferList","task","sourceError","entries","$e68279e3338bc371$var$recreateWorkerError","postMessage","$e68279e3338bc371$var$hasha","outputEncoding","hash","createHash","update","digest","fromStream","read","fromFile","createReadStream","fromFileSync","$655628f797e4869d$var$TOKEN","specific","$1bd49ae4b85c403c$export$b00950e3fcb58399","$e5ecfb1ae2cd12fa$var$isPathVariable","$e5ecfb1ae2cd12fa$var$setupMSVCDevCmd","$3U0nv$process","$k2PtG","$e5ecfb1ae2cd12fa$var$VSWHERE_PATH","arch_aliases","vcvars","pattern","installationPath","$e5ecfb1ae2cd12fa$var$findWithVswhere","ver","$e5ecfb1ae2cd12fa$var$VERSIONS","ed","$e5ecfb1ae2cd12fa$var$EDITIONS","$e5ecfb1ae2cd12fa$var$PROGRAM_FILES_X86","$e5ecfb1ae2cd12fa$var$findVcvarsall","cmd_output_parts","old_environment","vcvars_output","new_environment","error_messages","old_env_vars","string1","new_value","$e5ecfb1ae2cd12fa$export$1770a487615d61df","$e97becf723056cb8$var$error","$e97becf723056cb8$var$os","$e97becf723056cb8$var$__importStar","$e97becf723056cb8$var$path","$e97becf723056cb8$var$ExitCode","$3tRAC","$48DC3","$lTVmt","$ff1b3ad0e311f75c$var$issueCommand","$ff1b3ad0e311f75c$var$Command","$ff1b3ad0e311f75c$var$os","$ff1b3ad0e311f75c$var$__importStar","$ff1b3ad0e311f75c$var$escapeData","$3036a3108408bd21$var$fs","$3036a3108408bd21$var$__importStar","$3036a3108408bd21$var$os","$6db0685353f69c12$var$homeDirectory","homedir","pathWithTilde","msvc","llvm","ninja","cmake","gcovr","conan","meson","python","gcc","opencppcoverage","choco","brew","ccache","doxygen","cppcheck","argv","catch"],"version":3,"file":"setup_cpp.js.map","sourceRoot":"../"} \ No newline at end of file diff --git a/src/cppcheck/cppcheck.ts b/src/cppcheck/cppcheck.ts index f58ca4b3..604572f8 100644 --- a/src/cppcheck/cppcheck.ts +++ b/src/cppcheck/cppcheck.ts @@ -9,7 +9,7 @@ export async function setupCppcheck(version: string | undefined, _setupCppDir: s case "win32": { await setupChocoPack("cppcheck", version) const binDir = "C:/Program Files/Cppcheck" - await addPath(binDir) + addPath(binDir) return { binDir } } case "darwin": { diff --git a/src/doxygen/doxygen.ts b/src/doxygen/doxygen.ts index 98738262..d285e505 100644 --- a/src/doxygen/doxygen.ts +++ b/src/doxygen/doxygen.ts @@ -9,9 +9,9 @@ export async function setupDoxygen(version: string | undefined, _setupCppDir: st case "win32": { await setupChocoPack("doxygen.install", version) await setupChocoPack("graphviz", version) - await addPath("C:/Program Files/Graphviz/bin") + addPath("C:/Program Files/Graphviz/bin") const binDir = "C:/Program Files/doxygen/bin" - await addPath(binDir) + addPath(binDir) return { binDir } } case "darwin": { diff --git a/src/gcc/gcc.ts b/src/gcc/gcc.ts index 57142052..eef9ad82 100644 --- a/src/gcc/gcc.ts +++ b/src/gcc/gcc.ts @@ -18,10 +18,10 @@ export async function setupGcc(version: string, _setupCppDir: string, arch: stri await setupChocoPack("mingw", version) if (arch === "x64" && existsSync("C:/tools/mingw64/bin")) { binDir = "C:/tools/mingw64/bin" - await addPath(binDir) + addPath(binDir) } else if (arch === "ia32" && existsSync("C:/tools/mingw32/bin")) { binDir = "C:/tools/mingw32/bin" - await addPath(binDir) + addPath(binDir) } else if (existsSync("C:/ProgramData/Chocolatey/bin/g++.exe")) { binDir = "C:/ProgramData/Chocolatey/bin/" } diff --git a/src/opencppcoverage/opencppcoverage.ts b/src/opencppcoverage/opencppcoverage.ts index 7fa54d52..0da064ee 100644 --- a/src/opencppcoverage/opencppcoverage.ts +++ b/src/opencppcoverage/opencppcoverage.ts @@ -8,6 +8,6 @@ export async function setupOpencppcoverage(version: string | undefined, _setupCp } await setupChocoPack("opencppcoverage", version) const binDir = "C:/Program Files/OpenCppCoverage" - await addPath(binDir) + addPath(binDir) return { binDir } } diff --git a/src/python/python.ts b/src/python/python.ts index a1192df8..7b769639 100644 --- a/src/python/python.ts +++ b/src/python/python.ts @@ -50,7 +50,7 @@ export async function setupPythonViaSystem(version: string, setupCppDir: string, // Adding the bin dir to the path /** The directory which the tool is installed to */ core.info(`Add ${binDir} to PATH`) - await addPath(binDir) + addPath(binDir) return { installDir, binDir } } diff --git a/src/utils/path/addPath.ts b/src/utils/path/addPath.ts index f0df6982..2d676d6e 100644 --- a/src/utils/path/addPath.ts +++ b/src/utils/path/addPath.ts @@ -4,7 +4,7 @@ import * as core from "@actions/core" import execa from "execa" /** An add path function that works locally or inside GitHub Actions */ -export async function addPath(path: string) { +export function addPath(path: string) { try { ghAddPath(path) } catch (err) { @@ -12,13 +12,13 @@ export async function addPath(path: string) { core.error(err as Error) switch (process.platform) { case "win32": { - await execa(`setx PATH=${path};%PATH%`) + execa.sync(`setx PATH=${path};%PATH%`) return } case "linux": case "darwin": { - await execa.command(`echo "export PATH=${path}:$PATH" >> ~/.profile`) - await execa.command(`source ~/.profile`) + execa.commandSync(`echo "export PATH=${path}:$PATH" >> ~/.profile`) + execa.commandSync(`source ~/.profile`) core.info(`${path} was added to ~/.profile`) return } diff --git a/src/utils/setup/setupBin.ts b/src/utils/setup/setupBin.ts index 57cafabf..d605d890 100644 --- a/src/utils/setup/setupBin.ts +++ b/src/utils/setup/setupBin.ts @@ -55,7 +55,7 @@ export async function setupBin( info(`${name} ${version} was found in the cache.`) const installDir = join(dir, extractedFolderName) const binDir = join(installDir, binRelativeDir) - await addPath(binDir) + addPath(binDir) return { installDir, binDir } } } catch { @@ -80,7 +80,7 @@ export async function setupBin( // Adding the bin dir to the path /** The directory which the tool is installed to */ info(`Add ${binDir} to PATH`) - await addPath(binDir) + addPath(binDir) // check if inside Github Actions. If so, cache the installation if (isCI() && typeof process.env.RUNNER_TOOL_CACHE === "string") { diff --git a/src/utils/setup/setupChocoPack.ts b/src/utils/setup/setupChocoPack.ts index 3e391d31..4a761f47 100644 --- a/src/utils/setup/setupChocoPack.ts +++ b/src/utils/setup/setupChocoPack.ts @@ -21,6 +21,6 @@ export async function setupChocoPack(name: string, version?: string, args: strin } const binDir = "C:/ProgramData/Chocolatey/bin/" - await addPath(binDir) + addPath(binDir) return { binDir } } diff --git a/src/utils/setup/setupPipPack.ts b/src/utils/setup/setupPipPack.ts index c9a1af93..67ce64fe 100644 --- a/src/utils/setup/setupPipPack.ts +++ b/src/utils/setup/setupPipPack.ts @@ -47,7 +47,7 @@ export async function setupPipPack(name: string, version?: string) { } } info(`${binDir} to PATH`) - await addPath(binDir) + addPath(binDir) } return { binDir }